diff --git a/build.gradle.kts b/build.gradle.kts index 3cc8c6b..db20d1b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -26,7 +26,6 @@ repositories { mavenCentral() } -val jjwtVersion: String = "0.12.6"; val bcVersion: String = "1.78.1"; dependencies { @@ -34,15 +33,15 @@ dependencies { implementation("org.springframework.boot:spring-boot-starter-security") implementation("org.springframework.boot:spring-boot-starter-web") implementation("org.springframework.boot:spring-boot-starter-websocket") + implementation("org.springframework.boot:spring-boot-docker-compose") + implementation("org.springframework.boot:spring-boot-starter-data-redis") + implementation("org.springframework.session:spring-session-data-redis") implementation("com.fasterxml.jackson.module:jackson-module-kotlin") implementation("org.jetbrains.kotlin:kotlin-reflect") - implementation("io.jsonwebtoken:jjwt-api:$jjwtVersion") implementation("org.bouncycastle:bcprov-jdk18on:$bcVersion") compileOnly("org.projectlombok:lombok") developmentOnly("org.springframework.boot:spring-boot-devtools") runtimeOnly("org.postgresql:postgresql") - runtimeOnly("io.jsonwebtoken:jjwt-impl:$jjwtVersion") - runtimeOnly("io.jsonwebtoken:jjwt-jackson:$jjwtVersion") annotationProcessor("org.projectlombok:lombok") testImplementation("org.springframework.boot:spring-boot-starter-test") testImplementation("org.jetbrains.kotlin:kotlin-test-junit5") diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..0c32db6 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +version: "3.1" + +services: + redis: + image: "redis:alpine" + ports: + - "6379:6379" \ No newline at end of file diff --git a/src/main/kotlin/at/eisibaer/jbear2/config/ApplicationProperties.kt b/src/main/kotlin/at/eisibaer/jbear2/config/ApplicationProperties.kt index acb54f1..21d92ec 100644 --- a/src/main/kotlin/at/eisibaer/jbear2/config/ApplicationProperties.kt +++ b/src/main/kotlin/at/eisibaer/jbear2/config/ApplicationProperties.kt @@ -4,9 +4,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties @ConfigurationProperties("application") data class ApplicationProperties( + val test: Boolean, val corsAllowedOrigins: List, val corsAllowedMethods: List, - val jwtCookieName: String, - val jwtExpirationMs: Long, - val jwtSecret: String, ) diff --git a/src/main/kotlin/at/eisibaer/jbear2/endpoint/AuthEndpoint.kt b/src/main/kotlin/at/eisibaer/jbear2/endpoint/AuthEndpoint.kt index 8b731c1..88fddbc 100644 --- a/src/main/kotlin/at/eisibaer/jbear2/endpoint/AuthEndpoint.kt +++ b/src/main/kotlin/at/eisibaer/jbear2/endpoint/AuthEndpoint.kt @@ -2,21 +2,23 @@ package at.eisibaer.jbear2.endpoint import at.eisibaer.jbear2.dto.auth.LoginDto import at.eisibaer.jbear2.dto.auth.LoginResponseDto -import at.eisibaer.jbear2.model.Board import at.eisibaer.jbear2.model.User import at.eisibaer.jbear2.repository.UserRepository -import at.eisibaer.jbear2.security.jwt.JwtUtils -import at.eisibaer.jbear2.security.userdetail.UserDetailsImpl +import at.eisibaer.jbear2.security.UserDetailsImpl +import at.eisibaer.jbear2.util.Constants.STR_SESSION_USER_KEY +import jakarta.servlet.http.HttpSession import org.slf4j.Logger import org.slf4j.LoggerFactory -import org.springframework.http.HttpHeaders -import org.springframework.http.ResponseCookie import org.springframework.http.ResponseEntity import org.springframework.security.authentication.AuthenticationManager +import org.springframework.security.authentication.BadCredentialsException import org.springframework.security.authentication.UsernamePasswordAuthenticationToken +import org.springframework.security.core.Authentication +import org.springframework.security.core.AuthenticationException import org.springframework.security.core.context.SecurityContextHolder import org.springframework.security.crypto.password.PasswordEncoder import org.springframework.stereotype.Controller +import org.springframework.web.bind.annotation.GetMapping import org.springframework.web.bind.annotation.PostMapping import org.springframework.web.bind.annotation.RequestBody import org.springframework.web.bind.annotation.RequestMapping @@ -27,34 +29,27 @@ class AuthEndpoint( val authenticationManager: AuthenticationManager, val userRepository: UserRepository, val encoder: PasswordEncoder, - val jwtUtils: JwtUtils, ) { private val log: Logger = LoggerFactory.getLogger(AuthEndpoint::class.java); val strResponseSuccess: String = "Sending back success response"; + val strAlreadyLoggedIn: String = "User already logged in"; @PostMapping("/signup") - fun signupUser(@RequestBody loginDto: LoginDto): ResponseEntity{ - log.info("Endpoint singupUser called"); + fun signupUser(@RequestBody loginDto: LoginDto, session: HttpSession): ResponseEntity<*>{ + log.info("Endpoint signupUser called"); log.debug("signup Request with username: {}", loginDto.username); + if( userRepository.existsByUsername(loginDto.username)){ log.info("Username was already taken"); - ResponseEntity.badRequest().body("Username already taken"); + return ResponseEntity.badRequest().body("Username already taken"); } val user = User(loginDto.username, encoder.encode( loginDto.password), ArrayList(), null, null ); userRepository.save(user); - log.info(strResponseSuccess); - return ResponseEntity.ok().body("User registered successfully"); - } - - @PostMapping("/login") - fun loginUser(@RequestBody loginDto: LoginDto): ResponseEntity{ - log.info("Endpoint loginUser called"); - log.debug("login Request with username: {}", loginDto.username); val authentication = authenticationManager.authenticate( UsernamePasswordAuthenticationToken( loginDto.username, @@ -66,22 +61,77 @@ class AuthEndpoint( val userDetails: UserDetailsImpl = authentication.principal as UserDetailsImpl; - val jwtCookie = jwtUtils.generateJwtCookie(userDetails); + session.setAttribute(STR_SESSION_USER_KEY, userDetails); + + log.info(strResponseSuccess); + return ResponseEntity.ok().body(LoginResponseDto(userDetails.username, userDetails.getProfilePictureFilename())); + } + + @PostMapping("/login") + fun loginUser(@RequestBody loginDto: LoginDto, session: HttpSession): ResponseEntity<*>{ + log.info("Endpoint loginUser called"); + log.debug("login Request with username: {}", loginDto.username); + + if( session.getAttribute(STR_SESSION_USER_KEY) != null ){ + log.info(strAlreadyLoggedIn); + return ResponseEntity.badRequest().body(strAlreadyLoggedIn); + } + + val authentication: Authentication; + try{ + authentication = authenticationManager.authenticate( + UsernamePasswordAuthenticationToken( + loginDto.username, + loginDto.password + ) + ) + } catch (authenticationException: AuthenticationException ){ + if( authenticationException is BadCredentialsException ){ + log.debug("Login attempt with bad credentials for username: {}", loginDto.username); + return ResponseEntity.status(401).body(4011); + } + log.error("Error during authentication", authenticationException); + return ResponseEntity.status(401).body(4010); + } + + SecurityContextHolder.getContext().authentication = authentication; + + val userDetails: UserDetailsImpl = authentication.principal as UserDetailsImpl; + + session.setAttribute(STR_SESSION_USER_KEY, userDetails); log.info(strResponseSuccess); return ResponseEntity.ok() - .header( HttpHeaders.SET_COOKIE, jwtCookie.toString() ) .body( LoginResponseDto(userDetails.username, userDetails.getProfilePictureFilename())) } - @PostMapping("signout") - fun logoutUser(): ResponseEntity{ + @PostMapping("/logout") + fun logoutUser(session: HttpSession): ResponseEntity{ log.info("Endpoint logoutUser called"); - val cookie: ResponseCookie = jwtUtils.getCleanJwtCookie(); + + session.invalidate(); log.info(strResponseSuccess); return ResponseEntity.ok() - .header(HttpHeaders.SET_COOKIE, cookie.toString()) .body("Logged out"); } + + @GetMapping("/status") + fun checkStatus(session: HttpSession): ResponseEntity<*>{ + log.info("Endpoint checkStatus called"); + + return if( session.getAttribute(STR_SESSION_USER_KEY) != null ){ + log.info(strAlreadyLoggedIn); + val sessionUser: UserDetailsImpl = session.getAttribute(STR_SESSION_USER_KEY) as UserDetailsImpl; + ResponseEntity + .ok() + .body( LoginResponseDto( sessionUser.username, sessionUser.getProfilePictureFilename() ) ); + } else { + log.debug("No user logged in"); + log.info(strResponseSuccess); + ResponseEntity + .status(401) + .body("No user logged in"); + } + } } \ No newline at end of file diff --git a/src/main/kotlin/at/eisibaer/jbear2/endpoint/UserEndpoint.kt b/src/main/kotlin/at/eisibaer/jbear2/endpoint/UserEndpoint.kt index 3e698c8..89d9a88 100644 --- a/src/main/kotlin/at/eisibaer/jbear2/endpoint/UserEndpoint.kt +++ b/src/main/kotlin/at/eisibaer/jbear2/endpoint/UserEndpoint.kt @@ -20,4 +20,9 @@ class UserEndpoint { log.info("test Endpoint!"); return ResponseEntity.ok(param1); } + + @GetMapping("/boards") + fun getBoards(){ + TODO(); + } } \ No newline at end of file diff --git a/src/main/kotlin/at/eisibaer/jbear2/security/jwt/AuthTokenFilter.kt b/src/main/kotlin/at/eisibaer/jbear2/security/AuthFilter.kt similarity index 56% rename from src/main/kotlin/at/eisibaer/jbear2/security/jwt/AuthTokenFilter.kt rename to src/main/kotlin/at/eisibaer/jbear2/security/AuthFilter.kt index 26961a8..0f33712 100644 --- a/src/main/kotlin/at/eisibaer/jbear2/security/jwt/AuthTokenFilter.kt +++ b/src/main/kotlin/at/eisibaer/jbear2/security/AuthFilter.kt @@ -1,39 +1,33 @@ -package at.eisibaer.jbear2.security.jwt +package at.eisibaer.jbear2.security +import at.eisibaer.jbear2.util.Constants.STR_SESSION_USER_KEY import jakarta.servlet.FilterChain import jakarta.servlet.http.HttpServletRequest import jakarta.servlet.http.HttpServletResponse +import jakarta.servlet.http.HttpSession import org.slf4j.Logger import org.slf4j.LoggerFactory import org.springframework.security.authentication.UsernamePasswordAuthenticationToken import org.springframework.security.core.context.SecurityContextHolder -import org.springframework.security.core.userdetails.UserDetails -import org.springframework.security.core.userdetails.UserDetailsService import org.springframework.security.web.authentication.WebAuthenticationDetailsSource import org.springframework.stereotype.Component import org.springframework.web.filter.OncePerRequestFilter @Component -class AuthTokenFilter( - private var jwtUtils: JwtUtils?, - private var userDetailService: UserDetailsService?, -): OncePerRequestFilter() { +class AuthFilter: OncePerRequestFilter() { - val log: Logger = LoggerFactory.getLogger(AuthTokenFilter::class.java); + val log: Logger = LoggerFactory.getLogger(AuthFilter::class.java); override fun doFilterInternal( request: HttpServletRequest, response: HttpServletResponse, filterChain: FilterChain ) { + val session: HttpSession = request.session; try{ - val jwt: String? = parseJwt(request); - if( jwt != null && jwtUtils!!.validateJwt(jwt) ){ - val username: String = jwtUtils!!.getUserNameFromJwt(jwt); - - val userDetails: UserDetails = userDetailService!!.loadUserByUsername( username ); - - val authentication = UsernamePasswordAuthenticationToken(userDetails, null, userDetails.authorities); + val user: UserDetailsImpl? = session.getAttribute(STR_SESSION_USER_KEY) as UserDetailsImpl?; + if( user != null ){ + val authentication = UsernamePasswordAuthenticationToken(user, null, emptyList()); authentication.details = WebAuthenticationDetailsSource().buildDetails(request); SecurityContextHolder.getContext().authentication = authentication; @@ -44,8 +38,4 @@ class AuthTokenFilter( filterChain.doFilter(request, response); } - private fun parseJwt(request: HttpServletRequest): String?{ - return jwtUtils!!.getJwtFromCookies(request); - } - } \ No newline at end of file diff --git a/src/main/kotlin/at/eisibaer/jbear2/security/SecurityConfiguration.kt b/src/main/kotlin/at/eisibaer/jbear2/security/SecurityConfiguration.kt index 976be8d..24f33ba 100644 --- a/src/main/kotlin/at/eisibaer/jbear2/security/SecurityConfiguration.kt +++ b/src/main/kotlin/at/eisibaer/jbear2/security/SecurityConfiguration.kt @@ -1,6 +1,6 @@ package at.eisibaer.jbear2.security -import at.eisibaer.jbear2.security.jwt.AuthTokenFilter +import at.eisibaer.jbear2.config.ApplicationProperties import jakarta.servlet.FilterChain import jakarta.servlet.ServletException import jakarta.servlet.http.HttpServletRequest @@ -14,8 +14,6 @@ import org.springframework.security.authentication.dao.DaoAuthenticationProvider import org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration import org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity import org.springframework.security.config.annotation.web.builders.HttpSecurity -import org.springframework.security.config.annotation.web.configurers.SessionManagementConfigurer -import org.springframework.security.config.http.SessionCreationPolicy import org.springframework.security.core.userdetails.UserDetailsService import org.springframework.security.crypto.argon2.Argon2PasswordEncoder import org.springframework.security.crypto.password.PasswordEncoder @@ -32,33 +30,38 @@ import java.util.function.Supplier @EnableMethodSecurity class SecurityConfiguration( private val userDetailService: UserDetailsService, - private val unauthorizedHandler: AuthTokenFilter, + private val unauthorizedHandler: AuthFilter, + private val applicationProperties: ApplicationProperties ) { final val log: Logger = LoggerFactory.getLogger(SecurityConfiguration::class.java); @Bean fun securityFilterChain(httpSecurity: HttpSecurity): SecurityFilterChain { - return httpSecurity - .csrf { config -> + return addCsrfConfig(httpSecurity) + .authorizeHttpRequests { config -> + config + .requestMatchers("/api/auth/*").permitAll() + .requestMatchers("/api/user/**").authenticated() + .requestMatchers("/**").permitAll() + } + .authenticationProvider(authenticationProvider()) + .addFilterBefore(unauthorizedHandler, UsernamePasswordAuthenticationFilter::class.java) + .build() + } + + private fun addCsrfConfig(httpSecurity: HttpSecurity): HttpSecurity{ + if( applicationProperties.test ){ + httpSecurity.csrf{ config -> config.disable()}; + } else { + httpSecurity.csrf { config -> config .csrfTokenRepository(CookieCsrfTokenRepository.withHttpOnlyFalse()) .csrfTokenRequestHandler(SpaCsrfTokenRequestHandler()) } .addFilterAfter(CsrfCookieFilter(), BasicAuthenticationFilter::class.java) - .authorizeHttpRequests { config -> - config - .requestMatchers("/api/auth/*").permitAll() - .requestMatchers("/api/**").authenticated() - .requestMatchers("/profile").authenticated() - .requestMatchers("/**").permitAll() - } - .sessionManagement { config: SessionManagementConfigurer -> - config.sessionCreationPolicy(SessionCreationPolicy.STATELESS) - } - .authenticationProvider(authenticationProvider()) - .addFilterBefore(unauthorizedHandler, UsernamePasswordAuthenticationFilter::class.java) - .build() + } + return httpSecurity; } class SpaCsrfTokenRequestHandler : CsrfTokenRequestAttributeHandler() { @@ -94,7 +97,6 @@ class SecurityConfiguration( } class CsrfCookieFilter : OncePerRequestFilter() { - @Throws(ServletException::class, IOException::class) override fun doFilterInternal(request: HttpServletRequest, response: HttpServletResponse, filterChain: FilterChain) { val csrfToken = request.getAttribute("_csrf") as CsrfToken diff --git a/src/main/kotlin/at/eisibaer/jbear2/security/userdetail/UserDetailServiceImpl.kt b/src/main/kotlin/at/eisibaer/jbear2/security/UserDetailServiceImpl.kt similarity index 94% rename from src/main/kotlin/at/eisibaer/jbear2/security/userdetail/UserDetailServiceImpl.kt rename to src/main/kotlin/at/eisibaer/jbear2/security/UserDetailServiceImpl.kt index b96855c..55d8bea 100644 --- a/src/main/kotlin/at/eisibaer/jbear2/security/userdetail/UserDetailServiceImpl.kt +++ b/src/main/kotlin/at/eisibaer/jbear2/security/UserDetailServiceImpl.kt @@ -1,4 +1,4 @@ -package at.eisibaer.jbear2.security.userdetail +package at.eisibaer.jbear2.security import at.eisibaer.jbear2.repository.UserRepository import at.eisibaer.jbear2.model.User diff --git a/src/main/kotlin/at/eisibaer/jbear2/security/userdetail/UserDetailsImpl.kt b/src/main/kotlin/at/eisibaer/jbear2/security/UserDetailsImpl.kt similarity index 96% rename from src/main/kotlin/at/eisibaer/jbear2/security/userdetail/UserDetailsImpl.kt rename to src/main/kotlin/at/eisibaer/jbear2/security/UserDetailsImpl.kt index df5af75..685bb7d 100644 --- a/src/main/kotlin/at/eisibaer/jbear2/security/userdetail/UserDetailsImpl.kt +++ b/src/main/kotlin/at/eisibaer/jbear2/security/UserDetailsImpl.kt @@ -1,4 +1,4 @@ -package at.eisibaer.jbear2.security.userdetail +package at.eisibaer.jbear2.security import com.fasterxml.jackson.annotation.JsonIgnore import lombok.Data diff --git a/src/main/kotlin/at/eisibaer/jbear2/security/jwt/AuthEntryPointJwt.kt b/src/main/kotlin/at/eisibaer/jbear2/security/jwt/AuthEntryPointJwt.kt deleted file mode 100644 index 19246dd..0000000 --- a/src/main/kotlin/at/eisibaer/jbear2/security/jwt/AuthEntryPointJwt.kt +++ /dev/null @@ -1,23 +0,0 @@ -package at.eisibaer.jbear2.security.jwt - -import jakarta.servlet.http.HttpServletRequest -import jakarta.servlet.http.HttpServletResponse -import org.slf4j.Logger -import org.slf4j.LoggerFactory -import org.springframework.security.core.AuthenticationException -import org.springframework.security.web.AuthenticationEntryPoint - -class AuthEntryPointJwt: AuthenticationEntryPoint { - - val log: Logger = LoggerFactory.getLogger(AuthEntryPointJwt::class.java); - - override fun commence( - request: HttpServletRequest?, - response: HttpServletResponse?, - authException: AuthenticationException? - ) { - log.error("Unauthorized error: {}", authException?.message); - response?.sendError(HttpServletResponse.SC_UNAUTHORIZED, "Error: Unauthorized"); - } - -} \ No newline at end of file diff --git a/src/main/kotlin/at/eisibaer/jbear2/security/jwt/JwtUtils.kt b/src/main/kotlin/at/eisibaer/jbear2/security/jwt/JwtUtils.kt deleted file mode 100644 index bce1a34..0000000 --- a/src/main/kotlin/at/eisibaer/jbear2/security/jwt/JwtUtils.kt +++ /dev/null @@ -1,75 +0,0 @@ -package at.eisibaer.jbear2.security.jwt - -import at.eisibaer.jbear2.config.ApplicationProperties -import at.eisibaer.jbear2.security.userdetail.UserDetailsImpl -import io.jsonwebtoken.JwtException -import io.jsonwebtoken.Jwts -import io.jsonwebtoken.UnsupportedJwtException -import io.jsonwebtoken.io.Decoders -import io.jsonwebtoken.security.Keys -import jakarta.servlet.http.HttpServletRequest -import org.slf4j.Logger -import org.slf4j.LoggerFactory -import org.springframework.http.ResponseCookie -import org.springframework.stereotype.Component -import org.springframework.web.util.WebUtils -import java.util.Date -import javax.crypto.SecretKey - -@Component -class JwtUtils( - private val applicationProperties: ApplicationProperties -) { - - private val log: Logger = LoggerFactory.getLogger(JwtUtils::class.java); - - fun getJwtFromCookies(request: HttpServletRequest): String?{ - return WebUtils.getCookie(request, applicationProperties.jwtCookieName)?.value; - } - - fun generateJwtCookie(userPrincipal: UserDetailsImpl): ResponseCookie{ - val jwt: String = generateTokenFromUsername(userPrincipal.username) - return ResponseCookie.from(applicationProperties.jwtCookieName, jwt) - .path("/api") - .maxAge(applicationProperties.jwtExpirationMs/1000) - .httpOnly(true) - .build(); - } - - fun getCleanJwtCookie(): ResponseCookie { - return ResponseCookie.from(applicationProperties.jwtCookieName, "") - .path("/api") - .build(); - } - - fun getUserNameFromJwt(token: String): String{ - return Jwts.parser().verifyWith(key()).build().parseSignedClaims(token).payload.subject; - } - - fun key(): SecretKey{ - return Keys.hmacShaKeyFor(Decoders.BASE64.decode(applicationProperties.jwtSecret)); - } - - fun generateTokenFromUsername(username: String): String{ - return Jwts.builder() - .subject(username) - .issuedAt(Date()) - .expiration(Date(Date().time + applicationProperties.jwtExpirationMs)) - .signWith(key()) - .compact(); - } - - fun validateJwt(authToken: String): Boolean{ - try { - Jwts.parser().verifyWith(key()).build().parseSignedClaims(authToken); - return true; - } catch (e: UnsupportedJwtException) { - log.error("UnsupportedJwtException {}", e.message); - } catch (e: IllegalArgumentException) { - log.error("IllegalArgumentException {}", e.message); - } catch (e: JwtException) { - log.error("JwtException {}", e.message); - } - return false; - } -} \ No newline at end of file diff --git a/src/main/kotlin/at/eisibaer/jbear2/util/Constants.kt b/src/main/kotlin/at/eisibaer/jbear2/util/Constants.kt new file mode 100644 index 0000000..b671141 --- /dev/null +++ b/src/main/kotlin/at/eisibaer/jbear2/util/Constants.kt @@ -0,0 +1,5 @@ +package at.eisibaer.jbear2.util + +object Constants { + const val STR_SESSION_USER_KEY = "user" +} diff --git a/src/main/resources/config/application-dev.yml b/src/main/resources/config/application-dev.yml index bb615c4..46f3d8e 100644 --- a/src/main/resources/config/application-dev.yml +++ b/src/main/resources/config/application-dev.yml @@ -1,13 +1,14 @@ logging: level: - org: - springframework: - security: "DEBUG" + at: + eisibaer: + jbear2: "DEBUG" spring: datasource: - url: jdbc:postgresql://localhost:5499/jeobeardy?currentSchema=jeobeardy-app + url: jdbc:postgresql://${PG_HOST}:${PG_PORT}/jeobeardy?currentSchema=jeobeardy-app username: ${PG_USER} password: ${PG_PASSWORD} application: + test: true cors-allowed-origins: [ "http://localhost:5173/" ] \ No newline at end of file diff --git a/src/main/resources/config/application-prod.yml b/src/main/resources/config/application-prod.yml index 0b9f9e8..98b1e8c 100644 --- a/src/main/resources/config/application-prod.yml +++ b/src/main/resources/config/application-prod.yml @@ -1,8 +1,9 @@ spring: datasource: - url: jdbc:postgresql://localhost:5499/jeobeardy?currentSchema=jeobeardy-app + url: jdbc:postgresql://${PG_HOST}:${PG_PORT}/jeobeardy?currentSchema=jeobeardy-app username: ${PG_USER} password: ${PG_PASSWORD} application: + test: false cors-allowed-origins: [] \ No newline at end of file diff --git a/src/main/resources/config/application.yml b/src/main/resources/config/application.yml index b02868d..56dd6ef 100644 --- a/src/main/resources/config/application.yml +++ b/src/main/resources/config/application.yml @@ -11,13 +11,13 @@ spring: dialect: org.hibernate.dialect.PostgreSQLDialect default-schema: jeobeardy-app open-in-view: false + docker: + compose: + lifecycle-management: start-only server: address: localhost port: 8008 application: - cors-allowed-methods: ["GET", "POST", "DELETE", "OPTIONS"] - jwt-cookie-name: "user_jwt" - jwt-expiration-ms: 86400000 #1000 * 60 * 60 * 24 = 1 day - jwt-secret: ${JWT_SECRET} \ No newline at end of file + cors-allowed-methods: ["GET", "POST", "DELETE", "OPTIONS"] \ No newline at end of file diff --git a/src/main/resources/static/assets/index-CPLpx4lq.js b/src/main/resources/static/assets/index-CPLpx4lq.js deleted file mode 100644 index 54bb794..0000000 --- a/src/main/resources/static/assets/index-CPLpx4lq.js +++ /dev/null @@ -1,813 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();/** -* @vue/shared v3.4.29 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Fl(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const ke={},Mr=[],Ct=()=>{},h_=()=>!1,go=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),jl=e=>e.startsWith("onUpdate:"),Ze=Object.assign,Ul=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},p_=Object.prototype.hasOwnProperty,we=(e,t)=>p_.call(e,t),ce=Array.isArray,Fr=e=>_o(e)==="[object Map]",mm=e=>_o(e)==="[object Set]",he=e=>typeof e=="function",Ge=e=>typeof e=="string",br=e=>typeof e=="symbol",Fe=e=>e!==null&&typeof e=="object",hm=e=>(Fe(e)||he(e))&&he(e.then)&&he(e.catch),pm=Object.prototype.toString,_o=e=>pm.call(e),g_=e=>_o(e).slice(8,-1),gm=e=>_o(e)==="[object Object]",Hl=e=>Ge(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Es=Fl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},__=/-(\w)/g,Xt=vo(e=>e.replace(__,(t,n)=>n?n.toUpperCase():"")),v_=/\B([A-Z])/g,rs=vo(e=>e.replace(v_,"-$1").toLowerCase()),bo=vo(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qo=vo(e=>e?`on${bo(e)}`:""),Rn=(e,t)=>!Object.is(e,t),Di=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Fa=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let tu;const vm=()=>tu||(tu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Zn(e){if(ce(e)){const t={};for(let n=0;n{if(n){const r=n.split(y_);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Nt(e){let t="";if(Ge(e))t=e;else if(ce(e))for(let n=0;nGe(e)?e:e==null?"":ce(e)||Fe(e)&&(e.toString===pm||!he(e.toString))?JSON.stringify(e,ym,2):String(e),ym=(e,t)=>t&&t.__v_isRef?ym(e,t.value):Fr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[Zo(r,i)+" =>"]=s,n),{})}:mm(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Zo(n))}:br(t)?Zo(t):Fe(t)&&!ce(t)&&!gm(t)?String(t):t,Zo=(e,t="")=>{var n;return br(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.4.29 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let yt;class Em{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=yt,!t&&yt&&(this.index=(yt.scopes||(yt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=yt;try{return yt=this,t()}finally{yt=n}}}on(){yt=this}off(){yt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),Hn()}return this._dirtyLevel>=5}set dirty(t){this._dirtyLevel=t?5:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ln,n=ar;try{return Ln=!0,ar=this,this._runnings++,nu(this),this.fn()}finally{ru(this),this._runnings--,ar=n,Ln=t}}stop(){this.active&&(nu(this),ru(this),this.onStop&&this.onStop(),this.active=!1)}}function C_(e){return e.value}function nu(e){e._trackId++,e._depsLength=0}function ru(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t0){r._dirtyLevel=2;continue}let s;r._dirtyLevel{const n=new Map;return n.cleanup=e,n.computed=t,n},Xi=new WeakMap,lr=Symbol(""),Ha=Symbol("");function _t(e,t,n){if(Ln&&ar){let r=Xi.get(e);r||Xi.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Cm(()=>r.delete(n))),Om(ar,s)}}function on(e,t,n,r,s,i){const o=Xi.get(e);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(n==="length"&&ce(e)){const l=Number(r);o.forEach((u,c)=>{(c==="length"||!br(c)&&c>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(o.get(n)),t){case"add":ce(e)?Hl(n)&&a.push(o.get("length")):(a.push(o.get(lr)),Fr(e)&&a.push(o.get(Ha)));break;case"delete":ce(e)||(a.push(o.get(lr)),Fr(e)&&a.push(o.get(Ha)));break;case"set":Fr(e)&&a.push(o.get(lr));break}Wl();for(const l of a)l&&Sm(l,5);Yl()}function N_(e,t){const n=Xi.get(e);return n&&n.get(t)}const L_=Fl("__proto__,__v_isRef,__isVue"),Nm=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(br)),su=I_();function I_(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ae(this);for(let i=0,o=this.length;i{e[t]=function(...n){Un(),Wl();const r=Ae(this)[t].apply(this,n);return Yl(),Hn(),r}}),e}function P_(e){br(e)||(e=String(e));const t=Ae(this);return _t(t,"has",e),t.hasOwnProperty(e)}class Lm{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?W_:xm:i?Rm:Pm).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=ce(t);if(!s){if(o&&we(su,n))return Reflect.get(su,n,r);if(n==="hasOwnProperty")return P_}const a=Reflect.get(t,n,r);return(br(n)?Nm.has(n):L_(n))||(s||_t(t,"get",n),i)?a:He(a)?o&&Hl(n)?a:a.value:Fe(a)?s?$m(a):Vn(a):a}}class Im extends Lm{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const l=Vr(i);if(!Ji(r)&&!Vr(r)&&(i=Ae(i),r=Ae(r)),!ce(t)&&He(i)&&!He(r))return l?!1:(i.value=r,!0)}const o=ce(t)&&Hl(n)?Number(n)e,yo=e=>Reflect.getPrototypeOf(e);function mi(e,t,n=!1,r=!1){e=e.__v_raw;const s=Ae(e),i=Ae(t);n||(Rn(t,i)&&_t(s,"get",t),_t(s,"get",i));const{has:o}=yo(s),a=r?Kl:n?Xl:$s;if(o.call(s,t))return a(e.get(t));if(o.call(s,i))return a(e.get(i));e!==s&&e.get(t)}function hi(e,t=!1){const n=this.__v_raw,r=Ae(n),s=Ae(e);return t||(Rn(e,s)&&_t(r,"has",e),_t(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function pi(e,t=!1){return e=e.__v_raw,!t&&_t(Ae(e),"iterate",lr),Reflect.get(e,"size",e)}function iu(e){e=Ae(e);const t=Ae(this);return yo(t).has.call(t,e)||(t.add(e),on(t,"add",e,e)),this}function ou(e,t){t=Ae(t);const n=Ae(this),{has:r,get:s}=yo(n);let i=r.call(n,e);i||(e=Ae(e),i=r.call(n,e));const o=s.call(n,e);return n.set(e,t),i?Rn(t,o)&&on(n,"set",e,t):on(n,"add",e,t),this}function au(e){const t=Ae(this),{has:n,get:r}=yo(t);let s=n.call(t,e);s||(e=Ae(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&on(t,"delete",e,void 0),i}function lu(){const e=Ae(this),t=e.size!==0,n=e.clear();return t&&on(e,"clear",void 0,void 0),n}function gi(e,t){return function(r,s){const i=this,o=i.__v_raw,a=Ae(o),l=t?Kl:e?Xl:$s;return!e&&_t(a,"iterate",lr),o.forEach((u,c)=>r.call(s,l(u),l(c),i))}}function _i(e,t,n){return function(...r){const s=this.__v_raw,i=Ae(s),o=Fr(i),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=s[e](...r),c=n?Kl:t?Xl:$s;return!t&&_t(i,"iterate",l?Ha:lr),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function gn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function D_(){const e={get(i){return mi(this,i)},get size(){return pi(this)},has:hi,add:iu,set:ou,delete:au,clear:lu,forEach:gi(!1,!1)},t={get(i){return mi(this,i,!1,!0)},get size(){return pi(this)},has:hi,add:iu,set:ou,delete:au,clear:lu,forEach:gi(!1,!0)},n={get(i){return mi(this,i,!0)},get size(){return pi(this,!0)},has(i){return hi.call(this,i,!0)},add:gn("add"),set:gn("set"),delete:gn("delete"),clear:gn("clear"),forEach:gi(!0,!1)},r={get(i){return mi(this,i,!0,!0)},get size(){return pi(this,!0)},has(i){return hi.call(this,i,!0)},add:gn("add"),set:gn("set"),delete:gn("delete"),clear:gn("clear"),forEach:gi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=_i(i,!1,!1),n[i]=_i(i,!0,!1),t[i]=_i(i,!1,!0),r[i]=_i(i,!0,!0)}),[e,n,t,r]}const[M_,F_,j_,U_]=D_();function zl(e,t){const n=t?e?U_:j_:e?F_:M_;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(we(n,s)&&s in r?n:r,s,i)}const H_={get:zl(!1,!1)},V_={get:zl(!1,!0)},B_={get:zl(!0,!1)};const Pm=new WeakMap,Rm=new WeakMap,xm=new WeakMap,W_=new WeakMap;function Y_(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function K_(e){return e.__v_skip||!Object.isExtensible(e)?0:Y_(g_(e))}function Vn(e){return Vr(e)?e:Gl(e,!1,x_,H_,Pm)}function km(e){return Gl(e,!1,$_,V_,Rm)}function $m(e){return Gl(e,!0,k_,B_,xm)}function Gl(e,t,n,r,s){if(!Fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=K_(e);if(o===0)return e;const a=new Proxy(e,o===2?r:n);return s.set(e,a),a}function In(e){return Vr(e)?In(e.__v_raw):!!(e&&e.__v_isReactive)}function Vr(e){return!!(e&&e.__v_isReadonly)}function Ji(e){return!!(e&&e.__v_isShallow)}function Dm(e){return e?!!e.__v_raw:!1}function Ae(e){const t=e&&e.__v_raw;return t?Ae(t):e}function ql(e){return Object.isExtensible(e)&&_m(e,"__v_skip",!0),e}const $s=e=>Fe(e)?Vn(e):e,Xl=e=>Fe(e)?$m(e):e;class Mm{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Bl(()=>t(this._value),()=>Mi(this,this.effect._dirtyLevel===3?3:4)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=Ae(this);return(!t._cacheable||t.effect.dirty)&&Rn(t._value,t._value=t.effect.run())&&Mi(t,5),Fm(t),t.effect._dirtyLevel>=2&&Mi(t,3),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function z_(e,t,n=!1){let r,s;const i=he(e);return i?(r=e,s=Ct):(r=e.get,s=e.set),new Mm(r,s,i||!s,n)}function Fm(e){var t;Ln&&ar&&(e=Ae(e),Om(ar,(t=e.dep)!=null?t:e.dep=Cm(()=>e.dep=void 0,e instanceof Mm?e:void 0)))}function Mi(e,t=5,n,r){e=Ae(e);const s=e.dep;s&&Sm(s,t)}function He(e){return!!(e&&e.__v_isRef===!0)}function ge(e){return jm(e,!1)}function Jl(e){return jm(e,!0)}function jm(e,t){return He(e)?e:new G_(e,t)}class G_{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ae(t),this._value=n?t:$s(t)}get value(){return Fm(this),this._value}set value(t){const n=this.__v_isShallow||Ji(t)||Vr(t);t=n?t:Ae(t),Rn(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:$s(t),Mi(this,5))}}function V(e){return He(e)?e.value:e}const q_={get:(e,t,n)=>V(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return He(s)&&!He(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Um(e){return In(e)?e:new Proxy(e,q_)}function X_(e){const t=ce(e)?new Array(e.length):{};for(const n in e)t[n]=Q_(e,n);return t}class J_{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return N_(Ae(this._object),this._key)}}function Q_(e,t,n){const r=e[t];return He(r)?r:new J_(e,t,n)}/** -* @vue/runtime-core v3.4.29 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function Pn(e,t,n,r){try{return r?e(...r):e()}catch(s){Eo(s,t,n)}}function Mt(e,t,n,r){if(he(e)){const s=Pn(e,t,n,r);return s&&hm(s)&&s.catch(i=>{Eo(i,t,n)}),s}if(ce(e)){const s=[];for(let i=0;i>>1,s=rt[r],i=Fs(s);iYt&&rt.splice(t,1)}function nv(e){ce(e)?jr.push(...e):(!An||!An.includes(e,e.allowRecurse?Qn+1:Qn))&&jr.push(e),Vm()}function cu(e,t,n=Ds?Yt+1:0){for(;nFs(n)-Fs(r));if(jr.length=0,An){An.push(...t);return}for(An=t,Qn=0;Qne.id==null?1/0:e.id,rv=(e,t)=>{const n=Fs(e)-Fs(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Wm(e){Va=!1,Ds=!0,rt.sort(rv);try{for(Yt=0;YtGe(m)?m.trim():m)),f&&(s=n.map(Fa))}let a,l=r[a=Qo(t)]||r[a=Qo(Xt(t))];!l&&i&&(l=r[a=Qo(rs(t))]),l&&Mt(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Mt(u,e,6,s)}}function Ym(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},a=!1;if(!he(e)){const l=u=>{const c=Ym(u,t,!0);c&&(a=!0,Ze(o,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(Fe(e)&&r.set(e,null),null):(ce(i)?i.forEach(l=>o[l]=null):Ze(o,i),Fe(e)&&r.set(e,o),o)}function wo(e,t){return!e||!go(t)?!1:(t=t.slice(2).replace(/Once$/,""),we(e,t[0].toLowerCase()+t.slice(1))||we(e,rs(t))||we(e,t))}let ct=null,Ao=null;function Qi(e){const t=ct;return ct=e,Ao=e&&e.type.__scopeId||null,t}function iv(e){Ao=e}function ov(){Ao=null}function er(e,t=ct,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Eu(-1);const i=Qi(t);let o;try{o=e(...s)}finally{Qi(i),r._d&&Eu(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function ea(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:m,ctx:p,inheritAttrs:v}=e,y=Qi(e);let w,S;try{if(n.shapeFlag&4){const A=s||r,C=A;w=Wt(u.call(C,A,c,f,m,d,p)),S=a}else{const A=t;w=Wt(A.length>1?A(f,{attrs:a,slots:o,emit:l}):A(f,null)),S=t.props?a:av(a)}}catch(A){Ts.length=0,Eo(A,e,1),w=ye(dr)}let E=w;if(S&&v!==!1){const A=Object.keys(S),{shapeFlag:C}=E;A.length&&C&7&&(i&&A.some(jl)&&(S=lv(S,i)),E=Br(E,S,!1,!0))}return n.dirs&&(E=Br(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&(E.transition=n.transition),w=E,Qi(y),w}const av=e=>{let t;for(const n in e)(n==="class"||n==="style"||go(n))&&((t||(t={}))[n]=e[n]);return t},lv=(e,t)=>{const n={};for(const r in e)(!jl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function cv(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:a,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?uu(r,o,u):!!o;if(l&8){const c=t.dynamicProps;for(let f=0;fe.__isSuspense;function pv(e,t){t&&t.pendingBranch?ce(e)?t.effects.push(...e):t.effects.push(e):nv(e)}function To(e,t,n=Je,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Un();const a=Qs(n),l=Mt(t,n,e,o);return a(),Hn(),l});return r?s.unshift(i):s.push(i),i}}const mn=e=>(t,n=Je)=>{(!So||e==="sp")&&To(e,(...r)=>t(...r),n)},tc=mn("bm"),ss=mn("m"),gv=mn("bu"),_v=mn("u"),Km=mn("bum"),Oo=mn("um"),vv=mn("sp"),bv=mn("rtg"),yv=mn("rtc");function Ev(e,t=Je){To("ec",e,t)}function ws(e,t){if(ct===null)return e;const n=Co(ct),r=e.dirs||(e.dirs=[]);for(let s=0;st(o,a,void 0,i));else{const o=Object.keys(e);s=new Array(o.length);for(let a=0,l=o.length;a!!e.type.__asyncLoader,Ba=e=>e?mh(e)?Co(e):Ba(e.parent):null,As=Ze(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ba(e.parent),$root:e=>Ba(e.root),$emit:e=>e.emit,$options:e=>rc(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Zl(e.update)}),$nextTick:e=>e.n||(e.n=Ms.bind(e.proxy)),$watch:e=>Vv.bind(e)}),ta=(e,t)=>e!==ke&&!e.__isScriptSetup&&we(e,t),wv={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const m=o[t];if(m!==void 0)switch(m){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(ta(r,t))return o[t]=1,r[t];if(s!==ke&&we(s,t))return o[t]=2,s[t];if((u=e.propsOptions[0])&&we(u,t))return o[t]=3,i[t];if(n!==ke&&we(n,t))return o[t]=4,n[t];Wa&&(o[t]=0)}}const c=As[t];let f,d;if(c)return t==="$attrs"&&_t(e.attrs,"get",""),c(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==ke&&we(n,t))return o[t]=4,n[t];if(d=l.config.globalProperties,we(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return ta(s,t)?(s[t]=n,!0):r!==ke&&we(r,t)?(r[t]=n,!0):we(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let a;return!!n[o]||e!==ke&&we(e,o)||ta(t,o)||(a=i[0])&&we(a,o)||we(r,o)||we(As,o)||we(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:we(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function du(e){return ce(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Wa=!0;function Av(e){const t=rc(e),n=e.proxy,r=e.ctx;Wa=!1,t.beforeCreate&&mu(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:m,updated:p,activated:v,deactivated:y,beforeDestroy:w,beforeUnmount:S,destroyed:E,unmounted:A,render:C,renderTracked:O,renderTriggered:I,errorCaptured:$,serverPrefetch:P,expose:q,inheritAttrs:ie,components:Q,directives:le,filters:je}=t;if(u&&Tv(u,r,null),o)for(const ae in o){const de=o[ae];he(de)&&(r[ae]=de.bind(n))}if(s){const ae=s.call(n,n);Fe(ae)&&(e.data=Vn(ae))}if(Wa=!0,i)for(const ae in i){const de=i[ae],xe=he(de)?de.bind(n,n):he(de.get)?de.get.bind(n,n):Ct,pe=!he(de)&&he(de.set)?de.set.bind(n):Ct,Ee=ne({get:xe,set:pe});Object.defineProperty(r,ae,{enumerable:!0,configurable:!0,get:()=>Ee.value,set:be=>Ee.value=be})}if(a)for(const ae in a)zm(a[ae],r,n,ae);if(l){const ae=he(l)?l.call(n):l;Reflect.ownKeys(ae).forEach(de=>{cr(de,ae[de])})}c&&mu(c,e,"c");function ee(ae,de){ce(de)?de.forEach(xe=>ae(xe.bind(n))):de&&ae(de.bind(n))}if(ee(tc,f),ee(ss,d),ee(gv,m),ee(_v,p),ee(Bv,v),ee(Wv,y),ee(Ev,$),ee(yv,O),ee(bv,I),ee(Km,S),ee(Oo,A),ee(vv,P),ce(q))if(q.length){const ae=e.exposed||(e.exposed={});q.forEach(de=>{Object.defineProperty(ae,de,{get:()=>n[de],set:xe=>n[de]=xe})})}else e.exposed||(e.exposed={});C&&e.render===Ct&&(e.render=C),ie!=null&&(e.inheritAttrs=ie),Q&&(e.components=Q),le&&(e.directives=le)}function Tv(e,t,n=Ct){ce(e)&&(e=Ya(e));for(const r in e){const s=e[r];let i;Fe(s)?"default"in s?i=st(s.from||r,s.default,!0):i=st(s.from||r):i=st(s),He(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function mu(e,t,n){Mt(ce(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function zm(e,t,n,r){const s=r.includes(".")?oh(n,r):()=>n[r];if(Ge(e)){const i=t[e];he(i)&&it(s,i)}else if(he(e))it(s,e.bind(n));else if(Fe(e))if(ce(e))e.forEach(i=>zm(i,t,n,r));else{const i=he(e.handler)?e.handler.bind(n):t[e.handler];he(i)&&it(s,i,e)}}function rc(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>Zi(l,u,o,!0)),Zi(l,t,o)),Fe(t)&&i.set(t,l),l}function Zi(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Zi(e,i,n,!0),s&&s.forEach(o=>Zi(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=Ov[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Ov={data:hu,props:pu,emits:pu,methods:bs,computed:bs,beforeCreate:ot,created:ot,beforeMount:ot,mounted:ot,beforeUpdate:ot,updated:ot,beforeDestroy:ot,beforeUnmount:ot,destroyed:ot,unmounted:ot,activated:ot,deactivated:ot,errorCaptured:ot,serverPrefetch:ot,components:bs,directives:bs,watch:Cv,provide:hu,inject:Sv};function hu(e,t){return t?e?function(){return Ze(he(e)?e.call(this,this):e,he(t)?t.call(this,this):t)}:t:e}function Sv(e,t){return bs(Ya(e),Ya(t))}function Ya(e){if(ce(e)){const t={};for(let n=0;n1)return n&&he(t)?t.call(r&&r.proxy):t}}function Iv(){return!!(Je||ct||Ur)}const qm={},Xm=()=>Object.create(qm),Jm=e=>Object.getPrototypeOf(e)===qm;function Pv(e,t,n,r=!1){const s={},i=Xm();e.propsDefaults=Object.create(null),Qm(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:km(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Rv(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,a=Ae(s),[l]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,m]=Zm(f,t,!0);Ze(o,d),m&&a.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return Fe(e)&&r.set(e,Mr),Mr;if(ce(i))for(let c=0;c-1,m[1]=v<0||p-1||we(m,"default"))&&a.push(f)}}}const u=[o,a];return Fe(e)&&r.set(e,u),u}function gu(e){return e[0]!=="$"&&!Es(e)}function _u(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function vu(e,t){return _u(e)===_u(t)}function bu(e,t){return ce(t)?t.findIndex(n=>vu(n,e)):he(t)&&vu(t,e)?0:-1}const eh=e=>e[0]==="_"||e==="$stable",sc=e=>ce(e)?e.map(Wt):[Wt(e)],xv=(e,t,n)=>{if(t._n)return t;const r=er((...s)=>sc(t(...s)),n);return r._c=!1,r},th=(e,t,n)=>{const r=e._ctx;for(const s in e){if(eh(s))continue;const i=e[s];if(he(i))t[s]=xv(s,i,r);else if(i!=null){const o=sc(i);t[s]=()=>o}}},nh=(e,t)=>{const n=sc(t);e.slots.default=()=>n},kv=(e,t)=>{const n=e.slots=Xm();if(e.vnode.shapeFlag&32){const r=t._;r?(Ze(n,t),_m(n,"_",r,!0)):th(t,n)}else t&&nh(e,t)},$v=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=ke;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:(Ze(s,t),!n&&a===1&&delete s._):(i=!t.$stable,th(t,s)),o=t}else t&&(nh(e,t),o={default:1});if(i)for(const a in s)!eh(a)&&o[a]==null&&delete s[a]};function za(e,t,n,r,s=!1){if(ce(e)){e.forEach((d,m)=>za(d,t&&(ce(t)?t[m]:t),n,r,s));return}if(Fi(r)&&!s)return;const i=r.shapeFlag&4?Co(r.component):r.el,o=s?null:i,{i:a,r:l}=e,u=t&&t.r,c=a.refs===ke?a.refs={}:a.refs,f=a.setupState;if(u!=null&&u!==l&&(Ge(u)?(c[u]=null,we(f,u)&&(f[u]=null)):He(u)&&(u.value=null)),he(l))Pn(l,a,12,[o,c]);else{const d=Ge(l),m=He(l);if(d||m){const p=()=>{if(e.f){const v=d?we(f,l)?f[l]:c[l]:l.value;s?ce(v)&&Ul(v,i):ce(v)?v.includes(i)||v.push(i):d?(c[l]=[i],we(f,l)&&(f[l]=c[l])):(l.value=[i],e.k&&(c[e.k]=l.value))}else d?(c[l]=o,we(f,l)&&(f[l]=o)):m&&(l.value=o,e.k&&(c[e.k]=o))};o?(p.id=-1,ht(p,n)):p()}}}const ht=pv;function Dv(e){return Mv(e)}function Mv(e,t){const n=vm();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:m=Ct,insertStaticContent:p}=e,v=(b,g,N,j=null,D=null,B=null,z=void 0,h=null,_=!!g.dynamicChildren)=>{if(b===g)return;b&&!ms(b,g)&&(j=F(b),be(b,D,B,!0),b=null),g.patchFlag===-2&&(_=!1,g.dynamicChildren=null);const{type:T,ref:M,shapeFlag:K}=g;switch(T){case Js:y(b,g,N,j);break;case dr:w(b,g,N,j);break;case ra:b==null&&S(g,N,j,z);break;case lt:Q(b,g,N,j,D,B,z,h,_);break;default:K&1?C(b,g,N,j,D,B,z,h,_):K&6?le(b,g,N,j,D,B,z,h,_):(K&64||K&128)&&T.process(b,g,N,j,D,B,z,h,_,J)}M!=null&&D&&za(M,b&&b.ref,B,g||b,!g)},y=(b,g,N,j)=>{if(b==null)r(g.el=a(g.children),N,j);else{const D=g.el=b.el;g.children!==b.children&&u(D,g.children)}},w=(b,g,N,j)=>{b==null?r(g.el=l(g.children||""),N,j):g.el=b.el},S=(b,g,N,j)=>{[b.el,b.anchor]=p(b.children,g,N,j,b.el,b.anchor)},E=({el:b,anchor:g},N,j)=>{let D;for(;b&&b!==g;)D=d(b),r(b,N,j),b=D;r(g,N,j)},A=({el:b,anchor:g})=>{let N;for(;b&&b!==g;)N=d(b),s(b),b=N;s(g)},C=(b,g,N,j,D,B,z,h,_)=>{g.type==="svg"?z="svg":g.type==="math"&&(z="mathml"),b==null?O(g,N,j,D,B,z,h,_):P(b,g,D,B,z,h,_)},O=(b,g,N,j,D,B,z,h)=>{let _,T;const{props:M,shapeFlag:K,transition:U,dirs:L}=b;if(_=b.el=o(b.type,B,M&&M.is,M),K&8?c(_,b.children):K&16&&$(b.children,_,null,j,D,na(b,B),z,h),L&&Gn(b,null,j,"created"),I(_,b,b.scopeId,z,j),M){for(const te in M)te!=="value"&&!Es(te)&&i(_,te,null,M[te],B,b.children,j,D,Le);"value"in M&&i(_,"value",null,M.value,B),(T=M.onVnodeBeforeMount)&&Bt(T,j,b)}L&&Gn(b,null,j,"beforeMount");const R=Fv(D,U);R&&U.beforeEnter(_),r(_,g,N),((T=M&&M.onVnodeMounted)||R||L)&&ht(()=>{T&&Bt(T,j,b),R&&U.enter(_),L&&Gn(b,null,j,"mounted")},D)},I=(b,g,N,j,D)=>{if(N&&m(b,N),j)for(let B=0;B{for(let T=_;T{const h=g.el=b.el;let{patchFlag:_,dynamicChildren:T,dirs:M}=g;_|=b.patchFlag&16;const K=b.props||ke,U=g.props||ke;let L;if(N&&qn(N,!1),(L=U.onVnodeBeforeUpdate)&&Bt(L,N,g,b),M&&Gn(g,b,N,"beforeUpdate"),N&&qn(N,!0),T?q(b.dynamicChildren,T,h,N,j,na(g,D),B):z||de(b,g,h,null,N,j,na(g,D),B,!1),_>0){if(_&16)ie(h,g,K,U,N,j,D);else if(_&2&&K.class!==U.class&&i(h,"class",null,U.class,D),_&4&&i(h,"style",K.style,U.style,D),_&8){const R=g.dynamicProps;for(let te=0;te{L&&Bt(L,N,g,b),M&&Gn(g,b,N,"updated")},j)},q=(b,g,N,j,D,B,z)=>{for(let h=0;h{if(N!==j){if(N!==ke)for(const h in N)!Es(h)&&!(h in j)&&i(b,h,N[h],null,z,g.children,D,B,Le);for(const h in j){if(Es(h))continue;const _=j[h],T=N[h];_!==T&&h!=="value"&&i(b,h,T,_,z,g.children,D,B,Le)}"value"in j&&i(b,"value",N.value,j.value,z)}},Q=(b,g,N,j,D,B,z,h,_)=>{const T=g.el=b?b.el:a(""),M=g.anchor=b?b.anchor:a("");let{patchFlag:K,dynamicChildren:U,slotScopeIds:L}=g;L&&(h=h?h.concat(L):L),b==null?(r(T,N,j),r(M,N,j),$(g.children||[],N,M,D,B,z,h,_)):K>0&&K&64&&U&&b.dynamicChildren?(q(b.dynamicChildren,U,N,D,B,z,h),(g.key!=null||D&&g===D.subTree)&&rh(b,g,!0)):de(b,g,N,M,D,B,z,h,_)},le=(b,g,N,j,D,B,z,h,_)=>{g.slotScopeIds=h,b==null?g.shapeFlag&512?D.ctx.activate(g,N,j,z,_):je(g,N,j,D,B,z,_):Ce(b,g,_)},je=(b,g,N,j,D,B,z)=>{const h=b.component=Zv(b,j,D);if(ah(b)&&(h.ctx.renderer=J),eb(h),h.asyncDep){if(D&&D.registerDep(h,ee,z),!b.el){const _=h.subTree=ye(dr);w(null,_,g,N)}}else ee(h,b,g,N,D,B,z)},Ce=(b,g,N)=>{const j=g.component=b.component;if(cv(b,g,N))if(j.asyncDep&&!j.asyncResolved){ae(j,g,N);return}else j.next=g,tv(j.update),j.effect.dirty=!0,j.update();else g.el=b.el,j.vnode=g},ee=(b,g,N,j,D,B,z)=>{const h=()=>{if(b.isMounted){let{next:M,bu:K,u:U,parent:L,vnode:R}=b;{const vt=sh(b);if(vt){M&&(M.el=R.el,ae(b,M,z)),vt.asyncDep.then(()=>{b.isUnmounted||h()});return}}let te=M,se;qn(b,!1),M?(M.el=R.el,ae(b,M,z)):M=R,K&&Di(K),(se=M.props&&M.props.onVnodeBeforeUpdate)&&Bt(se,L,M,R),qn(b,!0);const Pe=ea(b),nt=b.subTree;b.subTree=Pe,v(nt,Pe,f(nt.el),F(nt),b,D,B),M.el=Pe.el,te===null&&uv(b,Pe.el),U&&ht(U,D),(se=M.props&&M.props.onVnodeUpdated)&&ht(()=>Bt(se,L,M,R),D)}else{let M;const{el:K,props:U}=g,{bm:L,m:R,parent:te}=b,se=Fi(g);if(qn(b,!1),L&&Di(L),!se&&(M=U&&U.onVnodeBeforeMount)&&Bt(M,te,g),qn(b,!0),K&&Te){const Pe=()=>{b.subTree=ea(b),Te(K,b.subTree,b,D,null)};se?g.type.__asyncLoader().then(()=>!b.isUnmounted&&Pe()):Pe()}else{const Pe=b.subTree=ea(b);v(null,Pe,N,j,b,D,B),g.el=Pe.el}if(R&&ht(R,D),!se&&(M=U&&U.onVnodeMounted)){const Pe=g;ht(()=>Bt(M,te,Pe),D)}(g.shapeFlag&256||te&&Fi(te.vnode)&&te.vnode.shapeFlag&256)&&b.a&&ht(b.a,D),b.isMounted=!0,g=N=j=null}},_=b.effect=new Bl(h,Ct,()=>Zl(T),b.scope),T=b.update=()=>{_.dirty&&_.run()};T.id=b.uid,qn(b,!0),T()},ae=(b,g,N)=>{g.component=b;const j=b.vnode.props;b.vnode=g,b.next=null,Rv(b,g.props,j,N),$v(b,g.children,N),Un(),cu(b),Hn()},de=(b,g,N,j,D,B,z,h,_=!1)=>{const T=b&&b.children,M=b?b.shapeFlag:0,K=g.children,{patchFlag:U,shapeFlag:L}=g;if(U>0){if(U&128){pe(T,K,N,j,D,B,z,h,_);return}else if(U&256){xe(T,K,N,j,D,B,z,h,_);return}}L&8?(M&16&&Le(T,D,B),K!==T&&c(N,K)):M&16?L&16?pe(T,K,N,j,D,B,z,h,_):Le(T,D,B,!0):(M&8&&c(N,""),L&16&&$(K,N,j,D,B,z,h,_))},xe=(b,g,N,j,D,B,z,h,_)=>{b=b||Mr,g=g||Mr;const T=b.length,M=g.length,K=Math.min(T,M);let U;for(U=0;UM?Le(b,D,B,!0,!1,K):$(g,N,j,D,B,z,h,_,K)},pe=(b,g,N,j,D,B,z,h,_)=>{let T=0;const M=g.length;let K=b.length-1,U=M-1;for(;T<=K&&T<=U;){const L=b[T],R=g[T]=_?Tn(g[T]):Wt(g[T]);if(ms(L,R))v(L,R,N,null,D,B,z,h,_);else break;T++}for(;T<=K&&T<=U;){const L=b[K],R=g[U]=_?Tn(g[U]):Wt(g[U]);if(ms(L,R))v(L,R,N,null,D,B,z,h,_);else break;K--,U--}if(T>K){if(T<=U){const L=U+1,R=LU)for(;T<=K;)be(b[T],D,B,!0),T++;else{const L=T,R=T,te=new Map;for(T=R;T<=U;T++){const bt=g[T]=_?Tn(g[T]):Wt(g[T]);bt.key!=null&&te.set(bt.key,T)}let se,Pe=0;const nt=U-R+1;let vt=!1,di=0;const Ar=new Array(nt);for(T=0;T=nt){be(bt,D,B,!0);continue}let Vt;if(bt.key!=null)Vt=te.get(bt.key);else for(se=R;se<=U;se++)if(Ar[se-R]===0&&ms(bt,g[se])){Vt=se;break}Vt===void 0?be(bt,D,B,!0):(Ar[Vt-R]=T+1,Vt>=di?di=Vt:vt=!0,v(bt,g[Vt],N,null,D,B,z,h,_),Pe++)}const Zc=vt?jv(Ar):Mr;for(se=Zc.length-1,T=nt-1;T>=0;T--){const bt=R+T,Vt=g[bt],eu=bt+1{const{el:B,type:z,transition:h,children:_,shapeFlag:T}=b;if(T&6){Ee(b.component.subTree,g,N,j);return}if(T&128){b.suspense.move(g,N,j);return}if(T&64){z.move(b,g,N,J);return}if(z===lt){r(B,g,N);for(let K=0;K<_.length;K++)Ee(_[K],g,N,j);r(b.anchor,g,N);return}if(z===ra){E(b,g,N);return}if(j!==2&&T&1&&h)if(j===0)h.beforeEnter(B),r(B,g,N),ht(()=>h.enter(B),D);else{const{leave:K,delayLeave:U,afterLeave:L}=h,R=()=>r(B,g,N),te=()=>{K(B,()=>{R(),L&&L()})};U?U(B,R,te):te()}else r(B,g,N)},be=(b,g,N,j=!1,D=!1)=>{const{type:B,props:z,ref:h,children:_,dynamicChildren:T,shapeFlag:M,patchFlag:K,dirs:U,memoIndex:L}=b;if(h!=null&&za(h,null,N,b,!0),L!=null&&(g.renderCache[L]=void 0),M&256){g.ctx.deactivate(b);return}const R=M&1&&U,te=!Fi(b);let se;if(te&&(se=z&&z.onVnodeBeforeUnmount)&&Bt(se,g,b),M&6)We(b.component,N,j);else{if(M&128){b.suspense.unmount(N,j);return}R&&Gn(b,null,g,"beforeUnmount"),M&64?b.type.remove(b,g,N,D,J,j):T&&(B!==lt||K>0&&K&64)?Le(T,g,N,!1,!0):(B===lt&&K&384||!D&&M&16)&&Le(_,g,N),j&&et(b)}(te&&(se=z&&z.onVnodeUnmounted)||R)&&ht(()=>{se&&Bt(se,g,b),R&&Gn(b,null,g,"unmounted")},N)},et=b=>{const{type:g,el:N,anchor:j,transition:D}=b;if(g===lt){Be(N,j);return}if(g===ra){A(b);return}const B=()=>{s(N),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if(b.shapeFlag&1&&D&&!D.persisted){const{leave:z,delayLeave:h}=D,_=()=>z(N,B);h?h(b.el,B,_):_()}else B()},Be=(b,g)=>{let N;for(;b!==g;)N=d(b),s(b),b=N;s(g)},We=(b,g,N)=>{const{bum:j,scope:D,update:B,subTree:z,um:h,m:_,a:T}=b;yu(_),yu(T),j&&Di(j),D.stop(),B&&(B.active=!1,be(z,b,g,N)),h&&ht(h,g),ht(()=>{b.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},Le=(b,g,N,j=!1,D=!1,B=0)=>{for(let z=B;zb.shapeFlag&6?F(b.component.subTree):b.shapeFlag&128?b.suspense.next():d(b.anchor||b.el);let Y=!1;const W=(b,g,N)=>{b==null?g._vnode&&be(g._vnode,null,null,!0):v(g._vnode||null,b,g,null,null,null,N),Y||(Y=!0,cu(),Bm(),Y=!1),g._vnode=b},J={p:v,um:be,m:Ee,r:et,mt:je,mc:$,pc:de,pbc:q,n:F,o:e};let _e,Te;return{render:W,hydrate:_e,createApp:Lv(W,_e)}}function na({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function qn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Fv(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function rh(e,t,n=!1){const r=e.children,s=t.children;if(ce(r)&&ce(s))for(let i=0;i>1,e[n[a]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function sh(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:sh(t)}function yu(e){if(e)for(let t=0;tst(Uv),vi={};function it(e,t,n){return ih(e,t,n)}function ih(e,t,{immediate:n,deep:r,flush:s,once:i,onTrack:o,onTrigger:a}=ke){if(t&&i){const O=t;t=(...I)=>{O(...I),C()}}const l=Je,u=O=>r===!0?O:Cn(O,r===!1?1:void 0);let c,f=!1,d=!1;if(He(e)?(c=()=>e.value,f=Ji(e)):In(e)?(c=()=>u(e),f=!0):ce(e)?(d=!0,f=e.some(O=>In(O)||Ji(O)),c=()=>e.map(O=>{if(He(O))return O.value;if(In(O))return u(O);if(he(O))return Pn(O,l,2)})):he(e)?t?c=()=>Pn(e,l,2):c=()=>(m&&m(),Mt(e,l,3,[p])):c=Ct,t&&r){const O=c;c=()=>Cn(O())}let m,p=O=>{m=E.onStop=()=>{Pn(O,l,4),m=E.onStop=void 0}},v;if(So)if(p=Ct,t?n&&Mt(t,l,3,[c(),d?[]:void 0,p]):c(),s==="sync"){const O=Hv();v=O.__watcherHandles||(O.__watcherHandles=[])}else return Ct;let y=d?new Array(e.length).fill(vi):vi;const w=()=>{if(!(!E.active||!E.dirty))if(t){const O=E.run();(r||f||(d?O.some((I,$)=>Rn(I,y[$])):Rn(O,y)))&&(m&&m(),Mt(t,l,3,[O,y===vi?void 0:d&&y[0]===vi?[]:y,p]),y=O)}else E.run()};w.allowRecurse=!!t;let S;s==="sync"?S=w:s==="post"?S=()=>ht(w,l&&l.suspense):(w.pre=!0,l&&(w.id=l.uid),S=()=>Zl(w));const E=new Bl(c,Ct,S),A=wm(),C=()=>{E.stop(),A&&Ul(A.effects,E)};return t?n?w():y=E.run():s==="post"?ht(E.run.bind(E),l&&l.suspense):E.run(),v&&v.push(C),C}function Vv(e,t,n){const r=this.proxy,s=Ge(e)?e.includes(".")?oh(r,e):()=>r[e]:e.bind(r,r);let i;he(t)?i=t:(i=t.handler,n=t);const o=Qs(this),a=ih(s,i.bind(r),n);return o(),a}function oh(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{Cn(r,t,n)});else if(gm(e)){for(const r in e)Cn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Cn(e[r],t,n)}return e}const ah=e=>e.type.__isKeepAlive;function Bv(e,t){lh(e,"a",t)}function Wv(e,t){lh(e,"da",t)}function lh(e,t,n=Je){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(To(t,r,n),n){let s=n.parent;for(;s&&s.parent;)ah(s.parent.vnode)&&Yv(r,t,n,s),s=s.parent}}function Yv(e,t,n,r){const s=To(t,e,r,!0);Oo(()=>{Ul(r[t],s)},n)}function ch(e,t){e.shapeFlag&6&&e.component?ch(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}const Kv=e=>e.__isTeleport,lt=Symbol.for("v-fgt"),Js=Symbol.for("v-txt"),dr=Symbol.for("v-cmt"),ra=Symbol.for("v-stc"),Ts=[];let kt=null;function Oe(e=!1){Ts.push(kt=e?null:[])}function zv(){Ts.pop(),kt=Ts[Ts.length-1]||null}let js=1;function Eu(e){js+=e}function uh(e){return e.dynamicChildren=js>0?kt||Mr:null,zv(),js>0&&kt&&kt.push(e),e}function Ie(e,t,n,r,s,i){return uh(k(e,t,n,r,s,i,!0))}function fh(e,t,n,r,s){return uh(ye(e,t,n,r,s,!0))}function Ga(e){return e?e.__v_isVNode===!0:!1}function ms(e,t){return e.type===t.type&&e.key===t.key}const dh=({key:e})=>e??null,ji=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ge(e)||He(e)||he(e)?{i:ct,r:e,k:t,f:!!n}:e:null);function k(e,t=null,n=null,r=0,s=null,i=e===lt?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&dh(t),ref:t&&ji(t),scopeId:Ao,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ct};return a?(ic(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=Ge(n)?8:16),js>0&&!o&&kt&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&kt.push(l),l}const ye=Gv;function Gv(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===dv)&&(e=dr),Ga(e)){const a=Br(e,t,!0);return n&&ic(a,n),js>0&&!i&&kt&&(a.shapeFlag&6?kt[kt.indexOf(e)]=a:kt.push(a)),a.patchFlag=-2,a}if(ib(e)&&(e=e.__vccOpts),t){t=qv(t);let{class:a,style:l}=t;a&&!Ge(a)&&(t.class=Nt(a)),Fe(l)&&(Dm(l)&&!ce(l)&&(l=Ze({},l)),t.style=Zn(l))}const o=Ge(e)?1:hv(e)?128:Kv(e)?64:Fe(e)?4:he(e)?2:0;return k(e,t,n,r,s,o,i,!0)}function qv(e){return e?Dm(e)||Jm(e)?Ze({},e):e:null}function Br(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:a,transition:l}=e,u=t?Xv(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&dh(u),ref:t&&t.ref?n&&i?ce(i)?i.concat(ji(t)):[i,ji(t)]:ji(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==lt?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Br(e.ssContent),ssFallback:e.ssFallback&&Br(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&ch(c,l.clone(c)),c}function Ye(e=" ",t=0){return ye(Js,null,e,t)}function Nn(e="",t=!1){return t?(Oe(),fh(dr,null,e)):ye(dr,null,e)}function Wt(e){return e==null||typeof e=="boolean"?ye(dr):ce(e)?ye(lt,null,e.slice()):typeof e=="object"?Tn(e):ye(Js,null,String(e))}function Tn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Br(e)}function ic(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ce(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ic(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Jm(t)?t._ctx=ct:s===3&&ct&&(ct.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else he(t)?(t={default:t,_ctx:ct},n=32):(t=String(t),r&64?(n=16,t=[Ye(t)]):n=8);e.children=t,e.shapeFlag|=n}function Xv(...e){const t={};for(let n=0;nJe||ct;let eo,qa;{const e=vm(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};eo=t("__VUE_INSTANCE_SETTERS__",n=>Je=n),qa=t("__VUE_SSR_SETTERS__",n=>So=n)}const Qs=e=>{const t=Je;return eo(e),e.scope.on(),()=>{e.scope.off(),eo(t)}},wu=()=>{Je&&Je.scope.off(),eo(null)};function mh(e){return e.vnode.shapeFlag&4}let So=!1;function eb(e,t=!1){t&&qa(t);const{props:n,children:r}=e.vnode,s=mh(e);Pv(e,n,s,t),kv(e,r);const i=s?tb(e,t):void 0;return t&&qa(!1),i}function tb(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,wv);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?rb(e):null,i=Qs(e);Un();const o=Pn(r,e,0,[e.props,s]);if(Hn(),i(),hm(o)){if(o.then(wu,wu),t)return o.then(a=>{Au(e,a,t)}).catch(a=>{Eo(a,e,0)});e.asyncDep=o}else Au(e,o,t)}else hh(e,t)}function Au(e,t,n){he(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Fe(t)&&(e.setupState=Um(t)),hh(e,n)}let Tu;function hh(e,t,n){const r=e.type;if(!e.render){if(!t&&Tu&&!r.render){const s=r.template||rc(e).template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,u=Ze(Ze({isCustomElement:i,delimiters:a},o),l);r.render=Tu(s,u)}}e.render=r.render||Ct}{const s=Qs(e);Un();try{Av(e)}finally{Hn(),s()}}}const nb={get(e,t){return _t(e,"get",""),e[t]}};function rb(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,nb),slots:e.slots,emit:e.emit,expose:t}}function Co(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Um(ql(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in As)return As[n](e)},has(t,n){return n in t||n in As}})):e.proxy}function sb(e,t=!0){return he(e)?e.displayName||e.name:e.name||t&&e.__name}function ib(e){return he(e)&&"__vccOpts"in e}const ne=(e,t)=>z_(e,t,So);function Zs(e,t,n){const r=arguments.length;return r===2?Fe(t)&&!ce(t)?Ga(t)?ye(e,null,[t]):ye(e,t):ye(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ga(n)&&(n=[n]),ye(e,t,n))}const ob="3.4.29";/** -* @vue/runtime-dom v3.4.29 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const ab="http://www.w3.org/2000/svg",lb="http://www.w3.org/1998/Math/MathML",nn=typeof document<"u"?document:null,Ou=nn&&nn.createElement("template"),cb={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?nn.createElementNS(ab,e):t==="mathml"?nn.createElementNS(lb,e):n?nn.createElement(e,{is:n}):nn.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>nn.createTextNode(e),createComment:e=>nn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>nn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Ou.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const a=Ou.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ub=Symbol("_vtc");function fb(e,t,n){const r=e[ub];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Su=Symbol("_vod"),db=Symbol("_vsh"),mb=Symbol(""),hb=/(^|;)\s*display\s*:/;function pb(e,t,n){const r=e.style,s=Ge(n);let i=!1;if(n&&!s){if(t)if(Ge(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&Ui(r,a,"")}else for(const o in t)n[o]==null&&Ui(r,o,"");for(const o in n)o==="display"&&(i=!0),Ui(r,o,n[o])}else if(s){if(t!==n){const o=r[mb];o&&(n+=";"+o),r.cssText=n,i=hb.test(n)}}else t&&e.removeAttribute("style");Su in e&&(e[Su]=i?r.display:"",e[db]&&(r.display="none"))}const Cu=/\s*!important$/;function Ui(e,t,n){if(ce(n))n.forEach(r=>Ui(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=gb(e,t);Cu.test(n)?e.setProperty(rs(r),n.replace(Cu,""),"important"):e[r]=n}}const Nu=["Webkit","Moz","ms"],sa={};function gb(e,t){const n=sa[t];if(n)return n;let r=Xt(t);if(r!=="filter"&&r in e)return sa[t]=r;r=bo(r);for(let s=0;sia||(Eb.then(()=>ia=0),ia=Date.now());function Ab(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Mt(Tb(r,n.value),t,5,[r])};return n.value=e,n.attached=wb(),n}function Tb(e,t){if(ce(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const xu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ob=(e,t,n,r,s,i,o,a,l)=>{const u=s==="svg";t==="class"?fb(e,r,u):t==="style"?pb(e,n,r):go(t)?jl(t)||bb(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Sb(e,t,r,u))?(_b(e,t,r,i,o,a,l),(t==="value"||t==="checked"||t==="selected")&&Iu(e,t,r,u,o,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Iu(e,t,r,u))};function Sb(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&xu(t)&&he(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return xu(t)&&Ge(n)?!1:t in e}const ku=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ce(t)?n=>Di(t,n):t};function Cb(e){e.target.composing=!0}function $u(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const oa=Symbol("_assign"),Os={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[oa]=ku(s);const i=r||s.props&&s.props.type==="number";Cr(e,t?"change":"input",o=>{if(o.target.composing)return;let a=e.value;n&&(a=a.trim()),i&&(a=Fa(a)),e[oa](a)}),n&&Cr(e,"change",()=>{e.value=e.value.trim()}),t||(Cr(e,"compositionstart",Cb),Cr(e,"compositionend",$u),Cr(e,"change",$u))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:i}},o){if(e[oa]=ku(o),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?Fa(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===l)||(e.value=l))}},Nb=Ze({patchProp:Ob},cb);let Du;function Lb(){return Du||(Du=Dv(Nb))}const Ib=(...e)=>{const t=Lb().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Rb(r);if(!s)return;const i=t._component;!he(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,Pb(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function Pb(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Rb(e){return Ge(e)?document.querySelector(e):e}var xb=!1;/*! - * pinia v2.1.7 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */let ph;const No=e=>ph=e,gh=Symbol();function Xa(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ss;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ss||(Ss={}));function kb(){const e=Vl(!0),t=e.run(()=>ge({}));let n=[],r=[];const s=ql({install(i){No(s),s._a=i,i.provide(gh,s),i.config.globalProperties.$pinia=s,r.forEach(o=>n.push(o)),r=[]},use(i){return!this._a&&!xb?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const _h=()=>{};function Mu(e,t,n,r=_h){e.push(t);const s=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&wm()&&S_(s),s}function Tr(e,...t){e.slice().forEach(n=>{n(...t)})}const $b=e=>e();function Ja(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];Xa(s)&&Xa(r)&&e.hasOwnProperty(n)&&!He(r)&&!In(r)?e[n]=Ja(s,r):e[n]=r}return e}const Db=Symbol();function Mb(e){return!Xa(e)||!e.hasOwnProperty(Db)}const{assign:wn}=Object;function Fb(e){return!!(He(e)&&e.effect)}function jb(e,t,n,r){const{state:s,actions:i,getters:o}=t,a=n.state.value[e];let l;function u(){a||(n.state.value[e]=s?s():{});const c=X_(n.state.value[e]);return wn(c,i,Object.keys(o||{}).reduce((f,d)=>(f[d]=ql(ne(()=>{No(n);const m=n._s.get(e);return o[d].call(m,m)})),f),{}))}return l=vh(e,u,t,n,r,!0),l}function vh(e,t,n={},r,s,i){let o;const a=wn({actions:{}},n),l={deep:!0};let u,c,f=[],d=[],m;const p=r.state.value[e];!i&&!p&&(r.state.value[e]={}),ge({});let v;function y($){let P;u=c=!1,typeof $=="function"?($(r.state.value[e]),P={type:Ss.patchFunction,storeId:e,events:m}):(Ja(r.state.value[e],$),P={type:Ss.patchObject,payload:$,storeId:e,events:m});const q=v=Symbol();Ms().then(()=>{v===q&&(u=!0)}),c=!0,Tr(f,P,r.state.value[e])}const w=i?function(){const{state:P}=n,q=P?P():{};this.$patch(ie=>{wn(ie,q)})}:_h;function S(){o.stop(),f=[],d=[],r._s.delete(e)}function E($,P){return function(){No(r);const q=Array.from(arguments),ie=[],Q=[];function le(ee){ie.push(ee)}function je(ee){Q.push(ee)}Tr(d,{args:q,name:$,store:C,after:le,onError:je});let Ce;try{Ce=P.apply(this&&this.$id===e?this:C,q)}catch(ee){throw Tr(Q,ee),ee}return Ce instanceof Promise?Ce.then(ee=>(Tr(ie,ee),ee)).catch(ee=>(Tr(Q,ee),Promise.reject(ee))):(Tr(ie,Ce),Ce)}}const A={_p:r,$id:e,$onAction:Mu.bind(null,d),$patch:y,$reset:w,$subscribe($,P={}){const q=Mu(f,$,P.detached,()=>ie()),ie=o.run(()=>it(()=>r.state.value[e],Q=>{(P.flush==="sync"?c:u)&&$({storeId:e,type:Ss.direct,events:m},Q)},wn({},l,P)));return q},$dispose:S},C=Vn(A);r._s.set(e,C);const I=(r._a&&r._a.runWithContext||$b)(()=>r._e.run(()=>(o=Vl()).run(t)));for(const $ in I){const P=I[$];if(He(P)&&!Fb(P)||In(P))i||(p&&Mb(P)&&(He(P)?P.value=p[$]:Ja(P,p[$])),r.state.value[e][$]=P);else if(typeof P=="function"){const q=E($,P);I[$]=q,a.actions[$]=P}}return wn(C,I),wn(Ae(C),I),Object.defineProperty(C,"$state",{get:()=>r.state.value[e],set:$=>{y(P=>{wn(P,$)})}}),r._p.forEach($=>{wn(C,o.run(()=>$({store:C,app:r._a,pinia:r,options:a})))}),p&&i&&n.hydrate&&n.hydrate(C.$state,p),u=!0,c=!0,C}function Ub(e,t,n){let r,s;const i=typeof t=="function";r=e,s=i?n:t;function o(a,l){const u=Iv();return a=a||(u?st(gh,null):null),a&&No(a),a=ph,a._s.has(r)||(i?vh(r,t,s,a):jb(r,s,a)),a._s.get(r)}return o.$id=r,o}/*! - * shared v9.13.1 - * (c) 2024 kazuya kawaguchi - * Released under the MIT License. - */const to=typeof window<"u",Bn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Hb=(e,t,n)=>Vb({l:e,k:t,s:n}),Vb=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ke=e=>typeof e=="number"&&isFinite(e),Bb=e=>yh(e)==="[object Date]",xn=e=>yh(e)==="[object RegExp]",Lo=e=>fe(e)&&Object.keys(e).length===0,tt=Object.assign;let Fu;const rn=()=>Fu||(Fu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ju(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const Wb=Object.prototype.hasOwnProperty;function no(e,t){return Wb.call(e,t)}const De=Array.isArray,Re=e=>typeof e=="function",G=e=>typeof e=="string",ve=e=>typeof e=="boolean",Se=e=>e!==null&&typeof e=="object",Yb=e=>Se(e)&&Re(e.then)&&Re(e.catch),bh=Object.prototype.toString,yh=e=>bh.call(e),fe=e=>{if(!Se(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Kb=e=>e==null?"":De(e)||fe(e)&&e.toString===bh?JSON.stringify(e,null,2):String(e);function zb(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function Io(e){let t=e;return()=>++t}function Gb(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const bi=e=>!Se(e)||De(e);function Hi(e,t){if(bi(e)||bi(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(i=>{bi(r[i])||bi(s[i])?s[i]=r[i]:n.push({src:r[i],des:s[i]})})}}/*! - * message-compiler v9.13.1 - * (c) 2024 kazuya kawaguchi - * Released under the MIT License. - */function qb(e,t,n){return{line:e,column:t,offset:n}}function ro(e,t,n){return{start:e,end:t}}const Xb=/\{([0-9a-zA-Z]+)\}/g;function Eh(e,...t){return t.length===1&&Jb(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Xb,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const wh=Object.assign,Uu=e=>typeof e=="string",Jb=e=>e!==null&&typeof e=="object";function Ah(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const oc={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Qb={[oc.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Zb(e,t,...n){const r=Eh(Qb[e],...n||[]),s={message:String(r),code:e};return t&&(s.location=t),s}const oe={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},ey={[oe.EXPECTED_TOKEN]:"Expected token: '{0}'",[oe.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[oe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[oe.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[oe.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[oe.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[oe.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[oe.EMPTY_PLACEHOLDER]:"Empty placeholder",[oe.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[oe.INVALID_LINKED_FORMAT]:"Invalid linked format",[oe.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[oe.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[oe.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[oe.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[oe.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[oe.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function is(e,t,n={}){const{domain:r,messages:s,args:i}=n,o=Eh((s||ey)[e]||"",...i||[]),a=new SyntaxError(String(o));return a.code=e,t&&(a.location=t),a.domain=r,a}function ty(e){throw e}const Zt=" ",ny="\r",at=` -`,ry="\u2028",sy="\u2029";function iy(e){const t=e;let n=0,r=1,s=1,i=0;const o=I=>t[I]===ny&&t[I+1]===at,a=I=>t[I]===at,l=I=>t[I]===sy,u=I=>t[I]===ry,c=I=>o(I)||a(I)||l(I)||u(I),f=()=>n,d=()=>r,m=()=>s,p=()=>i,v=I=>o(I)||l(I)||u(I)?at:t[I],y=()=>v(n),w=()=>v(n+i);function S(){return i=0,c(n)&&(r++,s=0),o(n)&&n++,n++,s++,t[n]}function E(){return o(n+i)&&i++,i++,t[n+i]}function A(){n=0,r=1,s=1,i=0}function C(I=0){i=I}function O(){const I=n+i;for(;I!==n;)S();i=0}return{index:f,line:d,column:m,peekOffset:p,charAt:v,currentChar:y,currentPeek:w,next:S,peek:E,reset:A,resetPeek:C,skipToPeek:O}}const _n=void 0,oy=".",Hu="'",ay="tokenizer";function ly(e,t={}){const n=t.location!==!1,r=iy(e),s=()=>r.index(),i=()=>qb(r.line(),r.column(),r.index()),o=i(),a=s(),l={currentType:14,offset:a,startLoc:o,endLoc:o,lastType:14,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=t;function f(h,_,T,...M){const K=u();if(_.column+=T,_.offset+=T,c){const U=n?ro(K.startLoc,_):null,L=is(h,U,{domain:ay,args:M});c(L)}}function d(h,_,T){h.endLoc=i(),h.currentType=_;const M={type:_};return n&&(M.loc=ro(h.startLoc,h.endLoc)),T!=null&&(M.value=T),M}const m=h=>d(h,14);function p(h,_){return h.currentChar()===_?(h.next(),_):(f(oe.EXPECTED_TOKEN,i(),0,_),"")}function v(h){let _="";for(;h.currentPeek()===Zt||h.currentPeek()===at;)_+=h.currentPeek(),h.peek();return _}function y(h){const _=v(h);return h.skipToPeek(),_}function w(h){if(h===_n)return!1;const _=h.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_===95}function S(h){if(h===_n)return!1;const _=h.charCodeAt(0);return _>=48&&_<=57}function E(h,_){const{currentType:T}=_;if(T!==2)return!1;v(h);const M=w(h.currentPeek());return h.resetPeek(),M}function A(h,_){const{currentType:T}=_;if(T!==2)return!1;v(h);const M=h.currentPeek()==="-"?h.peek():h.currentPeek(),K=S(M);return h.resetPeek(),K}function C(h,_){const{currentType:T}=_;if(T!==2)return!1;v(h);const M=h.currentPeek()===Hu;return h.resetPeek(),M}function O(h,_){const{currentType:T}=_;if(T!==8)return!1;v(h);const M=h.currentPeek()===".";return h.resetPeek(),M}function I(h,_){const{currentType:T}=_;if(T!==9)return!1;v(h);const M=w(h.currentPeek());return h.resetPeek(),M}function $(h,_){const{currentType:T}=_;if(!(T===8||T===12))return!1;v(h);const M=h.currentPeek()===":";return h.resetPeek(),M}function P(h,_){const{currentType:T}=_;if(T!==10)return!1;const M=()=>{const U=h.currentPeek();return U==="{"?w(h.peek()):U==="@"||U==="%"||U==="|"||U===":"||U==="."||U===Zt||!U?!1:U===at?(h.peek(),M()):Q(h,!1)},K=M();return h.resetPeek(),K}function q(h){v(h);const _=h.currentPeek()==="|";return h.resetPeek(),_}function ie(h){const _=v(h),T=h.currentPeek()==="%"&&h.peek()==="{";return h.resetPeek(),{isModulo:T,hasSpace:_.length>0}}function Q(h,_=!0){const T=(K=!1,U="",L=!1)=>{const R=h.currentPeek();return R==="{"?U==="%"?!1:K:R==="@"||!R?U==="%"?!0:K:R==="%"?(h.peek(),T(K,"%",!0)):R==="|"?U==="%"||L?!0:!(U===Zt||U===at):R===Zt?(h.peek(),T(!0,Zt,L)):R===at?(h.peek(),T(!0,at,L)):!0},M=T();return _&&h.resetPeek(),M}function le(h,_){const T=h.currentChar();return T===_n?_n:_(T)?(h.next(),T):null}function je(h){const _=h.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36}function Ce(h){return le(h,je)}function ee(h){const _=h.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36||_===45}function ae(h){return le(h,ee)}function de(h){const _=h.charCodeAt(0);return _>=48&&_<=57}function xe(h){return le(h,de)}function pe(h){const _=h.charCodeAt(0);return _>=48&&_<=57||_>=65&&_<=70||_>=97&&_<=102}function Ee(h){return le(h,pe)}function be(h){let _="",T="";for(;_=xe(h);)T+=_;return T}function et(h){y(h);const _=h.currentChar();return _!=="%"&&f(oe.EXPECTED_TOKEN,i(),0,_),h.next(),"%"}function Be(h){let _="";for(;;){const T=h.currentChar();if(T==="{"||T==="}"||T==="@"||T==="|"||!T)break;if(T==="%")if(Q(h))_+=T,h.next();else break;else if(T===Zt||T===at)if(Q(h))_+=T,h.next();else{if(q(h))break;_+=T,h.next()}else _+=T,h.next()}return _}function We(h){y(h);let _="",T="";for(;_=ae(h);)T+=_;return h.currentChar()===_n&&f(oe.UNTERMINATED_CLOSING_BRACE,i(),0),T}function Le(h){y(h);let _="";return h.currentChar()==="-"?(h.next(),_+=`-${be(h)}`):_+=be(h),h.currentChar()===_n&&f(oe.UNTERMINATED_CLOSING_BRACE,i(),0),_}function F(h){return h!==Hu&&h!==at}function Y(h){y(h),p(h,"'");let _="",T="";for(;_=le(h,F);)_==="\\"?T+=W(h):T+=_;const M=h.currentChar();return M===at||M===_n?(f(oe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),M===at&&(h.next(),p(h,"'")),T):(p(h,"'"),T)}function W(h){const _=h.currentChar();switch(_){case"\\":case"'":return h.next(),`\\${_}`;case"u":return J(h,_,4);case"U":return J(h,_,6);default:return f(oe.UNKNOWN_ESCAPE_SEQUENCE,i(),0,_),""}}function J(h,_,T){p(h,_);let M="";for(let K=0;K{const M=h.currentChar();return M==="{"||M==="%"||M==="@"||M==="|"||M==="("||M===")"||!M||M===Zt?T:(T+=M,h.next(),_(T))};return _("")}function N(h){y(h);const _=p(h,"|");return y(h),_}function j(h,_){let T=null;switch(h.currentChar()){case"{":return _.braceNest>=1&&f(oe.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),h.next(),T=d(_,2,"{"),y(h),_.braceNest++,T;case"}":return _.braceNest>0&&_.currentType===2&&f(oe.EMPTY_PLACEHOLDER,i(),0),h.next(),T=d(_,3,"}"),_.braceNest--,_.braceNest>0&&y(h),_.inLinked&&_.braceNest===0&&(_.inLinked=!1),T;case"@":return _.braceNest>0&&f(oe.UNTERMINATED_CLOSING_BRACE,i(),0),T=D(h,_)||m(_),_.braceNest=0,T;default:{let K=!0,U=!0,L=!0;if(q(h))return _.braceNest>0&&f(oe.UNTERMINATED_CLOSING_BRACE,i(),0),T=d(_,1,N(h)),_.braceNest=0,_.inLinked=!1,T;if(_.braceNest>0&&(_.currentType===5||_.currentType===6||_.currentType===7))return f(oe.UNTERMINATED_CLOSING_BRACE,i(),0),_.braceNest=0,B(h,_);if(K=E(h,_))return T=d(_,5,We(h)),y(h),T;if(U=A(h,_))return T=d(_,6,Le(h)),y(h),T;if(L=C(h,_))return T=d(_,7,Y(h)),y(h),T;if(!K&&!U&&!L)return T=d(_,13,Te(h)),f(oe.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,T.value),y(h),T;break}}return T}function D(h,_){const{currentType:T}=_;let M=null;const K=h.currentChar();switch((T===8||T===9||T===12||T===10)&&(K===at||K===Zt)&&f(oe.INVALID_LINKED_FORMAT,i(),0),K){case"@":return h.next(),M=d(_,8,"@"),_.inLinked=!0,M;case".":return y(h),h.next(),d(_,9,".");case":":return y(h),h.next(),d(_,10,":");default:return q(h)?(M=d(_,1,N(h)),_.braceNest=0,_.inLinked=!1,M):O(h,_)||$(h,_)?(y(h),D(h,_)):I(h,_)?(y(h),d(_,12,b(h))):P(h,_)?(y(h),K==="{"?j(h,_)||M:d(_,11,g(h))):(T===8&&f(oe.INVALID_LINKED_FORMAT,i(),0),_.braceNest=0,_.inLinked=!1,B(h,_))}}function B(h,_){let T={type:14};if(_.braceNest>0)return j(h,_)||m(_);if(_.inLinked)return D(h,_)||m(_);switch(h.currentChar()){case"{":return j(h,_)||m(_);case"}":return f(oe.UNBALANCED_CLOSING_BRACE,i(),0),h.next(),d(_,3,"}");case"@":return D(h,_)||m(_);default:{if(q(h))return T=d(_,1,N(h)),_.braceNest=0,_.inLinked=!1,T;const{isModulo:K,hasSpace:U}=ie(h);if(K)return U?d(_,0,Be(h)):d(_,4,et(h));if(Q(h))return d(_,0,Be(h));break}}return T}function z(){const{currentType:h,offset:_,startLoc:T,endLoc:M}=l;return l.lastType=h,l.lastOffset=_,l.lastStartLoc=T,l.lastEndLoc=M,l.offset=s(),l.startLoc=i(),r.currentChar()===_n?d(l,14):B(r,l)}return{nextToken:z,currentOffset:s,currentPosition:i,context:u}}const cy="parser",uy=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fy(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function dy(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function s(E,A,C,O,...I){const $=E.currentPosition();if($.offset+=O,$.column+=O,n){const P=t?ro(C,$):null,q=is(A,P,{domain:cy,args:I});n(q)}}function i(E,A,C,O,...I){const $=E.currentPosition();if($.offset+=O,$.column+=O,r){const P=t?ro(C,$):null;r(Zb(A,P,I))}}function o(E,A,C){const O={type:E};return t&&(O.start=A,O.end=A,O.loc={start:C,end:C}),O}function a(E,A,C,O){t&&(E.end=A,E.loc&&(E.loc.end=C))}function l(E,A){const C=E.context(),O=o(3,C.offset,C.startLoc);return O.value=A,a(O,E.currentOffset(),E.currentPosition()),O}function u(E,A){const C=E.context(),{lastOffset:O,lastStartLoc:I}=C,$=o(5,O,I);return $.index=parseInt(A,10),E.nextToken(),a($,E.currentOffset(),E.currentPosition()),$}function c(E,A,C){const O=E.context(),{lastOffset:I,lastStartLoc:$}=O,P=o(4,I,$);return P.key=A,C===!0&&(P.modulo=!0),E.nextToken(),a(P,E.currentOffset(),E.currentPosition()),P}function f(E,A){const C=E.context(),{lastOffset:O,lastStartLoc:I}=C,$=o(9,O,I);return $.value=A.replace(uy,fy),E.nextToken(),a($,E.currentOffset(),E.currentPosition()),$}function d(E){const A=E.nextToken(),C=E.context(),{lastOffset:O,lastStartLoc:I}=C,$=o(8,O,I);return A.type!==12?(s(E,oe.UNEXPECTED_EMPTY_LINKED_MODIFIER,C.lastStartLoc,0),$.value="",a($,O,I),{nextConsumeToken:A,node:$}):(A.value==null&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,xt(A)),$.value=A.value||"",a($,E.currentOffset(),E.currentPosition()),{node:$})}function m(E,A){const C=E.context(),O=o(7,C.offset,C.startLoc);return O.value=A,a(O,E.currentOffset(),E.currentPosition()),O}function p(E){const A=E.context(),C=o(6,A.offset,A.startLoc);let O=E.nextToken();if(O.type===9){const I=d(E);C.modifier=I.node,O=I.nextConsumeToken||E.nextToken()}switch(O.type!==10&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,xt(O)),O=E.nextToken(),O.type===2&&(O=E.nextToken()),O.type){case 11:O.value==null&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,xt(O)),C.key=m(E,O.value||"");break;case 5:O.value==null&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,xt(O)),C.key=c(E,O.value||"");break;case 6:O.value==null&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,xt(O)),C.key=u(E,O.value||"");break;case 7:O.value==null&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,xt(O)),C.key=f(E,O.value||"");break;default:{s(E,oe.UNEXPECTED_EMPTY_LINKED_KEY,A.lastStartLoc,0);const I=E.context(),$=o(7,I.offset,I.startLoc);return $.value="",a($,I.offset,I.startLoc),C.key=$,a(C,I.offset,I.startLoc),{nextConsumeToken:O,node:C}}}return a(C,E.currentOffset(),E.currentPosition()),{node:C}}function v(E){const A=E.context(),C=A.currentType===1?E.currentOffset():A.offset,O=A.currentType===1?A.endLoc:A.startLoc,I=o(2,C,O);I.items=[];let $=null,P=null;do{const Q=$||E.nextToken();switch($=null,Q.type){case 0:Q.value==null&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,xt(Q)),I.items.push(l(E,Q.value||""));break;case 6:Q.value==null&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,xt(Q)),I.items.push(u(E,Q.value||""));break;case 4:P=!0;break;case 5:Q.value==null&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,xt(Q)),I.items.push(c(E,Q.value||"",!!P)),P&&(i(E,oc.USE_MODULO_SYNTAX,A.lastStartLoc,0,xt(Q)),P=null);break;case 7:Q.value==null&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,xt(Q)),I.items.push(f(E,Q.value||""));break;case 8:{const le=p(E);I.items.push(le.node),$=le.nextConsumeToken||null;break}}}while(A.currentType!==14&&A.currentType!==1);const q=A.currentType===1?A.lastOffset:E.currentOffset(),ie=A.currentType===1?A.lastEndLoc:E.currentPosition();return a(I,q,ie),I}function y(E,A,C,O){const I=E.context();let $=O.items.length===0;const P=o(1,A,C);P.cases=[],P.cases.push(O);do{const q=v(E);$||($=q.items.length===0),P.cases.push(q)}while(I.currentType!==14);return $&&s(E,oe.MUST_HAVE_MESSAGES_IN_PLURAL,C,0),a(P,E.currentOffset(),E.currentPosition()),P}function w(E){const A=E.context(),{offset:C,startLoc:O}=A,I=v(E);return A.currentType===14?I:y(E,C,O,I)}function S(E){const A=ly(E,wh({},e)),C=A.context(),O=o(0,C.offset,C.startLoc);return t&&O.loc&&(O.loc.source=E),O.body=w(A),e.onCacheKey&&(O.cacheKey=e.onCacheKey(E)),C.currentType!==14&&s(A,oe.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,E[C.offset]||""),a(O,A.currentOffset(),A.currentPosition()),O}return{parse:S}}function xt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function my(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function Vu(e,t){for(let n=0;nBu(n)),e}function Bu(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;na;function u(y,w){a.code+=y}function c(y,w=!0){const S=w?s:"";u(i?S+" ".repeat(y):S)}function f(y=!0){const w=++a.indentLevel;y&&c(w)}function d(y=!0){const w=--a.indentLevel;y&&c(w)}function m(){c(a.indentLevel)}return{context:l,push:u,indent:f,deindent:d,newline:m,helper:y=>`_${y}`,needIndent:()=>a.needIndent}}function by(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Yr(e,t.key),t.modifier?(e.push(", "),Yr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function yy(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let i=0;i1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let i=0;i{const n=Uu(t.mode)?t.mode:"normal",r=Uu(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` -`,o=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=vy(e,{mode:n,filename:r,sourceMap:s,breakLineCode:i,needIndent:o});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(o),a.length>0&&(l.push(`const { ${Ah(a.map(f=>`${f}: _${f}`),", ")} } = ctx`),l.newline()),l.push("return "),Yr(l,e),l.deindent(o),l.push("}"),delete e.helpers;const{code:u,map:c}=l.context();return{ast:e,code:u,map:c?c.toJSON():void 0}};function Ty(e,t={}){const n=wh({},t),r=!!n.jit,s=!!n.minify,i=n.optimize==null?!0:n.optimize,a=dy(n).parse(e);return r?(i&&py(a),s&&Nr(a),{ast:a,code:""}):(hy(a,n),Ay(a,n))}/*! - * core-base v9.13.1 - * (c) 2024 kazuya kawaguchi - * Released under the MIT License. - */function Oy(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(rn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(rn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(rn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Wn=[];Wn[0]={w:[0],i:[3,0],"[":[4],o:[7]};Wn[1]={w:[1],".":[2],"[":[4],o:[7]};Wn[2]={w:[2],i:[3,0],0:[3,0]};Wn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Wn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Wn[5]={"'":[4,0],o:8,l:[5,0]};Wn[6]={'"':[4,0],o:8,l:[6,0]};const Sy=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Cy(e){return Sy.test(e)}function Ny(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Ly(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Iy(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Cy(t)?Ny(t):"*"+t}function Py(e){const t=[];let n=-1,r=0,s=0,i,o,a,l,u,c,f;const d=[];d[0]=()=>{o===void 0?o=a:o+=a},d[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},d[2]=()=>{d[0](),s++},d[3]=()=>{if(s>0)s--,r=4,d[0]();else{if(s=0,o===void 0||(o=Iy(o),o===!1))return!1;d[1]()}};function m(){const p=e[n+1];if(r===5&&p==="'"||r===6&&p==='"')return n++,a="\\"+p,d[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&m())){if(l=Ly(i),f=Wn[r],u=f[l]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(c=d[u[1]],c&&(a=i,c()===!1))))return;if(r===7)return t}}const Wu=new Map;function Ry(e,t){return Se(e)?e[t]:null}function xy(e,t){if(!Se(e))return null;let n=Wu.get(t);if(n||(n=Py(t),n&&Wu.set(t,n)),!n)return null;const r=n.length;let s=e,i=0;for(;ie,$y=e=>"",Dy="text",My=e=>e.length===0?"":zb(e),Fy=Kb;function Yu(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function jy(e){const t=Ke(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ke(e.named.count)||Ke(e.named.n))?Ke(e.named.count)?e.named.count:Ke(e.named.n)?e.named.n:t:t}function Uy(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Hy(e={}){const t=e.locale,n=jy(e),r=Se(e.pluralRules)&&G(t)&&Re(e.pluralRules[t])?e.pluralRules[t]:Yu,s=Se(e.pluralRules)&&G(t)&&Re(e.pluralRules[t])?Yu:void 0,i=w=>w[r(n,w.length,s)],o=e.list||[],a=w=>o[w],l=e.named||{};Ke(e.pluralIndex)&&Uy(n,l);const u=w=>l[w];function c(w){const S=Re(e.messages)?e.messages(w):Se(e.messages)?e.messages[w]:!1;return S||(e.parent?e.parent.message(w):$y)}const f=w=>e.modifiers?e.modifiers[w]:ky,d=fe(e.processor)&&Re(e.processor.normalize)?e.processor.normalize:My,m=fe(e.processor)&&Re(e.processor.interpolate)?e.processor.interpolate:Fy,p=fe(e.processor)&&G(e.processor.type)?e.processor.type:Dy,y={list:a,named:u,plural:i,linked:(w,...S)=>{const[E,A]=S;let C="text",O="";S.length===1?Se(E)?(O=E.modifier||O,C=E.type||C):G(E)&&(O=E||O):S.length===2&&(G(E)&&(O=E||O),G(A)&&(C=A||C));const I=c(w)(y),$=C==="vnode"&&De(I)&&O?I[0]:I;return O?f(O)($,C):$},message:c,type:p,interpolate:m,normalize:d,values:tt({},o,l)};return y}let Us=null;function Vy(e){Us=e}function By(e,t,n){Us&&Us.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Wy=Yy("function:translate");function Yy(e){return t=>Us&&Us.emit(e,t)}const Th=oc.__EXTEND_POINT__,Xn=Io(Th),Ky={NOT_FOUND_KEY:Th,FALLBACK_TO_TRANSLATE:Xn(),CANNOT_FORMAT_NUMBER:Xn(),FALLBACK_TO_NUMBER_FORMAT:Xn(),CANNOT_FORMAT_DATE:Xn(),FALLBACK_TO_DATE_FORMAT:Xn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Xn(),__EXTEND_POINT__:Xn()},Oh=oe.__EXTEND_POINT__,Jn=Io(Oh),$t={INVALID_ARGUMENT:Oh,INVALID_DATE_ARGUMENT:Jn(),INVALID_ISO_DATE_ARGUMENT:Jn(),NOT_SUPPORT_NON_STRING_MESSAGE:Jn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Jn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Jn(),NOT_SUPPORT_LOCALE_TYPE:Jn(),__EXTEND_POINT__:Jn()};function Kt(e){return is(e,null,void 0)}function lc(e,t){return t.locale!=null?Ku(t.locale):Ku(e.locale)}let aa;function Ku(e){if(G(e))return e;if(Re(e)){if(e.resolvedOnce&&aa!=null)return aa;if(e.constructor.name==="Function"){const t=e();if(Yb(t))throw Kt($t.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return aa=t}else throw Kt($t.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Kt($t.NOT_SUPPORT_LOCALE_TYPE)}function zy(e,t,n){return[...new Set([n,...De(t)?t:Se(t)?Object.keys(t):G(t)?[t]:[n]])]}function Sh(e,t,n){const r=G(n)?n:Kr,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let i=s.__localeChainCache.get(r);if(!i){i=[];let o=[n];for(;De(o);)o=zu(i,o,t);const a=De(t)||!fe(t)?t:t.default?t.default:null;o=G(a)?[a]:a,De(o)&&zu(i,o,!1),s.__localeChainCache.set(r,i)}return i}function zu(e,t,n){let r=!0;for(let s=0;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Jy(){return{upper:(e,t)=>t==="text"&&G(e)?e.toUpperCase():t==="vnode"&&Se(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&G(e)?e.toLowerCase():t==="vnode"&&Se(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&G(e)?qu(e):t==="vnode"&&Se(e)&&"__v_isVNode"in e?qu(e.children):e}}let Ch;function Xu(e){Ch=e}let Nh;function Qy(e){Nh=e}let Lh;function Zy(e){Lh=e}let Ih=null;const eE=e=>{Ih=e},tE=()=>Ih;let Ph=null;const Ju=e=>{Ph=e},nE=()=>Ph;let Qu=0;function rE(e={}){const t=Re(e.onWarn)?e.onWarn:Gb,n=G(e.version)?e.version:Xy,r=G(e.locale)||Re(e.locale)?e.locale:Kr,s=Re(r)?Kr:r,i=De(e.fallbackLocale)||fe(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,o=fe(e.messages)?e.messages:{[s]:{}},a=fe(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},l=fe(e.numberFormats)?e.numberFormats:{[s]:{}},u=tt({},e.modifiers||{},Jy()),c=e.pluralRules||{},f=Re(e.missing)?e.missing:null,d=ve(e.missingWarn)||xn(e.missingWarn)?e.missingWarn:!0,m=ve(e.fallbackWarn)||xn(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,v=!!e.unresolving,y=Re(e.postTranslation)?e.postTranslation:null,w=fe(e.processor)?e.processor:null,S=ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,A=Re(e.messageCompiler)?e.messageCompiler:Ch,C=Re(e.messageResolver)?e.messageResolver:Nh||Ry,O=Re(e.localeFallbacker)?e.localeFallbacker:Lh||zy,I=Se(e.fallbackContext)?e.fallbackContext:void 0,$=e,P=Se($.__datetimeFormatters)?$.__datetimeFormatters:new Map,q=Se($.__numberFormatters)?$.__numberFormatters:new Map,ie=Se($.__meta)?$.__meta:{};Qu++;const Q={version:n,cid:Qu,locale:r,fallbackLocale:i,messages:o,modifiers:u,pluralRules:c,missing:f,missingWarn:d,fallbackWarn:m,fallbackFormat:p,unresolving:v,postTranslation:y,processor:w,warnHtmlMessage:S,escapeParameter:E,messageCompiler:A,messageResolver:C,localeFallbacker:O,fallbackContext:I,onWarn:t,__meta:ie};return Q.datetimeFormats=a,Q.numberFormats=l,Q.__datetimeFormatters=P,Q.__numberFormatters=q,__INTLIFY_PROD_DEVTOOLS__&&By(Q,n,ie),Q}function cc(e,t,n,r,s){const{missing:i,onWarn:o}=e;if(i!==null){const a=i(e,n,t,s);return G(a)?a:t}else return t}function hs(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function sE(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function iE(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;roE(n,e)}function oE(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,s=r.c||r.cases;return e.plural(s.reduce((i,o)=>[...i,Zu(e,o)],[]))}else return Zu(e,n)}function Zu(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((s,i)=>[...s,Qa(e,i)],[]);return e.normalize(r)}}function Qa(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,s=r.m||r.modifier;return e.linked(Qa(e,r.k||r.key),s?Qa(e,s):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Rh=e=>e;let xr=Object.create(null);const zr=e=>Se(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function xh(e,t={}){let n=!1;const r=t.onError||ty;return t.onError=s=>{n=!0,r(s)},{...Ty(e,t),detectError:n}}const aE=(e,t)=>{if(!G(e))throw Kt($t.NOT_SUPPORT_NON_STRING_MESSAGE);{ve(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Rh)(e),s=xr[r];if(s)return s;const{code:i,detectError:o}=xh(e,t),a=new Function(`return ${i}`)();return o?a:xr[r]=a}};function lE(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&G(e)){ve(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Rh)(e),s=xr[r];if(s)return s;const{ast:i,detectError:o}=xh(e,{...t,location:!1,jit:!0}),a=la(i);return o?a:xr[r]=a}else{const n=e.cacheKey;if(n){const r=xr[n];return r||(xr[n]=la(e))}else return la(e)}}const ef=()=>"",St=e=>Re(e);function tf(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:i,fallbackLocale:o,messages:a}=e,[l,u]=Za(...t),c=ve(u.missingWarn)?u.missingWarn:e.missingWarn,f=ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=ve(u.escapeParameter)?u.escapeParameter:e.escapeParameter,m=!!u.resolvedMessage,p=G(u.default)||ve(u.default)?ve(u.default)?i?l:()=>l:u.default:n?i?l:()=>l:"",v=n||p!=="",y=lc(e,u);d&&cE(u);let[w,S,E]=m?[l,y,a[y]||{}]:kh(e,l,y,o,f,c),A=w,C=l;if(!m&&!(G(A)||zr(A)||St(A))&&v&&(A=p,C=A),!m&&(!(G(A)||zr(A)||St(A))||!G(S)))return s?Po:l;let O=!1;const I=()=>{O=!0},$=St(A)?A:$h(e,l,S,A,C,I);if(O)return A;const P=dE(e,S,E,u),q=Hy(P),ie=uE(e,$,q),Q=r?r(ie,l):ie;if(__INTLIFY_PROD_DEVTOOLS__){const le={timestamp:Date.now(),key:G(l)?l:St(A)?A.key:"",locale:S||(St(A)?A.locale:""),format:G(A)?A:St(A)?A.source:"",message:Q};le.meta=tt({},e.__meta,tE()||{}),Wy(le)}return Q}function cE(e){De(e.list)?e.list=e.list.map(t=>G(t)?ju(t):t):Se(e.named)&&Object.keys(e.named).forEach(t=>{G(e.named[t])&&(e.named[t]=ju(e.named[t]))})}function kh(e,t,n,r,s,i){const{messages:o,onWarn:a,messageResolver:l,localeFallbacker:u}=e,c=u(e,r,n);let f={},d,m=null;const p="translate";for(let v=0;vr;return u.locale=n,u.key=t,u}const l=o(r,fE(e,n,s,r,a,i));return l.locale=n,l.key=t,l.source=r,l}function uE(e,t,n){return t(n)}function Za(...e){const[t,n,r]=e,s={};if(!G(t)&&!Ke(t)&&!St(t)&&!zr(t))throw Kt($t.INVALID_ARGUMENT);const i=Ke(t)?String(t):(St(t),t);return Ke(n)?s.plural=n:G(n)?s.default=n:fe(n)&&!Lo(n)?s.named=n:De(n)&&(s.list=n),Ke(r)?s.plural=r:G(r)?s.default=r:fe(r)&&tt(s,r),[i,s]}function fE(e,t,n,r,s,i){return{locale:t,key:n,warnHtmlMessage:s,onError:o=>{throw i&&i(o),o},onCacheKey:o=>Hb(t,n,o)}}function dE(e,t,n,r){const{modifiers:s,pluralRules:i,messageResolver:o,fallbackLocale:a,fallbackWarn:l,missingWarn:u,fallbackContext:c}=e,d={locale:t,modifiers:s,pluralRules:i,messages:m=>{let p=o(n,m);if(p==null&&c){const[,,v]=kh(c,m,t,a,l,u);p=o(v,m)}if(G(p)||zr(p)){let v=!1;const w=$h(e,m,t,p,m,()=>{v=!0});return v?ef:w}else return St(p)?p:ef}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),Ke(r.plural)&&(d.pluralIndex=r.plural),d}function nf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:i,localeFallbacker:o}=e,{__datetimeFormatters:a}=e,[l,u,c,f]=el(...t),d=ve(c.missingWarn)?c.missingWarn:e.missingWarn;ve(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const m=!!c.part,p=lc(e,c),v=o(e,s,p);if(!G(l)||l==="")return new Intl.DateTimeFormat(p,f).format(u);let y={},w,S=null;const E="datetime format";for(let O=0;O{Dh.includes(l)?o[l]=n[l]:i[l]=n[l]}),G(r)?i.locale=r:fe(r)&&(o=r),fe(s)&&(o=s),[i.key||"",a,i,o]}function rf(e,t,n){const r=e;for(const s in n){const i=`${t}__${s}`;r.__datetimeFormatters.has(i)&&r.__datetimeFormatters.delete(i)}}function sf(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:i,localeFallbacker:o}=e,{__numberFormatters:a}=e,[l,u,c,f]=tl(...t),d=ve(c.missingWarn)?c.missingWarn:e.missingWarn;ve(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const m=!!c.part,p=lc(e,c),v=o(e,s,p);if(!G(l)||l==="")return new Intl.NumberFormat(p,f).format(u);let y={},w,S=null;const E="number format";for(let O=0;O{Mh.includes(l)?o[l]=n[l]:i[l]=n[l]}),G(r)?i.locale=r:fe(r)&&(o=r),fe(s)&&(o=s),[i.key||"",a,i,o]}function of(e,t,n){const r=e;for(const s in n){const i=`${t}__${s}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}Oy();/*! - * vue-i18n v9.13.1 - * (c) 2024 kazuya kawaguchi - * Released under the MIT License. - */const mE="9.13.1";function hE(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(rn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(rn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(rn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(rn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(rn().__INTLIFY_PROD_DEVTOOLS__=!1)}const Fh=Ky.__EXTEND_POINT__,en=Io(Fh);en(),en(),en(),en(),en(),en(),en(),en(),en();const jh=$t.__EXTEND_POINT__,dt=Io(jh),ze={UNEXPECTED_RETURN_TYPE:jh,INVALID_ARGUMENT:dt(),MUST_BE_CALL_SETUP_TOP:dt(),NOT_INSTALLED:dt(),NOT_AVAILABLE_IN_LEGACY_MODE:dt(),REQUIRED_VALUE:dt(),INVALID_VALUE:dt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:dt(),NOT_INSTALLED_WITH_PROVIDE:dt(),UNEXPECTED_ERROR:dt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:dt(),BRIDGE_SUPPORT_VUE_2_ONLY:dt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:dt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:dt(),__EXTEND_POINT__:dt()};function Qe(e,...t){return is(e,null,void 0)}const nl=Bn("__translateVNode"),rl=Bn("__datetimeParts"),sl=Bn("__numberParts"),Uh=Bn("__setPluralRules"),Hh=Bn("__injectWithOption"),il=Bn("__dispose");function Hs(e){if(!Se(e))return e;for(const t in e)if(no(e,t))if(!t.includes("."))Se(e[t])&&Hs(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,i=!1;for(let o=0;o{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(o[l]=o[l]||{},Hi(u,o[l])):Hi(u,o)}else G(a)&&Hi(JSON.parse(a),o)}),s==null&&i)for(const a in o)no(o,a)&&Hs(o[a]);return o}function Vh(e){return e.type}function Bh(e,t,n){let r=Se(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Ro(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(Se(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(Se(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function af(e){return ye(Js,null,e,0)}const lf="__INTLIFY_META__",cf=()=>[],pE=()=>!1;let uf=0;function ff(e){return(t,n,r,s)=>e(n,r,Wr()||void 0,s)}const gE=()=>{const e=Wr();let t=null;return e&&(t=Vh(e)[lf])?{[lf]:t}:null};function uc(e={},t){const{__root:n,__injectWithOption:r}=e,s=n===void 0,i=e.flatJson,o=to?ge:Jl,a=!!e.translateExistCompatible;let l=ve(e.inheritLocale)?e.inheritLocale:!0;const u=o(n&&l?n.locale.value:G(e.locale)?e.locale:Kr),c=o(n&&l?n.fallbackLocale.value:G(e.fallbackLocale)||De(e.fallbackLocale)||fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),f=o(Ro(u.value,e)),d=o(fe(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),m=o(fe(e.numberFormats)?e.numberFormats:{[u.value]:{}});let p=n?n.missingWarn:ve(e.missingWarn)||xn(e.missingWarn)?e.missingWarn:!0,v=n?n.fallbackWarn:ve(e.fallbackWarn)||xn(e.fallbackWarn)?e.fallbackWarn:!0,y=n?n.fallbackRoot:ve(e.fallbackRoot)?e.fallbackRoot:!0,w=!!e.fallbackFormat,S=Re(e.missing)?e.missing:null,E=Re(e.missing)?ff(e.missing):null,A=Re(e.postTranslation)?e.postTranslation:null,C=n?n.warnHtmlMessage:ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,O=!!e.escapeParameter;const I=n?n.modifiers:fe(e.modifiers)?e.modifiers:{};let $=e.pluralRules||n&&n.pluralRules,P;P=(()=>{s&&Ju(null);const L={version:mE,locale:u.value,fallbackLocale:c.value,messages:f.value,modifiers:I,pluralRules:$,missing:E===null?void 0:E,missingWarn:p,fallbackWarn:v,fallbackFormat:w,unresolving:!0,postTranslation:A===null?void 0:A,warnHtmlMessage:C,escapeParameter:O,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=d.value,L.numberFormats=m.value,L.__datetimeFormatters=fe(P)?P.__datetimeFormatters:void 0,L.__numberFormatters=fe(P)?P.__numberFormatters:void 0;const R=rE(L);return s&&Ju(R),R})(),hs(P,u.value,c.value);function ie(){return[u.value,c.value,f.value,d.value,m.value]}const Q=ne({get:()=>u.value,set:L=>{u.value=L,P.locale=u.value}}),le=ne({get:()=>c.value,set:L=>{c.value=L,P.fallbackLocale=c.value,hs(P,u.value,L)}}),je=ne(()=>f.value),Ce=ne(()=>d.value),ee=ne(()=>m.value);function ae(){return Re(A)?A:null}function de(L){A=L,P.postTranslation=L}function xe(){return S}function pe(L){L!==null&&(E=ff(L)),S=L,P.missing=E}const Ee=(L,R,te,se,Pe,nt)=>{ie();let vt;try{__INTLIFY_PROD_DEVTOOLS__,s||(P.fallbackContext=n?nE():void 0),vt=L(P)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(P.fallbackContext=void 0)}if(te!=="translate exists"&&Ke(vt)&&vt===Po||te==="translate exists"&&!vt){const[di,Ar]=R();return n&&y?se(n):Pe(di)}else{if(nt(vt))return vt;throw Qe(ze.UNEXPECTED_RETURN_TYPE)}};function be(...L){return Ee(R=>Reflect.apply(tf,null,[R,...L]),()=>Za(...L),"translate",R=>Reflect.apply(R.t,R,[...L]),R=>R,R=>G(R))}function et(...L){const[R,te,se]=L;if(se&&!Se(se))throw Qe(ze.INVALID_ARGUMENT);return be(R,te,tt({resolvedMessage:!0},se||{}))}function Be(...L){return Ee(R=>Reflect.apply(nf,null,[R,...L]),()=>el(...L),"datetime format",R=>Reflect.apply(R.d,R,[...L]),()=>Gu,R=>G(R))}function We(...L){return Ee(R=>Reflect.apply(sf,null,[R,...L]),()=>tl(...L),"number format",R=>Reflect.apply(R.n,R,[...L]),()=>Gu,R=>G(R))}function Le(L){return L.map(R=>G(R)||Ke(R)||ve(R)?af(String(R)):R)}const Y={normalize:Le,interpolate:L=>L,type:"vnode"};function W(...L){return Ee(R=>{let te;const se=R;try{se.processor=Y,te=Reflect.apply(tf,null,[se,...L])}finally{se.processor=null}return te},()=>Za(...L),"translate",R=>R[nl](...L),R=>[af(R)],R=>De(R))}function J(...L){return Ee(R=>Reflect.apply(sf,null,[R,...L]),()=>tl(...L),"number format",R=>R[sl](...L),cf,R=>G(R)||De(R))}function _e(...L){return Ee(R=>Reflect.apply(nf,null,[R,...L]),()=>el(...L),"datetime format",R=>R[rl](...L),cf,R=>G(R)||De(R))}function Te(L){$=L,P.pluralRules=$}function b(L,R){return Ee(()=>{if(!L)return!1;const te=G(R)?R:u.value,se=j(te),Pe=P.messageResolver(se,L);return a?Pe!=null:zr(Pe)||St(Pe)||G(Pe)},()=>[L],"translate exists",te=>Reflect.apply(te.te,te,[L,R]),pE,te=>ve(te))}function g(L){let R=null;const te=Sh(P,c.value,u.value);for(let se=0;se{l&&(u.value=L,P.locale=L,hs(P,u.value,c.value))}),it(n.fallbackLocale,L=>{l&&(c.value=L,P.fallbackLocale=L,hs(P,u.value,c.value))}));const U={id:uf,locale:Q,fallbackLocale:le,get inheritLocale(){return l},set inheritLocale(L){l=L,L&&n&&(u.value=n.locale.value,c.value=n.fallbackLocale.value,hs(P,u.value,c.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:je,get modifiers(){return I},get pluralRules(){return $||{}},get isGlobal(){return s},get missingWarn(){return p},set missingWarn(L){p=L,P.missingWarn=p},get fallbackWarn(){return v},set fallbackWarn(L){v=L,P.fallbackWarn=v},get fallbackRoot(){return y},set fallbackRoot(L){y=L},get fallbackFormat(){return w},set fallbackFormat(L){w=L,P.fallbackFormat=w},get warnHtmlMessage(){return C},set warnHtmlMessage(L){C=L,P.warnHtmlMessage=L},get escapeParameter(){return O},set escapeParameter(L){O=L,P.escapeParameter=L},t:be,getLocaleMessage:j,setLocaleMessage:D,mergeLocaleMessage:B,getPostTranslationHandler:ae,setPostTranslationHandler:de,getMissingHandler:xe,setMissingHandler:pe,[Uh]:Te};return U.datetimeFormats=Ce,U.numberFormats=ee,U.rt=et,U.te=b,U.tm=N,U.d=Be,U.n=We,U.getDateTimeFormat=z,U.setDateTimeFormat=h,U.mergeDateTimeFormat=_,U.getNumberFormat=T,U.setNumberFormat=M,U.mergeNumberFormat=K,U[Hh]=r,U[nl]=W,U[rl]=_e,U[sl]=J,U}function _E(e){const t=G(e.locale)?e.locale:Kr,n=G(e.fallbackLocale)||De(e.fallbackLocale)||fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Re(e.missing)?e.missing:void 0,s=ve(e.silentTranslationWarn)||xn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=ve(e.silentFallbackWarn)||xn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=ve(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=fe(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,c=Re(e.postTranslation)?e.postTranslation:void 0,f=G(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,m=ve(e.sync)?e.sync:!0;let p=e.messages;if(fe(e.sharedMessages)){const O=e.sharedMessages;p=Object.keys(O).reduce(($,P)=>{const q=$[P]||($[P]={});return tt(q,O[P]),$},p||{})}const{__i18n:v,__root:y,__injectWithOption:w}=e,S=e.datetimeFormats,E=e.numberFormats,A=e.flatJson,C=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:p,flatJson:A,datetimeFormats:S,numberFormats:E,missing:r,missingWarn:s,fallbackWarn:i,fallbackRoot:o,fallbackFormat:a,modifiers:l,pluralRules:u,postTranslation:c,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:m,translateExistCompatible:C,__i18n:v,__root:y,__injectWithOption:w}}function ol(e={},t){{const n=uc(_E(e)),{__extender:r}=e,s={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return ve(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=ve(i)?!i:i},get silentFallbackWarn(){return ve(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=ve(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[o,a,l]=i,u={};let c=null,f=null;if(!G(o))throw Qe(ze.INVALID_ARGUMENT);const d=o;return G(a)?u.locale=a:De(a)?c=a:fe(a)&&(f=a),De(l)?c=l:fe(l)&&(f=l),Reflect.apply(n.t,n,[d,c||f||{},u])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[o,a,l]=i,u={plural:1};let c=null,f=null;if(!G(o))throw Qe(ze.INVALID_ARGUMENT);const d=o;return G(a)?u.locale=a:Ke(a)?u.plural=a:De(a)?c=a:fe(a)&&(f=a),G(l)?u.locale=l:De(l)?c=l:fe(l)&&(f=l),Reflect.apply(n.t,n,[d,c||f||{},u])},te(i,o){return n.te(i,o)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,o){n.setLocaleMessage(i,o)},mergeLocaleMessage(i,o){n.mergeLocaleMessage(i,o)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,o){n.setDateTimeFormat(i,o)},mergeDateTimeFormat(i,o){n.mergeDateTimeFormat(i,o)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,o){n.setNumberFormat(i,o)},mergeNumberFormat(i,o){n.mergeNumberFormat(i,o)},getChoiceIndex(i,o){return-1}};return s.__extender=r,s}}const fc={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function vE({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===lt?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function Wh(e){return lt}const bE=Xe({name:"i18n-t",props:tt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ke(e)||!isNaN(e)}},fc),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Qt({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(f=>f!=="_"),o={};e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=G(e.plural)?+e.plural:e.plural);const a=vE(t,i),l=s[nl](e.keypath,a,o),u=tt({},r),c=G(e.tag)||Se(e.tag)?e.tag:Wh();return Zs(c,u,l)}}}),df=bE;function yE(e){return De(e)&&!G(e[0])}function Yh(e,t,n,r){const{slots:s,attrs:i}=t;return()=>{const o={part:!0};let a={};e.locale&&(o.locale=e.locale),G(e.format)?o.key=e.format:Se(e.format)&&(G(e.format.key)&&(o.key=e.format.key),a=Object.keys(e.format).reduce((d,m)=>n.includes(m)?tt({},d,{[m]:e.format[m]}):d,{}));const l=r(e.value,o,a);let u=[o.key];De(l)?u=l.map((d,m)=>{const p=s[d.type],v=p?p({[d.type]:d.value,index:m,parts:l}):[d.value];return yE(v)&&(v[0].key=`${d.type}-${m}`),v}):G(l)&&(u=[l]);const c=tt({},i),f=G(e.tag)||Se(e.tag)?e.tag:Wh();return Zs(f,c,u)}}const EE=Xe({name:"i18n-n",props:tt({value:{type:Number,required:!0},format:{type:[String,Object]}},fc),setup(e,t){const n=e.i18n||Qt({useScope:e.scope,__useComponent:!0});return Yh(e,t,Mh,(...r)=>n[sl](...r))}}),mf=EE,wE=Xe({name:"i18n-d",props:tt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},fc),setup(e,t){const n=e.i18n||Qt({useScope:e.scope,__useComponent:!0});return Yh(e,t,Dh,(...r)=>n[rl](...r))}}),hf=wE;function AE(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function TE(e){const t=o=>{const{instance:a,modifiers:l,value:u}=o;if(!a||!a.$)throw Qe(ze.UNEXPECTED_ERROR);const c=AE(e,a.$),f=pf(u);return[Reflect.apply(c.t,c,[...gf(f)]),c]};return{created:(o,a)=>{const[l,u]=t(a);to&&e.global===u&&(o.__i18nWatcher=it(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=u,o.textContent=l},unmounted:o=>{to&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,u=pf(a);o.textContent=Reflect.apply(l.t,l,[...gf(u)])}},getSSRProps:o=>{const[a]=t(o);return{textContent:a}}}}function pf(e){if(G(e))return{path:e};if(fe(e)){if(!("path"in e))throw Qe(ze.REQUIRED_VALUE,"path");return e}else throw Qe(ze.INVALID_VALUE)}function gf(e){const{path:t,locale:n,args:r,choice:s,plural:i}=e,o={},a=r||{};return G(n)&&(o.locale=n),Ke(s)&&(o.plural=s),Ke(i)&&(o.plural=i),[t,a,o]}function OE(e,t,...n){const r=fe(n[0])?n[0]:{},s=!!r.useI18nComponentName;(ve(r.globalInstall)?r.globalInstall:!0)&&([s?"i18n":df.name,"I18nT"].forEach(o=>e.component(o,df)),[mf.name,"I18nN"].forEach(o=>e.component(o,mf)),[hf.name,"I18nD"].forEach(o=>e.component(o,hf))),e.directive("t",TE(t))}function SE(e,t,n){return{beforeCreate(){const r=Wr();if(!r)throw Qe(ze.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const i=s.i18n;if(s.__i18n&&(i.__i18n=s.__i18n),i.__root=t,this===this.$root)this.$i18n=_f(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=ol(i);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=_f(e,s);else{this.$i18n=ol({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&Bh(t,s,s),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,o)=>this.$i18n.te(i,o),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=Wr();if(!r)throw Qe(ze.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(r),delete this.$i18n}}}function _f(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Uh](t.pluralizationRules||e.pluralizationRules);const n=Ro(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const CE=Bn("global-vue-i18n");function NE(e={},t){const n=__VUE_I18N_LEGACY_API__&&ve(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=ve(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[o,a]=LE(e,n),l=Bn("");function u(d){return i.get(d)||null}function c(d,m){i.set(d,m)}function f(d){i.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return s},async install(m,...p){if(m.__VUE_I18N_SYMBOL__=l,m.provide(m.__VUE_I18N_SYMBOL__,d),fe(p[0])){const w=p[0];d.__composerExtend=w.__composerExtend,d.__vueI18nExtend=w.__vueI18nExtend}let v=null;!n&&r&&(v=FE(m,d.global)),__VUE_I18N_FULL_INSTALL__&&OE(m,d,...p),__VUE_I18N_LEGACY_API__&&n&&m.mixin(SE(a,a.__composer,d));const y=m.unmount;m.unmount=()=>{v&&v(),d.dispose(),y()}},get global(){return a},dispose(){o.stop()},__instances:i,__getInstance:u,__setInstance:c,__deleteInstance:f};return d}}function Qt(e={}){const t=Wr();if(t==null)throw Qe(ze.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Qe(ze.NOT_INSTALLED);const n=IE(t),r=RE(n),s=Vh(t),i=PE(e,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Qe(ze.NOT_AVAILABLE_IN_LEGACY_MODE);return DE(t,i,r,e)}if(i==="global")return Bh(r,e,s),r;if(i==="parent"){let l=xE(n,t,e.__useComponent);return l==null&&(l=r),l}const o=n;let a=o.__getInstance(t);if(a==null){const l=tt({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),a=uc(l),o.__composerExtend&&(a[il]=o.__composerExtend(a)),$E(o,t,a),o.__setInstance(t,a)}return a}function LE(e,t,n){const r=Vl();{const s=__VUE_I18N_LEGACY_API__&&t?r.run(()=>ol(e)):r.run(()=>uc(e));if(s==null)throw Qe(ze.UNEXPECTED_ERROR);return[r,s]}}function IE(e){{const t=st(e.isCE?CE:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Qe(e.isCE?ze.NOT_INSTALLED_WITH_PROVIDE:ze.UNEXPECTED_ERROR);return t}}function PE(e,t){return Lo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function RE(e){return e.mode==="composition"?e.global:e.global.__composer}function xE(e,t,n=!1){let r=null;const s=t.root;let i=kE(t,n);for(;i!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const a=o.__getInstance(i);a!=null&&(r=a.__composer,n&&r&&!r[Hh]&&(r=null))}if(r!=null||s===i)break;i=i.parent}return r}function kE(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function $E(e,t,n){ss(()=>{},t),Oo(()=>{const r=n;e.__deleteInstance(t);const s=r[il];s&&(s(),delete r[il])},t)}function DE(e,t,n,r={}){const s=t==="local",i=Jl(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Qe(ze.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=ve(r.inheritLocale)?r.inheritLocale:!G(r.locale),a=ge(!s||o?n.locale.value:G(r.locale)?r.locale:Kr),l=ge(!s||o?n.fallbackLocale.value:G(r.fallbackLocale)||De(r.fallbackLocale)||fe(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:a.value),u=ge(Ro(a.value,r)),c=ge(fe(r.datetimeFormats)?r.datetimeFormats:{[a.value]:{}}),f=ge(fe(r.numberFormats)?r.numberFormats:{[a.value]:{}}),d=s?n.missingWarn:ve(r.missingWarn)||xn(r.missingWarn)?r.missingWarn:!0,m=s?n.fallbackWarn:ve(r.fallbackWarn)||xn(r.fallbackWarn)?r.fallbackWarn:!0,p=s?n.fallbackRoot:ve(r.fallbackRoot)?r.fallbackRoot:!0,v=!!r.fallbackFormat,y=Re(r.missing)?r.missing:null,w=Re(r.postTranslation)?r.postTranslation:null,S=s?n.warnHtmlMessage:ve(r.warnHtmlMessage)?r.warnHtmlMessage:!0,E=!!r.escapeParameter,A=s?n.modifiers:fe(r.modifiers)?r.modifiers:{},C=r.pluralRules||s&&n.pluralRules;function O(){return[a.value,l.value,u.value,c.value,f.value]}const I=ne({get:()=>i.value?i.value.locale.value:a.value,set:g=>{i.value&&(i.value.locale.value=g),a.value=g}}),$=ne({get:()=>i.value?i.value.fallbackLocale.value:l.value,set:g=>{i.value&&(i.value.fallbackLocale.value=g),l.value=g}}),P=ne(()=>i.value?i.value.messages.value:u.value),q=ne(()=>c.value),ie=ne(()=>f.value);function Q(){return i.value?i.value.getPostTranslationHandler():w}function le(g){i.value&&i.value.setPostTranslationHandler(g)}function je(){return i.value?i.value.getMissingHandler():y}function Ce(g){i.value&&i.value.setMissingHandler(g)}function ee(g){return O(),g()}function ae(...g){return i.value?ee(()=>Reflect.apply(i.value.t,null,[...g])):ee(()=>"")}function de(...g){return i.value?Reflect.apply(i.value.rt,null,[...g]):""}function xe(...g){return i.value?ee(()=>Reflect.apply(i.value.d,null,[...g])):ee(()=>"")}function pe(...g){return i.value?ee(()=>Reflect.apply(i.value.n,null,[...g])):ee(()=>"")}function Ee(g){return i.value?i.value.tm(g):{}}function be(g,N){return i.value?i.value.te(g,N):!1}function et(g){return i.value?i.value.getLocaleMessage(g):{}}function Be(g,N){i.value&&(i.value.setLocaleMessage(g,N),u.value[g]=N)}function We(g,N){i.value&&i.value.mergeLocaleMessage(g,N)}function Le(g){return i.value?i.value.getDateTimeFormat(g):{}}function F(g,N){i.value&&(i.value.setDateTimeFormat(g,N),c.value[g]=N)}function Y(g,N){i.value&&i.value.mergeDateTimeFormat(g,N)}function W(g){return i.value?i.value.getNumberFormat(g):{}}function J(g,N){i.value&&(i.value.setNumberFormat(g,N),f.value[g]=N)}function _e(g,N){i.value&&i.value.mergeNumberFormat(g,N)}const Te={get id(){return i.value?i.value.id:-1},locale:I,fallbackLocale:$,messages:P,datetimeFormats:q,numberFormats:ie,get inheritLocale(){return i.value?i.value.inheritLocale:o},set inheritLocale(g){i.value&&(i.value.inheritLocale=g)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(u.value)},get modifiers(){return i.value?i.value.modifiers:A},get pluralRules(){return i.value?i.value.pluralRules:C},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:d},set missingWarn(g){i.value&&(i.value.missingWarn=g)},get fallbackWarn(){return i.value?i.value.fallbackWarn:m},set fallbackWarn(g){i.value&&(i.value.missingWarn=g)},get fallbackRoot(){return i.value?i.value.fallbackRoot:p},set fallbackRoot(g){i.value&&(i.value.fallbackRoot=g)},get fallbackFormat(){return i.value?i.value.fallbackFormat:v},set fallbackFormat(g){i.value&&(i.value.fallbackFormat=g)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:S},set warnHtmlMessage(g){i.value&&(i.value.warnHtmlMessage=g)},get escapeParameter(){return i.value?i.value.escapeParameter:E},set escapeParameter(g){i.value&&(i.value.escapeParameter=g)},t:ae,getPostTranslationHandler:Q,setPostTranslationHandler:le,getMissingHandler:je,setMissingHandler:Ce,rt:de,d:xe,n:pe,tm:Ee,te:be,getLocaleMessage:et,setLocaleMessage:Be,mergeLocaleMessage:We,getDateTimeFormat:Le,setDateTimeFormat:F,mergeDateTimeFormat:Y,getNumberFormat:W,setNumberFormat:J,mergeNumberFormat:_e};function b(g){g.locale.value=a.value,g.fallbackLocale.value=l.value,Object.keys(u.value).forEach(N=>{g.mergeLocaleMessage(N,u.value[N])}),Object.keys(c.value).forEach(N=>{g.mergeDateTimeFormat(N,c.value[N])}),Object.keys(f.value).forEach(N=>{g.mergeNumberFormat(N,f.value[N])}),g.escapeParameter=E,g.fallbackFormat=v,g.fallbackRoot=p,g.fallbackWarn=m,g.missingWarn=d,g.warnHtmlMessage=S}return tc(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Qe(ze.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const g=i.value=e.proxy.$i18n.__composer;t==="global"?(a.value=g.locale.value,l.value=g.fallbackLocale.value,u.value=g.messages.value,c.value=g.datetimeFormats.value,f.value=g.numberFormats.value):s&&b(g)}),Te}const ME=["locale","fallbackLocale","availableLocales"],vf=["t","rt","d","n","tm","te"];function FE(e,t){const n=Object.create(null);return ME.forEach(s=>{const i=Object.getOwnPropertyDescriptor(t,s);if(!i)throw Qe(ze.UNEXPECTED_ERROR);const o=He(i.value)?{get(){return i.value.value},set(a){i.value.value=a}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,s,o)}),e.config.globalProperties.$i18n=n,vf.forEach(s=>{const i=Object.getOwnPropertyDescriptor(t,s);if(!i||!i.value)throw Qe(ze.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,i)}),()=>{delete e.config.globalProperties.$i18n,vf.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}hE();__INTLIFY_JIT_COMPILATION__?Xu(lE):Xu(aE);Qy(xy);Zy(Sh);if(__INTLIFY_PROD_DEVTOOLS__){const e=rn();e.__INTLIFY__=!0,Vy(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}/*! - * vue-router v4.3.3 - * (c) 2024 Eduardo San Martin Morote - * @license MIT - */const Lr=typeof document<"u";function jE(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ne=Object.assign;function ca(e,t){const n={};for(const r in t){const s=t[r];n[r]=jt(s)?s.map(e):e(s)}return n}const Cs=()=>{},jt=Array.isArray,Kh=/#/g,UE=/&/g,HE=/\//g,VE=/=/g,BE=/\?/g,zh=/\+/g,WE=/%5B/g,YE=/%5D/g,Gh=/%5E/g,KE=/%60/g,qh=/%7B/g,zE=/%7C/g,Xh=/%7D/g,GE=/%20/g;function dc(e){return encodeURI(""+e).replace(zE,"|").replace(WE,"[").replace(YE,"]")}function qE(e){return dc(e).replace(qh,"{").replace(Xh,"}").replace(Gh,"^")}function al(e){return dc(e).replace(zh,"%2B").replace(GE,"+").replace(Kh,"%23").replace(UE,"%26").replace(KE,"`").replace(qh,"{").replace(Xh,"}").replace(Gh,"^")}function XE(e){return al(e).replace(VE,"%3D")}function JE(e){return dc(e).replace(Kh,"%23").replace(BE,"%3F")}function QE(e){return e==null?"":JE(e).replace(HE,"%2F")}function Vs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ZE=/\/$/,e1=e=>e.replace(ZE,"");function ua(e,t,n="/"){let r,s={},i="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),s=e(i)),a>-1&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=s1(r??t,n),{fullPath:r+(i&&"?")+i+o,path:r,query:s,hash:Vs(o)}}function t1(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function bf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function n1(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Gr(t.matched[r],n.matched[s])&&Jh(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Gr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Jh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!r1(e[n],t[n]))return!1;return!0}function r1(e,t){return jt(e)?yf(e,t):jt(t)?yf(t,e):e===t}function yf(e,t){return jt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function s1(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let i=n.length-1,o,a;for(o=0;o1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o).join("/")}var Bs;(function(e){e.pop="pop",e.push="push"})(Bs||(Bs={}));var Ns;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ns||(Ns={}));function i1(e){if(!e)if(Lr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),e1(e)}const o1=/^[^#]+#/;function a1(e,t){return e.replace(o1,"#")+t}function l1(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const xo=()=>({left:window.scrollX,top:window.scrollY});function c1(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=l1(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Ef(e,t){return(history.state?history.state.position-t:-1)+e}const ll=new Map;function u1(e,t){ll.set(e,t)}function f1(e){const t=ll.get(e);return ll.delete(e),t}let d1=()=>location.protocol+"//"+location.host;function Qh(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let a=s.includes(e.slice(i))?e.slice(i).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),bf(l,"")}return bf(n,e)+r+s}function m1(e,t,n,r){let s=[],i=[],o=null;const a=({state:d})=>{const m=Qh(e,location),p=n.value,v=t.value;let y=0;if(d){if(n.value=m,t.value=d,o&&o===p){o=null;return}y=v?d.position-v.position:0}else r(m);s.forEach(w=>{w(n.value,p,{delta:y,type:Bs.pop,direction:y?y>0?Ns.forward:Ns.back:Ns.unknown})})};function l(){o=n.value}function u(d){s.push(d);const m=()=>{const p=s.indexOf(d);p>-1&&s.splice(p,1)};return i.push(m),m}function c(){const{history:d}=window;d.state&&d.replaceState(Ne({},d.state,{scroll:xo()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function wf(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?xo():null}}function h1(e){const{history:t,location:n}=window,r={value:Qh(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:d1()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),s.value=u}catch(m){console.error(m),n[c?"replace":"assign"](d)}}function o(l,u){const c=Ne({},t.state,wf(s.value.back,l,s.value.forward,!0),u,{position:s.value.position});i(l,c,!0),r.value=l}function a(l,u){const c=Ne({},s.value,t.state,{forward:l,scroll:xo()});i(c.current,c,!0);const f=Ne({},wf(r.value,l,null),{position:c.position+1},u);i(l,f,!1),r.value=l}return{location:r,state:s,push:a,replace:o}}function p1(e){e=i1(e);const t=h1(e),n=m1(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const s=Ne({location:"",base:e,go:r,createHref:a1.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function g1(e){return typeof e=="string"||e&&typeof e=="object"}function Zh(e){return typeof e=="string"||typeof e=="symbol"}const vn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ep=Symbol("");var Af;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Af||(Af={}));function qr(e,t){return Ne(new Error,{type:e,[ep]:!0},t)}function tn(e,t){return e instanceof Error&&ep in e&&(t==null||!!(e.type&t))}const Tf="[^/]+?",_1={sensitive:!1,strict:!1,start:!0,end:!0},v1=/[.+*?^${}()[\]/\\]/g;function b1(e,t){const n=Ne({},_1,t),r=[];let s=n.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function tp(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const E1={type:0,value:""},w1=/[a-zA-Z0-9_]/;function A1(e){if(!e)return[[]];if(e==="/")return[[E1]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${u}": ${m}`)}let n=0,r=n;const s=[];let i;function o(){i&&s.push(i),i=[]}let a=0,l,u="",c="";function f(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a{o(S)}:Cs}function o(c){if(Zh(c)){const f=r.get(c);f&&(r.delete(c),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(c);f>-1&&(n.splice(f,1),c.record.name&&r.delete(c.record.name),c.children.forEach(o),c.alias.forEach(o))}}function a(){return n}function l(c){const f=L1(c,n);n.splice(f,0,c),c.record.name&&!Cf(c)&&r.set(c.record.name,c)}function u(c,f){let d,m={},p,v;if("name"in c&&c.name){if(d=r.get(c.name),!d)throw qr(1,{location:c});v=d.record.name,m=Ne(Sf(f.params,d.keys.filter(S=>!S.optional).concat(d.parent?d.parent.keys.filter(S=>S.optional):[]).map(S=>S.name)),c.params&&Sf(c.params,d.keys.map(S=>S.name))),p=d.stringify(m)}else if(c.path!=null)p=c.path,d=n.find(S=>S.re.test(p)),d&&(m=d.parse(p),v=d.record.name);else{if(d=f.name?r.get(f.name):n.find(S=>S.re.test(f.path)),!d)throw qr(1,{location:c,currentLocation:f});v=d.record.name,m=Ne({},f.params,c.params),p=d.stringify(m)}const y=[];let w=d;for(;w;)y.unshift(w.record),w=w.parent;return{name:v,path:p,params:m,matched:y,meta:N1(y)}}return e.forEach(c=>i(c)),{addRoute:i,resolve:u,removeRoute:o,getRoutes:a,getRecordMatcher:s}}function Sf(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function S1(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:C1(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function C1(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Cf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function N1(e){return e.reduce((t,n)=>Ne(t,n.meta),{})}function Nf(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function L1(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;tp(e,t[i])<0?r=i:n=i+1}const s=I1(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function I1(e){let t=e;for(;t=t.parent;)if(np(t)&&tp(e,t)===0)return t}function np({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function P1(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;si&&al(i)):[r&&al(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function R1(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=jt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const x1=Symbol(""),If=Symbol(""),mc=Symbol(""),hc=Symbol(""),cl=Symbol("");function ps(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function On(e,t,n,r,s,i=o=>o()){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(qr(4,{from:n,to:t})):d instanceof Error?l(d):g1(d)?l(qr(2,{from:t,to:d})):(o&&r.enterCallbacks[s]===o&&typeof d=="function"&&o.push(d),a())},c=i(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function fa(e,t,n,r,s=i=>i()){const i=[];for(const o of e)for(const a in o.components){let l=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(k1(l)){const c=(l.__vccOpts||l)[t];c&&i.push(On(c,n,r,o,a,s))}else{let u=l();i.push(()=>u.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${o.path}"`));const f=jE(c)?c.default:c;o.components[a]=f;const m=(f.__vccOpts||f)[t];return m&&On(m,n,r,o,a,s)()}))}}return i}function k1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Pf(e){const t=st(mc),n=st(hc),r=ne(()=>{const l=V(e.to);return t.resolve(l)}),s=ne(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(Gr.bind(null,c));if(d>-1)return d;const m=Rf(l[u-2]);return u>1&&Rf(c)===m&&f[f.length-1].path!==m?f.findIndex(Gr.bind(null,l[u-2])):d}),i=ne(()=>s.value>-1&&M1(n.params,r.value.params)),o=ne(()=>s.value>-1&&s.value===n.matched.length-1&&Jh(n.params,r.value.params));function a(l={}){return D1(l)?t[V(e.replace)?"replace":"push"](V(e.to)).catch(Cs):Promise.resolve()}return{route:r,href:ne(()=>r.value.href),isActive:i,isExactActive:o,navigate:a}}const $1=Xe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Pf,setup(e,{slots:t}){const n=Vn(Pf(e)),{options:r}=st(mc),s=ne(()=>({[xf(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[xf(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Zs("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),tr=$1;function D1(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function M1(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!jt(s)||s.length!==r.length||r.some((i,o)=>i!==s[o]))return!1}return!0}function Rf(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const xf=(e,t,n)=>e??t??n,F1=Xe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=st(cl),s=ne(()=>e.route||r.value),i=st(If,0),o=ne(()=>{let u=V(i);const{matched:c}=s.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=ne(()=>s.value.matched[o.value]);cr(If,ne(()=>o.value+1)),cr(x1,a),cr(cl,s);const l=ge();return it(()=>[l.value,a.value,e.name],([u,c,f],[d,m,p])=>{c&&(c.instances[f]=u,m&&m!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=m.leaveGuards),c.updateGuards.size||(c.updateGuards=m.updateGuards))),u&&c&&(!m||!Gr(c,m)||!d)&&(c.enterCallbacks[f]||[]).forEach(v=>v(u))},{flush:"post"}),()=>{const u=s.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return kf(n.default,{Component:d,route:u});const m=f.props[c],p=m?m===!0?u.params:typeof m=="function"?m(u):m:null,y=Zs(d,Ne({},p,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return kf(n.default,{Component:y,route:u})||y}}});function kf(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const rp=F1;function j1(e){const t=O1(e.routes,e),n=e.parseQuery||P1,r=e.stringifyQuery||Lf,s=e.history,i=ps(),o=ps(),a=ps(),l=Jl(vn);let u=vn;Lr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ca.bind(null,F=>""+F),f=ca.bind(null,QE),d=ca.bind(null,Vs);function m(F,Y){let W,J;return Zh(F)?(W=t.getRecordMatcher(F),J=Y):J=F,t.addRoute(J,W)}function p(F){const Y=t.getRecordMatcher(F);Y&&t.removeRoute(Y)}function v(){return t.getRoutes().map(F=>F.record)}function y(F){return!!t.getRecordMatcher(F)}function w(F,Y){if(Y=Ne({},Y||l.value),typeof F=="string"){const g=ua(n,F,Y.path),N=t.resolve({path:g.path},Y),j=s.createHref(g.fullPath);return Ne(g,N,{params:d(N.params),hash:Vs(g.hash),redirectedFrom:void 0,href:j})}let W;if(F.path!=null)W=Ne({},F,{path:ua(n,F.path,Y.path).path});else{const g=Ne({},F.params);for(const N in g)g[N]==null&&delete g[N];W=Ne({},F,{params:f(g)}),Y.params=f(Y.params)}const J=t.resolve(W,Y),_e=F.hash||"";J.params=c(d(J.params));const Te=t1(r,Ne({},F,{hash:qE(_e),path:J.path})),b=s.createHref(Te);return Ne({fullPath:Te,hash:_e,query:r===Lf?R1(F.query):F.query||{}},J,{redirectedFrom:void 0,href:b})}function S(F){return typeof F=="string"?ua(n,F,l.value.path):Ne({},F)}function E(F,Y){if(u!==F)return qr(8,{from:Y,to:F})}function A(F){return I(F)}function C(F){return A(Ne(S(F),{replace:!0}))}function O(F){const Y=F.matched[F.matched.length-1];if(Y&&Y.redirect){const{redirect:W}=Y;let J=typeof W=="function"?W(F):W;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=S(J):{path:J},J.params={}),Ne({query:F.query,hash:F.hash,params:J.path!=null?{}:F.params},J)}}function I(F,Y){const W=u=w(F),J=l.value,_e=F.state,Te=F.force,b=F.replace===!0,g=O(W);if(g)return I(Ne(S(g),{state:typeof g=="object"?Ne({},_e,g.state):_e,force:Te,replace:b}),Y||W);const N=W;N.redirectedFrom=Y;let j;return!Te&&n1(r,J,W)&&(j=qr(16,{to:N,from:J}),Ee(J,J,!0,!1)),(j?Promise.resolve(j):q(N,J)).catch(D=>tn(D)?tn(D,2)?D:pe(D):de(D,N,J)).then(D=>{if(D){if(tn(D,2))return I(Ne({replace:b},S(D.to),{state:typeof D.to=="object"?Ne({},_e,D.to.state):_e,force:Te}),Y||N)}else D=Q(N,J,!0,b,_e);return ie(N,J,D),D})}function $(F,Y){const W=E(F,Y);return W?Promise.reject(W):Promise.resolve()}function P(F){const Y=Be.values().next().value;return Y&&typeof Y.runWithContext=="function"?Y.runWithContext(F):F()}function q(F,Y){let W;const[J,_e,Te]=U1(F,Y);W=fa(J.reverse(),"beforeRouteLeave",F,Y);for(const g of J)g.leaveGuards.forEach(N=>{W.push(On(N,F,Y))});const b=$.bind(null,F,Y);return W.push(b),Le(W).then(()=>{W=[];for(const g of i.list())W.push(On(g,F,Y));return W.push(b),Le(W)}).then(()=>{W=fa(_e,"beforeRouteUpdate",F,Y);for(const g of _e)g.updateGuards.forEach(N=>{W.push(On(N,F,Y))});return W.push(b),Le(W)}).then(()=>{W=[];for(const g of Te)if(g.beforeEnter)if(jt(g.beforeEnter))for(const N of g.beforeEnter)W.push(On(N,F,Y));else W.push(On(g.beforeEnter,F,Y));return W.push(b),Le(W)}).then(()=>(F.matched.forEach(g=>g.enterCallbacks={}),W=fa(Te,"beforeRouteEnter",F,Y,P),W.push(b),Le(W))).then(()=>{W=[];for(const g of o.list())W.push(On(g,F,Y));return W.push(b),Le(W)}).catch(g=>tn(g,8)?g:Promise.reject(g))}function ie(F,Y,W){a.list().forEach(J=>P(()=>J(F,Y,W)))}function Q(F,Y,W,J,_e){const Te=E(F,Y);if(Te)return Te;const b=Y===vn,g=Lr?history.state:{};W&&(J||b?s.replace(F.fullPath,Ne({scroll:b&&g&&g.scroll},_e)):s.push(F.fullPath,_e)),l.value=F,Ee(F,Y,W,b),pe()}let le;function je(){le||(le=s.listen((F,Y,W)=>{if(!We.listening)return;const J=w(F),_e=O(J);if(_e){I(Ne(_e,{replace:!0}),J).catch(Cs);return}u=J;const Te=l.value;Lr&&u1(Ef(Te.fullPath,W.delta),xo()),q(J,Te).catch(b=>tn(b,12)?b:tn(b,2)?(I(b.to,J).then(g=>{tn(g,20)&&!W.delta&&W.type===Bs.pop&&s.go(-1,!1)}).catch(Cs),Promise.reject()):(W.delta&&s.go(-W.delta,!1),de(b,J,Te))).then(b=>{b=b||Q(J,Te,!1),b&&(W.delta&&!tn(b,8)?s.go(-W.delta,!1):W.type===Bs.pop&&tn(b,20)&&s.go(-1,!1)),ie(J,Te,b)}).catch(Cs)}))}let Ce=ps(),ee=ps(),ae;function de(F,Y,W){pe(F);const J=ee.list();return J.length?J.forEach(_e=>_e(F,Y,W)):console.error(F),Promise.reject(F)}function xe(){return ae&&l.value!==vn?Promise.resolve():new Promise((F,Y)=>{Ce.add([F,Y])})}function pe(F){return ae||(ae=!F,je(),Ce.list().forEach(([Y,W])=>F?W(F):Y()),Ce.reset()),F}function Ee(F,Y,W,J){const{scrollBehavior:_e}=e;if(!Lr||!_e)return Promise.resolve();const Te=!W&&f1(Ef(F.fullPath,0))||(J||!W)&&history.state&&history.state.scroll||null;return Ms().then(()=>_e(F,Y,Te)).then(b=>b&&c1(b)).catch(b=>de(b,F,Y))}const be=F=>s.go(F);let et;const Be=new Set,We={currentRoute:l,listening:!0,addRoute:m,removeRoute:p,hasRoute:y,getRoutes:v,resolve:w,options:e,push:A,replace:C,go:be,back:()=>be(-1),forward:()=>be(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:ee.add,isReady:xe,install(F){const Y=this;F.component("RouterLink",tr),F.component("RouterView",rp),F.config.globalProperties.$router=Y,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>V(l)}),Lr&&!et&&l.value===vn&&(et=!0,A(s.location).catch(_e=>{}));const W={};for(const _e in vn)Object.defineProperty(W,_e,{get:()=>l.value[_e],enumerable:!0});F.provide(mc,Y),F.provide(hc,km(W)),F.provide(cl,l);const J=F.unmount;Be.add(F),F.unmount=function(){Be.delete(F),Be.size<1&&(u=vn,le&&le(),le=null,l.value=vn,et=!1,ae=!1),J()}}};function Le(F){return F.reduce((Y,W)=>Y.then(()=>P(W)),Promise.resolve())}return We}function U1(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;oGr(u,a))?r.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(u=>Gr(u,l))||s.push(l))}return[n,r,s]}function H1(){return st(hc)}const V1=k("defs",{id:"defs2"},null,-1),B1={"inkscape:label":"Layer 1","inkscape:groupmode":"layer",id:"layer1",transform:"translate(-51.241626,-83.781469)"},Ls=Xe({__name:"IconJeobeardy",props:{height:{},width:{},bearColor:{default:"#e86a92ff"},questionmarkColor:{default:"#ffffff"}},setup(e){const t=e;return(n,r)=>(Oe(),Ie("svg",{style:Zn([{height:t.height},{width:t.width}]),width:"103.44236mm",height:"80.726883mm",viewBox:"0 0 103.44236 80.726882",version:"1.1",id:"svg5","xml:space":"preserve","inkscape:version":"1.3.2 (091e20ef0f, 2023-11-25, custom)","sodipodi:docname":"jeobeardy_logo_min.svg","xmlns:inkscape":"http://www.inkscape.org/namespaces/inkscape","xmlns:sodipodi":"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"},[V1,k("g",B1,[k("path",{style:Zn(`opacity:1;fill:${t.bearColor};fill-opacity:1;stroke:${t.bearColor};stroke-width:5;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers`),d:"m 89.597943,161.46239 c 4.957603,-11.31418 10.365454,-13.95841 18.872727,-16.46612 l -0.969,2.23271 10.17543,-3.72589 -1.44748,2.89495 c 7.77057,-2.08212 9.96019,-3.12838 17.29351,-0.22855 8.26326,-4.46932 15.33088,-3.99272 18.58862,-16.15077 0.39797,-1.48523 0.47248,-3.46705 -16.76023,-13.25582 0.6718,-1.59948 -0.64483,-6.30424 -1.44747,-7.69446 -11.87841,-11.878406 -22.82609,-9.786559 -25.14034,-11.122693 -5.10133,-2.945257 -5.77849,-9.894901 -10.741782,-10.89415 -6.64933,-1.781683 -10.639666,-0.422382 -8.015124,7.302597 -4.755054,-0.07748 -19.311199,0.225543 -19.311199,0.225543 l 4.218975,2.479364 -10.418322,0.541411 4.479459,2.526958 c -6.00567,0.93796 -10.085508,3.02646 -13.849528,6.19633 l 3.879167,3.25675 c 11.896264,-8.5256 27.407274,-7.5637 31.986403,1.85066 8.053096,14.19441 -5.364775,20.05902 -11.44594,30.07143 1.070396,5.80331 1.412146,7.38337 3.627235,11.42304 1.414891,2.45066 5.193343,11.34733 6.424889,8.53671 z",id:"path919","sodipodi:nodetypes":"sccccccccccccccccccccs"},null,4),k("path",{style:Zn(`opacity:1;fill:none;stroke:${t.questionmarkColor};stroke-width:8;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1`),d:"m 57.671788,111.83817 c 4.776043,-5.45079 12.940609,-7.24498 19.118918,-7.24498 13.656487,0 13.875779,8.51413 14.475615,10.75275 0,14.09963 -13.925936,15.13618 -10.506511,27.69217 0.653123,2.43749 0.932727,3.34729 2.242618,6.17334",id:"path2566","sodipodi:nodetypes":"ccccc"},null,4),k("ellipse",{style:Zn(`opacity:1;fill:${t.questionmarkColor};fill-opacity:1;stroke:${t.questionmarkColor};stroke-width:2.80661;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1`),id:"path2620",cy:"182.73756",cx:"-0.050881278",rx:"3.2998796",ry:"3.4343019",transform:"rotate(-29.11515)"},null,4)])],4))}}),da="theme",$f={bsName:"dark",name:"theme.dark.name",icon:["fas","moon"]},W1={bsName:"light",name:"theme.light.name",icon:["fas","sun"]},Y1={bsName:"high-contrast",name:"theme.high-contrast.name",icon:["fas","circle-half-stroke"]};function K1(){const e=ge([$f,W1,Y1]);ss(()=>{let n=localStorage.getItem(da);n==null&&(localStorage.setItem(da,"dark"),n="dark");const r=e.value.findIndex(i=>i.bsName===n);r!==-1&&(t.value=e.value[r]);const s=document.getElementsByTagName("html");s[0].dataset.bsTheme=t.value.bsName});const t=ge($f);return it(t,n=>{document.getElementsByTagName("html")[0].dataset.bsTheme=n.bsName,localStorage.setItem(da,n.bsName)}),{availableThemes:e,currentTheme:t}}const z1={class:"theme-changer"},G1={class:"dropdown"},q1={class:"btn btn-sm btn-outline-primary dropdown-toggle",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},X1={class:"dropdown-menu"},J1=["onClick"],Q1=Xe({__name:"ThemeChanger",setup(e){const{availableThemes:t,currentTheme:n}=K1();return(r,s)=>{const i=ec("FontAwesomeIcon");return Oe(),Ie("div",z1,[k("div",G1,[k("button",q1,[ye(i,{icon:V(n).icon},null,8,["icon"]),Ye(" "+ue(r.$t(V(n).name)),1)]),k("ul",X1,[(Oe(!0),Ie(lt,null,nc(V(t),o=>(Oe(),Ie("li",{key:`theme-${o.bsName}`,onClick:a=>n.value=o,role:"button"},[k("a",{class:Nt(["dropdown-item pointer",[{active:o.bsName===V(n).bsName}]])},[ye(i,{icon:o.icon},null,8,["icon"]),Ye(" "+ue(r.$t(o.name)),1)],2)],8,J1))),128))])])])}}}),Z1={class:"dropdown"},e0={class:"btn btn-sm btn-outline-primary dropdown-toggle",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},t0={class:"dropdown-menu"},n0=["onClick"],Df="locale",r0=Xe({__name:"LocaleChanger",setup(e){const t=Qt();return ss(()=>{const n=localStorage.getItem(Df);n!==null&&(t.locale.value=n)}),it(()=>t.locale.value,n=>{localStorage.setItem(Df,n)}),(n,r)=>(Oe(),Ie("div",Z1,[k("button",e0,ue(n.$t(`i18n.${n.$i18n.locale}.name`)),1),k("ul",t0,[(Oe(!0),Ie(lt,null,nc(n.$i18n.availableLocales,s=>(Oe(),Ie("li",{key:`locale-${s}`,onClick:i=>n.$i18n.locale=s,role:"button"},[k("a",{class:Nt(["dropdown-item pointer",[{active:n.$i18n.locale===s}]])},ue(n.$t(`i18n.${s}.name`)),3)],8,n0))),128))])]))}}),ko=Ub("user",()=>{const e=ge(""),t=ge(void 0),n=ge(!1),r=ne(()=>`${e.value}`);function s(o){e.value=o.username,t.value=o.profilePictureFilename,n.value=!0}function i(){e.value="",t.value=void 0,n.value=!1}return{username:e,profilePicture:t,loggedIn:n,getUserOutput:r,setUser:s,unsetUser:i}}),s0={class:"navbar navbar-expand-lg bg-dark-accented"},i0={class:"container px-5"},o0={class:"position-absolute start-0 top-50 translate-middle-y d-flex ms-3 gap-3"},a0={class:"navbar-brand rounded rounded-circle d-block d-lg-none",href:"#"},l0=k("button",{class:"navbar-toggler",type:"button","data-bs-toggle":"collapse","data-bs-target":"#navbarSupportedContent","aria-controls":"navbarSupportedContent","aria-expanded":"false","aria-label":"Toggle navigation"},[k("span",{class:"navbar-toggler-icon"})],-1),c0={class:"collapse navbar-collapse",id:"navbarSupportedContent"},u0={class:"navbar-nav mb-2 mb-lg-0 d-flex align-items-center justify-content-center w-100"},f0={class:"nav-item"},d0={class:"nav-item px-5 mx-5 rounded-5 py-2"},m0={class:"nav-item"},h0={class:"position-absolute end-0 top-50 translate-middle-y d-flex me-3"},p0={key:0},g0={key:1},_0=Xe({__name:"NavBar",setup(e){const t={HOME:"home",ABOUT:"about"},n=H1(),r=ko(),s=i=>{switch(i){default:case t.HOME:return n.name==="home";case t.ABOUT:return n.name==="about"}};return(i,o)=>(Oe(),Ie("nav",s0,[k("div",i0,[k("div",o0,[ye(Q1),ye(r0)]),k("a",a0,[ye(Ls,{height:"3.5rem",width:"3.5rem"})]),l0,k("div",c0,[k("ul",u0,[k("li",f0,[ye(V(tr),{to:"/",class:Nt(["nav-link text-light fs-3",[{active:s(t.HOME)}]]),"aria-current":s(t.HOME)?"page":!1},{default:er(()=>[Ye(ue(i.$t("nav.home")),1)]),_:1},8,["class","aria-current"])]),k("li",d0,[ye(V(tr),{to:"/",class:"nav-link py-0"},{default:er(()=>[ye(Ls,{height:"3rem",width:"4rem"})]),_:1})]),k("li",m0,[ye(V(tr),{to:"/about",class:Nt(["nav-link text-light fs-3",[{active:s(t.ABOUT)}]]),"aria-current":s(t.HOME)?"page":!1},{default:er(()=>[Ye(ue(i.$t("nav.about")),1)]),_:1},8,["class","aria-current"])])])]),k("div",h0,[V(r).loggedIn?(Oe(),Ie("div",p0,ue(V(r).getUserOutput),1)):(Oe(),Ie("div",g0,[ye(V(tr),{to:"/login",class:"btn btn-sm btn-outline-primary"},{default:er(()=>[Ye(" Login ")]),_:1})]))])])]))}});var ut="top",wt="bottom",At="right",ft="left",$o="auto",os=[ut,wt,At,ft],mr="start",Xr="end",sp="clippingParents",pc="viewport",Ir="popper",ip="reference",ul=os.reduce(function(e,t){return e.concat([t+"-"+mr,t+"-"+Xr])},[]),gc=[].concat(os,[$o]).reduce(function(e,t){return e.concat([t,t+"-"+mr,t+"-"+Xr])},[]),op="beforeRead",ap="read",lp="afterRead",cp="beforeMain",up="main",fp="afterMain",dp="beforeWrite",mp="write",hp="afterWrite",pp=[op,ap,lp,cp,up,fp,dp,mp,hp];function Jt(e){return e?(e.nodeName||"").toLowerCase():null}function Tt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function hr(e){var t=Tt(e).Element;return e instanceof t||e instanceof Element}function Lt(e){var t=Tt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function _c(e){if(typeof ShadowRoot>"u")return!1;var t=Tt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function v0(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},i=t.elements[n];!Lt(i)||!Jt(i)||(Object.assign(i.style,r),Object.keys(s).forEach(function(o){var a=s[o];a===!1?i.removeAttribute(o):i.setAttribute(o,a===!0?"":a)}))})}function b0(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var s=t.elements[r],i=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=o.reduce(function(l,u){return l[u]="",l},{});!Lt(s)||!Jt(s)||(Object.assign(s.style,a),Object.keys(i).forEach(function(l){s.removeAttribute(l)}))})}}const vc={name:"applyStyles",enabled:!0,phase:"write",fn:v0,effect:b0,requires:["computeStyles"]};function Gt(e){return e.split("-")[0]}var ur=Math.max,so=Math.min,Jr=Math.round;function fl(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function gp(){return!/^((?!chrome|android).)*safari/i.test(fl())}function Qr(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),s=1,i=1;t&&Lt(e)&&(s=e.offsetWidth>0&&Jr(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Jr(r.height)/e.offsetHeight||1);var o=hr(e)?Tt(e):window,a=o.visualViewport,l=!gp()&&n,u=(r.left+(l&&a?a.offsetLeft:0))/s,c=(r.top+(l&&a?a.offsetTop:0))/i,f=r.width/s,d=r.height/i;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function bc(e){var t=Qr(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function _p(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&_c(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function cn(e){return Tt(e).getComputedStyle(e)}function y0(e){return["table","td","th"].indexOf(Jt(e))>=0}function Yn(e){return((hr(e)?e.ownerDocument:e.document)||window.document).documentElement}function Do(e){return Jt(e)==="html"?e:e.assignedSlot||e.parentNode||(_c(e)?e.host:null)||Yn(e)}function Mf(e){return!Lt(e)||cn(e).position==="fixed"?null:e.offsetParent}function E0(e){var t=/firefox/i.test(fl()),n=/Trident/i.test(fl());if(n&&Lt(e)){var r=cn(e);if(r.position==="fixed")return null}var s=Do(e);for(_c(s)&&(s=s.host);Lt(s)&&["html","body"].indexOf(Jt(s))<0;){var i=cn(s);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return s;s=s.parentNode}return null}function ei(e){for(var t=Tt(e),n=Mf(e);n&&y0(n)&&cn(n).position==="static";)n=Mf(n);return n&&(Jt(n)==="html"||Jt(n)==="body"&&cn(n).position==="static")?t:n||E0(e)||t}function yc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Is(e,t,n){return ur(e,so(t,n))}function w0(e,t,n){var r=Is(e,t,n);return r>n?n:r}function vp(){return{top:0,right:0,bottom:0,left:0}}function bp(e){return Object.assign({},vp(),e)}function yp(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var A0=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,bp(typeof t!="number"?t:yp(t,os))};function T0(e){var t,n=e.state,r=e.name,s=e.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Gt(n.placement),l=yc(a),u=[ft,At].indexOf(a)>=0,c=u?"height":"width";if(!(!i||!o)){var f=A0(s.padding,n),d=bc(i),m=l==="y"?ut:ft,p=l==="y"?wt:At,v=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],y=o[l]-n.rects.reference[l],w=ei(i),S=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,E=v/2-y/2,A=f[m],C=S-d[c]-f[p],O=S/2-d[c]/2+E,I=Is(A,O,C),$=l;n.modifiersData[r]=(t={},t[$]=I,t.centerOffset=I-O,t)}}function O0(e){var t=e.state,n=e.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||_p(t.elements.popper,s)&&(t.elements.arrow=s))}const Ep={name:"arrow",enabled:!0,phase:"main",fn:T0,effect:O0,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Zr(e){return e.split("-")[1]}var S0={top:"auto",right:"auto",bottom:"auto",left:"auto"};function C0(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:Jr(n*s)/s||0,y:Jr(r*s)/s||0}}function Ff(e){var t,n=e.popper,r=e.popperRect,s=e.placement,i=e.variation,o=e.offsets,a=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=o.x,m=d===void 0?0:d,p=o.y,v=p===void 0?0:p,y=typeof c=="function"?c({x:m,y:v}):{x:m,y:v};m=y.x,v=y.y;var w=o.hasOwnProperty("x"),S=o.hasOwnProperty("y"),E=ft,A=ut,C=window;if(u){var O=ei(n),I="clientHeight",$="clientWidth";if(O===Tt(n)&&(O=Yn(n),cn(O).position!=="static"&&a==="absolute"&&(I="scrollHeight",$="scrollWidth")),O=O,s===ut||(s===ft||s===At)&&i===Xr){A=wt;var P=f&&O===C&&C.visualViewport?C.visualViewport.height:O[I];v-=P-r.height,v*=l?1:-1}if(s===ft||(s===ut||s===wt)&&i===Xr){E=At;var q=f&&O===C&&C.visualViewport?C.visualViewport.width:O[$];m-=q-r.width,m*=l?1:-1}}var ie=Object.assign({position:a},u&&S0),Q=c===!0?C0({x:m,y:v},Tt(n)):{x:m,y:v};if(m=Q.x,v=Q.y,l){var le;return Object.assign({},ie,(le={},le[A]=S?"0":"",le[E]=w?"0":"",le.transform=(C.devicePixelRatio||1)<=1?"translate("+m+"px, "+v+"px)":"translate3d("+m+"px, "+v+"px, 0)",le))}return Object.assign({},ie,(t={},t[A]=S?v+"px":"",t[E]=w?m+"px":"",t.transform="",t))}function N0(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,i=n.adaptive,o=i===void 0?!0:i,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:Gt(t.placement),variation:Zr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ff(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ff(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Ec={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:N0,data:{}};var yi={passive:!0};function L0(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,i=s===void 0?!0:s,o=r.resize,a=o===void 0?!0:o,l=Tt(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",n.update,yi)}),a&&l.addEventListener("resize",n.update,yi),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",n.update,yi)}),a&&l.removeEventListener("resize",n.update,yi)}}const wc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:L0,data:{}};var I0={left:"right",right:"left",bottom:"top",top:"bottom"};function Vi(e){return e.replace(/left|right|bottom|top/g,function(t){return I0[t]})}var P0={start:"end",end:"start"};function jf(e){return e.replace(/start|end/g,function(t){return P0[t]})}function Ac(e){var t=Tt(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Tc(e){return Qr(Yn(e)).left+Ac(e).scrollLeft}function R0(e,t){var n=Tt(e),r=Yn(e),s=n.visualViewport,i=r.clientWidth,o=r.clientHeight,a=0,l=0;if(s){i=s.width,o=s.height;var u=gp();(u||!u&&t==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}return{width:i,height:o,x:a+Tc(e),y:l}}function x0(e){var t,n=Yn(e),r=Ac(e),s=(t=e.ownerDocument)==null?void 0:t.body,i=ur(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=ur(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-r.scrollLeft+Tc(e),l=-r.scrollTop;return cn(s||n).direction==="rtl"&&(a+=ur(n.clientWidth,s?s.clientWidth:0)-i),{width:i,height:o,x:a,y:l}}function Oc(e){var t=cn(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function wp(e){return["html","body","#document"].indexOf(Jt(e))>=0?e.ownerDocument.body:Lt(e)&&Oc(e)?e:wp(Do(e))}function Ps(e,t){var n;t===void 0&&(t=[]);var r=wp(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),i=Tt(r),o=s?[i].concat(i.visualViewport||[],Oc(r)?r:[]):r,a=t.concat(o);return s?a:a.concat(Ps(Do(o)))}function dl(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function k0(e,t){var n=Qr(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Uf(e,t,n){return t===pc?dl(R0(e,n)):hr(t)?k0(t,n):dl(x0(Yn(e)))}function $0(e){var t=Ps(Do(e)),n=["absolute","fixed"].indexOf(cn(e).position)>=0,r=n&&Lt(e)?ei(e):e;return hr(r)?t.filter(function(s){return hr(s)&&_p(s,r)&&Jt(s)!=="body"}):[]}function D0(e,t,n,r){var s=t==="clippingParents"?$0(e):[].concat(t),i=[].concat(s,[n]),o=i[0],a=i.reduce(function(l,u){var c=Uf(e,u,r);return l.top=ur(c.top,l.top),l.right=so(c.right,l.right),l.bottom=so(c.bottom,l.bottom),l.left=ur(c.left,l.left),l},Uf(e,o,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Ap(e){var t=e.reference,n=e.element,r=e.placement,s=r?Gt(r):null,i=r?Zr(r):null,o=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(s){case ut:l={x:o,y:t.y-n.height};break;case wt:l={x:o,y:t.y+t.height};break;case At:l={x:t.x+t.width,y:a};break;case ft:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var u=s?yc(s):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case mr:l[u]=l[u]-(t[c]/2-n[c]/2);break;case Xr:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function es(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,i=n.strategy,o=i===void 0?e.strategy:i,a=n.boundary,l=a===void 0?sp:a,u=n.rootBoundary,c=u===void 0?pc:u,f=n.elementContext,d=f===void 0?Ir:f,m=n.altBoundary,p=m===void 0?!1:m,v=n.padding,y=v===void 0?0:v,w=bp(typeof y!="number"?y:yp(y,os)),S=d===Ir?ip:Ir,E=e.rects.popper,A=e.elements[p?S:d],C=D0(hr(A)?A:A.contextElement||Yn(e.elements.popper),l,c,o),O=Qr(e.elements.reference),I=Ap({reference:O,element:E,strategy:"absolute",placement:s}),$=dl(Object.assign({},E,I)),P=d===Ir?$:O,q={top:C.top-P.top+w.top,bottom:P.bottom-C.bottom+w.bottom,left:C.left-P.left+w.left,right:P.right-C.right+w.right},ie=e.modifiersData.offset;if(d===Ir&&ie){var Q=ie[s];Object.keys(q).forEach(function(le){var je=[At,wt].indexOf(le)>=0?1:-1,Ce=[ut,wt].indexOf(le)>=0?"y":"x";q[le]+=Q[Ce]*je})}return q}function M0(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,i=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?gc:l,c=Zr(r),f=c?a?ul:ul.filter(function(p){return Zr(p)===c}):os,d=f.filter(function(p){return u.indexOf(p)>=0});d.length===0&&(d=f);var m=d.reduce(function(p,v){return p[v]=es(e,{placement:v,boundary:s,rootBoundary:i,padding:o})[Gt(v)],p},{});return Object.keys(m).sort(function(p,v){return m[p]-m[v]})}function F0(e){if(Gt(e)===$o)return[];var t=Vi(e);return[jf(e),t,jf(t)]}function j0(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,i=s===void 0?!0:s,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,m=n.flipVariations,p=m===void 0?!0:m,v=n.allowedAutoPlacements,y=t.options.placement,w=Gt(y),S=w===y,E=l||(S||!p?[Vi(y)]:F0(y)),A=[y].concat(E).reduce(function(Be,We){return Be.concat(Gt(We)===$o?M0(t,{placement:We,boundary:c,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:v}):We)},[]),C=t.rects.reference,O=t.rects.popper,I=new Map,$=!0,P=A[0],q=0;q=0,Ce=je?"width":"height",ee=es(t,{placement:ie,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),ae=je?le?At:ft:le?wt:ut;C[Ce]>O[Ce]&&(ae=Vi(ae));var de=Vi(ae),xe=[];if(i&&xe.push(ee[Q]<=0),a&&xe.push(ee[ae]<=0,ee[de]<=0),xe.every(function(Be){return Be})){P=ie,$=!1;break}I.set(ie,xe)}if($)for(var pe=p?3:1,Ee=function(We){var Le=A.find(function(F){var Y=I.get(F);if(Y)return Y.slice(0,We).every(function(W){return W})});if(Le)return P=Le,"break"},be=pe;be>0;be--){var et=Ee(be);if(et==="break")break}t.placement!==P&&(t.modifiersData[r]._skip=!0,t.placement=P,t.reset=!0)}}const Tp={name:"flip",enabled:!0,phase:"main",fn:j0,requiresIfExists:["offset"],data:{_skip:!1}};function Hf(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Vf(e){return[ut,At,wt,ft].some(function(t){return e[t]>=0})}function U0(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,i=t.modifiersData.preventOverflow,o=es(t,{elementContext:"reference"}),a=es(t,{altBoundary:!0}),l=Hf(o,r),u=Hf(a,s,i),c=Vf(l),f=Vf(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const Op={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:U0};function H0(e,t,n){var r=Gt(e),s=[ft,ut].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=i[0],a=i[1];return o=o||0,a=(a||0)*s,[ft,At].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}function V0(e){var t=e.state,n=e.options,r=e.name,s=n.offset,i=s===void 0?[0,0]:s,o=gc.reduce(function(c,f){return c[f]=H0(f,t.rects,i),c},{}),a=o[t.placement],l=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=o}const Sp={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:V0};function B0(e){var t=e.state,n=e.name;t.modifiersData[n]=Ap({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Sc={name:"popperOffsets",enabled:!0,phase:"read",fn:B0,data:{}};function W0(e){return e==="x"?"y":"x"}function Y0(e){var t=e.state,n=e.options,r=e.name,s=n.mainAxis,i=s===void 0?!0:s,o=n.altAxis,a=o===void 0?!1:o,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,m=d===void 0?!0:d,p=n.tetherOffset,v=p===void 0?0:p,y=es(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),w=Gt(t.placement),S=Zr(t.placement),E=!S,A=yc(w),C=W0(A),O=t.modifiersData.popperOffsets,I=t.rects.reference,$=t.rects.popper,P=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,q=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),ie=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,Q={x:0,y:0};if(O){if(i){var le,je=A==="y"?ut:ft,Ce=A==="y"?wt:At,ee=A==="y"?"height":"width",ae=O[A],de=ae+y[je],xe=ae-y[Ce],pe=m?-$[ee]/2:0,Ee=S===mr?I[ee]:$[ee],be=S===mr?-$[ee]:-I[ee],et=t.elements.arrow,Be=m&&et?bc(et):{width:0,height:0},We=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:vp(),Le=We[je],F=We[Ce],Y=Is(0,I[ee],Be[ee]),W=E?I[ee]/2-pe-Y-Le-q.mainAxis:Ee-Y-Le-q.mainAxis,J=E?-I[ee]/2+pe+Y+F+q.mainAxis:be+Y+F+q.mainAxis,_e=t.elements.arrow&&ei(t.elements.arrow),Te=_e?A==="y"?_e.clientTop||0:_e.clientLeft||0:0,b=(le=ie==null?void 0:ie[A])!=null?le:0,g=ae+W-b-Te,N=ae+J-b,j=Is(m?so(de,g):de,ae,m?ur(xe,N):xe);O[A]=j,Q[A]=j-ae}if(a){var D,B=A==="x"?ut:ft,z=A==="x"?wt:At,h=O[C],_=C==="y"?"height":"width",T=h+y[B],M=h-y[z],K=[ut,ft].indexOf(w)!==-1,U=(D=ie==null?void 0:ie[C])!=null?D:0,L=K?T:h-I[_]-$[_]-U+q.altAxis,R=K?h+I[_]+$[_]-U-q.altAxis:M,te=m&&K?w0(L,h,R):Is(m?L:T,h,m?R:M);O[C]=te,Q[C]=te-h}t.modifiersData[r]=Q}}const Cp={name:"preventOverflow",enabled:!0,phase:"main",fn:Y0,requiresIfExists:["offset"]};function K0(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function z0(e){return e===Tt(e)||!Lt(e)?Ac(e):K0(e)}function G0(e){var t=e.getBoundingClientRect(),n=Jr(t.width)/e.offsetWidth||1,r=Jr(t.height)/e.offsetHeight||1;return n!==1||r!==1}function q0(e,t,n){n===void 0&&(n=!1);var r=Lt(t),s=Lt(t)&&G0(t),i=Yn(t),o=Qr(e,s,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Jt(t)!=="body"||Oc(i))&&(a=z0(t)),Lt(t)?(l=Qr(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Tc(i))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function X0(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function s(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&s(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||s(i)}),r}function J0(e){var t=X0(e);return pp.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function Q0(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Z0(e){var t=e.reduce(function(n,r){var s=n[r.name];return n[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Bf={placement:"bottom",modifiers:[],strategy:"absolute"};function Wf(){for(var e=arguments.length,t=new Array(e),n=0;n(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,n)=>`#${CSS.escape(n)}`)),e),ow=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),aw=e=>{do e+=Math.floor(Math.random()*sw);while(document.getElementById(e));return e},lw=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const r=Number.parseFloat(t),s=Number.parseFloat(n);return!r&&!s?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*iw)},Ip=e=>{e.dispatchEvent(new Event(ml))},an=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),kn=e=>an(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(Lp(e)):null,as=e=>{if(!an(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const r=e.closest("summary");if(r&&r.parentNode!==n||r===null)return!1}return t},$n=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",Pp=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Pp(e.parentNode):null},io=()=>{},ti=e=>{e.offsetHeight},Rp=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,ha=[],cw=e=>{document.readyState==="loading"?(ha.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of ha)t()}),ha.push(e)):e()},It=()=>document.documentElement.dir==="rtl",Rt=e=>{cw(()=>{const t=Rp();if(t){const n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}})},pt=(e,t=[],n=e)=>typeof e=="function"?e(...t):n,xp=(e,t,n=!0)=>{if(!n){pt(e);return}const s=lw(t)+5;let i=!1;const o=({target:a})=>{a===t&&(i=!0,t.removeEventListener(ml,o),pt(e))};t.addEventListener(ml,o),setTimeout(()=>{i||Ip(t)},s)},Nc=(e,t,n,r)=>{const s=e.length;let i=e.indexOf(t);return i===-1?!n&&r?e[s-1]:e[0]:(i+=n?1:-1,r&&(i=(i+s)%s),e[Math.max(0,Math.min(i,s-1))])},uw=/[^.]*(?=\..*)\.|.*/,fw=/\..*/,dw=/::\d+$/,pa={};let Yf=1;const kp={mouseenter:"mouseover",mouseleave:"mouseout"},mw=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 $p(e,t){return t&&`${t}::${Yf++}`||e.uidEvent||Yf++}function Dp(e){const t=$p(e);return e.uidEvent=t,pa[t]=pa[t]||{},pa[t]}function hw(e,t){return function n(r){return Lc(r,{delegateTarget:e}),n.oneOff&&H.off(e,r.type,t),t.apply(e,[r])}}function pw(e,t,n){return function r(s){const i=e.querySelectorAll(t);for(let{target:o}=s;o&&o!==this;o=o.parentNode)for(const a of i)if(a===o)return Lc(s,{delegateTarget:o}),r.oneOff&&H.off(e,s.type,t,n),n.apply(o,[s])}}function Mp(e,t,n=null){return Object.values(e).find(r=>r.callable===t&&r.delegationSelector===n)}function Fp(e,t,n){const r=typeof t=="string",s=r?n:t||n;let i=jp(e);return mw.has(i)||(i=e),[r,s,i]}function Kf(e,t,n,r,s){if(typeof t!="string"||!e)return;let[i,o,a]=Fp(t,n,r);t in kp&&(o=(p=>function(v){if(!v.relatedTarget||v.relatedTarget!==v.delegateTarget&&!v.delegateTarget.contains(v.relatedTarget))return p.call(this,v)})(o));const l=Dp(e),u=l[a]||(l[a]={}),c=Mp(u,o,i?n:null);if(c){c.oneOff=c.oneOff&&s;return}const f=$p(o,t.replace(uw,"")),d=i?pw(e,n,o):hw(e,o);d.delegationSelector=i?n:null,d.callable=o,d.oneOff=s,d.uidEvent=f,u[f]=d,e.addEventListener(a,d,i)}function hl(e,t,n,r,s){const i=Mp(t[n],r,s);i&&(e.removeEventListener(n,i,!!s),delete t[n][i.uidEvent])}function gw(e,t,n,r){const s=t[n]||{};for(const[i,o]of Object.entries(s))i.includes(r)&&hl(e,t,n,o.callable,o.delegationSelector)}function jp(e){return e=e.replace(fw,""),kp[e]||e}const H={on(e,t,n,r){Kf(e,t,n,r,!1)},one(e,t,n,r){Kf(e,t,n,r,!0)},off(e,t,n,r){if(typeof t!="string"||!e)return;const[s,i,o]=Fp(t,n,r),a=o!==t,l=Dp(e),u=l[o]||{},c=t.startsWith(".");if(typeof i<"u"){if(!Object.keys(u).length)return;hl(e,l,o,i,s?n:null);return}if(c)for(const f of Object.keys(l))gw(e,l,f,t.slice(1));for(const[f,d]of Object.entries(u)){const m=f.replace(dw,"");(!a||t.includes(m))&&hl(e,l,o,d.callable,d.delegationSelector)}},trigger(e,t,n){if(typeof t!="string"||!e)return null;const r=Rp(),s=jp(t),i=t!==s;let o=null,a=!0,l=!0,u=!1;i&&r&&(o=r.Event(t,n),r(e).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),u=o.isDefaultPrevented());const c=Lc(new Event(t,{bubbles:a,cancelable:!0}),n);return u&&c.preventDefault(),l&&e.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function Lc(e,t={}){for(const[n,r]of Object.entries(t))try{e[n]=r}catch{Object.defineProperty(e,n,{configurable:!0,get(){return r}})}return e}function zf(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function ga(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const ln={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${ga(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${ga(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of n){let s=r.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),t[s]=zf(e.dataset[r])}return t},getDataAttribute(e,t){return zf(e.getAttribute(`data-bs-${ga(t)}`))}};class ni{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,n){const r=an(n)?ln.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...an(n)?ln.getDataAttributes(n):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,n=this.constructor.DefaultType){for(const[r,s]of Object.entries(n)){const i=t[r],o=an(i)?"element":ow(i);if(!new RegExp(s).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${s}".`)}}}const _w="5.3.3";class Ut extends ni{constructor(t,n){super(),t=kn(t),t&&(this._element=t,this._config=this._getConfig(n),ma.set(this._element,this.constructor.DATA_KEY,this))}dispose(){ma.remove(this._element,this.constructor.DATA_KEY),H.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,n,r=!0){xp(t,n,r)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return ma.get(kn(t),this.DATA_KEY)}static getOrCreateInstance(t,n={}){return this.getInstance(t)||new this(t,typeof n=="object"?n:null)}static get VERSION(){return _w}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 _a=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return t?t.split(",").map(n=>Lp(n)).join(","):null},re={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(n=>n.matches(t))},parents(e,t){const n=[];let r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(n=>!$n(n)&&as(n))},getSelectorFromElement(e){const t=_a(e);return t&&re.findOne(t)?t:null},getElementFromSelector(e){const t=_a(e);return t?re.findOne(t):null},getMultipleElementsFromSelector(e){const t=_a(e);return t?re.find(t):[]}},Fo=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;H.on(document,n,`[data-bs-dismiss="${r}"]`,function(s){if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),$n(this))return;const i=re.getElementFromSelector(this)||this.closest(`.${r}`);e.getOrCreateInstance(i)[t]()})},vw="alert",bw="bs.alert",Up=`.${bw}`,yw=`close${Up}`,Ew=`closed${Up}`,ww="fade",Aw="show";class jo extends Ut{static get NAME(){return vw}close(){if(H.trigger(this._element,yw).defaultPrevented)return;this._element.classList.remove(Aw);const n=this._element.classList.contains(ww);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),H.trigger(this._element,Ew),this.dispose()}static jQueryInterface(t){return this.each(function(){const n=jo.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}Fo(jo,"close");Rt(jo);const Tw="button",Ow="bs.button",Sw=`.${Ow}`,Cw=".data-api",Nw="active",Gf='[data-bs-toggle="button"]',Lw=`click${Sw}${Cw}`;class Uo extends Ut{static get NAME(){return Tw}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Nw))}static jQueryInterface(t){return this.each(function(){const n=Uo.getOrCreateInstance(this);t==="toggle"&&n[t]()})}}H.on(document,Lw,Gf,e=>{e.preventDefault();const t=e.target.closest(Gf);Uo.getOrCreateInstance(t).toggle()});Rt(Uo);const Iw="swipe",ls=".bs.swipe",Pw=`touchstart${ls}`,Rw=`touchmove${ls}`,xw=`touchend${ls}`,kw=`pointerdown${ls}`,$w=`pointerup${ls}`,Dw="touch",Mw="pen",Fw="pointer-event",jw=40,Uw={endCallback:null,leftCallback:null,rightCallback:null},Hw={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class oo extends ni{constructor(t,n){super(),this._element=t,!(!t||!oo.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Uw}static get DefaultType(){return Hw}static get NAME(){return Iw}dispose(){H.off(this._element,ls)}_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(),pt(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<=jw)return;const n=t/this._deltaX;this._deltaX=0,n&&pt(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(H.on(this._element,kw,t=>this._start(t)),H.on(this._element,$w,t=>this._end(t)),this._element.classList.add(Fw)):(H.on(this._element,Pw,t=>this._start(t)),H.on(this._element,Rw,t=>this._move(t)),H.on(this._element,xw,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===Mw||t.pointerType===Dw)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Vw="carousel",Bw="bs.carousel",Kn=`.${Bw}`,Hp=".data-api",Ww="ArrowLeft",Yw="ArrowRight",Kw=500,gs="next",Or="prev",Pr="left",Bi="right",zw=`slide${Kn}`,va=`slid${Kn}`,Gw=`keydown${Kn}`,qw=`mouseenter${Kn}`,Xw=`mouseleave${Kn}`,Jw=`dragstart${Kn}`,Qw=`load${Kn}${Hp}`,Zw=`click${Kn}${Hp}`,Vp="carousel",Ei="active",eA="slide",tA="carousel-item-end",nA="carousel-item-start",rA="carousel-item-next",sA="carousel-item-prev",Bp=".active",Wp=".carousel-item",iA=Bp+Wp,oA=".carousel-item img",aA=".carousel-indicators",lA="[data-bs-slide], [data-bs-slide-to]",cA='[data-bs-ride="carousel"]',uA={[Ww]:Bi,[Yw]:Pr},fA={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},dA={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ri extends Ut{constructor(t,n){super(t,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=re.findOne(aA,this._element),this._addEventListeners(),this._config.ride===Vp&&this.cycle()}static get Default(){return fA}static get DefaultType(){return dA}static get NAME(){return Vw}next(){this._slide(gs)}nextWhenVisible(){!document.hidden&&as(this._element)&&this.next()}prev(){this._slide(Or)}pause(){this._isSliding&&Ip(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){H.one(this._element,va,()=>this.cycle());return}this.cycle()}}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding){H.one(this._element,va,()=>this.to(t));return}const r=this._getItemIndex(this._getActive());if(r===t)return;const s=t>r?gs:Or;this._slide(s,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&H.on(this._element,Gw,t=>this._keydown(t)),this._config.pause==="hover"&&(H.on(this._element,qw,()=>this.pause()),H.on(this._element,Xw,()=>this._maybeEnableCycle())),this._config.touch&&oo.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of re.find(oA,this._element))H.on(r,Jw,s=>s.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(Pr)),rightCallback:()=>this._slide(this._directionToOrder(Bi)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Kw+this._config.interval))}};this._swipeHelper=new oo(this._element,n)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const n=uA[t.key];n&&(t.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const n=re.findOne(Bp,this._indicatorsElement);n.classList.remove(Ei),n.removeAttribute("aria-current");const r=re.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);r&&(r.classList.add(Ei),r.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const n=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const r=this._getActive(),s=t===gs,i=n||Nc(this._getItems(),r,s,this._config.wrap);if(i===r)return;const o=this._getItemIndex(i),a=m=>H.trigger(this._element,m,{relatedTarget:i,direction:this._orderToDirection(t),from:this._getItemIndex(r),to:o});if(a(zw).defaultPrevented||!r||!i)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=i;const c=s?nA:tA,f=s?rA:sA;i.classList.add(f),ti(i),r.classList.add(c),i.classList.add(c);const d=()=>{i.classList.remove(c,f),i.classList.add(Ei),r.classList.remove(Ei,f,c),this._isSliding=!1,a(va)};this._queueCallback(d,r,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(eA)}_getActive(){return re.findOne(iA,this._element)}_getItems(){return re.find(Wp,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return It()?t===Pr?Or:gs:t===Pr?gs:Or}_orderToDirection(t){return It()?t===Or?Pr:Bi:t===Or?Bi:Pr}static jQueryInterface(t){return this.each(function(){const n=ri.getOrCreateInstance(this,t);if(typeof t=="number"){n.to(t);return}if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}H.on(document,Zw,lA,function(e){const t=re.getElementFromSelector(this);if(!t||!t.classList.contains(Vp))return;e.preventDefault();const n=ri.getOrCreateInstance(t),r=this.getAttribute("data-bs-slide-to");if(r){n.to(r),n._maybeEnableCycle();return}if(ln.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});H.on(window,Qw,()=>{const e=re.find(cA);for(const t of e)ri.getOrCreateInstance(t)});Rt(ri);const mA="collapse",hA="bs.collapse",si=`.${hA}`,pA=".data-api",gA=`show${si}`,_A=`shown${si}`,vA=`hide${si}`,bA=`hidden${si}`,yA=`click${si}${pA}`,ba="show",kr="collapse",wi="collapsing",EA="collapsed",wA=`:scope .${kr} .${kr}`,AA="collapse-horizontal",TA="width",OA="height",SA=".collapse.show, .collapse.collapsing",pl='[data-bs-toggle="collapse"]',CA={parent:null,toggle:!0},NA={parent:"(null|element)",toggle:"boolean"};class Ws extends Ut{constructor(t,n){super(t,n),this._isTransitioning=!1,this._triggerArray=[];const r=re.find(pl);for(const s of r){const i=re.getSelectorFromElement(s),o=re.find(i).filter(a=>a===this._element);i!==null&&o.length&&this._triggerArray.push(s)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return CA}static get DefaultType(){return NA}static get NAME(){return mA}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(SA).filter(a=>a!==this._element).map(a=>Ws.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||H.trigger(this._element,gA).defaultPrevented)return;for(const a of t)a.hide();const r=this._getDimension();this._element.classList.remove(kr),this._element.classList.add(wi),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(wi),this._element.classList.add(kr,ba),this._element.style[r]="",H.trigger(this._element,_A)},o=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(s,this._element,!0),this._element.style[r]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||H.trigger(this._element,vA).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,ti(this._element),this._element.classList.add(wi),this._element.classList.remove(kr,ba);for(const s of this._triggerArray){const i=re.getElementFromSelector(s);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([s],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(wi),this._element.classList.add(kr),H.trigger(this._element,bA)};this._element.style[n]="",this._queueCallback(r,this._element,!0)}_isShown(t=this._element){return t.classList.contains(ba)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=kn(t.parent),t}_getDimension(){return this._element.classList.contains(AA)?TA:OA}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(pl);for(const n of t){const r=re.getElementFromSelector(n);r&&this._addAriaAndCollapsedClass([n],this._isShown(r))}}_getFirstLevelChildren(t){const n=re.find(wA,this._config.parent);return re.find(t,this._config.parent).filter(r=>!n.includes(r))}_addAriaAndCollapsedClass(t,n){if(t.length)for(const r of t)r.classList.toggle(EA,!n),r.setAttribute("aria-expanded",n)}static jQueryInterface(t){const n={};return typeof t=="string"&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){const r=Ws.getOrCreateInstance(this,n);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}}H.on(document,yA,pl,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of re.getMultipleElementsFromSelector(this))Ws.getOrCreateInstance(t,{toggle:!1}).toggle()});Rt(Ws);const qf="dropdown",LA="bs.dropdown",yr=`.${LA}`,Ic=".data-api",IA="Escape",Xf="Tab",PA="ArrowUp",Jf="ArrowDown",RA=2,xA=`hide${yr}`,kA=`hidden${yr}`,$A=`show${yr}`,DA=`shown${yr}`,Yp=`click${yr}${Ic}`,Kp=`keydown${yr}${Ic}`,MA=`keyup${yr}${Ic}`,Rr="show",FA="dropup",jA="dropend",UA="dropstart",HA="dropup-center",VA="dropdown-center",nr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',BA=`${nr}.${Rr}`,Wi=".dropdown-menu",WA=".navbar",YA=".navbar-nav",KA=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",zA=It()?"top-end":"top-start",GA=It()?"top-start":"top-end",qA=It()?"bottom-end":"bottom-start",XA=It()?"bottom-start":"bottom-end",JA=It()?"left-start":"right-start",QA=It()?"right-start":"left-start",ZA="top",eT="bottom",tT={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},nT={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class qt extends Ut{constructor(t,n){super(t,n),this._popper=null,this._parent=this._element.parentNode,this._menu=re.next(this._element,Wi)[0]||re.prev(this._element,Wi)[0]||re.findOne(Wi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return tT}static get DefaultType(){return nT}static get NAME(){return qf}toggle(){return this._isShown()?this.hide():this.show()}show(){if($n(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!H.trigger(this._element,$A,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(YA))for(const r of[].concat(...document.body.children))H.on(r,"mouseover",io);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Rr),this._element.classList.add(Rr),H.trigger(this._element,DA,t)}}hide(){if($n(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(!H.trigger(this._element,xA,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))H.off(r,"mouseover",io);this._popper&&this._popper.destroy(),this._menu.classList.remove(Rr),this._element.classList.remove(Rr),this._element.setAttribute("aria-expanded","false"),ln.removeDataAttribute(this._menu,"popper"),H.trigger(this._element,kA,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!an(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${qf.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof Np>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:an(this._config.reference)?t=kn(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const n=this._getPopperConfig();this._popper=Cc(t,this._menu,n)}_isShown(){return this._menu.classList.contains(Rr)}_getPlacement(){const t=this._parent;if(t.classList.contains(jA))return JA;if(t.classList.contains(UA))return QA;if(t.classList.contains(HA))return ZA;if(t.classList.contains(VA))return eT;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(FA)?n?GA:zA:n?XA:qA}_detectNavbar(){return this._element.closest(WA)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,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")&&(ln.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...pt(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:n}){const r=re.find(KA,this._menu).filter(s=>as(s));r.length&&Nc(r,n,t===Jf,!r.includes(n)).focus()}static jQueryInterface(t){return this.each(function(){const n=qt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===RA||t.type==="keyup"&&t.key!==Xf)return;const n=re.find(BA);for(const r of n){const s=qt.getInstance(r);if(!s||s._config.autoClose===!1)continue;const i=t.composedPath(),o=i.includes(s._menu);if(i.includes(s._element)||s._config.autoClose==="inside"&&!o||s._config.autoClose==="outside"&&o||s._menu.contains(t.target)&&(t.type==="keyup"&&t.key===Xf||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const a={relatedTarget:s._element};t.type==="click"&&(a.clickEvent=t),s._completeHide(a)}}static dataApiKeydownHandler(t){const n=/input|textarea/i.test(t.target.tagName),r=t.key===IA,s=[PA,Jf].includes(t.key);if(!s&&!r||n&&!r)return;t.preventDefault();const i=this.matches(nr)?this:re.prev(this,nr)[0]||re.next(this,nr)[0]||re.findOne(nr,t.delegateTarget.parentNode),o=qt.getOrCreateInstance(i);if(s){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),i.focus())}}H.on(document,Kp,nr,qt.dataApiKeydownHandler);H.on(document,Kp,Wi,qt.dataApiKeydownHandler);H.on(document,Yp,qt.clearMenus);H.on(document,MA,qt.clearMenus);H.on(document,Yp,nr,function(e){e.preventDefault(),qt.getOrCreateInstance(this).toggle()});Rt(qt);const zp="backdrop",rT="fade",Qf="show",Zf=`mousedown.bs.${zp}`,sT={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},iT={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Gp extends ni{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return sT}static get DefaultType(){return iT}static get NAME(){return zp}show(t){if(!this._config.isVisible){pt(t);return}this._append();const n=this._getElement();this._config.isAnimated&&ti(n),n.classList.add(Qf),this._emulateAnimation(()=>{pt(t)})}hide(t){if(!this._config.isVisible){pt(t);return}this._getElement().classList.remove(Qf),this._emulateAnimation(()=>{this.dispose(),pt(t)})}dispose(){this._isAppended&&(H.off(this._element,Zf),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(rT),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=kn(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),H.on(t,Zf,()=>{pt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){xp(t,this._getElement(),this._config.isAnimated)}}const oT="focustrap",aT="bs.focustrap",ao=`.${aT}`,lT=`focusin${ao}`,cT=`keydown.tab${ao}`,uT="Tab",fT="forward",ed="backward",dT={autofocus:!0,trapElement:null},mT={autofocus:"boolean",trapElement:"element"};class qp extends ni{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return dT}static get DefaultType(){return mT}static get NAME(){return oT}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),H.off(document,ao),H.on(document,lT,t=>this._handleFocusin(t)),H.on(document,cT,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,H.off(document,ao))}_handleFocusin(t){const{trapElement:n}=this._config;if(t.target===document||t.target===n||n.contains(t.target))return;const r=re.focusableChildren(n);r.length===0?n.focus():this._lastTabNavDirection===ed?r[r.length-1].focus():r[0].focus()}_handleKeydown(t){t.key===uT&&(this._lastTabNavDirection=t.shiftKey?ed:fT)}}const td=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",nd=".sticky-top",Ai="padding-right",rd="margin-right";class gl{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,Ai,n=>n+t),this._setElementAttributes(td,Ai,n=>n+t),this._setElementAttributes(nd,rd,n=>n-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Ai),this._resetElementAttributes(td,Ai),this._resetElementAttributes(nd,rd)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,n,r){const s=this.getWidth(),i=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+s)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${r(Number.parseFloat(a))}px`)};this._applyManipulationCallback(t,i)}_saveInitialAttribute(t,n){const r=t.style.getPropertyValue(n);r&&ln.setDataAttribute(t,n,r)}_resetElementAttributes(t,n){const r=s=>{const i=ln.getDataAttribute(s,n);if(i===null){s.style.removeProperty(n);return}ln.removeDataAttribute(s,n),s.style.setProperty(n,i)};this._applyManipulationCallback(t,r)}_applyManipulationCallback(t,n){if(an(t)){n(t);return}for(const r of re.find(t,this._element))n(r)}}const hT="modal",pT="bs.modal",Pt=`.${pT}`,gT=".data-api",_T="Escape",vT=`hide${Pt}`,bT=`hidePrevented${Pt}`,Xp=`hidden${Pt}`,Jp=`show${Pt}`,yT=`shown${Pt}`,ET=`resize${Pt}`,wT=`click.dismiss${Pt}`,AT=`mousedown.dismiss${Pt}`,TT=`keydown.dismiss${Pt}`,OT=`click${Pt}${gT}`,sd="modal-open",ST="fade",id="show",ya="modal-static",CT=".modal.show",NT=".modal-dialog",LT=".modal-body",IT='[data-bs-toggle="modal"]',PT={backdrop:!0,focus:!0,keyboard:!0},RT={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class pr extends Ut{constructor(t,n){super(t,n),this._dialog=re.findOne(NT,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new gl,this._addEventListeners()}static get Default(){return PT}static get DefaultType(){return RT}static get NAME(){return hT}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||H.trigger(this._element,Jp,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(sd),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||H.trigger(this._element,vT).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(id),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){H.off(window,Pt),H.off(this._dialog,Pt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Gp({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new qp({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 n=re.findOne(LT,this._dialog);n&&(n.scrollTop=0),ti(this._element),this._element.classList.add(id);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,H.trigger(this._element,yT,{relatedTarget:t})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){H.on(this._element,TT,t=>{if(t.key===_T){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),H.on(window,ET,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),H.on(this._element,AT,t=>{H.one(this._element,wT,n=>{if(!(this._element!==t.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(sd),this._resetAdjustments(),this._scrollBar.reset(),H.trigger(this._element,Xp)})}_isAnimated(){return this._element.classList.contains(ST)}_triggerBackdropTransition(){if(H.trigger(this._element,bT).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(ya)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(ya),this._queueCallback(()=>{this._element.classList.remove(ya),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),r=n>0;if(r&&!t){const s=It()?"paddingLeft":"paddingRight";this._element.style[s]=`${n}px`}if(!r&&t){const s=It()?"paddingRight":"paddingLeft";this._element.style[s]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const r=pr.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t](n)}})}}H.on(document,OT,IT,function(e){const t=re.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),H.one(t,Jp,s=>{s.defaultPrevented||H.one(t,Xp,()=>{as(this)&&this.focus()})});const n=re.findOne(CT);n&&pr.getInstance(n).hide(),pr.getOrCreateInstance(t).toggle(this)});Fo(pr);Rt(pr);const xT="offcanvas",kT="bs.offcanvas",hn=`.${kT}`,Qp=".data-api",$T=`load${hn}${Qp}`,DT="Escape",od="show",ad="showing",ld="hiding",MT="offcanvas-backdrop",Zp=".offcanvas.show",FT=`show${hn}`,jT=`shown${hn}`,UT=`hide${hn}`,cd=`hidePrevented${hn}`,eg=`hidden${hn}`,HT=`resize${hn}`,VT=`click${hn}${Qp}`,BT=`keydown.dismiss${hn}`,WT='[data-bs-toggle="offcanvas"]',YT={backdrop:!0,keyboard:!0,scroll:!1},KT={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Dn extends Ut{constructor(t,n){super(t,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return YT}static get DefaultType(){return KT}static get NAME(){return xT}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||H.trigger(this._element,FT,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new gl().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ad);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(od),this._element.classList.remove(ad),H.trigger(this._element,jT,{relatedTarget:t})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||H.trigger(this._element,UT).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(ld),this._backdrop.hide();const n=()=>{this._element.classList.remove(od,ld),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new gl().reset(),H.trigger(this._element,eg)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){H.trigger(this._element,cd);return}this.hide()},n=!!this._config.backdrop;return new Gp({className:MT,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?t:null})}_initializeFocusTrap(){return new qp({trapElement:this._element})}_addEventListeners(){H.on(this._element,BT,t=>{if(t.key===DT){if(this._config.keyboard){this.hide();return}H.trigger(this._element,cd)}})}static jQueryInterface(t){return this.each(function(){const n=Dn.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}H.on(document,VT,WT,function(e){const t=re.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),$n(this))return;H.one(t,eg,()=>{as(this)&&this.focus()});const n=re.findOne(Zp);n&&n!==t&&Dn.getInstance(n).hide(),Dn.getOrCreateInstance(t).toggle(this)});H.on(window,$T,()=>{for(const e of re.find(Zp))Dn.getOrCreateInstance(e).show()});H.on(window,HT,()=>{for(const e of re.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&Dn.getOrCreateInstance(e).hide()});Fo(Dn);Rt(Dn);const zT=/^aria-[\w-]*$/i,tg={"*":["class","dir","id","lang","role",zT],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],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:[]},GT=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),qT=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,XT=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?GT.has(n)?!!qT.test(e.nodeValue):!0:t.filter(r=>r instanceof RegExp).some(r=>r.test(n))};function JT(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const s=new window.DOMParser().parseFromString(e,"text/html"),i=[].concat(...s.body.querySelectorAll("*"));for(const o of i){const a=o.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),u=[].concat(t["*"]||[],t[a]||[]);for(const c of l)XT(c,u)||o.removeAttribute(c.nodeName)}return s.body.innerHTML}const QT="TemplateFactory",ZT={allowList:tg,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},eO={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},tO={entry:"(string|element|function|null)",selector:"(string|element)"};class nO extends ni{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return ZT}static get DefaultType(){return eO}static get NAME(){return QT}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[s,i]of Object.entries(this._config.content))this._setContent(t,i,s);const n=t.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&n.classList.add(...r.split(" ")),n}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[n,r]of Object.entries(t))super._typeCheckConfig({selector:n,entry:r},tO)}_setContent(t,n,r){const s=re.findOne(r,t);if(s){if(n=this._resolvePossibleFunction(n),!n){s.remove();return}if(an(n)){this._putElementInTemplate(kn(n),s);return}if(this._config.html){s.innerHTML=this._maybeSanitize(n);return}s.textContent=n}}_maybeSanitize(t){return this._config.sanitize?JT(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return pt(t,[this])}_putElementInTemplate(t,n){if(this._config.html){n.innerHTML="",n.append(t);return}n.textContent=t.textContent}}const rO="tooltip",sO=new Set(["sanitize","allowList","sanitizeFn"]),Ea="fade",iO="modal",Ti="show",oO=".tooltip-inner",ud=`.${iO}`,fd="hide.bs.modal",_s="hover",wa="focus",aO="click",lO="manual",cO="hide",uO="hidden",fO="show",dO="shown",mO="inserted",hO="click",pO="focusin",gO="focusout",_O="mouseenter",vO="mouseleave",bO={AUTO:"auto",TOP:"top",RIGHT:It()?"left":"right",BOTTOM:"bottom",LEFT:It()?"right":"left"},yO={allowList:tg,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"},EO={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 cs extends Ut{constructor(t,n){if(typeof Np>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return yO}static get DefaultType(){return EO}static get NAME(){return rO}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),H.off(this._element.closest(ud),fd,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=H.trigger(this._element,this.constructor.eventName(fO)),r=(Pp(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!r)return;this._disposePopper();const s=this._getTipElement();this._element.setAttribute("aria-describedby",s.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(s),H.trigger(this._element,this.constructor.eventName(mO))),this._popper=this._createPopper(s),s.classList.add(Ti),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))H.on(a,"mouseover",io);const o=()=>{H.trigger(this._element,this.constructor.eventName(dO)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||H.trigger(this._element,this.constructor.eventName(cO)).defaultPrevented)return;if(this._getTipElement().classList.remove(Ti),"ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))H.off(s,"mouseover",io);this._activeTrigger[aO]=!1,this._activeTrigger[wa]=!1,this._activeTrigger[_s]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),H.trigger(this._element,this.constructor.eventName(uO)))};this._queueCallback(r,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 n=this._getTemplateFactory(t).toHtml();if(!n)return null;n.classList.remove(Ea,Ti),n.classList.add(`bs-${this.constructor.NAME}-auto`);const r=aw(this.constructor.NAME).toString();return n.setAttribute("id",r),this._isAnimated()&&n.classList.add(Ea),n}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new nO({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[oO]: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(Ea)}_isShown(){return this.tip&&this.tip.classList.contains(Ti)}_createPopper(t){const n=pt(this._config.placement,[this,t,this._element]),r=bO[n.toUpperCase()];return Cc(this._element,t,this._getPopperConfig(r))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_resolvePossibleFunction(t){return pt(t,[this._element])}_getPopperConfig(t){const n={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:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...n,...pt(this._config.popperConfig,[n])}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if(n==="click")H.on(this._element,this.constructor.eventName(hO),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(n!==lO){const r=n===_s?this.constructor.eventName(_O):this.constructor.eventName(pO),s=n===_s?this.constructor.eventName(vO):this.constructor.eventName(gO);H.on(this._element,r,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusin"?wa:_s]=!0,o._enter()}),H.on(this._element,s,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusout"?wa:_s]=o._element.contains(i.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},H.on(this._element.closest(ud),fd,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,n){clearTimeout(this._timeout),this._timeout=setTimeout(t,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const n=ln.getDataAttributes(this._element);for(const r of Object.keys(n))sO.has(r)&&delete n[r];return t={...n,...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:kn(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[n,r]of Object.entries(this._config))this.constructor.Default[n]!==r&&(t[n]=r);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 n=cs.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Rt(cs);const wO="popover",AO=".popover-header",TO=".popover-body",OO={...cs.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},SO={...cs.DefaultType,content:"(null|string|element|function)"};class Pc extends cs{static get Default(){return OO}static get DefaultType(){return SO}static get NAME(){return wO}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[AO]:this._getTitle(),[TO]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const n=Pc.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Rt(Pc);const CO="scrollspy",NO="bs.scrollspy",Rc=`.${NO}`,LO=".data-api",IO=`activate${Rc}`,dd=`click${Rc}`,PO=`load${Rc}${LO}`,RO="dropdown-item",Sr="active",xO='[data-bs-spy="scroll"]',Aa="[href]",kO=".nav, .list-group",md=".nav-link",$O=".nav-item",DO=".list-group-item",MO=`${md}, ${$O} > ${md}, ${DO}`,FO=".dropdown",jO=".dropdown-toggle",UO={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},HO={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Ho extends Ut{constructor(t,n){super(t,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return UO}static get DefaultType(){return HO}static get NAME(){return CO}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=kn(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(n=>Number.parseFloat(n))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(H.off(this._config.target,dd),H.on(this._config.target,dd,Aa,t=>{const n=this._observableSections.get(t.target.hash);if(n){t.preventDefault();const r=this._rootElement||window,s=n.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:s,behavior:"smooth"});return}r.scrollTop=s}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),t)}_observerCallback(t){const n=o=>this._targetLinks.get(`#${o.target.id}`),r=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},s=(this._rootElement||document.documentElement).scrollTop,i=s>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=s;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(r(o),!s)return;continue}!i&&!a&&r(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=re.find(Aa,this._config.target);for(const n of t){if(!n.hash||$n(n))continue;const r=re.findOne(decodeURI(n.hash),this._element);as(r)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,r))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Sr),this._activateParents(t),H.trigger(this._element,IO,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(RO)){re.findOne(jO,t.closest(FO)).classList.add(Sr);return}for(const n of re.parents(t,kO))for(const r of re.prev(n,MO))r.classList.add(Sr)}_clearActiveClass(t){t.classList.remove(Sr);const n=re.find(`${Aa}.${Sr}`,t);for(const r of n)r.classList.remove(Sr)}static jQueryInterface(t){return this.each(function(){const n=Ho.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}H.on(window,PO,()=>{for(const e of re.find(xO))Ho.getOrCreateInstance(e)});Rt(Ho);const VO="tab",BO="bs.tab",Er=`.${BO}`,WO=`hide${Er}`,YO=`hidden${Er}`,KO=`show${Er}`,zO=`shown${Er}`,GO=`click${Er}`,qO=`keydown${Er}`,XO=`load${Er}`,JO="ArrowLeft",hd="ArrowRight",QO="ArrowUp",pd="ArrowDown",Ta="Home",gd="End",rr="active",_d="fade",Oa="show",ZO="dropdown",ng=".dropdown-toggle",eS=".dropdown-menu",Sa=`:not(${ng})`,tS='.list-group, .nav, [role="tablist"]',nS=".nav-item, .list-group-item",rS=`.nav-link${Sa}, .list-group-item${Sa}, [role="tab"]${Sa}`,rg='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ca=`${rS}, ${rg}`,sS=`.${rr}[data-bs-toggle="tab"], .${rr}[data-bs-toggle="pill"], .${rr}[data-bs-toggle="list"]`;class ts extends Ut{constructor(t){super(t),this._parent=this._element.closest(tS),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),H.on(this._element,qO,n=>this._keydown(n)))}static get NAME(){return VO}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),r=n?H.trigger(n,WO,{relatedTarget:t}):null;H.trigger(t,KO,{relatedTarget:n}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(n,t),this._activate(t,n))}_activate(t,n){if(!t)return;t.classList.add(rr),this._activate(re.getElementFromSelector(t));const r=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(Oa);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),H.trigger(t,zO,{relatedTarget:n})};this._queueCallback(r,t,t.classList.contains(_d))}_deactivate(t,n){if(!t)return;t.classList.remove(rr),t.blur(),this._deactivate(re.getElementFromSelector(t));const r=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(Oa);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),H.trigger(t,YO,{relatedTarget:n})};this._queueCallback(r,t,t.classList.contains(_d))}_keydown(t){if(![JO,hd,QO,pd,Ta,gd].includes(t.key))return;t.stopPropagation(),t.preventDefault();const n=this._getChildren().filter(s=>!$n(s));let r;if([Ta,gd].includes(t.key))r=n[t.key===Ta?0:n.length-1];else{const s=[hd,pd].includes(t.key);r=Nc(n,t.target,s,!0)}r&&(r.focus({preventScroll:!0}),ts.getOrCreateInstance(r).show())}_getChildren(){return re.find(Ca,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,n){this._setAttributeIfNotExists(t,"role","tablist");for(const r of n)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const n=this._elemIsActive(t),r=this._getOuterElement(t);t.setAttribute("aria-selected",n),r!==t&&this._setAttributeIfNotExists(r,"role","presentation"),n||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const n=re.getElementFromSelector(t);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,n){const r=this._getOuterElement(t);if(!r.classList.contains(ZO))return;const s=(i,o)=>{const a=re.findOne(i,r);a&&a.classList.toggle(o,n)};s(ng,rr),s(eS,Oa),r.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(t,n,r){t.hasAttribute(n)||t.setAttribute(n,r)}_elemIsActive(t){return t.classList.contains(rr)}_getInnerElement(t){return t.matches(Ca)?t:re.findOne(Ca,t)}_getOuterElement(t){return t.closest(nS)||t}static jQueryInterface(t){return this.each(function(){const n=ts.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}H.on(document,GO,rg,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!$n(this)&&ts.getOrCreateInstance(this).show()});H.on(window,XO,()=>{for(const e of re.find(sS))ts.getOrCreateInstance(e)});Rt(ts);const iS="toast",oS="bs.toast",zn=`.${oS}`,aS=`mouseover${zn}`,lS=`mouseout${zn}`,cS=`focusin${zn}`,uS=`focusout${zn}`,fS=`hide${zn}`,dS=`hidden${zn}`,mS=`show${zn}`,hS=`shown${zn}`,pS="fade",vd="hide",Oi="show",Si="showing",gS={animation:"boolean",autohide:"boolean",delay:"number"},_S={animation:!0,autohide:!0,delay:5e3};class Vo extends Ut{constructor(t,n){super(t,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return _S}static get DefaultType(){return gS}static get NAME(){return iS}show(){if(H.trigger(this._element,mS).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(pS);const n=()=>{this._element.classList.remove(Si),H.trigger(this._element,hS),this._maybeScheduleHide()};this._element.classList.remove(vd),ti(this._element),this._element.classList.add(Oi,Si),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||H.trigger(this._element,fS).defaultPrevented)return;const n=()=>{this._element.classList.add(vd),this._element.classList.remove(Si,Oi),H.trigger(this._element,dS)};this._element.classList.add(Si),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Oi),super.dispose()}isShown(){return this._element.classList.contains(Oi)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,n){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const r=t.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){H.on(this._element,aS,t=>this._onInteraction(t,!0)),H.on(this._element,lS,t=>this._onInteraction(t,!1)),H.on(this._element,cS,t=>this._onInteraction(t,!0)),H.on(this._element,uS,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const n=Vo.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}Fo(Vo);Rt(Vo);const vS=["id"],bS={class:"modal-dialog modal-dialog-centered"},yS={class:"modal-content"},ES={class:"modal-header"},wS={class:"modal-title"},AS=k("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1),TS={class:"modal-body preserve-breaks"},OS={class:"modal-footer"},SS={type:"button",class:"btn btn-primary","data-bs-dismiss":"modal"},CS=Xe({__name:"GenericInfoModal",setup(e,{expose:t}){const{t:n}=Qt(),r=ge(null);let s;ss(()=>{s=pr.getOrCreateInstance(r.value)}),Oo(()=>{s==null||s.dispose()});function i(){s?s.show():console.error("Modal was not properly created before showing")}function o(){s?s.hide():console.error("Modal was not properly created before hiding")}const a=ge(""),l=ge(""),u=ge("");return t({show:i,hide:o,modalText:a,modalTitle:l,modalId:u}),(c,f)=>(Oe(),Ie("div",{class:"modal",tabindex:"-1",ref_key:"modalRef",ref:r,id:u.value},[k("div",bS,[k("div",yS,[k("div",ES,[k("h5",wS,ue(l.value),1),AS]),k("div",TS,[k("p",null,ue(a.value),1)]),k("div",OS,[k("button",SS,ue(V(n)("common.buttons.close")),1)])])])],8,vS))}}),xc=Symbol(),NS={class:"vh-100 overflow-y-scroll overflow-x-hidden"},LS=Xe({__name:"App",setup(e){const t=ge(null);function n(r,s){t.value?(t.value.modalTitle=r,t.value.modalText=s,t.value.show()):console.error("Modal not yet available")}return cr(xc,n),(r,s)=>(Oe(),Ie("div",NS,[ye(_0),ye(V(rp)),ye(CS,{ref_key:"infoModal",ref:t},null,512)]))}}),sg="/assets/OldInGameBlurredRotated-Bc8vmN0_.jpeg";var IS={VITE_API_BASE_URL:"/api",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{VITE_API_BASE_URL:PS,...RS}=IS,Rs={API_BASE_URL:PS,__vite__:RS};console.debug(Rs);function ig(e,t){return function(){return e.apply(t,arguments)}}const{toString:xS}=Object.prototype,{getPrototypeOf:kc}=Object,Bo=(e=>t=>{const n=xS.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ht=e=>(e=e.toLowerCase(),t=>Bo(t)===e),Wo=e=>t=>typeof t===e,{isArray:us}=Array,Ys=Wo("undefined");function kS(e){return e!==null&&!Ys(e)&&e.constructor!==null&&!Ys(e.constructor)&&Et(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const og=Ht("ArrayBuffer");function $S(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&og(e.buffer),t}const DS=Wo("string"),Et=Wo("function"),ag=Wo("number"),Yo=e=>e!==null&&typeof e=="object",MS=e=>e===!0||e===!1,Yi=e=>{if(Bo(e)!=="object")return!1;const t=kc(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},FS=Ht("Date"),jS=Ht("File"),US=Ht("Blob"),HS=Ht("FileList"),VS=e=>Yo(e)&&Et(e.pipe),BS=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Et(e.append)&&((t=Bo(e))==="formdata"||t==="object"&&Et(e.toString)&&e.toString()==="[object FormData]"))},WS=Ht("URLSearchParams"),[YS,KS,zS,GS]=["ReadableStream","Request","Response","Headers"].map(Ht),qS=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ii(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),us(e))for(r=0,s=e.length;r0;)if(s=n[r],t===s.toLowerCase())return s;return null}const sr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,cg=e=>!Ys(e)&&e!==sr;function _l(){const{caseless:e}=cg(this)&&this||{},t={},n=(r,s)=>{const i=e&&lg(t,s)||s;Yi(t[i])&&Yi(r)?t[i]=_l(t[i],r):Yi(r)?t[i]=_l({},r):us(r)?t[i]=r.slice():t[i]=r};for(let r=0,s=arguments.length;r(ii(t,(s,i)=>{n&&Et(s)?e[i]=ig(s,n):e[i]=s},{allOwnKeys:r}),e),JS=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),QS=(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)},ZS=(e,t,n,r)=>{let s,i,o;const a={};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))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=n!==!1&&kc(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},eC=(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},tC=e=>{if(!e)return null;if(us(e))return e;let t=e.length;if(!ag(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},nC=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&kc(Uint8Array)),rC=(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])}},sC=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},iC=Ht("HTMLFormElement"),oC=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),bd=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),aC=Ht("RegExp"),ug=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ii(n,(s,i)=>{let o;(o=t(s,i,e))!==!1&&(r[i]=o||s)}),Object.defineProperties(e,r)},lC=e=>{ug(e,(t,n)=>{if(Et(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Et(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+"'")})}})},cC=(e,t)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return us(e)?r(e):r(String(e).split(t)),n},uC=()=>{},fC=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Na="abcdefghijklmnopqrstuvwxyz",yd="0123456789",fg={DIGIT:yd,ALPHA:Na,ALPHA_DIGIT:Na+Na.toUpperCase()+yd},dC=(e=16,t=fg.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function mC(e){return!!(e&&Et(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const hC=e=>{const t=new Array(10),n=(r,s)=>{if(Yo(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const i=us(r)?[]:{};return ii(r,(o,a)=>{const l=n(o,s+1);!Ys(l)&&(i[a]=l)}),t[s]=void 0,i}}return r};return n(e,0)},pC=Ht("AsyncFunction"),gC=e=>e&&(Yo(e)||Et(e))&&Et(e.then)&&Et(e.catch),dg=((e,t)=>e?setImmediate:t?((n,r)=>(sr.addEventListener("message",({source:s,data:i})=>{s===sr&&i===n&&r.length&&r.shift()()},!1),s=>{r.push(s),sr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Et(sr.postMessage)),_C=typeof queueMicrotask<"u"?queueMicrotask.bind(sr):typeof process<"u"&&process.nextTick||dg,x={isArray:us,isArrayBuffer:og,isBuffer:kS,isFormData:BS,isArrayBufferView:$S,isString:DS,isNumber:ag,isBoolean:MS,isObject:Yo,isPlainObject:Yi,isReadableStream:YS,isRequest:KS,isResponse:zS,isHeaders:GS,isUndefined:Ys,isDate:FS,isFile:jS,isBlob:US,isRegExp:aC,isFunction:Et,isStream:VS,isURLSearchParams:WS,isTypedArray:nC,isFileList:HS,forEach:ii,merge:_l,extend:XS,trim:qS,stripBOM:JS,inherits:QS,toFlatObject:ZS,kindOf:Bo,kindOfTest:Ht,endsWith:eC,toArray:tC,forEachEntry:rC,matchAll:sC,isHTMLForm:iC,hasOwnProperty:bd,hasOwnProp:bd,reduceDescriptors:ug,freezeMethods:lC,toObjectSet:cC,toCamelCase:oC,noop:uC,toFiniteNumber:fC,findKey:lg,global:sr,isContextDefined:cg,ALPHABET:fg,generateString:dC,isSpecCompliantForm:mC,toJSONObject:hC,isAsyncFn:pC,isThenable:gC,setImmediate:dg,asap:_C};function me(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)}x.inherits(me,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:x.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const mg=me.prototype,hg={};["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=>{hg[e]={value:e}});Object.defineProperties(me,hg);Object.defineProperty(mg,"isAxiosError",{value:!0});me.from=(e,t,n,r,s,i)=>{const o=Object.create(mg);return x.toFlatObject(e,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),me.call(o,e.message,t,n,r,s),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};const vC=null;function vl(e){return x.isPlainObject(e)||x.isArray(e)}function pg(e){return x.endsWith(e,"[]")?e.slice(0,-2):e}function Ed(e,t,n){return e?e.concat(t).map(function(s,i){return s=pg(s),!n&&i?"["+s+"]":s}).join(n?".":""):t}function bC(e){return x.isArray(e)&&!e.some(vl)}const yC=x.toFlatObject(x,{},null,function(t){return/^is[A-Z]/.test(t)});function Ko(e,t,n){if(!x.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=x.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,y){return!x.isUndefined(y[v])});const r=n.metaTokens,s=n.visitor||c,i=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&x.isSpecCompliantForm(t);if(!x.isFunction(s))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(x.isDate(p))return p.toISOString();if(!l&&x.isBlob(p))throw new me("Blob is not supported. Use a Buffer instead.");return x.isArrayBuffer(p)||x.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function c(p,v,y){let w=p;if(p&&!y&&typeof p=="object"){if(x.endsWith(v,"{}"))v=r?v:v.slice(0,-2),p=JSON.stringify(p);else if(x.isArray(p)&&bC(p)||(x.isFileList(p)||x.endsWith(v,"[]"))&&(w=x.toArray(p)))return v=pg(v),w.forEach(function(E,A){!(x.isUndefined(E)||E===null)&&t.append(o===!0?Ed([v],A,i):o===null?v:v+"[]",u(E))}),!1}return vl(p)?!0:(t.append(Ed(y,v,i),u(p)),!1)}const f=[],d=Object.assign(yC,{defaultVisitor:c,convertValue:u,isVisitable:vl});function m(p,v){if(!x.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+v.join("."));f.push(p),x.forEach(p,function(w,S){(!(x.isUndefined(w)||w===null)&&s.call(t,w,x.isString(S)?S.trim():S,v,d))===!0&&m(w,v?v.concat(S):[S])}),f.pop()}}if(!x.isObject(e))throw new TypeError("data must be an object");return m(e),t}function wd(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function $c(e,t){this._pairs=[],e&&Ko(e,this,t)}const gg=$c.prototype;gg.append=function(t,n){this._pairs.push([t,n])};gg.toString=function(t){const n=t?function(r){return t.call(this,r,wd)}:wd;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function EC(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function _g(e,t,n){if(!t)return e;const r=n&&n.encode||EC,s=n&&n.serialize;let i;if(s?i=s(t,n):i=x.isURLSearchParams(t)?t.toString():new $c(t,n).toString(r),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Ad{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){x.forEach(this.handlers,function(r){r!==null&&t(r)})}}const vg={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},wC=typeof URLSearchParams<"u"?URLSearchParams:$c,AC=typeof FormData<"u"?FormData:null,TC=typeof Blob<"u"?Blob:null,OC={isBrowser:!0,classes:{URLSearchParams:wC,FormData:AC,Blob:TC},protocols:["http","https","file","blob","url","data"]},Dc=typeof window<"u"&&typeof document<"u",SC=(e=>Dc&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),CC=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",NC=Dc&&window.location.href||"http://localhost",LC=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Dc,hasStandardBrowserEnv:SC,hasStandardBrowserWebWorkerEnv:CC,origin:NC},Symbol.toStringTag,{value:"Module"})),Ft={...LC,...OC};function IC(e,t){return Ko(e,new Ft.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,i){return Ft.isNode&&x.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function PC(e){return x.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function RC(e){const t={},n=Object.keys(e);let r;const s=n.length;let i;for(r=0;r=n.length;return o=!o&&x.isArray(s)?s.length:o,l?(x.hasOwnProp(s,o)?s[o]=[s[o],r]:s[o]=r,!a):((!s[o]||!x.isObject(s[o]))&&(s[o]=[]),t(n,r,s[o],i)&&x.isArray(s[o])&&(s[o]=RC(s[o])),!a)}if(x.isFormData(e)&&x.isFunction(e.entries)){const n={};return x.forEachEntry(e,(r,s)=>{t(PC(r),s,n,0)}),n}return null}function xC(e,t,n){if(x.isString(e))try{return(t||JSON.parse)(e),x.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const oi={transitional:vg,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=x.isObject(t);if(i&&x.isHTMLForm(t)&&(t=new FormData(t)),x.isFormData(t))return s?JSON.stringify(bg(t)):t;if(x.isArrayBuffer(t)||x.isBuffer(t)||x.isStream(t)||x.isFile(t)||x.isBlob(t)||x.isReadableStream(t))return t;if(x.isArrayBufferView(t))return t.buffer;if(x.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return IC(t,this.formSerializer).toString();if((a=x.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Ko(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),xC(t)):t}],transformResponse:[function(t){const n=this.transitional||oi.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(x.isResponse(t)||x.isReadableStream(t))return t;if(t&&x.isString(t)&&(r&&!this.responseType||s)){const o=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(a){if(o)throw a.name==="SyntaxError"?me.from(a,me.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ft.classes.FormData,Blob:Ft.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};x.forEach(["delete","get","head","post","put","patch"],e=>{oi.headers[e]={}});const kC=x.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),$C=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]&&kC[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Td=Symbol("internals");function vs(e){return e&&String(e).trim().toLowerCase()}function Ki(e){return e===!1||e==null?e:x.isArray(e)?e.map(Ki):String(e)}function DC(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 MC=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function La(e,t,n,r,s){if(x.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!x.isString(t)){if(x.isString(r))return t.indexOf(r)!==-1;if(x.isRegExp(r))return r.test(t)}}function FC(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function jC(e,t){const n=x.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 gt{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function i(a,l,u){const c=vs(l);if(!c)throw new Error("header name must be a non-empty string");const f=x.findKey(s,c);(!f||s[f]===void 0||u===!0||u===void 0&&s[f]!==!1)&&(s[f||l]=Ki(a))}const o=(a,l)=>x.forEach(a,(u,c)=>i(u,c,l));if(x.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(x.isString(t)&&(t=t.trim())&&!MC(t))o($C(t),n);else if(x.isHeaders(t))for(const[a,l]of t.entries())i(l,a,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=vs(t),t){const r=x.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return DC(s);if(x.isFunction(n))return n.call(this,s,r);if(x.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=vs(t),t){const r=x.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||La(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function i(o){if(o=vs(o),o){const a=x.findKey(r,o);a&&(!n||La(r,r[a],a,n))&&(delete r[a],s=!0)}}return x.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||La(this,this[i],i,t,!0))&&(delete this[i],s=!0)}return s}normalize(t){const n=this,r={};return x.forEach(this,(s,i)=>{const o=x.findKey(r,i);if(o){n[o]=Ki(s),delete n[i];return}const a=t?FC(i):String(i).trim();a!==i&&delete n[i],n[a]=Ki(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return x.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&x.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[Td]=this[Td]={accessors:{}}).accessors,s=this.prototype;function i(o){const a=vs(o);r[a]||(jC(s,o),r[a]=!0)}return x.isArray(t)?t.forEach(i):i(t),this}}gt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);x.reduceDescriptors(gt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});x.freezeMethods(gt);function Ia(e,t){const n=this||oi,r=t||n,s=gt.from(r.headers);let i=r.data;return x.forEach(e,function(a){i=a.call(n,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function yg(e){return!!(e&&e.__CANCEL__)}function fs(e,t,n){me.call(this,e??"canceled",me.ERR_CANCELED,t,n),this.name="CanceledError"}x.inherits(fs,me,{__CANCEL__:!0});function Eg(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new me("Request failed with status code "+n.status,[me.ERR_BAD_REQUEST,me.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function UC(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function HC(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(l){const u=Date.now(),c=r[i];o||(o=u),n[s]=l,r[s]=u;let f=i,d=0;for(;f!==s;)d+=n[f++],f=f%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),u-o{n=c,s=null,i&&(clearTimeout(i),i=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=r?o(u,c):(s=u,i||(i=setTimeout(()=>{i=null,o(s)},r-f)))},()=>s&&o(s)]}const lo=(e,t,n=3)=>{let r=0;const s=HC(50,250);return VC(i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,l=o-r,u=s(l),c=o<=a;r=o;const f={loaded:o,total:a,progress:a?o/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&c?(a-o)/u:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},Od=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Sd=e=>(...t)=>x.asap(()=>e(...t)),BC=Ft.hasStandardBrowserEnv?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 a=x.isString(o)?s(o):o;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),WC=Ft.hasStandardBrowserEnv?{write(e,t,n,r,s,i){const o=[e+"="+encodeURIComponent(t)];x.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),x.isString(r)&&o.push("path="+r),x.isString(s)&&o.push("domain="+s),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function YC(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function KC(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function wg(e,t){return e&&!YC(t)?KC(e,t):t}const Cd=e=>e instanceof gt?{...e}:e;function gr(e,t){t=t||{};const n={};function r(u,c,f){return x.isPlainObject(u)&&x.isPlainObject(c)?x.merge.call({caseless:f},u,c):x.isPlainObject(c)?x.merge({},c):x.isArray(c)?c.slice():c}function s(u,c,f){if(x.isUndefined(c)){if(!x.isUndefined(u))return r(void 0,u,f)}else return r(u,c,f)}function i(u,c){if(!x.isUndefined(c))return r(void 0,c)}function o(u,c){if(x.isUndefined(c)){if(!x.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,f){if(f in t)return r(u,c);if(f in e)return r(void 0,u)}const l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(u,c)=>s(Cd(u),Cd(c),!0)};return x.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=l[c]||s,d=f(e[c],t[c],c);x.isUndefined(d)&&f!==a||(n[c]=d)}),n}const Ag=e=>{const t=gr({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:i,headers:o,auth:a}=t;t.headers=o=gt.from(o),t.url=_g(wg(t.baseURL,t.url),e.params,e.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(x.isFormData(n)){if(Ft.hasStandardBrowserEnv||Ft.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((l=o.getContentType())!==!1){const[u,...c]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];o.setContentType([u||"multipart/form-data",...c].join("; "))}}if(Ft.hasStandardBrowserEnv&&(r&&x.isFunction(r)&&(r=r(t)),r||r!==!1&&BC(t.url))){const u=s&&i&&WC.read(i);u&&o.set(s,u)}return t},zC=typeof XMLHttpRequest<"u",GC=zC&&function(e){return new Promise(function(n,r){const s=Ag(e);let i=s.data;const o=gt.from(s.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:u}=s,c,f,d,m,p;function v(){m&&m(),p&&p(),s.cancelToken&&s.cancelToken.unsubscribe(c),s.signal&&s.signal.removeEventListener("abort",c)}let y=new XMLHttpRequest;y.open(s.method.toUpperCase(),s.url,!0),y.timeout=s.timeout;function w(){if(!y)return;const E=gt.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),C={data:!a||a==="text"||a==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:E,config:e,request:y};Eg(function(I){n(I),v()},function(I){r(I),v()},C),y=null}"onloadend"in y?y.onloadend=w:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(w)},y.onabort=function(){y&&(r(new me("Request aborted",me.ECONNABORTED,e,y)),y=null)},y.onerror=function(){r(new me("Network Error",me.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let A=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const C=s.transitional||vg;s.timeoutErrorMessage&&(A=s.timeoutErrorMessage),r(new me(A,C.clarifyTimeoutError?me.ETIMEDOUT:me.ECONNABORTED,e,y)),y=null},i===void 0&&o.setContentType(null),"setRequestHeader"in y&&x.forEach(o.toJSON(),function(A,C){y.setRequestHeader(C,A)}),x.isUndefined(s.withCredentials)||(y.withCredentials=!!s.withCredentials),a&&a!=="json"&&(y.responseType=s.responseType),u&&([d,p]=lo(u,!0),y.addEventListener("progress",d)),l&&y.upload&&([f,m]=lo(l),y.upload.addEventListener("progress",f),y.upload.addEventListener("loadend",m)),(s.cancelToken||s.signal)&&(c=E=>{y&&(r(!E||E.type?new fs(null,e,y):E),y.abort(),y=null)},s.cancelToken&&s.cancelToken.subscribe(c),s.signal&&(s.signal.aborted?c():s.signal.addEventListener("abort",c)));const S=UC(s.url);if(S&&Ft.protocols.indexOf(S)===-1){r(new me("Unsupported protocol "+S+":",me.ERR_BAD_REQUEST,e));return}y.send(i||null)})},qC=(e,t)=>{let n=new AbortController,r;const s=function(l){if(!r){r=!0,o();const u=l instanceof Error?l:this.reason;n.abort(u instanceof me?u:new fs(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{s(new me(`timeout ${t} of ms exceeded`,me.ETIMEDOUT))},t);const o=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(l=>{l&&(l.removeEventListener?l.removeEventListener("abort",s):l.unsubscribe(s))}),e=null)};e.forEach(l=>l&&l.addEventListener&&l.addEventListener("abort",s));const{signal:a}=n;return a.unsubscribe=o,[a,()=>{i&&clearTimeout(i),i=null}]},XC=function*(e,t){let n=e.byteLength;if(!t||n{const i=JC(e,t,s);let o=0,a,l=u=>{a||(a=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:c,value:f}=await i.next();if(c){l(),u.close();return}let d=f.byteLength;if(n){let m=o+=d;n(m)}u.enqueue(new Uint8Array(f))}catch(c){throw l(c),c}},cancel(u){return l(u),i.return()}},{highWaterMark:2})},zo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Tg=zo&&typeof ReadableStream=="function",bl=zo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Og=(e,...t)=>{try{return!!e(...t)}catch{return!1}},QC=Tg&&Og(()=>{let e=!1;const t=new Request(Ft.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ld=64*1024,yl=Tg&&Og(()=>x.isReadableStream(new Response("").body)),co={stream:yl&&(e=>e.body)};zo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!co[t]&&(co[t]=x.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new me(`Response type '${t}' is not supported`,me.ERR_NOT_SUPPORT,r)})})})(new Response);const ZC=async e=>{if(e==null)return 0;if(x.isBlob(e))return e.size;if(x.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(x.isArrayBufferView(e)||x.isArrayBuffer(e))return e.byteLength;if(x.isURLSearchParams(e)&&(e=e+""),x.isString(e))return(await bl(e)).byteLength},eN=async(e,t)=>{const n=x.toFiniteNumber(e.getContentLength());return n??ZC(t)},tN=zo&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:i,timeout:o,onDownloadProgress:a,onUploadProgress:l,responseType:u,headers:c,withCredentials:f="same-origin",fetchOptions:d}=Ag(e);u=u?(u+"").toLowerCase():"text";let[m,p]=s||i||o?qC([s,i],o):[],v,y;const w=()=>{!v&&setTimeout(()=>{m&&m.unsubscribe()}),v=!0};let S;try{if(l&&QC&&n!=="get"&&n!=="head"&&(S=await eN(c,r))!==0){let O=new Request(t,{method:"POST",body:r,duplex:"half"}),I;if(x.isFormData(r)&&(I=O.headers.get("content-type"))&&c.setContentType(I),O.body){const[$,P]=Od(S,lo(Sd(l)));r=Nd(O.body,Ld,$,P,bl)}}x.isString(f)||(f=f?"include":"omit"),y=new Request(t,{...d,signal:m,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:f});let E=await fetch(y);const A=yl&&(u==="stream"||u==="response");if(yl&&(a||A)){const O={};["status","statusText","headers"].forEach(q=>{O[q]=E[q]});const I=x.toFiniteNumber(E.headers.get("content-length")),[$,P]=a&&Od(I,lo(Sd(a),!0))||[];E=new Response(Nd(E.body,Ld,$,()=>{P&&P(),A&&w()},bl),O)}u=u||"text";let C=await co[x.findKey(co,u)||"text"](E,e);return!A&&w(),p&&p(),await new Promise((O,I)=>{Eg(O,I,{data:C,headers:gt.from(E.headers),status:E.status,statusText:E.statusText,config:e,request:y})})}catch(E){throw w(),E&&E.name==="TypeError"&&/fetch/i.test(E.message)?Object.assign(new me("Network Error",me.ERR_NETWORK,e,y),{cause:E.cause||E}):me.from(E,E&&E.code,e,y)}}),El={http:vC,xhr:GC,fetch:tN};x.forEach(El,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Id=e=>`- ${e}`,nN=e=>x.isFunction(e)||e===null||e===!1,Sg={getAdapter:e=>{e=x.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let i=0;i`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=t?i.length>1?`since : -`+i.map(Id).join(` -`):" "+Id(i[0]):"as no adapter specified";throw new me("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:El};function Pa(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new fs(null,e)}function Pd(e){return Pa(e),e.headers=gt.from(e.headers),e.data=Ia.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Sg.getAdapter(e.adapter||oi.adapter)(e).then(function(r){return Pa(e),r.data=Ia.call(e,e.transformResponse,r),r.headers=gt.from(r.headers),r},function(r){return yg(r)||(Pa(e),r&&r.response&&(r.response.data=Ia.call(e,e.transformResponse,r.response),r.response.headers=gt.from(r.response.headers))),Promise.reject(r)})}const Cg="1.7.3",Mc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Mc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Rd={};Mc.transitional=function(t,n,r){function s(i,o){return"[Axios v"+Cg+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,a)=>{if(t===!1)throw new me(s(o," has been removed"+(n?" in "+n:"")),me.ERR_DEPRECATED);return n&&!Rd[o]&&(Rd[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,a):!0}};function rN(e,t,n){if(typeof e!="object")throw new me("options must be an object",me.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 a=e[i],l=a===void 0||o(a,i,e);if(l!==!0)throw new me("option "+i+" must be "+l,me.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new me("Unknown option "+i,me.ERR_BAD_OPTION)}}const wl={assertOptions:rN,validators:Mc},yn=wl.validators;class fr{constructor(t){this.defaults=t,this.interceptors={request:new Ad,response:new Ad}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const i=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=gr(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&wl.assertOptions(r,{silentJSONParsing:yn.transitional(yn.boolean),forcedJSONParsing:yn.transitional(yn.boolean),clarifyTimeoutError:yn.transitional(yn.boolean)},!1),s!=null&&(x.isFunction(s)?n.paramsSerializer={serialize:s}:wl.assertOptions(s,{encode:yn.function,serialize:yn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&x.merge(i.common,i[n.method]);i&&x.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),n.headers=gt.concat(o,i);const a=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,a.unshift(v.fulfilled,v.rejected))});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let c,f=0,d;if(!l){const p=[Pd.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,u),d=p.length,c=Promise.resolve(n);f{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(a=>{r.subscribe(a),i=a}).then(s);return o.cancel=function(){r.unsubscribe(i)},o},t(function(i,o,a){r.reason||(r.reason=new fs(i,o,a),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 Fc(function(s){t=s}),cancel:t}}}function sN(e){return function(n){return e.apply(null,n)}}function iN(e){return x.isObject(e)&&e.isAxiosError===!0}const Al={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(Al).forEach(([e,t])=>{Al[t]=e});function Ng(e){const t=new fr(e),n=ig(fr.prototype.request,t);return x.extend(n,fr.prototype,t,{allOwnKeys:!0}),x.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Ng(gr(e,s))},n}const Ue=Ng(oi);Ue.Axios=fr;Ue.CanceledError=fs;Ue.CancelToken=Fc;Ue.isCancel=yg;Ue.VERSION=Cg;Ue.toFormData=Ko;Ue.AxiosError=me;Ue.Cancel=Ue.CanceledError;Ue.all=function(t){return Promise.all(t)};Ue.spread=sN;Ue.isAxiosError=iN;Ue.mergeConfig=gr;Ue.AxiosHeaders=gt;Ue.formToJSON=e=>bg(x.isHTMLForm(e)?new FormData(e):e);Ue.getAdapter=Sg.getAdapter;Ue.HttpStatusCode=Al;Ue.default=Ue;class oN{getTest(t,n){return new Promise((r,s)=>{Ue.get(`${Rs.API_BASE_URL}/user/test/${t}`,{params:{param1:n},withCredentials:!0}).then(i=>{r(i)}).catch(i=>{s(i)})})}}const aN=new oN,ai=e=>(iv("data-v-6c838f03"),e=e(),ov(),e),lN={class:"row"},cN={class:"col"},uN={class:"w-100 d-flex justify-content-center my-5"},fN={class:"container-fluid px-0 d-flex justify-content-center align-items-center flex-column"},dN={class:"row w-100 border-top"},mN={class:"col-md-6 col-12 px-0 bg-body-secondary"},hN={class:"d-flex justify-content-center align-items-center h-100 w-100 flex-column"},pN={class:"m-1"},gN={class:"row"},_N=ai(()=>k("div",{class:"col-auto"},[k("input",{type:"text",class:"form-control",placeholder:"Code"})],-1)),vN={class:"col-auto"},bN={class:"btn btn-primary"},yN=ai(()=>k("div",{class:"col-md-6 col-12 px-0 mx-0"},[k("img",{class:"w-100",src:sg,alt:"Blurred, slightly tilted image of how the game looks like"})],-1)),EN={class:"row w-100 border-bottom"},wN=ai(()=>k("div",{class:"col-md-6 col-12 px-0 mx-0"},[k("img",{class:"w-100",src:sg,alt:"Blurred, slightly tilted image of how the game looks like"})],-1)),AN={class:"col-md-6 col-12 px-0 mx-0 bg-body-secondary"},TN={class:"h-100 w-100 d-flex justify-content-center align-items-center flex-column"},ON={class:"m-1"},SN={class:"row"},CN=ai(()=>k("div",{class:"col-auto"},[k("input",{type:"text",class:"form-control",placeholder:"Code"})],-1)),NN={class:"col-auto"},LN={class:"btn btn-primary"},IN={class:"row w-100"},PN={class:"col mt-5 mb-5"},RN={class:"container mb-5 text-center"},xN=ai(()=>k("h4",null," How does it work? ",-1)),kN={class:"row mt-5"},$N={class:"col-4 d-flex justify-content-center align-items-center flex-column gap-3"},DN={class:"border rounded-circle w-fit-content"},MN={class:"col-4 d-flex justify-content-center align-items-center flex-column gap-3"},FN={class:"border rounded-circle w-fit-content"},jN={class:"col-4 d-flex justify-content-center align-items-center flex-column gap-3"},UN={class:"border rounded-circle w-fit-content"},HN=Xe({__name:"HomePage",setup(e){const t=ge({});return ss(()=>{aN.getTest("ping","42").then(n=>{t.value=n.data})}),(n,r)=>(Oe(),Ie(lt,null,[k("div",lN,[k("div",cN,[k("div",uN,[k("h1",null,ue(n.$t("home.welcome"))+" "+ue(t.value),1)])])]),k("div",fN,[k("div",dN,[k("div",mN,[k("div",hN,[k("h3",pN,ue(n.$t("join.text")),1),k("p",null,ue(n.$t("join.alreadyHostedGome")),1),k("p",null,ue(n.$t("join.textCode")),1),k("div",gN,[_N,k("div",vN,[k("button",bN,ue(n.$t("join.button")),1)])])])]),yN]),k("div",EN,[wN,k("div",AN,[k("div",TN,[k("h3",ON,ue(n.$t("host.text")),1),k("p",null,ue(n.$t("host.alreadyHostedGome")),1),k("p",null,ue(n.$t("host.textCode")),1),k("div",SN,[CN,k("div",NN,[k("button",LN,ue(n.$t("host.button")),1)])])])])]),k("div",IN,[k("div",PN,[k("div",RN,[xN,k("div",kN,[k("div",$N,[k("div",DN,[ye(Ls,{height:"2rem",width:"2rem"})]),Ye(" Create a Board ")]),k("div",MN,[k("div",FN,[ye(Ls,{height:"2rem",width:"2rem"})]),Ye(" Invite your friends ")]),k("div",jN,[k("div",UN,[ye(Ls,{height:"2rem",width:"2rem"})]),Ye(" Have fun playing ")])])])])])])],64))}}),VN=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},BN=VN(HN,[["__scopeId","data-v-6c838f03"]]),WN=Xe({__name:"AboutPage",setup(e){const{t}=Qt();return(n,r)=>(Oe(),Ie("div",null,ue(V(t)("about.whatis")),1))}});class YN{signupUser(t){return new Promise((n,r)=>{Ue.post(`${Rs.API_BASE_URL}/auth/signup`,t,{withCredentials:!0}).then(s=>{n(s.data)}).catch(s=>{r(s)})})}loginUser(t){return new Promise((n,r)=>{Ue.post(`${Rs.API_BASE_URL}/auth/login`,t,{withCredentials:!0}).then(s=>{n(s)}).catch(s=>{r(s)})})}logoutUser(){return new Promise((t,n)=>{Ue.post(`${Rs.API_BASE_URL}/auth/logout`,null,{withCredentials:!0}).then(r=>{t(r)}).catch(r=>{n(r)})})}}const Lg=new YN;function xd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Sn(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(e).reduce((n,r)=>(t.includes(r)||(n[r]=V(e[r])),n),{})}function uo(e){return typeof e=="function"}function zN(e){return In(e)||Vr(e)}function Ig(e,t,n){let r=e;const s=t.split(".");for(let i=0;ie.some(r=>Ig(t,r,{[n]:!1})[n]))}function $d(e,t,n){return ne(()=>e.reduce((r,s)=>{const i=Ig(t,s,{[n]:!1})[n]||[];return r.concat(i)},[]))}function Pg(e,t,n,r){return e.call(r,V(t),V(n),r)}function Rg(e){return e.$valid!==void 0?!e.$valid:!e}function GN(e,t,n,r,s,i,o){let{$lazy:a,$rewardEarly:l}=s,u=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],c=arguments.length>8?arguments[8]:void 0,f=arguments.length>9?arguments[9]:void 0,d=arguments.length>10?arguments[10]:void 0;const m=ge(!!r.value),p=ge(0);n.value=!1;const v=it([t,r].concat(u,d),()=>{if(a&&!r.value||l&&!f.value&&!n.value)return;let y;try{y=Pg(e,t,c,o)}catch(w){y=Promise.reject(w)}p.value++,n.value=!!p.value,m.value=!1,Promise.resolve(y).then(w=>{p.value--,n.value=!!p.value,i.value=w,m.value=Rg(w)}).catch(w=>{p.value--,n.value=!!p.value,i.value=w,m.value=!0})},{immediate:!0,deep:typeof t=="object"});return{$invalid:m,$unwatch:v}}function qN(e,t,n,r,s,i,o,a){let{$lazy:l,$rewardEarly:u}=r;const c=()=>({}),f=ne(()=>{if(l&&!n.value||u&&!a.value)return!1;let d=!0;try{const m=Pg(e,t,o,i);s.value=m,d=Rg(m)}catch(m){s.value=m}return d});return{$unwatch:c,$invalid:f}}function XN(e,t,n,r,s,i,o,a,l,u,c){const f=ge(!1),d=e.$params||{},m=ge(null);let p,v;e.$async?{$invalid:p,$unwatch:v}=GN(e.$validator,t,f,n,r,m,s,e.$watchTargets,l,u,c):{$invalid:p,$unwatch:v}=qN(e.$validator,t,n,r,m,s,l,u);const y=e.$message;return{$message:uo(y)?ne(()=>y(kd({$pending:f,$invalid:p,$params:kd(d),$model:t,$response:m,$validator:i,$propertyPath:a,$property:o}))):y||"",$params:d,$pending:f,$invalid:p,$response:m,$unwatch:v}}function JN(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=V(e),n=Object.keys(t),r={},s={},i={};let o=null;return n.forEach(a=>{const l=t[a];switch(!0){case uo(l.$validator):r[a]=l;break;case uo(l):r[a]={$validator:l};break;case a==="$validationGroups":o=l;break;case a.startsWith("$"):i[a]=l;break;default:s[a]=l}}),{rules:r,nestedValidators:s,config:i,validationGroups:o}}const QN="__root";function ZN(e,t,n,r,s,i,o,a,l){const u=Object.keys(e),c=r.get(s,e),f=ge(!1),d=ge(!1),m=ge(0);if(c){if(!c.$partial)return c;c.$unwatch(),f.value=c.$dirty.value}const p={$dirty:f,$path:s,$touch:()=>{f.value||(f.value=!0)},$reset:()=>{f.value&&(f.value=!1)},$commit:()=>{}};return u.length?(u.forEach(v=>{p[v]=XN(e[v],t,p.$dirty,i,o,v,n,s,l,d,m)}),p.$externalResults=ne(()=>a.value?[].concat(a.value).map((v,y)=>({$propertyPath:s,$property:n,$validator:"$externalResults",$uid:`${s}-externalResult-${y}`,$message:v,$params:{},$response:null,$pending:!1})):[]),p.$invalid=ne(()=>{const v=u.some(y=>V(p[y].$invalid));return d.value=v,!!p.$externalResults.value.length||v}),p.$pending=ne(()=>u.some(v=>V(p[v].$pending))),p.$error=ne(()=>p.$dirty.value?p.$pending.value||p.$invalid.value:!1),p.$silentErrors=ne(()=>u.filter(v=>V(p[v].$invalid)).map(v=>{const y=p[v];return Vn({$propertyPath:s,$property:n,$validator:v,$uid:`${s}-${v}`,$message:y.$message,$params:y.$params,$response:y.$response,$pending:y.$pending})}).concat(p.$externalResults.value)),p.$errors=ne(()=>p.$dirty.value?p.$silentErrors.value:[]),p.$unwatch=()=>u.forEach(v=>{p[v].$unwatch()}),p.$commit=()=>{d.value=!0,m.value=Date.now()},r.set(s,e,p),p):(c&&r.set(s,e,p),p)}function eL(e,t,n,r,s,i,o){const a=Object.keys(e);return a.length?a.reduce((l,u)=>(l[u]=Tl({validations:e[u],state:t,key:u,parentKey:n,resultsCache:r,globalConfig:s,instance:i,externalResults:o}),l),{}):{}}function tL(e,t,n){const r=ne(()=>[t,n].filter(p=>p).reduce((p,v)=>p.concat(Object.values(V(v))),[])),s=ne({get(){return e.$dirty.value||(r.value.length?r.value.every(p=>p.$dirty):!1)},set(p){e.$dirty.value=p}}),i=ne(()=>{const p=V(e.$silentErrors)||[],v=r.value.filter(y=>(V(y).$silentErrors||[]).length).reduce((y,w)=>y.concat(...w.$silentErrors),[]);return p.concat(v)}),o=ne(()=>{const p=V(e.$errors)||[],v=r.value.filter(y=>(V(y).$errors||[]).length).reduce((y,w)=>y.concat(...w.$errors),[]);return p.concat(v)}),a=ne(()=>r.value.some(p=>p.$invalid)||V(e.$invalid)||!1),l=ne(()=>r.value.some(p=>V(p.$pending))||V(e.$pending)||!1),u=ne(()=>r.value.some(p=>p.$dirty)||r.value.some(p=>p.$anyDirty)||s.value),c=ne(()=>s.value?l.value||a.value:!1),f=()=>{e.$touch(),r.value.forEach(p=>{p.$touch()})},d=()=>{e.$commit(),r.value.forEach(p=>{p.$commit()})},m=()=>{e.$reset(),r.value.forEach(p=>{p.$reset()})};return r.value.length&&r.value.every(p=>p.$dirty)&&f(),{$dirty:s,$errors:o,$invalid:a,$anyDirty:u,$error:c,$pending:l,$touch:f,$reset:m,$silentErrors:i,$commit:d}}function Tl(e){let{validations:t,state:n,key:r,parentKey:s,childResults:i,resultsCache:o,globalConfig:a={},instance:l,externalResults:u}=e;const c=s?`${s}.${r}`:r,{rules:f,nestedValidators:d,config:m,validationGroups:p}=JN(t),v=Sn(Sn({},a),m),y=r?ne(()=>{const pe=V(n);return pe?V(pe[r]):void 0}):n,w=Sn({},V(u)||{}),S=ne(()=>{const pe=V(u);return r?pe?V(pe[r]):void 0:pe}),E=ZN(f,y,r,o,c,v,l,S,n),A=eL(d,y,c,o,v,l,S),C={};p&&Object.entries(p).forEach(pe=>{let[Ee,be]=pe;C[Ee]={$invalid:Ra(be,A,"$invalid"),$error:Ra(be,A,"$error"),$pending:Ra(be,A,"$pending"),$errors:$d(be,A,"$errors"),$silentErrors:$d(be,A,"$silentErrors")}});const{$dirty:O,$errors:I,$invalid:$,$anyDirty:P,$error:q,$pending:ie,$touch:Q,$reset:le,$silentErrors:je,$commit:Ce}=tL(E,A,i),ee=r?ne({get:()=>V(y),set:pe=>{O.value=!0;const Ee=V(n),be=V(u);be&&(be[r]=w[r]),He(Ee[r])?Ee[r].value=pe:Ee[r]=pe}}):null;r&&v.$autoDirty&&it(y,()=>{O.value||Q();const pe=V(u);pe&&(pe[r]=w[r])},{flush:"sync"});async function ae(){return Q(),v.$rewardEarly&&(Ce(),await Ms()),await Ms(),new Promise(pe=>{if(!ie.value)return pe(!$.value);const Ee=it(ie,()=>{pe(!$.value),Ee()})})}function de(pe){return(i.value||{})[pe]}function xe(){He(u)?u.value=w:Object.keys(w).length===0?Object.keys(u).forEach(pe=>{delete u[pe]}):Object.assign(u,w)}return Vn(Sn(Sn(Sn({},E),{},{$model:ee,$dirty:O,$error:q,$errors:I,$invalid:$,$anyDirty:P,$pending:ie,$touch:Q,$reset:le,$path:c||QN,$silentErrors:je,$validate:ae,$commit:Ce},i&&{$getResultsForChild:de,$clearExternalResults:xe,$validationGroups:C}),A))}class nL{constructor(){this.storage=new Map}set(t,n,r){this.storage.set(t,{rules:n,result:r})}checkRulesValidity(t,n,r){const s=Object.keys(r),i=Object.keys(n);return i.length!==s.length||!i.every(a=>s.includes(a))?!1:i.every(a=>n[a].$params?Object.keys(n[a].$params).every(l=>V(r[a].$params[l])===V(n[a].$params[l])):!0)}get(t,n){const r=this.storage.get(t);if(!r)return;const{rules:s,result:i}=r,o=this.checkRulesValidity(t,n,s),a=i.$unwatch?i.$unwatch:()=>({});return o?i:{$dirty:i.$dirty,$partial:!0,$unwatch:a}}}const zi={COLLECT_ALL:!0,COLLECT_NONE:!1},Dd=Symbol("vuelidate#injectChildResults"),Md=Symbol("vuelidate#removeChildResults");function rL(e){let{$scope:t,instance:n}=e;const r={},s=ge([]),i=ne(()=>s.value.reduce((c,f)=>(c[f]=V(r[f]),c),{}));function o(c,f){let{$registerAs:d,$scope:m,$stopPropagation:p}=f;p||t===zi.COLLECT_NONE||m===zi.COLLECT_NONE||t!==zi.COLLECT_ALL&&t!==m||(r[d]=c,s.value.push(d))}n.__vuelidateInjectInstances=[].concat(n.__vuelidateInjectInstances||[],o);function a(c){s.value=s.value.filter(f=>f!==c),delete r[c]}n.__vuelidateRemoveInstances=[].concat(n.__vuelidateRemoveInstances||[],a);const l=st(Dd,[]);cr(Dd,n.__vuelidateInjectInstances);const u=st(Md,[]);return cr(Md,n.__vuelidateRemoveInstances),{childResults:i,sendValidationResultsToParent:l,removeValidationResultsFromParent:u}}function xg(e){return new Proxy(e,{get(t,n){return typeof t[n]=="object"?xg(t[n]):ne(()=>t[n])}})}let Fd=0;function kg(e,t){var n;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(r=e,e=void 0,t=void 0);let{$registerAs:s,$scope:i=zi.COLLECT_ALL,$stopPropagation:o,$externalResults:a,currentVueInstance:l}=r;const u=l||((n=Wr())===null||n===void 0?void 0:n.proxy),c=u?u.$options:{};s||(Fd+=1,s=`_vuelidate_${Fd}`);const f=ge({}),d=new nL,{childResults:m,sendValidationResultsToParent:p,removeValidationResultsFromParent:v}=u?rL({$scope:i,instance:u}):{childResults:ge({})};if(!e&&c.validations){const y=c.validations;t=ge({}),tc(()=>{t.value=u,it(()=>uo(y)?y.call(t.value,new xg(t.value)):y,w=>{f.value=Tl({validations:w,state:t,childResults:m,resultsCache:d,globalConfig:r,instance:u,externalResults:a||u.vuelidateExternalResults})},{immediate:!0})}),r=c.validationsConfig||r}else{const y=He(e)||zN(e)?e:Vn(e||{});it(y,w=>{f.value=Tl({validations:w,state:t,childResults:m,resultsCache:d,globalConfig:r,instance:u??{},externalResults:a})},{immediate:!0})}return u&&(p.forEach(y=>y(f,{$registerAs:s,$scope:i,$stopPropagation:o})),Km(()=>v.forEach(y=>y(s)))),ne(()=>Sn(Sn({},V(f.value)),m.value))}function jd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function $g(e){for(var t=1;t{if(e=V(e),Array.isArray(e))return!!e.length;if(e==null)return!1;if(e===!1)return!0;if(e instanceof Date)return!isNaN(e.getTime());if(typeof e=="object"){for(let t in e)return!0;return!1}return!!String(e).length},aL=e=>(e=V(e),Array.isArray(e)?e.length:typeof e=="object"?Object.keys(e).length:String(e).length);function wr(){for(var e=arguments.length,t=new Array(e),n=0;n(r=V(r),!jc(r)||t.every(s=>(s.lastIndex=0,s.test(r))))}wr(/^[a-zA-Z]*$/);wr(/^[a-zA-Z0-9]*$/);wr(/^\d*(\.\d+)?$/);const lL=/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;wr(lL);function cL(e){return t=>!jc(t)||aL(t)>=V(e)}function uL(e){return{$validator:cL(e),$message:t=>{let{$params:n}=t;return`This field should be at least ${n.min} characters long`},$params:{min:e,type:"minLength"}}}function fL(e){return typeof e=="string"&&(e=e.trim()),jc(e)}var Dg={$validator:fL,$message:"Value is required",$params:{type:"required"}};function dL(e){return t=>V(t)===V(e)}function mL(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"other";return{$validator:dL(e),$message:n=>`The value must be equal to the ${t} value`,$params:{equalTo:e,otherName:t,type:"sameAs"}}}const hL=/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;wr(hL);wr(/(^[0-9]*$)|(^-[0-9]+$)/);wr(/^[-]?\d*(\.\d+)?$/);function Mg(e){let{t,messagePath:n=s=>{let{$validator:i}=s;return`validations.${i}`},messageParams:r=s=>s}=e;return function(i){let{withArguments:o=!1,messagePath:a=n,messageParams:l=r}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};function u(c){return t(a(c),l($g({model:c.$model,property:c.$property,pending:c.$pending,invalid:c.$invalid,response:c.$response,validator:c.$validator,propertyPath:c.$propertyPath},c.$params)))}return o&&typeof i=="function"?function(){return Ud(u,i(...arguments))}:Ud(u,i)}}const pL={class:"container d-flex flex-column justify-content-center align-items-center"},gL={class:"row mt-5"},_L={class:"col"},vL={class:"card"},bL={class:"card-header bg-primary p-4"},yL={class:"mb-0"},EL={class:"card-body bg-body-secondary"},wL={class:"d-flex flex-column gap-3 mt-3"},AL={class:"mb-3"},TL={for:"input-username"},OL={key:0,class:"text-danger ps-3"},SL={class:"mb-3"},CL={for:"input-username"},NL={key:0,class:"text-danger ps-3"},LL={class:"mb-3 d-flex justify-content-between"},IL={key:0,class:"alert alert-danger",role:"alert"},PL=Xe({__name:"LoginPage",setup(e){const{t}=Qt(),n=ko(),r=st(xc),s=ge(""),i=ge(""),o=ge(""),a=ge(!1);function l(){if(d.value.$touch(),d.value.$error){o.value=t("forms.validate-fields"),setTimeout(()=>{o.value=""},3e3);return}else o.value="";const m={username:s.value,password:i.value};a.value=!0,Lg.loginUser(m).then(p=>{n.setUser(p)}).catch(p=>{console.error(p);const v=t("login.error.process");r!==void 0?r(t("common.error.generic"),v):alert(v)}).finally(()=>{a.value=!1})}const c=Mg({t})(Dg),f=ne(()=>({username:{inputRequired:c},password:{inputRequired:c}})),d=kg(f,{username:s,password:i});return(m,p)=>(Oe(),Ie("div",pL,[k("div",gL,[k("div",_L,[k("div",vL,[k("div",bL,[k("h2",yL,ue(V(t)("login.loginHeader")),1)]),k("div",EL,[k("div",wL,[k("div",AL,[k("label",TL,[Ye(ue(V(t)("login.username"))+" ",1),V(d).username.$error?(Oe(),Ie("span",OL,ue(V(d).username.$errors[0].$message),1)):Nn("",!0)]),ws(k("input",{"onUpdate:modelValue":p[0]||(p[0]=v=>s.value=v),type:"text",id:"input-username",class:Nt(["form-control",[{"border-danger":V(d).username.$error}]]),onBlur:p[1]||(p[1]=(...v)=>V(d).username.$touch&&V(d).username.$touch(...v))},null,34),[[Os,s.value]])]),k("div",SL,[k("label",CL,[Ye(ue(V(t)("login.password"))+" ",1),V(d).password.$error?(Oe(),Ie("span",NL,ue(V(d).password.$errors[0].$message),1)):Nn("",!0)]),ws(k("input",{"onUpdate:modelValue":p[2]||(p[2]=v=>i.value=v),type:"password",id:"input-username",class:Nt(["form-control",[{"border-danger":V(d).password.$error}]]),onBlur:p[3]||(p[3]=(...v)=>V(d).password.$touch&&V(d).password.$touch(...v))},null,34),[[Os,i.value]])]),k("div",LL,[ye(V(tr),{to:"/signup",class:"btn btn-outline-primary"},{default:er(()=>[Ye(ue(V(t)("login.signupLinkButton")),1)]),_:1}),k("button",{class:"btn btn-primary",onClick:l},ue(V(t)("login.loginButton")),1)]),o.value?(Oe(),Ie("div",IL,ue(o.value),1)):Nn("",!0)])])])])])]))}}),RL={class:"container d-flex flex-column justify-content-center align-items-center"},xL={class:"row mt-5"},kL={class:"col"},$L={class:"card"},DL={class:"card-header bg-primary p-4"},ML={class:"mb-0"},FL={class:"card-body bg-body-secondary"},jL={class:"d-flex flex-column gap-3 mt-3"},UL={class:"mb-3"},HL={for:"input-username"},VL={key:0,class:"text-danger ps-3"},BL={class:"mb-3"},WL={for:"input-username"},YL={key:0,class:"text-danger ps-3"},KL={class:"mb-3"},zL={for:"input-username-repeat"},GL={key:0,class:"text-danger ps-3"},qL={class:"mb-3 d-flex justify-content-between"},XL=["disabled"],JL={key:0,class:"alert alert-danger",role:"alert"},QL=Xe({__name:"SignupPage",setup(e){const{t}=Qt(),n=ko(),r=st(xc),s=ge(""),i=ge(""),o=ge(""),a=ge(""),l=ge(!1);function u(){if(m.value.$touch(),m.value.$error){a.value=t("forms.validate-fields"),setTimeout(()=>{a.value=""},3e3);return}else a.value="";const p={username:s.value,password:i.value};l.value=!0,Lg.signupUser(p).then(v=>{n.setUser(v)}).catch(v=>{console.error(v);const y=t("signup.error.process");r!==void 0?r(t("common.error.generic"),y):alert(y)}).finally(()=>{l.value=!1})}const c=Mg({t}),f=c(Dg),d=ne(()=>({username:{inputRequired:f},password:{inputRequired:f,minLength:c(uL(10))},passwordRepeat:{inputRequired:f,sameAs:c(mL(i.value,t("login.password")))}})),m=kg(d,{username:s,password:i,passwordRepeat:o});return(p,v)=>{const y=ec("font-awesome-icon");return Oe(),Ie("div",RL,[k("div",xL,[k("div",kL,[k("div",$L,[k("div",DL,[k("h2",ML,ue(V(t)("signup.signupHeader")),1)]),k("div",FL,[k("div",jL,[k("div",UL,[k("label",HL,[Ye(ue(V(t)("login.username"))+" ",1),V(m).username.$error?(Oe(),Ie("span",VL,ue(V(m).username.$errors[0].$message),1)):Nn("",!0)]),ws(k("input",{type:"text",id:"input-username",class:Nt(["form-control",[{"border-danger":V(m).username.$error}]]),"onUpdate:modelValue":v[0]||(v[0]=w=>s.value=w),onBlur:v[1]||(v[1]=(...w)=>V(m).username.$touch&&V(m).username.$touch(...w))},null,34),[[Os,s.value]])]),k("div",BL,[k("label",WL,[Ye(ue(V(t)("login.password"))+" ",1),V(m).password.$error?(Oe(),Ie("span",YL,ue(V(m).password.$errors[0].$message),1)):Nn("",!0)]),ws(k("input",{type:"password",id:"input-username",class:Nt(["form-control",[{"border-danger":V(m).password.$error}]]),"onUpdate:modelValue":v[2]||(v[2]=w=>i.value=w),onBlur:v[3]||(v[3]=(...w)=>V(m).password.$touch&&V(m).password.$touch(...w))},null,34),[[Os,i.value]])]),k("div",KL,[k("label",zL,[Ye(ue(V(t)("signup.password-repeat"))+" ",1),V(m).passwordRepeat.$error?(Oe(),Ie("span",GL,ue(V(m).passwordRepeat.$errors[0].$message),1)):Nn("",!0)]),ws(k("input",{type:"password",id:"input-username-repeat",class:Nt(["form-control",[{"border-danger":V(m).passwordRepeat.$error}]]),"onUpdate:modelValue":v[4]||(v[4]=w=>o.value=w),onBlur:v[5]||(v[5]=(...w)=>V(m).passwordRepeat.$touch&&V(m).passwordRepeat.$touch(...w))},null,34),[[Os,o.value]])]),k("div",qL,[ye(V(tr),{to:"/login",class:"btn btn-outline-primary"},{default:er(()=>[Ye(ue(V(t)("signup.loginLinkButton")),1)]),_:1}),k("button",{class:"btn btn-primary",onClick:u,disabled:l.value},[l.value?(Oe(),fh(y,{key:0,icon:["fas","spinner"],spin:""})):Nn("",!0),Ye(" "+ue(V(t)("signup.signupButton")),1)],8,XL)]),a.value?(Oe(),Ie("div",JL,ue(a.value),1)):Nn("",!0)])])])])])])}}}),ZL=Xe({__name:"GamePage",setup(e){const{t}=Qt();return(n,r)=>(Oe(),Ie("div",null,ue(V(t)("about.whatis")),1))}}),eI={class:"row"},tI={class:"card"},nI={class:"card-header"},rI={class:"card-body"},sI={class:"row"},iI={class:"col"},oI={class:"d-flex justify-content-around align-items-center"},aI={class:"btn btn-sm btn-primary"},lI={class:"btn btn-sm btn-primary"},cI=Xe({__name:"BoardSelector",setup(e){const t=ge([{id:1,boardName:"mockBoard"},{id:2,boardName:"test Mock"},{id:3,boardName:"Mocka Board"},{id:4,boardName:"Mocka Board 2"}]);return(n,r)=>{const s=ec("font-awesome-icon");return Oe(),Ie("div",eI,[(Oe(!0),Ie(lt,null,nc(t.value,i=>(Oe(),Ie("div",{key:i.id,class:"col-4 mb-3"},[k("div",tI,[k("div",nI,ue(i.boardName),1),k("div",rI,[k("div",sI,[k("div",iI,[k("div",oI,[k("button",aI,[ye(s,{icon:["fas","edit"]}),Ye(" Edit ")]),k("button",lI,[ye(s,{icon:["fas","play"]}),Ye(" Play ")])])])])])])]))),128))])}}}),uI={class:"d-flex flex-column justify-content-center align-items-center mt-5"},fI={class:"ratio ratio-1x1 border rounded-5",style:{width:"15rem"}},dI=["src"],mI={class:"fs-3"},hI={class:"row bg-body-secondary w-100 py-4"},pI={class:"col text-center"},gI={class:"container"},_I={class:"row w-100 py-4 mb-5"},vI={class:"col text-center"},bI={class:"btn btn-outline-primary"},yI=Xe({__name:"ProfilePage",setup(e){Qt();const t=ko(),n=ne(()=>t.profilePicture===null?"/src/assets/images/PFP_BearHead.svg":t.profilePicture);return(r,s)=>(Oe(),Ie("div",uI,[k("h1",null,ue(r.$t("profile.yourProfile")),1),k("div",fI,[k("img",{src:n.value,alt:"Your Profile Picture"},null,8,dI)]),k("p",mI,ue(V(t).username),1),k("div",hI,[k("div",pI,[k("h2",null,ue(r.$t("profile.yourBoards")),1),k("div",gI,[ye(cI)])])]),k("div",_I,[k("div",vI,[k("h2",null,ue(r.$t("settings.heading")),1),k("button",bI,ue(r.$t("profile.gotoSettings")),1)])])]))}}),EI=j1({history:p1("/"),routes:[{path:"/",name:"home",component:BN},{path:"/about",name:"about",component:WN},{path:"/login",name:"login",component:PL},{path:"/signup",name:"signup",component:QL},{path:"/profile",name:"profile",component:yI},{path:"/game",name:"Game",component:ZL}]});function Hd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function X(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1;s--){var i=n[s],o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=i)}return Me.head.insertBefore(t,r),e}}var zI="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Xs(){for(var e=12,t="";e-- >0;)t+=zI[Math.random()*62|0];return t}function ds(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Yc(e){return e.classList?ds(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function qg(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function GI(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(qg(e[n]),'" ')},"").trim()}function Go(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function Kc(e){return e.size!==zt.size||e.x!==zt.x||e.y!==zt.y||e.rotate!==zt.rotate||e.flipX||e.flipY}function qI(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,s={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(i," ").concat(o," ").concat(a)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:s,inner:l,path:u}}function XI(e){var t=e.transform,n=e.width,r=n===void 0?Cl:n,s=e.height,i=s===void 0?Cl:s,o=e.startCentered,a=o===void 0?!1:o,l="";return a&&Vg?l+="translate(".concat(t.x/En-r/2,"em, ").concat(t.y/En-i/2,"em) "):a?l+="translate(calc(-50% + ".concat(t.x/En,"em), calc(-50% + ").concat(t.y/En,"em)) "):l+="translate(".concat(t.x/En,"em, ").concat(t.y/En,"em) "),l+="scale(".concat(t.size/En*(t.flipX?-1:1),", ").concat(t.size/En*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var JI=`:root, :host { - --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid"; - --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular"; - --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light"; - --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin"; - --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; - --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp"; - --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; -} - -svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { - overflow: visible; - box-sizing: content-box; -} - -.svg-inline--fa { - display: var(--fa-display, inline-block); - height: 1em; - overflow: visible; - vertical-align: -0.125em; -} -.svg-inline--fa.fa-2xs { - vertical-align: 0.1em; -} -.svg-inline--fa.fa-xs { - vertical-align: 0em; -} -.svg-inline--fa.fa-sm { - vertical-align: -0.0714285705em; -} -.svg-inline--fa.fa-lg { - vertical-align: -0.2em; -} -.svg-inline--fa.fa-xl { - vertical-align: -0.25em; -} -.svg-inline--fa.fa-2xl { - vertical-align: -0.3125em; -} -.svg-inline--fa.fa-pull-left { - margin-right: var(--fa-pull-margin, 0.3em); - width: auto; -} -.svg-inline--fa.fa-pull-right { - margin-left: var(--fa-pull-margin, 0.3em); - width: auto; -} -.svg-inline--fa.fa-li { - width: var(--fa-li-width, 2em); - top: 0.25em; -} -.svg-inline--fa.fa-fw { - width: var(--fa-fw-width, 1.25em); -} - -.fa-layers svg.svg-inline--fa { - bottom: 0; - left: 0; - margin: auto; - position: absolute; - right: 0; - top: 0; -} - -.fa-layers-counter, .fa-layers-text { - display: inline-block; - position: absolute; - text-align: center; -} - -.fa-layers { - display: inline-block; - height: 1em; - position: relative; - text-align: center; - vertical-align: -0.125em; - width: 1em; -} -.fa-layers svg.svg-inline--fa { - -webkit-transform-origin: center center; - transform-origin: center center; -} - -.fa-layers-text { - left: 50%; - top: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); - -webkit-transform-origin: center center; - transform-origin: center center; -} - -.fa-layers-counter { - background-color: var(--fa-counter-background-color, #ff253a); - border-radius: var(--fa-counter-border-radius, 1em); - box-sizing: border-box; - color: var(--fa-inverse, #fff); - line-height: var(--fa-counter-line-height, 1); - max-width: var(--fa-counter-max-width, 5em); - min-width: var(--fa-counter-min-width, 1.5em); - overflow: hidden; - padding: var(--fa-counter-padding, 0.25em 0.5em); - right: var(--fa-right, 0); - text-overflow: ellipsis; - top: var(--fa-top, 0); - -webkit-transform: scale(var(--fa-counter-scale, 0.25)); - transform: scale(var(--fa-counter-scale, 0.25)); - -webkit-transform-origin: top right; - transform-origin: top right; -} - -.fa-layers-bottom-right { - bottom: var(--fa-bottom, 0); - right: var(--fa-right, 0); - top: auto; - -webkit-transform: scale(var(--fa-layers-scale, 0.25)); - transform: scale(var(--fa-layers-scale, 0.25)); - -webkit-transform-origin: bottom right; - transform-origin: bottom right; -} - -.fa-layers-bottom-left { - bottom: var(--fa-bottom, 0); - left: var(--fa-left, 0); - right: auto; - top: auto; - -webkit-transform: scale(var(--fa-layers-scale, 0.25)); - transform: scale(var(--fa-layers-scale, 0.25)); - -webkit-transform-origin: bottom left; - transform-origin: bottom left; -} - -.fa-layers-top-right { - top: var(--fa-top, 0); - right: var(--fa-right, 0); - -webkit-transform: scale(var(--fa-layers-scale, 0.25)); - transform: scale(var(--fa-layers-scale, 0.25)); - -webkit-transform-origin: top right; - transform-origin: top right; -} - -.fa-layers-top-left { - left: var(--fa-left, 0); - right: auto; - top: var(--fa-top, 0); - -webkit-transform: scale(var(--fa-layers-scale, 0.25)); - transform: scale(var(--fa-layers-scale, 0.25)); - -webkit-transform-origin: top left; - transform-origin: top left; -} - -.fa-1x { - font-size: 1em; -} - -.fa-2x { - font-size: 2em; -} - -.fa-3x { - font-size: 3em; -} - -.fa-4x { - font-size: 4em; -} - -.fa-5x { - font-size: 5em; -} - -.fa-6x { - font-size: 6em; -} - -.fa-7x { - font-size: 7em; -} - -.fa-8x { - font-size: 8em; -} - -.fa-9x { - font-size: 9em; -} - -.fa-10x { - font-size: 10em; -} - -.fa-2xs { - font-size: 0.625em; - line-height: 0.1em; - vertical-align: 0.225em; -} - -.fa-xs { - font-size: 0.75em; - line-height: 0.0833333337em; - vertical-align: 0.125em; -} - -.fa-sm { - font-size: 0.875em; - line-height: 0.0714285718em; - vertical-align: 0.0535714295em; -} - -.fa-lg { - font-size: 1.25em; - line-height: 0.05em; - vertical-align: -0.075em; -} - -.fa-xl { - font-size: 1.5em; - line-height: 0.0416666682em; - vertical-align: -0.125em; -} - -.fa-2xl { - font-size: 2em; - line-height: 0.03125em; - vertical-align: -0.1875em; -} - -.fa-fw { - text-align: center; - width: 1.25em; -} - -.fa-ul { - list-style-type: none; - margin-left: var(--fa-li-margin, 2.5em); - padding-left: 0; -} -.fa-ul > li { - position: relative; -} - -.fa-li { - left: calc(var(--fa-li-width, 2em) * -1); - position: absolute; - text-align: center; - width: var(--fa-li-width, 2em); - line-height: inherit; -} - -.fa-border { - border-color: var(--fa-border-color, #eee); - border-radius: var(--fa-border-radius, 0.1em); - border-style: var(--fa-border-style, solid); - border-width: var(--fa-border-width, 0.08em); - padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); -} - -.fa-pull-left { - float: left; - margin-right: var(--fa-pull-margin, 0.3em); -} - -.fa-pull-right { - float: right; - margin-left: var(--fa-pull-margin, 0.3em); -} - -.fa-beat { - -webkit-animation-name: fa-beat; - animation-name: fa-beat; - -webkit-animation-delay: var(--fa-animation-delay, 0s); - animation-delay: var(--fa-animation-delay, 0s); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); - animation-timing-function: var(--fa-animation-timing, ease-in-out); -} - -.fa-bounce { - -webkit-animation-name: fa-bounce; - animation-name: fa-bounce; - -webkit-animation-delay: var(--fa-animation-delay, 0s); - animation-delay: var(--fa-animation-delay, 0s); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); -} - -.fa-fade { - -webkit-animation-name: fa-fade; - animation-name: fa-fade; - -webkit-animation-delay: var(--fa-animation-delay, 0s); - animation-delay: var(--fa-animation-delay, 0s); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); -} - -.fa-beat-fade { - -webkit-animation-name: fa-beat-fade; - animation-name: fa-beat-fade; - -webkit-animation-delay: var(--fa-animation-delay, 0s); - animation-delay: var(--fa-animation-delay, 0s); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); -} - -.fa-flip { - -webkit-animation-name: fa-flip; - animation-name: fa-flip; - -webkit-animation-delay: var(--fa-animation-delay, 0s); - animation-delay: var(--fa-animation-delay, 0s); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); - animation-timing-function: var(--fa-animation-timing, ease-in-out); -} - -.fa-shake { - -webkit-animation-name: fa-shake; - animation-name: fa-shake; - -webkit-animation-delay: var(--fa-animation-delay, 0s); - animation-delay: var(--fa-animation-delay, 0s); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, linear); - animation-timing-function: var(--fa-animation-timing, linear); -} - -.fa-spin { - -webkit-animation-name: fa-spin; - animation-name: fa-spin; - -webkit-animation-delay: var(--fa-animation-delay, 0s); - animation-delay: var(--fa-animation-delay, 0s); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 2s); - animation-duration: var(--fa-animation-duration, 2s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, linear); - animation-timing-function: var(--fa-animation-timing, linear); -} - -.fa-spin-reverse { - --fa-animation-direction: reverse; -} - -.fa-pulse, -.fa-spin-pulse { - -webkit-animation-name: fa-spin; - animation-name: fa-spin; - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, steps(8)); - animation-timing-function: var(--fa-animation-timing, steps(8)); -} - -@media (prefers-reduced-motion: reduce) { - .fa-beat, -.fa-bounce, -.fa-fade, -.fa-beat-fade, -.fa-flip, -.fa-pulse, -.fa-shake, -.fa-spin, -.fa-spin-pulse { - -webkit-animation-delay: -1ms; - animation-delay: -1ms; - -webkit-animation-duration: 1ms; - animation-duration: 1ms; - -webkit-animation-iteration-count: 1; - animation-iteration-count: 1; - -webkit-transition-delay: 0s; - transition-delay: 0s; - -webkit-transition-duration: 0s; - transition-duration: 0s; - } -} -@-webkit-keyframes fa-beat { - 0%, 90% { - -webkit-transform: scale(1); - transform: scale(1); - } - 45% { - -webkit-transform: scale(var(--fa-beat-scale, 1.25)); - transform: scale(var(--fa-beat-scale, 1.25)); - } -} -@keyframes fa-beat { - 0%, 90% { - -webkit-transform: scale(1); - transform: scale(1); - } - 45% { - -webkit-transform: scale(var(--fa-beat-scale, 1.25)); - transform: scale(var(--fa-beat-scale, 1.25)); - } -} -@-webkit-keyframes fa-bounce { - 0% { - -webkit-transform: scale(1, 1) translateY(0); - transform: scale(1, 1) translateY(0); - } - 10% { - -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); - transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); - } - 30% { - -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); - transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); - } - 50% { - -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); - transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); - } - 57% { - -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); - transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); - } - 64% { - -webkit-transform: scale(1, 1) translateY(0); - transform: scale(1, 1) translateY(0); - } - 100% { - -webkit-transform: scale(1, 1) translateY(0); - transform: scale(1, 1) translateY(0); - } -} -@keyframes fa-bounce { - 0% { - -webkit-transform: scale(1, 1) translateY(0); - transform: scale(1, 1) translateY(0); - } - 10% { - -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); - transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); - } - 30% { - -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); - transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); - } - 50% { - -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); - transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); - } - 57% { - -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); - transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); - } - 64% { - -webkit-transform: scale(1, 1) translateY(0); - transform: scale(1, 1) translateY(0); - } - 100% { - -webkit-transform: scale(1, 1) translateY(0); - transform: scale(1, 1) translateY(0); - } -} -@-webkit-keyframes fa-fade { - 50% { - opacity: var(--fa-fade-opacity, 0.4); - } -} -@keyframes fa-fade { - 50% { - opacity: var(--fa-fade-opacity, 0.4); - } -} -@-webkit-keyframes fa-beat-fade { - 0%, 100% { - opacity: var(--fa-beat-fade-opacity, 0.4); - -webkit-transform: scale(1); - transform: scale(1); - } - 50% { - opacity: 1; - -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); - transform: scale(var(--fa-beat-fade-scale, 1.125)); - } -} -@keyframes fa-beat-fade { - 0%, 100% { - opacity: var(--fa-beat-fade-opacity, 0.4); - -webkit-transform: scale(1); - transform: scale(1); - } - 50% { - opacity: 1; - -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); - transform: scale(var(--fa-beat-fade-scale, 1.125)); - } -} -@-webkit-keyframes fa-flip { - 50% { - -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); - transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); - } -} -@keyframes fa-flip { - 50% { - -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); - transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); - } -} -@-webkit-keyframes fa-shake { - 0% { - -webkit-transform: rotate(-15deg); - transform: rotate(-15deg); - } - 4% { - -webkit-transform: rotate(15deg); - transform: rotate(15deg); - } - 8%, 24% { - -webkit-transform: rotate(-18deg); - transform: rotate(-18deg); - } - 12%, 28% { - -webkit-transform: rotate(18deg); - transform: rotate(18deg); - } - 16% { - -webkit-transform: rotate(-22deg); - transform: rotate(-22deg); - } - 20% { - -webkit-transform: rotate(22deg); - transform: rotate(22deg); - } - 32% { - -webkit-transform: rotate(-12deg); - transform: rotate(-12deg); - } - 36% { - -webkit-transform: rotate(12deg); - transform: rotate(12deg); - } - 40%, 100% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } -} -@keyframes fa-shake { - 0% { - -webkit-transform: rotate(-15deg); - transform: rotate(-15deg); - } - 4% { - -webkit-transform: rotate(15deg); - transform: rotate(15deg); - } - 8%, 24% { - -webkit-transform: rotate(-18deg); - transform: rotate(-18deg); - } - 12%, 28% { - -webkit-transform: rotate(18deg); - transform: rotate(18deg); - } - 16% { - -webkit-transform: rotate(-22deg); - transform: rotate(-22deg); - } - 20% { - -webkit-transform: rotate(22deg); - transform: rotate(22deg); - } - 32% { - -webkit-transform: rotate(-12deg); - transform: rotate(-12deg); - } - 36% { - -webkit-transform: rotate(12deg); - transform: rotate(12deg); - } - 40%, 100% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } -} -@-webkit-keyframes fa-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} -@keyframes fa-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} -.fa-rotate-90 { - -webkit-transform: rotate(90deg); - transform: rotate(90deg); -} - -.fa-rotate-180 { - -webkit-transform: rotate(180deg); - transform: rotate(180deg); -} - -.fa-rotate-270 { - -webkit-transform: rotate(270deg); - transform: rotate(270deg); -} - -.fa-flip-horizontal { - -webkit-transform: scale(-1, 1); - transform: scale(-1, 1); -} - -.fa-flip-vertical { - -webkit-transform: scale(1, -1); - transform: scale(1, -1); -} - -.fa-flip-both, -.fa-flip-horizontal.fa-flip-vertical { - -webkit-transform: scale(-1, -1); - transform: scale(-1, -1); -} - -.fa-rotate-by { - -webkit-transform: rotate(var(--fa-rotate-angle, 0)); - transform: rotate(var(--fa-rotate-angle, 0)); -} - -.fa-stack { - display: inline-block; - vertical-align: middle; - height: 2em; - position: relative; - width: 2.5em; -} - -.fa-stack-1x, -.fa-stack-2x { - bottom: 0; - left: 0; - margin: auto; - position: absolute; - right: 0; - top: 0; - z-index: var(--fa-stack-z-index, auto); -} - -.svg-inline--fa.fa-stack-1x { - height: 1em; - width: 1.25em; -} -.svg-inline--fa.fa-stack-2x { - height: 2em; - width: 2.5em; -} - -.fa-inverse { - color: var(--fa-inverse, #fff); -} - -.sr-only, -.fa-sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; -} - -.sr-only-focusable:not(:focus), -.fa-sr-only-focusable:not(:focus) { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; -} - -.svg-inline--fa .fa-primary { - fill: var(--fa-primary-color, currentColor); - opacity: var(--fa-primary-opacity, 1); -} - -.svg-inline--fa .fa-secondary { - fill: var(--fa-secondary-color, currentColor); - opacity: var(--fa-secondary-opacity, 0.4); -} - -.svg-inline--fa.fa-swap-opacity .fa-primary { - opacity: var(--fa-secondary-opacity, 0.4); -} - -.svg-inline--fa.fa-swap-opacity .fa-secondary { - opacity: var(--fa-primary-opacity, 1); -} - -.svg-inline--fa mask .fa-primary, -.svg-inline--fa mask .fa-secondary { - fill: black; -} - -.fad.fa-inverse, -.fa-duotone.fa-inverse { - color: var(--fa-inverse, #fff); -}`;function Xg(){var e=Bg,t=Wg,n=Z.cssPrefix,r=Z.replacementClass,s=JI;if(n!==e||r!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(t),"g");s=s.replace(i,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(a,".".concat(r))}return s}var zd=!1;function xa(){Z.autoAddCss&&!zd&&(KI(Xg()),zd=!0)}var QI={mixout:function(){return{dom:{css:Xg,insertCss:xa}}},hooks:function(){return{beforeDOMElementCreation:function(){xa()},beforeI2svg:function(){xa()}}}},fn=Mn||{};fn[un]||(fn[un]={});fn[un].styles||(fn[un].styles={});fn[un].hooks||(fn[un].hooks={});fn[un].shims||(fn[un].shims=[]);var Dt=fn[un],Jg=[],ZI=function e(){Me.removeEventListener("DOMContentLoaded",e),mo=1,Jg.map(function(t){return t()})},mo=!1;pn&&(mo=(Me.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Me.readyState),mo||Me.addEventListener("DOMContentLoaded",ZI));function eP(e){pn&&(mo?setTimeout(e,0):Jg.push(e))}function ui(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,s=e.children,i=s===void 0?[]:s;return typeof e=="string"?qg(e):"<".concat(t," ").concat(GI(r),">").concat(i.map(ui).join(""),"")}function Gd(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var ka=function(t,n,r,s){var i=Object.keys(t),o=i.length,a=n,l,u,c;for(r===void 0?(l=1,c=t[i[0]]):(l=0,c=r);l=55296&&s<=56319&&n=55296&&r<=56319&&n>t+1&&(s=e.charCodeAt(t+1),s>=56320&&s<=57343)?(r-55296)*1024+s-56320+65536:r}function qd(e){return Object.keys(e).reduce(function(t,n){var r=e[n],s=!!r.icon;return s?t[r.iconName]=r.icon:t[n]=r,t},{})}function Il(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,s=r===void 0?!1:r,i=qd(t);typeof Dt.hooks.addPack=="function"&&!s?Dt.hooks.addPack(e,qd(t)):Dt.styles[e]=X(X({},Dt.styles[e]||{}),i),e==="fas"&&Il("fa",t)}var xi,ki,$i,$r=Dt.styles,rP=Dt.shims,sP=(xi={},qe(xi,$e,Object.values(Gs[$e])),qe(xi,Ve,Object.values(Gs[Ve])),xi),zc=null,Qg={},Zg={},e_={},t_={},n_={},iP=(ki={},qe(ki,$e,Object.keys(Ks[$e])),qe(ki,Ve,Object.keys(Ks[Ve])),ki);function oP(e){return~HI.indexOf(e)}function aP(e,t){var n=t.split("-"),r=n[0],s=n.slice(1).join("-");return r===e&&s!==""&&!oP(s)?s:null}var r_=function(){var t=function(i){return ka($r,function(o,a,l){return o[l]=ka(a,i,{}),o},{})};Qg=t(function(s,i,o){if(i[3]&&(s[i[3]]=o),i[2]){var a=i[2].filter(function(l){return typeof l=="number"});a.forEach(function(l){s[l.toString(16)]=o})}return s}),Zg=t(function(s,i,o){if(s[o]=o,i[2]){var a=i[2].filter(function(l){return typeof l=="string"});a.forEach(function(l){s[l]=o})}return s}),n_=t(function(s,i,o){var a=i[2];return s[o]=o,a.forEach(function(l){s[l]=o}),s});var n="far"in $r||Z.autoFetchSvg,r=ka(rP,function(s,i){var o=i[0],a=i[1],l=i[2];return a==="far"&&!n&&(a="fas"),typeof o=="string"&&(s.names[o]={prefix:a,iconName:l}),typeof o=="number"&&(s.unicodes[o.toString(16)]={prefix:a,iconName:l}),s},{names:{},unicodes:{}});e_=r.names,t_=r.unicodes,zc=qo(Z.styleDefault,{family:Z.familyDefault})};YI(function(e){zc=qo(e.styleDefault,{family:Z.familyDefault})});r_();function Gc(e,t){return(Qg[e]||{})[t]}function lP(e,t){return(Zg[e]||{})[t]}function or(e,t){return(n_[e]||{})[t]}function s_(e){return e_[e]||{prefix:null,iconName:null}}function cP(e){var t=t_[e],n=Gc("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Fn(){return zc}var qc=function(){return{prefix:null,iconName:null,rest:[]}};function qo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?$e:n,s=Ks[r][e],i=zs[r][e]||zs[r][s],o=e in Dt.styles?e:null;return i||o||null}var Xd=($i={},qe($i,$e,Object.keys(Gs[$e])),qe($i,Ve,Object.keys(Gs[Ve])),$i);function Xo(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,s=r===void 0?!1:r,i=(t={},qe(t,$e,"".concat(Z.cssPrefix,"-").concat($e)),qe(t,Ve,"".concat(Z.cssPrefix,"-").concat(Ve)),t),o=null,a=$e;(e.includes(i[$e])||e.some(function(u){return Xd[$e].includes(u)}))&&(a=$e),(e.includes(i[Ve])||e.some(function(u){return Xd[Ve].includes(u)}))&&(a=Ve);var l=e.reduce(function(u,c){var f=aP(Z.cssPrefix,c);if($r[c]?(c=sP[a].includes(c)?$I[a][c]:c,o=c,u.prefix=c):iP[a].indexOf(c)>-1?(o=c,u.prefix=qo(c,{family:a})):f?u.iconName=f:c!==Z.replacementClass&&c!==i[$e]&&c!==i[Ve]&&u.rest.push(c),!s&&u.prefix&&u.iconName){var d=o==="fa"?s_(u.iconName):{},m=or(u.prefix,u.iconName);d.prefix&&(o=null),u.iconName=d.iconName||m||u.iconName,u.prefix=d.prefix||u.prefix,u.prefix==="far"&&!$r.far&&$r.fas&&!Z.autoFetchSvg&&(u.prefix="fas")}return u},qc());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),!l.prefix&&a===Ve&&($r.fass||Z.autoFetchSvg)&&(l.prefix="fass",l.iconName=or(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||o==="fa")&&(l.prefix=Fn()||"fas"),l}var uP=function(){function e(){wI(this,e),this.definitions={}}return TI(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,s=new Array(r),i=0;i0&&c.forEach(function(f){typeof f=="string"&&(n[a][f]=u)}),n[a][l]=u}),n}}]),e}(),Jd=[],Dr={},Hr={},fP=Object.keys(Hr);function dP(e,t){var n=t.mixoutsTo;return Jd=e,Dr={},Object.keys(Hr).forEach(function(r){fP.indexOf(r)===-1&&delete Hr[r]}),Jd.forEach(function(r){var s=r.mixout?r.mixout():{};if(Object.keys(s).forEach(function(o){typeof s[o]=="function"&&(n[o]=s[o]),fo(s[o])==="object"&&Object.keys(s[o]).forEach(function(a){n[o]||(n[o]={}),n[o][a]=s[o][a]})}),r.hooks){var i=r.hooks();Object.keys(i).forEach(function(o){Dr[o]||(Dr[o]=[]),Dr[o].push(i[o])})}r.provides&&r.provides(Hr)}),n}function Pl(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),s=2;s1?t-1:0),r=1;r0&&arguments[0]!==void 0?arguments[0]:{};return pn?(vr("beforeI2svg",t),dn("pseudoElements2svg",t),dn("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;Z.autoReplaceSvg===!1&&(Z.autoReplaceSvg=!0),Z.observeMutations=!0,eP(function(){gP({autoReplaceSvgRoot:n}),vr("watch",t)})}},pP={icon:function(t){if(t===null)return null;if(fo(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:or(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=qo(t[0]);return{prefix:r,iconName:or(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(Z.cssPrefix,"-"))>-1||t.match(DI))){var s=Xo(t.split(" "),{skipLookups:!0});return{prefix:s.prefix||Fn(),iconName:or(s.prefix,s.iconName)||s.iconName}}if(typeof t=="string"){var i=Fn();return{prefix:i,iconName:or(i,t)||t}}}},Ot={noAuto:mP,config:Z,dom:hP,parse:pP,library:i_,findIconDefinition:Rl,toHtml:ui},gP=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?Me:n;(Object.keys(Dt.styles).length>0||Z.autoFetchSvg)&&pn&&Z.autoReplaceSvg&&Ot.dom.i2svg({node:r})};function Jo(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return ui(r)})}}),Object.defineProperty(e,"node",{get:function(){if(pn){var r=Me.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function _P(e){var t=e.children,n=e.main,r=e.mask,s=e.attributes,i=e.styles,o=e.transform;if(Kc(o)&&n.found&&!r.found){var a=n.width,l=n.height,u={x:a/l/2,y:.5};s.style=Go(X(X({},i),{},{"transform-origin":"".concat(u.x+o.x/16,"em ").concat(u.y+o.y/16,"em")}))}return[{tag:"svg",attributes:s,children:t}]}function vP(e){var t=e.prefix,n=e.iconName,r=e.children,s=e.attributes,i=e.symbol,o=i===!0?"".concat(t,"-").concat(Z.cssPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:X(X({},s),{},{id:o}),children:r}]}]}function Xc(e){var t=e.icons,n=t.main,r=t.mask,s=e.prefix,i=e.iconName,o=e.transform,a=e.symbol,l=e.title,u=e.maskId,c=e.titleId,f=e.extra,d=e.watchable,m=d===void 0?!1:d,p=r.found?r:n,v=p.width,y=p.height,w=s==="fak",S=[Z.replacementClass,i?"".concat(Z.cssPrefix,"-").concat(i):""].filter(function(P){return f.classes.indexOf(P)===-1}).filter(function(P){return P!==""||!!P}).concat(f.classes).join(" "),E={children:[],attributes:X(X({},f.attributes),{},{"data-prefix":s,"data-icon":i,class:S,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(v," ").concat(y)})},A=w&&!~f.classes.indexOf("fa-fw")?{width:"".concat(v/y*16*.0625,"em")}:{};m&&(E.attributes[_r]=""),l&&(E.children.push({tag:"title",attributes:{id:E.attributes["aria-labelledby"]||"title-".concat(c||Xs())},children:[l]}),delete E.attributes.title);var C=X(X({},E),{},{prefix:s,iconName:i,main:n,mask:r,maskId:u,transform:o,symbol:a,styles:X(X({},A),f.styles)}),O=r.found&&n.found?dn("generateAbstractMask",C)||{children:[],attributes:{}}:dn("generateAbstractIcon",C)||{children:[],attributes:{}},I=O.children,$=O.attributes;return C.children=I,C.attributes=$,a?vP(C):_P(C)}function Qd(e){var t=e.content,n=e.width,r=e.height,s=e.transform,i=e.title,o=e.extra,a=e.watchable,l=a===void 0?!1:a,u=X(X(X({},o.attributes),i?{title:i}:{}),{},{class:o.classes.join(" ")});l&&(u[_r]="");var c=X({},o.styles);Kc(s)&&(c.transform=XI({transform:s,startCentered:!0,width:n,height:r}),c["-webkit-transform"]=c.transform);var f=Go(c);f.length>0&&(u.style=f);var d=[];return d.push({tag:"span",attributes:u,children:[t]}),i&&d.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),d}function bP(e){var t=e.content,n=e.title,r=e.extra,s=X(X(X({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),i=Go(r.styles);i.length>0&&(s.style=i);var o=[];return o.push({tag:"span",attributes:s,children:[t]}),n&&o.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),o}var $a=Dt.styles;function xl(e){var t=e[0],n=e[1],r=e.slice(4),s=Uc(r,1),i=s[0],o=null;return Array.isArray(i)?o={tag:"g",attributes:{class:"".concat(Z.cssPrefix,"-").concat(ir.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Z.cssPrefix,"-").concat(ir.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(Z.cssPrefix,"-").concat(ir.PRIMARY),fill:"currentColor",d:i[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:n,icon:o}}var yP={found:!1,width:512,height:512};function EP(e,t){!Yg&&!Z.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function kl(e,t){var n=t;return t==="fa"&&Z.styleDefault!==null&&(t=Fn()),new Promise(function(r,s){if(dn("missingIconAbstract"),n==="fa"){var i=s_(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&$a[t]&&$a[t][e]){var o=$a[t][e];return r(xl(o))}EP(e,t),r(X(X({},yP),{},{icon:Z.showMissingIcons&&e?dn("missingIconAbstract")||{}:{}}))})}var Zd=function(){},$l=Z.measurePerformance&&Ci&&Ci.mark&&Ci.measure?Ci:{mark:Zd,measure:Zd},ys='FA "6.5.2"',wP=function(t){return $l.mark("".concat(ys," ").concat(t," begins")),function(){return o_(t)}},o_=function(t){$l.mark("".concat(ys," ").concat(t," ends")),$l.measure("".concat(ys," ").concat(t),"".concat(ys," ").concat(t," begins"),"".concat(ys," ").concat(t," ends"))},Jc={begin:wP,end:o_},Gi=function(){};function em(e){var t=e.getAttribute?e.getAttribute(_r):null;return typeof t=="string"}function AP(e){var t=e.getAttribute?e.getAttribute(Vc):null,n=e.getAttribute?e.getAttribute(Bc):null;return t&&n}function TP(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Z.replacementClass)}function OP(){if(Z.autoReplaceSvg===!0)return qi.replace;var e=qi[Z.autoReplaceSvg];return e||qi.replace}function SP(e){return Me.createElementNS("http://www.w3.org/2000/svg",e)}function CP(e){return Me.createElement(e)}function a_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?SP:CP:n;if(typeof e=="string")return Me.createTextNode(e);var s=r(e.tag);Object.keys(e.attributes||[]).forEach(function(o){s.setAttribute(o,e.attributes[o])});var i=e.children||[];return i.forEach(function(o){s.appendChild(a_(o,{ceFn:r}))}),s}function NP(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var qi={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(s){n.parentNode.insertBefore(a_(s),n)}),n.getAttribute(_r)===null&&Z.keepOriginalSource){var r=Me.createComment(NP(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~Yc(n).indexOf(Z.replacementClass))return qi.replace(t);var s=new RegExp("".concat(Z.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var i=r[0].attributes.class.split(" ").reduce(function(a,l){return l===Z.replacementClass||l.match(s)?a.toSvg.push(l):a.toNode.push(l),a},{toNode:[],toSvg:[]});r[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",i.toNode.join(" "))}var o=r.map(function(a){return ui(a)}).join(` -`);n.setAttribute(_r,""),n.innerHTML=o}};function tm(e){e()}function l_(e,t){var n=typeof t=="function"?t:Gi;if(e.length===0)n();else{var r=tm;Z.mutateApproach===xI&&(r=Mn.requestAnimationFrame||tm),r(function(){var s=OP(),i=Jc.begin("mutate");e.map(s),i(),n()})}}var Qc=!1;function c_(){Qc=!0}function Dl(){Qc=!1}var ho=null;function nm(e){if(Yd&&Z.observeMutations){var t=e.treeCallback,n=t===void 0?Gi:t,r=e.nodeCallback,s=r===void 0?Gi:r,i=e.pseudoElementsCallback,o=i===void 0?Gi:i,a=e.observeMutationsRoot,l=a===void 0?Me:a;ho=new Yd(function(u){if(!Qc){var c=Fn();ds(u).forEach(function(f){if(f.type==="childList"&&f.addedNodes.length>0&&!em(f.addedNodes[0])&&(Z.searchPseudoElements&&o(f.target),n(f.target)),f.type==="attributes"&&f.target.parentNode&&Z.searchPseudoElements&&o(f.target.parentNode),f.type==="attributes"&&em(f.target)&&~UI.indexOf(f.attributeName))if(f.attributeName==="class"&&AP(f.target)){var d=Xo(Yc(f.target)),m=d.prefix,p=d.iconName;f.target.setAttribute(Vc,m||c),p&&f.target.setAttribute(Bc,p)}else TP(f.target)&&s(f.target)})}}),pn&&ho.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function LP(){ho&&ho.disconnect()}function IP(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,s){var i=s.split(":"),o=i[0],a=i.slice(1);return o&&a.length>0&&(r[o]=a.join(":").trim()),r},{})),n}function PP(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",s=Xo(Yc(e));return s.prefix||(s.prefix=Fn()),t&&n&&(s.prefix=t,s.iconName=n),s.iconName&&s.prefix||(s.prefix&&r.length>0&&(s.iconName=lP(s.prefix,e.innerText)||Gc(s.prefix,Ll(e.innerText))),!s.iconName&&Z.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=e.firstChild.data)),s}function RP(e){var t=ds(e.attributes).reduce(function(s,i){return s.name!=="class"&&s.name!=="style"&&(s[i.name]=i.value),s},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return Z.autoA11y&&(n?t["aria-labelledby"]="".concat(Z.replacementClass,"-title-").concat(r||Xs()):(t["aria-hidden"]="true",t.focusable="false")),t}function xP(){return{iconName:null,title:null,titleId:null,prefix:null,transform:zt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function rm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=PP(e),r=n.iconName,s=n.prefix,i=n.rest,o=RP(e),a=Pl("parseNodeAttributes",{},e),l=t.styleParser?IP(e):[];return X({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:s,transform:zt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:l,attributes:o}},a)}var kP=Dt.styles;function u_(e){var t=Z.autoReplaceSvg==="nest"?rm(e,{styleParser:!1}):rm(e);return~t.extra.classes.indexOf(Kg)?dn("generateLayersText",e,t):dn("generateSvgReplacementMutation",e,t)}var jn=new Set;Wc.map(function(e){jn.add("fa-".concat(e))});Object.keys(Ks[$e]).map(jn.add.bind(jn));Object.keys(Ks[Ve]).map(jn.add.bind(jn));jn=li(jn);function sm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!pn)return Promise.resolve();var n=Me.documentElement.classList,r=function(f){return n.add("".concat(Kd,"-").concat(f))},s=function(f){return n.remove("".concat(Kd,"-").concat(f))},i=Z.autoFetchSvg?jn:Wc.map(function(c){return"fa-".concat(c)}).concat(Object.keys(kP));i.includes("fa")||i.push("fa");var o=[".".concat(Kg,":not([").concat(_r,"])")].concat(i.map(function(c){return".".concat(c,":not([").concat(_r,"])")})).join(", ");if(o.length===0)return Promise.resolve();var a=[];try{a=ds(e.querySelectorAll(o))}catch{}if(a.length>0)r("pending"),s("complete");else return Promise.resolve();var l=Jc.begin("onTree"),u=a.reduce(function(c,f){try{var d=u_(f);d&&c.push(d)}catch(m){Yg||m.name==="MissingIcon"&&console.error(m)}return c},[]);return new Promise(function(c,f){Promise.all(u).then(function(d){l_(d,function(){r("active"),r("complete"),s("pending"),typeof t=="function"&&t(),l(),c()})}).catch(function(d){l(),f(d)})})}function $P(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;u_(e).then(function(n){n&&l_([n],t)})}function DP(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:Rl(t||{}),s=n.mask;return s&&(s=(s||{}).icon?s:Rl(s||{})),e(r,X(X({},n),{},{mask:s}))}}var MP=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,s=r===void 0?zt:r,i=n.symbol,o=i===void 0?!1:i,a=n.mask,l=a===void 0?null:a,u=n.maskId,c=u===void 0?null:u,f=n.title,d=f===void 0?null:f,m=n.titleId,p=m===void 0?null:m,v=n.classes,y=v===void 0?[]:v,w=n.attributes,S=w===void 0?{}:w,E=n.styles,A=E===void 0?{}:E;if(t){var C=t.prefix,O=t.iconName,I=t.icon;return Jo(X({type:"icon"},t),function(){return vr("beforeDOMElementCreation",{iconDefinition:t,params:n}),Z.autoA11y&&(d?S["aria-labelledby"]="".concat(Z.replacementClass,"-title-").concat(p||Xs()):(S["aria-hidden"]="true",S.focusable="false")),Xc({icons:{main:xl(I),mask:l?xl(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:C,iconName:O,transform:X(X({},zt),s),symbol:o,title:d,maskId:c,titleId:p,extra:{attributes:S,styles:A,classes:y}})})}},FP={mixout:function(){return{icon:DP(MP)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=sm,n.nodeCallback=$P,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,s=r===void 0?Me:r,i=n.callback,o=i===void 0?function(){}:i;return sm(s,o)},t.generateSvgReplacementMutation=function(n,r){var s=r.iconName,i=r.title,o=r.titleId,a=r.prefix,l=r.transform,u=r.symbol,c=r.mask,f=r.maskId,d=r.extra;return new Promise(function(m,p){Promise.all([kl(s,a),c.iconName?kl(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(v){var y=Uc(v,2),w=y[0],S=y[1];m([n,Xc({icons:{main:w,mask:S},prefix:a,iconName:s,transform:l,symbol:u,maskId:f,title:i,titleId:o,extra:d,watchable:!0})])}).catch(p)})},t.generateAbstractIcon=function(n){var r=n.children,s=n.attributes,i=n.main,o=n.transform,a=n.styles,l=Go(a);l.length>0&&(s.style=l);var u;return Kc(o)&&(u=dn("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),r.push(u||i.icon),{children:r,attributes:s}}}},jP={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=r.classes,i=s===void 0?[]:s;return Jo({type:"layer"},function(){vr("beforeDOMElementCreation",{assembler:n,params:r});var o=[];return n(function(a){Array.isArray(a)?a.map(function(l){o=o.concat(l.abstract)}):o=o.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(Z.cssPrefix,"-layers")].concat(li(i)).join(" ")},children:o}]})}}}},UP={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=r.title,i=s===void 0?null:s,o=r.classes,a=o===void 0?[]:o,l=r.attributes,u=l===void 0?{}:l,c=r.styles,f=c===void 0?{}:c;return Jo({type:"counter",content:n},function(){return vr("beforeDOMElementCreation",{content:n,params:r}),bP({content:n.toString(),title:i,extra:{attributes:u,styles:f,classes:["".concat(Z.cssPrefix,"-layers-counter")].concat(li(a))}})})}}}},HP={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=r.transform,i=s===void 0?zt:s,o=r.title,a=o===void 0?null:o,l=r.classes,u=l===void 0?[]:l,c=r.attributes,f=c===void 0?{}:c,d=r.styles,m=d===void 0?{}:d;return Jo({type:"text",content:n},function(){return vr("beforeDOMElementCreation",{content:n,params:r}),Qd({content:n,transform:X(X({},zt),i),title:a,extra:{attributes:f,styles:m,classes:["".concat(Z.cssPrefix,"-layers-text")].concat(li(u))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var s=r.title,i=r.transform,o=r.extra,a=null,l=null;if(Vg){var u=parseInt(getComputedStyle(n).fontSize,10),c=n.getBoundingClientRect();a=c.width/u,l=c.height/u}return Z.autoA11y&&!s&&(o.attributes["aria-hidden"]="true"),Promise.resolve([n,Qd({content:n.innerHTML,width:a,height:l,transform:i,title:s,extra:o,watchable:!0})])}}},VP=new RegExp('"',"ug"),im=[1105920,1112319];function BP(e){var t=e.replace(VP,""),n=nP(t,0),r=n>=im[0]&&n<=im[1],s=t.length===2?t[0]===t[1]:!1;return{value:Ll(s?t[0]:t),isSecondary:r||s}}function om(e,t){var n="".concat(RI).concat(t.replace(":","-"));return new Promise(function(r,s){if(e.getAttribute(n)!==null)return r();var i=ds(e.children),o=i.filter(function(I){return I.getAttribute(Nl)===t})[0],a=Mn.getComputedStyle(e,t),l=a.getPropertyValue("font-family").match(MI),u=a.getPropertyValue("font-weight"),c=a.getPropertyValue("content");if(o&&!l)return e.removeChild(o),r();if(l&&c!=="none"&&c!==""){var f=a.getPropertyValue("content"),d=~["Sharp"].indexOf(l[2])?Ve:$e,m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?zs[d][l[2].toLowerCase()]:FI[d][u],p=BP(f),v=p.value,y=p.isSecondary,w=l[0].startsWith("FontAwesome"),S=Gc(m,v),E=S;if(w){var A=cP(v);A.iconName&&A.prefix&&(S=A.iconName,m=A.prefix)}if(S&&!y&&(!o||o.getAttribute(Vc)!==m||o.getAttribute(Bc)!==E)){e.setAttribute(n,E),o&&e.removeChild(o);var C=xP(),O=C.extra;O.attributes[Nl]=t,kl(S,m).then(function(I){var $=Xc(X(X({},C),{},{icons:{main:I,mask:qc()},prefix:m,iconName:E,extra:O,watchable:!0})),P=Me.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(P,e.firstChild):e.appendChild(P),P.outerHTML=$.map(function(q){return ui(q)}).join(` -`),e.removeAttribute(n),r()}).catch(s)}else r()}else r()})}function WP(e){return Promise.all([om(e,"::before"),om(e,"::after")])}function YP(e){return e.parentNode!==document.head&&!~kI.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Nl)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function am(e){if(pn)return new Promise(function(t,n){var r=ds(e.querySelectorAll("*")).filter(YP).map(WP),s=Jc.begin("searchPseudoElements");c_(),Promise.all(r).then(function(){s(),Dl(),t()}).catch(function(){s(),Dl(),n()})})}var KP={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=am,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,s=r===void 0?Me:r;Z.searchPseudoElements&&am(s)}}},lm=!1,zP={mixout:function(){return{dom:{unwatch:function(){c_(),lm=!0}}}},hooks:function(){return{bootstrap:function(){nm(Pl("mutationObserverCallbacks",{}))},noAuto:function(){LP()},watch:function(n){var r=n.observeMutationsRoot;lm?Dl():nm(Pl("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},cm=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,s){var i=s.toLowerCase().split("-"),o=i[0],a=i.slice(1).join("-");if(o&&a==="h")return r.flipX=!0,r;if(o&&a==="v")return r.flipY=!0,r;if(a=parseFloat(a),isNaN(a))return r;switch(o){case"grow":r.size=r.size+a;break;case"shrink":r.size=r.size-a;break;case"left":r.x=r.x-a;break;case"right":r.x=r.x+a;break;case"up":r.y=r.y-a;break;case"down":r.y=r.y+a;break;case"rotate":r.rotate=r.rotate+a;break}return r},n)},GP={mixout:function(){return{parse:{transform:function(n){return cm(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var s=r.getAttribute("data-fa-transform");return s&&(n.transform=cm(s)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,s=n.transform,i=n.containerWidth,o=n.iconWidth,a={transform:"translate(".concat(i/2," 256)")},l="translate(".concat(s.x*32,", ").concat(s.y*32,") "),u="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),c="rotate(".concat(s.rotate," 0 0)"),f={transform:"".concat(l," ").concat(u," ").concat(c)},d={transform:"translate(".concat(o/2*-1," -256)")},m={outer:a,inner:f,path:d};return{tag:"g",attributes:X({},m.outer),children:[{tag:"g",attributes:X({},m.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:X(X({},r.icon.attributes),m.path)}]}]}}}},Da={x:0,y:0,width:"100%",height:"100%"};function um(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function qP(e){return e.tag==="g"?e.children:[e]}var XP={hooks:function(){return{parseNodeAttributes:function(n,r){var s=r.getAttribute("data-fa-mask"),i=s?Xo(s.split(" ").map(function(o){return o.trim()})):qc();return i.prefix||(i.prefix=Fn()),n.mask=i,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,s=n.attributes,i=n.main,o=n.mask,a=n.maskId,l=n.transform,u=i.width,c=i.icon,f=o.width,d=o.icon,m=qI({transform:l,containerWidth:f,iconWidth:u}),p={tag:"rect",attributes:X(X({},Da),{},{fill:"white"})},v=c.children?{children:c.children.map(um)}:{},y={tag:"g",attributes:X({},m.inner),children:[um(X({tag:c.tag,attributes:X(X({},c.attributes),m.path)},v))]},w={tag:"g",attributes:X({},m.outer),children:[y]},S="mask-".concat(a||Xs()),E="clip-".concat(a||Xs()),A={tag:"mask",attributes:X(X({},Da),{},{id:S,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,w]},C={tag:"defs",children:[{tag:"clipPath",attributes:{id:E},children:qP(d)},A]};return r.push(C,{tag:"rect",attributes:X({fill:"currentColor","clip-path":"url(#".concat(E,")"),mask:"url(#".concat(S,")")},Da)}),{children:r,attributes:s}}}},JP={provides:function(t){var n=!1;Mn.matchMedia&&(n=Mn.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],s={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:X(X({},s),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=X(X({},i),{},{attributeName:"opacity"}),a={tag:"circle",attributes:X(X({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||a.children.push({tag:"animate",attributes:X(X({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:X(X({},o),{},{values:"1;0;1;1;0;1;"})}),r.push(a),r.push({tag:"path",attributes:X(X({},s),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:X(X({},o),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:X(X({},s),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:X(X({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},QP={hooks:function(){return{parseNodeAttributes:function(n,r){var s=r.getAttribute("data-fa-symbol"),i=s===null?!1:s===""?!0:s;return n.symbol=i,n}}}},ZP=[QI,FP,jP,UP,HP,KP,zP,GP,XP,JP,QP];dP(ZP,{mixoutsTo:Ot});Ot.noAuto;Ot.config;var eR=Ot.library;Ot.dom;var Ml=Ot.parse;Ot.findIconDefinition;Ot.toHtml;var tR=Ot.icon;Ot.layer;Ot.text;Ot.counter;function fm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function sn(e){for(var t=1;t=0)continue;n[r]=e[r]}return n}function iR(e,t){if(e==null)return{};var n=sR(e,t),r,s;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var oR=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},f_={exports:{}};(function(e){(function(t){var n=function(w,S,E){if(!u(S)||f(S)||d(S)||m(S)||l(S))return S;var A,C=0,O=0;if(c(S))for(A=[],O=S.length;C1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var r=(e.children||[]).map(function(l){return d_(l)}),s=Object.keys(e.attributes||{}).reduce(function(l,u){var c=e.attributes[u];switch(u){case"class":l.class=uR(c);break;case"style":l.style=cR(c);break;default:l.attrs[u]=c}return l},{attrs:{},class:{},style:{}});n.class;var i=n.style,o=i===void 0?{}:i,a=iR(n,lR);return Zs(e.tag,sn(sn(sn({},t),{},{class:s.class,style:sn(sn({},s.style),o)},s.attrs),a),r)}var m_=!1;try{m_=!0}catch{}function fR(){if(!m_&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Ma(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?mt({},e,t):{}}function dR(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},mt(mt(mt(mt(mt(mt(mt(mt(mt(mt(t,"fa-".concat(e.size),e.size!==null),"fa-rotate-".concat(e.rotation),e.rotation!==null),"fa-pull-".concat(e.pull),e.pull!==null),"fa-swap-opacity",e.swapOpacity),"fa-bounce",e.bounce),"fa-shake",e.shake),"fa-beat",e.beat),"fa-fade",e.fade),"fa-beat-fade",e.beatFade),"fa-flash",e.flash),mt(mt(t,"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse));return Object.keys(n).map(function(r){return n[r]?r:null}).filter(function(r){return r})}function dm(e){if(e&&po(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Ml.icon)return Ml.icon(e);if(e===null)return null;if(po(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var mR=Xe({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(t,n){var r=n.attrs,s=ne(function(){return dm(t.icon)}),i=ne(function(){return Ma("classes",dR(t))}),o=ne(function(){return Ma("transform",typeof t.transform=="string"?Ml.transform(t.transform):t.transform)}),a=ne(function(){return Ma("mask",dm(t.mask))}),l=ne(function(){return tR(s.value,sn(sn(sn(sn({},i.value),o.value),a.value),{},{symbol:t.symbol,title:t.title,titleId:t.titleId,maskId:t.maskId}))});it(l,function(c){if(!c)return fR("Could not find one or more icon(s)",s.value,a.value)},{immediate:!0});var u=ne(function(){return l.value?d_(l.value.abstract[0],{},r):null});return function(){return u.value}}}),hR={prefix:"fas",iconName:"pen-to-square",icon:[512,512,["edit"],"f044","M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"]},pR=hR,gR={prefix:"fas",iconName:"sun",icon:[512,512,[9728],"f185","M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"]},_R={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80V432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]},vR={prefix:"fas",iconName:"circle-half-stroke",icon:[512,512,[9680,"adjust"],"f042","M448 256c0-106-86-192-192-192V448c106 0 192-86 192-192zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},bR={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm0 416a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM48 304a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm464-48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM142.9 437A48 48 0 1 0 75 369.1 48 48 0 1 0 142.9 437zm0-294.2A48 48 0 1 0 75 75a48 48 0 1 0 67.9 67.9zM369.1 437A48 48 0 1 0 437 369.1 48 48 0 1 0 369.1 437z"]},yR={prefix:"fas",iconName:"moon",icon:[384,512,[127769,9214],"f186","M223.5 32C100 32 0 132.3 0 256S100 480 223.5 480c60.6 0 115.5-24.2 155.8-63.4c5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6c-96.9 0-175.5-78.8-175.5-176c0-65.8 36-123.1 89.3-153.3c6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"]};const ER={welcome:"Welcome to Jeobeardy!"},wR={whatis:"What is Jeobeardy?"},AR={loginHeader:"Login to your Jeobeardy Account",loginButton:"Login",signupLinkButton:"Sign up",username:"Username",password:"Password",error:{process:"An error occured during the login process"}},TR={signupHeader:"Create a new Jeobeardy Account",signupButton:"Sign Up",loginLinkButton:"Back to Login","password-repeat":"Repeat Password","password-not-conform":"The password does not meet the required criteria","password-criteria-length":"The password needs to be at least 10 characters long",error:{process:"An error occured during the signup process"}},OR={"validate-fields":"Make sure that all fields are valid"},SR={inputRequired:"This field is required",minLength:"Minimum of {min} characters required",sameAs:"Must match {otherName}"},CR={yourProfile:"Your Profile",yourBoards:"Your Boards",gotoSettings:"Go to Settings"},NR={heading:"Settings"},LR={buttons:{close:"Close"},error:{generic:"Error"}},IR={button:"Join",text:"Join a Game",alreadyHostedGome:"Someone else is already hosting a game?",textCode:"Enter the code you get from your host and join the lobby."},PR={button:"Host",text:"Host a Game",alreadyHostedGome:"Wanna create a board and host a game yourself?",textCode:"Wanna create a board and host a game yourself?"},RR={dark:{name:"Dark"},light:{name:"Light"},highContrast:{name:"High Contrast"}},xR={en:{name:"English",shortName:"en"},de:{name:"German",shortName:"de"}},kR={home:"Home",about:"About"},$R={home:ER,about:wR,login:AR,signup:TR,forms:OR,validations:SR,profile:CR,settings:NR,common:LR,join:IR,host:PR,theme:RR,i18n:xR,nav:kR},DR={welcome:"Willkommen bei Jeobeardy!"},MR={whatis:"Was ist Jeobeardy?"},FR={loginHeader:"Logge dich mit deinem Jeobeardy Konto ein",username:"Benutzername",password:"Passwort"},jR={dark:{name:"Dunkel"},light:{name:"Hell"},"high-contrast":{name:"Hoher Kontrast"}},UR={en:{name:"Englisch",shortName:"en"},de:{name:"Deutsch",shortName:"de"}},HR={home:"Home",about:"Über"},VR={home:DR,about:MR,login:FR,theme:jR,i18n:UR,nav:HR},BR=NE({legacy:!1,locale:"en",fallbackLocale:"en",messages:{en:$R,de:VR}});eR.add(gR,yR,vR,pR,_R,bR);const fi=Ib(LS);fi.use(kb());fi.component("FontAwesomeIcon",mR);fi.use(EI);fi.use(BR);fi.mount("#app"); diff --git a/src/main/resources/static/assets/index-VvMfePyX.js b/src/main/resources/static/assets/index-VvMfePyX.js new file mode 100644 index 0000000..6aa688f --- /dev/null +++ b/src/main/resources/static/assets/index-VvMfePyX.js @@ -0,0 +1,813 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();/** +* @vue/shared v3.4.29 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function jl(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const ke={},Mr=[],Ct=()=>{},p_=()=>!1,go=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ul=e=>e.startsWith("onUpdate:"),Ze=Object.assign,Hl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},g_=Object.prototype.hasOwnProperty,we=(e,t)=>g_.call(e,t),ce=Array.isArray,Fr=e=>_o(e)==="[object Map]",hm=e=>_o(e)==="[object Set]",he=e=>typeof e=="function",Ge=e=>typeof e=="string",br=e=>typeof e=="symbol",Fe=e=>e!==null&&typeof e=="object",pm=e=>(Fe(e)||he(e))&&he(e.then)&&he(e.catch),gm=Object.prototype.toString,_o=e=>gm.call(e),__=e=>_o(e).slice(8,-1),_m=e=>_o(e)==="[object Object]",Vl=e=>Ge(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Es=jl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},v_=/-(\w)/g,Xt=vo(e=>e.replace(v_,(t,n)=>n?n.toUpperCase():"")),b_=/\B([A-Z])/g,rs=vo(e=>e.replace(b_,"-$1").toLowerCase()),bo=vo(e=>e.charAt(0).toUpperCase()+e.slice(1)),Zo=vo(e=>e?`on${bo(e)}`:""),Rn=(e,t)=>!Object.is(e,t),Di=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ja=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let nu;const bm=()=>nu||(nu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Zn(e){if(ce(e)){const t={};for(let n=0;n{if(n){const r=n.split(E_);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Nt(e){let t="";if(Ge(e))t=e;else if(ce(e))for(let n=0;nGe(e)?e:e==null?"":ce(e)||Fe(e)&&(e.toString===gm||!he(e.toString))?JSON.stringify(e,Em,2):String(e),Em=(e,t)=>t&&t.__v_isRef?Em(e,t.value):Fr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[ea(r,i)+" =>"]=s,n),{})}:hm(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ea(n))}:br(t)?ea(t):Fe(t)&&!ce(t)&&!_m(t)?String(t):t,ea=(e,t="")=>{var n;return br(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.29 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let yt;class wm{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=yt,!t&&yt&&(this.index=(yt.scopes||(yt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=yt;try{return yt=this,t()}finally{yt=n}}}on(){yt=this}off(){yt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),Hn()}return this._dirtyLevel>=5}set dirty(t){this._dirtyLevel=t?5:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ln,n=ar;try{return Ln=!0,ar=this,this._runnings++,ru(this),this.fn()}finally{su(this),this._runnings--,ar=n,Ln=t}}stop(){this.active&&(ru(this),su(this),this.onStop&&this.onStop(),this.active=!1)}}function N_(e){return e.value}function ru(e){e._trackId++,e._depsLength=0}function su(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t0){r._dirtyLevel=2;continue}let s;r._dirtyLevel{const n=new Map;return n.cleanup=e,n.computed=t,n},Xi=new WeakMap,lr=Symbol(""),Va=Symbol("");function _t(e,t,n){if(Ln&&ar){let r=Xi.get(e);r||Xi.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Nm(()=>r.delete(n))),Sm(ar,s)}}function on(e,t,n,r,s,i){const o=Xi.get(e);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(n==="length"&&ce(e)){const l=Number(r);o.forEach((u,c)=>{(c==="length"||!br(c)&&c>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(o.get(n)),t){case"add":ce(e)?Vl(n)&&a.push(o.get("length")):(a.push(o.get(lr)),Fr(e)&&a.push(o.get(Va)));break;case"delete":ce(e)||(a.push(o.get(lr)),Fr(e)&&a.push(o.get(Va)));break;case"set":Fr(e)&&a.push(o.get(lr));break}Yl();for(const l of a)l&&Cm(l,5);Kl()}function L_(e,t){const n=Xi.get(e);return n&&n.get(t)}const I_=jl("__proto__,__v_isRef,__isVue"),Lm=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(br)),iu=P_();function P_(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ae(this);for(let i=0,o=this.length;i{e[t]=function(...n){Un(),Yl();const r=Ae(this)[t].apply(this,n);return Kl(),Hn(),r}}),e}function R_(e){br(e)||(e=String(e));const t=Ae(this);return _t(t,"has",e),t.hasOwnProperty(e)}class Im{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?Y_:km:i?xm:Rm).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=ce(t);if(!s){if(o&&we(iu,n))return Reflect.get(iu,n,r);if(n==="hasOwnProperty")return R_}const a=Reflect.get(t,n,r);return(br(n)?Lm.has(n):I_(n))||(s||_t(t,"get",n),i)?a:He(a)?o&&Vl(n)?a:a.value:Fe(a)?s?Dm(a):Vn(a):a}}class Pm extends Im{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const l=Vr(i);if(!Ji(r)&&!Vr(r)&&(i=Ae(i),r=Ae(r)),!ce(t)&&He(i)&&!He(r))return l?!1:(i.value=r,!0)}const o=ce(t)&&Vl(n)?Number(n)e,yo=e=>Reflect.getPrototypeOf(e);function mi(e,t,n=!1,r=!1){e=e.__v_raw;const s=Ae(e),i=Ae(t);n||(Rn(t,i)&&_t(s,"get",t),_t(s,"get",i));const{has:o}=yo(s),a=r?zl:n?Jl:$s;if(o.call(s,t))return a(e.get(t));if(o.call(s,i))return a(e.get(i));e!==s&&e.get(t)}function hi(e,t=!1){const n=this.__v_raw,r=Ae(n),s=Ae(e);return t||(Rn(e,s)&&_t(r,"has",e),_t(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function pi(e,t=!1){return e=e.__v_raw,!t&&_t(Ae(e),"iterate",lr),Reflect.get(e,"size",e)}function ou(e){e=Ae(e);const t=Ae(this);return yo(t).has.call(t,e)||(t.add(e),on(t,"add",e,e)),this}function au(e,t){t=Ae(t);const n=Ae(this),{has:r,get:s}=yo(n);let i=r.call(n,e);i||(e=Ae(e),i=r.call(n,e));const o=s.call(n,e);return n.set(e,t),i?Rn(t,o)&&on(n,"set",e,t):on(n,"add",e,t),this}function lu(e){const t=Ae(this),{has:n,get:r}=yo(t);let s=n.call(t,e);s||(e=Ae(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&on(t,"delete",e,void 0),i}function cu(){const e=Ae(this),t=e.size!==0,n=e.clear();return t&&on(e,"clear",void 0,void 0),n}function gi(e,t){return function(r,s){const i=this,o=i.__v_raw,a=Ae(o),l=t?zl:e?Jl:$s;return!e&&_t(a,"iterate",lr),o.forEach((u,c)=>r.call(s,l(u),l(c),i))}}function _i(e,t,n){return function(...r){const s=this.__v_raw,i=Ae(s),o=Fr(i),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=s[e](...r),c=n?zl:t?Jl:$s;return!t&&_t(i,"iterate",l?Va:lr),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function gn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function M_(){const e={get(i){return mi(this,i)},get size(){return pi(this)},has:hi,add:ou,set:au,delete:lu,clear:cu,forEach:gi(!1,!1)},t={get(i){return mi(this,i,!1,!0)},get size(){return pi(this)},has:hi,add:ou,set:au,delete:lu,clear:cu,forEach:gi(!1,!0)},n={get(i){return mi(this,i,!0)},get size(){return pi(this,!0)},has(i){return hi.call(this,i,!0)},add:gn("add"),set:gn("set"),delete:gn("delete"),clear:gn("clear"),forEach:gi(!0,!1)},r={get(i){return mi(this,i,!0,!0)},get size(){return pi(this,!0)},has(i){return hi.call(this,i,!0)},add:gn("add"),set:gn("set"),delete:gn("delete"),clear:gn("clear"),forEach:gi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=_i(i,!1,!1),n[i]=_i(i,!0,!1),t[i]=_i(i,!1,!0),r[i]=_i(i,!0,!0)}),[e,n,t,r]}const[F_,j_,U_,H_]=M_();function Gl(e,t){const n=t?e?H_:U_:e?j_:F_;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(we(n,s)&&s in r?n:r,s,i)}const V_={get:Gl(!1,!1)},B_={get:Gl(!1,!0)},W_={get:Gl(!0,!1)};const Rm=new WeakMap,xm=new WeakMap,km=new WeakMap,Y_=new WeakMap;function K_(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function z_(e){return e.__v_skip||!Object.isExtensible(e)?0:K_(__(e))}function Vn(e){return Vr(e)?e:ql(e,!1,k_,V_,Rm)}function $m(e){return ql(e,!1,D_,B_,xm)}function Dm(e){return ql(e,!0,$_,W_,km)}function ql(e,t,n,r,s){if(!Fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=z_(e);if(o===0)return e;const a=new Proxy(e,o===2?r:n);return s.set(e,a),a}function In(e){return Vr(e)?In(e.__v_raw):!!(e&&e.__v_isReactive)}function Vr(e){return!!(e&&e.__v_isReadonly)}function Ji(e){return!!(e&&e.__v_isShallow)}function Mm(e){return e?!!e.__v_raw:!1}function Ae(e){const t=e&&e.__v_raw;return t?Ae(t):e}function Xl(e){return Object.isExtensible(e)&&vm(e,"__v_skip",!0),e}const $s=e=>Fe(e)?Vn(e):e,Jl=e=>Fe(e)?Dm(e):e;class Fm{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Wl(()=>t(this._value),()=>Mi(this,this.effect._dirtyLevel===3?3:4)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=Ae(this);return(!t._cacheable||t.effect.dirty)&&Rn(t._value,t._value=t.effect.run())&&Mi(t,5),jm(t),t.effect._dirtyLevel>=2&&Mi(t,3),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function G_(e,t,n=!1){let r,s;const i=he(e);return i?(r=e,s=Ct):(r=e.get,s=e.set),new Fm(r,s,i||!s,n)}function jm(e){var t;Ln&&ar&&(e=Ae(e),Sm(ar,(t=e.dep)!=null?t:e.dep=Nm(()=>e.dep=void 0,e instanceof Fm?e:void 0)))}function Mi(e,t=5,n,r){e=Ae(e);const s=e.dep;s&&Cm(s,t)}function He(e){return!!(e&&e.__v_isRef===!0)}function ge(e){return Um(e,!1)}function Ql(e){return Um(e,!0)}function Um(e,t){return He(e)?e:new q_(e,t)}class q_{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ae(t),this._value=n?t:$s(t)}get value(){return jm(this),this._value}set value(t){const n=this.__v_isShallow||Ji(t)||Vr(t);t=n?t:Ae(t),Rn(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:$s(t),Mi(this,5))}}function V(e){return He(e)?e.value:e}const X_={get:(e,t,n)=>V(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return He(s)&&!He(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Hm(e){return In(e)?e:new Proxy(e,X_)}function J_(e){const t=ce(e)?new Array(e.length):{};for(const n in e)t[n]=Z_(e,n);return t}class Q_{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return L_(Ae(this._object),this._key)}}function Z_(e,t,n){const r=e[t];return He(r)?r:new Q_(e,t,n)}/** +* @vue/runtime-core v3.4.29 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Pn(e,t,n,r){try{return r?e(...r):e()}catch(s){Eo(s,t,n)}}function Mt(e,t,n,r){if(he(e)){const s=Pn(e,t,n,r);return s&&pm(s)&&s.catch(i=>{Eo(i,t,n)}),s}if(ce(e)){const s=[];for(let i=0;i>>1,s=st[r],i=Fs(s);iYt&&st.splice(t,1)}function rv(e){ce(e)?jr.push(...e):(!An||!An.includes(e,e.allowRecurse?Qn+1:Qn))&&jr.push(e),Bm()}function uu(e,t,n=Ds?Yt+1:0){for(;nFs(n)-Fs(r));if(jr.length=0,An){An.push(...t);return}for(An=t,Qn=0;Qne.id==null?1/0:e.id,sv=(e,t)=>{const n=Fs(e)-Fs(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ym(e){Ba=!1,Ds=!0,st.sort(sv);try{for(Yt=0;YtGe(m)?m.trim():m)),f&&(s=n.map(ja))}let a,l=r[a=Zo(t)]||r[a=Zo(Xt(t))];!l&&i&&(l=r[a=Zo(rs(t))]),l&&Mt(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Mt(u,e,6,s)}}function Km(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},a=!1;if(!he(e)){const l=u=>{const c=Km(u,t,!0);c&&(a=!0,Ze(o,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(Fe(e)&&r.set(e,null),null):(ce(i)?i.forEach(l=>o[l]=null):Ze(o,i),Fe(e)&&r.set(e,o),o)}function wo(e,t){return!e||!go(t)?!1:(t=t.slice(2).replace(/Once$/,""),we(e,t[0].toLowerCase()+t.slice(1))||we(e,rs(t))||we(e,t))}let ct=null,Ao=null;function Qi(e){const t=ct;return ct=e,Ao=e&&e.type.__scopeId||null,t}function ov(e){Ao=e}function av(){Ao=null}function er(e,t=ct,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&wu(-1);const i=Qi(t);let o;try{o=e(...s)}finally{Qi(i),r._d&&wu(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function ta(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:m,ctx:h,inheritAttrs:y}=e,v=Qi(e);let w,O;try{if(n.shapeFlag&4){const A=s||r,C=A;w=Wt(u.call(C,A,c,f,m,d,h)),O=a}else{const A=t;w=Wt(A.length>1?A(f,{attrs:a,slots:o,emit:l}):A(f,null)),O=t.props?a:lv(a)}}catch(A){Ts.length=0,Eo(A,e,1),w=ye(dr)}let E=w;if(O&&y!==!1){const A=Object.keys(O),{shapeFlag:C}=E;A.length&&C&7&&(i&&A.some(Ul)&&(O=cv(O,i)),E=Br(E,O,!1,!0))}return n.dirs&&(E=Br(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&(E.transition=n.transition),w=E,Qi(v),w}const lv=e=>{let t;for(const n in e)(n==="class"||n==="style"||go(n))&&((t||(t={}))[n]=e[n]);return t},cv=(e,t)=>{const n={};for(const r in e)(!Ul(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function uv(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:a,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?fu(r,o,u):!!o;if(l&8){const c=t.dynamicProps;for(let f=0;fe.__isSuspense;function gv(e,t){t&&t.pendingBranch?ce(e)?t.effects.push(...e):t.effects.push(e):rv(e)}function To(e,t,n=Je,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Un();const a=Qs(n),l=Mt(t,n,e,o);return a(),Hn(),l});return r?s.unshift(i):s.push(i),i}}const mn=e=>(t,n=Je)=>{(!So||e==="sp")&&To(e,(...r)=>t(...r),n)},nc=mn("bm"),ss=mn("m"),_v=mn("bu"),vv=mn("u"),zm=mn("bum"),Oo=mn("um"),bv=mn("sp"),yv=mn("rtg"),Ev=mn("rtc");function wv(e,t=Je){To("ec",e,t)}function ws(e,t){if(ct===null)return e;const n=Co(ct),r=e.dirs||(e.dirs=[]);for(let s=0;st(o,a,void 0,i));else{const o=Object.keys(e);s=new Array(o.length);for(let a=0,l=o.length;a!!e.type.__asyncLoader,Wa=e=>e?hh(e)?Co(e):Wa(e.parent):null,As=Ze(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Wa(e.parent),$root:e=>Wa(e.root),$emit:e=>e.emit,$options:e=>sc(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,ec(e.update)}),$nextTick:e=>e.n||(e.n=Ms.bind(e.proxy)),$watch:e=>Bv.bind(e)}),na=(e,t)=>e!==ke&&!e.__isScriptSetup&&we(e,t),Av={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const m=o[t];if(m!==void 0)switch(m){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(na(r,t))return o[t]=1,r[t];if(s!==ke&&we(s,t))return o[t]=2,s[t];if((u=e.propsOptions[0])&&we(u,t))return o[t]=3,i[t];if(n!==ke&&we(n,t))return o[t]=4,n[t];Ya&&(o[t]=0)}}const c=As[t];let f,d;if(c)return t==="$attrs"&&_t(e.attrs,"get",""),c(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==ke&&we(n,t))return o[t]=4,n[t];if(d=l.config.globalProperties,we(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return na(s,t)?(s[t]=n,!0):r!==ke&&we(r,t)?(r[t]=n,!0):we(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let a;return!!n[o]||e!==ke&&we(e,o)||na(t,o)||(a=i[0])&&we(a,o)||we(r,o)||we(As,o)||we(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:we(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function mu(e){return ce(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ya=!0;function Tv(e){const t=sc(e),n=e.proxy,r=e.ctx;Ya=!1,t.beforeCreate&&hu(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:m,updated:h,activated:y,deactivated:v,beforeDestroy:w,beforeUnmount:O,destroyed:E,unmounted:A,render:C,renderTracked:S,renderTriggered:I,errorCaptured:$,serverPrefetch:P,expose:q,inheritAttrs:ie,components:Q,directives:le,filters:je}=t;if(u&&Ov(u,r,null),o)for(const ae in o){const de=o[ae];he(de)&&(r[ae]=de.bind(n))}if(s){const ae=s.call(n,n);Fe(ae)&&(e.data=Vn(ae))}if(Ya=!0,i)for(const ae in i){const de=i[ae],xe=he(de)?de.bind(n,n):he(de.get)?de.get.bind(n,n):Ct,pe=!he(de)&&he(de.set)?de.set.bind(n):Ct,Ee=ne({get:xe,set:pe});Object.defineProperty(r,ae,{enumerable:!0,configurable:!0,get:()=>Ee.value,set:be=>Ee.value=be})}if(a)for(const ae in a)Gm(a[ae],r,n,ae);if(l){const ae=he(l)?l.call(n):l;Reflect.ownKeys(ae).forEach(de=>{cr(de,ae[de])})}c&&hu(c,e,"c");function ee(ae,de){ce(de)?de.forEach(xe=>ae(xe.bind(n))):de&&ae(de.bind(n))}if(ee(nc,f),ee(ss,d),ee(_v,m),ee(vv,h),ee(Wv,y),ee(Yv,v),ee(wv,$),ee(Ev,S),ee(yv,I),ee(zm,O),ee(Oo,A),ee(bv,P),ce(q))if(q.length){const ae=e.exposed||(e.exposed={});q.forEach(de=>{Object.defineProperty(ae,de,{get:()=>n[de],set:xe=>n[de]=xe})})}else e.exposed||(e.exposed={});C&&e.render===Ct&&(e.render=C),ie!=null&&(e.inheritAttrs=ie),Q&&(e.components=Q),le&&(e.directives=le)}function Ov(e,t,n=Ct){ce(e)&&(e=Ka(e));for(const r in e){const s=e[r];let i;Fe(s)?"default"in s?i=tt(s.from||r,s.default,!0):i=tt(s.from||r):i=tt(s),He(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function hu(e,t,n){Mt(ce(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Gm(e,t,n,r){const s=r.includes(".")?ah(n,r):()=>n[r];if(Ge(e)){const i=t[e];he(i)&&it(s,i)}else if(he(e))it(s,e.bind(n));else if(Fe(e))if(ce(e))e.forEach(i=>Gm(i,t,n,r));else{const i=he(e.handler)?e.handler.bind(n):t[e.handler];he(i)&&it(s,i,e)}}function sc(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>Zi(l,u,o,!0)),Zi(l,t,o)),Fe(t)&&i.set(t,l),l}function Zi(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Zi(e,i,n,!0),s&&s.forEach(o=>Zi(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=Sv[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Sv={data:pu,props:gu,emits:gu,methods:bs,computed:bs,beforeCreate:ot,created:ot,beforeMount:ot,mounted:ot,beforeUpdate:ot,updated:ot,beforeDestroy:ot,beforeUnmount:ot,destroyed:ot,unmounted:ot,activated:ot,deactivated:ot,errorCaptured:ot,serverPrefetch:ot,components:bs,directives:bs,watch:Nv,provide:pu,inject:Cv};function pu(e,t){return t?e?function(){return Ze(he(e)?e.call(this,this):e,he(t)?t.call(this,this):t)}:t:e}function Cv(e,t){return bs(Ka(e),Ka(t))}function Ka(e){if(ce(e)){const t={};for(let n=0;n1)return n&&he(t)?t.call(r&&r.proxy):t}}function Pv(){return!!(Je||ct||Ur)}const Xm={},Jm=()=>Object.create(Xm),Qm=e=>Object.getPrototypeOf(e)===Xm;function Rv(e,t,n,r=!1){const s={},i=Jm();e.propsDefaults=Object.create(null),Zm(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:$m(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function xv(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,a=Ae(s),[l]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,m]=eh(f,t,!0);Ze(o,d),m&&a.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return Fe(e)&&r.set(e,Mr),Mr;if(ce(i))for(let c=0;c-1,m[1]=y<0||h-1||we(m,"default"))&&a.push(f)}}}const u=[o,a];return Fe(e)&&r.set(e,u),u}function _u(e){return e[0]!=="$"&&!Es(e)}function vu(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function bu(e,t){return vu(e)===vu(t)}function yu(e,t){return ce(t)?t.findIndex(n=>bu(n,e)):he(t)&&bu(t,e)?0:-1}const th=e=>e[0]==="_"||e==="$stable",ic=e=>ce(e)?e.map(Wt):[Wt(e)],kv=(e,t,n)=>{if(t._n)return t;const r=er((...s)=>ic(t(...s)),n);return r._c=!1,r},nh=(e,t,n)=>{const r=e._ctx;for(const s in e){if(th(s))continue;const i=e[s];if(he(i))t[s]=kv(s,i,r);else if(i!=null){const o=ic(i);t[s]=()=>o}}},rh=(e,t)=>{const n=ic(t);e.slots.default=()=>n},$v=(e,t)=>{const n=e.slots=Jm();if(e.vnode.shapeFlag&32){const r=t._;r?(Ze(n,t),vm(n,"_",r,!0)):nh(t,n)}else t&&rh(e,t)},Dv=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=ke;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:(Ze(s,t),!n&&a===1&&delete s._):(i=!t.$stable,nh(t,s)),o=t}else t&&(rh(e,t),o={default:1});if(i)for(const a in s)!th(a)&&o[a]==null&&delete s[a]};function Ga(e,t,n,r,s=!1){if(ce(e)){e.forEach((d,m)=>Ga(d,t&&(ce(t)?t[m]:t),n,r,s));return}if(Fi(r)&&!s)return;const i=r.shapeFlag&4?Co(r.component):r.el,o=s?null:i,{i:a,r:l}=e,u=t&&t.r,c=a.refs===ke?a.refs={}:a.refs,f=a.setupState;if(u!=null&&u!==l&&(Ge(u)?(c[u]=null,we(f,u)&&(f[u]=null)):He(u)&&(u.value=null)),he(l))Pn(l,a,12,[o,c]);else{const d=Ge(l),m=He(l);if(d||m){const h=()=>{if(e.f){const y=d?we(f,l)?f[l]:c[l]:l.value;s?ce(y)&&Hl(y,i):ce(y)?y.includes(i)||y.push(i):d?(c[l]=[i],we(f,l)&&(f[l]=c[l])):(l.value=[i],e.k&&(c[e.k]=l.value))}else d?(c[l]=o,we(f,l)&&(f[l]=o)):m&&(l.value=o,e.k&&(c[e.k]=o))};o?(h.id=-1,ht(h,n)):h()}}}const ht=gv;function Mv(e){return Fv(e)}function Fv(e,t){const n=bm();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:m=Ct,insertStaticContent:h}=e,y=(b,g,N,j=null,D=null,B=null,z=void 0,p=null,_=!!g.dynamicChildren)=>{if(b===g)return;b&&!ms(b,g)&&(j=F(b),be(b,D,B,!0),b=null),g.patchFlag===-2&&(_=!1,g.dynamicChildren=null);const{type:T,ref:M,shapeFlag:K}=g;switch(T){case Js:v(b,g,N,j);break;case dr:w(b,g,N,j);break;case sa:b==null&&O(g,N,j,z);break;case lt:Q(b,g,N,j,D,B,z,p,_);break;default:K&1?C(b,g,N,j,D,B,z,p,_):K&6?le(b,g,N,j,D,B,z,p,_):(K&64||K&128)&&T.process(b,g,N,j,D,B,z,p,_,J)}M!=null&&D&&Ga(M,b&&b.ref,B,g||b,!g)},v=(b,g,N,j)=>{if(b==null)r(g.el=a(g.children),N,j);else{const D=g.el=b.el;g.children!==b.children&&u(D,g.children)}},w=(b,g,N,j)=>{b==null?r(g.el=l(g.children||""),N,j):g.el=b.el},O=(b,g,N,j)=>{[b.el,b.anchor]=h(b.children,g,N,j,b.el,b.anchor)},E=({el:b,anchor:g},N,j)=>{let D;for(;b&&b!==g;)D=d(b),r(b,N,j),b=D;r(g,N,j)},A=({el:b,anchor:g})=>{let N;for(;b&&b!==g;)N=d(b),s(b),b=N;s(g)},C=(b,g,N,j,D,B,z,p,_)=>{g.type==="svg"?z="svg":g.type==="math"&&(z="mathml"),b==null?S(g,N,j,D,B,z,p,_):P(b,g,D,B,z,p,_)},S=(b,g,N,j,D,B,z,p)=>{let _,T;const{props:M,shapeFlag:K,transition:U,dirs:L}=b;if(_=b.el=o(b.type,B,M&&M.is,M),K&8?c(_,b.children):K&16&&$(b.children,_,null,j,D,ra(b,B),z,p),L&&Gn(b,null,j,"created"),I(_,b,b.scopeId,z,j),M){for(const te in M)te!=="value"&&!Es(te)&&i(_,te,null,M[te],B,b.children,j,D,Le);"value"in M&&i(_,"value",null,M.value,B),(T=M.onVnodeBeforeMount)&&Bt(T,j,b)}L&&Gn(b,null,j,"beforeMount");const R=jv(D,U);R&&U.beforeEnter(_),r(_,g,N),((T=M&&M.onVnodeMounted)||R||L)&&ht(()=>{T&&Bt(T,j,b),R&&U.enter(_),L&&Gn(b,null,j,"mounted")},D)},I=(b,g,N,j,D)=>{if(N&&m(b,N),j)for(let B=0;B{for(let T=_;T{const p=g.el=b.el;let{patchFlag:_,dynamicChildren:T,dirs:M}=g;_|=b.patchFlag&16;const K=b.props||ke,U=g.props||ke;let L;if(N&&qn(N,!1),(L=U.onVnodeBeforeUpdate)&&Bt(L,N,g,b),M&&Gn(g,b,N,"beforeUpdate"),N&&qn(N,!0),T?q(b.dynamicChildren,T,p,N,j,ra(g,D),B):z||de(b,g,p,null,N,j,ra(g,D),B,!1),_>0){if(_&16)ie(p,g,K,U,N,j,D);else if(_&2&&K.class!==U.class&&i(p,"class",null,U.class,D),_&4&&i(p,"style",K.style,U.style,D),_&8){const R=g.dynamicProps;for(let te=0;te{L&&Bt(L,N,g,b),M&&Gn(g,b,N,"updated")},j)},q=(b,g,N,j,D,B,z)=>{for(let p=0;p{if(N!==j){if(N!==ke)for(const p in N)!Es(p)&&!(p in j)&&i(b,p,N[p],null,z,g.children,D,B,Le);for(const p in j){if(Es(p))continue;const _=j[p],T=N[p];_!==T&&p!=="value"&&i(b,p,T,_,z,g.children,D,B,Le)}"value"in j&&i(b,"value",N.value,j.value,z)}},Q=(b,g,N,j,D,B,z,p,_)=>{const T=g.el=b?b.el:a(""),M=g.anchor=b?b.anchor:a("");let{patchFlag:K,dynamicChildren:U,slotScopeIds:L}=g;L&&(p=p?p.concat(L):L),b==null?(r(T,N,j),r(M,N,j),$(g.children||[],N,M,D,B,z,p,_)):K>0&&K&64&&U&&b.dynamicChildren?(q(b.dynamicChildren,U,N,D,B,z,p),(g.key!=null||D&&g===D.subTree)&&sh(b,g,!0)):de(b,g,N,M,D,B,z,p,_)},le=(b,g,N,j,D,B,z,p,_)=>{g.slotScopeIds=p,b==null?g.shapeFlag&512?D.ctx.activate(g,N,j,z,_):je(g,N,j,D,B,z,_):Ce(b,g,_)},je=(b,g,N,j,D,B,z)=>{const p=b.component=eb(b,j,D);if(lh(b)&&(p.ctx.renderer=J),tb(p),p.asyncDep){if(D&&D.registerDep(p,ee,z),!b.el){const _=p.subTree=ye(dr);w(null,_,g,N)}}else ee(p,b,g,N,D,B,z)},Ce=(b,g,N)=>{const j=g.component=b.component;if(uv(b,g,N))if(j.asyncDep&&!j.asyncResolved){ae(j,g,N);return}else j.next=g,nv(j.update),j.effect.dirty=!0,j.update();else g.el=b.el,j.vnode=g},ee=(b,g,N,j,D,B,z)=>{const p=()=>{if(b.isMounted){let{next:M,bu:K,u:U,parent:L,vnode:R}=b;{const vt=ih(b);if(vt){M&&(M.el=R.el,ae(b,M,z)),vt.asyncDep.then(()=>{b.isUnmounted||p()});return}}let te=M,se;qn(b,!1),M?(M.el=R.el,ae(b,M,z)):M=R,K&&Di(K),(se=M.props&&M.props.onVnodeBeforeUpdate)&&Bt(se,L,M,R),qn(b,!0);const Pe=ta(b),rt=b.subTree;b.subTree=Pe,y(rt,Pe,f(rt.el),F(rt),b,D,B),M.el=Pe.el,te===null&&fv(b,Pe.el),U&&ht(U,D),(se=M.props&&M.props.onVnodeUpdated)&&ht(()=>Bt(se,L,M,R),D)}else{let M;const{el:K,props:U}=g,{bm:L,m:R,parent:te}=b,se=Fi(g);if(qn(b,!1),L&&Di(L),!se&&(M=U&&U.onVnodeBeforeMount)&&Bt(M,te,g),qn(b,!0),K&&Te){const Pe=()=>{b.subTree=ta(b),Te(K,b.subTree,b,D,null)};se?g.type.__asyncLoader().then(()=>!b.isUnmounted&&Pe()):Pe()}else{const Pe=b.subTree=ta(b);y(null,Pe,N,j,b,D,B),g.el=Pe.el}if(R&&ht(R,D),!se&&(M=U&&U.onVnodeMounted)){const Pe=g;ht(()=>Bt(M,te,Pe),D)}(g.shapeFlag&256||te&&Fi(te.vnode)&&te.vnode.shapeFlag&256)&&b.a&&ht(b.a,D),b.isMounted=!0,g=N=j=null}},_=b.effect=new Wl(p,Ct,()=>ec(T),b.scope),T=b.update=()=>{_.dirty&&_.run()};T.id=b.uid,qn(b,!0),T()},ae=(b,g,N)=>{g.component=b;const j=b.vnode.props;b.vnode=g,b.next=null,xv(b,g.props,j,N),Dv(b,g.children,N),Un(),uu(b),Hn()},de=(b,g,N,j,D,B,z,p,_=!1)=>{const T=b&&b.children,M=b?b.shapeFlag:0,K=g.children,{patchFlag:U,shapeFlag:L}=g;if(U>0){if(U&128){pe(T,K,N,j,D,B,z,p,_);return}else if(U&256){xe(T,K,N,j,D,B,z,p,_);return}}L&8?(M&16&&Le(T,D,B),K!==T&&c(N,K)):M&16?L&16?pe(T,K,N,j,D,B,z,p,_):Le(T,D,B,!0):(M&8&&c(N,""),L&16&&$(K,N,j,D,B,z,p,_))},xe=(b,g,N,j,D,B,z,p,_)=>{b=b||Mr,g=g||Mr;const T=b.length,M=g.length,K=Math.min(T,M);let U;for(U=0;UM?Le(b,D,B,!0,!1,K):$(g,N,j,D,B,z,p,_,K)},pe=(b,g,N,j,D,B,z,p,_)=>{let T=0;const M=g.length;let K=b.length-1,U=M-1;for(;T<=K&&T<=U;){const L=b[T],R=g[T]=_?Tn(g[T]):Wt(g[T]);if(ms(L,R))y(L,R,N,null,D,B,z,p,_);else break;T++}for(;T<=K&&T<=U;){const L=b[K],R=g[U]=_?Tn(g[U]):Wt(g[U]);if(ms(L,R))y(L,R,N,null,D,B,z,p,_);else break;K--,U--}if(T>K){if(T<=U){const L=U+1,R=LU)for(;T<=K;)be(b[T],D,B,!0),T++;else{const L=T,R=T,te=new Map;for(T=R;T<=U;T++){const bt=g[T]=_?Tn(g[T]):Wt(g[T]);bt.key!=null&&te.set(bt.key,T)}let se,Pe=0;const rt=U-R+1;let vt=!1,di=0;const Ar=new Array(rt);for(T=0;T=rt){be(bt,D,B,!0);continue}let Vt;if(bt.key!=null)Vt=te.get(bt.key);else for(se=R;se<=U;se++)if(Ar[se-R]===0&&ms(bt,g[se])){Vt=se;break}Vt===void 0?be(bt,D,B,!0):(Ar[Vt-R]=T+1,Vt>=di?di=Vt:vt=!0,y(bt,g[Vt],N,null,D,B,z,p,_),Pe++)}const eu=vt?Uv(Ar):Mr;for(se=eu.length-1,T=rt-1;T>=0;T--){const bt=R+T,Vt=g[bt],tu=bt+1{const{el:B,type:z,transition:p,children:_,shapeFlag:T}=b;if(T&6){Ee(b.component.subTree,g,N,j);return}if(T&128){b.suspense.move(g,N,j);return}if(T&64){z.move(b,g,N,J);return}if(z===lt){r(B,g,N);for(let K=0;K<_.length;K++)Ee(_[K],g,N,j);r(b.anchor,g,N);return}if(z===sa){E(b,g,N);return}if(j!==2&&T&1&&p)if(j===0)p.beforeEnter(B),r(B,g,N),ht(()=>p.enter(B),D);else{const{leave:K,delayLeave:U,afterLeave:L}=p,R=()=>r(B,g,N),te=()=>{K(B,()=>{R(),L&&L()})};U?U(B,R,te):te()}else r(B,g,N)},be=(b,g,N,j=!1,D=!1)=>{const{type:B,props:z,ref:p,children:_,dynamicChildren:T,shapeFlag:M,patchFlag:K,dirs:U,memoIndex:L}=b;if(p!=null&&Ga(p,null,N,b,!0),L!=null&&(g.renderCache[L]=void 0),M&256){g.ctx.deactivate(b);return}const R=M&1&&U,te=!Fi(b);let se;if(te&&(se=z&&z.onVnodeBeforeUnmount)&&Bt(se,g,b),M&6)We(b.component,N,j);else{if(M&128){b.suspense.unmount(N,j);return}R&&Gn(b,null,g,"beforeUnmount"),M&64?b.type.remove(b,g,N,D,J,j):T&&(B!==lt||K>0&&K&64)?Le(T,g,N,!1,!0):(B===lt&&K&384||!D&&M&16)&&Le(_,g,N),j&&et(b)}(te&&(se=z&&z.onVnodeUnmounted)||R)&&ht(()=>{se&&Bt(se,g,b),R&&Gn(b,null,g,"unmounted")},N)},et=b=>{const{type:g,el:N,anchor:j,transition:D}=b;if(g===lt){Be(N,j);return}if(g===sa){A(b);return}const B=()=>{s(N),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if(b.shapeFlag&1&&D&&!D.persisted){const{leave:z,delayLeave:p}=D,_=()=>z(N,B);p?p(b.el,B,_):_()}else B()},Be=(b,g)=>{let N;for(;b!==g;)N=d(b),s(b),b=N;s(g)},We=(b,g,N)=>{const{bum:j,scope:D,update:B,subTree:z,um:p,m:_,a:T}=b;Eu(_),Eu(T),j&&Di(j),D.stop(),B&&(B.active=!1,be(z,b,g,N)),p&&ht(p,g),ht(()=>{b.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},Le=(b,g,N,j=!1,D=!1,B=0)=>{for(let z=B;zb.shapeFlag&6?F(b.component.subTree):b.shapeFlag&128?b.suspense.next():d(b.anchor||b.el);let Y=!1;const W=(b,g,N)=>{b==null?g._vnode&&be(g._vnode,null,null,!0):y(g._vnode||null,b,g,null,null,null,N),Y||(Y=!0,uu(),Wm(),Y=!1),g._vnode=b},J={p:y,um:be,m:Ee,r:et,mt:je,mc:$,pc:de,pbc:q,n:F,o:e};let _e,Te;return{render:W,hydrate:_e,createApp:Iv(W,_e)}}function ra({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function qn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function jv(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function sh(e,t,n=!1){const r=e.children,s=t.children;if(ce(r)&&ce(s))for(let i=0;i>1,e[n[a]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function ih(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ih(t)}function Eu(e){if(e)for(let t=0;ttt(Hv),vi={};function it(e,t,n){return oh(e,t,n)}function oh(e,t,{immediate:n,deep:r,flush:s,once:i,onTrack:o,onTrigger:a}=ke){if(t&&i){const S=t;t=(...I)=>{S(...I),C()}}const l=Je,u=S=>r===!0?S:Cn(S,r===!1?1:void 0);let c,f=!1,d=!1;if(He(e)?(c=()=>e.value,f=Ji(e)):In(e)?(c=()=>u(e),f=!0):ce(e)?(d=!0,f=e.some(S=>In(S)||Ji(S)),c=()=>e.map(S=>{if(He(S))return S.value;if(In(S))return u(S);if(he(S))return Pn(S,l,2)})):he(e)?t?c=()=>Pn(e,l,2):c=()=>(m&&m(),Mt(e,l,3,[h])):c=Ct,t&&r){const S=c;c=()=>Cn(S())}let m,h=S=>{m=E.onStop=()=>{Pn(S,l,4),m=E.onStop=void 0}},y;if(So)if(h=Ct,t?n&&Mt(t,l,3,[c(),d?[]:void 0,h]):c(),s==="sync"){const S=Vv();y=S.__watcherHandles||(S.__watcherHandles=[])}else return Ct;let v=d?new Array(e.length).fill(vi):vi;const w=()=>{if(!(!E.active||!E.dirty))if(t){const S=E.run();(r||f||(d?S.some((I,$)=>Rn(I,v[$])):Rn(S,v)))&&(m&&m(),Mt(t,l,3,[S,v===vi?void 0:d&&v[0]===vi?[]:v,h]),v=S)}else E.run()};w.allowRecurse=!!t;let O;s==="sync"?O=w:s==="post"?O=()=>ht(w,l&&l.suspense):(w.pre=!0,l&&(w.id=l.uid),O=()=>ec(w));const E=new Wl(c,Ct,O),A=Am(),C=()=>{E.stop(),A&&Hl(A.effects,E)};return t?n?w():v=E.run():s==="post"?ht(E.run.bind(E),l&&l.suspense):E.run(),y&&y.push(C),C}function Bv(e,t,n){const r=this.proxy,s=Ge(e)?e.includes(".")?ah(r,e):()=>r[e]:e.bind(r,r);let i;he(t)?i=t:(i=t.handler,n=t);const o=Qs(this),a=oh(s,i.bind(r),n);return o(),a}function ah(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{Cn(r,t,n)});else if(_m(e)){for(const r in e)Cn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Cn(e[r],t,n)}return e}const lh=e=>e.type.__isKeepAlive;function Wv(e,t){ch(e,"a",t)}function Yv(e,t){ch(e,"da",t)}function ch(e,t,n=Je){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(To(t,r,n),n){let s=n.parent;for(;s&&s.parent;)lh(s.parent.vnode)&&Kv(r,t,n,s),s=s.parent}}function Kv(e,t,n,r){const s=To(t,e,r,!0);Oo(()=>{Hl(r[t],s)},n)}function uh(e,t){e.shapeFlag&6&&e.component?uh(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}const zv=e=>e.__isTeleport,lt=Symbol.for("v-fgt"),Js=Symbol.for("v-txt"),dr=Symbol.for("v-cmt"),sa=Symbol.for("v-stc"),Ts=[];let kt=null;function Oe(e=!1){Ts.push(kt=e?null:[])}function Gv(){Ts.pop(),kt=Ts[Ts.length-1]||null}let js=1;function wu(e){js+=e}function fh(e){return e.dynamicChildren=js>0?kt||Mr:null,Gv(),js>0&&kt&&kt.push(e),e}function Ie(e,t,n,r,s,i){return fh(k(e,t,n,r,s,i,!0))}function dh(e,t,n,r,s){return fh(ye(e,t,n,r,s,!0))}function qa(e){return e?e.__v_isVNode===!0:!1}function ms(e,t){return e.type===t.type&&e.key===t.key}const mh=({key:e})=>e??null,ji=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ge(e)||He(e)||he(e)?{i:ct,r:e,k:t,f:!!n}:e:null);function k(e,t=null,n=null,r=0,s=null,i=e===lt?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&mh(t),ref:t&&ji(t),scopeId:Ao,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ct};return a?(oc(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=Ge(n)?8:16),js>0&&!o&&kt&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&kt.push(l),l}const ye=qv;function qv(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===mv)&&(e=dr),qa(e)){const a=Br(e,t,!0);return n&&oc(a,n),js>0&&!i&&kt&&(a.shapeFlag&6?kt[kt.indexOf(e)]=a:kt.push(a)),a.patchFlag=-2,a}if(ob(e)&&(e=e.__vccOpts),t){t=Xv(t);let{class:a,style:l}=t;a&&!Ge(a)&&(t.class=Nt(a)),Fe(l)&&(Mm(l)&&!ce(l)&&(l=Ze({},l)),t.style=Zn(l))}const o=Ge(e)?1:pv(e)?128:zv(e)?64:Fe(e)?4:he(e)?2:0;return k(e,t,n,r,s,o,i,!0)}function Xv(e){return e?Mm(e)||Qm(e)?Ze({},e):e:null}function Br(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:a,transition:l}=e,u=t?Jv(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&mh(u),ref:t&&t.ref?n&&i?ce(i)?i.concat(ji(t)):[i,ji(t)]:ji(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==lt?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Br(e.ssContent),ssFallback:e.ssFallback&&Br(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&uh(c,l.clone(c)),c}function Ye(e=" ",t=0){return ye(Js,null,e,t)}function Nn(e="",t=!1){return t?(Oe(),dh(dr,null,e)):ye(dr,null,e)}function Wt(e){return e==null||typeof e=="boolean"?ye(dr):ce(e)?ye(lt,null,e.slice()):typeof e=="object"?Tn(e):ye(Js,null,String(e))}function Tn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Br(e)}function oc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ce(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),oc(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Qm(t)?t._ctx=ct:s===3&&ct&&(ct.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else he(t)?(t={default:t,_ctx:ct},n=32):(t=String(t),r&64?(n=16,t=[Ye(t)]):n=8);e.children=t,e.shapeFlag|=n}function Jv(...e){const t={};for(let n=0;nJe||ct;let eo,Xa;{const e=bm(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};eo=t("__VUE_INSTANCE_SETTERS__",n=>Je=n),Xa=t("__VUE_SSR_SETTERS__",n=>So=n)}const Qs=e=>{const t=Je;return eo(e),e.scope.on(),()=>{e.scope.off(),eo(t)}},Au=()=>{Je&&Je.scope.off(),eo(null)};function hh(e){return e.vnode.shapeFlag&4}let So=!1;function tb(e,t=!1){t&&Xa(t);const{props:n,children:r}=e.vnode,s=hh(e);Rv(e,n,s,t),$v(e,r);const i=s?nb(e,t):void 0;return t&&Xa(!1),i}function nb(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Av);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?sb(e):null,i=Qs(e);Un();const o=Pn(r,e,0,[e.props,s]);if(Hn(),i(),pm(o)){if(o.then(Au,Au),t)return o.then(a=>{Tu(e,a,t)}).catch(a=>{Eo(a,e,0)});e.asyncDep=o}else Tu(e,o,t)}else ph(e,t)}function Tu(e,t,n){he(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Fe(t)&&(e.setupState=Hm(t)),ph(e,n)}let Ou;function ph(e,t,n){const r=e.type;if(!e.render){if(!t&&Ou&&!r.render){const s=r.template||sc(e).template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,u=Ze(Ze({isCustomElement:i,delimiters:a},o),l);r.render=Ou(s,u)}}e.render=r.render||Ct}{const s=Qs(e);Un();try{Tv(e)}finally{Hn(),s()}}}const rb={get(e,t){return _t(e,"get",""),e[t]}};function sb(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,rb),slots:e.slots,emit:e.emit,expose:t}}function Co(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Hm(Xl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in As)return As[n](e)},has(t,n){return n in t||n in As}})):e.proxy}function ib(e,t=!0){return he(e)?e.displayName||e.name:e.name||t&&e.__name}function ob(e){return he(e)&&"__vccOpts"in e}const ne=(e,t)=>G_(e,t,So);function Zs(e,t,n){const r=arguments.length;return r===2?Fe(t)&&!ce(t)?qa(t)?ye(e,null,[t]):ye(e,t):ye(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&qa(n)&&(n=[n]),ye(e,t,n))}const ab="3.4.29";/** +* @vue/runtime-dom v3.4.29 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const lb="http://www.w3.org/2000/svg",cb="http://www.w3.org/1998/Math/MathML",nn=typeof document<"u"?document:null,Su=nn&&nn.createElement("template"),ub={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?nn.createElementNS(lb,e):t==="mathml"?nn.createElementNS(cb,e):n?nn.createElement(e,{is:n}):nn.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>nn.createTextNode(e),createComment:e=>nn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>nn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Su.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const a=Su.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},fb=Symbol("_vtc");function db(e,t,n){const r=e[fb];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Cu=Symbol("_vod"),mb=Symbol("_vsh"),hb=Symbol(""),pb=/(^|;)\s*display\s*:/;function gb(e,t,n){const r=e.style,s=Ge(n);let i=!1;if(n&&!s){if(t)if(Ge(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&Ui(r,a,"")}else for(const o in t)n[o]==null&&Ui(r,o,"");for(const o in n)o==="display"&&(i=!0),Ui(r,o,n[o])}else if(s){if(t!==n){const o=r[hb];o&&(n+=";"+o),r.cssText=n,i=pb.test(n)}}else t&&e.removeAttribute("style");Cu in e&&(e[Cu]=i?r.display:"",e[mb]&&(r.display="none"))}const Nu=/\s*!important$/;function Ui(e,t,n){if(ce(n))n.forEach(r=>Ui(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=_b(e,t);Nu.test(n)?e.setProperty(rs(r),n.replace(Nu,""),"important"):e[r]=n}}const Lu=["Webkit","Moz","ms"],ia={};function _b(e,t){const n=ia[t];if(n)return n;let r=Xt(t);if(r!=="filter"&&r in e)return ia[t]=r;r=bo(r);for(let s=0;soa||(wb.then(()=>oa=0),oa=Date.now());function Tb(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Mt(Ob(r,n.value),t,5,[r])};return n.value=e,n.attached=Ab(),n}function Ob(e,t){if(ce(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const ku=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Sb=(e,t,n,r,s,i,o,a,l)=>{const u=s==="svg";t==="class"?db(e,r,u):t==="style"?gb(e,n,r):go(t)?Ul(t)||yb(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Cb(e,t,r,u))?(vb(e,t,r,i,o,a,l),(t==="value"||t==="checked"||t==="selected")&&Pu(e,t,r,u,o,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Pu(e,t,r,u))};function Cb(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ku(t)&&he(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return ku(t)&&Ge(n)?!1:t in e}const $u=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ce(t)?n=>Di(t,n):t};function Nb(e){e.target.composing=!0}function Du(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const aa=Symbol("_assign"),Os={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[aa]=$u(s);const i=r||s.props&&s.props.type==="number";Cr(e,t?"change":"input",o=>{if(o.target.composing)return;let a=e.value;n&&(a=a.trim()),i&&(a=ja(a)),e[aa](a)}),n&&Cr(e,"change",()=>{e.value=e.value.trim()}),t||(Cr(e,"compositionstart",Nb),Cr(e,"compositionend",Du),Cr(e,"change",Du))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:i}},o){if(e[aa]=$u(o),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?ja(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===l)||(e.value=l))}},Lb=Ze({patchProp:Sb},ub);let Mu;function Ib(){return Mu||(Mu=Mv(Lb))}const Pb=(...e)=>{const t=Ib().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=xb(r);if(!s)return;const i=t._component;!he(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,Rb(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function Rb(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function xb(e){return Ge(e)?document.querySelector(e):e}var kb=!1;/*! + * pinia v2.1.7 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let gh;const No=e=>gh=e,_h=Symbol();function Ja(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ss;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ss||(Ss={}));function $b(){const e=Bl(!0),t=e.run(()=>ge({}));let n=[],r=[];const s=Xl({install(i){No(s),s._a=i,i.provide(_h,s),i.config.globalProperties.$pinia=s,r.forEach(o=>n.push(o)),r=[]},use(i){return!this._a&&!kb?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const vh=()=>{};function Fu(e,t,n,r=vh){e.push(t);const s=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&Am()&&C_(s),s}function Tr(e,...t){e.slice().forEach(n=>{n(...t)})}const Db=e=>e();function Qa(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];Ja(s)&&Ja(r)&&e.hasOwnProperty(n)&&!He(r)&&!In(r)?e[n]=Qa(s,r):e[n]=r}return e}const Mb=Symbol();function Fb(e){return!Ja(e)||!e.hasOwnProperty(Mb)}const{assign:wn}=Object;function jb(e){return!!(He(e)&&e.effect)}function Ub(e,t,n,r){const{state:s,actions:i,getters:o}=t,a=n.state.value[e];let l;function u(){a||(n.state.value[e]=s?s():{});const c=J_(n.state.value[e]);return wn(c,i,Object.keys(o||{}).reduce((f,d)=>(f[d]=Xl(ne(()=>{No(n);const m=n._s.get(e);return o[d].call(m,m)})),f),{}))}return l=bh(e,u,t,n,r,!0),l}function bh(e,t,n={},r,s,i){let o;const a=wn({actions:{}},n),l={deep:!0};let u,c,f=[],d=[],m;const h=r.state.value[e];!i&&!h&&(r.state.value[e]={}),ge({});let y;function v($){let P;u=c=!1,typeof $=="function"?($(r.state.value[e]),P={type:Ss.patchFunction,storeId:e,events:m}):(Qa(r.state.value[e],$),P={type:Ss.patchObject,payload:$,storeId:e,events:m});const q=y=Symbol();Ms().then(()=>{y===q&&(u=!0)}),c=!0,Tr(f,P,r.state.value[e])}const w=i?function(){const{state:P}=n,q=P?P():{};this.$patch(ie=>{wn(ie,q)})}:vh;function O(){o.stop(),f=[],d=[],r._s.delete(e)}function E($,P){return function(){No(r);const q=Array.from(arguments),ie=[],Q=[];function le(ee){ie.push(ee)}function je(ee){Q.push(ee)}Tr(d,{args:q,name:$,store:C,after:le,onError:je});let Ce;try{Ce=P.apply(this&&this.$id===e?this:C,q)}catch(ee){throw Tr(Q,ee),ee}return Ce instanceof Promise?Ce.then(ee=>(Tr(ie,ee),ee)).catch(ee=>(Tr(Q,ee),Promise.reject(ee))):(Tr(ie,Ce),Ce)}}const A={_p:r,$id:e,$onAction:Fu.bind(null,d),$patch:v,$reset:w,$subscribe($,P={}){const q=Fu(f,$,P.detached,()=>ie()),ie=o.run(()=>it(()=>r.state.value[e],Q=>{(P.flush==="sync"?c:u)&&$({storeId:e,type:Ss.direct,events:m},Q)},wn({},l,P)));return q},$dispose:O},C=Vn(A);r._s.set(e,C);const I=(r._a&&r._a.runWithContext||Db)(()=>r._e.run(()=>(o=Bl()).run(t)));for(const $ in I){const P=I[$];if(He(P)&&!jb(P)||In(P))i||(h&&Fb(P)&&(He(P)?P.value=h[$]:Qa(P,h[$])),r.state.value[e][$]=P);else if(typeof P=="function"){const q=E($,P);I[$]=q,a.actions[$]=P}}return wn(C,I),wn(Ae(C),I),Object.defineProperty(C,"$state",{get:()=>r.state.value[e],set:$=>{v(P=>{wn(P,$)})}}),r._p.forEach($=>{wn(C,o.run(()=>$({store:C,app:r._a,pinia:r,options:a})))}),h&&i&&n.hydrate&&n.hydrate(C.$state,h),u=!0,c=!0,C}function Hb(e,t,n){let r,s;const i=typeof t=="function";r=e,s=i?n:t;function o(a,l){const u=Pv();return a=a||(u?tt(_h,null):null),a&&No(a),a=gh,a._s.has(r)||(i?bh(r,t,s,a):Ub(r,s,a)),a._s.get(r)}return o.$id=r,o}/*! + * shared v9.13.1 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */const to=typeof window<"u",Bn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Vb=(e,t,n)=>Bb({l:e,k:t,s:n}),Bb=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ke=e=>typeof e=="number"&&isFinite(e),Wb=e=>Eh(e)==="[object Date]",xn=e=>Eh(e)==="[object RegExp]",Lo=e=>fe(e)&&Object.keys(e).length===0,nt=Object.assign;let ju;const rn=()=>ju||(ju=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Uu(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const Yb=Object.prototype.hasOwnProperty;function no(e,t){return Yb.call(e,t)}const De=Array.isArray,Re=e=>typeof e=="function",G=e=>typeof e=="string",ve=e=>typeof e=="boolean",Se=e=>e!==null&&typeof e=="object",Kb=e=>Se(e)&&Re(e.then)&&Re(e.catch),yh=Object.prototype.toString,Eh=e=>yh.call(e),fe=e=>{if(!Se(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},zb=e=>e==null?"":De(e)||fe(e)&&e.toString===yh?JSON.stringify(e,null,2):String(e);function Gb(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function Io(e){let t=e;return()=>++t}function qb(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const bi=e=>!Se(e)||De(e);function Hi(e,t){if(bi(e)||bi(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(i=>{bi(r[i])||bi(s[i])?s[i]=r[i]:n.push({src:r[i],des:s[i]})})}}/*! + * message-compiler v9.13.1 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */function Xb(e,t,n){return{line:e,column:t,offset:n}}function ro(e,t,n){return{start:e,end:t}}const Jb=/\{([0-9a-zA-Z]+)\}/g;function wh(e,...t){return t.length===1&&Qb(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Jb,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Ah=Object.assign,Hu=e=>typeof e=="string",Qb=e=>e!==null&&typeof e=="object";function Th(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const ac={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Zb={[ac.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function ey(e,t,...n){const r=wh(Zb[e],...n||[]),s={message:String(r),code:e};return t&&(s.location=t),s}const oe={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},ty={[oe.EXPECTED_TOKEN]:"Expected token: '{0}'",[oe.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[oe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[oe.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[oe.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[oe.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[oe.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[oe.EMPTY_PLACEHOLDER]:"Empty placeholder",[oe.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[oe.INVALID_LINKED_FORMAT]:"Invalid linked format",[oe.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[oe.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[oe.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[oe.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[oe.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[oe.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function is(e,t,n={}){const{domain:r,messages:s,args:i}=n,o=wh((s||ty)[e]||"",...i||[]),a=new SyntaxError(String(o));return a.code=e,t&&(a.location=t),a.domain=r,a}function ny(e){throw e}const Zt=" ",ry="\r",at=` +`,sy="\u2028",iy="\u2029";function oy(e){const t=e;let n=0,r=1,s=1,i=0;const o=I=>t[I]===ry&&t[I+1]===at,a=I=>t[I]===at,l=I=>t[I]===iy,u=I=>t[I]===sy,c=I=>o(I)||a(I)||l(I)||u(I),f=()=>n,d=()=>r,m=()=>s,h=()=>i,y=I=>o(I)||l(I)||u(I)?at:t[I],v=()=>y(n),w=()=>y(n+i);function O(){return i=0,c(n)&&(r++,s=0),o(n)&&n++,n++,s++,t[n]}function E(){return o(n+i)&&i++,i++,t[n+i]}function A(){n=0,r=1,s=1,i=0}function C(I=0){i=I}function S(){const I=n+i;for(;I!==n;)O();i=0}return{index:f,line:d,column:m,peekOffset:h,charAt:y,currentChar:v,currentPeek:w,next:O,peek:E,reset:A,resetPeek:C,skipToPeek:S}}const _n=void 0,ay=".",Vu="'",ly="tokenizer";function cy(e,t={}){const n=t.location!==!1,r=oy(e),s=()=>r.index(),i=()=>Xb(r.line(),r.column(),r.index()),o=i(),a=s(),l={currentType:14,offset:a,startLoc:o,endLoc:o,lastType:14,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=t;function f(p,_,T,...M){const K=u();if(_.column+=T,_.offset+=T,c){const U=n?ro(K.startLoc,_):null,L=is(p,U,{domain:ly,args:M});c(L)}}function d(p,_,T){p.endLoc=i(),p.currentType=_;const M={type:_};return n&&(M.loc=ro(p.startLoc,p.endLoc)),T!=null&&(M.value=T),M}const m=p=>d(p,14);function h(p,_){return p.currentChar()===_?(p.next(),_):(f(oe.EXPECTED_TOKEN,i(),0,_),"")}function y(p){let _="";for(;p.currentPeek()===Zt||p.currentPeek()===at;)_+=p.currentPeek(),p.peek();return _}function v(p){const _=y(p);return p.skipToPeek(),_}function w(p){if(p===_n)return!1;const _=p.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_===95}function O(p){if(p===_n)return!1;const _=p.charCodeAt(0);return _>=48&&_<=57}function E(p,_){const{currentType:T}=_;if(T!==2)return!1;y(p);const M=w(p.currentPeek());return p.resetPeek(),M}function A(p,_){const{currentType:T}=_;if(T!==2)return!1;y(p);const M=p.currentPeek()==="-"?p.peek():p.currentPeek(),K=O(M);return p.resetPeek(),K}function C(p,_){const{currentType:T}=_;if(T!==2)return!1;y(p);const M=p.currentPeek()===Vu;return p.resetPeek(),M}function S(p,_){const{currentType:T}=_;if(T!==8)return!1;y(p);const M=p.currentPeek()===".";return p.resetPeek(),M}function I(p,_){const{currentType:T}=_;if(T!==9)return!1;y(p);const M=w(p.currentPeek());return p.resetPeek(),M}function $(p,_){const{currentType:T}=_;if(!(T===8||T===12))return!1;y(p);const M=p.currentPeek()===":";return p.resetPeek(),M}function P(p,_){const{currentType:T}=_;if(T!==10)return!1;const M=()=>{const U=p.currentPeek();return U==="{"?w(p.peek()):U==="@"||U==="%"||U==="|"||U===":"||U==="."||U===Zt||!U?!1:U===at?(p.peek(),M()):Q(p,!1)},K=M();return p.resetPeek(),K}function q(p){y(p);const _=p.currentPeek()==="|";return p.resetPeek(),_}function ie(p){const _=y(p),T=p.currentPeek()==="%"&&p.peek()==="{";return p.resetPeek(),{isModulo:T,hasSpace:_.length>0}}function Q(p,_=!0){const T=(K=!1,U="",L=!1)=>{const R=p.currentPeek();return R==="{"?U==="%"?!1:K:R==="@"||!R?U==="%"?!0:K:R==="%"?(p.peek(),T(K,"%",!0)):R==="|"?U==="%"||L?!0:!(U===Zt||U===at):R===Zt?(p.peek(),T(!0,Zt,L)):R===at?(p.peek(),T(!0,at,L)):!0},M=T();return _&&p.resetPeek(),M}function le(p,_){const T=p.currentChar();return T===_n?_n:_(T)?(p.next(),T):null}function je(p){const _=p.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36}function Ce(p){return le(p,je)}function ee(p){const _=p.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36||_===45}function ae(p){return le(p,ee)}function de(p){const _=p.charCodeAt(0);return _>=48&&_<=57}function xe(p){return le(p,de)}function pe(p){const _=p.charCodeAt(0);return _>=48&&_<=57||_>=65&&_<=70||_>=97&&_<=102}function Ee(p){return le(p,pe)}function be(p){let _="",T="";for(;_=xe(p);)T+=_;return T}function et(p){v(p);const _=p.currentChar();return _!=="%"&&f(oe.EXPECTED_TOKEN,i(),0,_),p.next(),"%"}function Be(p){let _="";for(;;){const T=p.currentChar();if(T==="{"||T==="}"||T==="@"||T==="|"||!T)break;if(T==="%")if(Q(p))_+=T,p.next();else break;else if(T===Zt||T===at)if(Q(p))_+=T,p.next();else{if(q(p))break;_+=T,p.next()}else _+=T,p.next()}return _}function We(p){v(p);let _="",T="";for(;_=ae(p);)T+=_;return p.currentChar()===_n&&f(oe.UNTERMINATED_CLOSING_BRACE,i(),0),T}function Le(p){v(p);let _="";return p.currentChar()==="-"?(p.next(),_+=`-${be(p)}`):_+=be(p),p.currentChar()===_n&&f(oe.UNTERMINATED_CLOSING_BRACE,i(),0),_}function F(p){return p!==Vu&&p!==at}function Y(p){v(p),h(p,"'");let _="",T="";for(;_=le(p,F);)_==="\\"?T+=W(p):T+=_;const M=p.currentChar();return M===at||M===_n?(f(oe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),M===at&&(p.next(),h(p,"'")),T):(h(p,"'"),T)}function W(p){const _=p.currentChar();switch(_){case"\\":case"'":return p.next(),`\\${_}`;case"u":return J(p,_,4);case"U":return J(p,_,6);default:return f(oe.UNKNOWN_ESCAPE_SEQUENCE,i(),0,_),""}}function J(p,_,T){h(p,_);let M="";for(let K=0;K{const M=p.currentChar();return M==="{"||M==="%"||M==="@"||M==="|"||M==="("||M===")"||!M||M===Zt?T:(T+=M,p.next(),_(T))};return _("")}function N(p){v(p);const _=h(p,"|");return v(p),_}function j(p,_){let T=null;switch(p.currentChar()){case"{":return _.braceNest>=1&&f(oe.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),p.next(),T=d(_,2,"{"),v(p),_.braceNest++,T;case"}":return _.braceNest>0&&_.currentType===2&&f(oe.EMPTY_PLACEHOLDER,i(),0),p.next(),T=d(_,3,"}"),_.braceNest--,_.braceNest>0&&v(p),_.inLinked&&_.braceNest===0&&(_.inLinked=!1),T;case"@":return _.braceNest>0&&f(oe.UNTERMINATED_CLOSING_BRACE,i(),0),T=D(p,_)||m(_),_.braceNest=0,T;default:{let K=!0,U=!0,L=!0;if(q(p))return _.braceNest>0&&f(oe.UNTERMINATED_CLOSING_BRACE,i(),0),T=d(_,1,N(p)),_.braceNest=0,_.inLinked=!1,T;if(_.braceNest>0&&(_.currentType===5||_.currentType===6||_.currentType===7))return f(oe.UNTERMINATED_CLOSING_BRACE,i(),0),_.braceNest=0,B(p,_);if(K=E(p,_))return T=d(_,5,We(p)),v(p),T;if(U=A(p,_))return T=d(_,6,Le(p)),v(p),T;if(L=C(p,_))return T=d(_,7,Y(p)),v(p),T;if(!K&&!U&&!L)return T=d(_,13,Te(p)),f(oe.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,T.value),v(p),T;break}}return T}function D(p,_){const{currentType:T}=_;let M=null;const K=p.currentChar();switch((T===8||T===9||T===12||T===10)&&(K===at||K===Zt)&&f(oe.INVALID_LINKED_FORMAT,i(),0),K){case"@":return p.next(),M=d(_,8,"@"),_.inLinked=!0,M;case".":return v(p),p.next(),d(_,9,".");case":":return v(p),p.next(),d(_,10,":");default:return q(p)?(M=d(_,1,N(p)),_.braceNest=0,_.inLinked=!1,M):S(p,_)||$(p,_)?(v(p),D(p,_)):I(p,_)?(v(p),d(_,12,b(p))):P(p,_)?(v(p),K==="{"?j(p,_)||M:d(_,11,g(p))):(T===8&&f(oe.INVALID_LINKED_FORMAT,i(),0),_.braceNest=0,_.inLinked=!1,B(p,_))}}function B(p,_){let T={type:14};if(_.braceNest>0)return j(p,_)||m(_);if(_.inLinked)return D(p,_)||m(_);switch(p.currentChar()){case"{":return j(p,_)||m(_);case"}":return f(oe.UNBALANCED_CLOSING_BRACE,i(),0),p.next(),d(_,3,"}");case"@":return D(p,_)||m(_);default:{if(q(p))return T=d(_,1,N(p)),_.braceNest=0,_.inLinked=!1,T;const{isModulo:K,hasSpace:U}=ie(p);if(K)return U?d(_,0,Be(p)):d(_,4,et(p));if(Q(p))return d(_,0,Be(p));break}}return T}function z(){const{currentType:p,offset:_,startLoc:T,endLoc:M}=l;return l.lastType=p,l.lastOffset=_,l.lastStartLoc=T,l.lastEndLoc=M,l.offset=s(),l.startLoc=i(),r.currentChar()===_n?d(l,14):B(r,l)}return{nextToken:z,currentOffset:s,currentPosition:i,context:u}}const uy="parser",fy=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function dy(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function my(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function s(E,A,C,S,...I){const $=E.currentPosition();if($.offset+=S,$.column+=S,n){const P=t?ro(C,$):null,q=is(A,P,{domain:uy,args:I});n(q)}}function i(E,A,C,S,...I){const $=E.currentPosition();if($.offset+=S,$.column+=S,r){const P=t?ro(C,$):null;r(ey(A,P,I))}}function o(E,A,C){const S={type:E};return t&&(S.start=A,S.end=A,S.loc={start:C,end:C}),S}function a(E,A,C,S){t&&(E.end=A,E.loc&&(E.loc.end=C))}function l(E,A){const C=E.context(),S=o(3,C.offset,C.startLoc);return S.value=A,a(S,E.currentOffset(),E.currentPosition()),S}function u(E,A){const C=E.context(),{lastOffset:S,lastStartLoc:I}=C,$=o(5,S,I);return $.index=parseInt(A,10),E.nextToken(),a($,E.currentOffset(),E.currentPosition()),$}function c(E,A,C){const S=E.context(),{lastOffset:I,lastStartLoc:$}=S,P=o(4,I,$);return P.key=A,C===!0&&(P.modulo=!0),E.nextToken(),a(P,E.currentOffset(),E.currentPosition()),P}function f(E,A){const C=E.context(),{lastOffset:S,lastStartLoc:I}=C,$=o(9,S,I);return $.value=A.replace(fy,dy),E.nextToken(),a($,E.currentOffset(),E.currentPosition()),$}function d(E){const A=E.nextToken(),C=E.context(),{lastOffset:S,lastStartLoc:I}=C,$=o(8,S,I);return A.type!==12?(s(E,oe.UNEXPECTED_EMPTY_LINKED_MODIFIER,C.lastStartLoc,0),$.value="",a($,S,I),{nextConsumeToken:A,node:$}):(A.value==null&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,xt(A)),$.value=A.value||"",a($,E.currentOffset(),E.currentPosition()),{node:$})}function m(E,A){const C=E.context(),S=o(7,C.offset,C.startLoc);return S.value=A,a(S,E.currentOffset(),E.currentPosition()),S}function h(E){const A=E.context(),C=o(6,A.offset,A.startLoc);let S=E.nextToken();if(S.type===9){const I=d(E);C.modifier=I.node,S=I.nextConsumeToken||E.nextToken()}switch(S.type!==10&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,xt(S)),S=E.nextToken(),S.type===2&&(S=E.nextToken()),S.type){case 11:S.value==null&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,xt(S)),C.key=m(E,S.value||"");break;case 5:S.value==null&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,xt(S)),C.key=c(E,S.value||"");break;case 6:S.value==null&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,xt(S)),C.key=u(E,S.value||"");break;case 7:S.value==null&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,xt(S)),C.key=f(E,S.value||"");break;default:{s(E,oe.UNEXPECTED_EMPTY_LINKED_KEY,A.lastStartLoc,0);const I=E.context(),$=o(7,I.offset,I.startLoc);return $.value="",a($,I.offset,I.startLoc),C.key=$,a(C,I.offset,I.startLoc),{nextConsumeToken:S,node:C}}}return a(C,E.currentOffset(),E.currentPosition()),{node:C}}function y(E){const A=E.context(),C=A.currentType===1?E.currentOffset():A.offset,S=A.currentType===1?A.endLoc:A.startLoc,I=o(2,C,S);I.items=[];let $=null,P=null;do{const Q=$||E.nextToken();switch($=null,Q.type){case 0:Q.value==null&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,xt(Q)),I.items.push(l(E,Q.value||""));break;case 6:Q.value==null&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,xt(Q)),I.items.push(u(E,Q.value||""));break;case 4:P=!0;break;case 5:Q.value==null&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,xt(Q)),I.items.push(c(E,Q.value||"",!!P)),P&&(i(E,ac.USE_MODULO_SYNTAX,A.lastStartLoc,0,xt(Q)),P=null);break;case 7:Q.value==null&&s(E,oe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,xt(Q)),I.items.push(f(E,Q.value||""));break;case 8:{const le=h(E);I.items.push(le.node),$=le.nextConsumeToken||null;break}}}while(A.currentType!==14&&A.currentType!==1);const q=A.currentType===1?A.lastOffset:E.currentOffset(),ie=A.currentType===1?A.lastEndLoc:E.currentPosition();return a(I,q,ie),I}function v(E,A,C,S){const I=E.context();let $=S.items.length===0;const P=o(1,A,C);P.cases=[],P.cases.push(S);do{const q=y(E);$||($=q.items.length===0),P.cases.push(q)}while(I.currentType!==14);return $&&s(E,oe.MUST_HAVE_MESSAGES_IN_PLURAL,C,0),a(P,E.currentOffset(),E.currentPosition()),P}function w(E){const A=E.context(),{offset:C,startLoc:S}=A,I=y(E);return A.currentType===14?I:v(E,C,S,I)}function O(E){const A=cy(E,Ah({},e)),C=A.context(),S=o(0,C.offset,C.startLoc);return t&&S.loc&&(S.loc.source=E),S.body=w(A),e.onCacheKey&&(S.cacheKey=e.onCacheKey(E)),C.currentType!==14&&s(A,oe.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,E[C.offset]||""),a(S,A.currentOffset(),A.currentPosition()),S}return{parse:O}}function xt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function hy(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function Bu(e,t){for(let n=0;nWu(n)),e}function Wu(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;na;function u(v,w){a.code+=v}function c(v,w=!0){const O=w?s:"";u(i?O+" ".repeat(v):O)}function f(v=!0){const w=++a.indentLevel;v&&c(w)}function d(v=!0){const w=--a.indentLevel;v&&c(w)}function m(){c(a.indentLevel)}return{context:l,push:u,indent:f,deindent:d,newline:m,helper:v=>`_${v}`,needIndent:()=>a.needIndent}}function yy(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Yr(e,t.key),t.modifier?(e.push(", "),Yr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Ey(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let i=0;i1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let i=0;i{const n=Hu(t.mode)?t.mode:"normal",r=Hu(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,o=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=by(e,{mode:n,filename:r,sourceMap:s,breakLineCode:i,needIndent:o});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(o),a.length>0&&(l.push(`const { ${Th(a.map(f=>`${f}: _${f}`),", ")} } = ctx`),l.newline()),l.push("return "),Yr(l,e),l.deindent(o),l.push("}"),delete e.helpers;const{code:u,map:c}=l.context();return{ast:e,code:u,map:c?c.toJSON():void 0}};function Oy(e,t={}){const n=Ah({},t),r=!!n.jit,s=!!n.minify,i=n.optimize==null?!0:n.optimize,a=my(n).parse(e);return r?(i&&gy(a),s&&Nr(a),{ast:a,code:""}):(py(a,n),Ty(a,n))}/*! + * core-base v9.13.1 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */function Sy(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(rn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(rn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(rn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Wn=[];Wn[0]={w:[0],i:[3,0],"[":[4],o:[7]};Wn[1]={w:[1],".":[2],"[":[4],o:[7]};Wn[2]={w:[2],i:[3,0],0:[3,0]};Wn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Wn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Wn[5]={"'":[4,0],o:8,l:[5,0]};Wn[6]={'"':[4,0],o:8,l:[6,0]};const Cy=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ny(e){return Cy.test(e)}function Ly(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Iy(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Py(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ny(t)?Ly(t):"*"+t}function Ry(e){const t=[];let n=-1,r=0,s=0,i,o,a,l,u,c,f;const d=[];d[0]=()=>{o===void 0?o=a:o+=a},d[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},d[2]=()=>{d[0](),s++},d[3]=()=>{if(s>0)s--,r=4,d[0]();else{if(s=0,o===void 0||(o=Py(o),o===!1))return!1;d[1]()}};function m(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,d[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&m())){if(l=Iy(i),f=Wn[r],u=f[l]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(c=d[u[1]],c&&(a=i,c()===!1))))return;if(r===7)return t}}const Yu=new Map;function xy(e,t){return Se(e)?e[t]:null}function ky(e,t){if(!Se(e))return null;let n=Yu.get(t);if(n||(n=Ry(t),n&&Yu.set(t,n)),!n)return null;const r=n.length;let s=e,i=0;for(;ie,Dy=e=>"",My="text",Fy=e=>e.length===0?"":Gb(e),jy=zb;function Ku(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Uy(e){const t=Ke(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ke(e.named.count)||Ke(e.named.n))?Ke(e.named.count)?e.named.count:Ke(e.named.n)?e.named.n:t:t}function Hy(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Vy(e={}){const t=e.locale,n=Uy(e),r=Se(e.pluralRules)&&G(t)&&Re(e.pluralRules[t])?e.pluralRules[t]:Ku,s=Se(e.pluralRules)&&G(t)&&Re(e.pluralRules[t])?Ku:void 0,i=w=>w[r(n,w.length,s)],o=e.list||[],a=w=>o[w],l=e.named||{};Ke(e.pluralIndex)&&Hy(n,l);const u=w=>l[w];function c(w){const O=Re(e.messages)?e.messages(w):Se(e.messages)?e.messages[w]:!1;return O||(e.parent?e.parent.message(w):Dy)}const f=w=>e.modifiers?e.modifiers[w]:$y,d=fe(e.processor)&&Re(e.processor.normalize)?e.processor.normalize:Fy,m=fe(e.processor)&&Re(e.processor.interpolate)?e.processor.interpolate:jy,h=fe(e.processor)&&G(e.processor.type)?e.processor.type:My,v={list:a,named:u,plural:i,linked:(w,...O)=>{const[E,A]=O;let C="text",S="";O.length===1?Se(E)?(S=E.modifier||S,C=E.type||C):G(E)&&(S=E||S):O.length===2&&(G(E)&&(S=E||S),G(A)&&(C=A||C));const I=c(w)(v),$=C==="vnode"&&De(I)&&S?I[0]:I;return S?f(S)($,C):$},message:c,type:h,interpolate:m,normalize:d,values:nt({},o,l)};return v}let Us=null;function By(e){Us=e}function Wy(e,t,n){Us&&Us.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Yy=Ky("function:translate");function Ky(e){return t=>Us&&Us.emit(e,t)}const Oh=ac.__EXTEND_POINT__,Xn=Io(Oh),zy={NOT_FOUND_KEY:Oh,FALLBACK_TO_TRANSLATE:Xn(),CANNOT_FORMAT_NUMBER:Xn(),FALLBACK_TO_NUMBER_FORMAT:Xn(),CANNOT_FORMAT_DATE:Xn(),FALLBACK_TO_DATE_FORMAT:Xn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Xn(),__EXTEND_POINT__:Xn()},Sh=oe.__EXTEND_POINT__,Jn=Io(Sh),$t={INVALID_ARGUMENT:Sh,INVALID_DATE_ARGUMENT:Jn(),INVALID_ISO_DATE_ARGUMENT:Jn(),NOT_SUPPORT_NON_STRING_MESSAGE:Jn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Jn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Jn(),NOT_SUPPORT_LOCALE_TYPE:Jn(),__EXTEND_POINT__:Jn()};function Kt(e){return is(e,null,void 0)}function cc(e,t){return t.locale!=null?zu(t.locale):zu(e.locale)}let la;function zu(e){if(G(e))return e;if(Re(e)){if(e.resolvedOnce&&la!=null)return la;if(e.constructor.name==="Function"){const t=e();if(Kb(t))throw Kt($t.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return la=t}else throw Kt($t.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Kt($t.NOT_SUPPORT_LOCALE_TYPE)}function Gy(e,t,n){return[...new Set([n,...De(t)?t:Se(t)?Object.keys(t):G(t)?[t]:[n]])]}function Ch(e,t,n){const r=G(n)?n:Kr,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let i=s.__localeChainCache.get(r);if(!i){i=[];let o=[n];for(;De(o);)o=Gu(i,o,t);const a=De(t)||!fe(t)?t:t.default?t.default:null;o=G(a)?[a]:a,De(o)&&Gu(i,o,!1),s.__localeChainCache.set(r,i)}return i}function Gu(e,t,n){let r=!0;for(let s=0;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Qy(){return{upper:(e,t)=>t==="text"&&G(e)?e.toUpperCase():t==="vnode"&&Se(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&G(e)?e.toLowerCase():t==="vnode"&&Se(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&G(e)?Xu(e):t==="vnode"&&Se(e)&&"__v_isVNode"in e?Xu(e.children):e}}let Nh;function Ju(e){Nh=e}let Lh;function Zy(e){Lh=e}let Ih;function eE(e){Ih=e}let Ph=null;const tE=e=>{Ph=e},nE=()=>Ph;let Rh=null;const Qu=e=>{Rh=e},rE=()=>Rh;let Zu=0;function sE(e={}){const t=Re(e.onWarn)?e.onWarn:qb,n=G(e.version)?e.version:Jy,r=G(e.locale)||Re(e.locale)?e.locale:Kr,s=Re(r)?Kr:r,i=De(e.fallbackLocale)||fe(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,o=fe(e.messages)?e.messages:{[s]:{}},a=fe(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},l=fe(e.numberFormats)?e.numberFormats:{[s]:{}},u=nt({},e.modifiers||{},Qy()),c=e.pluralRules||{},f=Re(e.missing)?e.missing:null,d=ve(e.missingWarn)||xn(e.missingWarn)?e.missingWarn:!0,m=ve(e.fallbackWarn)||xn(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,y=!!e.unresolving,v=Re(e.postTranslation)?e.postTranslation:null,w=fe(e.processor)?e.processor:null,O=ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,A=Re(e.messageCompiler)?e.messageCompiler:Nh,C=Re(e.messageResolver)?e.messageResolver:Lh||xy,S=Re(e.localeFallbacker)?e.localeFallbacker:Ih||Gy,I=Se(e.fallbackContext)?e.fallbackContext:void 0,$=e,P=Se($.__datetimeFormatters)?$.__datetimeFormatters:new Map,q=Se($.__numberFormatters)?$.__numberFormatters:new Map,ie=Se($.__meta)?$.__meta:{};Zu++;const Q={version:n,cid:Zu,locale:r,fallbackLocale:i,messages:o,modifiers:u,pluralRules:c,missing:f,missingWarn:d,fallbackWarn:m,fallbackFormat:h,unresolving:y,postTranslation:v,processor:w,warnHtmlMessage:O,escapeParameter:E,messageCompiler:A,messageResolver:C,localeFallbacker:S,fallbackContext:I,onWarn:t,__meta:ie};return Q.datetimeFormats=a,Q.numberFormats=l,Q.__datetimeFormatters=P,Q.__numberFormatters=q,__INTLIFY_PROD_DEVTOOLS__&&Wy(Q,n,ie),Q}function uc(e,t,n,r,s){const{missing:i,onWarn:o}=e;if(i!==null){const a=i(e,n,t,s);return G(a)?a:t}else return t}function hs(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function iE(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function oE(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;raE(n,e)}function aE(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,s=r.c||r.cases;return e.plural(s.reduce((i,o)=>[...i,ef(e,o)],[]))}else return ef(e,n)}function ef(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((s,i)=>[...s,Za(e,i)],[]);return e.normalize(r)}}function Za(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,s=r.m||r.modifier;return e.linked(Za(e,r.k||r.key),s?Za(e,s):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const xh=e=>e;let xr=Object.create(null);const zr=e=>Se(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function kh(e,t={}){let n=!1;const r=t.onError||ny;return t.onError=s=>{n=!0,r(s)},{...Oy(e,t),detectError:n}}const lE=(e,t)=>{if(!G(e))throw Kt($t.NOT_SUPPORT_NON_STRING_MESSAGE);{ve(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||xh)(e),s=xr[r];if(s)return s;const{code:i,detectError:o}=kh(e,t),a=new Function(`return ${i}`)();return o?a:xr[r]=a}};function cE(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&G(e)){ve(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||xh)(e),s=xr[r];if(s)return s;const{ast:i,detectError:o}=kh(e,{...t,location:!1,jit:!0}),a=ca(i);return o?a:xr[r]=a}else{const n=e.cacheKey;if(n){const r=xr[n];return r||(xr[n]=ca(e))}else return ca(e)}}const tf=()=>"",St=e=>Re(e);function nf(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:i,fallbackLocale:o,messages:a}=e,[l,u]=el(...t),c=ve(u.missingWarn)?u.missingWarn:e.missingWarn,f=ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=ve(u.escapeParameter)?u.escapeParameter:e.escapeParameter,m=!!u.resolvedMessage,h=G(u.default)||ve(u.default)?ve(u.default)?i?l:()=>l:u.default:n?i?l:()=>l:"",y=n||h!=="",v=cc(e,u);d&&uE(u);let[w,O,E]=m?[l,v,a[v]||{}]:$h(e,l,v,o,f,c),A=w,C=l;if(!m&&!(G(A)||zr(A)||St(A))&&y&&(A=h,C=A),!m&&(!(G(A)||zr(A)||St(A))||!G(O)))return s?Po:l;let S=!1;const I=()=>{S=!0},$=St(A)?A:Dh(e,l,O,A,C,I);if(S)return A;const P=mE(e,O,E,u),q=Vy(P),ie=fE(e,$,q),Q=r?r(ie,l):ie;if(__INTLIFY_PROD_DEVTOOLS__){const le={timestamp:Date.now(),key:G(l)?l:St(A)?A.key:"",locale:O||(St(A)?A.locale:""),format:G(A)?A:St(A)?A.source:"",message:Q};le.meta=nt({},e.__meta,nE()||{}),Yy(le)}return Q}function uE(e){De(e.list)?e.list=e.list.map(t=>G(t)?Uu(t):t):Se(e.named)&&Object.keys(e.named).forEach(t=>{G(e.named[t])&&(e.named[t]=Uu(e.named[t]))})}function $h(e,t,n,r,s,i){const{messages:o,onWarn:a,messageResolver:l,localeFallbacker:u}=e,c=u(e,r,n);let f={},d,m=null;const h="translate";for(let y=0;yr;return u.locale=n,u.key=t,u}const l=o(r,dE(e,n,s,r,a,i));return l.locale=n,l.key=t,l.source=r,l}function fE(e,t,n){return t(n)}function el(...e){const[t,n,r]=e,s={};if(!G(t)&&!Ke(t)&&!St(t)&&!zr(t))throw Kt($t.INVALID_ARGUMENT);const i=Ke(t)?String(t):(St(t),t);return Ke(n)?s.plural=n:G(n)?s.default=n:fe(n)&&!Lo(n)?s.named=n:De(n)&&(s.list=n),Ke(r)?s.plural=r:G(r)?s.default=r:fe(r)&&nt(s,r),[i,s]}function dE(e,t,n,r,s,i){return{locale:t,key:n,warnHtmlMessage:s,onError:o=>{throw i&&i(o),o},onCacheKey:o=>Vb(t,n,o)}}function mE(e,t,n,r){const{modifiers:s,pluralRules:i,messageResolver:o,fallbackLocale:a,fallbackWarn:l,missingWarn:u,fallbackContext:c}=e,d={locale:t,modifiers:s,pluralRules:i,messages:m=>{let h=o(n,m);if(h==null&&c){const[,,y]=$h(c,m,t,a,l,u);h=o(y,m)}if(G(h)||zr(h)){let y=!1;const w=Dh(e,m,t,h,m,()=>{y=!0});return y?tf:w}else return St(h)?h:tf}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),Ke(r.plural)&&(d.pluralIndex=r.plural),d}function rf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:i,localeFallbacker:o}=e,{__datetimeFormatters:a}=e,[l,u,c,f]=tl(...t),d=ve(c.missingWarn)?c.missingWarn:e.missingWarn;ve(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const m=!!c.part,h=cc(e,c),y=o(e,s,h);if(!G(l)||l==="")return new Intl.DateTimeFormat(h,f).format(u);let v={},w,O=null;const E="datetime format";for(let S=0;S{Mh.includes(l)?o[l]=n[l]:i[l]=n[l]}),G(r)?i.locale=r:fe(r)&&(o=r),fe(s)&&(o=s),[i.key||"",a,i,o]}function sf(e,t,n){const r=e;for(const s in n){const i=`${t}__${s}`;r.__datetimeFormatters.has(i)&&r.__datetimeFormatters.delete(i)}}function of(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:i,localeFallbacker:o}=e,{__numberFormatters:a}=e,[l,u,c,f]=nl(...t),d=ve(c.missingWarn)?c.missingWarn:e.missingWarn;ve(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const m=!!c.part,h=cc(e,c),y=o(e,s,h);if(!G(l)||l==="")return new Intl.NumberFormat(h,f).format(u);let v={},w,O=null;const E="number format";for(let S=0;S{Fh.includes(l)?o[l]=n[l]:i[l]=n[l]}),G(r)?i.locale=r:fe(r)&&(o=r),fe(s)&&(o=s),[i.key||"",a,i,o]}function af(e,t,n){const r=e;for(const s in n){const i=`${t}__${s}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}Sy();/*! + * vue-i18n v9.13.1 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */const hE="9.13.1";function pE(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(rn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(rn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(rn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(rn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(rn().__INTLIFY_PROD_DEVTOOLS__=!1)}const jh=zy.__EXTEND_POINT__,en=Io(jh);en(),en(),en(),en(),en(),en(),en(),en(),en();const Uh=$t.__EXTEND_POINT__,dt=Io(Uh),ze={UNEXPECTED_RETURN_TYPE:Uh,INVALID_ARGUMENT:dt(),MUST_BE_CALL_SETUP_TOP:dt(),NOT_INSTALLED:dt(),NOT_AVAILABLE_IN_LEGACY_MODE:dt(),REQUIRED_VALUE:dt(),INVALID_VALUE:dt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:dt(),NOT_INSTALLED_WITH_PROVIDE:dt(),UNEXPECTED_ERROR:dt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:dt(),BRIDGE_SUPPORT_VUE_2_ONLY:dt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:dt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:dt(),__EXTEND_POINT__:dt()};function Qe(e,...t){return is(e,null,void 0)}const rl=Bn("__translateVNode"),sl=Bn("__datetimeParts"),il=Bn("__numberParts"),Hh=Bn("__setPluralRules"),Vh=Bn("__injectWithOption"),ol=Bn("__dispose");function Hs(e){if(!Se(e))return e;for(const t in e)if(no(e,t))if(!t.includes("."))Se(e[t])&&Hs(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,i=!1;for(let o=0;o{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(o[l]=o[l]||{},Hi(u,o[l])):Hi(u,o)}else G(a)&&Hi(JSON.parse(a),o)}),s==null&&i)for(const a in o)no(o,a)&&Hs(o[a]);return o}function Bh(e){return e.type}function Wh(e,t,n){let r=Se(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Ro(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(Se(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(Se(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function lf(e){return ye(Js,null,e,0)}const cf="__INTLIFY_META__",uf=()=>[],gE=()=>!1;let ff=0;function df(e){return(t,n,r,s)=>e(n,r,Wr()||void 0,s)}const _E=()=>{const e=Wr();let t=null;return e&&(t=Bh(e)[cf])?{[cf]:t}:null};function fc(e={},t){const{__root:n,__injectWithOption:r}=e,s=n===void 0,i=e.flatJson,o=to?ge:Ql,a=!!e.translateExistCompatible;let l=ve(e.inheritLocale)?e.inheritLocale:!0;const u=o(n&&l?n.locale.value:G(e.locale)?e.locale:Kr),c=o(n&&l?n.fallbackLocale.value:G(e.fallbackLocale)||De(e.fallbackLocale)||fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),f=o(Ro(u.value,e)),d=o(fe(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),m=o(fe(e.numberFormats)?e.numberFormats:{[u.value]:{}});let h=n?n.missingWarn:ve(e.missingWarn)||xn(e.missingWarn)?e.missingWarn:!0,y=n?n.fallbackWarn:ve(e.fallbackWarn)||xn(e.fallbackWarn)?e.fallbackWarn:!0,v=n?n.fallbackRoot:ve(e.fallbackRoot)?e.fallbackRoot:!0,w=!!e.fallbackFormat,O=Re(e.missing)?e.missing:null,E=Re(e.missing)?df(e.missing):null,A=Re(e.postTranslation)?e.postTranslation:null,C=n?n.warnHtmlMessage:ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter;const I=n?n.modifiers:fe(e.modifiers)?e.modifiers:{};let $=e.pluralRules||n&&n.pluralRules,P;P=(()=>{s&&Qu(null);const L={version:hE,locale:u.value,fallbackLocale:c.value,messages:f.value,modifiers:I,pluralRules:$,missing:E===null?void 0:E,missingWarn:h,fallbackWarn:y,fallbackFormat:w,unresolving:!0,postTranslation:A===null?void 0:A,warnHtmlMessage:C,escapeParameter:S,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=d.value,L.numberFormats=m.value,L.__datetimeFormatters=fe(P)?P.__datetimeFormatters:void 0,L.__numberFormatters=fe(P)?P.__numberFormatters:void 0;const R=sE(L);return s&&Qu(R),R})(),hs(P,u.value,c.value);function ie(){return[u.value,c.value,f.value,d.value,m.value]}const Q=ne({get:()=>u.value,set:L=>{u.value=L,P.locale=u.value}}),le=ne({get:()=>c.value,set:L=>{c.value=L,P.fallbackLocale=c.value,hs(P,u.value,L)}}),je=ne(()=>f.value),Ce=ne(()=>d.value),ee=ne(()=>m.value);function ae(){return Re(A)?A:null}function de(L){A=L,P.postTranslation=L}function xe(){return O}function pe(L){L!==null&&(E=df(L)),O=L,P.missing=E}const Ee=(L,R,te,se,Pe,rt)=>{ie();let vt;try{__INTLIFY_PROD_DEVTOOLS__,s||(P.fallbackContext=n?rE():void 0),vt=L(P)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(P.fallbackContext=void 0)}if(te!=="translate exists"&&Ke(vt)&&vt===Po||te==="translate exists"&&!vt){const[di,Ar]=R();return n&&v?se(n):Pe(di)}else{if(rt(vt))return vt;throw Qe(ze.UNEXPECTED_RETURN_TYPE)}};function be(...L){return Ee(R=>Reflect.apply(nf,null,[R,...L]),()=>el(...L),"translate",R=>Reflect.apply(R.t,R,[...L]),R=>R,R=>G(R))}function et(...L){const[R,te,se]=L;if(se&&!Se(se))throw Qe(ze.INVALID_ARGUMENT);return be(R,te,nt({resolvedMessage:!0},se||{}))}function Be(...L){return Ee(R=>Reflect.apply(rf,null,[R,...L]),()=>tl(...L),"datetime format",R=>Reflect.apply(R.d,R,[...L]),()=>qu,R=>G(R))}function We(...L){return Ee(R=>Reflect.apply(of,null,[R,...L]),()=>nl(...L),"number format",R=>Reflect.apply(R.n,R,[...L]),()=>qu,R=>G(R))}function Le(L){return L.map(R=>G(R)||Ke(R)||ve(R)?lf(String(R)):R)}const Y={normalize:Le,interpolate:L=>L,type:"vnode"};function W(...L){return Ee(R=>{let te;const se=R;try{se.processor=Y,te=Reflect.apply(nf,null,[se,...L])}finally{se.processor=null}return te},()=>el(...L),"translate",R=>R[rl](...L),R=>[lf(R)],R=>De(R))}function J(...L){return Ee(R=>Reflect.apply(of,null,[R,...L]),()=>nl(...L),"number format",R=>R[il](...L),uf,R=>G(R)||De(R))}function _e(...L){return Ee(R=>Reflect.apply(rf,null,[R,...L]),()=>tl(...L),"datetime format",R=>R[sl](...L),uf,R=>G(R)||De(R))}function Te(L){$=L,P.pluralRules=$}function b(L,R){return Ee(()=>{if(!L)return!1;const te=G(R)?R:u.value,se=j(te),Pe=P.messageResolver(se,L);return a?Pe!=null:zr(Pe)||St(Pe)||G(Pe)},()=>[L],"translate exists",te=>Reflect.apply(te.te,te,[L,R]),gE,te=>ve(te))}function g(L){let R=null;const te=Ch(P,c.value,u.value);for(let se=0;se{l&&(u.value=L,P.locale=L,hs(P,u.value,c.value))}),it(n.fallbackLocale,L=>{l&&(c.value=L,P.fallbackLocale=L,hs(P,u.value,c.value))}));const U={id:ff,locale:Q,fallbackLocale:le,get inheritLocale(){return l},set inheritLocale(L){l=L,L&&n&&(u.value=n.locale.value,c.value=n.fallbackLocale.value,hs(P,u.value,c.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:je,get modifiers(){return I},get pluralRules(){return $||{}},get isGlobal(){return s},get missingWarn(){return h},set missingWarn(L){h=L,P.missingWarn=h},get fallbackWarn(){return y},set fallbackWarn(L){y=L,P.fallbackWarn=y},get fallbackRoot(){return v},set fallbackRoot(L){v=L},get fallbackFormat(){return w},set fallbackFormat(L){w=L,P.fallbackFormat=w},get warnHtmlMessage(){return C},set warnHtmlMessage(L){C=L,P.warnHtmlMessage=L},get escapeParameter(){return S},set escapeParameter(L){S=L,P.escapeParameter=L},t:be,getLocaleMessage:j,setLocaleMessage:D,mergeLocaleMessage:B,getPostTranslationHandler:ae,setPostTranslationHandler:de,getMissingHandler:xe,setMissingHandler:pe,[Hh]:Te};return U.datetimeFormats=Ce,U.numberFormats=ee,U.rt=et,U.te=b,U.tm=N,U.d=Be,U.n=We,U.getDateTimeFormat=z,U.setDateTimeFormat=p,U.mergeDateTimeFormat=_,U.getNumberFormat=T,U.setNumberFormat=M,U.mergeNumberFormat=K,U[Vh]=r,U[rl]=W,U[sl]=_e,U[il]=J,U}function vE(e){const t=G(e.locale)?e.locale:Kr,n=G(e.fallbackLocale)||De(e.fallbackLocale)||fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Re(e.missing)?e.missing:void 0,s=ve(e.silentTranslationWarn)||xn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=ve(e.silentFallbackWarn)||xn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=ve(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=fe(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,c=Re(e.postTranslation)?e.postTranslation:void 0,f=G(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,m=ve(e.sync)?e.sync:!0;let h=e.messages;if(fe(e.sharedMessages)){const S=e.sharedMessages;h=Object.keys(S).reduce(($,P)=>{const q=$[P]||($[P]={});return nt(q,S[P]),$},h||{})}const{__i18n:y,__root:v,__injectWithOption:w}=e,O=e.datetimeFormats,E=e.numberFormats,A=e.flatJson,C=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:h,flatJson:A,datetimeFormats:O,numberFormats:E,missing:r,missingWarn:s,fallbackWarn:i,fallbackRoot:o,fallbackFormat:a,modifiers:l,pluralRules:u,postTranslation:c,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:m,translateExistCompatible:C,__i18n:y,__root:v,__injectWithOption:w}}function al(e={},t){{const n=fc(vE(e)),{__extender:r}=e,s={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return ve(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=ve(i)?!i:i},get silentFallbackWarn(){return ve(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=ve(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[o,a,l]=i,u={};let c=null,f=null;if(!G(o))throw Qe(ze.INVALID_ARGUMENT);const d=o;return G(a)?u.locale=a:De(a)?c=a:fe(a)&&(f=a),De(l)?c=l:fe(l)&&(f=l),Reflect.apply(n.t,n,[d,c||f||{},u])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[o,a,l]=i,u={plural:1};let c=null,f=null;if(!G(o))throw Qe(ze.INVALID_ARGUMENT);const d=o;return G(a)?u.locale=a:Ke(a)?u.plural=a:De(a)?c=a:fe(a)&&(f=a),G(l)?u.locale=l:De(l)?c=l:fe(l)&&(f=l),Reflect.apply(n.t,n,[d,c||f||{},u])},te(i,o){return n.te(i,o)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,o){n.setLocaleMessage(i,o)},mergeLocaleMessage(i,o){n.mergeLocaleMessage(i,o)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,o){n.setDateTimeFormat(i,o)},mergeDateTimeFormat(i,o){n.mergeDateTimeFormat(i,o)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,o){n.setNumberFormat(i,o)},mergeNumberFormat(i,o){n.mergeNumberFormat(i,o)},getChoiceIndex(i,o){return-1}};return s.__extender=r,s}}const dc={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function bE({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===lt?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function Yh(e){return lt}const yE=Xe({name:"i18n-t",props:nt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ke(e)||!isNaN(e)}},dc),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Qt({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(f=>f!=="_"),o={};e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=G(e.plural)?+e.plural:e.plural);const a=bE(t,i),l=s[rl](e.keypath,a,o),u=nt({},r),c=G(e.tag)||Se(e.tag)?e.tag:Yh();return Zs(c,u,l)}}}),mf=yE;function EE(e){return De(e)&&!G(e[0])}function Kh(e,t,n,r){const{slots:s,attrs:i}=t;return()=>{const o={part:!0};let a={};e.locale&&(o.locale=e.locale),G(e.format)?o.key=e.format:Se(e.format)&&(G(e.format.key)&&(o.key=e.format.key),a=Object.keys(e.format).reduce((d,m)=>n.includes(m)?nt({},d,{[m]:e.format[m]}):d,{}));const l=r(e.value,o,a);let u=[o.key];De(l)?u=l.map((d,m)=>{const h=s[d.type],y=h?h({[d.type]:d.value,index:m,parts:l}):[d.value];return EE(y)&&(y[0].key=`${d.type}-${m}`),y}):G(l)&&(u=[l]);const c=nt({},i),f=G(e.tag)||Se(e.tag)?e.tag:Yh();return Zs(f,c,u)}}const wE=Xe({name:"i18n-n",props:nt({value:{type:Number,required:!0},format:{type:[String,Object]}},dc),setup(e,t){const n=e.i18n||Qt({useScope:e.scope,__useComponent:!0});return Kh(e,t,Fh,(...r)=>n[il](...r))}}),hf=wE,AE=Xe({name:"i18n-d",props:nt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},dc),setup(e,t){const n=e.i18n||Qt({useScope:e.scope,__useComponent:!0});return Kh(e,t,Mh,(...r)=>n[sl](...r))}}),pf=AE;function TE(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function OE(e){const t=o=>{const{instance:a,modifiers:l,value:u}=o;if(!a||!a.$)throw Qe(ze.UNEXPECTED_ERROR);const c=TE(e,a.$),f=gf(u);return[Reflect.apply(c.t,c,[..._f(f)]),c]};return{created:(o,a)=>{const[l,u]=t(a);to&&e.global===u&&(o.__i18nWatcher=it(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=u,o.textContent=l},unmounted:o=>{to&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,u=gf(a);o.textContent=Reflect.apply(l.t,l,[..._f(u)])}},getSSRProps:o=>{const[a]=t(o);return{textContent:a}}}}function gf(e){if(G(e))return{path:e};if(fe(e)){if(!("path"in e))throw Qe(ze.REQUIRED_VALUE,"path");return e}else throw Qe(ze.INVALID_VALUE)}function _f(e){const{path:t,locale:n,args:r,choice:s,plural:i}=e,o={},a=r||{};return G(n)&&(o.locale=n),Ke(s)&&(o.plural=s),Ke(i)&&(o.plural=i),[t,a,o]}function SE(e,t,...n){const r=fe(n[0])?n[0]:{},s=!!r.useI18nComponentName;(ve(r.globalInstall)?r.globalInstall:!0)&&([s?"i18n":mf.name,"I18nT"].forEach(o=>e.component(o,mf)),[hf.name,"I18nN"].forEach(o=>e.component(o,hf)),[pf.name,"I18nD"].forEach(o=>e.component(o,pf))),e.directive("t",OE(t))}function CE(e,t,n){return{beforeCreate(){const r=Wr();if(!r)throw Qe(ze.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const i=s.i18n;if(s.__i18n&&(i.__i18n=s.__i18n),i.__root=t,this===this.$root)this.$i18n=vf(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=al(i);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=vf(e,s);else{this.$i18n=al({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&Wh(t,s,s),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,o)=>this.$i18n.te(i,o),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=Wr();if(!r)throw Qe(ze.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(r),delete this.$i18n}}}function vf(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Hh](t.pluralizationRules||e.pluralizationRules);const n=Ro(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const NE=Bn("global-vue-i18n");function LE(e={},t){const n=__VUE_I18N_LEGACY_API__&&ve(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=ve(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[o,a]=IE(e,n),l=Bn("");function u(d){return i.get(d)||null}function c(d,m){i.set(d,m)}function f(d){i.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return s},async install(m,...h){if(m.__VUE_I18N_SYMBOL__=l,m.provide(m.__VUE_I18N_SYMBOL__,d),fe(h[0])){const w=h[0];d.__composerExtend=w.__composerExtend,d.__vueI18nExtend=w.__vueI18nExtend}let y=null;!n&&r&&(y=jE(m,d.global)),__VUE_I18N_FULL_INSTALL__&&SE(m,d,...h),__VUE_I18N_LEGACY_API__&&n&&m.mixin(CE(a,a.__composer,d));const v=m.unmount;m.unmount=()=>{y&&y(),d.dispose(),v()}},get global(){return a},dispose(){o.stop()},__instances:i,__getInstance:u,__setInstance:c,__deleteInstance:f};return d}}function Qt(e={}){const t=Wr();if(t==null)throw Qe(ze.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Qe(ze.NOT_INSTALLED);const n=PE(t),r=xE(n),s=Bh(t),i=RE(e,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Qe(ze.NOT_AVAILABLE_IN_LEGACY_MODE);return ME(t,i,r,e)}if(i==="global")return Wh(r,e,s),r;if(i==="parent"){let l=kE(n,t,e.__useComponent);return l==null&&(l=r),l}const o=n;let a=o.__getInstance(t);if(a==null){const l=nt({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),a=fc(l),o.__composerExtend&&(a[ol]=o.__composerExtend(a)),DE(o,t,a),o.__setInstance(t,a)}return a}function IE(e,t,n){const r=Bl();{const s=__VUE_I18N_LEGACY_API__&&t?r.run(()=>al(e)):r.run(()=>fc(e));if(s==null)throw Qe(ze.UNEXPECTED_ERROR);return[r,s]}}function PE(e){{const t=tt(e.isCE?NE:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Qe(e.isCE?ze.NOT_INSTALLED_WITH_PROVIDE:ze.UNEXPECTED_ERROR);return t}}function RE(e,t){return Lo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function xE(e){return e.mode==="composition"?e.global:e.global.__composer}function kE(e,t,n=!1){let r=null;const s=t.root;let i=$E(t,n);for(;i!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const a=o.__getInstance(i);a!=null&&(r=a.__composer,n&&r&&!r[Vh]&&(r=null))}if(r!=null||s===i)break;i=i.parent}return r}function $E(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function DE(e,t,n){ss(()=>{},t),Oo(()=>{const r=n;e.__deleteInstance(t);const s=r[ol];s&&(s(),delete r[ol])},t)}function ME(e,t,n,r={}){const s=t==="local",i=Ql(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Qe(ze.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=ve(r.inheritLocale)?r.inheritLocale:!G(r.locale),a=ge(!s||o?n.locale.value:G(r.locale)?r.locale:Kr),l=ge(!s||o?n.fallbackLocale.value:G(r.fallbackLocale)||De(r.fallbackLocale)||fe(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:a.value),u=ge(Ro(a.value,r)),c=ge(fe(r.datetimeFormats)?r.datetimeFormats:{[a.value]:{}}),f=ge(fe(r.numberFormats)?r.numberFormats:{[a.value]:{}}),d=s?n.missingWarn:ve(r.missingWarn)||xn(r.missingWarn)?r.missingWarn:!0,m=s?n.fallbackWarn:ve(r.fallbackWarn)||xn(r.fallbackWarn)?r.fallbackWarn:!0,h=s?n.fallbackRoot:ve(r.fallbackRoot)?r.fallbackRoot:!0,y=!!r.fallbackFormat,v=Re(r.missing)?r.missing:null,w=Re(r.postTranslation)?r.postTranslation:null,O=s?n.warnHtmlMessage:ve(r.warnHtmlMessage)?r.warnHtmlMessage:!0,E=!!r.escapeParameter,A=s?n.modifiers:fe(r.modifiers)?r.modifiers:{},C=r.pluralRules||s&&n.pluralRules;function S(){return[a.value,l.value,u.value,c.value,f.value]}const I=ne({get:()=>i.value?i.value.locale.value:a.value,set:g=>{i.value&&(i.value.locale.value=g),a.value=g}}),$=ne({get:()=>i.value?i.value.fallbackLocale.value:l.value,set:g=>{i.value&&(i.value.fallbackLocale.value=g),l.value=g}}),P=ne(()=>i.value?i.value.messages.value:u.value),q=ne(()=>c.value),ie=ne(()=>f.value);function Q(){return i.value?i.value.getPostTranslationHandler():w}function le(g){i.value&&i.value.setPostTranslationHandler(g)}function je(){return i.value?i.value.getMissingHandler():v}function Ce(g){i.value&&i.value.setMissingHandler(g)}function ee(g){return S(),g()}function ae(...g){return i.value?ee(()=>Reflect.apply(i.value.t,null,[...g])):ee(()=>"")}function de(...g){return i.value?Reflect.apply(i.value.rt,null,[...g]):""}function xe(...g){return i.value?ee(()=>Reflect.apply(i.value.d,null,[...g])):ee(()=>"")}function pe(...g){return i.value?ee(()=>Reflect.apply(i.value.n,null,[...g])):ee(()=>"")}function Ee(g){return i.value?i.value.tm(g):{}}function be(g,N){return i.value?i.value.te(g,N):!1}function et(g){return i.value?i.value.getLocaleMessage(g):{}}function Be(g,N){i.value&&(i.value.setLocaleMessage(g,N),u.value[g]=N)}function We(g,N){i.value&&i.value.mergeLocaleMessage(g,N)}function Le(g){return i.value?i.value.getDateTimeFormat(g):{}}function F(g,N){i.value&&(i.value.setDateTimeFormat(g,N),c.value[g]=N)}function Y(g,N){i.value&&i.value.mergeDateTimeFormat(g,N)}function W(g){return i.value?i.value.getNumberFormat(g):{}}function J(g,N){i.value&&(i.value.setNumberFormat(g,N),f.value[g]=N)}function _e(g,N){i.value&&i.value.mergeNumberFormat(g,N)}const Te={get id(){return i.value?i.value.id:-1},locale:I,fallbackLocale:$,messages:P,datetimeFormats:q,numberFormats:ie,get inheritLocale(){return i.value?i.value.inheritLocale:o},set inheritLocale(g){i.value&&(i.value.inheritLocale=g)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(u.value)},get modifiers(){return i.value?i.value.modifiers:A},get pluralRules(){return i.value?i.value.pluralRules:C},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:d},set missingWarn(g){i.value&&(i.value.missingWarn=g)},get fallbackWarn(){return i.value?i.value.fallbackWarn:m},set fallbackWarn(g){i.value&&(i.value.missingWarn=g)},get fallbackRoot(){return i.value?i.value.fallbackRoot:h},set fallbackRoot(g){i.value&&(i.value.fallbackRoot=g)},get fallbackFormat(){return i.value?i.value.fallbackFormat:y},set fallbackFormat(g){i.value&&(i.value.fallbackFormat=g)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:O},set warnHtmlMessage(g){i.value&&(i.value.warnHtmlMessage=g)},get escapeParameter(){return i.value?i.value.escapeParameter:E},set escapeParameter(g){i.value&&(i.value.escapeParameter=g)},t:ae,getPostTranslationHandler:Q,setPostTranslationHandler:le,getMissingHandler:je,setMissingHandler:Ce,rt:de,d:xe,n:pe,tm:Ee,te:be,getLocaleMessage:et,setLocaleMessage:Be,mergeLocaleMessage:We,getDateTimeFormat:Le,setDateTimeFormat:F,mergeDateTimeFormat:Y,getNumberFormat:W,setNumberFormat:J,mergeNumberFormat:_e};function b(g){g.locale.value=a.value,g.fallbackLocale.value=l.value,Object.keys(u.value).forEach(N=>{g.mergeLocaleMessage(N,u.value[N])}),Object.keys(c.value).forEach(N=>{g.mergeDateTimeFormat(N,c.value[N])}),Object.keys(f.value).forEach(N=>{g.mergeNumberFormat(N,f.value[N])}),g.escapeParameter=E,g.fallbackFormat=y,g.fallbackRoot=h,g.fallbackWarn=m,g.missingWarn=d,g.warnHtmlMessage=O}return nc(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Qe(ze.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const g=i.value=e.proxy.$i18n.__composer;t==="global"?(a.value=g.locale.value,l.value=g.fallbackLocale.value,u.value=g.messages.value,c.value=g.datetimeFormats.value,f.value=g.numberFormats.value):s&&b(g)}),Te}const FE=["locale","fallbackLocale","availableLocales"],bf=["t","rt","d","n","tm","te"];function jE(e,t){const n=Object.create(null);return FE.forEach(s=>{const i=Object.getOwnPropertyDescriptor(t,s);if(!i)throw Qe(ze.UNEXPECTED_ERROR);const o=He(i.value)?{get(){return i.value.value},set(a){i.value.value=a}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,s,o)}),e.config.globalProperties.$i18n=n,bf.forEach(s=>{const i=Object.getOwnPropertyDescriptor(t,s);if(!i||!i.value)throw Qe(ze.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,i)}),()=>{delete e.config.globalProperties.$i18n,bf.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}pE();__INTLIFY_JIT_COMPILATION__?Ju(cE):Ju(lE);Zy(ky);eE(Ch);if(__INTLIFY_PROD_DEVTOOLS__){const e=rn();e.__INTLIFY__=!0,By(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}/*! + * vue-router v4.3.3 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const Lr=typeof document<"u";function UE(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ne=Object.assign;function ua(e,t){const n={};for(const r in t){const s=t[r];n[r]=jt(s)?s.map(e):e(s)}return n}const Cs=()=>{},jt=Array.isArray,zh=/#/g,HE=/&/g,VE=/\//g,BE=/=/g,WE=/\?/g,Gh=/\+/g,YE=/%5B/g,KE=/%5D/g,qh=/%5E/g,zE=/%60/g,Xh=/%7B/g,GE=/%7C/g,Jh=/%7D/g,qE=/%20/g;function mc(e){return encodeURI(""+e).replace(GE,"|").replace(YE,"[").replace(KE,"]")}function XE(e){return mc(e).replace(Xh,"{").replace(Jh,"}").replace(qh,"^")}function ll(e){return mc(e).replace(Gh,"%2B").replace(qE,"+").replace(zh,"%23").replace(HE,"%26").replace(zE,"`").replace(Xh,"{").replace(Jh,"}").replace(qh,"^")}function JE(e){return ll(e).replace(BE,"%3D")}function QE(e){return mc(e).replace(zh,"%23").replace(WE,"%3F")}function ZE(e){return e==null?"":QE(e).replace(VE,"%2F")}function Vs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const e1=/\/$/,t1=e=>e.replace(e1,"");function fa(e,t,n="/"){let r,s={},i="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),s=e(i)),a>-1&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=i1(r??t,n),{fullPath:r+(i&&"?")+i+o,path:r,query:s,hash:Vs(o)}}function n1(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function yf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function r1(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Gr(t.matched[r],n.matched[s])&&Qh(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Gr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Qh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!s1(e[n],t[n]))return!1;return!0}function s1(e,t){return jt(e)?Ef(e,t):jt(t)?Ef(t,e):e===t}function Ef(e,t){return jt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function i1(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let i=n.length-1,o,a;for(o=0;o1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o).join("/")}var Bs;(function(e){e.pop="pop",e.push="push"})(Bs||(Bs={}));var Ns;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ns||(Ns={}));function o1(e){if(!e)if(Lr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),t1(e)}const a1=/^[^#]+#/;function l1(e,t){return e.replace(a1,"#")+t}function c1(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const xo=()=>({left:window.scrollX,top:window.scrollY});function u1(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=c1(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function wf(e,t){return(history.state?history.state.position-t:-1)+e}const cl=new Map;function f1(e,t){cl.set(e,t)}function d1(e){const t=cl.get(e);return cl.delete(e),t}let m1=()=>location.protocol+"//"+location.host;function Zh(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let a=s.includes(e.slice(i))?e.slice(i).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),yf(l,"")}return yf(n,e)+r+s}function h1(e,t,n,r){let s=[],i=[],o=null;const a=({state:d})=>{const m=Zh(e,location),h=n.value,y=t.value;let v=0;if(d){if(n.value=m,t.value=d,o&&o===h){o=null;return}v=y?d.position-y.position:0}else r(m);s.forEach(w=>{w(n.value,h,{delta:v,type:Bs.pop,direction:v?v>0?Ns.forward:Ns.back:Ns.unknown})})};function l(){o=n.value}function u(d){s.push(d);const m=()=>{const h=s.indexOf(d);h>-1&&s.splice(h,1)};return i.push(m),m}function c(){const{history:d}=window;d.state&&d.replaceState(Ne({},d.state,{scroll:xo()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function Af(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?xo():null}}function p1(e){const{history:t,location:n}=window,r={value:Zh(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:m1()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),s.value=u}catch(m){console.error(m),n[c?"replace":"assign"](d)}}function o(l,u){const c=Ne({},t.state,Af(s.value.back,l,s.value.forward,!0),u,{position:s.value.position});i(l,c,!0),r.value=l}function a(l,u){const c=Ne({},s.value,t.state,{forward:l,scroll:xo()});i(c.current,c,!0);const f=Ne({},Af(r.value,l,null),{position:c.position+1},u);i(l,f,!1),r.value=l}return{location:r,state:s,push:a,replace:o}}function g1(e){e=o1(e);const t=p1(e),n=h1(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const s=Ne({location:"",base:e,go:r,createHref:l1.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function _1(e){return typeof e=="string"||e&&typeof e=="object"}function ep(e){return typeof e=="string"||typeof e=="symbol"}const vn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},tp=Symbol("");var Tf;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Tf||(Tf={}));function qr(e,t){return Ne(new Error,{type:e,[tp]:!0},t)}function tn(e,t){return e instanceof Error&&tp in e&&(t==null||!!(e.type&t))}const Of="[^/]+?",v1={sensitive:!1,strict:!1,start:!0,end:!0},b1=/[.+*?^${}()[\]/\\]/g;function y1(e,t){const n=Ne({},v1,t),r=[];let s=n.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function np(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const w1={type:0,value:""},A1=/[a-zA-Z0-9_]/;function T1(e){if(!e)return[[]];if(e==="/")return[[w1]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${u}": ${m}`)}let n=0,r=n;const s=[];let i;function o(){i&&s.push(i),i=[]}let a=0,l,u="",c="";function f(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a{o(O)}:Cs}function o(c){if(ep(c)){const f=r.get(c);f&&(r.delete(c),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(c);f>-1&&(n.splice(f,1),c.record.name&&r.delete(c.record.name),c.children.forEach(o),c.alias.forEach(o))}}function a(){return n}function l(c){const f=I1(c,n);n.splice(f,0,c),c.record.name&&!Nf(c)&&r.set(c.record.name,c)}function u(c,f){let d,m={},h,y;if("name"in c&&c.name){if(d=r.get(c.name),!d)throw qr(1,{location:c});y=d.record.name,m=Ne(Cf(f.params,d.keys.filter(O=>!O.optional).concat(d.parent?d.parent.keys.filter(O=>O.optional):[]).map(O=>O.name)),c.params&&Cf(c.params,d.keys.map(O=>O.name))),h=d.stringify(m)}else if(c.path!=null)h=c.path,d=n.find(O=>O.re.test(h)),d&&(m=d.parse(h),y=d.record.name);else{if(d=f.name?r.get(f.name):n.find(O=>O.re.test(f.path)),!d)throw qr(1,{location:c,currentLocation:f});y=d.record.name,m=Ne({},f.params,c.params),h=d.stringify(m)}const v=[];let w=d;for(;w;)v.unshift(w.record),w=w.parent;return{name:y,path:h,params:m,matched:v,meta:L1(v)}}return e.forEach(c=>i(c)),{addRoute:i,resolve:u,removeRoute:o,getRoutes:a,getRecordMatcher:s}}function Cf(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function C1(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:N1(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function N1(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Nf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function L1(e){return e.reduce((t,n)=>Ne(t,n.meta),{})}function Lf(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function I1(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;np(e,t[i])<0?r=i:n=i+1}const s=P1(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function P1(e){let t=e;for(;t=t.parent;)if(rp(t)&&np(e,t)===0)return t}function rp({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function R1(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;si&&ll(i)):[r&&ll(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function x1(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=jt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const k1=Symbol(""),Pf=Symbol(""),ko=Symbol(""),hc=Symbol(""),ul=Symbol("");function ps(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function On(e,t,n,r,s,i=o=>o()){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(qr(4,{from:n,to:t})):d instanceof Error?l(d):_1(d)?l(qr(2,{from:t,to:d})):(o&&r.enterCallbacks[s]===o&&typeof d=="function"&&o.push(d),a())},c=i(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function da(e,t,n,r,s=i=>i()){const i=[];for(const o of e)for(const a in o.components){let l=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if($1(l)){const c=(l.__vccOpts||l)[t];c&&i.push(On(c,n,r,o,a,s))}else{let u=l();i.push(()=>u.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${o.path}"`));const f=UE(c)?c.default:c;o.components[a]=f;const m=(f.__vccOpts||f)[t];return m&&On(m,n,r,o,a,s)()}))}}return i}function $1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Rf(e){const t=tt(ko),n=tt(hc),r=ne(()=>{const l=V(e.to);return t.resolve(l)}),s=ne(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(Gr.bind(null,c));if(d>-1)return d;const m=xf(l[u-2]);return u>1&&xf(c)===m&&f[f.length-1].path!==m?f.findIndex(Gr.bind(null,l[u-2])):d}),i=ne(()=>s.value>-1&&F1(n.params,r.value.params)),o=ne(()=>s.value>-1&&s.value===n.matched.length-1&&Qh(n.params,r.value.params));function a(l={}){return M1(l)?t[V(e.replace)?"replace":"push"](V(e.to)).catch(Cs):Promise.resolve()}return{route:r,href:ne(()=>r.value.href),isActive:i,isExactActive:o,navigate:a}}const D1=Xe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Rf,setup(e,{slots:t}){const n=Vn(Rf(e)),{options:r}=tt(ko),s=ne(()=>({[kf(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[kf(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Zs("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),tr=D1;function M1(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function F1(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!jt(s)||s.length!==r.length||r.some((i,o)=>i!==s[o]))return!1}return!0}function xf(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const kf=(e,t,n)=>e??t??n,j1=Xe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=tt(ul),s=ne(()=>e.route||r.value),i=tt(Pf,0),o=ne(()=>{let u=V(i);const{matched:c}=s.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=ne(()=>s.value.matched[o.value]);cr(Pf,ne(()=>o.value+1)),cr(k1,a),cr(ul,s);const l=ge();return it(()=>[l.value,a.value,e.name],([u,c,f],[d,m,h])=>{c&&(c.instances[f]=u,m&&m!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=m.leaveGuards),c.updateGuards.size||(c.updateGuards=m.updateGuards))),u&&c&&(!m||!Gr(c,m)||!d)&&(c.enterCallbacks[f]||[]).forEach(y=>y(u))},{flush:"post"}),()=>{const u=s.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return $f(n.default,{Component:d,route:u});const m=f.props[c],h=m?m===!0?u.params:typeof m=="function"?m(u):m:null,v=Zs(d,Ne({},h,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return $f(n.default,{Component:v,route:u})||v}}});function $f(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const sp=j1;function U1(e){const t=S1(e.routes,e),n=e.parseQuery||R1,r=e.stringifyQuery||If,s=e.history,i=ps(),o=ps(),a=ps(),l=Ql(vn);let u=vn;Lr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ua.bind(null,F=>""+F),f=ua.bind(null,ZE),d=ua.bind(null,Vs);function m(F,Y){let W,J;return ep(F)?(W=t.getRecordMatcher(F),J=Y):J=F,t.addRoute(J,W)}function h(F){const Y=t.getRecordMatcher(F);Y&&t.removeRoute(Y)}function y(){return t.getRoutes().map(F=>F.record)}function v(F){return!!t.getRecordMatcher(F)}function w(F,Y){if(Y=Ne({},Y||l.value),typeof F=="string"){const g=fa(n,F,Y.path),N=t.resolve({path:g.path},Y),j=s.createHref(g.fullPath);return Ne(g,N,{params:d(N.params),hash:Vs(g.hash),redirectedFrom:void 0,href:j})}let W;if(F.path!=null)W=Ne({},F,{path:fa(n,F.path,Y.path).path});else{const g=Ne({},F.params);for(const N in g)g[N]==null&&delete g[N];W=Ne({},F,{params:f(g)}),Y.params=f(Y.params)}const J=t.resolve(W,Y),_e=F.hash||"";J.params=c(d(J.params));const Te=n1(r,Ne({},F,{hash:XE(_e),path:J.path})),b=s.createHref(Te);return Ne({fullPath:Te,hash:_e,query:r===If?x1(F.query):F.query||{}},J,{redirectedFrom:void 0,href:b})}function O(F){return typeof F=="string"?fa(n,F,l.value.path):Ne({},F)}function E(F,Y){if(u!==F)return qr(8,{from:Y,to:F})}function A(F){return I(F)}function C(F){return A(Ne(O(F),{replace:!0}))}function S(F){const Y=F.matched[F.matched.length-1];if(Y&&Y.redirect){const{redirect:W}=Y;let J=typeof W=="function"?W(F):W;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=O(J):{path:J},J.params={}),Ne({query:F.query,hash:F.hash,params:J.path!=null?{}:F.params},J)}}function I(F,Y){const W=u=w(F),J=l.value,_e=F.state,Te=F.force,b=F.replace===!0,g=S(W);if(g)return I(Ne(O(g),{state:typeof g=="object"?Ne({},_e,g.state):_e,force:Te,replace:b}),Y||W);const N=W;N.redirectedFrom=Y;let j;return!Te&&r1(r,J,W)&&(j=qr(16,{to:N,from:J}),Ee(J,J,!0,!1)),(j?Promise.resolve(j):q(N,J)).catch(D=>tn(D)?tn(D,2)?D:pe(D):de(D,N,J)).then(D=>{if(D){if(tn(D,2))return I(Ne({replace:b},O(D.to),{state:typeof D.to=="object"?Ne({},_e,D.to.state):_e,force:Te}),Y||N)}else D=Q(N,J,!0,b,_e);return ie(N,J,D),D})}function $(F,Y){const W=E(F,Y);return W?Promise.reject(W):Promise.resolve()}function P(F){const Y=Be.values().next().value;return Y&&typeof Y.runWithContext=="function"?Y.runWithContext(F):F()}function q(F,Y){let W;const[J,_e,Te]=H1(F,Y);W=da(J.reverse(),"beforeRouteLeave",F,Y);for(const g of J)g.leaveGuards.forEach(N=>{W.push(On(N,F,Y))});const b=$.bind(null,F,Y);return W.push(b),Le(W).then(()=>{W=[];for(const g of i.list())W.push(On(g,F,Y));return W.push(b),Le(W)}).then(()=>{W=da(_e,"beforeRouteUpdate",F,Y);for(const g of _e)g.updateGuards.forEach(N=>{W.push(On(N,F,Y))});return W.push(b),Le(W)}).then(()=>{W=[];for(const g of Te)if(g.beforeEnter)if(jt(g.beforeEnter))for(const N of g.beforeEnter)W.push(On(N,F,Y));else W.push(On(g.beforeEnter,F,Y));return W.push(b),Le(W)}).then(()=>(F.matched.forEach(g=>g.enterCallbacks={}),W=da(Te,"beforeRouteEnter",F,Y,P),W.push(b),Le(W))).then(()=>{W=[];for(const g of o.list())W.push(On(g,F,Y));return W.push(b),Le(W)}).catch(g=>tn(g,8)?g:Promise.reject(g))}function ie(F,Y,W){a.list().forEach(J=>P(()=>J(F,Y,W)))}function Q(F,Y,W,J,_e){const Te=E(F,Y);if(Te)return Te;const b=Y===vn,g=Lr?history.state:{};W&&(J||b?s.replace(F.fullPath,Ne({scroll:b&&g&&g.scroll},_e)):s.push(F.fullPath,_e)),l.value=F,Ee(F,Y,W,b),pe()}let le;function je(){le||(le=s.listen((F,Y,W)=>{if(!We.listening)return;const J=w(F),_e=S(J);if(_e){I(Ne(_e,{replace:!0}),J).catch(Cs);return}u=J;const Te=l.value;Lr&&f1(wf(Te.fullPath,W.delta),xo()),q(J,Te).catch(b=>tn(b,12)?b:tn(b,2)?(I(b.to,J).then(g=>{tn(g,20)&&!W.delta&&W.type===Bs.pop&&s.go(-1,!1)}).catch(Cs),Promise.reject()):(W.delta&&s.go(-W.delta,!1),de(b,J,Te))).then(b=>{b=b||Q(J,Te,!1),b&&(W.delta&&!tn(b,8)?s.go(-W.delta,!1):W.type===Bs.pop&&tn(b,20)&&s.go(-1,!1)),ie(J,Te,b)}).catch(Cs)}))}let Ce=ps(),ee=ps(),ae;function de(F,Y,W){pe(F);const J=ee.list();return J.length?J.forEach(_e=>_e(F,Y,W)):console.error(F),Promise.reject(F)}function xe(){return ae&&l.value!==vn?Promise.resolve():new Promise((F,Y)=>{Ce.add([F,Y])})}function pe(F){return ae||(ae=!F,je(),Ce.list().forEach(([Y,W])=>F?W(F):Y()),Ce.reset()),F}function Ee(F,Y,W,J){const{scrollBehavior:_e}=e;if(!Lr||!_e)return Promise.resolve();const Te=!W&&d1(wf(F.fullPath,0))||(J||!W)&&history.state&&history.state.scroll||null;return Ms().then(()=>_e(F,Y,Te)).then(b=>b&&u1(b)).catch(b=>de(b,F,Y))}const be=F=>s.go(F);let et;const Be=new Set,We={currentRoute:l,listening:!0,addRoute:m,removeRoute:h,hasRoute:v,getRoutes:y,resolve:w,options:e,push:A,replace:C,go:be,back:()=>be(-1),forward:()=>be(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:ee.add,isReady:xe,install(F){const Y=this;F.component("RouterLink",tr),F.component("RouterView",sp),F.config.globalProperties.$router=Y,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>V(l)}),Lr&&!et&&l.value===vn&&(et=!0,A(s.location).catch(_e=>{}));const W={};for(const _e in vn)Object.defineProperty(W,_e,{get:()=>l.value[_e],enumerable:!0});F.provide(ko,Y),F.provide(hc,$m(W)),F.provide(ul,l);const J=F.unmount;Be.add(F),F.unmount=function(){Be.delete(F),Be.size<1&&(u=vn,le&&le(),le=null,l.value=vn,et=!1,ae=!1),J()}}};function Le(F){return F.reduce((Y,W)=>Y.then(()=>P(W)),Promise.resolve())}return We}function H1(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;oGr(u,a))?r.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(u=>Gr(u,l))||s.push(l))}return[n,r,s]}function ip(){return tt(ko)}function V1(){return tt(hc)}const B1=k("defs",{id:"defs2"},null,-1),W1={"inkscape:label":"Layer 1","inkscape:groupmode":"layer",id:"layer1",transform:"translate(-51.241626,-83.781469)"},Ls=Xe({__name:"IconJeobeardy",props:{height:{},width:{},bearColor:{default:"#e86a92ff"},questionmarkColor:{default:"#ffffff"}},setup(e){const t=e;return(n,r)=>(Oe(),Ie("svg",{style:Zn([{height:t.height},{width:t.width}]),width:"103.44236mm",height:"80.726883mm",viewBox:"0 0 103.44236 80.726882",version:"1.1",id:"svg5","xml:space":"preserve","inkscape:version":"1.3.2 (091e20ef0f, 2023-11-25, custom)","sodipodi:docname":"jeobeardy_logo_min.svg","xmlns:inkscape":"http://www.inkscape.org/namespaces/inkscape","xmlns:sodipodi":"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"},[B1,k("g",W1,[k("path",{style:Zn(`opacity:1;fill:${t.bearColor};fill-opacity:1;stroke:${t.bearColor};stroke-width:5;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers`),d:"m 89.597943,161.46239 c 4.957603,-11.31418 10.365454,-13.95841 18.872727,-16.46612 l -0.969,2.23271 10.17543,-3.72589 -1.44748,2.89495 c 7.77057,-2.08212 9.96019,-3.12838 17.29351,-0.22855 8.26326,-4.46932 15.33088,-3.99272 18.58862,-16.15077 0.39797,-1.48523 0.47248,-3.46705 -16.76023,-13.25582 0.6718,-1.59948 -0.64483,-6.30424 -1.44747,-7.69446 -11.87841,-11.878406 -22.82609,-9.786559 -25.14034,-11.122693 -5.10133,-2.945257 -5.77849,-9.894901 -10.741782,-10.89415 -6.64933,-1.781683 -10.639666,-0.422382 -8.015124,7.302597 -4.755054,-0.07748 -19.311199,0.225543 -19.311199,0.225543 l 4.218975,2.479364 -10.418322,0.541411 4.479459,2.526958 c -6.00567,0.93796 -10.085508,3.02646 -13.849528,6.19633 l 3.879167,3.25675 c 11.896264,-8.5256 27.407274,-7.5637 31.986403,1.85066 8.053096,14.19441 -5.364775,20.05902 -11.44594,30.07143 1.070396,5.80331 1.412146,7.38337 3.627235,11.42304 1.414891,2.45066 5.193343,11.34733 6.424889,8.53671 z",id:"path919","sodipodi:nodetypes":"sccccccccccccccccccccs"},null,4),k("path",{style:Zn(`opacity:1;fill:none;stroke:${t.questionmarkColor};stroke-width:8;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1`),d:"m 57.671788,111.83817 c 4.776043,-5.45079 12.940609,-7.24498 19.118918,-7.24498 13.656487,0 13.875779,8.51413 14.475615,10.75275 0,14.09963 -13.925936,15.13618 -10.506511,27.69217 0.653123,2.43749 0.932727,3.34729 2.242618,6.17334",id:"path2566","sodipodi:nodetypes":"ccccc"},null,4),k("ellipse",{style:Zn(`opacity:1;fill:${t.questionmarkColor};fill-opacity:1;stroke:${t.questionmarkColor};stroke-width:2.80661;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1`),id:"path2620",cy:"182.73756",cx:"-0.050881278",rx:"3.2998796",ry:"3.4343019",transform:"rotate(-29.11515)"},null,4)])],4))}}),ma="theme",Df={bsName:"dark",name:"theme.dark.name",icon:["fas","moon"]},Y1={bsName:"light",name:"theme.light.name",icon:["fas","sun"]},K1={bsName:"high-contrast",name:"theme.high-contrast.name",icon:["fas","circle-half-stroke"]};function z1(){const e=ge([Df,Y1,K1]);ss(()=>{let n=localStorage.getItem(ma);n==null&&(localStorage.setItem(ma,"dark"),n="dark");const r=e.value.findIndex(i=>i.bsName===n);r!==-1&&(t.value=e.value[r]);const s=document.getElementsByTagName("html");s[0].dataset.bsTheme=t.value.bsName});const t=ge(Df);return it(t,n=>{document.getElementsByTagName("html")[0].dataset.bsTheme=n.bsName,localStorage.setItem(ma,n.bsName)}),{availableThemes:e,currentTheme:t}}const G1={class:"theme-changer"},q1={class:"dropdown"},X1={class:"btn btn-sm btn-outline-primary dropdown-toggle",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},J1={class:"dropdown-menu"},Q1=["onClick"],Z1=Xe({__name:"ThemeChanger",setup(e){const{availableThemes:t,currentTheme:n}=z1();return(r,s)=>{const i=tc("FontAwesomeIcon");return Oe(),Ie("div",G1,[k("div",q1,[k("button",X1,[ye(i,{icon:V(n).icon},null,8,["icon"]),Ye(" "+ue(r.$t(V(n).name)),1)]),k("ul",J1,[(Oe(!0),Ie(lt,null,rc(V(t),o=>(Oe(),Ie("li",{key:`theme-${o.bsName}`,onClick:a=>n.value=o,role:"button"},[k("a",{class:Nt(["dropdown-item pointer",[{active:o.bsName===V(n).bsName}]])},[ye(i,{icon:o.icon},null,8,["icon"]),Ye(" "+ue(r.$t(o.name)),1)],2)],8,Q1))),128))])])])}}}),e0={class:"dropdown"},t0={class:"btn btn-sm btn-outline-primary dropdown-toggle",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},n0={class:"dropdown-menu"},r0=["onClick"],Mf="locale",s0=Xe({__name:"LocaleChanger",setup(e){const t=Qt();return ss(()=>{const n=localStorage.getItem(Mf);n!==null&&(t.locale.value=n)}),it(()=>t.locale.value,n=>{localStorage.setItem(Mf,n)}),(n,r)=>(Oe(),Ie("div",e0,[k("button",t0,ue(n.$t(`i18n.${n.$i18n.locale}.name`)),1),k("ul",n0,[(Oe(!0),Ie(lt,null,rc(n.$i18n.availableLocales,s=>(Oe(),Ie("li",{key:`locale-${s}`,onClick:i=>n.$i18n.locale=s,role:"button"},[k("a",{class:Nt(["dropdown-item pointer",[{active:n.$i18n.locale===s}]])},ue(n.$t(`i18n.${s}.name`)),3)],8,r0))),128))])]))}}),$o=Hb("user",()=>{const e=ge(""),t=ge(void 0),n=ge(!1),r=ne(()=>`${e.value}`);function s(o){e.value=o.username,t.value=o.profilePictureFilename,n.value=!0}function i(){e.value="",t.value=void 0,n.value=!1}return{username:e,profilePicture:t,loggedIn:n,getUserOutput:r,setUser:s,unsetUser:i}});var i0={VITE_API_BASE_URL:"/api",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{VITE_API_BASE_URL:o0,...a0}=i0,Is={API_BASE_URL:o0,__vite__:a0};console.debug(Is);function op(e,t){return function(){return e.apply(t,arguments)}}const{toString:l0}=Object.prototype,{getPrototypeOf:pc}=Object,Do=(e=>t=>{const n=l0.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ut=e=>(e=e.toLowerCase(),t=>Do(t)===e),Mo=e=>t=>typeof t===e,{isArray:os}=Array,Ws=Mo("undefined");function c0(e){return e!==null&&!Ws(e)&&e.constructor!==null&&!Ws(e.constructor)&&Et(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ap=Ut("ArrayBuffer");function u0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ap(e.buffer),t}const f0=Mo("string"),Et=Mo("function"),lp=Mo("number"),Fo=e=>e!==null&&typeof e=="object",d0=e=>e===!0||e===!1,Vi=e=>{if(Do(e)!=="object")return!1;const t=pc(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},m0=Ut("Date"),h0=Ut("File"),p0=Ut("Blob"),g0=Ut("FileList"),_0=e=>Fo(e)&&Et(e.pipe),v0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Et(e.append)&&((t=Do(e))==="formdata"||t==="object"&&Et(e.toString)&&e.toString()==="[object FormData]"))},b0=Ut("URLSearchParams"),[y0,E0,w0,A0]=["ReadableStream","Request","Response","Headers"].map(Ut),T0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ei(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),os(e))for(r=0,s=e.length;r0;)if(s=n[r],t===s.toLowerCase())return s;return null}const nr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,up=e=>!Ws(e)&&e!==nr;function fl(){const{caseless:e}=up(this)&&this||{},t={},n=(r,s)=>{const i=e&&cp(t,s)||s;Vi(t[i])&&Vi(r)?t[i]=fl(t[i],r):Vi(r)?t[i]=fl({},r):os(r)?t[i]=r.slice():t[i]=r};for(let r=0,s=arguments.length;r(ei(t,(s,i)=>{n&&Et(s)?e[i]=op(s,n):e[i]=s},{allOwnKeys:r}),e),S0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),C0=(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)},N0=(e,t,n,r)=>{let s,i,o;const a={};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))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=n!==!1&&pc(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},L0=(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},I0=e=>{if(!e)return null;if(os(e))return e;let t=e.length;if(!lp(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},P0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&pc(Uint8Array)),R0=(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])}},x0=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},k0=Ut("HTMLFormElement"),$0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Ff=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),D0=Ut("RegExp"),fp=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ei(n,(s,i)=>{let o;(o=t(s,i,e))!==!1&&(r[i]=o||s)}),Object.defineProperties(e,r)},M0=e=>{fp(e,(t,n)=>{if(Et(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Et(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+"'")})}})},F0=(e,t)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return os(e)?r(e):r(String(e).split(t)),n},j0=()=>{},U0=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,ha="abcdefghijklmnopqrstuvwxyz",jf="0123456789",dp={DIGIT:jf,ALPHA:ha,ALPHA_DIGIT:ha+ha.toUpperCase()+jf},H0=(e=16,t=dp.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function V0(e){return!!(e&&Et(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const B0=e=>{const t=new Array(10),n=(r,s)=>{if(Fo(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const i=os(r)?[]:{};return ei(r,(o,a)=>{const l=n(o,s+1);!Ws(l)&&(i[a]=l)}),t[s]=void 0,i}}return r};return n(e,0)},W0=Ut("AsyncFunction"),Y0=e=>e&&(Fo(e)||Et(e))&&Et(e.then)&&Et(e.catch),mp=((e,t)=>e?setImmediate:t?((n,r)=>(nr.addEventListener("message",({source:s,data:i})=>{s===nr&&i===n&&r.length&&r.shift()()},!1),s=>{r.push(s),nr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Et(nr.postMessage)),K0=typeof queueMicrotask<"u"?queueMicrotask.bind(nr):typeof process<"u"&&process.nextTick||mp,x={isArray:os,isArrayBuffer:ap,isBuffer:c0,isFormData:v0,isArrayBufferView:u0,isString:f0,isNumber:lp,isBoolean:d0,isObject:Fo,isPlainObject:Vi,isReadableStream:y0,isRequest:E0,isResponse:w0,isHeaders:A0,isUndefined:Ws,isDate:m0,isFile:h0,isBlob:p0,isRegExp:D0,isFunction:Et,isStream:_0,isURLSearchParams:b0,isTypedArray:P0,isFileList:g0,forEach:ei,merge:fl,extend:O0,trim:T0,stripBOM:S0,inherits:C0,toFlatObject:N0,kindOf:Do,kindOfTest:Ut,endsWith:L0,toArray:I0,forEachEntry:R0,matchAll:x0,isHTMLForm:k0,hasOwnProperty:Ff,hasOwnProp:Ff,reduceDescriptors:fp,freezeMethods:M0,toObjectSet:F0,toCamelCase:$0,noop:j0,toFiniteNumber:U0,findKey:cp,global:nr,isContextDefined:up,ALPHABET:dp,generateString:H0,isSpecCompliantForm:V0,toJSONObject:B0,isAsyncFn:W0,isThenable:Y0,setImmediate:mp,asap:K0};function me(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)}x.inherits(me,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:x.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const hp=me.prototype,pp={};["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=>{pp[e]={value:e}});Object.defineProperties(me,pp);Object.defineProperty(hp,"isAxiosError",{value:!0});me.from=(e,t,n,r,s,i)=>{const o=Object.create(hp);return x.toFlatObject(e,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),me.call(o,e.message,t,n,r,s),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};const z0=null;function dl(e){return x.isPlainObject(e)||x.isArray(e)}function gp(e){return x.endsWith(e,"[]")?e.slice(0,-2):e}function Uf(e,t,n){return e?e.concat(t).map(function(s,i){return s=gp(s),!n&&i?"["+s+"]":s}).join(n?".":""):t}function G0(e){return x.isArray(e)&&!e.some(dl)}const q0=x.toFlatObject(x,{},null,function(t){return/^is[A-Z]/.test(t)});function jo(e,t,n){if(!x.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=x.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,v){return!x.isUndefined(v[y])});const r=n.metaTokens,s=n.visitor||c,i=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&x.isSpecCompliantForm(t);if(!x.isFunction(s))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(x.isDate(h))return h.toISOString();if(!l&&x.isBlob(h))throw new me("Blob is not supported. Use a Buffer instead.");return x.isArrayBuffer(h)||x.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function c(h,y,v){let w=h;if(h&&!v&&typeof h=="object"){if(x.endsWith(y,"{}"))y=r?y:y.slice(0,-2),h=JSON.stringify(h);else if(x.isArray(h)&&G0(h)||(x.isFileList(h)||x.endsWith(y,"[]"))&&(w=x.toArray(h)))return y=gp(y),w.forEach(function(E,A){!(x.isUndefined(E)||E===null)&&t.append(o===!0?Uf([y],A,i):o===null?y:y+"[]",u(E))}),!1}return dl(h)?!0:(t.append(Uf(v,y,i),u(h)),!1)}const f=[],d=Object.assign(q0,{defaultVisitor:c,convertValue:u,isVisitable:dl});function m(h,y){if(!x.isUndefined(h)){if(f.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));f.push(h),x.forEach(h,function(w,O){(!(x.isUndefined(w)||w===null)&&s.call(t,w,x.isString(O)?O.trim():O,y,d))===!0&&m(w,y?y.concat(O):[O])}),f.pop()}}if(!x.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Hf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function gc(e,t){this._pairs=[],e&&jo(e,this,t)}const _p=gc.prototype;_p.append=function(t,n){this._pairs.push([t,n])};_p.toString=function(t){const n=t?function(r){return t.call(this,r,Hf)}:Hf;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function X0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function vp(e,t,n){if(!t)return e;const r=n&&n.encode||X0,s=n&&n.serialize;let i;if(s?i=s(t,n):i=x.isURLSearchParams(t)?t.toString():new gc(t,n).toString(r),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Vf{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){x.forEach(this.handlers,function(r){r!==null&&t(r)})}}const bp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},J0=typeof URLSearchParams<"u"?URLSearchParams:gc,Q0=typeof FormData<"u"?FormData:null,Z0=typeof Blob<"u"?Blob:null,ew={isBrowser:!0,classes:{URLSearchParams:J0,FormData:Q0,Blob:Z0},protocols:["http","https","file","blob","url","data"]},_c=typeof window<"u"&&typeof document<"u",tw=(e=>_c&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),nw=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",rw=_c&&window.location.href||"http://localhost",sw=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:_c,hasStandardBrowserEnv:tw,hasStandardBrowserWebWorkerEnv:nw,origin:rw},Symbol.toStringTag,{value:"Module"})),Ft={...sw,...ew};function iw(e,t){return jo(e,new Ft.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,i){return Ft.isNode&&x.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function ow(e){return x.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function aw(e){const t={},n=Object.keys(e);let r;const s=n.length;let i;for(r=0;r=n.length;return o=!o&&x.isArray(s)?s.length:o,l?(x.hasOwnProp(s,o)?s[o]=[s[o],r]:s[o]=r,!a):((!s[o]||!x.isObject(s[o]))&&(s[o]=[]),t(n,r,s[o],i)&&x.isArray(s[o])&&(s[o]=aw(s[o])),!a)}if(x.isFormData(e)&&x.isFunction(e.entries)){const n={};return x.forEachEntry(e,(r,s)=>{t(ow(r),s,n,0)}),n}return null}function lw(e,t,n){if(x.isString(e))try{return(t||JSON.parse)(e),x.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ti={transitional:bp,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=x.isObject(t);if(i&&x.isHTMLForm(t)&&(t=new FormData(t)),x.isFormData(t))return s?JSON.stringify(yp(t)):t;if(x.isArrayBuffer(t)||x.isBuffer(t)||x.isStream(t)||x.isFile(t)||x.isBlob(t)||x.isReadableStream(t))return t;if(x.isArrayBufferView(t))return t.buffer;if(x.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return iw(t,this.formSerializer).toString();if((a=x.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return jo(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),lw(t)):t}],transformResponse:[function(t){const n=this.transitional||ti.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(x.isResponse(t)||x.isReadableStream(t))return t;if(t&&x.isString(t)&&(r&&!this.responseType||s)){const o=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(a){if(o)throw a.name==="SyntaxError"?me.from(a,me.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ft.classes.FormData,Blob:Ft.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};x.forEach(["delete","get","head","post","put","patch"],e=>{ti.headers[e]={}});const cw=x.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"]),uw=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]&&cw[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Bf=Symbol("internals");function gs(e){return e&&String(e).trim().toLowerCase()}function Bi(e){return e===!1||e==null?e:x.isArray(e)?e.map(Bi):String(e)}function fw(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 dw=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function pa(e,t,n,r,s){if(x.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!x.isString(t)){if(x.isString(r))return t.indexOf(r)!==-1;if(x.isRegExp(r))return r.test(t)}}function mw(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function hw(e,t){const n=x.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 gt{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function i(a,l,u){const c=gs(l);if(!c)throw new Error("header name must be a non-empty string");const f=x.findKey(s,c);(!f||s[f]===void 0||u===!0||u===void 0&&s[f]!==!1)&&(s[f||l]=Bi(a))}const o=(a,l)=>x.forEach(a,(u,c)=>i(u,c,l));if(x.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(x.isString(t)&&(t=t.trim())&&!dw(t))o(uw(t),n);else if(x.isHeaders(t))for(const[a,l]of t.entries())i(l,a,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=gs(t),t){const r=x.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return fw(s);if(x.isFunction(n))return n.call(this,s,r);if(x.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=gs(t),t){const r=x.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||pa(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function i(o){if(o=gs(o),o){const a=x.findKey(r,o);a&&(!n||pa(r,r[a],a,n))&&(delete r[a],s=!0)}}return x.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||pa(this,this[i],i,t,!0))&&(delete this[i],s=!0)}return s}normalize(t){const n=this,r={};return x.forEach(this,(s,i)=>{const o=x.findKey(r,i);if(o){n[o]=Bi(s),delete n[i];return}const a=t?mw(i):String(i).trim();a!==i&&delete n[i],n[a]=Bi(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return x.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&x.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[Bf]=this[Bf]={accessors:{}}).accessors,s=this.prototype;function i(o){const a=gs(o);r[a]||(hw(s,o),r[a]=!0)}return x.isArray(t)?t.forEach(i):i(t),this}}gt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);x.reduceDescriptors(gt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});x.freezeMethods(gt);function ga(e,t){const n=this||ti,r=t||n,s=gt.from(r.headers);let i=r.data;return x.forEach(e,function(a){i=a.call(n,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function Ep(e){return!!(e&&e.__CANCEL__)}function as(e,t,n){me.call(this,e??"canceled",me.ERR_CANCELED,t,n),this.name="CanceledError"}x.inherits(as,me,{__CANCEL__:!0});function wp(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new me("Request failed with status code "+n.status,[me.ERR_BAD_REQUEST,me.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function pw(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function gw(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(l){const u=Date.now(),c=r[i];o||(o=u),n[s]=l,r[s]=u;let f=i,d=0;for(;f!==s;)d+=n[f++],f=f%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),u-o{n=c,s=null,i&&(clearTimeout(i),i=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=r?o(u,c):(s=u,i||(i=setTimeout(()=>{i=null,o(s)},r-f)))},()=>s&&o(s)]}const so=(e,t,n=3)=>{let r=0;const s=gw(50,250);return _w(i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,l=o-r,u=s(l),c=o<=a;r=o;const f={loaded:o,total:a,progress:a?o/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&c?(a-o)/u:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},Wf=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Yf=e=>(...t)=>x.asap(()=>e(...t)),vw=Ft.hasStandardBrowserEnv?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 a=x.isString(o)?s(o):o;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),bw=Ft.hasStandardBrowserEnv?{write(e,t,n,r,s,i){const o=[e+"="+encodeURIComponent(t)];x.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),x.isString(r)&&o.push("path="+r),x.isString(s)&&o.push("domain="+s),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function yw(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ew(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ap(e,t){return e&&!yw(t)?Ew(e,t):t}const Kf=e=>e instanceof gt?{...e}:e;function mr(e,t){t=t||{};const n={};function r(u,c,f){return x.isPlainObject(u)&&x.isPlainObject(c)?x.merge.call({caseless:f},u,c):x.isPlainObject(c)?x.merge({},c):x.isArray(c)?c.slice():c}function s(u,c,f){if(x.isUndefined(c)){if(!x.isUndefined(u))return r(void 0,u,f)}else return r(u,c,f)}function i(u,c){if(!x.isUndefined(c))return r(void 0,c)}function o(u,c){if(x.isUndefined(c)){if(!x.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,f){if(f in t)return r(u,c);if(f in e)return r(void 0,u)}const l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(u,c)=>s(Kf(u),Kf(c),!0)};return x.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=l[c]||s,d=f(e[c],t[c],c);x.isUndefined(d)&&f!==a||(n[c]=d)}),n}const Tp=e=>{const t=mr({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:i,headers:o,auth:a}=t;t.headers=o=gt.from(o),t.url=vp(Ap(t.baseURL,t.url),e.params,e.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(x.isFormData(n)){if(Ft.hasStandardBrowserEnv||Ft.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((l=o.getContentType())!==!1){const[u,...c]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];o.setContentType([u||"multipart/form-data",...c].join("; "))}}if(Ft.hasStandardBrowserEnv&&(r&&x.isFunction(r)&&(r=r(t)),r||r!==!1&&vw(t.url))){const u=s&&i&&bw.read(i);u&&o.set(s,u)}return t},ww=typeof XMLHttpRequest<"u",Aw=ww&&function(e){return new Promise(function(n,r){const s=Tp(e);let i=s.data;const o=gt.from(s.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:u}=s,c,f,d,m,h;function y(){m&&m(),h&&h(),s.cancelToken&&s.cancelToken.unsubscribe(c),s.signal&&s.signal.removeEventListener("abort",c)}let v=new XMLHttpRequest;v.open(s.method.toUpperCase(),s.url,!0),v.timeout=s.timeout;function w(){if(!v)return;const E=gt.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),C={data:!a||a==="text"||a==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:E,config:e,request:v};wp(function(I){n(I),y()},function(I){r(I),y()},C),v=null}"onloadend"in v?v.onloadend=w:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(w)},v.onabort=function(){v&&(r(new me("Request aborted",me.ECONNABORTED,e,v)),v=null)},v.onerror=function(){r(new me("Network Error",me.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let A=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const C=s.transitional||bp;s.timeoutErrorMessage&&(A=s.timeoutErrorMessage),r(new me(A,C.clarifyTimeoutError?me.ETIMEDOUT:me.ECONNABORTED,e,v)),v=null},i===void 0&&o.setContentType(null),"setRequestHeader"in v&&x.forEach(o.toJSON(),function(A,C){v.setRequestHeader(C,A)}),x.isUndefined(s.withCredentials)||(v.withCredentials=!!s.withCredentials),a&&a!=="json"&&(v.responseType=s.responseType),u&&([d,h]=so(u,!0),v.addEventListener("progress",d)),l&&v.upload&&([f,m]=so(l),v.upload.addEventListener("progress",f),v.upload.addEventListener("loadend",m)),(s.cancelToken||s.signal)&&(c=E=>{v&&(r(!E||E.type?new as(null,e,v):E),v.abort(),v=null)},s.cancelToken&&s.cancelToken.subscribe(c),s.signal&&(s.signal.aborted?c():s.signal.addEventListener("abort",c)));const O=pw(s.url);if(O&&Ft.protocols.indexOf(O)===-1){r(new me("Unsupported protocol "+O+":",me.ERR_BAD_REQUEST,e));return}v.send(i||null)})},Tw=(e,t)=>{let n=new AbortController,r;const s=function(l){if(!r){r=!0,o();const u=l instanceof Error?l:this.reason;n.abort(u instanceof me?u:new as(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{s(new me(`timeout ${t} of ms exceeded`,me.ETIMEDOUT))},t);const o=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(l=>{l&&(l.removeEventListener?l.removeEventListener("abort",s):l.unsubscribe(s))}),e=null)};e.forEach(l=>l&&l.addEventListener&&l.addEventListener("abort",s));const{signal:a}=n;return a.unsubscribe=o,[a,()=>{i&&clearTimeout(i),i=null}]},Ow=function*(e,t){let n=e.byteLength;if(!t||n{const i=Sw(e,t,s);let o=0,a,l=u=>{a||(a=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:c,value:f}=await i.next();if(c){l(),u.close();return}let d=f.byteLength;if(n){let m=o+=d;n(m)}u.enqueue(new Uint8Array(f))}catch(c){throw l(c),c}},cancel(u){return l(u),i.return()}},{highWaterMark:2})},Uo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Op=Uo&&typeof ReadableStream=="function",ml=Uo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Sp=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Cw=Op&&Sp(()=>{let e=!1;const t=new Request(Ft.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Gf=64*1024,hl=Op&&Sp(()=>x.isReadableStream(new Response("").body)),io={stream:hl&&(e=>e.body)};Uo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!io[t]&&(io[t]=x.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new me(`Response type '${t}' is not supported`,me.ERR_NOT_SUPPORT,r)})})})(new Response);const Nw=async e=>{if(e==null)return 0;if(x.isBlob(e))return e.size;if(x.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(x.isArrayBufferView(e)||x.isArrayBuffer(e))return e.byteLength;if(x.isURLSearchParams(e)&&(e=e+""),x.isString(e))return(await ml(e)).byteLength},Lw=async(e,t)=>{const n=x.toFiniteNumber(e.getContentLength());return n??Nw(t)},Iw=Uo&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:i,timeout:o,onDownloadProgress:a,onUploadProgress:l,responseType:u,headers:c,withCredentials:f="same-origin",fetchOptions:d}=Tp(e);u=u?(u+"").toLowerCase():"text";let[m,h]=s||i||o?Tw([s,i],o):[],y,v;const w=()=>{!y&&setTimeout(()=>{m&&m.unsubscribe()}),y=!0};let O;try{if(l&&Cw&&n!=="get"&&n!=="head"&&(O=await Lw(c,r))!==0){let S=new Request(t,{method:"POST",body:r,duplex:"half"}),I;if(x.isFormData(r)&&(I=S.headers.get("content-type"))&&c.setContentType(I),S.body){const[$,P]=Wf(O,so(Yf(l)));r=zf(S.body,Gf,$,P,ml)}}x.isString(f)||(f=f?"include":"omit"),v=new Request(t,{...d,signal:m,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:f});let E=await fetch(v);const A=hl&&(u==="stream"||u==="response");if(hl&&(a||A)){const S={};["status","statusText","headers"].forEach(q=>{S[q]=E[q]});const I=x.toFiniteNumber(E.headers.get("content-length")),[$,P]=a&&Wf(I,so(Yf(a),!0))||[];E=new Response(zf(E.body,Gf,$,()=>{P&&P(),A&&w()},ml),S)}u=u||"text";let C=await io[x.findKey(io,u)||"text"](E,e);return!A&&w(),h&&h(),await new Promise((S,I)=>{wp(S,I,{data:C,headers:gt.from(E.headers),status:E.status,statusText:E.statusText,config:e,request:v})})}catch(E){throw w(),E&&E.name==="TypeError"&&/fetch/i.test(E.message)?Object.assign(new me("Network Error",me.ERR_NETWORK,e,v),{cause:E.cause||E}):me.from(E,E&&E.code,e,v)}}),pl={http:z0,xhr:Aw,fetch:Iw};x.forEach(pl,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const qf=e=>`- ${e}`,Pw=e=>x.isFunction(e)||e===null||e===!1,Cp={getAdapter:e=>{e=x.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let i=0;i`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=t?i.length>1?`since : +`+i.map(qf).join(` +`):" "+qf(i[0]):"as no adapter specified";throw new me("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:pl};function _a(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new as(null,e)}function Xf(e){return _a(e),e.headers=gt.from(e.headers),e.data=ga.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Cp.getAdapter(e.adapter||ti.adapter)(e).then(function(r){return _a(e),r.data=ga.call(e,e.transformResponse,r),r.headers=gt.from(r.headers),r},function(r){return Ep(r)||(_a(e),r&&r.response&&(r.response.data=ga.call(e,e.transformResponse,r.response),r.response.headers=gt.from(r.response.headers))),Promise.reject(r)})}const Np="1.7.3",vc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{vc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Jf={};vc.transitional=function(t,n,r){function s(i,o){return"[Axios v"+Np+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,a)=>{if(t===!1)throw new me(s(o," has been removed"+(n?" in "+n:"")),me.ERR_DEPRECATED);return n&&!Jf[o]&&(Jf[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,a):!0}};function Rw(e,t,n){if(typeof e!="object")throw new me("options must be an object",me.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 a=e[i],l=a===void 0||o(a,i,e);if(l!==!0)throw new me("option "+i+" must be "+l,me.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new me("Unknown option "+i,me.ERR_BAD_OPTION)}}const gl={assertOptions:Rw,validators:vc},bn=gl.validators;class ur{constructor(t){this.defaults=t,this.interceptors={request:new Vf,response:new Vf}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const i=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=mr(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&gl.assertOptions(r,{silentJSONParsing:bn.transitional(bn.boolean),forcedJSONParsing:bn.transitional(bn.boolean),clarifyTimeoutError:bn.transitional(bn.boolean)},!1),s!=null&&(x.isFunction(s)?n.paramsSerializer={serialize:s}:gl.assertOptions(s,{encode:bn.function,serialize:bn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&x.merge(i.common,i[n.method]);i&&x.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=gt.concat(o,i);const a=[];let l=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(l=l&&y.synchronous,a.unshift(y.fulfilled,y.rejected))});const u=[];this.interceptors.response.forEach(function(y){u.push(y.fulfilled,y.rejected)});let c,f=0,d;if(!l){const h=[Xf.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,u),d=h.length,c=Promise.resolve(n);f{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(a=>{r.subscribe(a),i=a}).then(s);return o.cancel=function(){r.unsubscribe(i)},o},t(function(i,o,a){r.reason||(r.reason=new as(i,o,a),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 bc(function(s){t=s}),cancel:t}}}function xw(e){return function(n){return e.apply(null,n)}}function kw(e){return x.isObject(e)&&e.isAxiosError===!0}const _l={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(_l).forEach(([e,t])=>{_l[t]=e});function Lp(e){const t=new ur(e),n=op(ur.prototype.request,t);return x.extend(n,ur.prototype,t,{allOwnKeys:!0}),x.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Lp(mr(e,s))},n}const Ue=Lp(ti);Ue.Axios=ur;Ue.CanceledError=as;Ue.CancelToken=bc;Ue.isCancel=Ep;Ue.VERSION=Np;Ue.toFormData=jo;Ue.AxiosError=me;Ue.Cancel=Ue.CanceledError;Ue.all=function(t){return Promise.all(t)};Ue.spread=xw;Ue.isAxiosError=kw;Ue.mergeConfig=mr;Ue.AxiosHeaders=gt;Ue.formToJSON=e=>yp(x.isHTMLForm(e)?new FormData(e):e);Ue.getAdapter=Cp.getAdapter;Ue.HttpStatusCode=_l;Ue.default=Ue;class $w{signupUser(t){return new Promise((n,r)=>{Ue.post(`${Is.API_BASE_URL}/auth/signup`,t,{withCredentials:!0}).then(s=>{n(s.data)}).catch(s=>{r(s)})})}loginUser(t){return new Promise((n,r)=>{Ue.post(`${Is.API_BASE_URL}/auth/login`,t,{withCredentials:!0}).then(s=>{n(s)}).catch(s=>{r(s)})})}logoutUser(){return new Promise((t,n)=>{Ue.post(`${Is.API_BASE_URL}/auth/logout`,null,{withCredentials:!0}).then(r=>{t(r)}).catch(r=>{n(r)})})}}const yc=new $w,Dw={class:"navbar navbar-expand-lg bg-dark-accented"},Mw={class:"container px-5"},Fw={class:"position-absolute start-0 top-50 translate-middle-y d-flex ms-3 gap-3"},jw={class:"navbar-brand rounded rounded-circle d-block d-lg-none",href:"#"},Uw=k("button",{class:"navbar-toggler",type:"button","data-bs-toggle":"collapse","data-bs-target":"#navbarSupportedContent","aria-controls":"navbarSupportedContent","aria-expanded":"false","aria-label":"Toggle navigation"},[k("span",{class:"navbar-toggler-icon"})],-1),Hw={class:"collapse navbar-collapse",id:"navbarSupportedContent"},Vw={class:"navbar-nav mb-2 mb-lg-0 d-flex align-items-center justify-content-center w-100"},Bw={class:"nav-item"},Ww={class:"nav-item px-5 mx-5 rounded-5 py-2"},Yw={class:"nav-item"},Kw={class:"position-absolute end-0 top-50 translate-middle-y d-flex me-3"},zw={key:0},Gw={key:1},qw=Xe({__name:"NavBar",setup(e){const t={HOME:"home",ABOUT:"about"},n=V1(),r=$o(),s=o=>{switch(o){default:case t.HOME:return n.name==="home";case t.ABOUT:return n.name==="about"}};function i(){yc.logoutUser().then(o=>{r.unsetUser()}).catch(o=>{console.error(o)})}return(o,a)=>(Oe(),Ie("nav",Dw,[k("div",Mw,[k("div",Fw,[ye(Z1),ye(s0)]),k("a",jw,[ye(Ls,{height:"3.5rem",width:"3.5rem"})]),Uw,k("div",Hw,[k("ul",Vw,[k("li",Bw,[ye(V(tr),{to:"/",class:Nt(["nav-link text-light fs-3",[{active:s(t.HOME)}]]),"aria-current":s(t.HOME)?"page":!1},{default:er(()=>[Ye(ue(o.$t("nav.home")),1)]),_:1},8,["class","aria-current"])]),k("li",Ww,[ye(V(tr),{to:"/",class:"nav-link py-0"},{default:er(()=>[ye(Ls,{height:"3rem",width:"4rem"})]),_:1})]),k("li",Yw,[ye(V(tr),{to:"/about",class:Nt(["nav-link text-light fs-3",[{active:s(t.ABOUT)}]]),"aria-current":s(t.HOME)?"page":!1},{default:er(()=>[Ye(ue(o.$t("nav.about")),1)]),_:1},8,["class","aria-current"])])])]),k("div",Kw,[V(r).loggedIn?(Oe(),Ie("div",zw,ue(V(r).getUserOutput),1)):(Oe(),Ie("div",Gw,[ye(V(tr),{to:"/login",class:"btn btn-sm btn-outline-primary"},{default:er(()=>[Ye(" Login ")]),_:1})])),k("div",null,[k("button",{onClick:i}," Logout ")])])])]))}});var ut="top",wt="bottom",At="right",ft="left",Ho="auto",ls=[ut,wt,At,ft],hr="start",Xr="end",Ip="clippingParents",Ec="viewport",Ir="popper",Pp="reference",vl=ls.reduce(function(e,t){return e.concat([t+"-"+hr,t+"-"+Xr])},[]),wc=[].concat(ls,[Ho]).reduce(function(e,t){return e.concat([t,t+"-"+hr,t+"-"+Xr])},[]),Rp="beforeRead",xp="read",kp="afterRead",$p="beforeMain",Dp="main",Mp="afterMain",Fp="beforeWrite",jp="write",Up="afterWrite",Hp=[Rp,xp,kp,$p,Dp,Mp,Fp,jp,Up];function Jt(e){return e?(e.nodeName||"").toLowerCase():null}function Tt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function pr(e){var t=Tt(e).Element;return e instanceof t||e instanceof Element}function Lt(e){var t=Tt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Ac(e){if(typeof ShadowRoot>"u")return!1;var t=Tt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Xw(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},i=t.elements[n];!Lt(i)||!Jt(i)||(Object.assign(i.style,r),Object.keys(s).forEach(function(o){var a=s[o];a===!1?i.removeAttribute(o):i.setAttribute(o,a===!0?"":a)}))})}function Jw(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var s=t.elements[r],i=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=o.reduce(function(l,u){return l[u]="",l},{});!Lt(s)||!Jt(s)||(Object.assign(s.style,a),Object.keys(i).forEach(function(l){s.removeAttribute(l)}))})}}const Tc={name:"applyStyles",enabled:!0,phase:"write",fn:Xw,effect:Jw,requires:["computeStyles"]};function Gt(e){return e.split("-")[0]}var fr=Math.max,oo=Math.min,Jr=Math.round;function bl(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Vp(){return!/^((?!chrome|android).)*safari/i.test(bl())}function Qr(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),s=1,i=1;t&&Lt(e)&&(s=e.offsetWidth>0&&Jr(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Jr(r.height)/e.offsetHeight||1);var o=pr(e)?Tt(e):window,a=o.visualViewport,l=!Vp()&&n,u=(r.left+(l&&a?a.offsetLeft:0))/s,c=(r.top+(l&&a?a.offsetTop:0))/i,f=r.width/s,d=r.height/i;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function Oc(e){var t=Qr(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Bp(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ac(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function cn(e){return Tt(e).getComputedStyle(e)}function Qw(e){return["table","td","th"].indexOf(Jt(e))>=0}function Yn(e){return((pr(e)?e.ownerDocument:e.document)||window.document).documentElement}function Vo(e){return Jt(e)==="html"?e:e.assignedSlot||e.parentNode||(Ac(e)?e.host:null)||Yn(e)}function Qf(e){return!Lt(e)||cn(e).position==="fixed"?null:e.offsetParent}function Zw(e){var t=/firefox/i.test(bl()),n=/Trident/i.test(bl());if(n&&Lt(e)){var r=cn(e);if(r.position==="fixed")return null}var s=Vo(e);for(Ac(s)&&(s=s.host);Lt(s)&&["html","body"].indexOf(Jt(s))<0;){var i=cn(s);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return s;s=s.parentNode}return null}function ni(e){for(var t=Tt(e),n=Qf(e);n&&Qw(n)&&cn(n).position==="static";)n=Qf(n);return n&&(Jt(n)==="html"||Jt(n)==="body"&&cn(n).position==="static")?t:n||Zw(e)||t}function Sc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ps(e,t,n){return fr(e,oo(t,n))}function eA(e,t,n){var r=Ps(e,t,n);return r>n?n:r}function Wp(){return{top:0,right:0,bottom:0,left:0}}function Yp(e){return Object.assign({},Wp(),e)}function Kp(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var tA=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Yp(typeof t!="number"?t:Kp(t,ls))};function nA(e){var t,n=e.state,r=e.name,s=e.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Gt(n.placement),l=Sc(a),u=[ft,At].indexOf(a)>=0,c=u?"height":"width";if(!(!i||!o)){var f=tA(s.padding,n),d=Oc(i),m=l==="y"?ut:ft,h=l==="y"?wt:At,y=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],v=o[l]-n.rects.reference[l],w=ni(i),O=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,E=y/2-v/2,A=f[m],C=O-d[c]-f[h],S=O/2-d[c]/2+E,I=Ps(A,S,C),$=l;n.modifiersData[r]=(t={},t[$]=I,t.centerOffset=I-S,t)}}function rA(e){var t=e.state,n=e.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||Bp(t.elements.popper,s)&&(t.elements.arrow=s))}const zp={name:"arrow",enabled:!0,phase:"main",fn:nA,effect:rA,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Zr(e){return e.split("-")[1]}var sA={top:"auto",right:"auto",bottom:"auto",left:"auto"};function iA(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:Jr(n*s)/s||0,y:Jr(r*s)/s||0}}function Zf(e){var t,n=e.popper,r=e.popperRect,s=e.placement,i=e.variation,o=e.offsets,a=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=o.x,m=d===void 0?0:d,h=o.y,y=h===void 0?0:h,v=typeof c=="function"?c({x:m,y}):{x:m,y};m=v.x,y=v.y;var w=o.hasOwnProperty("x"),O=o.hasOwnProperty("y"),E=ft,A=ut,C=window;if(u){var S=ni(n),I="clientHeight",$="clientWidth";if(S===Tt(n)&&(S=Yn(n),cn(S).position!=="static"&&a==="absolute"&&(I="scrollHeight",$="scrollWidth")),S=S,s===ut||(s===ft||s===At)&&i===Xr){A=wt;var P=f&&S===C&&C.visualViewport?C.visualViewport.height:S[I];y-=P-r.height,y*=l?1:-1}if(s===ft||(s===ut||s===wt)&&i===Xr){E=At;var q=f&&S===C&&C.visualViewport?C.visualViewport.width:S[$];m-=q-r.width,m*=l?1:-1}}var ie=Object.assign({position:a},u&&sA),Q=c===!0?iA({x:m,y},Tt(n)):{x:m,y};if(m=Q.x,y=Q.y,l){var le;return Object.assign({},ie,(le={},le[A]=O?"0":"",le[E]=w?"0":"",le.transform=(C.devicePixelRatio||1)<=1?"translate("+m+"px, "+y+"px)":"translate3d("+m+"px, "+y+"px, 0)",le))}return Object.assign({},ie,(t={},t[A]=O?y+"px":"",t[E]=w?m+"px":"",t.transform="",t))}function oA(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,i=n.adaptive,o=i===void 0?!0:i,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:Gt(t.placement),variation:Zr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Zf(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Zf(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Cc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:oA,data:{}};var yi={passive:!0};function aA(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,i=s===void 0?!0:s,o=r.resize,a=o===void 0?!0:o,l=Tt(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",n.update,yi)}),a&&l.addEventListener("resize",n.update,yi),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",n.update,yi)}),a&&l.removeEventListener("resize",n.update,yi)}}const Nc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:aA,data:{}};var lA={left:"right",right:"left",bottom:"top",top:"bottom"};function Wi(e){return e.replace(/left|right|bottom|top/g,function(t){return lA[t]})}var cA={start:"end",end:"start"};function ed(e){return e.replace(/start|end/g,function(t){return cA[t]})}function Lc(e){var t=Tt(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Ic(e){return Qr(Yn(e)).left+Lc(e).scrollLeft}function uA(e,t){var n=Tt(e),r=Yn(e),s=n.visualViewport,i=r.clientWidth,o=r.clientHeight,a=0,l=0;if(s){i=s.width,o=s.height;var u=Vp();(u||!u&&t==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}return{width:i,height:o,x:a+Ic(e),y:l}}function fA(e){var t,n=Yn(e),r=Lc(e),s=(t=e.ownerDocument)==null?void 0:t.body,i=fr(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=fr(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-r.scrollLeft+Ic(e),l=-r.scrollTop;return cn(s||n).direction==="rtl"&&(a+=fr(n.clientWidth,s?s.clientWidth:0)-i),{width:i,height:o,x:a,y:l}}function Pc(e){var t=cn(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function Gp(e){return["html","body","#document"].indexOf(Jt(e))>=0?e.ownerDocument.body:Lt(e)&&Pc(e)?e:Gp(Vo(e))}function Rs(e,t){var n;t===void 0&&(t=[]);var r=Gp(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),i=Tt(r),o=s?[i].concat(i.visualViewport||[],Pc(r)?r:[]):r,a=t.concat(o);return s?a:a.concat(Rs(Vo(o)))}function yl(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function dA(e,t){var n=Qr(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function td(e,t,n){return t===Ec?yl(uA(e,n)):pr(t)?dA(t,n):yl(fA(Yn(e)))}function mA(e){var t=Rs(Vo(e)),n=["absolute","fixed"].indexOf(cn(e).position)>=0,r=n&&Lt(e)?ni(e):e;return pr(r)?t.filter(function(s){return pr(s)&&Bp(s,r)&&Jt(s)!=="body"}):[]}function hA(e,t,n,r){var s=t==="clippingParents"?mA(e):[].concat(t),i=[].concat(s,[n]),o=i[0],a=i.reduce(function(l,u){var c=td(e,u,r);return l.top=fr(c.top,l.top),l.right=oo(c.right,l.right),l.bottom=oo(c.bottom,l.bottom),l.left=fr(c.left,l.left),l},td(e,o,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function qp(e){var t=e.reference,n=e.element,r=e.placement,s=r?Gt(r):null,i=r?Zr(r):null,o=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(s){case ut:l={x:o,y:t.y-n.height};break;case wt:l={x:o,y:t.y+t.height};break;case At:l={x:t.x+t.width,y:a};break;case ft:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var u=s?Sc(s):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case hr:l[u]=l[u]-(t[c]/2-n[c]/2);break;case Xr:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function es(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,i=n.strategy,o=i===void 0?e.strategy:i,a=n.boundary,l=a===void 0?Ip:a,u=n.rootBoundary,c=u===void 0?Ec:u,f=n.elementContext,d=f===void 0?Ir:f,m=n.altBoundary,h=m===void 0?!1:m,y=n.padding,v=y===void 0?0:y,w=Yp(typeof v!="number"?v:Kp(v,ls)),O=d===Ir?Pp:Ir,E=e.rects.popper,A=e.elements[h?O:d],C=hA(pr(A)?A:A.contextElement||Yn(e.elements.popper),l,c,o),S=Qr(e.elements.reference),I=qp({reference:S,element:E,strategy:"absolute",placement:s}),$=yl(Object.assign({},E,I)),P=d===Ir?$:S,q={top:C.top-P.top+w.top,bottom:P.bottom-C.bottom+w.bottom,left:C.left-P.left+w.left,right:P.right-C.right+w.right},ie=e.modifiersData.offset;if(d===Ir&&ie){var Q=ie[s];Object.keys(q).forEach(function(le){var je=[At,wt].indexOf(le)>=0?1:-1,Ce=[ut,wt].indexOf(le)>=0?"y":"x";q[le]+=Q[Ce]*je})}return q}function pA(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,i=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?wc:l,c=Zr(r),f=c?a?vl:vl.filter(function(h){return Zr(h)===c}):ls,d=f.filter(function(h){return u.indexOf(h)>=0});d.length===0&&(d=f);var m=d.reduce(function(h,y){return h[y]=es(e,{placement:y,boundary:s,rootBoundary:i,padding:o})[Gt(y)],h},{});return Object.keys(m).sort(function(h,y){return m[h]-m[y]})}function gA(e){if(Gt(e)===Ho)return[];var t=Wi(e);return[ed(e),t,ed(t)]}function _A(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,i=s===void 0?!0:s,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,m=n.flipVariations,h=m===void 0?!0:m,y=n.allowedAutoPlacements,v=t.options.placement,w=Gt(v),O=w===v,E=l||(O||!h?[Wi(v)]:gA(v)),A=[v].concat(E).reduce(function(Be,We){return Be.concat(Gt(We)===Ho?pA(t,{placement:We,boundary:c,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:y}):We)},[]),C=t.rects.reference,S=t.rects.popper,I=new Map,$=!0,P=A[0],q=0;q=0,Ce=je?"width":"height",ee=es(t,{placement:ie,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),ae=je?le?At:ft:le?wt:ut;C[Ce]>S[Ce]&&(ae=Wi(ae));var de=Wi(ae),xe=[];if(i&&xe.push(ee[Q]<=0),a&&xe.push(ee[ae]<=0,ee[de]<=0),xe.every(function(Be){return Be})){P=ie,$=!1;break}I.set(ie,xe)}if($)for(var pe=h?3:1,Ee=function(We){var Le=A.find(function(F){var Y=I.get(F);if(Y)return Y.slice(0,We).every(function(W){return W})});if(Le)return P=Le,"break"},be=pe;be>0;be--){var et=Ee(be);if(et==="break")break}t.placement!==P&&(t.modifiersData[r]._skip=!0,t.placement=P,t.reset=!0)}}const Xp={name:"flip",enabled:!0,phase:"main",fn:_A,requiresIfExists:["offset"],data:{_skip:!1}};function nd(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function rd(e){return[ut,At,wt,ft].some(function(t){return e[t]>=0})}function vA(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,i=t.modifiersData.preventOverflow,o=es(t,{elementContext:"reference"}),a=es(t,{altBoundary:!0}),l=nd(o,r),u=nd(a,s,i),c=rd(l),f=rd(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const Jp={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:vA};function bA(e,t,n){var r=Gt(e),s=[ft,ut].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=i[0],a=i[1];return o=o||0,a=(a||0)*s,[ft,At].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}function yA(e){var t=e.state,n=e.options,r=e.name,s=n.offset,i=s===void 0?[0,0]:s,o=wc.reduce(function(c,f){return c[f]=bA(f,t.rects,i),c},{}),a=o[t.placement],l=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=o}const Qp={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:yA};function EA(e){var t=e.state,n=e.name;t.modifiersData[n]=qp({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Rc={name:"popperOffsets",enabled:!0,phase:"read",fn:EA,data:{}};function wA(e){return e==="x"?"y":"x"}function AA(e){var t=e.state,n=e.options,r=e.name,s=n.mainAxis,i=s===void 0?!0:s,o=n.altAxis,a=o===void 0?!1:o,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,m=d===void 0?!0:d,h=n.tetherOffset,y=h===void 0?0:h,v=es(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),w=Gt(t.placement),O=Zr(t.placement),E=!O,A=Sc(w),C=wA(A),S=t.modifiersData.popperOffsets,I=t.rects.reference,$=t.rects.popper,P=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,q=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),ie=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,Q={x:0,y:0};if(S){if(i){var le,je=A==="y"?ut:ft,Ce=A==="y"?wt:At,ee=A==="y"?"height":"width",ae=S[A],de=ae+v[je],xe=ae-v[Ce],pe=m?-$[ee]/2:0,Ee=O===hr?I[ee]:$[ee],be=O===hr?-$[ee]:-I[ee],et=t.elements.arrow,Be=m&&et?Oc(et):{width:0,height:0},We=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Wp(),Le=We[je],F=We[Ce],Y=Ps(0,I[ee],Be[ee]),W=E?I[ee]/2-pe-Y-Le-q.mainAxis:Ee-Y-Le-q.mainAxis,J=E?-I[ee]/2+pe+Y+F+q.mainAxis:be+Y+F+q.mainAxis,_e=t.elements.arrow&&ni(t.elements.arrow),Te=_e?A==="y"?_e.clientTop||0:_e.clientLeft||0:0,b=(le=ie==null?void 0:ie[A])!=null?le:0,g=ae+W-b-Te,N=ae+J-b,j=Ps(m?oo(de,g):de,ae,m?fr(xe,N):xe);S[A]=j,Q[A]=j-ae}if(a){var D,B=A==="x"?ut:ft,z=A==="x"?wt:At,p=S[C],_=C==="y"?"height":"width",T=p+v[B],M=p-v[z],K=[ut,ft].indexOf(w)!==-1,U=(D=ie==null?void 0:ie[C])!=null?D:0,L=K?T:p-I[_]-$[_]-U+q.altAxis,R=K?p+I[_]+$[_]-U-q.altAxis:M,te=m&&K?eA(L,p,R):Ps(m?L:T,p,m?R:M);S[C]=te,Q[C]=te-p}t.modifiersData[r]=Q}}const Zp={name:"preventOverflow",enabled:!0,phase:"main",fn:AA,requiresIfExists:["offset"]};function TA(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function OA(e){return e===Tt(e)||!Lt(e)?Lc(e):TA(e)}function SA(e){var t=e.getBoundingClientRect(),n=Jr(t.width)/e.offsetWidth||1,r=Jr(t.height)/e.offsetHeight||1;return n!==1||r!==1}function CA(e,t,n){n===void 0&&(n=!1);var r=Lt(t),s=Lt(t)&&SA(t),i=Yn(t),o=Qr(e,s,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Jt(t)!=="body"||Pc(i))&&(a=OA(t)),Lt(t)?(l=Qr(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Ic(i))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function NA(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function s(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&s(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||s(i)}),r}function LA(e){var t=NA(e);return Hp.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function IA(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function PA(e){var t=e.reduce(function(n,r){var s=n[r.name];return n[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var sd={placement:"bottom",modifiers:[],strategy:"absolute"};function id(){for(var e=arguments.length,t=new Array(e),n=0;n(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,n)=>`#${CSS.escape(n)}`)),e),FA=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),jA=e=>{do e+=Math.floor(Math.random()*DA);while(document.getElementById(e));return e},UA=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const r=Number.parseFloat(t),s=Number.parseFloat(n);return!r&&!s?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*MA)},ng=e=>{e.dispatchEvent(new Event(El))},an=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),kn=e=>an(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(tg(e)):null,cs=e=>{if(!an(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const r=e.closest("summary");if(r&&r.parentNode!==n||r===null)return!1}return t},$n=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",rg=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?rg(e.parentNode):null},ao=()=>{},ri=e=>{e.offsetHeight},sg=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,ba=[],HA=e=>{document.readyState==="loading"?(ba.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of ba)t()}),ba.push(e)):e()},It=()=>document.documentElement.dir==="rtl",Rt=e=>{HA(()=>{const t=sg();if(t){const n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}})},pt=(e,t=[],n=e)=>typeof e=="function"?e(...t):n,ig=(e,t,n=!0)=>{if(!n){pt(e);return}const s=UA(t)+5;let i=!1;const o=({target:a})=>{a===t&&(i=!0,t.removeEventListener(El,o),pt(e))};t.addEventListener(El,o),setTimeout(()=>{i||ng(t)},s)},kc=(e,t,n,r)=>{const s=e.length;let i=e.indexOf(t);return i===-1?!n&&r?e[s-1]:e[0]:(i+=n?1:-1,r&&(i=(i+s)%s),e[Math.max(0,Math.min(i,s-1))])},VA=/[^.]*(?=\..*)\.|.*/,BA=/\..*/,WA=/::\d+$/,ya={};let od=1;const og={mouseenter:"mouseover",mouseleave:"mouseout"},YA=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 ag(e,t){return t&&`${t}::${od++}`||e.uidEvent||od++}function lg(e){const t=ag(e);return e.uidEvent=t,ya[t]=ya[t]||{},ya[t]}function KA(e,t){return function n(r){return $c(r,{delegateTarget:e}),n.oneOff&&H.off(e,r.type,t),t.apply(e,[r])}}function zA(e,t,n){return function r(s){const i=e.querySelectorAll(t);for(let{target:o}=s;o&&o!==this;o=o.parentNode)for(const a of i)if(a===o)return $c(s,{delegateTarget:o}),r.oneOff&&H.off(e,s.type,t,n),n.apply(o,[s])}}function cg(e,t,n=null){return Object.values(e).find(r=>r.callable===t&&r.delegationSelector===n)}function ug(e,t,n){const r=typeof t=="string",s=r?n:t||n;let i=fg(e);return YA.has(i)||(i=e),[r,s,i]}function ad(e,t,n,r,s){if(typeof t!="string"||!e)return;let[i,o,a]=ug(t,n,r);t in og&&(o=(h=>function(y){if(!y.relatedTarget||y.relatedTarget!==y.delegateTarget&&!y.delegateTarget.contains(y.relatedTarget))return h.call(this,y)})(o));const l=lg(e),u=l[a]||(l[a]={}),c=cg(u,o,i?n:null);if(c){c.oneOff=c.oneOff&&s;return}const f=ag(o,t.replace(VA,"")),d=i?zA(e,n,o):KA(e,o);d.delegationSelector=i?n:null,d.callable=o,d.oneOff=s,d.uidEvent=f,u[f]=d,e.addEventListener(a,d,i)}function wl(e,t,n,r,s){const i=cg(t[n],r,s);i&&(e.removeEventListener(n,i,!!s),delete t[n][i.uidEvent])}function GA(e,t,n,r){const s=t[n]||{};for(const[i,o]of Object.entries(s))i.includes(r)&&wl(e,t,n,o.callable,o.delegationSelector)}function fg(e){return e=e.replace(BA,""),og[e]||e}const H={on(e,t,n,r){ad(e,t,n,r,!1)},one(e,t,n,r){ad(e,t,n,r,!0)},off(e,t,n,r){if(typeof t!="string"||!e)return;const[s,i,o]=ug(t,n,r),a=o!==t,l=lg(e),u=l[o]||{},c=t.startsWith(".");if(typeof i<"u"){if(!Object.keys(u).length)return;wl(e,l,o,i,s?n:null);return}if(c)for(const f of Object.keys(l))GA(e,l,f,t.slice(1));for(const[f,d]of Object.entries(u)){const m=f.replace(WA,"");(!a||t.includes(m))&&wl(e,l,o,d.callable,d.delegationSelector)}},trigger(e,t,n){if(typeof t!="string"||!e)return null;const r=sg(),s=fg(t),i=t!==s;let o=null,a=!0,l=!0,u=!1;i&&r&&(o=r.Event(t,n),r(e).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),u=o.isDefaultPrevented());const c=$c(new Event(t,{bubbles:a,cancelable:!0}),n);return u&&c.preventDefault(),l&&e.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function $c(e,t={}){for(const[n,r]of Object.entries(t))try{e[n]=r}catch{Object.defineProperty(e,n,{configurable:!0,get(){return r}})}return e}function ld(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function Ea(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const ln={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Ea(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Ea(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of n){let s=r.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),t[s]=ld(e.dataset[r])}return t},getDataAttribute(e,t){return ld(e.getAttribute(`data-bs-${Ea(t)}`))}};class si{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,n){const r=an(n)?ln.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...an(n)?ln.getDataAttributes(n):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,n=this.constructor.DefaultType){for(const[r,s]of Object.entries(n)){const i=t[r],o=an(i)?"element":FA(i);if(!new RegExp(s).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${s}".`)}}}const qA="5.3.3";class Ht extends si{constructor(t,n){super(),t=kn(t),t&&(this._element=t,this._config=this._getConfig(n),va.set(this._element,this.constructor.DATA_KEY,this))}dispose(){va.remove(this._element,this.constructor.DATA_KEY),H.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,n,r=!0){ig(t,n,r)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return va.get(kn(t),this.DATA_KEY)}static getOrCreateInstance(t,n={}){return this.getInstance(t)||new this(t,typeof n=="object"?n:null)}static get VERSION(){return qA}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 wa=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return t?t.split(",").map(n=>tg(n)).join(","):null},re={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(n=>n.matches(t))},parents(e,t){const n=[];let r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(n=>!$n(n)&&cs(n))},getSelectorFromElement(e){const t=wa(e);return t&&re.findOne(t)?t:null},getElementFromSelector(e){const t=wa(e);return t?re.findOne(t):null},getMultipleElementsFromSelector(e){const t=wa(e);return t?re.find(t):[]}},Wo=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;H.on(document,n,`[data-bs-dismiss="${r}"]`,function(s){if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),$n(this))return;const i=re.getElementFromSelector(this)||this.closest(`.${r}`);e.getOrCreateInstance(i)[t]()})},XA="alert",JA="bs.alert",dg=`.${JA}`,QA=`close${dg}`,ZA=`closed${dg}`,eT="fade",tT="show";class Yo extends Ht{static get NAME(){return XA}close(){if(H.trigger(this._element,QA).defaultPrevented)return;this._element.classList.remove(tT);const n=this._element.classList.contains(eT);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),H.trigger(this._element,ZA),this.dispose()}static jQueryInterface(t){return this.each(function(){const n=Yo.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}Wo(Yo,"close");Rt(Yo);const nT="button",rT="bs.button",sT=`.${rT}`,iT=".data-api",oT="active",cd='[data-bs-toggle="button"]',aT=`click${sT}${iT}`;class Ko extends Ht{static get NAME(){return nT}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(oT))}static jQueryInterface(t){return this.each(function(){const n=Ko.getOrCreateInstance(this);t==="toggle"&&n[t]()})}}H.on(document,aT,cd,e=>{e.preventDefault();const t=e.target.closest(cd);Ko.getOrCreateInstance(t).toggle()});Rt(Ko);const lT="swipe",us=".bs.swipe",cT=`touchstart${us}`,uT=`touchmove${us}`,fT=`touchend${us}`,dT=`pointerdown${us}`,mT=`pointerup${us}`,hT="touch",pT="pen",gT="pointer-event",_T=40,vT={endCallback:null,leftCallback:null,rightCallback:null},bT={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class lo extends si{constructor(t,n){super(),this._element=t,!(!t||!lo.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return vT}static get DefaultType(){return bT}static get NAME(){return lT}dispose(){H.off(this._element,us)}_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(),pt(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<=_T)return;const n=t/this._deltaX;this._deltaX=0,n&&pt(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(H.on(this._element,dT,t=>this._start(t)),H.on(this._element,mT,t=>this._end(t)),this._element.classList.add(gT)):(H.on(this._element,cT,t=>this._start(t)),H.on(this._element,uT,t=>this._move(t)),H.on(this._element,fT,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===pT||t.pointerType===hT)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const yT="carousel",ET="bs.carousel",Kn=`.${ET}`,mg=".data-api",wT="ArrowLeft",AT="ArrowRight",TT=500,_s="next",Or="prev",Pr="left",Yi="right",OT=`slide${Kn}`,Aa=`slid${Kn}`,ST=`keydown${Kn}`,CT=`mouseenter${Kn}`,NT=`mouseleave${Kn}`,LT=`dragstart${Kn}`,IT=`load${Kn}${mg}`,PT=`click${Kn}${mg}`,hg="carousel",Ei="active",RT="slide",xT="carousel-item-end",kT="carousel-item-start",$T="carousel-item-next",DT="carousel-item-prev",pg=".active",gg=".carousel-item",MT=pg+gg,FT=".carousel-item img",jT=".carousel-indicators",UT="[data-bs-slide], [data-bs-slide-to]",HT='[data-bs-ride="carousel"]',VT={[wT]:Yi,[AT]:Pr},BT={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},WT={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ii extends Ht{constructor(t,n){super(t,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=re.findOne(jT,this._element),this._addEventListeners(),this._config.ride===hg&&this.cycle()}static get Default(){return BT}static get DefaultType(){return WT}static get NAME(){return yT}next(){this._slide(_s)}nextWhenVisible(){!document.hidden&&cs(this._element)&&this.next()}prev(){this._slide(Or)}pause(){this._isSliding&&ng(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){H.one(this._element,Aa,()=>this.cycle());return}this.cycle()}}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding){H.one(this._element,Aa,()=>this.to(t));return}const r=this._getItemIndex(this._getActive());if(r===t)return;const s=t>r?_s:Or;this._slide(s,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&H.on(this._element,ST,t=>this._keydown(t)),this._config.pause==="hover"&&(H.on(this._element,CT,()=>this.pause()),H.on(this._element,NT,()=>this._maybeEnableCycle())),this._config.touch&&lo.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of re.find(FT,this._element))H.on(r,LT,s=>s.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(Pr)),rightCallback:()=>this._slide(this._directionToOrder(Yi)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),TT+this._config.interval))}};this._swipeHelper=new lo(this._element,n)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const n=VT[t.key];n&&(t.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const n=re.findOne(pg,this._indicatorsElement);n.classList.remove(Ei),n.removeAttribute("aria-current");const r=re.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);r&&(r.classList.add(Ei),r.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const n=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const r=this._getActive(),s=t===_s,i=n||kc(this._getItems(),r,s,this._config.wrap);if(i===r)return;const o=this._getItemIndex(i),a=m=>H.trigger(this._element,m,{relatedTarget:i,direction:this._orderToDirection(t),from:this._getItemIndex(r),to:o});if(a(OT).defaultPrevented||!r||!i)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=i;const c=s?kT:xT,f=s?$T:DT;i.classList.add(f),ri(i),r.classList.add(c),i.classList.add(c);const d=()=>{i.classList.remove(c,f),i.classList.add(Ei),r.classList.remove(Ei,f,c),this._isSliding=!1,a(Aa)};this._queueCallback(d,r,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(RT)}_getActive(){return re.findOne(MT,this._element)}_getItems(){return re.find(gg,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return It()?t===Pr?Or:_s:t===Pr?_s:Or}_orderToDirection(t){return It()?t===Or?Pr:Yi:t===Or?Yi:Pr}static jQueryInterface(t){return this.each(function(){const n=ii.getOrCreateInstance(this,t);if(typeof t=="number"){n.to(t);return}if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}H.on(document,PT,UT,function(e){const t=re.getElementFromSelector(this);if(!t||!t.classList.contains(hg))return;e.preventDefault();const n=ii.getOrCreateInstance(t),r=this.getAttribute("data-bs-slide-to");if(r){n.to(r),n._maybeEnableCycle();return}if(ln.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});H.on(window,IT,()=>{const e=re.find(HT);for(const t of e)ii.getOrCreateInstance(t)});Rt(ii);const YT="collapse",KT="bs.collapse",oi=`.${KT}`,zT=".data-api",GT=`show${oi}`,qT=`shown${oi}`,XT=`hide${oi}`,JT=`hidden${oi}`,QT=`click${oi}${zT}`,Ta="show",kr="collapse",wi="collapsing",ZT="collapsed",eO=`:scope .${kr} .${kr}`,tO="collapse-horizontal",nO="width",rO="height",sO=".collapse.show, .collapse.collapsing",Al='[data-bs-toggle="collapse"]',iO={parent:null,toggle:!0},oO={parent:"(null|element)",toggle:"boolean"};class Ys extends Ht{constructor(t,n){super(t,n),this._isTransitioning=!1,this._triggerArray=[];const r=re.find(Al);for(const s of r){const i=re.getSelectorFromElement(s),o=re.find(i).filter(a=>a===this._element);i!==null&&o.length&&this._triggerArray.push(s)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return iO}static get DefaultType(){return oO}static get NAME(){return YT}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(sO).filter(a=>a!==this._element).map(a=>Ys.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||H.trigger(this._element,GT).defaultPrevented)return;for(const a of t)a.hide();const r=this._getDimension();this._element.classList.remove(kr),this._element.classList.add(wi),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(wi),this._element.classList.add(kr,Ta),this._element.style[r]="",H.trigger(this._element,qT)},o=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(s,this._element,!0),this._element.style[r]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||H.trigger(this._element,XT).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,ri(this._element),this._element.classList.add(wi),this._element.classList.remove(kr,Ta);for(const s of this._triggerArray){const i=re.getElementFromSelector(s);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([s],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(wi),this._element.classList.add(kr),H.trigger(this._element,JT)};this._element.style[n]="",this._queueCallback(r,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Ta)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=kn(t.parent),t}_getDimension(){return this._element.classList.contains(tO)?nO:rO}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Al);for(const n of t){const r=re.getElementFromSelector(n);r&&this._addAriaAndCollapsedClass([n],this._isShown(r))}}_getFirstLevelChildren(t){const n=re.find(eO,this._config.parent);return re.find(t,this._config.parent).filter(r=>!n.includes(r))}_addAriaAndCollapsedClass(t,n){if(t.length)for(const r of t)r.classList.toggle(ZT,!n),r.setAttribute("aria-expanded",n)}static jQueryInterface(t){const n={};return typeof t=="string"&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){const r=Ys.getOrCreateInstance(this,n);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}}H.on(document,QT,Al,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of re.getMultipleElementsFromSelector(this))Ys.getOrCreateInstance(t,{toggle:!1}).toggle()});Rt(Ys);const ud="dropdown",aO="bs.dropdown",yr=`.${aO}`,Dc=".data-api",lO="Escape",fd="Tab",cO="ArrowUp",dd="ArrowDown",uO=2,fO=`hide${yr}`,dO=`hidden${yr}`,mO=`show${yr}`,hO=`shown${yr}`,_g=`click${yr}${Dc}`,vg=`keydown${yr}${Dc}`,pO=`keyup${yr}${Dc}`,Rr="show",gO="dropup",_O="dropend",vO="dropstart",bO="dropup-center",yO="dropdown-center",rr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',EO=`${rr}.${Rr}`,Ki=".dropdown-menu",wO=".navbar",AO=".navbar-nav",TO=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",OO=It()?"top-end":"top-start",SO=It()?"top-start":"top-end",CO=It()?"bottom-end":"bottom-start",NO=It()?"bottom-start":"bottom-end",LO=It()?"left-start":"right-start",IO=It()?"right-start":"left-start",PO="top",RO="bottom",xO={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},kO={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class qt extends Ht{constructor(t,n){super(t,n),this._popper=null,this._parent=this._element.parentNode,this._menu=re.next(this._element,Ki)[0]||re.prev(this._element,Ki)[0]||re.findOne(Ki,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return xO}static get DefaultType(){return kO}static get NAME(){return ud}toggle(){return this._isShown()?this.hide():this.show()}show(){if($n(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!H.trigger(this._element,mO,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(AO))for(const r of[].concat(...document.body.children))H.on(r,"mouseover",ao);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Rr),this._element.classList.add(Rr),H.trigger(this._element,hO,t)}}hide(){if($n(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(!H.trigger(this._element,fO,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))H.off(r,"mouseover",ao);this._popper&&this._popper.destroy(),this._menu.classList.remove(Rr),this._element.classList.remove(Rr),this._element.setAttribute("aria-expanded","false"),ln.removeDataAttribute(this._menu,"popper"),H.trigger(this._element,dO,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!an(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${ud.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof eg>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:an(this._config.reference)?t=kn(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const n=this._getPopperConfig();this._popper=xc(t,this._menu,n)}_isShown(){return this._menu.classList.contains(Rr)}_getPlacement(){const t=this._parent;if(t.classList.contains(_O))return LO;if(t.classList.contains(vO))return IO;if(t.classList.contains(bO))return PO;if(t.classList.contains(yO))return RO;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(gO)?n?SO:OO:n?NO:CO}_detectNavbar(){return this._element.closest(wO)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,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")&&(ln.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...pt(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:n}){const r=re.find(TO,this._menu).filter(s=>cs(s));r.length&&kc(r,n,t===dd,!r.includes(n)).focus()}static jQueryInterface(t){return this.each(function(){const n=qt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===uO||t.type==="keyup"&&t.key!==fd)return;const n=re.find(EO);for(const r of n){const s=qt.getInstance(r);if(!s||s._config.autoClose===!1)continue;const i=t.composedPath(),o=i.includes(s._menu);if(i.includes(s._element)||s._config.autoClose==="inside"&&!o||s._config.autoClose==="outside"&&o||s._menu.contains(t.target)&&(t.type==="keyup"&&t.key===fd||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const a={relatedTarget:s._element};t.type==="click"&&(a.clickEvent=t),s._completeHide(a)}}static dataApiKeydownHandler(t){const n=/input|textarea/i.test(t.target.tagName),r=t.key===lO,s=[cO,dd].includes(t.key);if(!s&&!r||n&&!r)return;t.preventDefault();const i=this.matches(rr)?this:re.prev(this,rr)[0]||re.next(this,rr)[0]||re.findOne(rr,t.delegateTarget.parentNode),o=qt.getOrCreateInstance(i);if(s){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),i.focus())}}H.on(document,vg,rr,qt.dataApiKeydownHandler);H.on(document,vg,Ki,qt.dataApiKeydownHandler);H.on(document,_g,qt.clearMenus);H.on(document,pO,qt.clearMenus);H.on(document,_g,rr,function(e){e.preventDefault(),qt.getOrCreateInstance(this).toggle()});Rt(qt);const bg="backdrop",$O="fade",md="show",hd=`mousedown.bs.${bg}`,DO={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},MO={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class yg extends si{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return DO}static get DefaultType(){return MO}static get NAME(){return bg}show(t){if(!this._config.isVisible){pt(t);return}this._append();const n=this._getElement();this._config.isAnimated&&ri(n),n.classList.add(md),this._emulateAnimation(()=>{pt(t)})}hide(t){if(!this._config.isVisible){pt(t);return}this._getElement().classList.remove(md),this._emulateAnimation(()=>{this.dispose(),pt(t)})}dispose(){this._isAppended&&(H.off(this._element,hd),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($O),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=kn(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),H.on(t,hd,()=>{pt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){ig(t,this._getElement(),this._config.isAnimated)}}const FO="focustrap",jO="bs.focustrap",co=`.${jO}`,UO=`focusin${co}`,HO=`keydown.tab${co}`,VO="Tab",BO="forward",pd="backward",WO={autofocus:!0,trapElement:null},YO={autofocus:"boolean",trapElement:"element"};class Eg extends si{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return WO}static get DefaultType(){return YO}static get NAME(){return FO}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),H.off(document,co),H.on(document,UO,t=>this._handleFocusin(t)),H.on(document,HO,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,H.off(document,co))}_handleFocusin(t){const{trapElement:n}=this._config;if(t.target===document||t.target===n||n.contains(t.target))return;const r=re.focusableChildren(n);r.length===0?n.focus():this._lastTabNavDirection===pd?r[r.length-1].focus():r[0].focus()}_handleKeydown(t){t.key===VO&&(this._lastTabNavDirection=t.shiftKey?pd:BO)}}const gd=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",_d=".sticky-top",Ai="padding-right",vd="margin-right";class Tl{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,Ai,n=>n+t),this._setElementAttributes(gd,Ai,n=>n+t),this._setElementAttributes(_d,vd,n=>n-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Ai),this._resetElementAttributes(gd,Ai),this._resetElementAttributes(_d,vd)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,n,r){const s=this.getWidth(),i=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+s)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${r(Number.parseFloat(a))}px`)};this._applyManipulationCallback(t,i)}_saveInitialAttribute(t,n){const r=t.style.getPropertyValue(n);r&&ln.setDataAttribute(t,n,r)}_resetElementAttributes(t,n){const r=s=>{const i=ln.getDataAttribute(s,n);if(i===null){s.style.removeProperty(n);return}ln.removeDataAttribute(s,n),s.style.setProperty(n,i)};this._applyManipulationCallback(t,r)}_applyManipulationCallback(t,n){if(an(t)){n(t);return}for(const r of re.find(t,this._element))n(r)}}const KO="modal",zO="bs.modal",Pt=`.${zO}`,GO=".data-api",qO="Escape",XO=`hide${Pt}`,JO=`hidePrevented${Pt}`,wg=`hidden${Pt}`,Ag=`show${Pt}`,QO=`shown${Pt}`,ZO=`resize${Pt}`,eS=`click.dismiss${Pt}`,tS=`mousedown.dismiss${Pt}`,nS=`keydown.dismiss${Pt}`,rS=`click${Pt}${GO}`,bd="modal-open",sS="fade",yd="show",Oa="modal-static",iS=".modal.show",oS=".modal-dialog",aS=".modal-body",lS='[data-bs-toggle="modal"]',cS={backdrop:!0,focus:!0,keyboard:!0},uS={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class gr extends Ht{constructor(t,n){super(t,n),this._dialog=re.findOne(oS,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Tl,this._addEventListeners()}static get Default(){return cS}static get DefaultType(){return uS}static get NAME(){return KO}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||H.trigger(this._element,Ag,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(bd),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||H.trigger(this._element,XO).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(yd),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){H.off(window,Pt),H.off(this._dialog,Pt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new yg({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Eg({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 n=re.findOne(aS,this._dialog);n&&(n.scrollTop=0),ri(this._element),this._element.classList.add(yd);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,H.trigger(this._element,QO,{relatedTarget:t})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){H.on(this._element,nS,t=>{if(t.key===qO){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),H.on(window,ZO,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),H.on(this._element,tS,t=>{H.one(this._element,eS,n=>{if(!(this._element!==t.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(bd),this._resetAdjustments(),this._scrollBar.reset(),H.trigger(this._element,wg)})}_isAnimated(){return this._element.classList.contains(sS)}_triggerBackdropTransition(){if(H.trigger(this._element,JO).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(Oa)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(Oa),this._queueCallback(()=>{this._element.classList.remove(Oa),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),r=n>0;if(r&&!t){const s=It()?"paddingLeft":"paddingRight";this._element.style[s]=`${n}px`}if(!r&&t){const s=It()?"paddingRight":"paddingLeft";this._element.style[s]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const r=gr.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t](n)}})}}H.on(document,rS,lS,function(e){const t=re.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),H.one(t,Ag,s=>{s.defaultPrevented||H.one(t,wg,()=>{cs(this)&&this.focus()})});const n=re.findOne(iS);n&&gr.getInstance(n).hide(),gr.getOrCreateInstance(t).toggle(this)});Wo(gr);Rt(gr);const fS="offcanvas",dS="bs.offcanvas",hn=`.${dS}`,Tg=".data-api",mS=`load${hn}${Tg}`,hS="Escape",Ed="show",wd="showing",Ad="hiding",pS="offcanvas-backdrop",Og=".offcanvas.show",gS=`show${hn}`,_S=`shown${hn}`,vS=`hide${hn}`,Td=`hidePrevented${hn}`,Sg=`hidden${hn}`,bS=`resize${hn}`,yS=`click${hn}${Tg}`,ES=`keydown.dismiss${hn}`,wS='[data-bs-toggle="offcanvas"]',AS={backdrop:!0,keyboard:!0,scroll:!1},TS={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Dn extends Ht{constructor(t,n){super(t,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return AS}static get DefaultType(){return TS}static get NAME(){return fS}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||H.trigger(this._element,gS,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Tl().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(wd);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Ed),this._element.classList.remove(wd),H.trigger(this._element,_S,{relatedTarget:t})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||H.trigger(this._element,vS).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ad),this._backdrop.hide();const n=()=>{this._element.classList.remove(Ed,Ad),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Tl().reset(),H.trigger(this._element,Sg)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){H.trigger(this._element,Td);return}this.hide()},n=!!this._config.backdrop;return new yg({className:pS,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?t:null})}_initializeFocusTrap(){return new Eg({trapElement:this._element})}_addEventListeners(){H.on(this._element,ES,t=>{if(t.key===hS){if(this._config.keyboard){this.hide();return}H.trigger(this._element,Td)}})}static jQueryInterface(t){return this.each(function(){const n=Dn.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}H.on(document,yS,wS,function(e){const t=re.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),$n(this))return;H.one(t,Sg,()=>{cs(this)&&this.focus()});const n=re.findOne(Og);n&&n!==t&&Dn.getInstance(n).hide(),Dn.getOrCreateInstance(t).toggle(this)});H.on(window,mS,()=>{for(const e of re.find(Og))Dn.getOrCreateInstance(e).show()});H.on(window,bS,()=>{for(const e of re.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&Dn.getOrCreateInstance(e).hide()});Wo(Dn);Rt(Dn);const OS=/^aria-[\w-]*$/i,Cg={"*":["class","dir","id","lang","role",OS],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],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:[]},SS=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),CS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,NS=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?SS.has(n)?!!CS.test(e.nodeValue):!0:t.filter(r=>r instanceof RegExp).some(r=>r.test(n))};function LS(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const s=new window.DOMParser().parseFromString(e,"text/html"),i=[].concat(...s.body.querySelectorAll("*"));for(const o of i){const a=o.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),u=[].concat(t["*"]||[],t[a]||[]);for(const c of l)NS(c,u)||o.removeAttribute(c.nodeName)}return s.body.innerHTML}const IS="TemplateFactory",PS={allowList:Cg,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},RS={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},xS={entry:"(string|element|function|null)",selector:"(string|element)"};class kS extends si{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return PS}static get DefaultType(){return RS}static get NAME(){return IS}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[s,i]of Object.entries(this._config.content))this._setContent(t,i,s);const n=t.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&n.classList.add(...r.split(" ")),n}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[n,r]of Object.entries(t))super._typeCheckConfig({selector:n,entry:r},xS)}_setContent(t,n,r){const s=re.findOne(r,t);if(s){if(n=this._resolvePossibleFunction(n),!n){s.remove();return}if(an(n)){this._putElementInTemplate(kn(n),s);return}if(this._config.html){s.innerHTML=this._maybeSanitize(n);return}s.textContent=n}}_maybeSanitize(t){return this._config.sanitize?LS(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return pt(t,[this])}_putElementInTemplate(t,n){if(this._config.html){n.innerHTML="",n.append(t);return}n.textContent=t.textContent}}const $S="tooltip",DS=new Set(["sanitize","allowList","sanitizeFn"]),Sa="fade",MS="modal",Ti="show",FS=".tooltip-inner",Od=`.${MS}`,Sd="hide.bs.modal",vs="hover",Ca="focus",jS="click",US="manual",HS="hide",VS="hidden",BS="show",WS="shown",YS="inserted",KS="click",zS="focusin",GS="focusout",qS="mouseenter",XS="mouseleave",JS={AUTO:"auto",TOP:"top",RIGHT:It()?"left":"right",BOTTOM:"bottom",LEFT:It()?"right":"left"},QS={allowList:Cg,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"},ZS={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 fs extends Ht{constructor(t,n){if(typeof eg>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return QS}static get DefaultType(){return ZS}static get NAME(){return $S}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),H.off(this._element.closest(Od),Sd,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=H.trigger(this._element,this.constructor.eventName(BS)),r=(rg(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!r)return;this._disposePopper();const s=this._getTipElement();this._element.setAttribute("aria-describedby",s.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(s),H.trigger(this._element,this.constructor.eventName(YS))),this._popper=this._createPopper(s),s.classList.add(Ti),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))H.on(a,"mouseover",ao);const o=()=>{H.trigger(this._element,this.constructor.eventName(WS)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||H.trigger(this._element,this.constructor.eventName(HS)).defaultPrevented)return;if(this._getTipElement().classList.remove(Ti),"ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))H.off(s,"mouseover",ao);this._activeTrigger[jS]=!1,this._activeTrigger[Ca]=!1,this._activeTrigger[vs]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),H.trigger(this._element,this.constructor.eventName(VS)))};this._queueCallback(r,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 n=this._getTemplateFactory(t).toHtml();if(!n)return null;n.classList.remove(Sa,Ti),n.classList.add(`bs-${this.constructor.NAME}-auto`);const r=jA(this.constructor.NAME).toString();return n.setAttribute("id",r),this._isAnimated()&&n.classList.add(Sa),n}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new kS({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[FS]: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(Sa)}_isShown(){return this.tip&&this.tip.classList.contains(Ti)}_createPopper(t){const n=pt(this._config.placement,[this,t,this._element]),r=JS[n.toUpperCase()];return xc(this._element,t,this._getPopperConfig(r))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_resolvePossibleFunction(t){return pt(t,[this._element])}_getPopperConfig(t){const n={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:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...n,...pt(this._config.popperConfig,[n])}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if(n==="click")H.on(this._element,this.constructor.eventName(KS),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(n!==US){const r=n===vs?this.constructor.eventName(qS):this.constructor.eventName(zS),s=n===vs?this.constructor.eventName(XS):this.constructor.eventName(GS);H.on(this._element,r,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusin"?Ca:vs]=!0,o._enter()}),H.on(this._element,s,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusout"?Ca:vs]=o._element.contains(i.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},H.on(this._element.closest(Od),Sd,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,n){clearTimeout(this._timeout),this._timeout=setTimeout(t,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const n=ln.getDataAttributes(this._element);for(const r of Object.keys(n))DS.has(r)&&delete n[r];return t={...n,...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:kn(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[n,r]of Object.entries(this._config))this.constructor.Default[n]!==r&&(t[n]=r);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 n=fs.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Rt(fs);const eC="popover",tC=".popover-header",nC=".popover-body",rC={...fs.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},sC={...fs.DefaultType,content:"(null|string|element|function)"};class Mc extends fs{static get Default(){return rC}static get DefaultType(){return sC}static get NAME(){return eC}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[tC]:this._getTitle(),[nC]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const n=Mc.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Rt(Mc);const iC="scrollspy",oC="bs.scrollspy",Fc=`.${oC}`,aC=".data-api",lC=`activate${Fc}`,Cd=`click${Fc}`,cC=`load${Fc}${aC}`,uC="dropdown-item",Sr="active",fC='[data-bs-spy="scroll"]',Na="[href]",dC=".nav, .list-group",Nd=".nav-link",mC=".nav-item",hC=".list-group-item",pC=`${Nd}, ${mC} > ${Nd}, ${hC}`,gC=".dropdown",_C=".dropdown-toggle",vC={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},bC={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class zo extends Ht{constructor(t,n){super(t,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return vC}static get DefaultType(){return bC}static get NAME(){return iC}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=kn(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(n=>Number.parseFloat(n))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(H.off(this._config.target,Cd),H.on(this._config.target,Cd,Na,t=>{const n=this._observableSections.get(t.target.hash);if(n){t.preventDefault();const r=this._rootElement||window,s=n.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:s,behavior:"smooth"});return}r.scrollTop=s}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),t)}_observerCallback(t){const n=o=>this._targetLinks.get(`#${o.target.id}`),r=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},s=(this._rootElement||document.documentElement).scrollTop,i=s>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=s;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(r(o),!s)return;continue}!i&&!a&&r(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=re.find(Na,this._config.target);for(const n of t){if(!n.hash||$n(n))continue;const r=re.findOne(decodeURI(n.hash),this._element);cs(r)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,r))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Sr),this._activateParents(t),H.trigger(this._element,lC,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(uC)){re.findOne(_C,t.closest(gC)).classList.add(Sr);return}for(const n of re.parents(t,dC))for(const r of re.prev(n,pC))r.classList.add(Sr)}_clearActiveClass(t){t.classList.remove(Sr);const n=re.find(`${Na}.${Sr}`,t);for(const r of n)r.classList.remove(Sr)}static jQueryInterface(t){return this.each(function(){const n=zo.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}H.on(window,cC,()=>{for(const e of re.find(fC))zo.getOrCreateInstance(e)});Rt(zo);const yC="tab",EC="bs.tab",Er=`.${EC}`,wC=`hide${Er}`,AC=`hidden${Er}`,TC=`show${Er}`,OC=`shown${Er}`,SC=`click${Er}`,CC=`keydown${Er}`,NC=`load${Er}`,LC="ArrowLeft",Ld="ArrowRight",IC="ArrowUp",Id="ArrowDown",La="Home",Pd="End",sr="active",Rd="fade",Ia="show",PC="dropdown",Ng=".dropdown-toggle",RC=".dropdown-menu",Pa=`:not(${Ng})`,xC='.list-group, .nav, [role="tablist"]',kC=".nav-item, .list-group-item",$C=`.nav-link${Pa}, .list-group-item${Pa}, [role="tab"]${Pa}`,Lg='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ra=`${$C}, ${Lg}`,DC=`.${sr}[data-bs-toggle="tab"], .${sr}[data-bs-toggle="pill"], .${sr}[data-bs-toggle="list"]`;class ts extends Ht{constructor(t){super(t),this._parent=this._element.closest(xC),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),H.on(this._element,CC,n=>this._keydown(n)))}static get NAME(){return yC}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),r=n?H.trigger(n,wC,{relatedTarget:t}):null;H.trigger(t,TC,{relatedTarget:n}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(n,t),this._activate(t,n))}_activate(t,n){if(!t)return;t.classList.add(sr),this._activate(re.getElementFromSelector(t));const r=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(Ia);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),H.trigger(t,OC,{relatedTarget:n})};this._queueCallback(r,t,t.classList.contains(Rd))}_deactivate(t,n){if(!t)return;t.classList.remove(sr),t.blur(),this._deactivate(re.getElementFromSelector(t));const r=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(Ia);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),H.trigger(t,AC,{relatedTarget:n})};this._queueCallback(r,t,t.classList.contains(Rd))}_keydown(t){if(![LC,Ld,IC,Id,La,Pd].includes(t.key))return;t.stopPropagation(),t.preventDefault();const n=this._getChildren().filter(s=>!$n(s));let r;if([La,Pd].includes(t.key))r=n[t.key===La?0:n.length-1];else{const s=[Ld,Id].includes(t.key);r=kc(n,t.target,s,!0)}r&&(r.focus({preventScroll:!0}),ts.getOrCreateInstance(r).show())}_getChildren(){return re.find(Ra,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,n){this._setAttributeIfNotExists(t,"role","tablist");for(const r of n)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const n=this._elemIsActive(t),r=this._getOuterElement(t);t.setAttribute("aria-selected",n),r!==t&&this._setAttributeIfNotExists(r,"role","presentation"),n||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const n=re.getElementFromSelector(t);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,n){const r=this._getOuterElement(t);if(!r.classList.contains(PC))return;const s=(i,o)=>{const a=re.findOne(i,r);a&&a.classList.toggle(o,n)};s(Ng,sr),s(RC,Ia),r.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(t,n,r){t.hasAttribute(n)||t.setAttribute(n,r)}_elemIsActive(t){return t.classList.contains(sr)}_getInnerElement(t){return t.matches(Ra)?t:re.findOne(Ra,t)}_getOuterElement(t){return t.closest(kC)||t}static jQueryInterface(t){return this.each(function(){const n=ts.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}H.on(document,SC,Lg,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!$n(this)&&ts.getOrCreateInstance(this).show()});H.on(window,NC,()=>{for(const e of re.find(DC))ts.getOrCreateInstance(e)});Rt(ts);const MC="toast",FC="bs.toast",zn=`.${FC}`,jC=`mouseover${zn}`,UC=`mouseout${zn}`,HC=`focusin${zn}`,VC=`focusout${zn}`,BC=`hide${zn}`,WC=`hidden${zn}`,YC=`show${zn}`,KC=`shown${zn}`,zC="fade",xd="hide",Oi="show",Si="showing",GC={animation:"boolean",autohide:"boolean",delay:"number"},qC={animation:!0,autohide:!0,delay:5e3};class Go extends Ht{constructor(t,n){super(t,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return qC}static get DefaultType(){return GC}static get NAME(){return MC}show(){if(H.trigger(this._element,YC).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(zC);const n=()=>{this._element.classList.remove(Si),H.trigger(this._element,KC),this._maybeScheduleHide()};this._element.classList.remove(xd),ri(this._element),this._element.classList.add(Oi,Si),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||H.trigger(this._element,BC).defaultPrevented)return;const n=()=>{this._element.classList.add(xd),this._element.classList.remove(Si,Oi),H.trigger(this._element,WC)};this._element.classList.add(Si),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Oi),super.dispose()}isShown(){return this._element.classList.contains(Oi)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,n){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const r=t.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){H.on(this._element,jC,t=>this._onInteraction(t,!0)),H.on(this._element,UC,t=>this._onInteraction(t,!1)),H.on(this._element,HC,t=>this._onInteraction(t,!0)),H.on(this._element,VC,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const n=Go.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}Wo(Go);Rt(Go);const XC=["id"],JC={class:"modal-dialog modal-dialog-centered"},QC={class:"modal-content"},ZC={class:"modal-header"},eN={class:"modal-title"},tN=k("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1),nN={class:"modal-body preserve-breaks"},rN={class:"modal-footer"},sN={type:"button",class:"btn btn-primary","data-bs-dismiss":"modal"},iN=Xe({__name:"GenericInfoModal",setup(e,{expose:t}){const{t:n}=Qt(),r=ge(null);let s;ss(()=>{s=gr.getOrCreateInstance(r.value)}),Oo(()=>{s==null||s.dispose()});function i(){s?s.show():console.error("Modal was not properly created before showing")}function o(){s?s.hide():console.error("Modal was not properly created before hiding")}const a=ge(""),l=ge(""),u=ge("");return t({show:i,hide:o,modalText:a,modalTitle:l,modalId:u}),(c,f)=>(Oe(),Ie("div",{class:"modal",tabindex:"-1",ref_key:"modalRef",ref:r,id:u.value},[k("div",JC,[k("div",QC,[k("div",ZC,[k("h5",eN,ue(l.value),1),tN]),k("div",nN,[k("p",null,ue(a.value),1)]),k("div",rN,[k("button",sN,ue(V(n)("common.buttons.close")),1)])])])],8,XC))}}),jc=Symbol(),oN={class:"vh-100 overflow-y-scroll overflow-x-hidden"},aN=Xe({__name:"App",setup(e){const t=ge(null);function n(r,s){t.value?(t.value.modalTitle=r,t.value.modalText=s,t.value.show()):console.error("Modal not yet available")}return cr(jc,n),(r,s)=>(Oe(),Ie("div",oN,[ye(qw),ye(V(sp)),ye(iN,{ref_key:"infoModal",ref:t},null,512)]))}}),Ig="/assets/OldInGameBlurredRotated-Bc8vmN0_.jpeg";class lN{getTest(t,n){return new Promise((r,s)=>{Ue.get(`${Is.API_BASE_URL}/user/test/${t}`,{params:{param1:n},withCredentials:!0}).then(i=>{r(i)}).catch(i=>{s(i)})})}}const cN=new lN,ai=e=>(ov("data-v-6c838f03"),e=e(),av(),e),uN={class:"row"},fN={class:"col"},dN={class:"w-100 d-flex justify-content-center my-5"},mN={class:"container-fluid px-0 d-flex justify-content-center align-items-center flex-column"},hN={class:"row w-100 border-top"},pN={class:"col-md-6 col-12 px-0 bg-body-secondary"},gN={class:"d-flex justify-content-center align-items-center h-100 w-100 flex-column"},_N={class:"m-1"},vN={class:"row"},bN=ai(()=>k("div",{class:"col-auto"},[k("input",{type:"text",class:"form-control",placeholder:"Code"})],-1)),yN={class:"col-auto"},EN={class:"btn btn-primary"},wN=ai(()=>k("div",{class:"col-md-6 col-12 px-0 mx-0"},[k("img",{class:"w-100",src:Ig,alt:"Blurred, slightly tilted image of how the game looks like"})],-1)),AN={class:"row w-100 border-bottom"},TN=ai(()=>k("div",{class:"col-md-6 col-12 px-0 mx-0"},[k("img",{class:"w-100",src:Ig,alt:"Blurred, slightly tilted image of how the game looks like"})],-1)),ON={class:"col-md-6 col-12 px-0 mx-0 bg-body-secondary"},SN={class:"h-100 w-100 d-flex justify-content-center align-items-center flex-column"},CN={class:"m-1"},NN={class:"row"},LN=ai(()=>k("div",{class:"col-auto"},[k("input",{type:"text",class:"form-control",placeholder:"Code"})],-1)),IN={class:"col-auto"},PN={class:"btn btn-primary"},RN={class:"row w-100"},xN={class:"col mt-5 mb-5"},kN={class:"container mb-5 text-center"},$N=ai(()=>k("h4",null," How does it work? ",-1)),DN={class:"row mt-5"},MN={class:"col-4 d-flex justify-content-center align-items-center flex-column gap-3"},FN={class:"border rounded-circle w-fit-content"},jN={class:"col-4 d-flex justify-content-center align-items-center flex-column gap-3"},UN={class:"border rounded-circle w-fit-content"},HN={class:"col-4 d-flex justify-content-center align-items-center flex-column gap-3"},VN={class:"border rounded-circle w-fit-content"},BN=Xe({__name:"HomePage",setup(e){const t=ge({});return ss(()=>{cN.getTest("ping","42").then(n=>{t.value=n.data})}),(n,r)=>(Oe(),Ie(lt,null,[k("div",uN,[k("div",fN,[k("div",dN,[k("h1",null,ue(n.$t("home.welcome"))+" "+ue(t.value),1)])])]),k("div",mN,[k("div",hN,[k("div",pN,[k("div",gN,[k("h3",_N,ue(n.$t("join.text")),1),k("p",null,ue(n.$t("join.alreadyHostedGome")),1),k("p",null,ue(n.$t("join.textCode")),1),k("div",vN,[bN,k("div",yN,[k("button",EN,ue(n.$t("join.button")),1)])])])]),wN]),k("div",AN,[TN,k("div",ON,[k("div",SN,[k("h3",CN,ue(n.$t("host.text")),1),k("p",null,ue(n.$t("host.alreadyHostedGome")),1),k("p",null,ue(n.$t("host.textCode")),1),k("div",NN,[LN,k("div",IN,[k("button",PN,ue(n.$t("host.button")),1)])])])])]),k("div",RN,[k("div",xN,[k("div",kN,[$N,k("div",DN,[k("div",MN,[k("div",FN,[ye(Ls,{height:"2rem",width:"2rem"})]),Ye(" Create a Board ")]),k("div",jN,[k("div",UN,[ye(Ls,{height:"2rem",width:"2rem"})]),Ye(" Invite your friends ")]),k("div",HN,[k("div",VN,[ye(Ls,{height:"2rem",width:"2rem"})]),Ye(" Have fun playing ")])])])])])])],64))}}),WN=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},YN=WN(BN,[["__scopeId","data-v-6c838f03"]]),KN=Xe({__name:"AboutPage",setup(e){const{t}=Qt();return(n,r)=>(Oe(),Ie("div",null,ue(V(t)("about.whatis")),1))}});function kd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Sn(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(e).reduce((n,r)=>(t.includes(r)||(n[r]=V(e[r])),n),{})}function uo(e){return typeof e=="function"}function GN(e){return In(e)||Vr(e)}function Pg(e,t,n){let r=e;const s=t.split(".");for(let i=0;ie.some(r=>Pg(t,r,{[n]:!1})[n]))}function Dd(e,t,n){return ne(()=>e.reduce((r,s)=>{const i=Pg(t,s,{[n]:!1})[n]||[];return r.concat(i)},[]))}function Rg(e,t,n,r){return e.call(r,V(t),V(n),r)}function xg(e){return e.$valid!==void 0?!e.$valid:!e}function qN(e,t,n,r,s,i,o){let{$lazy:a,$rewardEarly:l}=s,u=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],c=arguments.length>8?arguments[8]:void 0,f=arguments.length>9?arguments[9]:void 0,d=arguments.length>10?arguments[10]:void 0;const m=ge(!!r.value),h=ge(0);n.value=!1;const y=it([t,r].concat(u,d),()=>{if(a&&!r.value||l&&!f.value&&!n.value)return;let v;try{v=Rg(e,t,c,o)}catch(w){v=Promise.reject(w)}h.value++,n.value=!!h.value,m.value=!1,Promise.resolve(v).then(w=>{h.value--,n.value=!!h.value,i.value=w,m.value=xg(w)}).catch(w=>{h.value--,n.value=!!h.value,i.value=w,m.value=!0})},{immediate:!0,deep:typeof t=="object"});return{$invalid:m,$unwatch:y}}function XN(e,t,n,r,s,i,o,a){let{$lazy:l,$rewardEarly:u}=r;const c=()=>({}),f=ne(()=>{if(l&&!n.value||u&&!a.value)return!1;let d=!0;try{const m=Rg(e,t,o,i);s.value=m,d=xg(m)}catch(m){s.value=m}return d});return{$unwatch:c,$invalid:f}}function JN(e,t,n,r,s,i,o,a,l,u,c){const f=ge(!1),d=e.$params||{},m=ge(null);let h,y;e.$async?{$invalid:h,$unwatch:y}=qN(e.$validator,t,f,n,r,m,s,e.$watchTargets,l,u,c):{$invalid:h,$unwatch:y}=XN(e.$validator,t,n,r,m,s,l,u);const v=e.$message;return{$message:uo(v)?ne(()=>v($d({$pending:f,$invalid:h,$params:$d(d),$model:t,$response:m,$validator:i,$propertyPath:a,$property:o}))):v||"",$params:d,$pending:f,$invalid:h,$response:m,$unwatch:y}}function QN(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=V(e),n=Object.keys(t),r={},s={},i={};let o=null;return n.forEach(a=>{const l=t[a];switch(!0){case uo(l.$validator):r[a]=l;break;case uo(l):r[a]={$validator:l};break;case a==="$validationGroups":o=l;break;case a.startsWith("$"):i[a]=l;break;default:s[a]=l}}),{rules:r,nestedValidators:s,config:i,validationGroups:o}}const ZN="__root";function eL(e,t,n,r,s,i,o,a,l){const u=Object.keys(e),c=r.get(s,e),f=ge(!1),d=ge(!1),m=ge(0);if(c){if(!c.$partial)return c;c.$unwatch(),f.value=c.$dirty.value}const h={$dirty:f,$path:s,$touch:()=>{f.value||(f.value=!0)},$reset:()=>{f.value&&(f.value=!1)},$commit:()=>{}};return u.length?(u.forEach(y=>{h[y]=JN(e[y],t,h.$dirty,i,o,y,n,s,l,d,m)}),h.$externalResults=ne(()=>a.value?[].concat(a.value).map((y,v)=>({$propertyPath:s,$property:n,$validator:"$externalResults",$uid:`${s}-externalResult-${v}`,$message:y,$params:{},$response:null,$pending:!1})):[]),h.$invalid=ne(()=>{const y=u.some(v=>V(h[v].$invalid));return d.value=y,!!h.$externalResults.value.length||y}),h.$pending=ne(()=>u.some(y=>V(h[y].$pending))),h.$error=ne(()=>h.$dirty.value?h.$pending.value||h.$invalid.value:!1),h.$silentErrors=ne(()=>u.filter(y=>V(h[y].$invalid)).map(y=>{const v=h[y];return Vn({$propertyPath:s,$property:n,$validator:y,$uid:`${s}-${y}`,$message:v.$message,$params:v.$params,$response:v.$response,$pending:v.$pending})}).concat(h.$externalResults.value)),h.$errors=ne(()=>h.$dirty.value?h.$silentErrors.value:[]),h.$unwatch=()=>u.forEach(y=>{h[y].$unwatch()}),h.$commit=()=>{d.value=!0,m.value=Date.now()},r.set(s,e,h),h):(c&&r.set(s,e,h),h)}function tL(e,t,n,r,s,i,o){const a=Object.keys(e);return a.length?a.reduce((l,u)=>(l[u]=Ol({validations:e[u],state:t,key:u,parentKey:n,resultsCache:r,globalConfig:s,instance:i,externalResults:o}),l),{}):{}}function nL(e,t,n){const r=ne(()=>[t,n].filter(h=>h).reduce((h,y)=>h.concat(Object.values(V(y))),[])),s=ne({get(){return e.$dirty.value||(r.value.length?r.value.every(h=>h.$dirty):!1)},set(h){e.$dirty.value=h}}),i=ne(()=>{const h=V(e.$silentErrors)||[],y=r.value.filter(v=>(V(v).$silentErrors||[]).length).reduce((v,w)=>v.concat(...w.$silentErrors),[]);return h.concat(y)}),o=ne(()=>{const h=V(e.$errors)||[],y=r.value.filter(v=>(V(v).$errors||[]).length).reduce((v,w)=>v.concat(...w.$errors),[]);return h.concat(y)}),a=ne(()=>r.value.some(h=>h.$invalid)||V(e.$invalid)||!1),l=ne(()=>r.value.some(h=>V(h.$pending))||V(e.$pending)||!1),u=ne(()=>r.value.some(h=>h.$dirty)||r.value.some(h=>h.$anyDirty)||s.value),c=ne(()=>s.value?l.value||a.value:!1),f=()=>{e.$touch(),r.value.forEach(h=>{h.$touch()})},d=()=>{e.$commit(),r.value.forEach(h=>{h.$commit()})},m=()=>{e.$reset(),r.value.forEach(h=>{h.$reset()})};return r.value.length&&r.value.every(h=>h.$dirty)&&f(),{$dirty:s,$errors:o,$invalid:a,$anyDirty:u,$error:c,$pending:l,$touch:f,$reset:m,$silentErrors:i,$commit:d}}function Ol(e){let{validations:t,state:n,key:r,parentKey:s,childResults:i,resultsCache:o,globalConfig:a={},instance:l,externalResults:u}=e;const c=s?`${s}.${r}`:r,{rules:f,nestedValidators:d,config:m,validationGroups:h}=QN(t),y=Sn(Sn({},a),m),v=r?ne(()=>{const pe=V(n);return pe?V(pe[r]):void 0}):n,w=Sn({},V(u)||{}),O=ne(()=>{const pe=V(u);return r?pe?V(pe[r]):void 0:pe}),E=eL(f,v,r,o,c,y,l,O,n),A=tL(d,v,c,o,y,l,O),C={};h&&Object.entries(h).forEach(pe=>{let[Ee,be]=pe;C[Ee]={$invalid:xa(be,A,"$invalid"),$error:xa(be,A,"$error"),$pending:xa(be,A,"$pending"),$errors:Dd(be,A,"$errors"),$silentErrors:Dd(be,A,"$silentErrors")}});const{$dirty:S,$errors:I,$invalid:$,$anyDirty:P,$error:q,$pending:ie,$touch:Q,$reset:le,$silentErrors:je,$commit:Ce}=nL(E,A,i),ee=r?ne({get:()=>V(v),set:pe=>{S.value=!0;const Ee=V(n),be=V(u);be&&(be[r]=w[r]),He(Ee[r])?Ee[r].value=pe:Ee[r]=pe}}):null;r&&y.$autoDirty&&it(v,()=>{S.value||Q();const pe=V(u);pe&&(pe[r]=w[r])},{flush:"sync"});async function ae(){return Q(),y.$rewardEarly&&(Ce(),await Ms()),await Ms(),new Promise(pe=>{if(!ie.value)return pe(!$.value);const Ee=it(ie,()=>{pe(!$.value),Ee()})})}function de(pe){return(i.value||{})[pe]}function xe(){He(u)?u.value=w:Object.keys(w).length===0?Object.keys(u).forEach(pe=>{delete u[pe]}):Object.assign(u,w)}return Vn(Sn(Sn(Sn({},E),{},{$model:ee,$dirty:S,$error:q,$errors:I,$invalid:$,$anyDirty:P,$pending:ie,$touch:Q,$reset:le,$path:c||ZN,$silentErrors:je,$validate:ae,$commit:Ce},i&&{$getResultsForChild:de,$clearExternalResults:xe,$validationGroups:C}),A))}class rL{constructor(){this.storage=new Map}set(t,n,r){this.storage.set(t,{rules:n,result:r})}checkRulesValidity(t,n,r){const s=Object.keys(r),i=Object.keys(n);return i.length!==s.length||!i.every(a=>s.includes(a))?!1:i.every(a=>n[a].$params?Object.keys(n[a].$params).every(l=>V(r[a].$params[l])===V(n[a].$params[l])):!0)}get(t,n){const r=this.storage.get(t);if(!r)return;const{rules:s,result:i}=r,o=this.checkRulesValidity(t,n,s),a=i.$unwatch?i.$unwatch:()=>({});return o?i:{$dirty:i.$dirty,$partial:!0,$unwatch:a}}}const zi={COLLECT_ALL:!0,COLLECT_NONE:!1},Md=Symbol("vuelidate#injectChildResults"),Fd=Symbol("vuelidate#removeChildResults");function sL(e){let{$scope:t,instance:n}=e;const r={},s=ge([]),i=ne(()=>s.value.reduce((c,f)=>(c[f]=V(r[f]),c),{}));function o(c,f){let{$registerAs:d,$scope:m,$stopPropagation:h}=f;h||t===zi.COLLECT_NONE||m===zi.COLLECT_NONE||t!==zi.COLLECT_ALL&&t!==m||(r[d]=c,s.value.push(d))}n.__vuelidateInjectInstances=[].concat(n.__vuelidateInjectInstances||[],o);function a(c){s.value=s.value.filter(f=>f!==c),delete r[c]}n.__vuelidateRemoveInstances=[].concat(n.__vuelidateRemoveInstances||[],a);const l=tt(Md,[]);cr(Md,n.__vuelidateInjectInstances);const u=tt(Fd,[]);return cr(Fd,n.__vuelidateRemoveInstances),{childResults:i,sendValidationResultsToParent:l,removeValidationResultsFromParent:u}}function kg(e){return new Proxy(e,{get(t,n){return typeof t[n]=="object"?kg(t[n]):ne(()=>t[n])}})}let jd=0;function $g(e,t){var n;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(r=e,e=void 0,t=void 0);let{$registerAs:s,$scope:i=zi.COLLECT_ALL,$stopPropagation:o,$externalResults:a,currentVueInstance:l}=r;const u=l||((n=Wr())===null||n===void 0?void 0:n.proxy),c=u?u.$options:{};s||(jd+=1,s=`_vuelidate_${jd}`);const f=ge({}),d=new rL,{childResults:m,sendValidationResultsToParent:h,removeValidationResultsFromParent:y}=u?sL({$scope:i,instance:u}):{childResults:ge({})};if(!e&&c.validations){const v=c.validations;t=ge({}),nc(()=>{t.value=u,it(()=>uo(v)?v.call(t.value,new kg(t.value)):v,w=>{f.value=Ol({validations:w,state:t,childResults:m,resultsCache:d,globalConfig:r,instance:u,externalResults:a||u.vuelidateExternalResults})},{immediate:!0})}),r=c.validationsConfig||r}else{const v=He(e)||GN(e)?e:Vn(e||{});it(v,w=>{f.value=Ol({validations:w,state:t,childResults:m,resultsCache:d,globalConfig:r,instance:u??{},externalResults:a})},{immediate:!0})}return u&&(h.forEach(v=>v(f,{$registerAs:s,$scope:i,$stopPropagation:o})),zm(()=>y.forEach(v=>v(s)))),ne(()=>Sn(Sn({},V(f.value)),m.value))}function Ud(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Dg(e){for(var t=1;t{if(e=V(e),Array.isArray(e))return!!e.length;if(e==null)return!1;if(e===!1)return!0;if(e instanceof Date)return!isNaN(e.getTime());if(typeof e=="object"){for(let t in e)return!0;return!1}return!!String(e).length},lL=e=>(e=V(e),Array.isArray(e)?e.length:typeof e=="object"?Object.keys(e).length:String(e).length);function wr(){for(var e=arguments.length,t=new Array(e),n=0;n(r=V(r),!Uc(r)||t.every(s=>(s.lastIndex=0,s.test(r))))}wr(/^[a-zA-Z]*$/);wr(/^[a-zA-Z0-9]*$/);wr(/^\d*(\.\d+)?$/);const cL=/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;wr(cL);function uL(e){return t=>!Uc(t)||lL(t)>=V(e)}function fL(e){return{$validator:uL(e),$message:t=>{let{$params:n}=t;return`This field should be at least ${n.min} characters long`},$params:{min:e,type:"minLength"}}}function dL(e){return typeof e=="string"&&(e=e.trim()),Uc(e)}var Mg={$validator:dL,$message:"Value is required",$params:{type:"required"}};function mL(e){return t=>V(t)===V(e)}function hL(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"other";return{$validator:mL(e),$message:n=>`The value must be equal to the ${t} value`,$params:{equalTo:e,otherName:t,type:"sameAs"}}}const pL=/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;wr(pL);wr(/(^[0-9]*$)|(^-[0-9]+$)/);wr(/^[-]?\d*(\.\d+)?$/);function Fg(e){let{t,messagePath:n=s=>{let{$validator:i}=s;return`validations.${i}`},messageParams:r=s=>s}=e;return function(i){let{withArguments:o=!1,messagePath:a=n,messageParams:l=r}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};function u(c){return t(a(c),l(Dg({model:c.$model,property:c.$property,pending:c.$pending,invalid:c.$invalid,response:c.$response,validator:c.$validator,propertyPath:c.$propertyPath},c.$params)))}return o&&typeof i=="function"?function(){return Hd(u,i(...arguments))}:Hd(u,i)}}const gL={class:"container d-flex flex-column justify-content-center align-items-center"},_L={class:"row mt-5"},vL={class:"col"},bL={class:"card"},yL={class:"card-header bg-primary p-4"},EL={class:"mb-0"},wL={class:"card-body bg-body-secondary"},AL={class:"d-flex flex-column gap-3 mt-3"},TL={class:"mb-3"},OL={for:"input-username"},SL={key:0,class:"text-danger ps-3"},CL={class:"mb-3"},NL={for:"input-username"},LL={key:0,class:"text-danger ps-3"},IL={class:"mb-3 d-flex justify-content-between"},PL={key:0,class:"alert alert-danger",role:"alert"},RL=Xe({__name:"LoginPage",setup(e){const{t}=Qt(),n=ip(),r=$o(),s=tt(jc),i=ge(""),o=ge(""),a=ge(""),l=ge(!1);function u(){if(m.value.$touch(),m.value.$error){a.value=t("forms.validate-fields"),setTimeout(()=>{a.value=""},3e3);return}else a.value="";const h={username:i.value,password:o.value};l.value=!0,yc.loginUser(h).then(y=>{r.setUser(y),n.push({name:"profile"})}).catch(y=>{console.error(y);const v=t("login.error.process");s!==void 0?s(t("common.error.generic"),v):alert(v)}).finally(()=>{l.value=!1})}const f=Fg({t})(Mg),d=ne(()=>({username:{inputRequired:f},password:{inputRequired:f}})),m=$g(d,{username:i,password:o});return(h,y)=>(Oe(),Ie("div",gL,[k("div",_L,[k("div",vL,[k("div",bL,[k("div",yL,[k("h2",EL,ue(V(t)("login.loginHeader")),1)]),k("div",wL,[k("div",AL,[k("div",TL,[k("label",OL,[Ye(ue(V(t)("login.username"))+" ",1),V(m).username.$error?(Oe(),Ie("span",SL,ue(V(m).username.$errors[0].$message),1)):Nn("",!0)]),ws(k("input",{"onUpdate:modelValue":y[0]||(y[0]=v=>i.value=v),type:"text",id:"input-username",class:Nt(["form-control",[{"border-danger":V(m).username.$error}]]),onBlur:y[1]||(y[1]=(...v)=>V(m).username.$touch&&V(m).username.$touch(...v))},null,34),[[Os,i.value]])]),k("div",CL,[k("label",NL,[Ye(ue(V(t)("login.password"))+" ",1),V(m).password.$error?(Oe(),Ie("span",LL,ue(V(m).password.$errors[0].$message),1)):Nn("",!0)]),ws(k("input",{"onUpdate:modelValue":y[2]||(y[2]=v=>o.value=v),type:"password",id:"input-username",class:Nt(["form-control",[{"border-danger":V(m).password.$error}]]),onBlur:y[3]||(y[3]=(...v)=>V(m).password.$touch&&V(m).password.$touch(...v))},null,34),[[Os,o.value]])]),k("div",IL,[ye(V(tr),{to:"/signup",class:"btn btn-outline-primary"},{default:er(()=>[Ye(ue(V(t)("login.signupLinkButton")),1)]),_:1}),k("button",{class:"btn btn-primary",onClick:u},ue(V(t)("login.loginButton")),1)]),a.value?(Oe(),Ie("div",PL,ue(a.value),1)):Nn("",!0)])])])])])]))}}),xL={class:"container d-flex flex-column justify-content-center align-items-center"},kL={class:"row mt-5"},$L={class:"col"},DL={class:"card"},ML={class:"card-header bg-primary p-4"},FL={class:"mb-0"},jL={class:"card-body bg-body-secondary"},UL={class:"d-flex flex-column gap-3 mt-3"},HL={class:"mb-3"},VL={for:"input-username"},BL={key:0,class:"text-danger ps-3"},WL={class:"mb-3"},YL={for:"input-username"},KL={key:0,class:"text-danger ps-3"},zL={class:"mb-3"},GL={for:"input-username-repeat"},qL={key:0,class:"text-danger ps-3"},XL={class:"mb-3 d-flex justify-content-between"},JL=["disabled"],QL={key:0,class:"alert alert-danger",role:"alert"},ZL=Xe({__name:"SignupPage",setup(e){const{t}=Qt(),n=ip(),r=$o(),s=tt(jc),i=ge(""),o=ge(""),a=ge(""),l=ge(""),u=ge(!1);function c(){if(h.value.$touch(),h.value.$error){l.value=t("forms.validate-fields"),setTimeout(()=>{l.value=""},3e3);return}else l.value="";const y={username:i.value,password:o.value};u.value=!0,yc.signupUser(y).then(v=>{r.setUser(v),n.push({name:"profile"})}).catch(v=>{console.error(v);const w=t("signup.error.process");s!==void 0?s(t("common.error.generic"),w):alert(w)}).finally(()=>{u.value=!1})}const f=Fg({t}),d=f(Mg),m=ne(()=>({username:{inputRequired:d},password:{inputRequired:d,minLength:f(fL(10))},passwordRepeat:{inputRequired:d,sameAs:f(hL(o.value,t("login.password")))}})),h=$g(m,{username:i,password:o,passwordRepeat:a});return(y,v)=>{const w=tc("font-awesome-icon");return Oe(),Ie("div",xL,[k("div",kL,[k("div",$L,[k("div",DL,[k("div",ML,[k("h2",FL,ue(V(t)("signup.signupHeader")),1)]),k("div",jL,[k("div",UL,[k("div",HL,[k("label",VL,[Ye(ue(V(t)("login.username"))+" ",1),V(h).username.$error?(Oe(),Ie("span",BL,ue(V(h).username.$errors[0].$message),1)):Nn("",!0)]),ws(k("input",{type:"text",id:"input-username",class:Nt(["form-control",[{"border-danger":V(h).username.$error}]]),"onUpdate:modelValue":v[0]||(v[0]=O=>i.value=O),onBlur:v[1]||(v[1]=(...O)=>V(h).username.$touch&&V(h).username.$touch(...O))},null,34),[[Os,i.value]])]),k("div",WL,[k("label",YL,[Ye(ue(V(t)("login.password"))+" ",1),V(h).password.$error?(Oe(),Ie("span",KL,ue(V(h).password.$errors[0].$message),1)):Nn("",!0)]),ws(k("input",{type:"password",id:"input-username",class:Nt(["form-control",[{"border-danger":V(h).password.$error}]]),"onUpdate:modelValue":v[2]||(v[2]=O=>o.value=O),onBlur:v[3]||(v[3]=(...O)=>V(h).password.$touch&&V(h).password.$touch(...O))},null,34),[[Os,o.value]])]),k("div",zL,[k("label",GL,[Ye(ue(V(t)("signup.password-repeat"))+" ",1),V(h).passwordRepeat.$error?(Oe(),Ie("span",qL,ue(V(h).passwordRepeat.$errors[0].$message),1)):Nn("",!0)]),ws(k("input",{type:"password",id:"input-username-repeat",class:Nt(["form-control",[{"border-danger":V(h).passwordRepeat.$error}]]),"onUpdate:modelValue":v[4]||(v[4]=O=>a.value=O),onBlur:v[5]||(v[5]=(...O)=>V(h).passwordRepeat.$touch&&V(h).passwordRepeat.$touch(...O))},null,34),[[Os,a.value]])]),k("div",XL,[ye(V(tr),{to:"/login",class:"btn btn-outline-primary"},{default:er(()=>[Ye(ue(V(t)("signup.loginLinkButton")),1)]),_:1}),k("button",{class:"btn btn-primary",onClick:c,disabled:u.value},[u.value?(Oe(),dh(w,{key:0,icon:["fas","spinner"],spin:""})):Nn("",!0),Ye(" "+ue(V(t)("signup.signupButton")),1)],8,JL)]),l.value?(Oe(),Ie("div",QL,ue(l.value),1)):Nn("",!0)])])])])])])}}}),eI=Xe({__name:"GamePage",setup(e){const{t}=Qt();return(n,r)=>(Oe(),Ie("div",null,ue(V(t)("about.whatis")),1))}}),tI={class:"row"},nI={class:"card"},rI={class:"card-header"},sI={class:"card-body"},iI={class:"row"},oI={class:"col"},aI={class:"d-flex justify-content-around align-items-center"},lI={class:"btn btn-sm btn-primary"},cI={class:"btn btn-sm btn-primary"},uI=Xe({__name:"BoardSelector",setup(e){const t=ge([{id:1,boardName:"mockBoard"},{id:2,boardName:"test Mock"},{id:3,boardName:"Mocka Board"},{id:4,boardName:"Mocka Board 2"}]);return(n,r)=>{const s=tc("font-awesome-icon");return Oe(),Ie("div",tI,[(Oe(!0),Ie(lt,null,rc(t.value,i=>(Oe(),Ie("div",{key:i.id,class:"col-4 mb-3"},[k("div",nI,[k("div",rI,ue(i.boardName),1),k("div",sI,[k("div",iI,[k("div",oI,[k("div",aI,[k("button",lI,[ye(s,{icon:["fas","edit"]}),Ye(" Edit ")]),k("button",cI,[ye(s,{icon:["fas","play"]}),Ye(" Play ")])])])])])])]))),128))])}}}),fI={class:"d-flex flex-column justify-content-center align-items-center mt-5"},dI={class:"ratio ratio-1x1 border rounded-5",style:{width:"15rem"}},mI=["src"],hI={class:"fs-3"},pI={class:"row bg-body-secondary w-100 py-4"},gI={class:"col text-center"},_I={class:"container"},vI={class:"row w-100 py-4 mb-5"},bI={class:"col text-center"},yI={class:"btn btn-outline-primary"},EI=Xe({__name:"ProfilePage",setup(e){Qt();const t=$o(),n=ne(()=>t.profilePicture===null?"/src/assets/images/PFP_BearHead.svg":t.profilePicture);return(r,s)=>(Oe(),Ie("div",fI,[k("h1",null,ue(r.$t("profile.yourProfile")),1),k("div",dI,[k("img",{src:n.value,alt:"Your Profile Picture"},null,8,mI)]),k("p",hI,ue(V(t).username),1),k("div",pI,[k("div",gI,[k("h2",null,ue(r.$t("profile.yourBoards")),1),k("div",_I,[ye(uI)])])]),k("div",vI,[k("div",bI,[k("h2",null,ue(r.$t("settings.heading")),1),k("button",yI,ue(r.$t("profile.gotoSettings")),1)])])]))}}),wI=U1({history:g1("/"),routes:[{path:"/",name:"home",component:YN},{path:"/about",name:"about",component:KN},{path:"/login",name:"login",component:RL},{path:"/signup",name:"signup",component:ZL},{path:"/profile",name:"profile",component:EI},{path:"/game",name:"Game",component:eI}]});function Vd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function X(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1;s--){var i=n[s],o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=i)}return Me.head.insertBefore(t,r),e}}var GI="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Xs(){for(var e=12,t="";e-- >0;)t+=GI[Math.random()*62|0];return t}function ds(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Kc(e){return e.classList?ds(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function Xg(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function qI(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(Xg(e[n]),'" ')},"").trim()}function qo(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function zc(e){return e.size!==zt.size||e.x!==zt.x||e.y!==zt.y||e.rotate!==zt.rotate||e.flipX||e.flipY}function XI(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,s={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(i," ").concat(o," ").concat(a)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:s,inner:l,path:u}}function JI(e){var t=e.transform,n=e.width,r=n===void 0?Nl:n,s=e.height,i=s===void 0?Nl:s,o=e.startCentered,a=o===void 0?!1:o,l="";return a&&Bg?l+="translate(".concat(t.x/En-r/2,"em, ").concat(t.y/En-i/2,"em) "):a?l+="translate(calc(-50% + ".concat(t.x/En,"em), calc(-50% + ").concat(t.y/En,"em)) "):l+="translate(".concat(t.x/En,"em, ").concat(t.y/En,"em) "),l+="scale(".concat(t.size/En*(t.flipX?-1:1),", ").concat(t.size/En*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var QI=`:root, :host { + --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid"; + --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular"; + --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light"; + --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin"; + --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; + --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp"; + --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp"; + --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp"; + --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp"; + --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; +} + +svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { + overflow: visible; + box-sizing: content-box; +} + +.svg-inline--fa { + display: var(--fa-display, inline-block); + height: 1em; + overflow: visible; + vertical-align: -0.125em; +} +.svg-inline--fa.fa-2xs { + vertical-align: 0.1em; +} +.svg-inline--fa.fa-xs { + vertical-align: 0em; +} +.svg-inline--fa.fa-sm { + vertical-align: -0.0714285705em; +} +.svg-inline--fa.fa-lg { + vertical-align: -0.2em; +} +.svg-inline--fa.fa-xl { + vertical-align: -0.25em; +} +.svg-inline--fa.fa-2xl { + vertical-align: -0.3125em; +} +.svg-inline--fa.fa-pull-left { + margin-right: var(--fa-pull-margin, 0.3em); + width: auto; +} +.svg-inline--fa.fa-pull-right { + margin-left: var(--fa-pull-margin, 0.3em); + width: auto; +} +.svg-inline--fa.fa-li { + width: var(--fa-li-width, 2em); + top: 0.25em; +} +.svg-inline--fa.fa-fw { + width: var(--fa-fw-width, 1.25em); +} + +.fa-layers svg.svg-inline--fa { + bottom: 0; + left: 0; + margin: auto; + position: absolute; + right: 0; + top: 0; +} + +.fa-layers-counter, .fa-layers-text { + display: inline-block; + position: absolute; + text-align: center; +} + +.fa-layers { + display: inline-block; + height: 1em; + position: relative; + text-align: center; + vertical-align: -0.125em; + width: 1em; +} +.fa-layers svg.svg-inline--fa { + -webkit-transform-origin: center center; + transform-origin: center center; +} + +.fa-layers-text { + left: 50%; + top: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + -webkit-transform-origin: center center; + transform-origin: center center; +} + +.fa-layers-counter { + background-color: var(--fa-counter-background-color, #ff253a); + border-radius: var(--fa-counter-border-radius, 1em); + box-sizing: border-box; + color: var(--fa-inverse, #fff); + line-height: var(--fa-counter-line-height, 1); + max-width: var(--fa-counter-max-width, 5em); + min-width: var(--fa-counter-min-width, 1.5em); + overflow: hidden; + padding: var(--fa-counter-padding, 0.25em 0.5em); + right: var(--fa-right, 0); + text-overflow: ellipsis; + top: var(--fa-top, 0); + -webkit-transform: scale(var(--fa-counter-scale, 0.25)); + transform: scale(var(--fa-counter-scale, 0.25)); + -webkit-transform-origin: top right; + transform-origin: top right; +} + +.fa-layers-bottom-right { + bottom: var(--fa-bottom, 0); + right: var(--fa-right, 0); + top: auto; + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: bottom right; + transform-origin: bottom right; +} + +.fa-layers-bottom-left { + bottom: var(--fa-bottom, 0); + left: var(--fa-left, 0); + right: auto; + top: auto; + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: bottom left; + transform-origin: bottom left; +} + +.fa-layers-top-right { + top: var(--fa-top, 0); + right: var(--fa-right, 0); + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: top right; + transform-origin: top right; +} + +.fa-layers-top-left { + left: var(--fa-left, 0); + right: auto; + top: var(--fa-top, 0); + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: top left; + transform-origin: top left; +} + +.fa-1x { + font-size: 1em; +} + +.fa-2x { + font-size: 2em; +} + +.fa-3x { + font-size: 3em; +} + +.fa-4x { + font-size: 4em; +} + +.fa-5x { + font-size: 5em; +} + +.fa-6x { + font-size: 6em; +} + +.fa-7x { + font-size: 7em; +} + +.fa-8x { + font-size: 8em; +} + +.fa-9x { + font-size: 9em; +} + +.fa-10x { + font-size: 10em; +} + +.fa-2xs { + font-size: 0.625em; + line-height: 0.1em; + vertical-align: 0.225em; +} + +.fa-xs { + font-size: 0.75em; + line-height: 0.0833333337em; + vertical-align: 0.125em; +} + +.fa-sm { + font-size: 0.875em; + line-height: 0.0714285718em; + vertical-align: 0.0535714295em; +} + +.fa-lg { + font-size: 1.25em; + line-height: 0.05em; + vertical-align: -0.075em; +} + +.fa-xl { + font-size: 1.5em; + line-height: 0.0416666682em; + vertical-align: -0.125em; +} + +.fa-2xl { + font-size: 2em; + line-height: 0.03125em; + vertical-align: -0.1875em; +} + +.fa-fw { + text-align: center; + width: 1.25em; +} + +.fa-ul { + list-style-type: none; + margin-left: var(--fa-li-margin, 2.5em); + padding-left: 0; +} +.fa-ul > li { + position: relative; +} + +.fa-li { + left: calc(var(--fa-li-width, 2em) * -1); + position: absolute; + text-align: center; + width: var(--fa-li-width, 2em); + line-height: inherit; +} + +.fa-border { + border-color: var(--fa-border-color, #eee); + border-radius: var(--fa-border-radius, 0.1em); + border-style: var(--fa-border-style, solid); + border-width: var(--fa-border-width, 0.08em); + padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); +} + +.fa-pull-left { + float: left; + margin-right: var(--fa-pull-margin, 0.3em); +} + +.fa-pull-right { + float: right; + margin-left: var(--fa-pull-margin, 0.3em); +} + +.fa-beat { + -webkit-animation-name: fa-beat; + animation-name: fa-beat; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-bounce { + -webkit-animation-name: fa-bounce; + animation-name: fa-bounce; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); +} + +.fa-fade { + -webkit-animation-name: fa-fade; + animation-name: fa-fade; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-beat-fade { + -webkit-animation-name: fa-beat-fade; + animation-name: fa-beat-fade; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-flip { + -webkit-animation-name: fa-flip; + animation-name: fa-flip; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-shake { + -webkit-animation-name: fa-shake; + animation-name: fa-shake; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, linear); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin { + -webkit-animation-name: fa-spin; + animation-name: fa-spin; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 2s); + animation-duration: var(--fa-animation-duration, 2s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, linear); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin-reverse { + --fa-animation-direction: reverse; +} + +.fa-pulse, +.fa-spin-pulse { + -webkit-animation-name: fa-spin; + animation-name: fa-spin; + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, steps(8)); + animation-timing-function: var(--fa-animation-timing, steps(8)); +} + +@media (prefers-reduced-motion: reduce) { + .fa-beat, +.fa-bounce, +.fa-fade, +.fa-beat-fade, +.fa-flip, +.fa-pulse, +.fa-shake, +.fa-spin, +.fa-spin-pulse { + -webkit-animation-delay: -1ms; + animation-delay: -1ms; + -webkit-animation-duration: 1ms; + animation-duration: 1ms; + -webkit-animation-iteration-count: 1; + animation-iteration-count: 1; + -webkit-transition-delay: 0s; + transition-delay: 0s; + -webkit-transition-duration: 0s; + transition-duration: 0s; + } +} +@-webkit-keyframes fa-beat { + 0%, 90% { + -webkit-transform: scale(1); + transform: scale(1); + } + 45% { + -webkit-transform: scale(var(--fa-beat-scale, 1.25)); + transform: scale(var(--fa-beat-scale, 1.25)); + } +} +@keyframes fa-beat { + 0%, 90% { + -webkit-transform: scale(1); + transform: scale(1); + } + 45% { + -webkit-transform: scale(var(--fa-beat-scale, 1.25)); + transform: scale(var(--fa-beat-scale, 1.25)); + } +} +@-webkit-keyframes fa-bounce { + 0% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 10% { + -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + } + 30% { + -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + } + 50% { + -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + } + 57% { + -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + } + 64% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 100% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } +} +@keyframes fa-bounce { + 0% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 10% { + -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + } + 30% { + -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + } + 50% { + -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + } + 57% { + -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + } + 64% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 100% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } +} +@-webkit-keyframes fa-fade { + 50% { + opacity: var(--fa-fade-opacity, 0.4); + } +} +@keyframes fa-fade { + 50% { + opacity: var(--fa-fade-opacity, 0.4); + } +} +@-webkit-keyframes fa-beat-fade { + 0%, 100% { + opacity: var(--fa-beat-fade-opacity, 0.4); + -webkit-transform: scale(1); + transform: scale(1); + } + 50% { + opacity: 1; + -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); + transform: scale(var(--fa-beat-fade-scale, 1.125)); + } +} +@keyframes fa-beat-fade { + 0%, 100% { + opacity: var(--fa-beat-fade-opacity, 0.4); + -webkit-transform: scale(1); + transform: scale(1); + } + 50% { + opacity: 1; + -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); + transform: scale(var(--fa-beat-fade-scale, 1.125)); + } +} +@-webkit-keyframes fa-flip { + 50% { + -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + } +} +@keyframes fa-flip { + 50% { + -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + } +} +@-webkit-keyframes fa-shake { + 0% { + -webkit-transform: rotate(-15deg); + transform: rotate(-15deg); + } + 4% { + -webkit-transform: rotate(15deg); + transform: rotate(15deg); + } + 8%, 24% { + -webkit-transform: rotate(-18deg); + transform: rotate(-18deg); + } + 12%, 28% { + -webkit-transform: rotate(18deg); + transform: rotate(18deg); + } + 16% { + -webkit-transform: rotate(-22deg); + transform: rotate(-22deg); + } + 20% { + -webkit-transform: rotate(22deg); + transform: rotate(22deg); + } + 32% { + -webkit-transform: rotate(-12deg); + transform: rotate(-12deg); + } + 36% { + -webkit-transform: rotate(12deg); + transform: rotate(12deg); + } + 40%, 100% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } +} +@keyframes fa-shake { + 0% { + -webkit-transform: rotate(-15deg); + transform: rotate(-15deg); + } + 4% { + -webkit-transform: rotate(15deg); + transform: rotate(15deg); + } + 8%, 24% { + -webkit-transform: rotate(-18deg); + transform: rotate(-18deg); + } + 12%, 28% { + -webkit-transform: rotate(18deg); + transform: rotate(18deg); + } + 16% { + -webkit-transform: rotate(-22deg); + transform: rotate(-22deg); + } + 20% { + -webkit-transform: rotate(22deg); + transform: rotate(22deg); + } + 32% { + -webkit-transform: rotate(-12deg); + transform: rotate(-12deg); + } + 36% { + -webkit-transform: rotate(12deg); + transform: rotate(12deg); + } + 40%, 100% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } +} +@-webkit-keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +.fa-rotate-90 { + -webkit-transform: rotate(90deg); + transform: rotate(90deg); +} + +.fa-rotate-180 { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +.fa-rotate-270 { + -webkit-transform: rotate(270deg); + transform: rotate(270deg); +} + +.fa-flip-horizontal { + -webkit-transform: scale(-1, 1); + transform: scale(-1, 1); +} + +.fa-flip-vertical { + -webkit-transform: scale(1, -1); + transform: scale(1, -1); +} + +.fa-flip-both, +.fa-flip-horizontal.fa-flip-vertical { + -webkit-transform: scale(-1, -1); + transform: scale(-1, -1); +} + +.fa-rotate-by { + -webkit-transform: rotate(var(--fa-rotate-angle, 0)); + transform: rotate(var(--fa-rotate-angle, 0)); +} + +.fa-stack { + display: inline-block; + vertical-align: middle; + height: 2em; + position: relative; + width: 2.5em; +} + +.fa-stack-1x, +.fa-stack-2x { + bottom: 0; + left: 0; + margin: auto; + position: absolute; + right: 0; + top: 0; + z-index: var(--fa-stack-z-index, auto); +} + +.svg-inline--fa.fa-stack-1x { + height: 1em; + width: 1.25em; +} +.svg-inline--fa.fa-stack-2x { + height: 2em; + width: 2.5em; +} + +.fa-inverse { + color: var(--fa-inverse, #fff); +} + +.sr-only, +.fa-sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; +} + +.sr-only-focusable:not(:focus), +.fa-sr-only-focusable:not(:focus) { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; +} + +.svg-inline--fa .fa-primary { + fill: var(--fa-primary-color, currentColor); + opacity: var(--fa-primary-opacity, 1); +} + +.svg-inline--fa .fa-secondary { + fill: var(--fa-secondary-color, currentColor); + opacity: var(--fa-secondary-opacity, 0.4); +} + +.svg-inline--fa.fa-swap-opacity .fa-primary { + opacity: var(--fa-secondary-opacity, 0.4); +} + +.svg-inline--fa.fa-swap-opacity .fa-secondary { + opacity: var(--fa-primary-opacity, 1); +} + +.svg-inline--fa mask .fa-primary, +.svg-inline--fa mask .fa-secondary { + fill: black; +} + +.fad.fa-inverse, +.fa-duotone.fa-inverse { + color: var(--fa-inverse, #fff); +}`;function Jg(){var e=Wg,t=Yg,n=Z.cssPrefix,r=Z.replacementClass,s=QI;if(n!==e||r!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(t),"g");s=s.replace(i,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(a,".".concat(r))}return s}var Gd=!1;function ka(){Z.autoAddCss&&!Gd&&(zI(Jg()),Gd=!0)}var ZI={mixout:function(){return{dom:{css:Jg,insertCss:ka}}},hooks:function(){return{beforeDOMElementCreation:function(){ka()},beforeI2svg:function(){ka()}}}},fn=Mn||{};fn[un]||(fn[un]={});fn[un].styles||(fn[un].styles={});fn[un].hooks||(fn[un].hooks={});fn[un].shims||(fn[un].shims=[]);var Dt=fn[un],Qg=[],eP=function e(){Me.removeEventListener("DOMContentLoaded",e),mo=1,Qg.map(function(t){return t()})},mo=!1;pn&&(mo=(Me.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Me.readyState),mo||Me.addEventListener("DOMContentLoaded",eP));function tP(e){pn&&(mo?setTimeout(e,0):Qg.push(e))}function ui(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,s=e.children,i=s===void 0?[]:s;return typeof e=="string"?Xg(e):"<".concat(t," ").concat(qI(r),">").concat(i.map(ui).join(""),"")}function qd(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var $a=function(t,n,r,s){var i=Object.keys(t),o=i.length,a=n,l,u,c;for(r===void 0?(l=1,c=t[i[0]]):(l=0,c=r);l=55296&&s<=56319&&n=55296&&r<=56319&&n>t+1&&(s=e.charCodeAt(t+1),s>=56320&&s<=57343)?(r-55296)*1024+s-56320+65536:r}function Xd(e){return Object.keys(e).reduce(function(t,n){var r=e[n],s=!!r.icon;return s?t[r.iconName]=r.icon:t[n]=r,t},{})}function Pl(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,s=r===void 0?!1:r,i=Xd(t);typeof Dt.hooks.addPack=="function"&&!s?Dt.hooks.addPack(e,Xd(t)):Dt.styles[e]=X(X({},Dt.styles[e]||{}),i),e==="fas"&&Pl("fa",t)}var xi,ki,$i,$r=Dt.styles,sP=Dt.shims,iP=(xi={},qe(xi,$e,Object.values(Gs[$e])),qe(xi,Ve,Object.values(Gs[Ve])),xi),Gc=null,Zg={},e_={},t_={},n_={},r_={},oP=(ki={},qe(ki,$e,Object.keys(Ks[$e])),qe(ki,Ve,Object.keys(Ks[Ve])),ki);function aP(e){return~VI.indexOf(e)}function lP(e,t){var n=t.split("-"),r=n[0],s=n.slice(1).join("-");return r===e&&s!==""&&!aP(s)?s:null}var s_=function(){var t=function(i){return $a($r,function(o,a,l){return o[l]=$a(a,i,{}),o},{})};Zg=t(function(s,i,o){if(i[3]&&(s[i[3]]=o),i[2]){var a=i[2].filter(function(l){return typeof l=="number"});a.forEach(function(l){s[l.toString(16)]=o})}return s}),e_=t(function(s,i,o){if(s[o]=o,i[2]){var a=i[2].filter(function(l){return typeof l=="string"});a.forEach(function(l){s[l]=o})}return s}),r_=t(function(s,i,o){var a=i[2];return s[o]=o,a.forEach(function(l){s[l]=o}),s});var n="far"in $r||Z.autoFetchSvg,r=$a(sP,function(s,i){var o=i[0],a=i[1],l=i[2];return a==="far"&&!n&&(a="fas"),typeof o=="string"&&(s.names[o]={prefix:a,iconName:l}),typeof o=="number"&&(s.unicodes[o.toString(16)]={prefix:a,iconName:l}),s},{names:{},unicodes:{}});t_=r.names,n_=r.unicodes,Gc=Xo(Z.styleDefault,{family:Z.familyDefault})};KI(function(e){Gc=Xo(e.styleDefault,{family:Z.familyDefault})});s_();function qc(e,t){return(Zg[e]||{})[t]}function cP(e,t){return(e_[e]||{})[t]}function or(e,t){return(r_[e]||{})[t]}function i_(e){return t_[e]||{prefix:null,iconName:null}}function uP(e){var t=n_[e],n=qc("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Fn(){return Gc}var Xc=function(){return{prefix:null,iconName:null,rest:[]}};function Xo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?$e:n,s=Ks[r][e],i=zs[r][e]||zs[r][s],o=e in Dt.styles?e:null;return i||o||null}var Jd=($i={},qe($i,$e,Object.keys(Gs[$e])),qe($i,Ve,Object.keys(Gs[Ve])),$i);function Jo(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,s=r===void 0?!1:r,i=(t={},qe(t,$e,"".concat(Z.cssPrefix,"-").concat($e)),qe(t,Ve,"".concat(Z.cssPrefix,"-").concat(Ve)),t),o=null,a=$e;(e.includes(i[$e])||e.some(function(u){return Jd[$e].includes(u)}))&&(a=$e),(e.includes(i[Ve])||e.some(function(u){return Jd[Ve].includes(u)}))&&(a=Ve);var l=e.reduce(function(u,c){var f=lP(Z.cssPrefix,c);if($r[c]?(c=iP[a].includes(c)?DI[a][c]:c,o=c,u.prefix=c):oP[a].indexOf(c)>-1?(o=c,u.prefix=Xo(c,{family:a})):f?u.iconName=f:c!==Z.replacementClass&&c!==i[$e]&&c!==i[Ve]&&u.rest.push(c),!s&&u.prefix&&u.iconName){var d=o==="fa"?i_(u.iconName):{},m=or(u.prefix,u.iconName);d.prefix&&(o=null),u.iconName=d.iconName||m||u.iconName,u.prefix=d.prefix||u.prefix,u.prefix==="far"&&!$r.far&&$r.fas&&!Z.autoFetchSvg&&(u.prefix="fas")}return u},Xc());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),!l.prefix&&a===Ve&&($r.fass||Z.autoFetchSvg)&&(l.prefix="fass",l.iconName=or(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||o==="fa")&&(l.prefix=Fn()||"fas"),l}var fP=function(){function e(){AI(this,e),this.definitions={}}return OI(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,s=new Array(r),i=0;i0&&c.forEach(function(f){typeof f=="string"&&(n[a][f]=u)}),n[a][l]=u}),n}}]),e}(),Qd=[],Dr={},Hr={},dP=Object.keys(Hr);function mP(e,t){var n=t.mixoutsTo;return Qd=e,Dr={},Object.keys(Hr).forEach(function(r){dP.indexOf(r)===-1&&delete Hr[r]}),Qd.forEach(function(r){var s=r.mixout?r.mixout():{};if(Object.keys(s).forEach(function(o){typeof s[o]=="function"&&(n[o]=s[o]),fo(s[o])==="object"&&Object.keys(s[o]).forEach(function(a){n[o]||(n[o]={}),n[o][a]=s[o][a]})}),r.hooks){var i=r.hooks();Object.keys(i).forEach(function(o){Dr[o]||(Dr[o]=[]),Dr[o].push(i[o])})}r.provides&&r.provides(Hr)}),n}function Rl(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),s=2;s1?t-1:0),r=1;r0&&arguments[0]!==void 0?arguments[0]:{};return pn?(vr("beforeI2svg",t),dn("pseudoElements2svg",t),dn("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;Z.autoReplaceSvg===!1&&(Z.autoReplaceSvg=!0),Z.observeMutations=!0,tP(function(){_P({autoReplaceSvgRoot:n}),vr("watch",t)})}},gP={icon:function(t){if(t===null)return null;if(fo(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:or(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=Xo(t[0]);return{prefix:r,iconName:or(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(Z.cssPrefix,"-"))>-1||t.match(MI))){var s=Jo(t.split(" "),{skipLookups:!0});return{prefix:s.prefix||Fn(),iconName:or(s.prefix,s.iconName)||s.iconName}}if(typeof t=="string"){var i=Fn();return{prefix:i,iconName:or(i,t)||t}}}},Ot={noAuto:hP,config:Z,dom:pP,parse:gP,library:o_,findIconDefinition:xl,toHtml:ui},_P=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?Me:n;(Object.keys(Dt.styles).length>0||Z.autoFetchSvg)&&pn&&Z.autoReplaceSvg&&Ot.dom.i2svg({node:r})};function Qo(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return ui(r)})}}),Object.defineProperty(e,"node",{get:function(){if(pn){var r=Me.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function vP(e){var t=e.children,n=e.main,r=e.mask,s=e.attributes,i=e.styles,o=e.transform;if(zc(o)&&n.found&&!r.found){var a=n.width,l=n.height,u={x:a/l/2,y:.5};s.style=qo(X(X({},i),{},{"transform-origin":"".concat(u.x+o.x/16,"em ").concat(u.y+o.y/16,"em")}))}return[{tag:"svg",attributes:s,children:t}]}function bP(e){var t=e.prefix,n=e.iconName,r=e.children,s=e.attributes,i=e.symbol,o=i===!0?"".concat(t,"-").concat(Z.cssPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:X(X({},s),{},{id:o}),children:r}]}]}function Jc(e){var t=e.icons,n=t.main,r=t.mask,s=e.prefix,i=e.iconName,o=e.transform,a=e.symbol,l=e.title,u=e.maskId,c=e.titleId,f=e.extra,d=e.watchable,m=d===void 0?!1:d,h=r.found?r:n,y=h.width,v=h.height,w=s==="fak",O=[Z.replacementClass,i?"".concat(Z.cssPrefix,"-").concat(i):""].filter(function(P){return f.classes.indexOf(P)===-1}).filter(function(P){return P!==""||!!P}).concat(f.classes).join(" "),E={children:[],attributes:X(X({},f.attributes),{},{"data-prefix":s,"data-icon":i,class:O,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(y," ").concat(v)})},A=w&&!~f.classes.indexOf("fa-fw")?{width:"".concat(y/v*16*.0625,"em")}:{};m&&(E.attributes[_r]=""),l&&(E.children.push({tag:"title",attributes:{id:E.attributes["aria-labelledby"]||"title-".concat(c||Xs())},children:[l]}),delete E.attributes.title);var C=X(X({},E),{},{prefix:s,iconName:i,main:n,mask:r,maskId:u,transform:o,symbol:a,styles:X(X({},A),f.styles)}),S=r.found&&n.found?dn("generateAbstractMask",C)||{children:[],attributes:{}}:dn("generateAbstractIcon",C)||{children:[],attributes:{}},I=S.children,$=S.attributes;return C.children=I,C.attributes=$,a?bP(C):vP(C)}function Zd(e){var t=e.content,n=e.width,r=e.height,s=e.transform,i=e.title,o=e.extra,a=e.watchable,l=a===void 0?!1:a,u=X(X(X({},o.attributes),i?{title:i}:{}),{},{class:o.classes.join(" ")});l&&(u[_r]="");var c=X({},o.styles);zc(s)&&(c.transform=JI({transform:s,startCentered:!0,width:n,height:r}),c["-webkit-transform"]=c.transform);var f=qo(c);f.length>0&&(u.style=f);var d=[];return d.push({tag:"span",attributes:u,children:[t]}),i&&d.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),d}function yP(e){var t=e.content,n=e.title,r=e.extra,s=X(X(X({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),i=qo(r.styles);i.length>0&&(s.style=i);var o=[];return o.push({tag:"span",attributes:s,children:[t]}),n&&o.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),o}var Da=Dt.styles;function kl(e){var t=e[0],n=e[1],r=e.slice(4),s=Hc(r,1),i=s[0],o=null;return Array.isArray(i)?o={tag:"g",attributes:{class:"".concat(Z.cssPrefix,"-").concat(ir.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Z.cssPrefix,"-").concat(ir.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(Z.cssPrefix,"-").concat(ir.PRIMARY),fill:"currentColor",d:i[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:n,icon:o}}var EP={found:!1,width:512,height:512};function wP(e,t){!Kg&&!Z.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function $l(e,t){var n=t;return t==="fa"&&Z.styleDefault!==null&&(t=Fn()),new Promise(function(r,s){if(dn("missingIconAbstract"),n==="fa"){var i=i_(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&Da[t]&&Da[t][e]){var o=Da[t][e];return r(kl(o))}wP(e,t),r(X(X({},EP),{},{icon:Z.showMissingIcons&&e?dn("missingIconAbstract")||{}:{}}))})}var em=function(){},Dl=Z.measurePerformance&&Ci&&Ci.mark&&Ci.measure?Ci:{mark:em,measure:em},ys='FA "6.5.2"',AP=function(t){return Dl.mark("".concat(ys," ").concat(t," begins")),function(){return a_(t)}},a_=function(t){Dl.mark("".concat(ys," ").concat(t," ends")),Dl.measure("".concat(ys," ").concat(t),"".concat(ys," ").concat(t," begins"),"".concat(ys," ").concat(t," ends"))},Qc={begin:AP,end:a_},Gi=function(){};function tm(e){var t=e.getAttribute?e.getAttribute(_r):null;return typeof t=="string"}function TP(e){var t=e.getAttribute?e.getAttribute(Bc):null,n=e.getAttribute?e.getAttribute(Wc):null;return t&&n}function OP(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Z.replacementClass)}function SP(){if(Z.autoReplaceSvg===!0)return qi.replace;var e=qi[Z.autoReplaceSvg];return e||qi.replace}function CP(e){return Me.createElementNS("http://www.w3.org/2000/svg",e)}function NP(e){return Me.createElement(e)}function l_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?CP:NP:n;if(typeof e=="string")return Me.createTextNode(e);var s=r(e.tag);Object.keys(e.attributes||[]).forEach(function(o){s.setAttribute(o,e.attributes[o])});var i=e.children||[];return i.forEach(function(o){s.appendChild(l_(o,{ceFn:r}))}),s}function LP(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var qi={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(s){n.parentNode.insertBefore(l_(s),n)}),n.getAttribute(_r)===null&&Z.keepOriginalSource){var r=Me.createComment(LP(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~Kc(n).indexOf(Z.replacementClass))return qi.replace(t);var s=new RegExp("".concat(Z.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var i=r[0].attributes.class.split(" ").reduce(function(a,l){return l===Z.replacementClass||l.match(s)?a.toSvg.push(l):a.toNode.push(l),a},{toNode:[],toSvg:[]});r[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",i.toNode.join(" "))}var o=r.map(function(a){return ui(a)}).join(` +`);n.setAttribute(_r,""),n.innerHTML=o}};function nm(e){e()}function c_(e,t){var n=typeof t=="function"?t:Gi;if(e.length===0)n();else{var r=nm;Z.mutateApproach===kI&&(r=Mn.requestAnimationFrame||nm),r(function(){var s=SP(),i=Qc.begin("mutate");e.map(s),i(),n()})}}var Zc=!1;function u_(){Zc=!0}function Ml(){Zc=!1}var ho=null;function rm(e){if(Kd&&Z.observeMutations){var t=e.treeCallback,n=t===void 0?Gi:t,r=e.nodeCallback,s=r===void 0?Gi:r,i=e.pseudoElementsCallback,o=i===void 0?Gi:i,a=e.observeMutationsRoot,l=a===void 0?Me:a;ho=new Kd(function(u){if(!Zc){var c=Fn();ds(u).forEach(function(f){if(f.type==="childList"&&f.addedNodes.length>0&&!tm(f.addedNodes[0])&&(Z.searchPseudoElements&&o(f.target),n(f.target)),f.type==="attributes"&&f.target.parentNode&&Z.searchPseudoElements&&o(f.target.parentNode),f.type==="attributes"&&tm(f.target)&&~HI.indexOf(f.attributeName))if(f.attributeName==="class"&&TP(f.target)){var d=Jo(Kc(f.target)),m=d.prefix,h=d.iconName;f.target.setAttribute(Bc,m||c),h&&f.target.setAttribute(Wc,h)}else OP(f.target)&&s(f.target)})}}),pn&&ho.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function IP(){ho&&ho.disconnect()}function PP(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,s){var i=s.split(":"),o=i[0],a=i.slice(1);return o&&a.length>0&&(r[o]=a.join(":").trim()),r},{})),n}function RP(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",s=Jo(Kc(e));return s.prefix||(s.prefix=Fn()),t&&n&&(s.prefix=t,s.iconName=n),s.iconName&&s.prefix||(s.prefix&&r.length>0&&(s.iconName=cP(s.prefix,e.innerText)||qc(s.prefix,Il(e.innerText))),!s.iconName&&Z.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=e.firstChild.data)),s}function xP(e){var t=ds(e.attributes).reduce(function(s,i){return s.name!=="class"&&s.name!=="style"&&(s[i.name]=i.value),s},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return Z.autoA11y&&(n?t["aria-labelledby"]="".concat(Z.replacementClass,"-title-").concat(r||Xs()):(t["aria-hidden"]="true",t.focusable="false")),t}function kP(){return{iconName:null,title:null,titleId:null,prefix:null,transform:zt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function sm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=RP(e),r=n.iconName,s=n.prefix,i=n.rest,o=xP(e),a=Rl("parseNodeAttributes",{},e),l=t.styleParser?PP(e):[];return X({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:s,transform:zt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:l,attributes:o}},a)}var $P=Dt.styles;function f_(e){var t=Z.autoReplaceSvg==="nest"?sm(e,{styleParser:!1}):sm(e);return~t.extra.classes.indexOf(zg)?dn("generateLayersText",e,t):dn("generateSvgReplacementMutation",e,t)}var jn=new Set;Yc.map(function(e){jn.add("fa-".concat(e))});Object.keys(Ks[$e]).map(jn.add.bind(jn));Object.keys(Ks[Ve]).map(jn.add.bind(jn));jn=li(jn);function im(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!pn)return Promise.resolve();var n=Me.documentElement.classList,r=function(f){return n.add("".concat(zd,"-").concat(f))},s=function(f){return n.remove("".concat(zd,"-").concat(f))},i=Z.autoFetchSvg?jn:Yc.map(function(c){return"fa-".concat(c)}).concat(Object.keys($P));i.includes("fa")||i.push("fa");var o=[".".concat(zg,":not([").concat(_r,"])")].concat(i.map(function(c){return".".concat(c,":not([").concat(_r,"])")})).join(", ");if(o.length===0)return Promise.resolve();var a=[];try{a=ds(e.querySelectorAll(o))}catch{}if(a.length>0)r("pending"),s("complete");else return Promise.resolve();var l=Qc.begin("onTree"),u=a.reduce(function(c,f){try{var d=f_(f);d&&c.push(d)}catch(m){Kg||m.name==="MissingIcon"&&console.error(m)}return c},[]);return new Promise(function(c,f){Promise.all(u).then(function(d){c_(d,function(){r("active"),r("complete"),s("pending"),typeof t=="function"&&t(),l(),c()})}).catch(function(d){l(),f(d)})})}function DP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;f_(e).then(function(n){n&&c_([n],t)})}function MP(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:xl(t||{}),s=n.mask;return s&&(s=(s||{}).icon?s:xl(s||{})),e(r,X(X({},n),{},{mask:s}))}}var FP=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,s=r===void 0?zt:r,i=n.symbol,o=i===void 0?!1:i,a=n.mask,l=a===void 0?null:a,u=n.maskId,c=u===void 0?null:u,f=n.title,d=f===void 0?null:f,m=n.titleId,h=m===void 0?null:m,y=n.classes,v=y===void 0?[]:y,w=n.attributes,O=w===void 0?{}:w,E=n.styles,A=E===void 0?{}:E;if(t){var C=t.prefix,S=t.iconName,I=t.icon;return Qo(X({type:"icon"},t),function(){return vr("beforeDOMElementCreation",{iconDefinition:t,params:n}),Z.autoA11y&&(d?O["aria-labelledby"]="".concat(Z.replacementClass,"-title-").concat(h||Xs()):(O["aria-hidden"]="true",O.focusable="false")),Jc({icons:{main:kl(I),mask:l?kl(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:C,iconName:S,transform:X(X({},zt),s),symbol:o,title:d,maskId:c,titleId:h,extra:{attributes:O,styles:A,classes:v}})})}},jP={mixout:function(){return{icon:MP(FP)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=im,n.nodeCallback=DP,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,s=r===void 0?Me:r,i=n.callback,o=i===void 0?function(){}:i;return im(s,o)},t.generateSvgReplacementMutation=function(n,r){var s=r.iconName,i=r.title,o=r.titleId,a=r.prefix,l=r.transform,u=r.symbol,c=r.mask,f=r.maskId,d=r.extra;return new Promise(function(m,h){Promise.all([$l(s,a),c.iconName?$l(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(y){var v=Hc(y,2),w=v[0],O=v[1];m([n,Jc({icons:{main:w,mask:O},prefix:a,iconName:s,transform:l,symbol:u,maskId:f,title:i,titleId:o,extra:d,watchable:!0})])}).catch(h)})},t.generateAbstractIcon=function(n){var r=n.children,s=n.attributes,i=n.main,o=n.transform,a=n.styles,l=qo(a);l.length>0&&(s.style=l);var u;return zc(o)&&(u=dn("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),r.push(u||i.icon),{children:r,attributes:s}}}},UP={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=r.classes,i=s===void 0?[]:s;return Qo({type:"layer"},function(){vr("beforeDOMElementCreation",{assembler:n,params:r});var o=[];return n(function(a){Array.isArray(a)?a.map(function(l){o=o.concat(l.abstract)}):o=o.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(Z.cssPrefix,"-layers")].concat(li(i)).join(" ")},children:o}]})}}}},HP={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=r.title,i=s===void 0?null:s,o=r.classes,a=o===void 0?[]:o,l=r.attributes,u=l===void 0?{}:l,c=r.styles,f=c===void 0?{}:c;return Qo({type:"counter",content:n},function(){return vr("beforeDOMElementCreation",{content:n,params:r}),yP({content:n.toString(),title:i,extra:{attributes:u,styles:f,classes:["".concat(Z.cssPrefix,"-layers-counter")].concat(li(a))}})})}}}},VP={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=r.transform,i=s===void 0?zt:s,o=r.title,a=o===void 0?null:o,l=r.classes,u=l===void 0?[]:l,c=r.attributes,f=c===void 0?{}:c,d=r.styles,m=d===void 0?{}:d;return Qo({type:"text",content:n},function(){return vr("beforeDOMElementCreation",{content:n,params:r}),Zd({content:n,transform:X(X({},zt),i),title:a,extra:{attributes:f,styles:m,classes:["".concat(Z.cssPrefix,"-layers-text")].concat(li(u))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var s=r.title,i=r.transform,o=r.extra,a=null,l=null;if(Bg){var u=parseInt(getComputedStyle(n).fontSize,10),c=n.getBoundingClientRect();a=c.width/u,l=c.height/u}return Z.autoA11y&&!s&&(o.attributes["aria-hidden"]="true"),Promise.resolve([n,Zd({content:n.innerHTML,width:a,height:l,transform:i,title:s,extra:o,watchable:!0})])}}},BP=new RegExp('"',"ug"),om=[1105920,1112319];function WP(e){var t=e.replace(BP,""),n=rP(t,0),r=n>=om[0]&&n<=om[1],s=t.length===2?t[0]===t[1]:!1;return{value:Il(s?t[0]:t),isSecondary:r||s}}function am(e,t){var n="".concat(xI).concat(t.replace(":","-"));return new Promise(function(r,s){if(e.getAttribute(n)!==null)return r();var i=ds(e.children),o=i.filter(function(I){return I.getAttribute(Ll)===t})[0],a=Mn.getComputedStyle(e,t),l=a.getPropertyValue("font-family").match(FI),u=a.getPropertyValue("font-weight"),c=a.getPropertyValue("content");if(o&&!l)return e.removeChild(o),r();if(l&&c!=="none"&&c!==""){var f=a.getPropertyValue("content"),d=~["Sharp"].indexOf(l[2])?Ve:$e,m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?zs[d][l[2].toLowerCase()]:jI[d][u],h=WP(f),y=h.value,v=h.isSecondary,w=l[0].startsWith("FontAwesome"),O=qc(m,y),E=O;if(w){var A=uP(y);A.iconName&&A.prefix&&(O=A.iconName,m=A.prefix)}if(O&&!v&&(!o||o.getAttribute(Bc)!==m||o.getAttribute(Wc)!==E)){e.setAttribute(n,E),o&&e.removeChild(o);var C=kP(),S=C.extra;S.attributes[Ll]=t,$l(O,m).then(function(I){var $=Jc(X(X({},C),{},{icons:{main:I,mask:Xc()},prefix:m,iconName:E,extra:S,watchable:!0})),P=Me.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(P,e.firstChild):e.appendChild(P),P.outerHTML=$.map(function(q){return ui(q)}).join(` +`),e.removeAttribute(n),r()}).catch(s)}else r()}else r()})}function YP(e){return Promise.all([am(e,"::before"),am(e,"::after")])}function KP(e){return e.parentNode!==document.head&&!~$I.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Ll)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function lm(e){if(pn)return new Promise(function(t,n){var r=ds(e.querySelectorAll("*")).filter(KP).map(YP),s=Qc.begin("searchPseudoElements");u_(),Promise.all(r).then(function(){s(),Ml(),t()}).catch(function(){s(),Ml(),n()})})}var zP={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=lm,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,s=r===void 0?Me:r;Z.searchPseudoElements&&lm(s)}}},cm=!1,GP={mixout:function(){return{dom:{unwatch:function(){u_(),cm=!0}}}},hooks:function(){return{bootstrap:function(){rm(Rl("mutationObserverCallbacks",{}))},noAuto:function(){IP()},watch:function(n){var r=n.observeMutationsRoot;cm?Ml():rm(Rl("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},um=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,s){var i=s.toLowerCase().split("-"),o=i[0],a=i.slice(1).join("-");if(o&&a==="h")return r.flipX=!0,r;if(o&&a==="v")return r.flipY=!0,r;if(a=parseFloat(a),isNaN(a))return r;switch(o){case"grow":r.size=r.size+a;break;case"shrink":r.size=r.size-a;break;case"left":r.x=r.x-a;break;case"right":r.x=r.x+a;break;case"up":r.y=r.y-a;break;case"down":r.y=r.y+a;break;case"rotate":r.rotate=r.rotate+a;break}return r},n)},qP={mixout:function(){return{parse:{transform:function(n){return um(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var s=r.getAttribute("data-fa-transform");return s&&(n.transform=um(s)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,s=n.transform,i=n.containerWidth,o=n.iconWidth,a={transform:"translate(".concat(i/2," 256)")},l="translate(".concat(s.x*32,", ").concat(s.y*32,") "),u="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),c="rotate(".concat(s.rotate," 0 0)"),f={transform:"".concat(l," ").concat(u," ").concat(c)},d={transform:"translate(".concat(o/2*-1," -256)")},m={outer:a,inner:f,path:d};return{tag:"g",attributes:X({},m.outer),children:[{tag:"g",attributes:X({},m.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:X(X({},r.icon.attributes),m.path)}]}]}}}},Ma={x:0,y:0,width:"100%",height:"100%"};function fm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function XP(e){return e.tag==="g"?e.children:[e]}var JP={hooks:function(){return{parseNodeAttributes:function(n,r){var s=r.getAttribute("data-fa-mask"),i=s?Jo(s.split(" ").map(function(o){return o.trim()})):Xc();return i.prefix||(i.prefix=Fn()),n.mask=i,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,s=n.attributes,i=n.main,o=n.mask,a=n.maskId,l=n.transform,u=i.width,c=i.icon,f=o.width,d=o.icon,m=XI({transform:l,containerWidth:f,iconWidth:u}),h={tag:"rect",attributes:X(X({},Ma),{},{fill:"white"})},y=c.children?{children:c.children.map(fm)}:{},v={tag:"g",attributes:X({},m.inner),children:[fm(X({tag:c.tag,attributes:X(X({},c.attributes),m.path)},y))]},w={tag:"g",attributes:X({},m.outer),children:[v]},O="mask-".concat(a||Xs()),E="clip-".concat(a||Xs()),A={tag:"mask",attributes:X(X({},Ma),{},{id:O,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,w]},C={tag:"defs",children:[{tag:"clipPath",attributes:{id:E},children:XP(d)},A]};return r.push(C,{tag:"rect",attributes:X({fill:"currentColor","clip-path":"url(#".concat(E,")"),mask:"url(#".concat(O,")")},Ma)}),{children:r,attributes:s}}}},QP={provides:function(t){var n=!1;Mn.matchMedia&&(n=Mn.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],s={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:X(X({},s),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=X(X({},i),{},{attributeName:"opacity"}),a={tag:"circle",attributes:X(X({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||a.children.push({tag:"animate",attributes:X(X({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:X(X({},o),{},{values:"1;0;1;1;0;1;"})}),r.push(a),r.push({tag:"path",attributes:X(X({},s),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:X(X({},o),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:X(X({},s),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:X(X({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},ZP={hooks:function(){return{parseNodeAttributes:function(n,r){var s=r.getAttribute("data-fa-symbol"),i=s===null?!1:s===""?!0:s;return n.symbol=i,n}}}},eR=[ZI,jP,UP,HP,VP,zP,GP,qP,JP,QP,ZP];mP(eR,{mixoutsTo:Ot});Ot.noAuto;Ot.config;var tR=Ot.library;Ot.dom;var Fl=Ot.parse;Ot.findIconDefinition;Ot.toHtml;var nR=Ot.icon;Ot.layer;Ot.text;Ot.counter;function dm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function sn(e){for(var t=1;t=0)continue;n[r]=e[r]}return n}function oR(e,t){if(e==null)return{};var n=iR(e,t),r,s;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var aR=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d_={exports:{}};(function(e){(function(t){var n=function(w,O,E){if(!u(O)||f(O)||d(O)||m(O)||l(O))return O;var A,C=0,S=0;if(c(O))for(A=[],S=O.length;C1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var r=(e.children||[]).map(function(l){return m_(l)}),s=Object.keys(e.attributes||{}).reduce(function(l,u){var c=e.attributes[u];switch(u){case"class":l.class=fR(c);break;case"style":l.style=uR(c);break;default:l.attrs[u]=c}return l},{attrs:{},class:{},style:{}});n.class;var i=n.style,o=i===void 0?{}:i,a=oR(n,cR);return Zs(e.tag,sn(sn(sn({},t),{},{class:s.class,style:sn(sn({},s.style),o)},s.attrs),a),r)}var h_=!1;try{h_=!0}catch{}function dR(){if(!h_&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Fa(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?mt({},e,t):{}}function mR(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},mt(mt(mt(mt(mt(mt(mt(mt(mt(mt(t,"fa-".concat(e.size),e.size!==null),"fa-rotate-".concat(e.rotation),e.rotation!==null),"fa-pull-".concat(e.pull),e.pull!==null),"fa-swap-opacity",e.swapOpacity),"fa-bounce",e.bounce),"fa-shake",e.shake),"fa-beat",e.beat),"fa-fade",e.fade),"fa-beat-fade",e.beatFade),"fa-flash",e.flash),mt(mt(t,"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse));return Object.keys(n).map(function(r){return n[r]?r:null}).filter(function(r){return r})}function mm(e){if(e&&po(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Fl.icon)return Fl.icon(e);if(e===null)return null;if(po(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var hR=Xe({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(t,n){var r=n.attrs,s=ne(function(){return mm(t.icon)}),i=ne(function(){return Fa("classes",mR(t))}),o=ne(function(){return Fa("transform",typeof t.transform=="string"?Fl.transform(t.transform):t.transform)}),a=ne(function(){return Fa("mask",mm(t.mask))}),l=ne(function(){return nR(s.value,sn(sn(sn(sn({},i.value),o.value),a.value),{},{symbol:t.symbol,title:t.title,titleId:t.titleId,maskId:t.maskId}))});it(l,function(c){if(!c)return dR("Could not find one or more icon(s)",s.value,a.value)},{immediate:!0});var u=ne(function(){return l.value?m_(l.value.abstract[0],{},r):null});return function(){return u.value}}}),pR={prefix:"fas",iconName:"pen-to-square",icon:[512,512,["edit"],"f044","M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"]},gR=pR,_R={prefix:"fas",iconName:"sun",icon:[512,512,[9728],"f185","M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"]},vR={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80V432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]},bR={prefix:"fas",iconName:"circle-half-stroke",icon:[512,512,[9680,"adjust"],"f042","M448 256c0-106-86-192-192-192V448c106 0 192-86 192-192zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},yR={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm0 416a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM48 304a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm464-48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM142.9 437A48 48 0 1 0 75 369.1 48 48 0 1 0 142.9 437zm0-294.2A48 48 0 1 0 75 75a48 48 0 1 0 67.9 67.9zM369.1 437A48 48 0 1 0 437 369.1 48 48 0 1 0 369.1 437z"]},ER={prefix:"fas",iconName:"moon",icon:[384,512,[127769,9214],"f186","M223.5 32C100 32 0 132.3 0 256S100 480 223.5 480c60.6 0 115.5-24.2 155.8-63.4c5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6c-96.9 0-175.5-78.8-175.5-176c0-65.8 36-123.1 89.3-153.3c6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"]};const wR={welcome:"Welcome to Jeobeardy!"},AR={whatis:"What is Jeobeardy?"},TR={loginHeader:"Login to your Jeobeardy Account",loginButton:"Login",signupLinkButton:"Sign up",username:"Username",password:"Password",error:{process:"An error occured during the login process"}},OR={signupHeader:"Create a new Jeobeardy Account",signupButton:"Sign Up",loginLinkButton:"Back to Login","password-repeat":"Repeat Password","password-not-conform":"The password does not meet the required criteria","password-criteria-length":"The password needs to be at least 10 characters long",error:{process:"An error occured during the signup process"}},SR={"validate-fields":"Make sure that all fields are valid"},CR={inputRequired:"This field is required",minLength:"Minimum of {min} characters required",sameAs:"Must match {otherName}"},NR={yourProfile:"Your Profile",yourBoards:"Your Boards",gotoSettings:"Go to Settings"},LR={heading:"Settings"},IR={buttons:{close:"Close"},error:{generic:"Error"}},PR={button:"Join",text:"Join a Game",alreadyHostedGome:"Someone else is already hosting a game?",textCode:"Enter the code you get from your host and join the lobby."},RR={button:"Host",text:"Host a Game",alreadyHostedGome:"Wanna create a board and host a game yourself?",textCode:"Wanna create a board and host a game yourself?"},xR={dark:{name:"Dark"},light:{name:"Light"},highContrast:{name:"High Contrast"}},kR={en:{name:"English",shortName:"en"},de:{name:"German",shortName:"de"}},$R={home:"Home",about:"About"},DR={home:wR,about:AR,login:TR,signup:OR,forms:SR,validations:CR,profile:NR,settings:LR,common:IR,join:PR,host:RR,theme:xR,i18n:kR,nav:$R},MR={welcome:"Willkommen bei Jeobeardy!"},FR={whatis:"Was ist Jeobeardy?"},jR={loginHeader:"Logge dich mit deinem Jeobeardy Konto ein",username:"Benutzername",password:"Passwort"},UR={dark:{name:"Dunkel"},light:{name:"Hell"},"high-contrast":{name:"Hoher Kontrast"}},HR={en:{name:"Englisch",shortName:"en"},de:{name:"Deutsch",shortName:"de"}},VR={home:"Home",about:"Über"},BR={home:MR,about:FR,login:jR,theme:UR,i18n:HR,nav:VR},WR=LE({legacy:!1,locale:"en",fallbackLocale:"en",messages:{en:DR,de:BR}});tR.add(_R,ER,bR,gR,vR,yR);const fi=Pb(aN);fi.use($b());fi.component("FontAwesomeIcon",hR);fi.use(wI);fi.use(WR);fi.mount("#app"); diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html index 47e3363..75c62e3 100644 --- a/src/main/resources/static/index.html +++ b/src/main/resources/static/index.html @@ -5,7 +5,7 @@ Vite App - + diff --git a/src/main/webapp/src/App.vue b/src/main/webapp/src/App.vue index d4b97e5..1ada5da 100644 --- a/src/main/webapp/src/App.vue +++ b/src/main/webapp/src/App.vue @@ -1,37 +1,43 @@ \ No newline at end of file diff --git a/src/main/webapp/src/assets/css/main.css b/src/main/webapp/src/assets/css/main.css index e6f0622..f004288 100644 --- a/src/main/webapp/src/assets/css/main.css +++ b/src/main/webapp/src/assets/css/main.css @@ -1,3 +1,7 @@ .preserve-breaks { white-space: preserve-breaks; +} + +.pointer { + cursor: pointer; } \ No newline at end of file diff --git a/src/main/webapp/src/assets/scss/customized_bootstrap.scss b/src/main/webapp/src/assets/scss/customized_bootstrap.scss index df2a2ea..4c2d340 100644 --- a/src/main/webapp/src/assets/scss/customized_bootstrap.scss +++ b/src/main/webapp/src/assets/scss/customized_bootstrap.scss @@ -27,16 +27,10 @@ $primary-accent-dark: $cyclamen; $secondary-accent: $celestial-blue; $secondary-accent-dark: $celestial-blue; -// $secondary-accent: $jungle-green; -// $secondary-accent-dark: $jungle-green; /* Bootstrap Colors overrides */ $primary: $primary-accent; $secondary: $secondary-accent; -// $success: $green; -// $info: $cyan; -// $warning: $yellow; -// $danger: $red; $light: $anti-flash-white; $light-accented: shade-color($anti-flash-white, 10%); $dark: $space-cadet; @@ -49,18 +43,15 @@ $body-bg-dark: $space-cadet; $body-secondary-bg-dark: $dark-accented; $body-bg: $anti-flash-white; $body-secondary-bg: $light-accented; +$dropdown-link-hover-bg: $dark-accented; -// $font-size-base: 1.5rem; +$modal-fade-transform: scale(.75); // 3. Include remainder of required Bootstrap stylesheets (including any separate color mode stylesheets) @import "bootstrap/scss/variables"; @import "bootstrap/scss/variables-dark"; - -// $navbar-dark-active-color: $primary; -// $navbar-light-active-color: $primary; - /* Bootstrap Color Map adjustments */ $custom-colors: ( "gray": $gray-500, @@ -73,18 +64,9 @@ $theme-colors: map-merge($theme-colors, $custom-colors); // 5. Include remainder of required parts @import "bootstrap/scss/bootstrap"; -// @import "bootstrap/scss/maps"; -// @import "bootstrap/scss/mixins"; -// @import "bootstrap/scss/root"; // 6. Optionally include any other parts as needed @import "bootstrap/scss/utilities"; -// @import "bootstrap/scss/reboot"; -// @import "bootstrap/scss/type"; -// @import "bootstrap/scss/images"; -// @import "bootstrap/scss/containers"; -// @import "bootstrap/scss/grid"; -// @import "bootstrap/scss/helpers"; $utilities: map-merge( $utilities, @@ -98,7 +80,16 @@ $utilities: map-merge( ), ), ), - ) + "height": map-merge( + map-get($utilities, "height"), + ( + values: map-merge( + map-get(map-get($utilities, "height"), "values"), + (fit-content: fit-content), + ), + ), + ), + ), ); @@ -108,6 +99,4 @@ $utilities: map-merge( // 8. Add additional custom code here @import "./exotic_theme.scss"; -@import "bootstrap/scss/bootstrap"; - @import "../css/main.css"; \ No newline at end of file diff --git a/src/main/webapp/src/components/blocks/BoardSelector.vue b/src/main/webapp/src/components/blocks/BoardSelector.vue index 5cb0df9..ad136d9 100644 --- a/src/main/webapp/src/components/blocks/BoardSelector.vue +++ b/src/main/webapp/src/components/blocks/BoardSelector.vue @@ -30,11 +30,11 @@ const boards = ref([{
diff --git a/src/main/webapp/src/components/blocks/LocaleChanger.vue b/src/main/webapp/src/components/blocks/LocaleChanger.vue index 262eb57..76f00a9 100644 --- a/src/main/webapp/src/components/blocks/LocaleChanger.vue +++ b/src/main/webapp/src/components/blocks/LocaleChanger.vue @@ -1,10 +1,12 @@ \ No newline at end of file + + + \ No newline at end of file diff --git a/src/main/webapp/src/components/blocks/ThemeChanger.vue b/src/main/webapp/src/components/blocks/ThemeChanger.vue index c8e7a3c..6833d02 100644 --- a/src/main/webapp/src/components/blocks/ThemeChanger.vue +++ b/src/main/webapp/src/components/blocks/ThemeChanger.vue @@ -1,22 +1,27 @@