diff --git a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/TrainerRoadApiClient.kt b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/TrainerRoadApiClient.kt index dda86a06..989518a9 100644 --- a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/TrainerRoadApiClient.kt +++ b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/TrainerRoadApiClient.kt @@ -9,6 +9,8 @@ import org.springframework.web.bind.annotation.GetMapping import org.springframework.web.bind.annotation.PathVariable import org.springframework.web.bind.annotation.PostMapping import org.springframework.web.bind.annotation.RequestBody +import org.springframework.web.bind.annotation.RequestHeader +import org.springframework.web.bind.annotation.RequestParam @FeignClient( value = "TrainerRoadApiClient", @@ -18,11 +20,23 @@ import org.springframework.web.bind.annotation.RequestBody configuration = [TrainerRoadApiClientConfig::class] ) interface TrainerRoadApiClient { - @GetMapping("/app/api/calendar/activities/{username}?startDate={startDate}&endDate={endDate}") + @GetMapping( + value = ["/app/api/react-calendar/{memberId}/timeline"], + headers = ["trainerroad-jsonformat=camel-case", "tr-cache-control=use-cache"] + ) + fun getTimeline( + @PathVariable("memberId") memberId: Long, + @RequestParam("start") startDate: String, + @RequestParam("end") endDate: String, + ): TrainerRoadTimelineDTO + + @GetMapping( + value = ["/app/api/react-calendar/{memberId}/activities"], + headers = ["trainerroad-jsonformat=camel-case", "tr-cache-control=use-cache"] + ) fun getActivities( - @PathVariable("username") username: String, - @PathVariable("startDate") startDate: String, - @PathVariable("endDate") endDate: String, + @PathVariable("memberId") memberId: Long, + @RequestHeader("ids") ids: String, ): List @GetMapping("/app/api/workouts") diff --git a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/TrainerRoadApiClientService.kt b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/TrainerRoadApiClientService.kt index 823e2e0a..1bf40ac4 100644 --- a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/TrainerRoadApiClientService.kt +++ b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/TrainerRoadApiClientService.kt @@ -3,10 +3,12 @@ package org.freekode.tp2intervals.infrastructure.platform.trainerroad import org.freekode.tp2intervals.domain.activity.Activity import org.freekode.tp2intervals.domain.workout.Workout import org.freekode.tp2intervals.domain.workout.WorkoutDetails +import org.freekode.tp2intervals.domain.workout.structure.SingleStep import org.freekode.tp2intervals.infrastructure.platform.trainerroad.activity.TrainerRoadActivityDTO import org.freekode.tp2intervals.infrastructure.platform.trainerroad.activity.TrainerRoadActivityMapper import org.freekode.tp2intervals.infrastructure.platform.trainerroad.configuration.TrainerRoadConfigurationRepository import org.freekode.tp2intervals.infrastructure.platform.trainerroad.workout.TrainerRoadWorkoutMapper +import org.slf4j.LoggerFactory import org.springframework.cache.annotation.CacheConfig import org.springframework.cache.annotation.Cacheable import org.springframework.stereotype.Repository @@ -18,18 +20,22 @@ class TrainerRoadApiClientService( private val trainerRoadApiClient: TrainerRoadApiClient, private val trainerRoadConfigurationRepository: TrainerRoadConfigurationRepository, ) { + private val log = LoggerFactory.getLogger(this.javaClass) + fun findWorkoutsFromLibraryByName(name: String): List { val removeHtmlTags = trainerRoadConfigurationRepository.getConfiguration().removeHtmlTags return trainerRoadApiClient.findWorkouts(TRFindWorkoutsRequestDTO(name, 0, 500)).workouts .map { TrainerRoadWorkoutMapper().toWorkoutDetails(it, removeHtmlTags) } } - fun getWorkoutsFromCalendar(startDate: LocalDate, endDate: LocalDate, username: String): List { - return trainerRoadApiClient.getActivities(username, startDate.toString(), endDate.toString()) - .filter { it.activity != null } - .map { activity -> - getWorkout(activity.activity!!.id) - .withDate(activity.date.toLocalDate()) + fun getWorkoutsFromCalendar(startDate: LocalDate, endDate: LocalDate, memberId: Long): List { + return trainerRoadApiClient.getTimeline(memberId, startDate.toString(), endDate.toString()) + .plannedActivities + .filter { it.date.toLocalDate() in startDate..endDate } + .filter { it.workoutId != null } + .map { plannedActivity -> + getWorkout(plannedActivity.workoutId!!.toString()) + .withDate(plannedActivity.date.toLocalDate()) } } @@ -39,16 +45,45 @@ class TrainerRoadApiClientService( val trainerRoadWorkoutMapper = TrainerRoadWorkoutMapper() return trainerRoadApiClient.getWorkout(trWorkoutId) .let { trainerRoadWorkoutMapper.toWorkout(it, removeHtmlTags) } + .also { workout -> + log.debug( + "Mapped TrainerRoad workout {}, target preview: {}", + trWorkoutId, + targetPreview(workout), + ) + } } - fun getActivities(username: String, startDate: LocalDate, endDate: LocalDate): List { - val activities = trainerRoadApiClient.getActivities(username, startDate.toString(), endDate.toString()) + fun getActivities(memberId: Long, startDate: LocalDate, endDate: LocalDate): List { + val activityIds = trainerRoadApiClient.getTimeline(memberId, startDate.toString(), endDate.toString()) + .activities + .filter { + val startedDate = it.started?.toLocalDate() + startedDate != null && startedDate in startDate..endDate + } + .map { it.id } + + if (activityIds.isEmpty()) { + return emptyList() + } + + val activities = trainerRoadApiClient.getActivities(memberId, activityIds.joinToString(",")) + .filter { it.date.toLocalDate() in startDate..endDate } val activityMapper = TrainerRoadActivityMapper() return activities.map { mapToActivity(activityMapper, it) } } private fun mapToActivity(activityMapper: TrainerRoadActivityMapper, it: TrainerRoadActivityDTO): Activity { - val resource = trainerRoadApiClient.exportFit(it.completedRide!!.WorkoutRecordId.toString()) + val activityId = it.completedRide?.WorkoutRecordId ?: it.activityId + val resource = trainerRoadApiClient.exportFit(activityId.toString()) return activityMapper.mapToActivity(it, resource) } + + private fun targetPreview(workout: Workout): String { + return workout.structure?.steps + ?.filterIsInstance() + ?.take(8) + ?.joinToString { "${it.name}:${it.target.start}-${it.target.end}" } + ?: "no structure" + } } diff --git a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/TrainerRoadMemberDTO.kt b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/TrainerRoadMemberDTO.kt index 96c52faa..322ff266 100644 --- a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/TrainerRoadMemberDTO.kt +++ b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/TrainerRoadMemberDTO.kt @@ -1,6 +1,10 @@ package org.freekode.tp2intervals.infrastructure.platform.trainerroad +import com.fasterxml.jackson.annotation.JsonAlias + class TrainerRoadMemberDTO( + @JsonAlias("memberId") val MemberId: Long, + @JsonAlias("username") val Username: String?, ) diff --git a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/TrainerRoadTimelineDTO.kt b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/TrainerRoadTimelineDTO.kt new file mode 100644 index 00000000..25ce111e --- /dev/null +++ b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/TrainerRoadTimelineDTO.kt @@ -0,0 +1,28 @@ +package org.freekode.tp2intervals.infrastructure.platform.trainerroad + +import java.time.LocalDate +import java.time.LocalDateTime + +class TrainerRoadTimelineDTO( + val plannedActivities: List = emptyList(), + val activities: List = emptyList(), +) { + class PlannedActivityDTO( + val id: String, + val date: DateDTO, + val workoutId: Long?, + ) + + class ActivityStateDTO( + val id: Long, + val started: LocalDateTime?, + ) + + class DateDTO( + val year: Int, + val month: Int, + val day: Int, + ) { + fun toLocalDate(): LocalDate = LocalDate.of(year, month, day) + } +} diff --git a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/activity/TrainerRoadActivityDTO.kt b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/activity/TrainerRoadActivityDTO.kt index dce3c6f7..8da477d4 100644 --- a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/activity/TrainerRoadActivityDTO.kt +++ b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/activity/TrainerRoadActivityDTO.kt @@ -1,30 +1,52 @@ package org.freekode.tp2intervals.infrastructure.platform.trainerroad.activity +import com.fasterxml.jackson.annotation.JsonAlias import com.fasterxml.jackson.annotation.JsonProperty import java.time.LocalDateTime class TrainerRoadActivityDTO( + @JsonAlias("id") val Id: String, @JsonProperty("Date") + @JsonAlias("date", "started") val date: LocalDateTime, @JsonProperty("CompletedRide") + @JsonAlias("completedRide") val completedRide: CompletedRideDTO?, @JsonProperty("Activity") - val activity: ActivityDTO? + @JsonAlias("activity") + val activity: ActivityDTO?, + @JsonAlias("activityId") + val activityId: Long?, + @JsonAlias("name") + val name: String?, + @JsonAlias("isOutside") + val isOutside: Boolean?, + @JsonAlias("activityType") + val activityType: Int?, ) { class ActivityDTO( @JsonProperty("Id") + @JsonAlias("id") val id: String, ) class CompletedRideDTO( + @JsonAlias("name") val Name: String, + @JsonAlias("date") val Date: LocalDateTime, + @JsonAlias("isOutside") val IsOutside: Boolean, + @JsonAlias("tss") val Tss: Int, + @JsonAlias("estimatedDuration") val EstimatedDuration: Long, + @JsonAlias("duration") val Duration: Long, + @JsonAlias("distance") val Distance: Double, + @JsonAlias("workoutRecordId") val WorkoutRecordId: Long ) } diff --git a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/activity/TrainerRoadActivityMapper.kt b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/activity/TrainerRoadActivityMapper.kt index dda1a27a..3c07fc46 100644 --- a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/activity/TrainerRoadActivityMapper.kt +++ b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/activity/TrainerRoadActivityMapper.kt @@ -7,12 +7,17 @@ import org.springframework.core.io.Resource class TrainerRoadActivityMapper { fun mapToActivity(dto: TrainerRoadActivityDTO, resource: Resource): Activity { - val type = if (dto.completedRide!!.IsOutside) TrainingType.BIKE else TrainingType.VIRTUAL_BIKE + val completedRide = dto.completedRide + val type = if (completedRide?.IsOutside ?: (dto.isOutside == true)) { + TrainingType.BIKE + } else { + TrainingType.VIRTUAL_BIKE + } return Activity( - dto.completedRide.Date, + completedRide?.Date ?: dto.date, type, - dto.completedRide.Name, + completedRide?.Name ?: dto.name ?: "TrainerRoad activity", Base64.encodeToString(resource) ) } diff --git a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/activity/TrainerRoadActivityRepository.kt b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/activity/TrainerRoadActivityRepository.kt index 26045208..80b11143 100644 --- a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/activity/TrainerRoadActivityRepository.kt +++ b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/activity/TrainerRoadActivityRepository.kt @@ -21,7 +21,7 @@ class TrainerRoadActivityRepository( } override fun getActivities(startDate: LocalDate, endDate: LocalDate, types: List): List { - val username = trUsernameRepository.getUsername() - return trainerRoadApiClientService.getActivities(username, startDate, endDate) + val memberId = trUsernameRepository.getMemberId() + return trainerRoadApiClientService.getActivities(memberId, startDate, endDate) } } diff --git a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/member/TRUsernameRepository.kt b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/member/TRUsernameRepository.kt index 13b24146..8a2c205c 100644 --- a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/member/TRUsernameRepository.kt +++ b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/member/TRUsernameRepository.kt @@ -13,4 +13,9 @@ class TRUsernameRepository( fun getUsername(): String { return trainerRoadMemberApiClient.getMember().Username!! } + + @Cacheable(cacheNames = ["trMemberIdCache"], key = "'singleton'") + fun getMemberId(): Long { + return trainerRoadMemberApiClient.getMember().MemberId + } } diff --git a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/workout/TRWorkoutResponseDTO.kt b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/workout/TRWorkoutResponseDTO.kt index d44233a8..3ab057e8 100644 --- a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/workout/TRWorkoutResponseDTO.kt +++ b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/workout/TRWorkoutResponseDTO.kt @@ -1,30 +1,48 @@ package org.freekode.tp2intervals.infrastructure.platform.trainerroad.workout +import com.fasterxml.jackson.annotation.JsonAlias import com.fasterxml.jackson.annotation.JsonProperty +import kotlin.math.roundToInt class TRWorkoutResponseDTO( @JsonProperty("Workout") + @JsonAlias("workout") val workout: TRWorkout, ) { class TRWorkout( @JsonProperty("Details") + @JsonAlias("details") val details: TrainerRoadWorkoutDetailsDTO, @JsonProperty("IntervalData") - val intervalData: List, + @JsonAlias("intervalData") + val intervalData: List = emptyList(), ) class IntervalsDataDTO( @JsonProperty("Start") + @JsonAlias("start") val start: Double, @JsonProperty("End") + @JsonAlias("end") val end: Double, @JsonProperty("Name") + @JsonAlias("name") val name: String, @JsonProperty("IsFake") + @JsonAlias("isFake") val isFake: Boolean, @JsonProperty("TestInterval") + @JsonAlias("testInterval") val testInterval: Boolean, @JsonProperty("StartTargetPowerPercent") - val startTargetPowerPercent: Int, - ) + @JsonAlias("startTargetPowerPercent") + val startTargetPowerPercent: Double = 0.0, + @JsonProperty("StartTarget") + @JsonAlias("startTarget") + val startTarget: List? = null, + ) { + fun targetStart(): Int = (startTarget?.firstOrNull() ?: startTargetPowerPercent).roundToInt() + + fun targetEnd(): Int = (startTarget?.getOrNull(1) ?: targetStart().toDouble()).roundToInt() + } } diff --git a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/workout/TrainerRoadWorkoutDetailsDTO.kt b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/workout/TrainerRoadWorkoutDetailsDTO.kt index 20784354..0e4b4545 100644 --- a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/workout/TrainerRoadWorkoutDetailsDTO.kt +++ b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/workout/TrainerRoadWorkoutDetailsDTO.kt @@ -1,18 +1,25 @@ package org.freekode.tp2intervals.infrastructure.platform.trainerroad.workout +import com.fasterxml.jackson.annotation.JsonAlias import com.fasterxml.jackson.annotation.JsonProperty class TrainerRoadWorkoutDetailsDTO( @JsonProperty("Id") + @JsonAlias("id") val id: String, @JsonProperty("WorkoutName") + @JsonAlias("workoutName") val workoutName: String, @JsonProperty("WorkoutDescription") + @JsonAlias("workoutDescription") val workoutDescription: String, @JsonProperty("IsOutside") + @JsonAlias("isOutside") val isOutside: Boolean, @JsonProperty("Tss") + @JsonAlias("tss") val tss: Int, @JsonProperty("Duration") + @JsonAlias("duration") val duration: Int, ) diff --git a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/workout/TrainerRoadWorkoutMapper.kt b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/workout/TrainerRoadWorkoutMapper.kt index 0ae314ea..35d65bd3 100644 --- a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/workout/TrainerRoadWorkoutMapper.kt +++ b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/workout/TrainerRoadWorkoutMapper.kt @@ -14,7 +14,8 @@ class TrainerRoadWorkoutMapper { return Workout( toWorkoutDetails(trWorkout.details, removeHtmlTags), null, - WorkoutStructure(WorkoutStructure.TargetUnit.FTP_PERCENTAGE, steps), + steps.takeIf { it.isNotEmpty() } + ?.let { WorkoutStructure(WorkoutStructure.TargetUnit.FTP_PERCENTAGE, it) }, ) } @@ -37,12 +38,10 @@ class TrainerRoadWorkoutMapper { continue } val stepLength = StepLength.seconds((interval.end - interval.start).toLong()) - val ftpPercent = interval.startTargetPowerPercent - val name = if (interval.name == "Fake") "Step" else interval.name val singleStep = - SingleStep(name, stepLength, StepTarget(ftpPercent, ftpPercent), null, false) + SingleStep(name, stepLength, StepTarget(interval.targetStart(), interval.targetEnd()), null, false) steps.add(singleStep) } return steps diff --git a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/workout/TrainerRoadWorkoutRepository.kt b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/workout/TrainerRoadWorkoutRepository.kt index 05f60258..e39c4637 100644 --- a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/workout/TrainerRoadWorkoutRepository.kt +++ b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainerroad/workout/TrainerRoadWorkoutRepository.kt @@ -29,8 +29,8 @@ class TrainerRoadWorkoutRepository( } override fun getWorkoutsFromCalendar(startDate: LocalDate, endDate: LocalDate): List { - val username = trUsernameRepository.getUsername() - return trainerRoadApiClientService.getWorkoutsFromCalendar(startDate, endDate, username) + val memberId = trUsernameRepository.getMemberId() + return trainerRoadApiClientService.getWorkoutsFromCalendar(startDate, endDate, memberId) } override fun saveWorkoutsToCalendar(workouts: List) { diff --git a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainingpeaks/workout/TPToWorkoutConverter.kt b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainingpeaks/workout/TPToWorkoutConverter.kt index f00d7a9e..b9a5134e 100644 --- a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainingpeaks/workout/TPToWorkoutConverter.kt +++ b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainingpeaks/workout/TPToWorkoutConverter.kt @@ -4,6 +4,8 @@ import org.freekode.tp2intervals.domain.ExternalData import org.freekode.tp2intervals.domain.workout.Attachment import org.freekode.tp2intervals.domain.workout.Workout import org.freekode.tp2intervals.domain.workout.WorkoutDetails +import org.freekode.tp2intervals.domain.workout.structure.SingleStep +import org.freekode.tp2intervals.domain.workout.structure.WorkoutStructure import org.freekode.tp2intervals.infrastructure.platform.trainingpeaks.library.TPWorkoutLibraryItemDTO import org.freekode.tp2intervals.infrastructure.platform.trainingpeaks.workout.structure.FromTPStructureConverter import org.slf4j.LoggerFactory @@ -58,7 +60,9 @@ class TPToWorkoutConverter { if (tpWorkout.structure == null || tpWorkout.structure.structure.isEmpty()) { throw IllegalArgumentException("There is no structure") } - FromTPStructureConverter.toWorkoutStructure(tpWorkout.structure) + FromTPStructureConverter.toWorkoutStructure(tpWorkout.structure).also { + log.debug("Read TrainingPeaks workout {}, target preview: {}", tpWorkout.title, targetPreview(it)) + } } catch (e: IllegalArgumentException) { log.warn("Error during TP Workout conversion, skipping, id: ${tpWorkout.id}, name: ${tpWorkout.title}, error - ${e.message}'") null @@ -67,4 +71,11 @@ class TPToWorkoutConverter { private fun getWorkoutExternalData(tpWorkout: TPBaseWorkoutResponseDTO): ExternalData { return ExternalData.empty().withTrainingPeaks(tpWorkout.id).fromSimpleString(tpWorkout.description ?: "") } + + private fun targetPreview(structure: WorkoutStructure): String { + return structure.steps + .filterIsInstance() + .take(8) + .joinToString { "${it.name}:${it.target.start}-${it.target.end}" } + } } diff --git a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainingpeaks/workout/TrainingPeaksWorkoutRepository.kt b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainingpeaks/workout/TrainingPeaksWorkoutRepository.kt index c53456a1..14826eca 100644 --- a/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainingpeaks/workout/TrainingPeaksWorkoutRepository.kt +++ b/boot/src/main/kotlin/org/freekode/tp2intervals/infrastructure/platform/trainingpeaks/workout/TrainingPeaksWorkoutRepository.kt @@ -7,6 +7,7 @@ import org.freekode.tp2intervals.domain.librarycontainer.LibraryContainer import org.freekode.tp2intervals.domain.workout.Workout import org.freekode.tp2intervals.domain.workout.WorkoutDetails import org.freekode.tp2intervals.domain.workout.WorkoutRepository +import org.freekode.tp2intervals.domain.workout.structure.SingleStep import org.freekode.tp2intervals.infrastructure.PlatformException import org.freekode.tp2intervals.infrastructure.platform.trainingpeaks.TrainingPeaksApiClient import org.freekode.tp2intervals.infrastructure.platform.trainingpeaks.configuration.TrainingPeaksConfigurationRepository @@ -122,6 +123,8 @@ class TrainingPeaksWorkoutRepository( createRequest = CreateTPWorkoutRequestDTO.planWorkout( athleteId, workout, structureStr ) + log.debug("Creating TrainingPeaks workout {}, target preview: {}", workout.details.name, targetPreview(workout)) + log.debug("TrainingPeaks structure preview for {}: {}", workout.details.name, structureStr?.take(600)) trainingPeaksApiClient.createAndPlanWorkout(athleteId, createRequest) } @@ -153,4 +156,12 @@ class TrainingPeaksWorkoutRepository( private fun getNoteEndDateForFilter(startDate: LocalDate, endDate: LocalDate): LocalDate = if (startDate == endDate) endDate.plusDays(1) else endDate + private fun targetPreview(workout: Workout): String { + return workout.structure?.steps + ?.filterIsInstance() + ?.take(8) + ?.joinToString { "${it.name}:${it.target.start}-${it.target.end}" } + ?: "no structure" + } + } diff --git a/boot/src/main/resources/ehcache.xml b/boot/src/main/resources/ehcache.xml index 5647f253..9f00d51c 100644 --- a/boot/src/main/resources/ehcache.xml +++ b/boot/src/main/resources/ehcache.xml @@ -43,6 +43,16 @@ 1 + + java.lang.String + java.lang.Long + + 1 + + + 1 + + java.lang.String org.freekode.tp2intervals.domain.workout.Workout diff --git a/boot/src/main/resources/static/assets/kofi.webp b/boot/src/main/resources/static/assets/kofi.webp new file mode 100644 index 00000000..a9838578 Binary files /dev/null and b/boot/src/main/resources/static/assets/kofi.webp differ diff --git a/boot/src/main/resources/static/assets/loading.html b/boot/src/main/resources/static/assets/loading.html new file mode 100644 index 00000000..a22aff22 --- /dev/null +++ b/boot/src/main/resources/static/assets/loading.html @@ -0,0 +1,164 @@ + + + + + Loading + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+ Loading... +
+
+ + + diff --git a/boot/src/main/resources/static/favicon.png b/boot/src/main/resources/static/favicon.png new file mode 100644 index 00000000..18903596 Binary files /dev/null and b/boot/src/main/resources/static/favicon.png differ diff --git a/boot/src/main/resources/static/index.html b/boot/src/main/resources/static/index.html new file mode 100644 index 00000000..6853b79a --- /dev/null +++ b/boot/src/main/resources/static/index.html @@ -0,0 +1,16 @@ + + + + + tp2intervals + + + + + + + + + + diff --git a/boot/src/main/resources/static/main-BJO55GA4.js b/boot/src/main/resources/static/main-BJO55GA4.js new file mode 100644 index 00000000..f0be80f1 --- /dev/null +++ b/boot/src/main/resources/static/main-BJO55GA4.js @@ -0,0 +1,25 @@ +var JT=Object.create;var Nm=Object.defineProperty,eM=Object.defineProperties,tM=Object.getOwnPropertyDescriptor,iM=Object.getOwnPropertyDescriptors,nM=Object.getOwnPropertyNames,Wv=Object.getOwnPropertySymbols,rM=Object.getPrototypeOf,Qv=Object.prototype.hasOwnProperty,oM=Object.prototype.propertyIsEnumerable;var Yv=(i,e,r)=>e in i?Nm(i,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[e]=r,E=(i,e)=>{for(var r in e||={})Qv.call(e,r)&&Yv(i,r,e[r]);if(Wv)for(var r of Wv(e))oM.call(e,r)&&Yv(i,r,e[r]);return i},xe=(i,e)=>eM(i,iM(e));var me=(i,e)=>()=>(e||i((e={exports:{}}).exports,e),e.exports);var sM=(i,e,r,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of nM(e))!Qv.call(i,n)&&n!==r&&Nm(i,n,{get:()=>e[n],enumerable:!(t=tM(e,n))||t.enumerable});return i};var aM=(i,e,r)=>(r=i!=null?JT(rM(i)):{},sM(e||!i||!i.__esModule?Nm(r,"default",{value:i,enumerable:!0}):r,i));var Bc=me((ece,iS)=>{"use strict";var xH="2.0.0",wH=Number.MAX_SAFE_INTEGER||9007199254740991,CH=16,DH=256-6,EH=["major","premajor","minor","preminor","patch","prepatch","prerelease"];iS.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:CH,MAX_SAFE_BUILD_LENGTH:DH,MAX_SAFE_INTEGER:wH,RELEASE_TYPES:EH,SEMVER_SPEC_VERSION:xH,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var zc=me((tce,nS)=>{"use strict";var kH=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...i)=>console.error("SEMVER",...i):()=>{};nS.exports=kH});var Ha=me((zr,rS)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Dv,MAX_SAFE_BUILD_LENGTH:IH,MAX_LENGTH:SH}=Bc(),TH=zc();zr=rS.exports={};var MH=zr.re=[],AH=zr.safeRe=[],G=zr.src=[],W=zr.t={},RH=0,Ev="[a-zA-Z0-9-]",OH=[["\\s",1],["\\d",SH],[Ev,IH]],FH=i=>{for(let[e,r]of OH)i=i.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return i},ye=(i,e,r)=>{let t=FH(e),n=RH++;TH(i,n,e),W[i]=n,G[n]=e,MH[n]=new RegExp(e,r?"g":void 0),AH[n]=new RegExp(t,r?"g":void 0)};ye("NUMERICIDENTIFIER","0|[1-9]\\d*");ye("NUMERICIDENTIFIERLOOSE","\\d+");ye("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Ev}*`);ye("MAINVERSION",`(${G[W.NUMERICIDENTIFIER]})\\.(${G[W.NUMERICIDENTIFIER]})\\.(${G[W.NUMERICIDENTIFIER]})`);ye("MAINVERSIONLOOSE",`(${G[W.NUMERICIDENTIFIERLOOSE]})\\.(${G[W.NUMERICIDENTIFIERLOOSE]})\\.(${G[W.NUMERICIDENTIFIERLOOSE]})`);ye("PRERELEASEIDENTIFIER",`(?:${G[W.NUMERICIDENTIFIER]}|${G[W.NONNUMERICIDENTIFIER]})`);ye("PRERELEASEIDENTIFIERLOOSE",`(?:${G[W.NUMERICIDENTIFIERLOOSE]}|${G[W.NONNUMERICIDENTIFIER]})`);ye("PRERELEASE",`(?:-(${G[W.PRERELEASEIDENTIFIER]}(?:\\.${G[W.PRERELEASEIDENTIFIER]})*))`);ye("PRERELEASELOOSE",`(?:-?(${G[W.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${G[W.PRERELEASEIDENTIFIERLOOSE]})*))`);ye("BUILDIDENTIFIER",`${Ev}+`);ye("BUILD",`(?:\\+(${G[W.BUILDIDENTIFIER]}(?:\\.${G[W.BUILDIDENTIFIER]})*))`);ye("FULLPLAIN",`v?${G[W.MAINVERSION]}${G[W.PRERELEASE]}?${G[W.BUILD]}?`);ye("FULL",`^${G[W.FULLPLAIN]}$`);ye("LOOSEPLAIN",`[v=\\s]*${G[W.MAINVERSIONLOOSE]}${G[W.PRERELEASELOOSE]}?${G[W.BUILD]}?`);ye("LOOSE",`^${G[W.LOOSEPLAIN]}$`);ye("GTLT","((?:<|>)?=?)");ye("XRANGEIDENTIFIERLOOSE",`${G[W.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ye("XRANGEIDENTIFIER",`${G[W.NUMERICIDENTIFIER]}|x|X|\\*`);ye("XRANGEPLAIN",`[v=\\s]*(${G[W.XRANGEIDENTIFIER]})(?:\\.(${G[W.XRANGEIDENTIFIER]})(?:\\.(${G[W.XRANGEIDENTIFIER]})(?:${G[W.PRERELEASE]})?${G[W.BUILD]}?)?)?`);ye("XRANGEPLAINLOOSE",`[v=\\s]*(${G[W.XRANGEIDENTIFIERLOOSE]})(?:\\.(${G[W.XRANGEIDENTIFIERLOOSE]})(?:\\.(${G[W.XRANGEIDENTIFIERLOOSE]})(?:${G[W.PRERELEASELOOSE]})?${G[W.BUILD]}?)?)?`);ye("XRANGE",`^${G[W.GTLT]}\\s*${G[W.XRANGEPLAIN]}$`);ye("XRANGELOOSE",`^${G[W.GTLT]}\\s*${G[W.XRANGEPLAINLOOSE]}$`);ye("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Dv}})(?:\\.(\\d{1,${Dv}}))?(?:\\.(\\d{1,${Dv}}))?`);ye("COERCE",`${G[W.COERCEPLAIN]}(?:$|[^\\d])`);ye("COERCEFULL",G[W.COERCEPLAIN]+`(?:${G[W.PRERELEASE]})?(?:${G[W.BUILD]})?(?:$|[^\\d])`);ye("COERCERTL",G[W.COERCE],!0);ye("COERCERTLFULL",G[W.COERCEFULL],!0);ye("LONETILDE","(?:~>?)");ye("TILDETRIM",`(\\s*)${G[W.LONETILDE]}\\s+`,!0);zr.tildeTrimReplace="$1~";ye("TILDE",`^${G[W.LONETILDE]}${G[W.XRANGEPLAIN]}$`);ye("TILDELOOSE",`^${G[W.LONETILDE]}${G[W.XRANGEPLAINLOOSE]}$`);ye("LONECARET","(?:\\^)");ye("CARETTRIM",`(\\s*)${G[W.LONECARET]}\\s+`,!0);zr.caretTrimReplace="$1^";ye("CARET",`^${G[W.LONECARET]}${G[W.XRANGEPLAIN]}$`);ye("CARETLOOSE",`^${G[W.LONECARET]}${G[W.XRANGEPLAINLOOSE]}$`);ye("COMPARATORLOOSE",`^${G[W.GTLT]}\\s*(${G[W.LOOSEPLAIN]})$|^$`);ye("COMPARATOR",`^${G[W.GTLT]}\\s*(${G[W.FULLPLAIN]})$|^$`);ye("COMPARATORTRIM",`(\\s*)${G[W.GTLT]}\\s*(${G[W.LOOSEPLAIN]}|${G[W.XRANGEPLAIN]})`,!0);zr.comparatorTrimReplace="$1$2$3";ye("HYPHENRANGE",`^\\s*(${G[W.XRANGEPLAIN]})\\s+-\\s+(${G[W.XRANGEPLAIN]})\\s*$`);ye("HYPHENRANGELOOSE",`^\\s*(${G[W.XRANGEPLAINLOOSE]})\\s+-\\s+(${G[W.XRANGEPLAINLOOSE]})\\s*$`);ye("STAR","(<|>)?=?\\s*\\*");ye("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ye("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Dm=me((ice,oS)=>{"use strict";var NH=Object.freeze({loose:!0}),PH=Object.freeze({}),LH=i=>i?typeof i!="object"?NH:i:PH;oS.exports=LH});var kv=me((nce,lS)=>{"use strict";var sS=/^[0-9]+$/,aS=(i,e)=>{let r=sS.test(i),t=sS.test(e);return r&&t&&(i=+i,e=+e),i===e?0:r&&!t?-1:t&&!r?1:iaS(e,i);lS.exports={compareIdentifiers:aS,rcompareIdentifiers:VH}});var di=me((rce,hS)=>{"use strict";var Em=zc(),{MAX_LENGTH:cS,MAX_SAFE_INTEGER:km}=Bc(),{safeRe:dS,t:uS}=Ha(),jH=Dm(),{compareIdentifiers:Ua}=kv(),Iv=class i{constructor(e,r){if(r=jH(r),e instanceof i){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>cS)throw new TypeError(`version is longer than ${cS} characters`);Em("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let t=e.trim().match(r.loose?dS[uS.LOOSE]:dS[uS.FULL]);if(!t)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+t[1],this.minor=+t[2],this.patch=+t[3],this.major>km||this.major<0)throw new TypeError("Invalid major version");if(this.minor>km||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>km||this.patch<0)throw new TypeError("Invalid patch version");t[4]?this.prerelease=t[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let o=+n;if(o>=0&&o=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(r===this.prerelease.join(".")&&t===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let o=[r,n];t===!1&&(o=[r]),Ua(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};hS.exports=Iv});var xs=me((oce,fS)=>{"use strict";var mS=di(),BH=(i,e,r=!1)=>{if(i instanceof mS)return i;try{return new mS(i,e)}catch(t){if(!r)return null;throw t}};fS.exports=BH});var gS=me((sce,pS)=>{"use strict";var zH=xs(),$H=(i,e)=>{let r=zH(i,e);return r?r.version:null};pS.exports=$H});var bS=me((ace,_S)=>{"use strict";var HH=xs(),UH=(i,e)=>{let r=HH(i.trim().replace(/^[=v]+/,""),e);return r?r.version:null};_S.exports=UH});var xS=me((lce,yS)=>{"use strict";var vS=di(),qH=(i,e,r,t,n)=>{typeof r=="string"&&(n=t,t=r,r=void 0);try{return new vS(i instanceof vS?i.version:i,r).inc(e,t,n).version}catch{return null}};yS.exports=qH});var DS=me((cce,CS)=>{"use strict";var wS=xs(),GH=(i,e)=>{let r=wS(i,null,!0),t=wS(e,null,!0),n=r.compare(t);if(n===0)return null;let o=n>0,s=o?r:t,a=o?t:r,l=!!s.prerelease.length;if(!!a.prerelease.length&&!l)return!a.patch&&!a.minor?"major":s.patch?"patch":s.minor?"minor":"major";let d=l?"pre":"";return r.major!==t.major?d+"major":r.minor!==t.minor?d+"minor":r.patch!==t.patch?d+"patch":"prerelease"};CS.exports=GH});var kS=me((dce,ES)=>{"use strict";var WH=di(),YH=(i,e)=>new WH(i,e).major;ES.exports=YH});var SS=me((uce,IS)=>{"use strict";var QH=di(),KH=(i,e)=>new QH(i,e).minor;IS.exports=KH});var MS=me((hce,TS)=>{"use strict";var ZH=di(),XH=(i,e)=>new ZH(i,e).patch;TS.exports=XH});var RS=me((mce,AS)=>{"use strict";var JH=xs(),e5=(i,e)=>{let r=JH(i,e);return r&&r.prerelease.length?r.prerelease:null};AS.exports=e5});var xn=me((fce,FS)=>{"use strict";var OS=di(),t5=(i,e,r)=>new OS(i,r).compare(new OS(e,r));FS.exports=t5});var PS=me((pce,NS)=>{"use strict";var i5=xn(),n5=(i,e,r)=>i5(e,i,r);NS.exports=n5});var VS=me((gce,LS)=>{"use strict";var r5=xn(),o5=(i,e)=>r5(i,e,!0);LS.exports=o5});var Im=me((_ce,BS)=>{"use strict";var jS=di(),s5=(i,e,r)=>{let t=new jS(i,r),n=new jS(e,r);return t.compare(n)||t.compareBuild(n)};BS.exports=s5});var $S=me((bce,zS)=>{"use strict";var a5=Im(),l5=(i,e)=>i.sort((r,t)=>a5(r,t,e));zS.exports=l5});var US=me((vce,HS)=>{"use strict";var c5=Im(),d5=(i,e)=>i.sort((r,t)=>c5(t,r,e));HS.exports=d5});var $c=me((yce,qS)=>{"use strict";var u5=xn(),h5=(i,e,r)=>u5(i,e,r)>0;qS.exports=h5});var Sm=me((xce,GS)=>{"use strict";var m5=xn(),f5=(i,e,r)=>m5(i,e,r)<0;GS.exports=f5});var Sv=me((wce,WS)=>{"use strict";var p5=xn(),g5=(i,e,r)=>p5(i,e,r)===0;WS.exports=g5});var Tv=me((Cce,YS)=>{"use strict";var _5=xn(),b5=(i,e,r)=>_5(i,e,r)!==0;YS.exports=b5});var Tm=me((Dce,QS)=>{"use strict";var v5=xn(),y5=(i,e,r)=>v5(i,e,r)>=0;QS.exports=y5});var Mm=me((Ece,KS)=>{"use strict";var x5=xn(),w5=(i,e,r)=>x5(i,e,r)<=0;KS.exports=w5});var Mv=me((kce,ZS)=>{"use strict";var C5=Sv(),D5=Tv(),E5=$c(),k5=Tm(),I5=Sm(),S5=Mm(),T5=(i,e,r,t)=>{switch(e){case"===":return typeof i=="object"&&(i=i.version),typeof r=="object"&&(r=r.version),i===r;case"!==":return typeof i=="object"&&(i=i.version),typeof r=="object"&&(r=r.version),i!==r;case"":case"=":case"==":return C5(i,r,t);case"!=":return D5(i,r,t);case">":return E5(i,r,t);case">=":return k5(i,r,t);case"<":return I5(i,r,t);case"<=":return S5(i,r,t);default:throw new TypeError(`Invalid operator: ${e}`)}};ZS.exports=T5});var JS=me((Ice,XS)=>{"use strict";var M5=di(),A5=xs(),{safeRe:Am,t:Rm}=Ha(),R5=(i,e)=>{if(i instanceof M5)return i;if(typeof i=="number"&&(i=String(i)),typeof i!="string")return null;e=e||{};let r=null;if(!e.rtl)r=i.match(e.includePrerelease?Am[Rm.COERCEFULL]:Am[Rm.COERCE]);else{let l=e.includePrerelease?Am[Rm.COERCERTLFULL]:Am[Rm.COERCERTL],c;for(;(c=l.exec(i))&&(!r||r.index+r[0].length!==i.length);)(!r||c.index+c[0].length!==r.index+r[0].length)&&(r=c),l.lastIndex=c.index+c[1].length+c[2].length;l.lastIndex=-1}if(r===null)return null;let t=r[2],n=r[3]||"0",o=r[4]||"0",s=e.includePrerelease&&r[5]?`-${r[5]}`:"",a=e.includePrerelease&&r[6]?`+${r[6]}`:"";return A5(`${t}.${n}.${o}${s}${a}`,e)};XS.exports=R5});var tT=me((Sce,eT)=>{"use strict";var Av=class{constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,r)}return this}};eT.exports=Av});var wn=me((Tce,oT)=>{"use strict";var O5=/\s+/g,Rv=class i{constructor(e,r){if(r=N5(r),e instanceof i)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new i(e.raw,r);if(e instanceof Ov)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(O5," "),this.set=this.raw.split("||").map(t=>this.parseRange(t.trim())).filter(t=>t.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let t=this.set[0];if(this.set=this.set.filter(n=>!nT(n[0])),this.set.length===0)this.set=[t];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&$5(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let r=this.set[e];for(let t=0;t0&&(this.formatted+=" "),this.formatted+=r[t].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let t=((this.options.includePrerelease&&B5)|(this.options.loose&&z5))+":"+e,n=iT.get(t);if(n)return n;let o=this.options.loose,s=o?Li[_i.HYPHENRANGELOOSE]:Li[_i.HYPHENRANGE];e=e.replace(s,X5(this.options.includePrerelease)),lt("hyphen replace",e),e=e.replace(Li[_i.COMPARATORTRIM],L5),lt("comparator trim",e),e=e.replace(Li[_i.TILDETRIM],V5),lt("tilde trim",e),e=e.replace(Li[_i.CARETTRIM],j5),lt("caret trim",e);let a=e.split(" ").map(u=>H5(u,this.options)).join(" ").split(/\s+/).map(u=>Z5(u,this.options));o&&(a=a.filter(u=>(lt("loose invalid filter",u,this.options),!!u.match(Li[_i.COMPARATORLOOSE])))),lt("range list",a);let l=new Map,c=a.map(u=>new Ov(u,this.options));for(let u of c){if(nT(u))return[u];l.set(u.value,u)}l.size>1&&l.has("")&&l.delete("");let d=[...l.values()];return iT.set(t,d),d}intersects(e,r){if(!(e instanceof i))throw new TypeError("a Range is required");return this.set.some(t=>rT(t,r)&&e.set.some(n=>rT(n,r)&&t.every(o=>n.every(s=>o.intersects(s,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new P5(e,this.options)}catch{return!1}for(let r=0;ri.value==="<0.0.0-0",$5=i=>i.value==="",rT=(i,e)=>{let r=!0,t=i.slice(),n=t.pop();for(;r&&t.length;)r=t.every(o=>n.intersects(o,e)),n=t.pop();return r},H5=(i,e)=>(lt("comp",i,e),i=G5(i,e),lt("caret",i),i=U5(i,e),lt("tildes",i),i=Y5(i,e),lt("xrange",i),i=K5(i,e),lt("stars",i),i),bi=i=>!i||i.toLowerCase()==="x"||i==="*",U5=(i,e)=>i.trim().split(/\s+/).map(r=>q5(r,e)).join(" "),q5=(i,e)=>{let r=e.loose?Li[_i.TILDELOOSE]:Li[_i.TILDE];return i.replace(r,(t,n,o,s,a)=>{lt("tilde",i,t,n,o,s,a);let l;return bi(n)?l="":bi(o)?l=`>=${n}.0.0 <${+n+1}.0.0-0`:bi(s)?l=`>=${n}.${o}.0 <${n}.${+o+1}.0-0`:a?(lt("replaceTilde pr",a),l=`>=${n}.${o}.${s}-${a} <${n}.${+o+1}.0-0`):l=`>=${n}.${o}.${s} <${n}.${+o+1}.0-0`,lt("tilde return",l),l})},G5=(i,e)=>i.trim().split(/\s+/).map(r=>W5(r,e)).join(" "),W5=(i,e)=>{lt("caret",i,e);let r=e.loose?Li[_i.CARETLOOSE]:Li[_i.CARET],t=e.includePrerelease?"-0":"";return i.replace(r,(n,o,s,a,l)=>{lt("caret",i,n,o,s,a,l);let c;return bi(o)?c="":bi(s)?c=`>=${o}.0.0${t} <${+o+1}.0.0-0`:bi(a)?o==="0"?c=`>=${o}.${s}.0${t} <${o}.${+s+1}.0-0`:c=`>=${o}.${s}.0${t} <${+o+1}.0.0-0`:l?(lt("replaceCaret pr",l),o==="0"?s==="0"?c=`>=${o}.${s}.${a}-${l} <${o}.${s}.${+a+1}-0`:c=`>=${o}.${s}.${a}-${l} <${o}.${+s+1}.0-0`:c=`>=${o}.${s}.${a}-${l} <${+o+1}.0.0-0`):(lt("no pr"),o==="0"?s==="0"?c=`>=${o}.${s}.${a}${t} <${o}.${s}.${+a+1}-0`:c=`>=${o}.${s}.${a}${t} <${o}.${+s+1}.0-0`:c=`>=${o}.${s}.${a} <${+o+1}.0.0-0`),lt("caret return",c),c})},Y5=(i,e)=>(lt("replaceXRanges",i,e),i.split(/\s+/).map(r=>Q5(r,e)).join(" ")),Q5=(i,e)=>{i=i.trim();let r=e.loose?Li[_i.XRANGELOOSE]:Li[_i.XRANGE];return i.replace(r,(t,n,o,s,a,l)=>{lt("xRange",i,t,n,o,s,a,l);let c=bi(o),d=c||bi(s),u=d||bi(a),m=u;return n==="="&&m&&(n=""),l=e.includePrerelease?"-0":"",c?n===">"||n==="<"?t="<0.0.0-0":t="*":n&&m?(d&&(s=0),a=0,n===">"?(n=">=",d?(o=+o+1,s=0,a=0):(s=+s+1,a=0)):n==="<="&&(n="<",d?o=+o+1:s=+s+1),n==="<"&&(l="-0"),t=`${n+o}.${s}.${a}${l}`):d?t=`>=${o}.0.0${l} <${+o+1}.0.0-0`:u&&(t=`>=${o}.${s}.0${l} <${o}.${+s+1}.0-0`),lt("xRange return",t),t})},K5=(i,e)=>(lt("replaceStars",i,e),i.trim().replace(Li[_i.STAR],"")),Z5=(i,e)=>(lt("replaceGTE0",i,e),i.trim().replace(Li[e.includePrerelease?_i.GTE0PRE:_i.GTE0],"")),X5=i=>(e,r,t,n,o,s,a,l,c,d,u,m)=>(bi(t)?r="":bi(n)?r=`>=${t}.0.0${i?"-0":""}`:bi(o)?r=`>=${t}.${n}.0${i?"-0":""}`:s?r=`>=${r}`:r=`>=${r}${i?"-0":""}`,bi(c)?l="":bi(d)?l=`<${+c+1}.0.0-0`:bi(u)?l=`<${c}.${+d+1}.0-0`:m?l=`<=${c}.${d}.${u}-${m}`:i?l=`<${c}.${d}.${+u+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),J5=(i,e,r)=>{for(let t=0;t0){let n=i[t].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0}});var Hc=me((Mce,uT)=>{"use strict";var Uc=Symbol("SemVer ANY"),Pv=class i{static get ANY(){return Uc}constructor(e,r){if(r=sT(r),e instanceof i){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Nv("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Uc?this.value="":this.value=this.operator+this.semver.version,Nv("comp",this)}parse(e){let r=this.options.loose?aT[lT.COMPARATORLOOSE]:aT[lT.COMPARATOR],t=e.match(r);if(!t)throw new TypeError(`Invalid comparator: ${e}`);this.operator=t[1]!==void 0?t[1]:"",this.operator==="="&&(this.operator=""),t[2]?this.semver=new cT(t[2],this.options.loose):this.semver=Uc}toString(){return this.value}test(e){if(Nv("Comparator.test",e,this.options.loose),this.semver===Uc||e===Uc)return!0;if(typeof e=="string")try{e=new cT(e,this.options)}catch{return!1}return Fv(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof i))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new dT(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new dT(this.value,r).test(e.semver):(r=sT(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||Fv(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Fv(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};uT.exports=Pv;var sT=Dm(),{safeRe:aT,t:lT}=Ha(),Fv=Mv(),Nv=zc(),cT=di(),dT=wn()});var qc=me((Ace,hT)=>{"use strict";var eU=wn(),tU=(i,e,r)=>{try{e=new eU(e,r)}catch{return!1}return e.test(i)};hT.exports=tU});var fT=me((Rce,mT)=>{"use strict";var iU=wn(),nU=(i,e)=>new iU(i,e).set.map(r=>r.map(t=>t.value).join(" ").trim().split(" "));mT.exports=nU});var gT=me((Oce,pT)=>{"use strict";var rU=di(),oU=wn(),sU=(i,e,r)=>{let t=null,n=null,o=null;try{o=new oU(e,r)}catch{return null}return i.forEach(s=>{o.test(s)&&(!t||n.compare(s)===-1)&&(t=s,n=new rU(t,r))}),t};pT.exports=sU});var bT=me((Fce,_T)=>{"use strict";var aU=di(),lU=wn(),cU=(i,e,r)=>{let t=null,n=null,o=null;try{o=new lU(e,r)}catch{return null}return i.forEach(s=>{o.test(s)&&(!t||n.compare(s)===1)&&(t=s,n=new aU(t,r))}),t};_T.exports=cU});var xT=me((Nce,yT)=>{"use strict";var Lv=di(),dU=wn(),vT=$c(),uU=(i,e)=>{i=new dU(i,e);let r=new Lv("0.0.0");if(i.test(r)||(r=new Lv("0.0.0-0"),i.test(r)))return r;r=null;for(let t=0;t{let a=new Lv(s.semver.version);switch(s.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!o||vT(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${s.operator}`)}}),o&&(!r||vT(r,o))&&(r=o)}return r&&i.test(r)?r:null};yT.exports=uU});var CT=me((Pce,wT)=>{"use strict";var hU=wn(),mU=(i,e)=>{try{return new hU(i,e).range||"*"}catch{return null}};wT.exports=mU});var Om=me((Lce,IT)=>{"use strict";var fU=di(),kT=Hc(),{ANY:pU}=kT,gU=wn(),_U=qc(),DT=$c(),ET=Sm(),bU=Mm(),vU=Tm(),yU=(i,e,r,t)=>{i=new fU(i,t),e=new gU(e,t);let n,o,s,a,l;switch(r){case">":n=DT,o=bU,s=ET,a=">",l=">=";break;case"<":n=ET,o=vU,s=DT,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(_U(i,e,t))return!1;for(let c=0;c{f.semver===pU&&(f=new kT(">=0.0.0")),u=u||f,m=m||f,n(f.semver,u.semver,t)?u=f:s(f.semver,m.semver,t)&&(m=f)}),u.operator===a||u.operator===l||(!m.operator||m.operator===a)&&o(i,m.semver))return!1;if(m.operator===l&&s(i,m.semver))return!1}return!0};IT.exports=yU});var TT=me((Vce,ST)=>{"use strict";var xU=Om(),wU=(i,e,r)=>xU(i,e,">",r);ST.exports=wU});var AT=me((jce,MT)=>{"use strict";var CU=Om(),DU=(i,e,r)=>CU(i,e,"<",r);MT.exports=DU});var FT=me((Bce,OT)=>{"use strict";var RT=wn(),EU=(i,e,r)=>(i=new RT(i,r),e=new RT(e,r),i.intersects(e,r));OT.exports=EU});var PT=me((zce,NT)=>{"use strict";var kU=qc(),IU=xn();NT.exports=(i,e,r)=>{let t=[],n=null,o=null,s=i.sort((d,u)=>IU(d,u,r));for(let d of s)kU(d,e,r)?(o=d,n||(n=d)):(o&&t.push([n,o]),o=null,n=null);n&&t.push([n,null]);let a=[];for(let[d,u]of t)d===u?a.push(d):!u&&d===s[0]?a.push("*"):u?d===s[0]?a.push(`<=${u}`):a.push(`${d} - ${u}`):a.push(`>=${d}`);let l=a.join(" || "),c=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var LT=wn(),jv=Hc(),{ANY:Vv}=jv,Gc=qc(),Bv=xn(),SU=(i,e,r={})=>{if(i===e)return!0;i=new LT(i,r),e=new LT(e,r);let t=!1;e:for(let n of i.set){for(let o of e.set){let s=MU(n,o,r);if(t=t||s!==null,s)continue e}if(t)return!1}return!0},TU=[new jv(">=0.0.0-0")],VT=[new jv(">=0.0.0")],MU=(i,e,r)=>{if(i===e)return!0;if(i.length===1&&i[0].semver===Vv){if(e.length===1&&e[0].semver===Vv)return!0;r.includePrerelease?i=TU:i=VT}if(e.length===1&&e[0].semver===Vv){if(r.includePrerelease)return!0;e=VT}let t=new Set,n,o;for(let f of i)f.operator===">"||f.operator===">="?n=jT(n,f,r):f.operator==="<"||f.operator==="<="?o=BT(o,f,r):t.add(f.semver);if(t.size>1)return null;let s;if(n&&o){if(s=Bv(n.semver,o.semver,r),s>0)return null;if(s===0&&(n.operator!==">="||o.operator!=="<="))return null}for(let f of t){if(n&&!Gc(f,String(n),r)||o&&!Gc(f,String(o),r))return null;for(let b of e)if(!Gc(f,String(b),r))return!1;return!0}let a,l,c,d,u=o&&!r.includePrerelease&&o.semver.prerelease.length?o.semver:!1,m=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;u&&u.prerelease.length===1&&o.operator==="<"&&u.prerelease[0]===0&&(u=!1);for(let f of e){if(d=d||f.operator===">"||f.operator===">=",c=c||f.operator==="<"||f.operator==="<=",n){if(m&&f.semver.prerelease&&f.semver.prerelease.length&&f.semver.major===m.major&&f.semver.minor===m.minor&&f.semver.patch===m.patch&&(m=!1),f.operator===">"||f.operator===">="){if(a=jT(n,f,r),a===f&&a!==n)return!1}else if(n.operator===">="&&!Gc(n.semver,String(f),r))return!1}if(o){if(u&&f.semver.prerelease&&f.semver.prerelease.length&&f.semver.major===u.major&&f.semver.minor===u.minor&&f.semver.patch===u.patch&&(u=!1),f.operator==="<"||f.operator==="<="){if(l=BT(o,f,r),l===f&&l!==o)return!1}else if(o.operator==="<="&&!Gc(o.semver,String(f),r))return!1}if(!f.operator&&(o||n)&&s!==0)return!1}return!(n&&c&&!o&&s!==0||o&&d&&!n&&s!==0||m||u)},jT=(i,e,r)=>{if(!i)return e;let t=Bv(i.semver,e.semver,r);return t>0?i:t<0||e.operator===">"&&i.operator===">="?e:i},BT=(i,e,r)=>{if(!i)return e;let t=Bv(i.semver,e.semver,r);return t<0?i:t>0||e.operator==="<"&&i.operator==="<="?e:i};zT.exports=SU});var GT=me((Hce,qT)=>{"use strict";var zv=Ha(),HT=Bc(),AU=di(),UT=kv(),RU=xs(),OU=gS(),FU=bS(),NU=xS(),PU=DS(),LU=kS(),VU=SS(),jU=MS(),BU=RS(),zU=xn(),$U=PS(),HU=VS(),UU=Im(),qU=$S(),GU=US(),WU=$c(),YU=Sm(),QU=Sv(),KU=Tv(),ZU=Tm(),XU=Mm(),JU=Mv(),e8=JS(),t8=Hc(),i8=wn(),n8=qc(),r8=fT(),o8=gT(),s8=bT(),a8=xT(),l8=CT(),c8=Om(),d8=TT(),u8=AT(),h8=FT(),m8=PT(),f8=$T();qT.exports={parse:RU,valid:OU,clean:FU,inc:NU,diff:PU,major:LU,minor:VU,patch:jU,prerelease:BU,compare:zU,rcompare:$U,compareLoose:HU,compareBuild:UU,sort:qU,rsort:GU,gt:WU,lt:YU,eq:QU,neq:KU,gte:ZU,lte:XU,cmp:JU,coerce:e8,Comparator:t8,Range:i8,satisfies:n8,toComparators:r8,maxSatisfying:o8,minSatisfying:s8,minVersion:a8,validRange:l8,outside:c8,gtr:d8,ltr:u8,intersects:h8,simplifyRange:m8,subset:f8,SemVer:AU,re:zv.re,src:zv.src,tokens:zv.t,SEMVER_SPEC_VERSION:HT.SEMVER_SPEC_VERSION,RELEASE_TYPES:HT.RELEASE_TYPES,compareIdentifiers:UT.compareIdentifiers,rcompareIdentifiers:UT.rcompareIdentifiers}});function lM(i,e){return Object.is(i,e)}var Ht=null,Yc=!1,Qc=1,Wa=Symbol("SIGNAL");function Ft(i){let e=Ht;return Ht=i,e}var Pm={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function cM(i){if(Yc)throw new Error("");if(Ht===null)return;Ht.consumerOnSignalRead(i);let e=Ht.nextProducerIndex++;if(ws(Ht),ei.nextProducerIndex;)i.producerNode.pop(),i.producerLastReadVersion.pop(),i.producerIndexOfThis.pop()}}function Lm(i){ws(i);for(let e=0;e0}function ws(i){i.producerNode??=[],i.producerIndexOfThis??=[],i.producerLastReadVersion??=[]}function i0(i){i.liveConsumerNode??=[],i.liveConsumerIndexOfThis??=[]}function mM(){throw new Error}var n0=mM;function r0(){n0()}function o0(i){n0=i}var fM=null;function s0(i){let e=Object.create(pM);e.value=i;let r=()=>(cM(e),e.value);return r[Wa]=e,r}function Vm(i,e){Zv()||r0(),i.equal(i.value,e)||(i.value=e,gM(i))}function a0(i,e){Zv()||r0(),Vm(i,e(i.value))}var pM=(()=>xe(E({},Pm),{equal:lM,value:void 0}))();function gM(i){i.version++,dM(),Kv(i),fM?.()}function re(i){return typeof i=="function"}function Cs(i){let r=i(t=>{Error.call(t),t.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Zc=Cs(i=>function(r){i(this),this.message=r?`${r.length} errors occurred during unsubscription: +${r.map((t,n)=>`${n+1}) ${t.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=r});function To(i,e){if(i){let r=i.indexOf(e);0<=r&&i.splice(r,1)}}var ie=class i{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:t}=this;if(re(t))try{t()}catch(o){e=o instanceof Zc?o.errors:[o]}let{_finalizers:n}=this;if(n){this._finalizers=null;for(let o of n)try{l0(o)}catch(s){e=e??[],s instanceof Zc?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Zc(e)}}add(e){var r;if(e&&e!==this)if(this.closed)l0(e);else{if(e instanceof i){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&To(r,e)}remove(e){let{_finalizers:r}=this;r&&To(r,e),e instanceof i&&e._removeParent(this)}};ie.EMPTY=(()=>{let i=new ie;return i.closed=!0,i})();var jm=ie.EMPTY;function Xc(i){return i instanceof ie||i&&"closed"in i&&re(i.remove)&&re(i.add)&&re(i.unsubscribe)}function l0(i){re(i)?i():i.unsubscribe()}var En={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ds={setTimeout(i,e,...r){let{delegate:t}=Ds;return t?.setTimeout?t.setTimeout(i,e,...r):setTimeout(i,e,...r)},clearTimeout(i){let{delegate:e}=Ds;return(e?.clearTimeout||clearTimeout)(i)},delegate:void 0};function Jc(i){Ds.setTimeout(()=>{let{onUnhandledError:e}=En;if(e)e(i);else throw i})}function Mo(){}var c0=(()=>Bm("C",void 0,void 0))();function d0(i){return Bm("E",void 0,i)}function u0(i){return Bm("N",i,void 0)}function Bm(i,e,r){return{kind:i,value:e,error:r}}var Ao=null;function Es(i){if(En.useDeprecatedSynchronousErrorHandling){let e=!Ao;if(e&&(Ao={errorThrown:!1,error:null}),i(),e){let{errorThrown:r,error:t}=Ao;if(Ao=null,r)throw t}}else i()}function h0(i){En.useDeprecatedSynchronousErrorHandling&&Ao&&(Ao.errorThrown=!0,Ao.error=i)}var Ro=class extends ie{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Xc(e)&&e.add(this)):this.destination=vM}static create(e,r,t){return new pr(e,r,t)}next(e){this.isStopped?$m(u0(e),this):this._next(e)}error(e){this.isStopped?$m(d0(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?$m(c0,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},_M=Function.prototype.bind;function zm(i,e){return _M.call(i,e)}var Hm=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(t){ed(t)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(t){ed(t)}else ed(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){ed(r)}}},pr=class extends Ro{constructor(e,r,t){super();let n;if(re(e)||!e)n={next:e??void 0,error:r??void 0,complete:t??void 0};else{let o;this&&En.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),n={next:e.next&&zm(e.next,o),error:e.error&&zm(e.error,o),complete:e.complete&&zm(e.complete,o)}):n=e}this.destination=new Hm(n)}};function ed(i){En.useDeprecatedSynchronousErrorHandling?h0(i):Jc(i)}function bM(i){throw i}function $m(i,e){let{onStoppedNotification:r}=En;r&&Ds.setTimeout(()=>r(i,e))}var vM={closed:!0,next:Mo,error:bM,complete:Mo};var ks=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function ui(i){return i}function Um(...i){return qm(i)}function qm(i){return i.length===0?ui:i.length===1?i[0]:function(r){return i.reduce((t,n)=>n(t),r)}}var ue=(()=>{class i{constructor(r){r&&(this._subscribe=r)}lift(r){let t=new i;return t.source=this,t.operator=r,t}subscribe(r,t,n){let o=xM(r)?r:new pr(r,t,n);return Es(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(t){r.error(t)}}forEach(r,t){return t=m0(t),new t((n,o)=>{let s=new pr({next:a=>{try{r(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:n});this.subscribe(s)})}_subscribe(r){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(r)}[ks](){return this}pipe(...r){return qm(r)(this)}toPromise(r){return r=m0(r),new r((t,n)=>{let o;this.subscribe(s=>o=s,s=>n(s),()=>t(o))})}}return i.create=e=>new i(e),i})();function m0(i){var e;return(e=i??En.Promise)!==null&&e!==void 0?e:Promise}function yM(i){return i&&re(i.next)&&re(i.error)&&re(i.complete)}function xM(i){return i&&i instanceof Ro||yM(i)&&Xc(i)}function Gm(i){return re(i?.lift)}function he(i){return e=>{if(Gm(e))return e.lift(function(r){try{return i(r,this)}catch(t){this.error(t)}});throw new TypeError("Unable to lift unknown Observable type")}}function ce(i,e,r,t,n){return new Wm(i,e,r,t,n)}var Wm=class extends Ro{constructor(e,r,t,n,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(l){e.error(l)}}:super._next,this._error=n?function(a){try{n(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=t?function(){try{t()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Is(){return he((i,e)=>{let r=null;i._refCount++;let t=ce(e,void 0,void 0,void 0,()=>{if(!i||i._refCount<=0||0<--i._refCount){r=null;return}let n=i._connection,o=r;r=null,n&&(!o||n===o)&&n.unsubscribe(),e.unsubscribe()});i.subscribe(t),t.closed||(r=i.connect())})}var Oo=class extends ue{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,Gm(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ie;let r=this.getSubject();e.add(this.source.subscribe(ce(r,void 0,()=>{this._teardown(),r.complete()},t=>{this._teardown(),r.error(t)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ie.EMPTY)}return e}refCount(){return Is()(this)}};var f0=Cs(i=>function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var S=(()=>{class i extends ue{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let t=new td(this,this);return t.operator=r,t}_throwIfClosed(){if(this.closed)throw new f0}next(r){Es(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let t of this.currentObservers)t.next(r)}})}error(r){Es(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:t}=this;for(;t.length;)t.shift().error(r)}})}complete(){Es(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:t,isStopped:n,observers:o}=this;return t||n?jm:(this.currentObservers=null,o.push(r),new ie(()=>{this.currentObservers=null,To(o,r)}))}_checkFinalizedStatuses(r){let{hasError:t,thrownError:n,isStopped:o}=this;t?r.error(n):o&&r.complete()}asObservable(){let r=new ue;return r.source=this,r}}return i.create=(e,r)=>new td(e,r),i})(),td=class extends S{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,t;(t=(r=this.destination)===null||r===void 0?void 0:r.next)===null||t===void 0||t.call(r,e)}error(e){var r,t;(t=(r=this.destination)===null||r===void 0?void 0:r.error)===null||t===void 0||t.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,t;return(t=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&t!==void 0?t:jm}};var Nt=class extends S{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:t}=this;if(e)throw r;return this._throwIfClosed(),t}next(e){super.next(this._value=e)}};var Ya={now(){return(Ya.delegate||Date).now()},delegate:void 0};var id=class extends S{constructor(e=1/0,r=1/0,t=Ya){super(),this._bufferSize=e,this._windowTime=r,this._timestampProvider=t,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,r)}next(e){let{isStopped:r,_buffer:t,_infiniteTimeWindow:n,_timestampProvider:o,_windowTime:s}=this;r||(t.push(e),!n&&t.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:t,_buffer:n}=this,o=n.slice();for(let s=0;si.complete());function sd(i){return i&&re(i.schedule)}function Ym(i){return i[i.length-1]}function ad(i){return re(Ym(i))?i.pop():void 0}function Bn(i){return sd(Ym(i))?i.pop():void 0}function g0(i,e){return typeof Ym(i)=="number"?i.pop():e}function b0(i,e,r,t){function n(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(d){try{c(t.next(d))}catch(u){s(u)}}function l(d){try{c(t.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):n(d.value).then(a,l)}c((t=t.apply(i,e||[])).next())})}function _0(i){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&i[e],t=0;if(r)return r.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&t>=i.length&&(i=void 0),{value:i&&i[t++],done:!i}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function No(i){return this instanceof No?(this.v=i,this):new No(i)}function v0(i,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=r.apply(i,e||[]),n,o=[];return n={},s("next"),s("throw"),s("return"),n[Symbol.asyncIterator]=function(){return this},n;function s(m){t[m]&&(n[m]=function(f){return new Promise(function(b,w){o.push([m,f,b,w])>1||a(m,f)})})}function a(m,f){try{l(t[m](f))}catch(b){u(o[0][3],b)}}function l(m){m.value instanceof No?Promise.resolve(m.value.v).then(c,d):u(o[0][2],m)}function c(m){a("next",m)}function d(m){a("throw",m)}function u(m,f){m(f),o.shift(),o.length&&a(o[0][0],o[0][1])}}function y0(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=i[Symbol.asyncIterator],r;return e?e.call(i):(i=typeof _0=="function"?_0(i):i[Symbol.iterator](),r={},t("next"),t("throw"),t("return"),r[Symbol.asyncIterator]=function(){return this},r);function t(o){r[o]=i[o]&&function(s){return new Promise(function(a,l){s=i[o](s),n(a,l,s.done,s.value)})}}function n(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var Ts=i=>i&&typeof i.length=="number"&&typeof i!="function";function ld(i){return re(i?.then)}function cd(i){return re(i[ks])}function dd(i){return Symbol.asyncIterator&&re(i?.[Symbol.asyncIterator])}function ud(i){return new TypeError(`You provided ${i!==null&&typeof i=="object"?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function wM(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var hd=wM();function md(i){return re(i?.[hd])}function fd(i){return v0(this,arguments,function*(){let r=i.getReader();try{for(;;){let{value:t,done:n}=yield No(r.read());if(n)return yield No(void 0);yield yield No(t)}}finally{r.releaseLock()}})}function pd(i){return re(i?.getReader)}function je(i){if(i instanceof ue)return i;if(i!=null){if(cd(i))return CM(i);if(Ts(i))return DM(i);if(ld(i))return EM(i);if(dd(i))return x0(i);if(md(i))return kM(i);if(pd(i))return IM(i)}throw ud(i)}function CM(i){return new ue(e=>{let r=i[ks]();if(re(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function DM(i){return new ue(e=>{for(let r=0;r{i.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,Jc)})}function kM(i){return new ue(e=>{for(let r of i)if(e.next(r),e.closed)return;e.complete()})}function x0(i){return new ue(e=>{SM(i,e).catch(r=>e.error(r))})}function IM(i){return x0(fd(i))}function SM(i,e){var r,t,n,o;return b0(this,void 0,void 0,function*(){try{for(r=y0(i);t=yield r.next(),!t.done;){let s=t.value;if(e.next(s),e.closed)return}}catch(s){n={error:s}}finally{try{t&&!t.done&&(o=r.return)&&(yield o.call(r))}finally{if(n)throw n.error}}e.complete()})}function vi(i,e,r,t=0,n=!1){let o=e.schedule(function(){r(),n?i.add(this.schedule(null,t)):this.unsubscribe()},t);if(i.add(o),!n)return o}function gd(i,e=0){return he((r,t)=>{r.subscribe(ce(t,n=>vi(t,i,()=>t.next(n),e),()=>vi(t,i,()=>t.complete(),e),n=>vi(t,i,()=>t.error(n),e)))})}function _d(i,e=0){return he((r,t)=>{t.add(i.schedule(()=>r.subscribe(t),e))})}function w0(i,e){return je(i).pipe(_d(e),gd(e))}function C0(i,e){return je(i).pipe(_d(e),gd(e))}function D0(i,e){return new ue(r=>{let t=0;return e.schedule(function(){t===i.length?r.complete():(r.next(i[t++]),r.closed||this.schedule())})})}function E0(i,e){return new ue(r=>{let t;return vi(r,e,()=>{t=i[hd](),vi(r,e,()=>{let n,o;try{({value:n,done:o}=t.next())}catch(s){r.error(s);return}o?r.complete():r.next(n)},0,!0)}),()=>re(t?.return)&&t.return()})}function bd(i,e){if(!i)throw new Error("Iterable cannot be null");return new ue(r=>{vi(r,e,()=>{let t=i[Symbol.asyncIterator]();vi(r,e,()=>{t.next().then(n=>{n.done?r.complete():r.next(n.value)})},0,!0)})})}function k0(i,e){return bd(fd(i),e)}function I0(i,e){if(i!=null){if(cd(i))return w0(i,e);if(Ts(i))return D0(i,e);if(ld(i))return C0(i,e);if(dd(i))return bd(i,e);if(md(i))return E0(i,e);if(pd(i))return k0(i,e)}throw ud(i)}function tt(i,e){return e?I0(i,e):je(i)}function Z(...i){let e=Bn(i);return tt(i,e)}function Hr(i,e){let r=re(i)?i:()=>i,t=n=>n.error(r());return new ue(e?n=>e.schedule(t,0,n):t)}function Ka(i){return!!i&&(i instanceof ue||re(i.lift)&&re(i.subscribe))}var gr=Cs(i=>function(){i(this),this.name="EmptyError",this.message="no elements in sequence"});function S0(i){return i instanceof Date&&!isNaN(i)}function U(i,e){return he((r,t)=>{let n=0;r.subscribe(ce(t,o=>{t.next(i.call(e,o,n++))}))})}var{isArray:TM}=Array;function MM(i,e){return TM(e)?i(...e):i(e)}function Ms(i){return U(e=>MM(i,e))}var{isArray:AM}=Array,{getPrototypeOf:RM,prototype:OM,keys:FM}=Object;function vd(i){if(i.length===1){let e=i[0];if(AM(e))return{args:e,keys:null};if(NM(e)){let r=FM(e);return{args:r.map(t=>e[t]),keys:r}}}return{args:i,keys:null}}function NM(i){return i&&typeof i=="object"&&RM(i)===OM}function yd(i,e){return i.reduce((r,t,n)=>(r[t]=e[n],r),{})}function As(...i){let e=Bn(i),r=ad(i),{args:t,keys:n}=vd(i);if(t.length===0)return tt([],e);let o=new ue(PM(t,e,n?s=>yd(n,s):ui));return r?o.pipe(Ms(r)):o}function PM(i,e,r=ui){return t=>{T0(e,()=>{let{length:n}=i,o=new Array(n),s=n,a=n;for(let l=0;l{let c=tt(i[l],e),d=!1;c.subscribe(ce(t,u=>{o[l]=u,d||(d=!0,a--),a||t.next(r(o.slice()))},()=>{--s||t.complete()}))},t)},t)}}function T0(i,e,r){i?vi(r,i,e):e()}function M0(i,e,r,t,n,o,s,a){let l=[],c=0,d=0,u=!1,m=()=>{u&&!l.length&&!c&&e.complete()},f=w=>c{o&&e.next(w),c++;let T=!1;je(r(w,d++)).subscribe(ce(e,M=>{n?.(M),o?f(M):e.next(M)},()=>{T=!0},void 0,()=>{if(T)try{for(c--;l.length&&cb(M)):b(M)}m()}catch(M){e.error(M)}}))};return i.subscribe(ce(e,f,()=>{u=!0,m()})),()=>{a?.()}}function ut(i,e,r=1/0){return re(e)?ut((t,n)=>U((o,s)=>e(t,o,n,s))(je(i(t,n))),r):(typeof e=="number"&&(r=e),he((t,n)=>M0(t,n,i,r)))}function Za(i=1/0){return ut(ui,i)}function A0(){return Za(1)}function zn(...i){return A0()(tt(i,Bn(i)))}function rn(i){return new ue(e=>{je(i()).subscribe(e)})}function Xa(...i){let e=ad(i),{args:r,keys:t}=vd(i),n=new ue(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d{u||(u=!0,c--),a[d]=m},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(t?yd(t,a):a),o.complete())}))}});return e?n.pipe(Ms(e)):n}var LM=["addListener","removeListener"],VM=["addEventListener","removeEventListener"],jM=["on","off"];function $n(i,e,r,t){if(re(r)&&(t=r,r=void 0),t)return $n(i,e,r).pipe(Ms(t));let[n,o]=$M(i)?VM.map(s=>a=>i[s](e,a,r)):BM(i)?LM.map(R0(i,e)):zM(i)?jM.map(R0(i,e)):[];if(!n&&Ts(i))return ut(s=>$n(s,e,r))(je(i));if(!n)throw new TypeError("Invalid event target");return new ue(s=>{let a=(...l)=>s.next(1o(a)})}function R0(i,e){return r=>t=>i[r](e,t)}function BM(i){return re(i.addListener)&&re(i.removeListener)}function zM(i){return re(i.on)&&re(i.off)}function $M(i){return re(i.addEventListener)&&re(i.removeEventListener)}function xd(i=0,e,r=p0){let t=-1;return e!=null&&(sd(e)?r=e:t=e),new ue(n=>{let o=S0(i)?+i-r.now():i;o<0&&(o=0);let s=0;return r.schedule(function(){n.closed||(n.next(s++),0<=t?this.schedule(void 0,t):n.complete())},o)})}function it(...i){let e=Bn(i),r=g0(i,1/0),t=i;return t.length?t.length===1?je(t[0]):Za(r)(tt(t,e)):Ut}function de(i,e){return he((r,t)=>{let n=0;r.subscribe(ce(t,o=>i.call(e,o,n++)&&t.next(o)))})}function O0(i){return he((e,r)=>{let t=!1,n=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,t){t=!1;let c=n;n=null,r.next(c)}s&&r.complete()},l=()=>{o=null,s&&r.complete()};e.subscribe(ce(r,c=>{t=!0,n=c,o||je(i(c)).subscribe(o=ce(r,a,l))},()=>{s=!0,(!t||!o||o.closed)&&r.complete()}))})}function wd(i,e=Fo){return O0(()=>xd(i,e))}function kn(i){return he((e,r)=>{let t=null,n=!1,o;t=e.subscribe(ce(r,void 0,void 0,s=>{o=je(i(s,kn(i)(e))),t?(t.unsubscribe(),t=null,o.subscribe(r)):n=!0})),n&&(t.unsubscribe(),t=null,o.subscribe(r))})}function F0(i,e,r,t,n){return(o,s)=>{let a=r,l=e,c=0;o.subscribe(ce(s,d=>{let u=c++;l=a?i(l,d,u):(a=!0,d),t&&s.next(l)},n&&(()=>{a&&s.next(l),s.complete()})))}}function Ur(i,e){return re(e)?ut(i,e,1):ut(i,1)}function Hn(i,e=Fo){return he((r,t)=>{let n=null,o=null,s=null,a=()=>{if(n){n.unsubscribe(),n=null;let c=o;o=null,t.next(c)}};function l(){let c=s+i,d=e.now();if(d{o=c,s=e.now(),n||(n=e.schedule(l,i),t.add(n))},()=>{a(),t.complete()},void 0,()=>{o=n=null}))})}function qr(i){return he((e,r)=>{let t=!1;e.subscribe(ce(r,n=>{t=!0,r.next(n)},()=>{t||r.next(i),r.complete()}))})}function Ee(i){return i<=0?()=>Ut:he((e,r)=>{let t=0;e.subscribe(ce(r,n=>{++t<=i&&(r.next(n),i<=t&&r.complete())}))})}function N0(){return he((i,e)=>{i.subscribe(ce(e,Mo))})}function Ja(i){return U(()=>i)}function Qm(i,e){return e?r=>zn(e.pipe(Ee(1),N0()),r.pipe(Qm(i))):ut((r,t)=>je(i(r,t)).pipe(Ee(1),Ja(r)))}function Km(i,e=Fo){let r=xd(i,e);return Qm(()=>r)}function Gr(i,e=ui){return i=i??HM,he((r,t)=>{let n,o=!0;r.subscribe(ce(t,s=>{let a=e(s);(o||!i(n,a))&&(o=!1,n=a,t.next(s))}))})}function HM(i,e){return i===e}function Cd(i=UM){return he((e,r)=>{let t=!1;e.subscribe(ce(r,n=>{t=!0,r.next(n)},()=>t?r.complete():r.error(i())))})}function UM(){return new gr}function nt(i){return he((e,r)=>{try{e.subscribe(r)}finally{r.add(i)}})}function Un(i,e){let r=arguments.length>=2;return t=>t.pipe(i?de((n,o)=>i(n,o,t)):ui,Ee(1),r?qr(e):Cd(()=>new gr))}function Rs(i){return i<=0?()=>Ut:he((e,r)=>{let t=[];e.subscribe(ce(r,n=>{t.push(n),i{for(let n of t)r.next(n);r.complete()},void 0,()=>{t=null}))})}function Zm(i,e){let r=arguments.length>=2;return t=>t.pipe(i?de((n,o)=>i(n,o,t)):ui,Rs(1),r?qr(e):Cd(()=>new gr))}function Xm(i,e){return he(F0(i,e,arguments.length>=2,!0))}function P0(i={}){let{connector:e=()=>new S,resetOnError:r=!0,resetOnComplete:t=!0,resetOnRefCountZero:n=!0}=i;return o=>{let s,a,l,c=0,d=!1,u=!1,m=()=>{a?.unsubscribe(),a=void 0},f=()=>{m(),s=l=void 0,d=u=!1},b=()=>{let w=s;f(),w?.unsubscribe()};return he((w,T)=>{c++,!u&&!d&&m();let M=l=l??e();T.add(()=>{c--,c===0&&!u&&!d&&(a=Jm(b,n))}),M.subscribe(T),!s&&c>0&&(s=new pr({next:ne=>M.next(ne),error:ne=>{u=!0,m(),a=Jm(f,r,ne),M.error(ne)},complete:()=>{d=!0,m(),a=Jm(f,t),M.complete()}}),je(w).subscribe(s))})(o)}}function Jm(i,e,...r){if(e===!0){i();return}if(e===!1)return;let t=new pr({next:()=>{t.unsubscribe(),i()}});return je(e(...r)).subscribe(t)}function Dd(i,e,r){let t,n=!1;return i&&typeof i=="object"?{bufferSize:t=1/0,windowTime:e=1/0,refCount:n=!1,scheduler:r}=i:t=i??1/0,P0({connector:()=>new id(t,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:n})}function el(i){return de((e,r)=>i<=r)}function gt(...i){let e=Bn(i);return he((r,t)=>{(e?zn(i,r,e):zn(i,r)).subscribe(t)})}function Ye(i,e){return he((r,t)=>{let n=null,o=0,s=!1,a=()=>s&&!n&&t.complete();r.subscribe(ce(t,l=>{n?.unsubscribe();let c=0,d=o++;je(i(l,d)).subscribe(n=ce(t,u=>t.next(e?e(l,u,d,c++):u),()=>{n=null,a()}))},()=>{s=!0,a()}))})}function Fe(i){return he((e,r)=>{je(i).subscribe(ce(r,()=>r.complete(),Mo)),!r.closed&&e.subscribe(r)})}function ef(i,e=!1){return he((r,t)=>{let n=0;r.subscribe(ce(t,o=>{let s=i(o,n++);(s||e)&&t.next(o),!s&&t.complete()}))})}function qe(i,e,r){let t=re(i)||e||r?{next:i,error:e,complete:r}:i;return t?he((n,o)=>{var s;(s=t.subscribe)===null||s===void 0||s.call(t);let a=!0;n.subscribe(ce(o,l=>{var c;(c=t.next)===null||c===void 0||c.call(t,l),o.next(l)},()=>{var l;a=!1,(l=t.complete)===null||l===void 0||l.call(t),o.complete()},l=>{var c;a=!1,(c=t.error)===null||c===void 0||c.call(t,l),o.error(l)},()=>{var l,c;a&&((l=t.unsubscribe)===null||l===void 0||l.call(t)),(c=t.finalize)===null||c===void 0||c.call(t)}))}):ui}function Qe(i){for(let e in i)if(i[e]===Qe)return e;throw Error("Could not find renamed property on target object.")}function Ed(i,e){for(let r in e)e.hasOwnProperty(r)&&!i.hasOwnProperty(r)&&(i[r]=e[r])}function Kt(i){if(typeof i=="string")return i;if(Array.isArray(i))return"["+i.map(Kt).join(", ")+"]";if(i==null)return""+i;if(i.overriddenName)return`${i.overriddenName}`;if(i.name)return`${i.name}`;let e=i.toString();if(e==null)return""+e;let r=e.indexOf(` +`);return r===-1?e:e.substring(0,r)}function vf(i,e){return i==null||i===""?e===null?"":e:e==null||e===""?i:i+" "+e}var qM=Qe({__forward_ref__:Qe});function qt(i){return i.__forward_ref__=qt,i.toString=function(){return Kt(this())},i}function hi(i){return Dy(i)?i():i}function Dy(i){return typeof i=="function"&&i.hasOwnProperty(qM)&&i.__forward_ref__===qt}function Ey(i){return i&&!!i.\u0275providers}var ky="https://g.co/ng/security#xss",A=class extends Error{constructor(e,r){super(ou(e,r)),this.code=e}};function ou(i,e){return`${`NG0${Math.abs(i)}`}${e?": "+e:""}`}var GM=Qe({\u0275cmp:Qe}),WM=Qe({\u0275dir:Qe}),YM=Qe({\u0275pipe:Qe}),QM=Qe({\u0275mod:Qe}),Vd=Qe({\u0275fac:Qe}),tl=Qe({__NG_ELEMENT_ID__:Qe}),L0=Qe({__NG_ENV_ID__:Qe});function xi(i){return typeof i=="string"?i:i==null?"":String(i)}function KM(i){return typeof i=="function"?i.name||i.toString():typeof i=="object"&&i!=null&&typeof i.type=="function"?i.type.name||i.type.toString():xi(i)}function ZM(i,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${i}`:"";throw new A(-200,`Circular dependency in DI detected for ${i}${r}`)}function kp(i,e){let r=e?` in ${e}`:"";throw new A(-201,!1)}function XM(i,e){i==null&&JM(e,i,null,"!=")}function JM(i,e,r,t){throw new Error(`ASSERTION ERROR: ${i}`+(t==null?"":` [Expected=> ${r} ${t} ${e} <=Actual]`))}function D(i){return{token:i.token,providedIn:i.providedIn||null,factory:i.factory,value:void 0}}function B(i){return{providers:i.providers||[],imports:i.imports||[]}}function su(i){return V0(i,Sy)||V0(i,Ty)}function Iy(i){return su(i)!==null}function V0(i,e){return i.hasOwnProperty(e)?i[e]:null}function eA(i){let e=i&&(i[Sy]||i[Ty]);return e||null}function j0(i){return i&&(i.hasOwnProperty(B0)||i.hasOwnProperty(tA))?i[B0]:null}var Sy=Qe({\u0275prov:Qe}),B0=Qe({\u0275inj:Qe}),Ty=Qe({ngInjectableDef:Qe}),tA=Qe({ngInjectorDef:Qe}),Se=function(i){return i[i.Default=0]="Default",i[i.Host=1]="Host",i[i.Self=2]="Self",i[i.SkipSelf=4]="SkipSelf",i[i.Optional=8]="Optional",i}(Se||{}),yf;function iA(){return yf}function yi(i){let e=yf;return yf=i,e}function My(i,e,r){let t=su(i);if(t&&t.providedIn=="root")return t.value===void 0?t.value=t.factory():t.value;if(r&Se.Optional)return null;if(e!==void 0)return e;kp(Kt(i),"Injector")}var ji=globalThis;var I=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=D({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var nA={},rl=nA,xf="__NG_DI_FLAG__",jd="ngTempTokenPath",rA="ngTokenPath",oA=/\n/gm,sA="\u0275",z0="__source",il;function Wr(i){let e=il;return il=i,e}function aA(i,e=Se.Default){if(il===void 0)throw new A(-203,!1);return il===null?My(i,void 0,e):il.get(i,e&Se.Optional?null:void 0,e)}function v(i,e=Se.Default){return(iA()||aA)(hi(i),e)}function C(i,e=Se.Default){return v(i,au(e))}function au(i){return typeof i>"u"||typeof i=="number"?i:0|(i.optional&&8)|(i.host&&1)|(i.self&&2)|(i.skipSelf&&4)}function wf(i){let e=[];for(let r=0;r ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Kt(a)))}n=`{${o.join(", ")}}`}return`${r}${t?"("+t+")":""}[${n}]: ${i.replace(oA,` + `)}`}function gl(i){return{toString:i}.toString()}var Ry=function(i){return i[i.OnPush=0]="OnPush",i[i.Default=1]="Default",i}(Ry||{}),Yn=function(i){return i[i.Emulated=0]="Emulated",i[i.None=2]="None",i[i.ShadowDom=3]="ShadowDom",i}(Yn||{}),Ls={},wi=[];function Oy(i,e,r){let t=i.length;for(;;){let n=i.indexOf(e,r);if(n===-1)return n;if(n===0||i.charCodeAt(n-1)<=32){let o=e.length;if(n+o===t||i.charCodeAt(n+o)<=32)return n}r=n+1}}function Cf(i,e,r){let t=0;for(;te){s=o-1;break}}}for(;oo?m="":m=n[u+1].toLowerCase();let f=t&8?m:null;if(f&&Oy(f,c,0)!==-1||t&2&&c!==m){if(In(t))return!1;s=!0}}}}return In(t)||s}function In(i){return(i&1)===0}function pA(i,e,r,t){if(e===null)return-1;let n=0;if(t||!r){let o=!1;for(;n-1)for(r++;r0?'="'+a+'"':"")+"]"}else t&8?n+="."+s:t&4&&(n+=" "+s);else n!==""&&!In(s)&&(e+=H0(o,n),n=""),t=s,o=o||!In(t);r++}return n!==""&&(e+=H0(o,n)),e}function xA(i){return i.map(yA).join(",")}function wA(i){let e=[],r=[],t=1,n=2;for(;t{let e=Hy(i),r=xe(E({},e),{decls:i.decls,vars:i.vars,template:i.template,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,onPush:i.changeDetection===Ry.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&i.dependencies||null,getStandaloneInjector:null,signals:i.signals??!1,data:i.data||{},encapsulation:i.encapsulation||Yn.Emulated,styles:i.styles||wi,_:null,schemas:i.schemas||null,tView:null,id:""});Uy(r);let t=i.dependencies;return r.directiveDefs=q0(t,!1),r.pipeDefs=q0(t,!0),r.id=EA(r),r})}function CA(i){return Vo(i)||jy(i)}function DA(i){return i!==null}function z(i){return gl(()=>({type:i.type,bootstrap:i.bootstrap||wi,declarations:i.declarations||wi,imports:i.imports||wi,exports:i.exports||wi,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null}))}function U0(i,e){if(i==null)return Ls;let r={};for(let t in i)if(i.hasOwnProperty(t)){let n=i[t],o=n;Array.isArray(n)&&(o=n[1],n=n[0]),r[n]=t,e&&(e[n]=o)}return r}function R(i){return gl(()=>{let e=Hy(i);return Uy(e),e})}function Vy(i){return{type:i.type,name:i.name,factory:null,pure:i.pure!==!1,standalone:i.standalone===!0,onDestroy:i.type.prototype.ngOnDestroy||null}}function Vo(i){return i[GM]||null}function jy(i){return i[WM]||null}function By(i){return i[YM]||null}function zy(i){let e=Vo(i)||jy(i)||By(i);return e!==null?e.standalone:!1}function $y(i,e){let r=i[QM]||null;if(!r&&e===!0)throw new Error(`Type ${Kt(i)} does not have '\u0275mod' property.`);return r}function Hy(i){let e={};return{type:i.type,providersResolver:null,factory:null,hostBindings:i.hostBindings||null,hostVars:i.hostVars||0,hostAttrs:i.hostAttrs||null,contentQueries:i.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:i.inputs||Ls,exportAs:i.exportAs||null,standalone:i.standalone===!0,signals:i.signals===!0,selectors:i.selectors||wi,viewQuery:i.viewQuery||null,features:i.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:U0(i.inputs,e),outputs:U0(i.outputs),debugInfo:null}}function Uy(i){i.features?.forEach(e=>e(i))}function q0(i,e){if(!i)return null;let r=e?By:CA;return()=>(typeof i=="function"?i():i).map(t=>r(t)).filter(DA)}function EA(i){let e=0,r=[i.selectors,i.ngContentSelectors,i.hostVars,i.hostAttrs,i.consts,i.vars,i.decls,i.encapsulation,i.standalone,i.signals,i.exportAs,JSON.stringify(i.inputs),JSON.stringify(i.outputs),Object.getOwnPropertyNames(i.type.prototype),!!i.contentQueries,!!i.viewQuery].join("|");for(let n of r)e=Math.imul(31,e)+n.charCodeAt(0)<<0;return e+=2147483647+1,"c"+e}var Kn=0,_e=1,le=2,At=3,Tn=4,zi=5,Vs=6,sl=7,Zt=8,js=9,_r=10,ct=11,al=12,G0=13,Gs=14,on=15,_l=16,Os=17,Wn=18,lu=19,qy=20,nl=21,tf=22,jo=23,Jt=25,Ip=1;var Bo=7,Bd=8,Bs=9,Xt=10,zs=function(i){return i[i.None=0]="None",i[i.HasTransplantedViews=2]="HasTransplantedViews",i[i.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",i}(zs||{});function Yr(i){return Array.isArray(i)&&typeof i[Ip]=="object"}function Mn(i){return Array.isArray(i)&&i[Ip]===!0}function Sp(i){return(i.flags&4)!==0}function cu(i){return i.componentOffset>-1}function du(i){return(i.flags&1)===1}function br(i){return!!i.template}function kA(i){return(i[le]&512)!==0}function zo(i,e){let r=i.hasOwnProperty(Vd);return r?i[Vd]:null}var Df=class{constructor(e,r,t){this.previousValue=e,this.currentValue=r,this.firstChange=t}isFirstChange(){return this.firstChange}};function Oe(){return Gy}function Gy(i){return i.type.prototype.ngOnChanges&&(i.setInput=SA),IA}Oe.ngInherit=!0;function IA(){let i=Yy(this),e=i?.current;if(e){let r=i.previous;if(r===Ls)i.previous=e;else for(let t in e)r[t]=e[t];i.current=null,this.ngOnChanges(e)}}function SA(i,e,r,t){let n=this.declaredInputs[r],o=Yy(i)||TA(i,{previous:Ls,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[n];s[n]=new Df(l&&l.currentValue,e,a===Ls),i[t]=e}var Wy="__ngSimpleChanges__";function Yy(i){return i[Wy]||null}function TA(i,e){return i[Wy]=e}var W0=null;var qn=function(i,e,r){W0?.(i,e,r)},Qy="svg",MA="math",AA=!1;function RA(){return AA}function Qn(i){for(;Array.isArray(i);)i=i[Kn];return i}function OA(i){for(;Array.isArray(i);){if(typeof i[Ip]=="object")return i;i=i[Kn]}return null}function Ky(i,e){return Qn(e[i])}function sn(i,e){return Qn(e[i.index])}function Tp(i,e){return i.data[e]}function Zy(i,e){return i[e]}function Xr(i,e){let r=e[i];return Yr(r)?r:r[Kn]}function FA(i){return(i[le]&4)===4}function Mp(i){return(i[le]&128)===128}function NA(i){return Mn(i[At])}function $s(i,e){return e==null?null:i[e]}function Xy(i){i[Os]=0}function PA(i){i[le]&1024||(i[le]|=1024,Mp(i)&&ll(i))}function LA(i,e){for(;i>0;)e=e[Gs],i--;return e}function Jy(i){return i[le]&9216||i[jo]?.dirty}function Ef(i){Jy(i)?ll(i):i[le]&64&&(RA()?(i[le]|=1024,ll(i)):i[_r].changeDetectionScheduler?.notify())}function ll(i){i[_r].changeDetectionScheduler?.notify();let e=i[At];for(;e!==null&&!(Mn(e)&&e[le]&zs.HasChildViewsToRefresh||Yr(e)&&e[le]&8192);){if(Mn(e))e[le]|=zs.HasChildViewsToRefresh;else if(e[le]|=8192,!Mp(e))break;e=e[At]}}function VA(i,e){if((i[le]&256)===256)throw new A(911,!1);i[nl]===null&&(i[nl]=[]),i[nl].push(e)}var we={lFrame:ax(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function jA(){return we.lFrame.elementDepthCount}function BA(){we.lFrame.elementDepthCount++}function zA(){we.lFrame.elementDepthCount--}function ex(){return we.bindingsEnabled}function tx(){return we.skipHydrationRootTNode!==null}function $A(i){return we.skipHydrationRootTNode===i}function HA(){we.skipHydrationRootTNode=null}function pe(){return we.lFrame.lView}function ht(){return we.lFrame.tView}function rt(i){return we.lFrame.contextLView=i,i[Zt]}function ot(i){return we.lFrame.contextLView=null,i}function ei(){let i=ix();for(;i!==null&&i.type===64;)i=i.parent;return i}function ix(){return we.lFrame.currentTNode}function UA(){let i=we.lFrame,e=i.currentTNode;return i.isParent?e:e.parent}function Yo(i,e){let r=we.lFrame;r.currentTNode=i,r.isParent=e}function Ap(){return we.lFrame.isParent}function Rp(){we.lFrame.isParent=!1}function qA(){return we.lFrame.contextLView}function nx(){let i=we.lFrame,e=i.bindingRootIndex;return e===-1&&(e=i.bindingRootIndex=i.tView.bindingStartIndex),e}function Op(){return we.lFrame.bindingIndex}function GA(i){return we.lFrame.bindingIndex=i}function Qo(){return we.lFrame.bindingIndex++}function bl(i){let e=we.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+i,r}function WA(){return we.lFrame.inI18n}function YA(i,e){let r=we.lFrame;r.bindingIndex=r.bindingRootIndex=i,kf(e)}function QA(){return we.lFrame.currentDirectiveIndex}function kf(i){we.lFrame.currentDirectiveIndex=i}function Fp(i){let e=we.lFrame.currentDirectiveIndex;return e===-1?null:i[e]}function rx(){return we.lFrame.currentQueryIndex}function Np(i){we.lFrame.currentQueryIndex=i}function KA(i){let e=i[_e];return e.type===2?e.declTNode:e.type===1?i[zi]:null}function ox(i,e,r){if(r&Se.SkipSelf){let n=e,o=i;for(;n=n.parent,n===null&&!(r&Se.Host);)if(n=KA(o),n===null||(o=o[Gs],n.type&10))break;if(n===null)return!1;e=n,i=o}let t=we.lFrame=sx();return t.currentTNode=e,t.lView=i,!0}function Pp(i){let e=sx(),r=i[_e];we.lFrame=e,e.currentTNode=r.firstChild,e.lView=i,e.tView=r,e.contextLView=i,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function sx(){let i=we.lFrame,e=i===null?null:i.child;return e===null?ax(i):e}function ax(i){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:i,child:null,inI18n:!1};return i!==null&&(i.child=e),e}function lx(){let i=we.lFrame;return we.lFrame=i.parent,i.currentTNode=null,i.lView=null,i}var cx=lx;function Lp(){let i=lx();i.isParent=!0,i.tView=null,i.selectedIndex=-1,i.contextLView=null,i.elementDepthCount=0,i.currentDirectiveIndex=-1,i.currentNamespace=null,i.bindingRootIndex=-1,i.bindingIndex=-1,i.currentQueryIndex=0}function ZA(i){return(we.lFrame.contextLView=LA(i,we.lFrame.contextLView))[Zt]}function An(){return we.lFrame.selectedIndex}function $o(i){we.lFrame.selectedIndex=i}function vl(){let i=we.lFrame;return Tp(i.tView,i.selectedIndex)}function wr(){we.lFrame.currentNamespace=Qy}function Ko(){XA()}function XA(){we.lFrame.currentNamespace=null}function JA(){return we.lFrame.currentNamespace}var dx=!0;function uu(){return dx}function hu(i){dx=i}function e1(i,e,r){let{ngOnChanges:t,ngOnInit:n,ngDoCheck:o}=e.type.prototype;if(t){let s=Gy(e);(r.preOrderHooks??=[]).push(i,s),(r.preOrderCheckHooks??=[]).push(i,s)}n&&(r.preOrderHooks??=[]).push(0-i,n),o&&((r.preOrderHooks??=[]).push(i,o),(r.preOrderCheckHooks??=[]).push(i,o))}function mu(i,e){for(let r=e.directiveStart,t=e.directiveEnd;r=t)break}else e[l]<0&&(i[Os]+=65536),(a>14>16&&(i[le]&3)===e&&(i[le]+=16384,Y0(a,o)):Y0(a,o)}var Ps=-1,Ho=class{constructor(e,r,t){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=t}};function i1(i){return i instanceof Ho}function n1(i){return(i.flags&8)!==0}function r1(i){return(i.flags&16)!==0}function hx(i){return i!==Ps}function zd(i){let e=i&32767;return i&32767}function o1(i){return i>>16}function $d(i,e){let r=o1(i),t=e;for(;r>0;)t=t[Gs],r--;return t}var If=!0;function Hd(i){let e=If;return If=i,e}var s1=256,mx=s1-1,fx=5,a1=0,Gn={};function l1(i,e,r){let t;typeof r=="string"?t=r.charCodeAt(0)||0:r.hasOwnProperty(tl)&&(t=r[tl]),t==null&&(t=r[tl]=a1++);let n=t&mx,o=1<>fx)]|=o}function Ud(i,e){let r=px(i,e);if(r!==-1)return r;let t=e[_e];t.firstCreatePass&&(i.injectorIndex=e.length,rf(t.data,i),rf(e,null),rf(t.blueprint,null));let n=Vp(i,e),o=i.injectorIndex;if(hx(n)){let s=zd(n),a=$d(n,e),l=a[_e].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=n,o}function rf(i,e){i.push(0,0,0,0,0,0,0,0,e)}function px(i,e){return i.injectorIndex===-1||i.parent&&i.parent.injectorIndex===i.injectorIndex||e[i.injectorIndex+8]===null?-1:i.injectorIndex}function Vp(i,e){if(i.parent&&i.parent.injectorIndex!==-1)return i.parent.injectorIndex;let r=0,t=null,n=e;for(;n!==null;){if(t=yx(n),t===null)return Ps;if(r++,n=n[Gs],t.injectorIndex!==-1)return t.injectorIndex|r<<16}return Ps}function Sf(i,e,r){l1(i,e,r)}function c1(i,e){if(e==="class")return i.classes;if(e==="style")return i.styles;let r=i.attrs;if(r){let t=r.length,n=0;for(;n>20,u=t?a:a+d,m=n?a+d:c;for(let f=u;f=l&&b.type===r)return f}if(n){let f=s[l];if(f&&br(f)&&f.type===r)return l}return null}function Uo(i,e,r,t){let n=i[r],o=e.data;if(i1(n)){let s=n;s.resolving&&ZM(KM(o[r]));let a=Hd(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?yi(s.injectImpl):null,d=ox(i,t,Se.Default);try{n=i[r]=s.factory(void 0,o,i,t),e.firstCreatePass&&r>=t.directiveStart&&e1(r,o[r],e)}finally{c!==null&&yi(c),Hd(a),s.resolving=!1,cx()}}return n}function u1(i){if(typeof i=="string")return i.charCodeAt(0)||0;let e=i.hasOwnProperty(tl)?i[tl]:void 0;return typeof e=="number"?e>=0?e&mx:h1:e}function Q0(i,e,r){let t=1<>fx)]&t)}function K0(i,e){return!(i&Se.Self)&&!(i&Se.Host&&e)}var Lo=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,t){return bx(this._tNode,this._lView,e,au(t),r)}};function h1(){return new Lo(ei(),pe())}function Gt(i){return gl(()=>{let e=i.prototype.constructor,r=e[Vd]||Tf(e),t=Object.prototype,n=Object.getPrototypeOf(i.prototype).constructor;for(;n&&n!==t;){let o=n[Vd]||Tf(n);if(o&&o!==r)return o;n=Object.getPrototypeOf(n)}return o=>new o})}function Tf(i){return Dy(i)?()=>{let e=Tf(hi(i));return e&&e()}:zo(i)}function m1(i,e,r,t,n){let o=i,s=e;for(;o!==null&&s!==null&&s[le]&2048&&!(s[le]&512);){let a=vx(o,s,r,t|Se.Self,Gn);if(a!==Gn)return a;let l=o.parent;if(!l){let c=s[qy];if(c){let d=c.get(r,Gn,t);if(d!==Gn)return d}l=yx(s),s=s[Gs]}o=l}return n}function yx(i){let e=i[_e],r=e.type;return r===2?e.declTNode:r===1?i[zi]:null}function $i(i){return c1(ei(),i)}var kd="__parameters__";function f1(i){return function(...r){if(i){let t=i(...r);for(let n in t)this[n]=t[n]}}}function xx(i,e,r){return gl(()=>{let t=f1(e);function n(...o){if(this instanceof n)return t.apply(this,o),this;let s=new n(...o);return a.annotation=s,a;function a(l,c,d){let u=l.hasOwnProperty(kd)?l[kd]:Object.defineProperty(l,kd,{value:[]})[kd];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return r&&(n.prototype=Object.create(r.prototype)),n.prototype.ngMetadataName=i,n.annotationCls=n,n})}function p1(i){return typeof i=="function"}function g1(i,e,r){if(i.length!==e.length)return!1;for(let t=0;tArray.isArray(r)?jp(r,e):e(r))}function wx(i,e,r){e>=i.length?i.push(r):i.splice(e,0,r)}function qd(i,e){return e>=i.length-1?i.pop():i.splice(e,1)[0]}function Cx(i,e){let r=[];for(let t=0;te;){let o=n-2;i[n]=i[o],n--}i[e]=r,i[e+1]=t}}function fu(i,e,r){let t=yl(i,e);return t>=0?i[t|1]=r:(t=~t,b1(i,t,e,r)),t}function of(i,e){let r=yl(i,e);if(r>=0)return i[r|1]}function yl(i,e){return v1(i,e,1)}function v1(i,e,r){let t=0,n=i.length>>r;for(;n!==t;){let o=t+(n-t>>1),s=i[o<e?n=o:t=o+1}return~(n<{r.push(s)};return jp(e,s=>{let a=s;Mf(a,o,[],t)&&(n||=[],n.push(a))}),n!==void 0&&Ix(n,o),r}function Ix(i,e){for(let r=0;r{e(o,t)})}}function Mf(i,e,r,t){if(i=hi(i),!i)return!1;let n=null,o=j0(i),s=!o&&Vo(i);if(!o&&!s){let l=i.ngModule;if(o=j0(l),o)n=l;else return!1}else{if(s&&!s.standalone)return!1;n=i}let a=t.has(n);if(s){if(a)return!1;if(t.add(n),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Mf(c,e,r,t)}}else if(o){if(o.imports!=null&&!a){t.add(n);let c;try{jp(o.imports,d=>{Mf(d,e,r,t)&&(c||=[],c.push(d))})}finally{}c!==void 0&&Ix(c,e)}if(!a){let c=zo(n)||(()=>new n);e({provide:n,useFactory:c,deps:wi},n),e({provide:Ex,useValue:n,multi:!0},n),e({provide:Hs,useValue:()=>v(n),multi:!0},n)}let l=o.providers;if(l!=null&&!a){let c=i;Bp(l,d=>{e(d,c)})}}else return!1;return n!==i&&i.providers!==void 0}function Bp(i,e){for(let r of i)Ey(r)&&(r=r.\u0275providers),Array.isArray(r)?Bp(r,e):e(r)}var x1=Qe({provide:String,useValue:Qe});function Sx(i){return i!==null&&typeof i=="object"&&x1 in i}function w1(i){return!!(i&&i.useExisting)}function C1(i){return!!(i&&i.useFactory)}function Us(i){return typeof i=="function"}function D1(i){return!!i.useClass}var pu=new I("Set Injector scope."),Nd={},E1={},sf;function zp(){return sf===void 0&&(sf=new Gd),sf}var Ci=class{},cl=class extends Ci{get destroyed(){return this._destroyed}constructor(e,r,t,n){super(),this.parent=r,this.source=t,this.scopes=n,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Rf(e,s=>this.processProvider(s)),this.records.set(Dx,Fs(void 0,this)),n.has("environment")&&this.records.set(Ci,Fs(void 0,this));let o=this.records.get(pu);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Ex,wi,Se.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Wr(this),t=yi(void 0),n;try{return e()}finally{Wr(r),yi(t)}}get(e,r=rl,t=Se.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(L0))return e[L0](this);t=au(t);let n,o=Wr(this),s=yi(void 0);try{if(!(t&Se.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=M1(e)&&su(e);c&&this.injectableDefInScope(c)?l=Fs(Af(e),Nd):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=t&Se.Self?zp():this.parent;return r=t&Se.Optional&&r===rl?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[jd]=a[jd]||[]).unshift(Kt(e)),o)throw a;return cA(a,e,"R3InjectorError",this.source)}else throw a}finally{yi(s),Wr(o)}}resolveInjectorInitializers(){let e=Wr(this),r=yi(void 0),t;try{let n=this.get(Hs,wi,Se.Self);for(let o of n)o()}finally{Wr(e),yi(r)}}toString(){let e=[],r=this.records;for(let t of r.keys())e.push(Kt(t));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new A(205,!1)}processProvider(e){e=hi(e);let r=Us(e)?e:hi(e&&e.provide),t=I1(e);if(!Us(e)&&e.multi===!0){let n=this.records.get(r);n||(n=Fs(void 0,Nd,!0),n.factory=()=>wf(n.multi),this.records.set(r,n)),r=e,n.multi.push(e)}else{let n=this.records.get(r)}this.records.set(r,t)}hydrate(e,r){return r.value===Nd&&(r.value=E1,r.value=r.factory()),typeof r.value=="object"&&r.value&&T1(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(e){if(!e.providedIn)return!1;let r=hi(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function Af(i){let e=su(i),r=e!==null?e.factory:zo(i);if(r!==null)return r;if(i instanceof I)throw new A(204,!1);if(i instanceof Function)return k1(i);throw new A(204,!1)}function k1(i){let e=i.length;if(e>0){let t=Cx(e,"?");throw new A(204,!1)}let r=eA(i);return r!==null?()=>r.factory(i):()=>new i}function I1(i){if(Sx(i))return Fs(void 0,i.useValue);{let e=Tx(i);return Fs(e,Nd)}}function Tx(i,e,r){let t;if(Us(i)){let n=hi(i);return zo(n)||Af(n)}else if(Sx(i))t=()=>hi(i.useValue);else if(C1(i))t=()=>i.useFactory(...wf(i.deps||[]));else if(w1(i))t=()=>v(hi(i.useExisting));else{let n=hi(i&&(i.useClass||i.provide));if(S1(i))t=()=>new n(...wf(i.deps));else return zo(n)||Af(n)}return t}function Fs(i,e,r=!1){return{factory:i,value:e,multi:r?[]:void 0}}function S1(i){return!!i.deps}function T1(i){return i!==null&&typeof i=="object"&&typeof i.ngOnDestroy=="function"}function M1(i){return typeof i=="function"||typeof i=="object"&&i instanceof I}function Rf(i,e){for(let r of i)Array.isArray(r)?Rf(r,e):r&&Ey(r)?Rf(r.\u0275providers,e):e(r)}function Cr(i,e){i instanceof cl&&i.assertNotDestroyed();let r,t=Wr(i),n=yi(void 0);try{return e()}finally{Wr(t),yi(n)}}function Z0(i,e=null,r=null,t){let n=Mx(i,e,r,t);return n.resolveInjectorInitializers(),n}function Mx(i,e=null,r=null,t,n=new Set){let o=[r||wi,y1(i)];return t=t||(typeof i=="object"?void 0:Kt(i)),new cl(o,e||zp(),t||null,n)}var Pe=(()=>{let e=class e{static create(t,n){if(Array.isArray(t))return Z0({name:""},n,t,"");{let o=t.name??"";return Z0({name:o},t.parent,t.providers,o)}}};e.THROW_IF_NOT_FOUND=rl,e.NULL=new Gd,e.\u0275prov=D({token:e,providedIn:"any",factory:()=>v(Dx)}),e.__NG_ELEMENT_ID__=-1;let i=e;return i})();var Of;function Ax(i){Of=i}function Rx(){if(Of!==void 0)return Of;if(typeof document<"u")return document;throw new A(210,!1)}var xl=new I("AppId",{providedIn:"root",factory:()=>A1}),A1="ng",$p=new I("Platform Initializer"),Zn=new I("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var Me=new I("AnimationModuleType"),wl=new I("CSP nonce",{providedIn:"root",factory:()=>Rx().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Ox(i){return i instanceof Function?i():i}function Fx(i){return(i.flags&128)===128}var vr=function(i){return i[i.Important=1]="Important",i[i.DashCase=2]="DashCase",i}(vr||{}),R1=/^>|^->||--!>|)/g,F1="\u200B$1\u200B";function N1(i){return i.replace(R1,e=>e.replace(O1,F1))}var Nx=new Map,P1=0;function L1(){return P1++}function V1(i){Nx.set(i[lu],i)}function j1(i){Nx.delete(i[lu])}var X0="__ngContext__";function Qr(i,e){Yr(e)?(i[X0]=e[lu],V1(e)):i[X0]=e}var B1;function Hp(i,e){return B1(i,e)}function Up(i){let e=i[At];return Mn(e)?e[At]:e}function Px(i){return Vx(i[al])}function Lx(i){return Vx(i[Tn])}function Vx(i){for(;i!==null&&!Mn(i);)i=i[Tn];return i}function Ns(i,e,r,t,n){if(t!=null){let o,s=!1;Mn(t)?o=t:Yr(t)&&(s=!0,t=t[Kn]);let a=Qn(t);i===0&&r!==null?n==null?$x(e,r,a):Wd(e,r,a,n||null,!0):i===1&&r!==null?Wd(e,r,a,n||null,!0):i===2?nR(e,a,s):i===3&&e.destroyNode(a),o!=null&&oR(e,i,o,r,n)}}function z1(i,e){return i.createText(e)}function $1(i,e,r){i.setValue(e,r)}function H1(i,e){return i.createComment(N1(e))}function jx(i,e,r){return i.createElement(e,r)}function U1(i,e){let r=e[ct];Cl(i,e,r,2,null,null),e[Kn]=null,e[zi]=null}function q1(i,e,r,t,n,o){t[Kn]=n,t[zi]=e,Cl(i,t,r,1,n,o)}function G1(i,e){Cl(i,e,e[ct],2,null,null)}function W1(i){let e=i[al];if(!e)return af(i[_e],i);for(;e;){let r=null;if(Yr(e))r=e[al];else{let t=e[Xt];t&&(r=t)}if(!r){for(;e&&!e[Tn]&&e!==i;)Yr(e)&&af(e[_e],e),e=e[At];e===null&&(e=i),Yr(e)&&af(e[_e],e),r=e&&e[Tn]}e=r}}function Y1(i,e,r,t){let n=Xt+t,o=r.length;t>0&&(r[n-1][Tn]=e),t0&&(i[r-1][Tn]=t[Tn]);let o=qd(i,Xt+e);U1(t[_e],t);let s=o[Wn];s!==null&&s.detachView(o[_e]),t[At]=null,t[Tn]=null,t[le]&=-129}return t}function gu(i,e){if(!(e[le]&256)){let r=e[ct];r.destroyNode&&Cl(i,e,r,3,null,null),W1(e)}}function af(i,e){if(!(e[le]&256)){e[le]&=-129,e[le]|=256,e[jo]&&e0(e[jo]),Z1(i,e),K1(i,e),e[_e].type===1&&e[ct].destroy();let r=e[_l];if(r!==null&&Mn(e[At])){r!==e[At]&&Bx(r,e);let t=e[Wn];t!==null&&t.detachView(i)}j1(e)}}function K1(i,e){let r=i.cleanup,t=e[sl];if(r!==null)for(let o=0;o=0?t[s]():t[-s].unsubscribe(),o+=2}else{let s=t[r[o+1]];r[o].call(s)}t!==null&&(e[sl]=null);let n=e[nl];if(n!==null){e[nl]=null;for(let o=0;o-1){let{encapsulation:o}=i.data[t.directiveStart+n];if(o===Yn.None||o===Yn.Emulated)return null}return sn(t,r)}}function Wd(i,e,r,t,n){i.insertBefore(e,r,t,n)}function $x(i,e,r){i.appendChild(e,r)}function J0(i,e,r,t,n){t!==null?Wd(i,e,r,t,n):$x(i,e,r)}function J1(i,e,r,t){i.removeChild(e,r,t)}function qp(i,e){return i.parentNode(e)}function eR(i,e){return i.nextSibling(e)}function Hx(i,e,r){return iR(i,e,r)}function tR(i,e,r){return i.type&40?sn(i,r):null}var iR=tR,ey;function _u(i,e,r,t){let n=zx(i,t,e),o=e[ct],s=t.parent||e[zi],a=Hx(s,t,e);if(n!=null)if(Array.isArray(r))for(let l=0;li,createScript:i=>i,createScriptURL:i=>i})}catch{}return Id}function bu(i){return lR()?.createHTML(i)||i}var Sd;function Yx(){if(Sd===void 0&&(Sd=null,ji.trustedTypes))try{Sd=ji.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return Sd}function ty(i){return Yx()?.createHTML(i)||i}function iy(i){return Yx()?.createScriptURL(i)||i}var yr=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ky})`}},Nf=class extends yr{getTypeName(){return"HTML"}},Pf=class extends yr{getTypeName(){return"Style"}},Lf=class extends yr{getTypeName(){return"Script"}},Vf=class extends yr{getTypeName(){return"URL"}},jf=class extends yr{getTypeName(){return"ResourceURL"}};function an(i){return i instanceof yr?i.changingThisBreaksApplicationSecurity:i}function Dr(i,e){let r=cR(i);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${ky})`)}return r===e}function cR(i){return i instanceof yr&&i.getTypeName()||null}function Qx(i){return new Nf(i)}function Kx(i){return new Pf(i)}function Zx(i){return new Lf(i)}function Xx(i){return new Vf(i)}function Jx(i){return new jf(i)}function dR(i){let e=new zf(i);return uR()?new Bf(e):e}var Bf=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let r=new window.DOMParser().parseFromString(bu(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},zf=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=bu(e),r}};function uR(){try{return!!new window.DOMParser().parseFromString(bu(""),"text/html")}catch{return!1}}var hR=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function vu(i){return i=String(i),i.match(hR)?i:"unsafe:"+i}function Er(i){let e={};for(let r of i.split(","))e[r]=!0;return e}function Dl(...i){let e={};for(let r of i)for(let t in r)r.hasOwnProperty(t)&&(e[t]=!0);return e}var ew=Er("area,br,col,hr,img,wbr"),tw=Er("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),iw=Er("rp,rt"),mR=Dl(iw,tw),fR=Dl(tw,Er("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),pR=Dl(iw,Er("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ny=Dl(ew,fR,pR,mR),nw=Er("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),gR=Er("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),_R=Er("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),bR=Dl(nw,gR,_R),vR=Er("script,style,template"),$f=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,t=!0;for(;r;){if(r.nodeType===Node.ELEMENT_NODE?t=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,t&&r.firstChild){r=r.firstChild;continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let n=this.checkClobberedElement(r,r.nextSibling);if(n){r=n;break}r=this.checkClobberedElement(r,r.parentNode)}}return this.buf.join("")}startElement(e){let r=e.nodeName.toLowerCase();if(!ny.hasOwnProperty(r))return this.sanitizedSomething=!0,!vR.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let t=e.attributes;for(let n=0;n"),!0}endElement(e){let r=e.nodeName.toLowerCase();ny.hasOwnProperty(r)&&!ew.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(ry(e))}checkClobberedElement(e,r){if(r&&(e.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return r}},yR=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xR=/([^\#-~ |!])/g;function ry(i){return i.replace(/&/g,"&").replace(yR,function(e){let r=e.charCodeAt(0),t=e.charCodeAt(1);return"&#"+((r-55296)*1024+(t-56320)+65536)+";"}).replace(xR,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var Td;function Wp(i,e){let r=null;try{Td=Td||dR(i);let t=e?String(e):"";r=Td.getInertBodyElement(t);let n=5,o=t;do{if(n===0)throw new Error("Failed to sanitize html because the input is unstable");n--,t=o,o=r.innerHTML,r=Td.getInertBodyElement(t)}while(t!==o);let a=new $f().sanitizeChildren(oy(r)||r);return bu(a)}finally{if(r){let t=oy(r)||r;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function oy(i){return"content"in i&&wR(i)?i.content:null}function wR(i){return i.nodeType===Node.ELEMENT_NODE&&i.nodeName==="TEMPLATE"}var Hi=function(i){return i[i.NONE=0]="NONE",i[i.HTML=1]="HTML",i[i.STYLE=2]="STYLE",i[i.SCRIPT=3]="SCRIPT",i[i.URL=4]="URL",i[i.RESOURCE_URL=5]="RESOURCE_URL",i}(Hi||{});function Yp(i){let e=Kp();return e?ty(e.sanitize(Hi.HTML,i)||""):Dr(i,"HTML")?ty(an(i)):Wp(Rx(),xi(i))}function Qp(i){let e=Kp();return e?e.sanitize(Hi.URL,i)||"":Dr(i,"URL")?an(i):vu(xi(i))}function CR(i){let e=Kp();if(e)return iy(e.sanitize(Hi.RESOURCE_URL,i)||"");if(Dr(i,"ResourceURL"))return iy(an(i));throw new A(904,!1)}function DR(i,e){return e==="src"&&(i==="embed"||i==="frame"||i==="iframe"||i==="media"||i==="script")||e==="href"&&(i==="base"||i==="link")?CR:Qp}function rw(i,e,r){return DR(e,r)(i)}function Kp(){let i=pe();return i&&i[_r].sanitizer}var Hf=class{};var ER="h",kR="b";var IR=(i,e,r)=>null;function Zp(i,e,r=!1){return IR(i,e,r)}var Uf=class{},Yd=class{};function SR(i){let e=Error(`No component factory found for ${Kt(i)}.`);return e[TR]=i,e}var TR="ngComponent";var qf=class{resolveComponentFactory(e){throw SR(e)}},Xn=(()=>{let e=class e{};e.NULL=new qf;let i=e;return i})();function MR(){return Ws(ei(),pe())}function Ws(i,e){return new F(sn(i,e))}var F=(()=>{let e=class e{constructor(t){this.nativeElement=t}};e.__NG_ELEMENT_ID__=MR;let i=e;return i})();function AR(i){return i instanceof F?i.nativeElement:i}var qo=class{},Jn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>RR();let i=e;return i})();function RR(){let i=pe(),e=ei(),r=Xr(e.index,i);return(Yr(r)?r:i)[ct]}var OR=(()=>{let e=class e{};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>null});let i=e;return i})(),lf={};function El(i,e){let r=s0(i),t=r[Wa];return e?.equal&&(t.equal=e.equal),r.set=n=>Vm(t,n),r.update=n=>a0(t,n),r.asReadonly=FR.bind(r),r}function FR(){let i=this[Wa];if(i.readonlyFn===void 0){let e=()=>this();e[Wa]=i,i.readonlyFn=e}return i.readonlyFn}function Xp(i){let e=Ft(null);try{return i()}finally{Ft(e)}}function ow(i){return Jp(i)?Array.isArray(i)||!(i instanceof Map)&&Symbol.iterator in i:!1}function NR(i,e){if(Array.isArray(i))for(let r=0;re,Wf=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||PR}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,t=this._removalsHead,n=0,o=null;for(;r||t;){let s=!t||r&&r.currentIndex{s=this._trackByFn(n,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,n),t=!0):(t&&(r=this._verifyReinsertion(r,a,s,n)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,n++}),this.length=n;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,t,n){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(t,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,n)):(e=this._linkedRecords===null?null:this._linkedRecords.get(t,n),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,n)):e=this._addAfter(new Yf(r,t),o,n)),e}_verifyReinsertion(e,r,t,n){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(t,null);return o!==null?e=this._reinsertAfter(o,e._prev,n):e.currentIndex!=n&&(e.currentIndex=n,this._addToMoves(e,n)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,t){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let n=e._prevRemoved,o=e._nextRemoved;return n===null?this._removalsHead=o:n._nextRemoved=o,o===null?this._removalsTail=n:o._prevRemoved=n,this._insertAfter(e,r,t),this._addToMoves(e,t),e}_moveAfter(e,r,t){return this._unlink(e),this._insertAfter(e,r,t),this._addToMoves(e,t),e}_addAfter(e,r,t){return this._insertAfter(e,r,t),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,t){let n=r===null?this._itHead:r._next;return e._next=n,e._prev=r,n===null?this._itTail=e:n._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new Qd),this._linkedRecords.put(e),e.currentIndex=t,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,t=e._next;return r===null?this._itHead=t:r._next=t,t===null?this._itTail=r:t._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Qd),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Yf=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Qf=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let t;for(t=this._head;t!==null;t=t._nextDup)if((r===null||r<=t.currentIndex)&&Object.is(t.trackById,e))return t;return null}remove(e){let r=e._prevDup,t=e._nextDup;return r===null?this._head=t:r._nextDup=t,t===null?this._tail=r:t._prevDup=r,this._head===null}},Qd=class{constructor(){this.map=new Map}put(e){let r=e.trackById,t=this.map.get(r);t||(t=new Qf,this.map.set(r,t)),t.add(e)}get(e,r){let t=e,n=this.map.get(t);return n?n.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function sy(i,e,r){let t=i.previousIndex;if(t===null)return t;let n=0;return r&&t{if(r&&r.key===n)this._maybeAddToChanges(r,t),this._appendAfter=r,r=r._next;else{let o=this._getOrCreateRecordForKey(n,t);r=this._insertBeforeOrAppend(r,o)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let t=r;t!==null;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let t=e._prev;return r._next=e,r._prev=t,e._prev=r,t&&(t._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let n=this._records.get(e);this._maybeAddToChanges(n,r);let o=n._prev,s=n._next;return o&&(o._next=s),s&&(s._prev=o),n._next=null,n._prev=null,n}let t=new Xf(e);return this._records.set(e,t),t.currentValue=r,this._addToAdditions(t),t}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(t=>r(e[t],t))}},Xf=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function ay(){return new yu([new Gf])}var yu=(()=>{let e=class e{constructor(t){this.factories=t}static create(t,n){if(n!=null){let o=n.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||ay()),deps:[[e,new Zo,new Jr]]}}find(t){let n=this.factories.find(o=>o.supports(t));if(n!=null)return n;throw new A(901,!1)}};e.\u0275prov=D({token:e,providedIn:"root",factory:ay});let i=e;return i})();function ly(){return new eg([new Kf])}var eg=(()=>{let e=class e{constructor(t){this.factories=t}static create(t,n){if(n){let o=n.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||ly()),deps:[[e,new Zo,new Jr]]}}find(t){let n=this.factories.find(o=>o.supports(t));if(n)return n;throw new A(901,!1)}};e.\u0275prov=D({token:e,providedIn:"root",factory:ly});let i=e;return i})();function Kd(i,e,r,t,n=!1){for(;r!==null;){let o=e[r.index];o!==null&&t.push(Qn(o)),Mn(o)&&LR(o,t);let s=r.type;if(s&8)Kd(i,e,r.child,t);else if(s&32){let a=Hp(r,e),l;for(;l=a();)t.push(l)}else if(s&16){let a=Ux(e,r);if(Array.isArray(a))t.push(...a);else{let l=Up(e[on]);Kd(l[_e],l,a,t,!0)}}r=n?r.projectionNext:r.next}return t}function LR(i,e){for(let r=Xt;r{ll(i.lView)},consumerOnSignalRead(){this.lView[jo]=this}}),$R="ngOriginalError";function cf(i){return i[$R]}var xr=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&cf(e);for(;r&&cf(r);)r=cf(r);return r||null}},aw=new I("",{providedIn:"root",factory:()=>C(xr).handleError.bind(void 0)});var lw=!1,HR=new I("",{providedIn:"root",factory:()=>lw});var ti={};function _(i){cw(ht(),pe(),An()+i,!1)}function cw(i,e,r,t){if(!t)if((e[le]&3)===3){let o=i.preOrderCheckHooks;o!==null&&Rd(e,o,r)}else{let o=i.preOrderHooks;o!==null&&Od(e,o,0,r)}$o(r)}function h(i,e=Se.Default){let r=pe();if(r===null)return v(i,e);let t=ei();return bx(t,r,hi(i),e)}function Ys(){let i="invalid";throw new Error(i)}function UR(i,e){let r=i.hostBindingOpCodes;if(r!==null)try{for(let t=0;tJt&&cw(i,e,Jt,!1),qn(s?2:0,n),r(t,n)}finally{$o(o),qn(s?3:1,n)}}function tg(i,e,r){if(Sp(e)){let t=Ft(null);try{let n=e.directiveStart,o=e.directiveEnd;for(let s=n;snull;function KR(i,e,r,t){let n=bw(e);n.push(r),i.firstCreatePass&&vw(i).push(t,n.length-1)}function ZR(i,e,r,t,n,o){let s=e?e.injectorIndex:-1,a=0;return tx()&&(a|=128),{type:r,index:t,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:n,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function cy(i,e,r,t){for(let n in i)if(i.hasOwnProperty(n)){r=r===null?{}:r;let o=i[n];t===null?dy(r,e,n,o):t.hasOwnProperty(n)&&dy(r,e,t[n],o)}return r}function dy(i,e,r,t){i.hasOwnProperty(r)?i[r].push(e,t):i[r]=[e,t]}function XR(i,e,r){let t=e.directiveStart,n=e.directiveEnd,o=i.data,s=e.attrs,a=[],l=null,c=null;for(let d=t;d0;){let r=i[--e];if(typeof r=="number"&&r<0)return r}return 0}function nO(i,e,r,t){let n=r.directiveStart,o=r.directiveEnd;cu(r)&&dO(e,r,i.data[n+r.componentOffset]),i.firstCreatePass||Ud(r,e),Qr(t,e);let s=r.initialInputs;for(let a=n;a-1&&(dl(e,t),qd(r,t))}this._attachedToViewContainer=!1}gu(this._lView[_e],this._lView)}onDestroy(e){VA(this._lView,e)}markForCheck(){ag(this._cdRefInjectingView||this._lView)}detach(){this._lView[le]&=-129}reattach(){Ef(this._lView),this._lView[le]|=128}detectChanges(){this._lView[le]|=1024,gO(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new A(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,G1(this._lView[_e],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new A(902,!1);this._appRef=e,Ef(this._lView)}},Ie=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=wO;let i=e;return i})();function wO(i){return CO(ei(),pe(),(i&16)===16)}function CO(i,e,r){if(cu(i)&&!r){let t=Xr(i.index,e);return new Go(t,t)}else if(i.type&47){let t=e[on];return new Go(t,e)}return null}var uy=new Set;function kl(i){uy.has(i)||(uy.add(i),performance?.mark?.("mark_feature_usage",{detail:{feature:i}}))}var ip=class extends S{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,r,t){let n=e,o=r||(()=>null),s=t;if(e&&typeof e=="object"){let l=e;n=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=df(o),n&&(n=df(n)),s&&(s=df(s)));let a=super.subscribe({next:n,error:o,complete:s});return e instanceof ie&&e.add(a),a}};function df(i){return e=>{setTimeout(i,void 0,e)}}var O=ip;function hy(...i){}function DO(){let i=typeof ji.requestAnimationFrame=="function",e=ji[i?"requestAnimationFrame":"setTimeout"],r=ji[i?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&r){let t=e[Zone.__symbol__("OriginalDelegate")];t&&(e=t);let n=r[Zone.__symbol__("OriginalDelegate")];n&&(r=n)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:r}}var N=class i{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new O(!1),this.onMicrotaskEmpty=new O(!1),this.onStable=new O(!1),this.onError=new O(!1),typeof Zone>"u")throw new A(908,!1);Zone.assertZonePatched();let n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=!t&&r,n.shouldCoalesceRunChangeDetection=t,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=DO().nativeRequestAnimationFrame,IO(n)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!i.isInAngularZone())throw new A(909,!1)}static assertNotInAngularZone(){if(i.isInAngularZone())throw new A(909,!1)}run(e,r,t){return this._inner.run(e,r,t)}runTask(e,r,t,n){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+n,e,EO,hy,hy);try{return o.runTask(s,r,t)}finally{o.cancelTask(s)}}runGuarded(e,r,t){return this._inner.runGuarded(e,r,t)}runOutsideAngular(e){return this._outer.run(e)}},EO={};function lg(i){if(i._nesting==0&&!i.hasPendingMicrotasks&&!i.isStable)try{i._nesting++,i.onMicrotaskEmpty.emit(null)}finally{if(i._nesting--,!i.hasPendingMicrotasks)try{i.runOutsideAngular(()=>i.onStable.emit(null))}finally{i.isStable=!0}}}function kO(i){i.isCheckStableRunning||i.lastRequestAnimationFrameId!==-1||(i.lastRequestAnimationFrameId=i.nativeRequestAnimationFrame.call(ji,()=>{i.fakeTopEventTask||(i.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{i.lastRequestAnimationFrameId=-1,np(i),i.isCheckStableRunning=!0,lg(i),i.isCheckStableRunning=!1},void 0,()=>{},()=>{})),i.fakeTopEventTask.invoke()}),np(i))}function IO(i){let e=()=>{kO(i)};i._inner=i._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,t,n,o,s,a)=>{if(SO(a))return r.invokeTask(n,o,s,a);try{return my(i),r.invokeTask(n,o,s,a)}finally{(i.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||i.shouldCoalesceRunChangeDetection)&&e(),fy(i)}},onInvoke:(r,t,n,o,s,a,l)=>{try{return my(i),r.invoke(n,o,s,a,l)}finally{i.shouldCoalesceRunChangeDetection&&e(),fy(i)}},onHasTask:(r,t,n,o)=>{r.hasTask(n,o),t===n&&(o.change=="microTask"?(i._hasPendingMicrotasks=o.microTask,np(i),lg(i)):o.change=="macroTask"&&(i.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,t,n,o)=>(r.handleError(n,o),i.runOutsideAngular(()=>i.onError.emit(o)),!1)})}function np(i){i._hasPendingMicrotasks||(i.shouldCoalesceEventChangeDetection||i.shouldCoalesceRunChangeDetection)&&i.lastRequestAnimationFrameId!==-1?i.hasPendingMicrotasks=!0:i.hasPendingMicrotasks=!1}function my(i){i._nesting++,i.isStable&&(i.isStable=!1,i.onUnstable.emit(null))}function fy(i){i._nesting--,lg(i)}function SO(i){return!Array.isArray(i)||i.length!==1?!1:i[0].data?.__ignore_ng_zone__===!0}var TO=(()=>{let e=class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,this.renderDepth===0){for(let t of this.internalCallbacks)t();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e});let i=e;return i})();function MO(i,e){let r=Xr(e,i),t=r[_e];AO(t,r);let n=r[Kn];n!==null&&r[Vs]===null&&(r[Vs]=Zp(n,r[js])),cg(t,r,r[Zt])}function AO(i,e){for(let r=e.length;r0&&Gx(i,r,o.join(" "))}}function jO(i,e,r){let t=i.projection=[];for(let n=0;n=0;t--){let n=i[t];n.hostVars=e+=n.hostVars,n.hostAttrs=ol(n.hostAttrs,r=ol(r,n.hostAttrs))}}function Md(i){return i===Ls?{}:i===wi?[]:i}function HO(i,e){let r=i.viewQuery;r?i.viewQuery=(t,n)=>{e(t,n),r(t,n)}:i.viewQuery=e}function UO(i,e){let r=i.contentQueries;r?i.contentQueries=(t,n,o)=>{e(t,n,o),r(t,n,o)}:i.contentQueries=e}function qO(i,e){let r=i.hostBindings;r?i.hostBindings=(t,n)=>{e(t,n),r(t,n)}:i.hostBindings=e}function Je(i){let e=i.inputConfig,r={};for(let t in e)if(e.hasOwnProperty(t)){let n=e[t];Array.isArray(n)&&n[2]&&(r[t]=n[2])}i.inputTransforms=r}function GO(i,e,r){return i[e]=r}function Bi(i,e,r){let t=i[e];return Object.is(t,r)?!1:(i[e]=r,!0)}function Jd(i,e,r,t){let n=Bi(i,e,r);return Bi(i,e+1,t)||n}function WO(i,e,r,t,n){let o=Jd(i,e,r,t);return Bi(i,e+2,n)||o}function YO(i,e,r,t,n,o){let s=Jd(i,e,r,t);return Jd(i,e+2,n,o)||s}function Y(i,e,r,t){let n=pe(),o=Qo();if(Bi(n,o,e)){let s=ht(),a=vl();uO(a,n,i,e,r,t)}return Y}function dg(i,e,r,t){return Bi(i,Qo(),r)?e+xi(r)+t:ti}function QO(i,e,r,t,n,o){let s=Op(),a=Jd(i,s,r,n);return bl(2),a?e+xi(r)+t+xi(n)+o:ti}function KO(i,e,r,t,n,o,s,a){let l=Op(),c=WO(i,l,r,n,s);return bl(3),c?e+xi(r)+t+xi(n)+o+xi(s)+a:ti}function ZO(i,e,r,t,n,o,s,a,l,c){let d=Op(),u=YO(i,d,r,n,s,l);return bl(4),u?e+xi(r)+t+xi(n)+o+xi(s)+a+xi(l)+c:ti}function Ad(i,e){return i<<17|e<<2}function Wo(i){return i>>17&32767}function XO(i){return(i&2)==2}function JO(i,e){return i&131071|e<<17}function sp(i){return i|2}function qs(i){return(i&131068)>>2}function uf(i,e){return i&-131069|e<<2}function eF(i){return(i&1)===1}function ap(i){return i|1}function tF(i,e,r,t,n,o){let s=o?e.classBindings:e.styleBindings,a=Wo(s),l=qs(s);i[t]=r;let c=!1,d;if(Array.isArray(r)){let u=r;d=u[1],(d===null||yl(u,d)>0)&&(c=!0)}else d=r;if(n)if(l!==0){let m=Wo(i[a+1]);i[t+1]=Ad(m,a),m!==0&&(i[m+1]=uf(i[m+1],t)),i[a+1]=JO(i[a+1],t)}else i[t+1]=Ad(a,0),a!==0&&(i[a+1]=uf(i[a+1],t)),a=t;else i[t+1]=Ad(l,0),a===0?a=t:i[l+1]=uf(i[l+1],t),l=t;c&&(i[t+1]=sp(i[t+1])),gy(i,d,t,!0,o),gy(i,d,t,!1,o),iF(e,d,i,t,o),s=Ad(a,l),o?e.classBindings=s:e.styleBindings=s}function iF(i,e,r,t,n){let o=n?i.residualClasses:i.residualStyles;o!=null&&typeof e=="string"&&yl(o,e)>=0&&(r[t+1]=ap(r[t+1]))}function gy(i,e,r,t,n){let o=i[r+1],s=e===null,a=t?Wo(o):qs(o),l=!1;for(;a!==0&&(l===!1||s);){let c=i[a],d=i[a+1];nF(c,e)&&(l=!0,i[a+1]=t?ap(d):sp(d)),a=t?Wo(d):qs(d)}l&&(i[r+1]=t?sp(o):ap(o))}function nF(i,e){return i===null||e==null||(Array.isArray(i)?i[1]:i)===e?!0:Array.isArray(i)&&typeof e=="string"?yl(i,e)>=0:!1}var Sn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function rF(i){return i.substring(Sn.key,Sn.keyEnd)}function oF(i){return sF(i),Ew(i,kw(i,0,Sn.textEnd))}function Ew(i,e){let r=Sn.textEnd;return r===e?-1:(e=Sn.keyEnd=aF(i,Sn.key=e,r),kw(i,e,r))}function sF(i){Sn.key=0,Sn.keyEnd=0,Sn.value=0,Sn.valueEnd=0,Sn.textEnd=i.length}function kw(i,e,r){for(;e32;)e++;return e}function y(i,e,r){let t=pe(),n=Qo();if(Bi(t,n,e)){let o=ht(),s=vl();wu(o,s,t,i,e,t[ct],r,!1)}return y}function lp(i,e,r,t,n){let o=e.inputs,s=n?"class":"style";sg(i,r,o[s],s,t)}function Lt(i,e,r){return Sw(i,e,r,!1),Lt}function Q(i,e){return Sw(i,e,null,!0),Q}function ii(i){Tw(mF,Iw,i,!0)}function Iw(i,e){for(let r=oF(e);r>=0;r=Ew(e,r))fu(i,rF(e),!0)}function Sw(i,e,r,t){let n=pe(),o=ht(),s=bl(2);if(o.firstUpdatePass&&Aw(o,i,s,t),e!==ti&&Bi(n,s,e)){let a=o.data[An()];Rw(o,a,n,n[ct],i,n[s+1]=pF(e,r),t,s)}}function Tw(i,e,r,t){let n=ht(),o=bl(2);n.firstUpdatePass&&Aw(n,null,o,t);let s=pe();if(r!==ti&&Bi(s,o,r)){let a=n.data[An()];if(Ow(a,t)&&!Mw(n,o)){let l=t?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(r=vf(l,r||"")),lp(n,a,s,r,t)}else fF(n,a,s,s[ct],s[o+1],s[o+1]=hF(i,e,r),t,o)}}function Mw(i,e){return e>=i.expandoStartIndex}function Aw(i,e,r,t){let n=i.data;if(n[r+1]===null){let o=n[An()],s=Mw(i,r);Ow(o,t)&&e===null&&!s&&(e=!1),e=lF(n,o,e,t),tF(n,o,e,r,s,t)}}function lF(i,e,r,t){let n=Fp(i),o=t?e.residualClasses:e.residualStyles;if(n===null)(t?e.classBindings:e.styleBindings)===0&&(r=hf(null,i,e,r,t),r=hl(r,e.attrs,t),o=null);else{let s=e.directiveStylingLast;if(s===-1||i[s]!==n)if(r=hf(n,i,e,r,t),o===null){let l=cF(i,e,t);l!==void 0&&Array.isArray(l)&&(l=hf(null,i,e,l[1],t),l=hl(l,e.attrs,t),dF(i,e,t,l))}else o=uF(i,e,t)}return o!==void 0&&(t?e.residualClasses=o:e.residualStyles=o),r}function cF(i,e,r){let t=r?e.classBindings:e.styleBindings;if(qs(t)!==0)return i[Wo(t)]}function dF(i,e,r,t){let n=r?e.classBindings:e.styleBindings;i[Wo(n)]=t}function uF(i,e,r){let t,n=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let l=i[n],c=Array.isArray(l),d=c?l[1]:l,u=d===null,m=r[n+1];m===ti&&(m=u?wi:void 0);let f=u?of(m,t):d===t?m:void 0;if(c&&!eu(f)&&(f=of(l,t)),eu(f)&&(a=f,s))return a;let b=i[n+1];n=s?Wo(b):qs(b)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=of(l,t))}return a}function eu(i){return i!==void 0}function pF(i,e){return i==null||i===""||(typeof e=="string"?i=i+e:typeof i=="object"&&(i=Kt(an(i)))),i}function Ow(i,e){return(i.flags&(e?8:16))!==0}function Fw(i,e,r){let t=pe(),n=dg(t,i,e,r);Tw(fu,Iw,n,!0)}var X7=new RegExp(`^(\\d+)*(${kR}|${ER})*(.*)`);var gF=(i,e)=>null;function ml(i,e){return gF(i,e)}var cp=class{destroy(e){}updateValue(e,r){}swap(e,r){let t=Math.min(e,r),n=Math.max(e,r),o=this.detach(n);if(n-t>1){let s=this.detach(t);this.attach(t,o),this.attach(n,s)}else this.attach(t,o)}move(e,r){this.attach(r,this.detach(e))}};function mf(i,e,r,t,n){return i===r&&Object.is(e,t)?1:Object.is(n(i,e),n(r,t))?-1:0}function _F(i,e,r){let t,n,o=0,s=i.length-1;if(Array.isArray(e)){let a=e.length-1;for(;o<=s&&o<=a;){let l=i.at(o),c=e[o],d=mf(o,l,o,c,r);if(d!==0){d<0&&i.updateValue(o,c),o++;continue}let u=i.at(s),m=e[a],f=mf(s,u,a,m,r);if(f!==0){f<0&&i.updateValue(s,m),s--,a--;continue}let b=r(o,l),w=r(s,u),T=r(o,c);if(Object.is(T,w)){let M=r(a,m);Object.is(M,b)?(i.swap(o,s),i.updateValue(s,m),a--,s--):i.move(s,o),i.updateValue(o,c),o++;continue}if(t??=new tu,n??=vy(i,o,s,r),dp(i,t,o,T))i.updateValue(o,c),o++,s++;else if(n.has(T))t.set(b,i.detach(o)),s--;else{let M=i.create(o,e[o]);i.attach(o,M),o++,s++}}for(;o<=a;)by(i,t,r,o,e[o]),o++}else if(e!=null){let a=e[Symbol.iterator](),l=a.next();for(;!l.done&&o<=s;){let c=i.at(o),d=l.value,u=mf(o,c,o,d,r);if(u!==0)u<0&&i.updateValue(o,d),o++,l=a.next();else{t??=new tu,n??=vy(i,o,s,r);let m=r(o,d);if(dp(i,t,o,m))i.updateValue(o,d),o++,s++,l=a.next();else if(!n.has(m))i.attach(o,i.create(o,d)),o++,s++,l=a.next();else{let f=r(o,c);t.set(f,i.detach(o)),s--}}}for(;!l.done;)by(i,t,r,i.length,l.value),l=a.next()}for(;o<=s;)i.destroy(i.detach(s--));t?.forEach(a=>{i.destroy(a)})}function dp(i,e,r,t){return e!==void 0&&e.has(t)?(i.attach(r,e.get(t)),e.delete(t),!0):!1}function by(i,e,r,t,n){if(dp(i,e,t,r(t,n)))i.updateValue(t,n);else{let o=i.create(t,n);i.attach(t,o)}}function vy(i,e,r,t){let n=new Set;for(let o=e;o<=r;o++)n.add(t(o,i.at(o)));return n}var tu=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let r=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(e,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,r){if(this.kvMap.has(e)){let t=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(t);)t=n.get(t);n.set(t,r)}else this.kvMap.set(e,r)}forEach(e){for(let[r,t]of this.kvMap)if(e(t,r),this._vMap!==void 0){let n=this._vMap;for(;n.has(t);)t=n.get(t),e(t,r)}}};function Eu(i,e,r,t){let n=e.tView,s=i[le]&4096?4096:16,a=xu(i,n,r,s,null,e,null,null,null,t?.injector??null,t?.dehydratedView??null),l=i[e.index];a[_l]=l;let c=i[Wn];return c!==null&&(a[Wn]=c.createEmbeddedView(n)),cg(n,a,r),a}function Nw(i,e){let r=Xt+e;if(r{let e=class e{};e.__NG_ELEMENT_ID__=bF;let i=e;return i})();function bF(){let i=ei();return Vw(i,pe())}var vF=vt,Lw=class extends vF{constructor(e,r,t){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=t}get element(){return Ws(this._hostTNode,this._hostLView)}get injector(){return new Lo(this._hostTNode,this._hostLView)}get parentInjector(){let e=Vp(this._hostTNode,this._hostLView);if(hx(e)){let r=$d(e,this._hostLView),t=zd(e),n=r[_e].data[t+8];return new Lo(n,r)}else return new Lo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=yy(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Xt}createEmbeddedView(e,r,t){let n,o;typeof t=="number"?n=t:t!=null&&(n=t.index,o=t.injector);let s=ml(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,n,fl(this._hostTNode,s)),a}createComponent(e,r,t,n,o){let s=e&&!p1(e),a;if(s)a=r;else{let b=r||{};a=b.index,t=b.injector,n=b.projectableNodes,o=b.environmentInjector||b.ngModuleRef}let l=s?e:new ul(Vo(e)),c=t||this.parentInjector;if(!o&&l.ngModule==null){let w=(s?c:this.parentInjector).get(Ci,null);w&&(o=w)}let d=Vo(l.componentType??{}),u=ml(this._lContainer,d?.id??null),m=u?.firstChild??null,f=l.create(c,n,m,o);return this.insertImpl(f.hostView,a,fl(this._hostTNode,u)),f}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,t){let n=e._lView;if(NA(n)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=n[At],c=new Lw(l,l[zi],l[At]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return ku(s,n,o,t),e.attachToViewContainerRef(),wx(ff(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=yy(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),t=dl(this._lContainer,r);t&&(qd(ff(this._lContainer),r),gu(t[_e],t))}detach(e){let r=this._adjustIndex(e,-1),t=dl(this._lContainer,r);return t&&qd(ff(this._lContainer),r)!=null?new Go(t):null}_adjustIndex(e,r=0){return e??this.length+r}};function yy(i){return i[Bd]}function ff(i){return i[Bd]||(i[Bd]=[])}function Vw(i,e){let r,t=e[i.index];return Mn(t)?r=t:(r=gw(t,e,null,i),e[i.index]=r,Cu(e,r)),xF(r,e,i,t),new Lw(r,i,e)}function yF(i,e){let r=i[ct],t=r.createComment(""),n=sn(e,i),o=qp(r,n);return Wd(r,o,t,eR(r,n),!1),t}var xF=DF,wF=(i,e,r)=>!1;function CF(i,e,r){return wF(i,e,r)}function DF(i,e,r,t){if(i[Bo])return;let n;r.type&8?n=Qn(t):n=yF(e,r),i[Bo]=n}function EF(i,e,r,t,n,o,s,a,l){let c=e.consts,d=Qs(e,i,4,s||null,$s(c,a));og(e,r,d,$s(c,l)),mu(e,d);let u=d.tView=rg(2,d,t,n,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,d),u.queries=e.queries.embeddedTView(d)),d}function V(i,e,r,t,n,o,s,a){let l=pe(),c=ht(),d=i+Jt,u=c.firstCreatePass?EF(d,c,l,e,r,t,n,o,s):c.data[d];Yo(u,!1);let m=kF(c,l,u,i);uu()&&_u(c,l,m,u),Qr(m,l);let f=gw(m,l,m,u);return l[d]=f,Cu(l,f),CF(f,u,l),du(u)&&ig(c,l,u),s!=null&&ng(l,u,a),V}var kF=IF;function IF(i,e,r,t){return hu(!0),e[ct].createComment("")}function Ae(i,e,r){kl("NgControlFlow");let t=pe(),n=Qo(),o=fp(t,Jt+i),s=0;if(Bi(t,n,e)){let a=Ft(null);try{if(Pw(o,s),e!==-1){let l=pp(t[_e],Jt+e),c=ml(o,l.tView.ssrId),d=Eu(t,l,r,{dehydratedView:c});ku(o,d,s,fl(l,c))}}finally{Ft(a)}}else{let a=Nw(o,s);a!==void 0&&(a[Zt]=r)}}var up=class{constructor(e,r,t){this.lContainer=e,this.$implicit=r,this.$index=t}get $count(){return this.lContainer.length-Xt}};function yt(i,e){return e}var hp=class{constructor(e,r,t){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=t}};function xt(i,e,r,t,n,o,s,a,l,c,d){kl("NgControlFlow");let u=l!==void 0,m=pe(),f=a?s.bind(m[on][Zt]):s,b=new hp(u,f);m[Jt+i]=b,V(i+1,e,r,t,n,o),u&&V(i+2,l,c,d)}var mp=class extends cp{constructor(e,r,t){super(),this.lContainer=e,this.hostLView=r,this.templateTNode=t,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Xt}at(e){return this.getLView(e)[Zt].$implicit}attach(e,r){let t=r[Vs];this.needsIndexUpdate||=e!==this.length,ku(this.lContainer,r,e,fl(this.templateTNode,t))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,SF(this.lContainer,e)}create(e,r){let t=ml(this.lContainer,this.templateTNode.tView.ssrId);return Eu(this.hostLView,this.templateTNode,new up(this.lContainer,r,e),{dehydratedView:t})}destroy(e){gu(e[_e],e)}updateValue(e,r){this.getLView(e)[Zt].$implicit=r}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(hu(!0),jx(t,n,JA()));function RF(i,e,r,t,n){let o=e.consts,s=$s(o,t),a=Qs(e,i,8,"ng-container",s);s!==null&&Zd(a,s,!0);let l=$s(o,n);return og(e,r,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function Iu(i,e,r){let t=pe(),n=ht(),o=i+Jt,s=n.firstCreatePass?RF(o,n,t,e,r):n.data[o];Yo(s,!0);let a=OF(n,t,s,i);return t[o]=a,uu()&&_u(n,t,a,s),Qr(a,t),du(s)&&(ig(n,t,s),tg(n,s,t)),r!=null&&ng(t,s),Iu}function Su(){let i=ei(),e=ht();return Ap()?Rp():(i=i.parent,Yo(i,!1)),e.firstCreatePass&&(mu(e,i),Sp(i)&&e.queries.elementEnd(i)),Su}var OF=(i,e,r,t)=>(hu(!0),H1(e[ct],""));function ni(){return pe()}function Wt(i,e,r){let t=pe(),n=Qo();if(Bi(t,n,e)){let o=ht(),s=vl();wu(o,s,t,i,e,t[ct],r,!0)}return Wt}function Xo(i,e,r){let t=pe(),n=Qo();if(Bi(t,n,e)){let o=ht(),s=vl(),a=Fp(o.data),l=yw(a,s,t);wu(o,s,t,i,e,l,r,!0)}return Xo}var Po=void 0;function FF(i){let e=i,r=Math.floor(Math.abs(i)),t=i.toString().replace(/^[^.]*\.?/,"").length;return r===1&&t===0?1:5}var NF=["en",[["a","p"],["AM","PM"],Po],[["AM","PM"],Po,Po],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Po,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Po,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Po,"{1} 'at' {0}",Po],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",FF],pf={};function ln(i){let e=PF(i),r=xy(e);if(r)return r;let t=e.split("-")[0];if(r=xy(t),r)return r;if(t==="en")return NF;throw new A(701,!1)}function xy(i){return i in pf||(pf[i]=ji.ng&&ji.ng.common&&ji.ng.common.locales&&ji.ng.common.locales[i]),pf[i]}var Ct=function(i){return i[i.LocaleId=0]="LocaleId",i[i.DayPeriodsFormat=1]="DayPeriodsFormat",i[i.DayPeriodsStandalone=2]="DayPeriodsStandalone",i[i.DaysFormat=3]="DaysFormat",i[i.DaysStandalone=4]="DaysStandalone",i[i.MonthsFormat=5]="MonthsFormat",i[i.MonthsStandalone=6]="MonthsStandalone",i[i.Eras=7]="Eras",i[i.FirstDayOfWeek=8]="FirstDayOfWeek",i[i.WeekendRange=9]="WeekendRange",i[i.DateFormat=10]="DateFormat",i[i.TimeFormat=11]="TimeFormat",i[i.DateTimeFormat=12]="DateTimeFormat",i[i.NumberSymbols=13]="NumberSymbols",i[i.NumberFormats=14]="NumberFormats",i[i.CurrencyCode=15]="CurrencyCode",i[i.CurrencySymbol=16]="CurrencySymbol",i[i.CurrencyName=17]="CurrencyName",i[i.Currencies=18]="Currencies",i[i.Directionality=19]="Directionality",i[i.PluralCase=20]="PluralCase",i[i.ExtraData=21]="ExtraData",i}(Ct||{});function PF(i){return i.toLowerCase().replace(/_/g,"-")}var iu="en-US";var LF=iu;function VF(i){XM(i,"Expected localeId to be defined"),typeof i=="string"&&(LF=i.toLowerCase().replace(/_/g,"-"))}function to(i){return!!i&&typeof i.then=="function"}function ug(i){return!!i&&typeof i.subscribe=="function"}function L(i,e,r,t){let n=pe(),o=ht(),s=ei();return jw(o,n,n[ct],s,i,e,t),L}function Il(i,e){let r=ei(),t=pe(),n=ht(),o=Fp(n.data),s=yw(o,r,t);return jw(n,t,s,r,i,e),Il}function jF(i,e,r,t){let n=i.cleanup;if(n!=null)for(let o=0;ol?a[l]:null}typeof s=="string"&&(o+=2)}return null}function jw(i,e,r,t,n,o,s){let a=du(t),c=i.firstCreatePass&&vw(i),d=e[Zt],u=bw(e),m=!0;if(t.type&3||s){let w=sn(t,e),T=s?s(w):w,M=u.length,ne=s?fe=>s(Qn(fe[t.index])):t.index,Ue=null;if(!s&&a&&(Ue=jF(i,e,n,t.index)),Ue!==null){let fe=Ue.__ngLastListenerFn__||Ue;fe.__ngNextListenerFn__=o,Ue.__ngLastListenerFn__=o,m=!1}else{o=Cy(t,e,d,o,!1);let fe=r.listen(T,n,o);u.push(o,fe),c&&c.push(n,ne,M,M+1)}}else o=Cy(t,e,d,o,!1);let f=t.outputs,b;if(m&&f!==null&&(b=f[n])){let w=b.length;if(w)for(let T=0;T-1?Xr(i.index,e):e;ag(a);let l=wy(e,r,t,s),c=o.__ngNextListenerFn__;for(;c;)l=wy(e,r,c,s)&&l,c=c.__ngNextListenerFn__;return n&&l===!1&&s.preventDefault(),l}}function j(i=1){return ZA(i)}function BF(i,e){let r=null,t=gA(i);for(let n=0;n=i.data.length&&(i.data[r]=null,i.blueprint[r]=null),e[r]=t}function Vt(i){let e=qA();return Zy(e,Jt+i)}function x(i,e=""){let r=pe(),t=ht(),n=i+Jt,o=t.firstCreatePass?Qs(t,n,1,e,null):t.data[n],s=$F(t,r,o,e,i);r[n]=s,uu()&&_u(t,r,s,o),Yo(o,!1)}var $F=(i,e,r,t,n)=>(hu(!0),z1(e[ct],t));function Ke(i){return Ge("",i,""),Ke}function Ge(i,e,r){let t=pe(),n=dg(t,i,e,r);return n!==ti&&Du(t,An(),n),Ge}function hg(i,e,r,t,n){let o=pe(),s=QO(o,i,e,r,t,n);return s!==ti&&Du(o,An(),s),hg}function mg(i,e,r,t,n,o,s){let a=pe(),l=KO(a,i,e,r,t,n,o,s);return l!==ti&&Du(a,An(),l),mg}function fg(i,e,r,t,n,o,s,a,l){let c=pe(),d=ZO(c,i,e,r,t,n,o,s,a,l);return d!==ti&&Du(c,An(),d),fg}function HF(i,e,r){let t=ht();if(t.firstCreatePass){let n=br(i);gp(r,t.data,t.blueprint,n,!0),gp(e,t.data,t.blueprint,n,!1)}}function gp(i,e,r,t,n){if(i=hi(i),Array.isArray(i))for(let o=0;o>20;if(Us(i)||!i.multi){let f=new Ho(c,n,h),b=_f(l,e,n?d:d+m,u);b===-1?(Sf(Ud(a,s),o,l),gf(o,i,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,n&&(a.providerIndexes+=1048576),r.push(f),s.push(f)):(r[b]=f,s[b]=f)}else{let f=_f(l,e,d+m,u),b=_f(l,e,d,d+m),w=f>=0&&r[f],T=b>=0&&r[b];if(n&&!T||!n&&!w){Sf(Ud(a,s),o,l);let M=GF(n?qF:UF,r.length,n,t,c);!n&&T&&(r[b].providerFactory=M),gf(o,i,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,n&&(a.providerIndexes+=1048576),r.push(M),s.push(M)}else{let M=zw(r[n?b:f],c,!n&&t);gf(o,i,f>-1?f:b,M)}!n&&t&&T&&r[b].componentProviders++}}}function gf(i,e,r,t){let n=Us(e),o=D1(e);if(n||o){let l=(o?hi(e.useClass):e).prototype.ngOnDestroy;if(l){let c=i.destroyHooks||(i.destroyHooks=[]);if(!n&&e.multi){let d=c.indexOf(r);d===-1?c.push(r,[t,l]):c[d+1].push(t,l)}else c.push(r,l)}}}function zw(i,e,r){return r&&i.componentProviders++,i.multi.push(e)-1}function _f(i,e,r,t){for(let n=r;n{r.providersResolver=(t,n)=>HF(t,n?n(i):i,e)}}var Kr=class{},pl=class{};var bp=class extends Kr{constructor(e,r,t){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Xd(this);let n=$y(e);this._bootstrapComponents=Ox(n.bootstrap),this._r3Injector=Mx(e,r,[{provide:Kr,useValue:this},{provide:Xn,useValue:this.componentFactoryResolver},...t],Kt(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},vp=class extends pl{constructor(e){super(),this.moduleType=e}create(e){return new bp(this.moduleType,e,[])}};var nu=class extends Kr{constructor(e){super(),this.componentFactoryResolver=new Xd(this),this.instance=null;let r=new cl([...e.providers,{provide:Kr,useValue:this},{provide:Xn,useValue:this.componentFactoryResolver}],e.parent||zp(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function pg(i,e,r=null){return new nu({providers:i,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var WF=(()=>{let e=class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let n=kx(!1,t.type),o=n.length>0?pg([n],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=D({token:e,providedIn:"environment",factory:()=>new e(v(Ci))});let i=e;return i})();function Ce(i){kl("NgStandalone"),i.getStandaloneInjector=e=>e.get(WF).getOrCreateStandaloneInjector(i)}function gg(i,e,r,t){return $w(pe(),nx(),i,e,r,t)}function YF(i,e){let r=i[e];return r===ti?void 0:r}function $w(i,e,r,t,n,o){let s=e+r;return Bi(i,s,n)?GO(i,s+1,o?t.call(o,n):t(n)):YF(i,s+1)}function Ks(i,e){let r=ht(),t,n=i+Jt;r.firstCreatePass?(t=QF(e,r.pipeRegistry),r.data[n]=t,t.onDestroy&&(r.destroyHooks??=[]).push(n,t.onDestroy)):t=r.data[n];let o=t.factory||(t.factory=zo(t.type,!0)),s,a=yi(h);try{let l=Hd(!1),c=o();return Hd(l),zF(r,pe(),n,c),c}finally{yi(a)}}function QF(i,e){if(e)for(let r=e.length-1;r>=0;r--){let t=e[r];if(i===t.name)return t}}function Zs(i,e,r){let t=i+Jt,n=pe(),o=Zy(n,t);return KF(n,t)?$w(n,nx(),e,o.transform,r,o):o.transform(r)}function KF(i,e){return i[_e].data[e].pure}function ZF(){return this._results[Symbol.iterator]()}var Zr=class i{get changes(){return this._changes??=new O}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=i.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=ZF)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let t=_1(e);(this._changesDetected=!g1(this._results,t,r))&&(this._results=t,this.length=t.length,this.last=t[this.length-1],this.first=t[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},Pt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=eN;let i=e;return i})(),XF=Pt,JF=class extends XF{constructor(e,r,t){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=t}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,t){let n=Eu(this._declarationLView,this._declarationTContainer,e,{injector:r,dehydratedView:t});return new Go(n)}};function eN(){return Mu(ei(),pe())}function Mu(i,e){return i.type&4?new JF(e,i,Ws(i,e)):null}var yp=class i{constructor(e){this.queryList=e,this.matches=null}clone(){return new i(this.queryList)}setDirty(){this.queryList.setDirty()}},xp=class i{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let t=e.contentQueries!==null?e.contentQueries[0]:r.length,n=[];for(let o=0;o0)t.push(s[a/2]);else{let c=o[a+1],d=e[-l];for(let u=Xt;u{let e=class e{log(t){console.log(t)}warn(t){console.warn(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"});let i=e;return i})(),Ep=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},bg=(()=>{let e=class e{compileModuleSync(t){return new vp(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let n=this.compileModuleSync(t),o=$y(t),s=Ox(o.declarations).reduce((a,l)=>{let c=Vo(l);return c&&a.push(new ul(c)),a},[]);return new Ep(n,s)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Xs=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Nt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Ww=new I("");var Yw=new I("Application Initializer"),Qw=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,n)=>{this.resolve=t,this.reject=n}),this.appInits=C(Yw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let s=o();if(to(s))t.push(s);else if(ug(s)){let a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});t.push(a)}}let n=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{n()}).catch(o=>{this.reject(o)}),t.length===0&&n(),this.initialized=!0}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Ru=new I("appBootstrapListener");function aN(){o0(()=>{throw new A(600,!1)})}function lN(i){return i.isBoundToModule}function cN(i,e,r){try{let t=r();return to(t)?t.catch(n=>{throw e.runOutsideAngular(()=>i.handleError(n)),n}):t}catch(t){throw e.runOutsideAngular(()=>i.handleError(t)),t}}var Di=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=C(aw),this.componentTypes=[],this.components=[],this.isStable=C(Xs).hasPendingTasks.pipe(U(t=>!t)),this._injector=C(Ci)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,n){let o=t instanceof Yd;if(!this._injector.get(Qw).done){let b="Cannot bootstrap as there are still asynchronous initializers running."+(!o&&zy(t)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new A(405,!1)}let a;o?a=t:a=this._injector.get(Xn).resolveComponentFactory(t),this.componentTypes.push(a.componentType);let l=lN(a)?void 0:this._injector.get(Kr),c=n||a.selector,d=a.create(Pe.NULL,[],c,l),u=d.location.nativeElement,m=d.injector.get(Ww,null);return m?.registerApplication(u),d.onDestroy(()=>{this.detachView(d.hostView),bf(this.components,d),m?.unregisterApplication(u)}),this._loadComponent(d),d}tick(){if(this._runningTick)throw new A(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){let n=t;this._views.push(n),n.attachToAppRef(this)}detachView(t){let n=t;bf(this._views,n),n.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);let n=this._injector.get(Ru,[]);[...this._bootstrapListeners,...n].forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>bf(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new A(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function bf(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}var dN=(()=>{let e=class e{constructor(){this.zone=C(N),this.applicationRef=C(Di)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function uN(i){return[{provide:N,useFactory:i},{provide:Hs,multi:!0,useFactory:()=>{let e=C(dN,{optional:!0});return()=>e.initialize()}},{provide:Hs,multi:!0,useFactory:()=>{let e=C(pN);return()=>{e.initialize()}}},{provide:aw,useFactory:hN}]}function hN(){let i=C(N),e=C(xr);return r=>i.runOutsideAngular(()=>e.handleError(r))}function mN(i){let e=uN(()=>new N(fN(i)));return eo([[],e])}function fN(i){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:i?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:i?.runCoalescing??!1}}var pN=(()=>{let e=class e{constructor(){this.subscription=new ie,this.initialized=!1,this.zone=C(N),this.pendingTasks=C(Xs)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{N.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{N.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function gN(){return typeof $localize<"u"&&$localize.locale||iu}var Sl=new I("LocaleId",{providedIn:"root",factory:()=>C(Sl,Se.Optional|Se.SkipSelf)||gN()});var Kw=new I("PlatformDestroyListeners");var Ld=null;function _N(i=[],e){return Pe.create({name:e,providers:[{provide:pu,useValue:"platform"},{provide:Kw,useValue:new Set([()=>Ld=null])},...i]})}function bN(i=[]){if(Ld)return Ld;let e=_N(i);return Ld=e,aN(),vN(e),e}function vN(i){i.get($p,null)?.forEach(r=>r())}function Zw(i){try{let{rootComponent:e,appProviders:r,platformProviders:t}=i,n=bN(t),o=[mN(),...r||[]],a=new nu({providers:o,parent:n,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(N);return l.run(()=>{a.resolveInjectorInitializers();let c=a.get(xr,null),d;l.runOutsideAngular(()=>{d=l.onError.subscribe({next:f=>{c.handleError(f)}})});let u=()=>a.destroy(),m=n.get(Kw);return m.add(u),a.onDestroy(()=>{d.unsubscribe(),m.delete(u)}),cN(c,l,()=>{let f=a.get(Qw);return f.runInitializers(),f.donePromise.then(()=>{let b=a.get(Sl,iu);VF(b||iu);let w=a.get(Di);return e!==void 0&&w.bootstrap(e),w})})})}catch(e){return Promise.reject(e)}}function ge(i){return typeof i=="boolean"?i:i!=null&&i!=="false"}function Tl(i,e=NaN){return!isNaN(parseFloat(i))&&!isNaN(Number(i))?Number(i):e}var Cg=null;function Mr(){return Cg}function nC(i){Cg||(Cg=i)}var Bu=class{},q=new I("DocumentToken"),Ig=(()=>{let e=class e{historyGo(t){throw new Error("Not implemented")}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:()=>(()=>C(yN))(),providedIn:"platform"});let i=e;return i})();var yN=(()=>{let e=class e extends Ig{constructor(){super(),this._doc=C(q),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Mr().getBaseHref(this._doc)}onPopState(t){let n=Mr().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",t,!1),()=>n.removeEventListener("popstate",t)}onHashChange(t){let n=Mr().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",t,!1),()=>n.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,n,o){this._history.pushState(t,n,o)}replaceState(t,n,o){this._history.replaceState(t,n,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:()=>(()=>new e)(),providedIn:"platform"});let i=e;return i})();function Sg(i,e){if(i.length==0)return e;if(e.length==0)return i;let r=0;return i.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?i+e.substring(1):r==1?i+e:i+"/"+e}function Xw(i){let e=i.match(/#|\?|$/),r=e&&e.index||i.length,t=r-(i[r-1]==="/"?1:0);return i.slice(0,t)+i.slice(r)}function Ir(i){return i&&i[0]!=="?"?"?"+i:i}var io=(()=>{let e=class e{historyGo(t){throw new Error("Not implemented")}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:()=>(()=>C(oC))(),providedIn:"root"});let i=e;return i})(),rC=new I("appBaseHref"),oC=(()=>{let e=class e extends io{constructor(t,n){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??C(q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Sg(this._baseHref,t)}path(t=!1){let n=this._platformLocation.pathname+Ir(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${n}${o}`:n}pushState(t,n,o,s){let a=this.prepareExternalUrl(o+Ir(s));this._platformLocation.pushState(t,n,a)}replaceState(t,n,o,s){let a=this.prepareExternalUrl(o+Ir(s));this._platformLocation.replaceState(t,n,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}};e.\u0275fac=function(n){return new(n||e)(v(Ig),v(rC,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),sC=(()=>{let e=class e extends io{constructor(t,n){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let n=this._platformLocation.hash;return n==null&&(n="#"),n.length>0?n.substring(1):n}prepareExternalUrl(t){let n=Sg(this._baseHref,t);return n.length>0?"#"+n:n}pushState(t,n,o,s){let a=this.prepareExternalUrl(o+Ir(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(t,n,a)}replaceState(t,n,o,s){let a=this.prepareExternalUrl(o+Ir(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(t,n,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}};e.\u0275fac=function(n){return new(n||e)(v(Ig),v(rC,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let i=e;return i})(),Ar=(()=>{let e=class e{constructor(t){this._subject=new O,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;let n=this._locationStrategy.getBaseHref();this._basePath=CN(Xw(Jw(n))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,n=""){return this.path()==this.normalize(t+Ir(n))}normalize(t){return e.stripTrailingSlash(wN(this._basePath,Jw(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,n="",o=null){this._locationStrategy.pushState(o,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ir(n)),o)}replaceState(t,n="",o=null){this._locationStrategy.replaceState(o,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ir(n)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)})),()=>{let n=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",n){this._urlChangeListeners.forEach(o=>o(t,n))}subscribe(t,n,o){return this._subject.subscribe({next:t,error:n,complete:o})}};e.normalizeQueryParams=Ir,e.joinWithSlash=Sg,e.stripTrailingSlash=Xw,e.\u0275fac=function(n){return new(n||e)(v(io))},e.\u0275prov=D({token:e,factory:()=>xN(),providedIn:"root"});let i=e;return i})();function xN(){return new Ar(v(io))}function wN(i,e){if(!i||!e.startsWith(i))return e;let r=e.substring(i.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function Jw(i){return i.replace(/\/index.html$/,"")}function CN(i){if(new RegExp("^(https?:)?//").test(i)){let[,r]=i.split(/\/\/[^\/]+/);return r}return i}var mi=function(i){return i[i.Format=0]="Format",i[i.Standalone=1]="Standalone",i}(mi||{}),Ze=function(i){return i[i.Narrow=0]="Narrow",i[i.Abbreviated=1]="Abbreviated",i[i.Wide=2]="Wide",i[i.Short=3]="Short",i}(Ze||{}),Ui=function(i){return i[i.Short=0]="Short",i[i.Medium=1]="Medium",i[i.Long=2]="Long",i[i.Full=3]="Full",i}(Ui||{}),Sr=function(i){return i[i.Decimal=0]="Decimal",i[i.Group=1]="Group",i[i.List=2]="List",i[i.PercentSign=3]="PercentSign",i[i.PlusSign=4]="PlusSign",i[i.MinusSign=5]="MinusSign",i[i.Exponential=6]="Exponential",i[i.SuperscriptingExponent=7]="SuperscriptingExponent",i[i.PerMille=8]="PerMille",i[i.Infinity=9]="Infinity",i[i.NaN=10]="NaN",i[i.TimeSeparator=11]="TimeSeparator",i[i.CurrencyDecimal=12]="CurrencyDecimal",i[i.CurrencyGroup=13]="CurrencyGroup",i}(Sr||{});function DN(i){return ln(i)[Ct.LocaleId]}function EN(i,e,r){let t=ln(i),n=[t[Ct.DayPeriodsFormat],t[Ct.DayPeriodsStandalone]],o=cn(n,e);return cn(o,r)}function kN(i,e,r){let t=ln(i),n=[t[Ct.DaysFormat],t[Ct.DaysStandalone]],o=cn(n,e);return cn(o,r)}function IN(i,e,r){let t=ln(i),n=[t[Ct.MonthsFormat],t[Ct.MonthsStandalone]],o=cn(n,e);return cn(o,r)}function SN(i,e){let t=ln(i)[Ct.Eras];return cn(t,e)}function Ou(i,e){let r=ln(i);return cn(r[Ct.DateFormat],e)}function Fu(i,e){let r=ln(i);return cn(r[Ct.TimeFormat],e)}function Nu(i,e){let t=ln(i)[Ct.DateTimeFormat];return cn(t,e)}function Hu(i,e){let r=ln(i),t=r[Ct.NumberSymbols][e];if(typeof t>"u"){if(e===Sr.CurrencyDecimal)return r[Ct.NumberSymbols][Sr.Decimal];if(e===Sr.CurrencyGroup)return r[Ct.NumberSymbols][Sr.Group]}return t}function aC(i){if(!i[Ct.ExtraData])throw new Error(`Missing extra locale data for the locale "${i[Ct.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function TN(i){let e=ln(i);return aC(e),(e[Ct.ExtraData][2]||[]).map(t=>typeof t=="string"?vg(t):[vg(t[0]),vg(t[1])])}function MN(i,e,r){let t=ln(i);aC(t);let n=[t[Ct.ExtraData][0],t[Ct.ExtraData][1]],o=cn(n,e)||[];return cn(o,r)||[]}function cn(i,e){for(let r=e;r>-1;r--)if(typeof i[r]<"u")return i[r];throw new Error("Locale data API: locale data undefined")}function vg(i){let[e,r]=i.split(":");return{hours:+e,minutes:+r}}var AN=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ml={},RN=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Tr=function(i){return i[i.Short=0]="Short",i[i.ShortGMT=1]="ShortGMT",i[i.Long=2]="Long",i[i.Extended=3]="Extended",i}(Tr||{}),ze=function(i){return i[i.FullYear=0]="FullYear",i[i.Month=1]="Month",i[i.Date=2]="Date",i[i.Hours=3]="Hours",i[i.Minutes=4]="Minutes",i[i.Seconds=5]="Seconds",i[i.FractionalSeconds=6]="FractionalSeconds",i[i.Day=7]="Day",i}(ze||{}),Be=function(i){return i[i.DayPeriods=0]="DayPeriods",i[i.Days=1]="Days",i[i.Months=2]="Months",i[i.Eras=3]="Eras",i}(Be||{});function lC(i,e,r,t){let n=zN(i);e=kr(r,e)||e;let s=[],a;for(;e;)if(a=RN.exec(e),a){s=s.concat(a.slice(1));let d=s.pop();if(!d)break;e=d}else{s.push(e);break}let l=n.getTimezoneOffset();t&&(l=dC(t,l),n=BN(n,t,!0));let c="";return s.forEach(d=>{let u=VN(d);c+=u?u(n,r,l):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function zu(i,e,r){let t=new Date(0);return t.setFullYear(i,e,r),t.setHours(0,0,0),t}function kr(i,e){let r=DN(i);if(Ml[r]=Ml[r]||{},Ml[r][e])return Ml[r][e];let t="";switch(e){case"shortDate":t=Ou(i,Ui.Short);break;case"mediumDate":t=Ou(i,Ui.Medium);break;case"longDate":t=Ou(i,Ui.Long);break;case"fullDate":t=Ou(i,Ui.Full);break;case"shortTime":t=Fu(i,Ui.Short);break;case"mediumTime":t=Fu(i,Ui.Medium);break;case"longTime":t=Fu(i,Ui.Long);break;case"fullTime":t=Fu(i,Ui.Full);break;case"short":let n=kr(i,"shortTime"),o=kr(i,"shortDate");t=Pu(Nu(i,Ui.Short),[n,o]);break;case"medium":let s=kr(i,"mediumTime"),a=kr(i,"mediumDate");t=Pu(Nu(i,Ui.Medium),[s,a]);break;case"long":let l=kr(i,"longTime"),c=kr(i,"longDate");t=Pu(Nu(i,Ui.Long),[l,c]);break;case"full":let d=kr(i,"fullTime"),u=kr(i,"fullDate");t=Pu(Nu(i,Ui.Full),[d,u]);break}return t&&(Ml[r][e]=t),t}function Pu(i,e){return e&&(i=i.replace(/\{([^}]+)}/g,function(r,t){return e!=null&&t in e?e[t]:r})),i}function Rn(i,e,r="-",t,n){let o="";(i<0||n&&i<=0)&&(n?i=-i+1:(i=-i,o=r));let s=String(i);for(;s.length0||a>-r)&&(a+=r),i===ze.Hours)a===0&&r===-12&&(a=12);else if(i===ze.FractionalSeconds)return ON(a,e);let l=Hu(s,Sr.MinusSign);return Rn(a,e,l,t,n)}}function FN(i,e){switch(i){case ze.FullYear:return e.getFullYear();case ze.Month:return e.getMonth();case ze.Date:return e.getDate();case ze.Hours:return e.getHours();case ze.Minutes:return e.getMinutes();case ze.Seconds:return e.getSeconds();case ze.FractionalSeconds:return e.getMilliseconds();case ze.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${i}".`)}}function et(i,e,r=mi.Format,t=!1){return function(n,o){return NN(n,o,i,e,r,t)}}function NN(i,e,r,t,n,o){switch(r){case Be.Months:return IN(e,n,t)[i.getMonth()];case Be.Days:return kN(e,n,t)[i.getDay()];case Be.DayPeriods:let s=i.getHours(),a=i.getMinutes();if(o){let c=TN(e),d=MN(e,n,t),u=c.findIndex(m=>{if(Array.isArray(m)){let[f,b]=m,w=s>=f.hours&&a>=f.minutes,T=s0?Math.floor(n/60):Math.ceil(n/60);switch(i){case Tr.Short:return(n>=0?"+":"")+Rn(s,2,o)+Rn(Math.abs(n%60),2,o);case Tr.ShortGMT:return"GMT"+(n>=0?"+":"")+Rn(s,1,o);case Tr.Long:return"GMT"+(n>=0?"+":"")+Rn(s,2,o)+":"+Rn(Math.abs(n%60),2,o);case Tr.Extended:return t===0?"Z":(n>=0?"+":"")+Rn(s,2,o)+":"+Rn(Math.abs(n%60),2,o);default:throw new Error(`Unknown zone width "${i}"`)}}}var PN=0,ju=4;function LN(i){let e=zu(i,PN,1).getDay();return zu(i,0,1+(e<=ju?ju:ju+7)-e)}function cC(i){return zu(i.getFullYear(),i.getMonth(),i.getDate()+(ju-i.getDay()))}function yg(i,e=!1){return function(r,t){let n;if(e){let o=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,s=r.getDate();n=1+Math.floor((s+o)/7)}else{let o=cC(r),s=LN(o.getFullYear()),a=o.getTime()-s.getTime();n=1+Math.round(a/6048e5)}return Rn(n,i,Hu(t,Sr.MinusSign))}}function Vu(i,e=!1){return function(r,t){let o=cC(r).getFullYear();return Rn(o,i,Hu(t,Sr.MinusSign),e)}}var xg={};function VN(i){if(xg[i])return xg[i];let e;switch(i){case"G":case"GG":case"GGG":e=et(Be.Eras,Ze.Abbreviated);break;case"GGGG":e=et(Be.Eras,Ze.Wide);break;case"GGGGG":e=et(Be.Eras,Ze.Narrow);break;case"y":e=Rt(ze.FullYear,1,0,!1,!0);break;case"yy":e=Rt(ze.FullYear,2,0,!0,!0);break;case"yyy":e=Rt(ze.FullYear,3,0,!1,!0);break;case"yyyy":e=Rt(ze.FullYear,4,0,!1,!0);break;case"Y":e=Vu(1);break;case"YY":e=Vu(2,!0);break;case"YYY":e=Vu(3);break;case"YYYY":e=Vu(4);break;case"M":case"L":e=Rt(ze.Month,1,1);break;case"MM":case"LL":e=Rt(ze.Month,2,1);break;case"MMM":e=et(Be.Months,Ze.Abbreviated);break;case"MMMM":e=et(Be.Months,Ze.Wide);break;case"MMMMM":e=et(Be.Months,Ze.Narrow);break;case"LLL":e=et(Be.Months,Ze.Abbreviated,mi.Standalone);break;case"LLLL":e=et(Be.Months,Ze.Wide,mi.Standalone);break;case"LLLLL":e=et(Be.Months,Ze.Narrow,mi.Standalone);break;case"w":e=yg(1);break;case"ww":e=yg(2);break;case"W":e=yg(1,!0);break;case"d":e=Rt(ze.Date,1);break;case"dd":e=Rt(ze.Date,2);break;case"c":case"cc":e=Rt(ze.Day,1);break;case"ccc":e=et(Be.Days,Ze.Abbreviated,mi.Standalone);break;case"cccc":e=et(Be.Days,Ze.Wide,mi.Standalone);break;case"ccccc":e=et(Be.Days,Ze.Narrow,mi.Standalone);break;case"cccccc":e=et(Be.Days,Ze.Short,mi.Standalone);break;case"E":case"EE":case"EEE":e=et(Be.Days,Ze.Abbreviated);break;case"EEEE":e=et(Be.Days,Ze.Wide);break;case"EEEEE":e=et(Be.Days,Ze.Narrow);break;case"EEEEEE":e=et(Be.Days,Ze.Short);break;case"a":case"aa":case"aaa":e=et(Be.DayPeriods,Ze.Abbreviated);break;case"aaaa":e=et(Be.DayPeriods,Ze.Wide);break;case"aaaaa":e=et(Be.DayPeriods,Ze.Narrow);break;case"b":case"bb":case"bbb":e=et(Be.DayPeriods,Ze.Abbreviated,mi.Standalone,!0);break;case"bbbb":e=et(Be.DayPeriods,Ze.Wide,mi.Standalone,!0);break;case"bbbbb":e=et(Be.DayPeriods,Ze.Narrow,mi.Standalone,!0);break;case"B":case"BB":case"BBB":e=et(Be.DayPeriods,Ze.Abbreviated,mi.Format,!0);break;case"BBBB":e=et(Be.DayPeriods,Ze.Wide,mi.Format,!0);break;case"BBBBB":e=et(Be.DayPeriods,Ze.Narrow,mi.Format,!0);break;case"h":e=Rt(ze.Hours,1,-12);break;case"hh":e=Rt(ze.Hours,2,-12);break;case"H":e=Rt(ze.Hours,1);break;case"HH":e=Rt(ze.Hours,2);break;case"m":e=Rt(ze.Minutes,1);break;case"mm":e=Rt(ze.Minutes,2);break;case"s":e=Rt(ze.Seconds,1);break;case"ss":e=Rt(ze.Seconds,2);break;case"S":e=Rt(ze.FractionalSeconds,1);break;case"SS":e=Rt(ze.FractionalSeconds,2);break;case"SSS":e=Rt(ze.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Lu(Tr.Short);break;case"ZZZZZ":e=Lu(Tr.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Lu(Tr.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Lu(Tr.Long);break;default:return null}return xg[i]=e,e}function dC(i,e){i=i.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+i)/6e4;return isNaN(r)?e:r}function jN(i,e){return i=new Date(i.getTime()),i.setMinutes(i.getMinutes()+e),i}function BN(i,e,r){let t=r?-1:1,n=i.getTimezoneOffset(),o=dC(e,n);return jN(i,t*(o-n))}function zN(i){if(eC(i))return i;if(typeof i=="number"&&!isNaN(i))return new Date(i);if(typeof i=="string"){if(i=i.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(i)){let[n,o=1,s=1]=i.split("-").map(a=>+a);return zu(n,o-1,s)}let r=parseFloat(i);if(!isNaN(i-r))return new Date(r);let t;if(t=i.match(AN))return $N(t)}let e=new Date(i);if(!eC(e))throw new Error(`Unable to convert "${i}" into a date`);return e}function $N(i){let e=new Date(0),r=0,t=0,n=i[8]?e.setUTCFullYear:e.setFullYear,o=i[8]?e.setUTCHours:e.setHours;i[9]&&(r=Number(i[9]+i[10]),t=Number(i[9]+i[11])),n.call(e,Number(i[1]),Number(i[2])-1,Number(i[3]));let s=Number(i[4]||0)-r,a=Number(i[5]||0)-t,l=Number(i[6]||0),c=Math.floor(parseFloat("0."+(i[7]||0))*1e3);return o.call(e,s,a,l,c),e}function eC(i){return i instanceof Date&&!isNaN(i.valueOf())}function Uu(i,e){e=encodeURIComponent(e);for(let r of i.split(";")){let t=r.indexOf("="),[n,o]=t==-1?[r,""]:[r.slice(0,t),r.slice(t+1)];if(n.trim()===e)return decodeURIComponent(o)}return null}var wg=/\s+/,tC=[],Rr=(()=>{let e=class e{constructor(t,n,o,s){this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=o,this._renderer=s,this.initialClasses=tC,this.stateMap=new Map}set klass(t){this.initialClasses=t!=null?t.trim().split(wg):tC}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(wg):t}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let n of t)this._updateState(n,!0);else if(t!=null)for(let n of Object.keys(t))this._updateState(n,!!t[n]);this._applyStateDiff()}_updateState(t,n){let o=this.stateMap.get(t);o!==void 0?(o.enabled!==n&&(o.changed=!0,o.enabled=n),o.touched=!0):this.stateMap.set(t,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let n=t[0],o=t[1];o.changed?(this._toggleClass(n,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),o.touched=!1}}_toggleClass(t,n){t=t.trim(),t.length>0&&t.split(wg).forEach(o=>{n?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(n){return new(n||e)(h(yu),h(eg),h(F),h(Jn))},e.\u0275dir=R({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});let i=e;return i})();var jt=(()=>{let e=class e{constructor(t,n){this._viewContainer=t,this._context=new Dg,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){iC("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){iC("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,n){return!0}};e.\u0275fac=function(n){return new(n||e)(h(vt),h(Pt))},e.\u0275dir=R({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let i=e;return i})(),Dg=class{constructor(){this.$implicit=null,this.ngIf=null}};function iC(i,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${i} must be a TemplateRef, but received '${Kt(e)}'.`)}var uC=(()=>{let e=class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,n,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,o):!1,get:(t,n,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,o)}})}};e.\u0275fac=function(n){return new(n||e)(h(vt))},e.\u0275dir=R({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Oe]});let i=e;return i})();function HN(i,e){return new A(2100,!1)}var Eg=class{createSubscription(e,r){return Xp(()=>e.subscribe({next:r,error:t=>{throw t}}))}dispose(e){Xp(()=>e.unsubscribe())}},kg=class{createSubscription(e,r){return e.then(r,t=>{throw t})}dispose(e){}},UN=new kg,qN=new Eg,qu=(()=>{let e=class e{constructor(t){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,n=>this._updateLatestValue(t,n))}_selectStrategy(t){if(to(t))return UN;if(ug(t))return qN;throw HN(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,n){t===this._obj&&(this._latestValue=n,this._ref.markForCheck())}};e.\u0275fac=function(n){return new(n||e)(h(Ie,16))},e.\u0275pipe=Vy({name:"async",type:e,pure:!1,standalone:!0});let i=e;return i})();var fi=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({});let i=e;return i})(),Tg="browser",GN="server";function hC(i){return i===Tg}function Mg(i){return i===GN}var Js=class{};var Rl=class{},Wu=class{},Jo=class i{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` +`).forEach(r=>{let t=r.indexOf(":");if(t>0){let n=r.slice(0,t),o=n.toLowerCase(),s=r.slice(t+1).trim();this.maybeSetNormalizedName(n,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,t)=>{this.setHeaderEntries(t,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,t])=>{this.setHeaderEntries(r,t)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof i?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new i;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof i?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let t=e.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(e.name,r);let n=(e.op==="a"?this.headers.get(r):void 0)||[];n.push(...t),this.headers.set(r,n);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let t=(Array.isArray(r)?r:[r]).map(o=>o.toString()),n=e.toLowerCase();this.headers.set(n,t),this.maybeSetNormalizedName(e,n)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var Rg=class{encodeKey(e){return mC(e)}encodeValue(e){return mC(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function QN(i,e){let r=new Map;return i.length>0&&i.replace(/^\?/,"").split("&").forEach(n=>{let o=n.indexOf("="),[s,a]=o==-1?[e.decodeKey(n),""]:[e.decodeKey(n.slice(0,o)),e.decodeValue(n.slice(o+1))],l=r.get(s)||[];l.push(a),r.set(s,l)}),r}var KN=/%(\d[a-f0-9])/gi,ZN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function mC(i){return encodeURIComponent(i).replace(KN,(e,r)=>ZN[r]??e)}function Gu(i){return`${i}`}var no=class i{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Rg,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=QN(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let t=e.fromObject[r],n=Array.isArray(t)?t.map(Gu):[Gu(t)];this.map.set(r,n)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(t=>{let n=e[t];Array.isArray(n)?n.forEach(o=>{r.push({param:t,value:o,op:"a"})}):r.push({param:t,value:n,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(t=>r+"="+this.encoder.encodeValue(t)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new i({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(Gu(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let t=this.map.get(e.param)||[],n=t.indexOf(Gu(e.value));n!==-1&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Og=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function XN(i){switch(i){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function fC(i){return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer}function pC(i){return typeof Blob<"u"&&i instanceof Blob}function gC(i){return typeof FormData<"u"&&i instanceof FormData}function JN(i){return typeof URLSearchParams<"u"&&i instanceof URLSearchParams}var Al=class i{constructor(e,r,t,n){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(XN(this.method)||n?(this.body=t!==void 0?t:null,o=n):o=t,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers||(this.headers=new Jo),this.context||(this.context=new Og),!this.params)this.params=new no,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),l=a===-1?"?":au.set(m,e.setHeaders[m]),l)),e.setParams&&(c=Object.keys(e.setParams).reduce((u,m)=>u.set(m,e.setParams[m]),c)),new i(r,t,o,{params:c,headers:l,context:d,reportProgress:a,responseType:n,withCredentials:s})}},ea=function(i){return i[i.Sent=0]="Sent",i[i.UploadProgress=1]="UploadProgress",i[i.ResponseHeader=2]="ResponseHeader",i[i.DownloadProgress=3]="DownloadProgress",i[i.Response=4]="Response",i[i.User=5]="User",i}(ea||{}),Ol=class{constructor(e,r=200,t="OK"){this.headers=e.headers||new Jo,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||t,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Fg=class i extends Ol{constructor(e={}){super(e),this.type=ea.ResponseHeader}clone(e={}){return new i({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Yu=class i extends Ol{constructor(e={}){super(e),this.type=ea.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new i({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Qu=class extends Ol{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}};function Ag(i,e){return{body:e,headers:i.headers,context:i.context,observe:i.observe,params:i.params,reportProgress:i.reportProgress,responseType:i.responseType,withCredentials:i.withCredentials,transferCache:i.transferCache}}var On=(()=>{let e=class e{constructor(t){this.handler=t}request(t,n,o={}){let s;if(t instanceof Al)s=t;else{let c;o.headers instanceof Jo?c=o.headers:c=new Jo(o.headers);let d;o.params&&(o.params instanceof no?d=o.params:d=new no({fromObject:o.params})),s=new Al(t,n,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=Z(s).pipe(Ur(c=>this.handler.handle(c)));if(t instanceof Al||o.observe==="events")return a;let l=a.pipe(de(c=>c instanceof Yu));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(U(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(U(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(U(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(U(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(t,n={}){return this.request("DELETE",t,n)}get(t,n={}){return this.request("GET",t,n)}head(t,n={}){return this.request("HEAD",t,n)}jsonp(t,n){return this.request("JSONP",t,{params:new no().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,n={}){return this.request("OPTIONS",t,n)}patch(t,n,o={}){return this.request("PATCH",t,Ag(o,n))}post(t,n,o={}){return this.request("POST",t,Ag(o,n))}put(t,n,o={}){return this.request("PUT",t,Ag(o,n))}};e.\u0275fac=function(n){return new(n||e)(v(Rl))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let i=e;return i})();function eP(i,e){return e(i)}function tP(i,e,r){return(t,n)=>Cr(r,()=>e(t,o=>i(o,n)))}var Ng=new I(""),iP=new I(""),nP=new I("");var _C=(()=>{let e=class e extends Rl{constructor(t,n){super(),this.backend=t,this.injector=n,this.chain=null,this.pendingTasks=C(Xs);let o=C(nP,{optional:!0});this.backend=o??t}handle(t){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Ng),...this.injector.get(iP,[])]));this.chain=o.reduceRight((s,a)=>tP(s,a,this.injector),eP)}let n=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(nt(()=>this.pendingTasks.remove(n)))}};e.\u0275fac=function(n){return new(n||e)(v(Wu),v(Ci))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let i=e;return i})();var rP=/^\)\]\}',?\n/;function oP(i){return"responseURL"in i&&i.responseURL?i.responseURL:/^X-Request-URL:/m.test(i.getAllResponseHeaders())?i.getResponseHeader("X-Request-URL"):null}var bC=(()=>{let e=class e{constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new A(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?tt(n.\u0275loadImpl()):Z(null)).pipe(Ye(()=>new ue(s=>{let a=n.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((T,M)=>a.setRequestHeader(T,M.join(","))),t.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){let T=t.detectContentTypeHeader();T!==null&&a.setRequestHeader("Content-Type",T)}if(t.responseType){let T=t.responseType.toLowerCase();a.responseType=T!=="json"?T:"text"}let l=t.serializeBody(),c=null,d=()=>{if(c!==null)return c;let T=a.statusText||"OK",M=new Jo(a.getAllResponseHeaders()),ne=oP(a)||t.url;return c=new Fg({headers:M,status:a.status,statusText:T,url:ne}),c},u=()=>{let{headers:T,status:M,statusText:ne,url:Ue}=d(),fe=null;M!==204&&(fe=typeof a.response>"u"?a.responseText:a.response),M===0&&(M=fe?200:0);let _t=M>=200&&M<300;if(t.responseType==="json"&&typeof fe=="string"){let pt=fe;fe=fe.replace(rP,"");try{fe=fe!==""?JSON.parse(fe):null}catch(bt){fe=pt,_t&&(_t=!1,fe={error:bt,text:fe})}}_t?(s.next(new Yu({body:fe,headers:T,status:M,statusText:ne,url:Ue||void 0})),s.complete()):s.error(new Qu({error:fe,headers:T,status:M,statusText:ne,url:Ue||void 0}))},m=T=>{let{url:M}=d(),ne=new Qu({error:T,status:a.status||0,statusText:a.statusText||"Unknown Error",url:M||void 0});s.error(ne)},f=!1,b=T=>{f||(s.next(d()),f=!0);let M={type:ea.DownloadProgress,loaded:T.loaded};T.lengthComputable&&(M.total=T.total),t.responseType==="text"&&a.responseText&&(M.partialText=a.responseText),s.next(M)},w=T=>{let M={type:ea.UploadProgress,loaded:T.loaded};T.lengthComputable&&(M.total=T.total),s.next(M)};return a.addEventListener("load",u),a.addEventListener("error",m),a.addEventListener("timeout",m),a.addEventListener("abort",m),t.reportProgress&&(a.addEventListener("progress",b),l!==null&&a.upload&&a.upload.addEventListener("progress",w)),a.send(l),s.next({type:ea.Sent}),()=>{a.removeEventListener("error",m),a.removeEventListener("abort",m),a.removeEventListener("load",u),a.removeEventListener("timeout",m),t.reportProgress&&(a.removeEventListener("progress",b),l!==null&&a.upload&&a.upload.removeEventListener("progress",w)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(n){return new(n||e)(v(Js))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let i=e;return i})(),vC=new I("XSRF_ENABLED"),sP="XSRF-TOKEN",aP=new I("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>sP}),lP="X-XSRF-TOKEN",cP=new I("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>lP}),Ku=class{},dP=(()=>{let e=class e{constructor(t,n,o){this.doc=t,this.platform=n,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Uu(t,this.cookieName),this.lastCookieString=t),this.lastToken}};e.\u0275fac=function(n){return new(n||e)(v(q),v(Zn),v(aP))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let i=e;return i})();function uP(i,e){let r=i.url.toLowerCase();if(!C(vC)||i.method==="GET"||i.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(i);let t=C(Ku).getToken(),n=C(cP);return t!=null&&!i.headers.has(n)&&(i=i.clone({headers:i.headers.set(n,t)})),e(i)}var yC=function(i){return i[i.Interceptors=0]="Interceptors",i[i.LegacyInterceptors=1]="LegacyInterceptors",i[i.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",i[i.NoXsrfProtection=3]="NoXsrfProtection",i[i.JsonpSupport=4]="JsonpSupport",i[i.RequestsMadeViaParent=5]="RequestsMadeViaParent",i[i.Fetch=6]="Fetch",i}(yC||{});function hP(i,e){return{\u0275kind:i,\u0275providers:e}}function xC(...i){let e=[On,bC,_C,{provide:Rl,useExisting:_C},{provide:Wu,useExisting:bC},{provide:Ng,useValue:uP,multi:!0},{provide:vC,useValue:!0},{provide:Ku,useClass:dP}];for(let r of i)e.push(...r.\u0275providers);return eo(e)}function wC(i){return hP(yC.Interceptors,i.map(e=>({provide:Ng,useValue:e,multi:!0})))}var Vg=class extends Bu{constructor(){super(...arguments),this.supportsDOMEvents=!0}},jg=class i extends Vg{static makeCurrent(){nC(new i)}onAndCancel(e,r,t){return e.addEventListener(r,t),()=>{e.removeEventListener(r,t)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=mP();return r==null?null:fP(r)}resetBaseElement(){Nl=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Uu(document.cookie,e)}},Nl=null;function mP(){return Nl=Nl||document.querySelector("base"),Nl?Nl.getAttribute("href"):null}function fP(i){return new URL(i,document.baseURI).pathname}var pP=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let i=e;return i})(),Bg=new I("EventManagerPlugins"),EC=(()=>{let e=class e{constructor(t,n){this._zone=n,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,n,o){return this._findPluginFor(n).addEventListener(t,n,o)}getZone(){return this._zone}_findPluginFor(t){let n=this._eventNameToPlugin.get(t);if(n)return n;if(n=this._plugins.find(s=>s.supports(t)),!n)throw new A(5101,!1);return this._eventNameToPlugin.set(t,n),n}};e.\u0275fac=function(n){return new(n||e)(v(Bg),v(N))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let i=e;return i})(),Zu=class{constructor(e){this._doc=e}},Pg="ng-app-id",kC=(()=>{let e=class e{constructor(t,n,o,s={}){this.doc=t,this.appId=n,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Mg(s),this.resetHostNodes()}addStyles(t){for(let n of t)this.changeUsageCount(n,1)===1&&this.onStyleAdded(n)}removeStyles(t){for(let n of t)this.changeUsageCount(n,-1)<=0&&this.onStyleRemoved(n)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(n=>n.remove()),t.clear());for(let n of this.getAllStyles())this.onStyleRemoved(n);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let n of this.getAllStyles())this.addStyleToHost(t,n)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let n of this.hostNodes)this.addStyleToHost(n,t)}onStyleRemoved(t){let n=this.styleRef;n.get(t)?.elements?.forEach(o=>o.remove()),n.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${Pg}="${this.appId}"]`);if(t?.length){let n=new Map;return t.forEach(o=>{o.textContent!=null&&n.set(o.textContent,o)}),n}return null}changeUsageCount(t,n){let o=this.styleRef;if(o.has(t)){let s=o.get(t);return s.usage+=n,s.usage}return o.set(t,{usage:n,elements:[]}),n}getStyleElement(t,n){let o=this.styleNodesInDOM,s=o?.get(n);if(s?.parentNode===t)return o.delete(n),s.removeAttribute(Pg),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=n,this.platformIsServer&&a.setAttribute(Pg,this.appId),t.appendChild(a),a}}addStyleToHost(t,n){let o=this.getStyleElement(t,n),s=this.styleRef,a=s.get(n)?.elements;a?a.push(o):s.set(n,{elements:[o],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(n){return new(n||e)(v(q),v(xl),v(wl,8),v(Zn))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let i=e;return i})(),Lg={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},$g=/%COMP%/g,IC="%COMP%",gP=`_nghost-${IC}`,_P=`_ngcontent-${IC}`,bP=!0,vP=new I("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>bP});function yP(i){return _P.replace($g,i)}function xP(i){return gP.replace($g,i)}function SC(i,e){return e.map(r=>r.replace($g,i))}var Xu=(()=>{let e=class e{constructor(t,n,o,s,a,l,c,d=null){this.eventManager=t,this.sharedStylesHost=n,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=Mg(l),this.defaultRenderer=new Pl(t,a,c,this.platformIsServer)}createRenderer(t,n){if(!t||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===Yn.ShadowDom&&(n=xe(E({},n),{encapsulation:Yn.Emulated}));let o=this.getOrCreateRenderer(t,n);return o instanceof Ju?o.applyToHost(t):o instanceof Ll&&o.applyStyles(),o}getOrCreateRenderer(t,n){let o=this.rendererByCompId,s=o.get(n.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,m=this.platformIsServer;switch(n.encapsulation){case Yn.Emulated:s=new Ju(c,d,n,this.appId,u,a,l,m);break;case Yn.ShadowDom:return new zg(c,d,t,n,a,l,this.nonce,m);default:s=new Ll(c,d,n,u,a,l,m);break}o.set(n.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(n){return new(n||e)(v(EC),v(kC),v(xl),v(vP),v(q),v(Zn),v(N),v(wl))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let i=e;return i})(),Pl=class{constructor(e,r,t,n){this.eventManager=e,this.doc=r,this.ngZone=t,this.platformIsServer=n,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Lg[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(CC(e)?e.content:e).appendChild(r)}insertBefore(e,r,t){e&&(CC(e)?e.content:e).insertBefore(r,t)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new A(-5104,!1);return r||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,t,n){if(n){r=n+":"+r;let o=Lg[n];o?e.setAttributeNS(o,r,t):e.setAttribute(r,t)}else e.setAttribute(r,t)}removeAttribute(e,r,t){if(t){let n=Lg[t];n?e.removeAttributeNS(n,r):e.removeAttribute(`${t}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,t,n){n&(vr.DashCase|vr.Important)?e.style.setProperty(r,t,n&vr.Important?"important":""):e.style[r]=t}removeStyle(e,r,t){t&vr.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,t){e!=null&&(e[r]=t)}setValue(e,r){e.nodeValue=r}listen(e,r,t){if(typeof e=="string"&&(e=Mr().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(t))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function CC(i){return i.tagName==="TEMPLATE"&&i.content!==void 0}var zg=class extends Pl{constructor(e,r,t,n,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=r,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=SC(n.id,n.styles);for(let d of c){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,t){return super.insertBefore(this.nodeOrShadowRoot(e),r,t)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ll=class extends Pl{constructor(e,r,t,n,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=n,this.styles=l?SC(l,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Ju=class extends Ll{constructor(e,r,t,n,o,s,a,l){let c=n+"-"+t.id;super(e,r,t,o,s,a,l,c),this.contentAttr=yP(c),this.hostAttr=xP(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let t=super.createElement(e,r);return super.setAttribute(t,this.contentAttr,""),t}},wP=(()=>{let e=class e extends Zu{constructor(t){super(t)}supports(t){return!0}addEventListener(t,n,o){return t.addEventListener(n,o,!1),()=>this.removeEventListener(t,n,o)}removeEventListener(t,n,o){return t.removeEventListener(n,o)}};e.\u0275fac=function(n){return new(n||e)(v(q))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let i=e;return i})(),DC=["alt","control","meta","shift"],CP={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},DP={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey},EP=(()=>{let e=class e extends Zu{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,n,o){let s=e.parseEventName(n),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Mr().onAndCancel(t,s.domEventName,a))}static parseEventName(t){let n=t.toLowerCase().split("."),o=n.shift();if(n.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(n.pop()),a="",l=n.indexOf("code");if(l>-1&&(n.splice(l,1),a="code."),DC.forEach(d=>{let u=n.indexOf(d);u>-1&&(n.splice(u,1),a+=d+".")}),a+=s,n.length!=0||s.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(t,n){let o=CP[t.key]||t.key,s="";return n.indexOf("code.")>-1&&(o=t.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),DC.forEach(a=>{if(a!==o){let l=DP[a];l(t)&&(s+=a+".")}}),s+=o,s===n)}static eventCallback(t,n,o){return s=>{e.matchEventFullKeyCode(s,t)&&o.runGuarded(()=>n(s))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(n){return new(n||e)(v(q))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let i=e;return i})();function TC(i,e){return Zw(E({rootComponent:i},kP(e)))}function kP(i){return{appProviders:[...AP,...i?.providers??[]],platformProviders:MP}}function IP(){jg.makeCurrent()}function SP(){return new xr}function TP(){return Ax(document),document}var MP=[{provide:Zn,useValue:Tg},{provide:$p,useValue:IP,multi:!0},{provide:q,useFactory:TP,deps:[]}];var AP=[{provide:pu,useValue:"root"},{provide:xr,useFactory:SP,deps:[]},{provide:Bg,useClass:wP,multi:!0,deps:[q,N,Zn]},{provide:Bg,useClass:EP,multi:!0,deps:[q]},Xu,kC,EC,{provide:qo,useExisting:Xu},{provide:Js,useClass:pP,deps:[]},[]];function RP(){return new Hg(v(q))}var Hg=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(n){return new(n||e)(v(q))},e.\u0275prov=D({token:e,factory:function(n){let o=null;return n?o=new n:o=RP(),o},providedIn:"root"});let i=e;return i})();var Ug=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:function(n){let o=null;return n?o=new(n||e):o=v(MC),o},providedIn:"root"});let i=e;return i})();function OP(i){return new MC(i.get(q))}var MC=(()=>{let e=class e extends Ug{constructor(t){super(),this._doc=t}sanitize(t,n){if(n==null)return null;switch(t){case Hi.NONE:return n;case Hi.HTML:return Dr(n,"HTML")?an(n):Wp(this._doc,String(n)).toString();case Hi.STYLE:return Dr(n,"Style")?an(n):n;case Hi.SCRIPT:if(Dr(n,"Script"))return an(n);throw new A(5200,!1);case Hi.URL:return Dr(n,"URL")?an(n):vu(String(n));case Hi.RESOURCE_URL:if(Dr(n,"ResourceURL"))return an(n);throw new A(5201,!1);default:throw new A(5202,!1)}}bypassSecurityTrustHtml(t){return Qx(t)}bypassSecurityTrustStyle(t){return Kx(t)}bypassSecurityTrustScript(t){return Zx(t)}bypassSecurityTrustUrl(t){return Xx(t)}bypassSecurityTrustResourceUrl(t){return Jx(t)}};e.\u0275fac=function(n){return new(n||e)(v(q))},e.\u0275prov=D({token:e,factory:function(n){let o=null;return n?o=new n:o=OP(v(Pe)),o},providedIn:"root"});let i=e;return i})();var De="primary",Xl=Symbol("RouteTitle"),Qg=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function oa(i){return new Qg(i)}function FP(i,e,r){let t=r.path.split("/");if(t.length>i.length||r.pathMatch==="full"&&(e.hasChildren()||t.lengtht[o]===n)}else return i===e}function VC(i){return i.length>0?i[i.length-1]:null}function ao(i){return Ka(i)?i:to(i)?tt(Promise.resolve(i)):Z(i)}var PP={exact:BC,subset:zC},jC={exact:LP,subset:VP,ignored:()=>!0};function RC(i,e,r){return PP[r.paths](i.root,e.root,r.matrixParams)&&jC[r.queryParams](i.queryParams,e.queryParams)&&!(r.fragment==="exact"&&i.fragment!==e.fragment)}function LP(i,e){return er(i,e)}function BC(i,e,r){if(!ts(i.segments,e.segments)||!ih(i.segments,e.segments,r)||i.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!i.children[t]||!BC(i.children[t],e.children[t],r))return!1;return!0}function VP(i,e){return Object.keys(e).length<=Object.keys(i).length&&Object.keys(e).every(r=>LC(i[r],e[r]))}function zC(i,e,r){return $C(i,e,e.segments,r)}function $C(i,e,r,t){if(i.segments.length>r.length){let n=i.segments.slice(0,r.length);return!(!ts(n,r)||e.hasChildren()||!ih(n,r,t))}else if(i.segments.length===r.length){if(!ts(i.segments,r)||!ih(i.segments,r,t))return!1;for(let n in e.children)if(!i.children[n]||!zC(i.children[n],e.children[n],t))return!1;return!0}else{let n=r.slice(0,i.segments.length),o=r.slice(i.segments.length);return!ts(i.segments,n)||!ih(i.segments,n,t)||!i.children[De]?!1:$C(i.children[De],e,o,t)}}function ih(i,e,r){return e.every((t,n)=>jC[r](i[n].parameters,t.parameters))}var ro=class{constructor(e=new He([],{}),r={},t=null){this.root=e,this.queryParams=r,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=oa(this.queryParams)),this._queryParamMap}toString(){return zP.serialize(this)}},He=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return nh(this)}},es=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap||(this._parameterMap=oa(this.parameters)),this._parameterMap}toString(){return UC(this)}};function jP(i,e){return ts(i,e)&&i.every((r,t)=>er(r.parameters,e[t].parameters))}function ts(i,e){return i.length!==e.length?!1:i.every((r,t)=>r.path===e[t].path)}function BP(i,e){let r=[];return Object.entries(i.children).forEach(([t,n])=>{t===De&&(r=r.concat(e(n,t)))}),Object.entries(i.children).forEach(([t,n])=>{t!==De&&(r=r.concat(e(n,t)))}),r}var x_=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:()=>(()=>new oh)(),providedIn:"root"});let i=e;return i})(),oh=class{parse(e){let r=new Xg(e);return new ro(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Vl(e.root,!0)}`,t=UP(e.queryParams),n=typeof e.fragment=="string"?`#${$P(e.fragment)}`:"";return`${r}${t}${n}`}},zP=new oh;function nh(i){return i.segments.map(e=>UC(e)).join("/")}function Vl(i,e){if(!i.hasChildren())return nh(i);if(e){let r=i.children[De]?Vl(i.children[De],!1):"",t=[];return Object.entries(i.children).forEach(([n,o])=>{n!==De&&t.push(`${n}:${Vl(o,!1)}`)}),t.length>0?`${r}(${t.join("//")})`:r}else{let r=BP(i,(t,n)=>n===De?[Vl(i.children[De],!1)]:[`${n}:${Vl(t,!1)}`]);return Object.keys(i.children).length===1&&i.children[De]!=null?`${nh(i)}/${r[0]}`:`${nh(i)}/(${r.join("//")})`}}function HC(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function eh(i){return HC(i).replace(/%3B/gi,";")}function $P(i){return encodeURI(i)}function Zg(i){return HC(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function rh(i){return decodeURIComponent(i)}function OC(i){return rh(i.replace(/\+/g,"%20"))}function UC(i){return`${Zg(i.path)}${HP(i.parameters)}`}function HP(i){return Object.keys(i).map(e=>`;${Zg(e)}=${Zg(i[e])}`).join("")}function UP(i){let e=Object.keys(i).map(r=>{let t=i[r];return Array.isArray(t)?t.map(n=>`${eh(r)}=${eh(n)}`).join("&"):`${eh(r)}=${eh(t)}`}).filter(r=>!!r);return e.length?`?${e.join("&")}`:""}var qP=/^[^\/()?;#]+/;function qg(i){let e=i.match(qP);return e?e[0]:""}var GP=/^[^\/()?;=#]+/;function WP(i){let e=i.match(GP);return e?e[0]:""}var YP=/^[^=?&#]+/;function QP(i){let e=i.match(YP);return e?e[0]:""}var KP=/^[^&#]+/;function ZP(i){let e=i.match(KP);return e?e[0]:""}var Xg=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new He([],{}):new He([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(t[De]=new He(e,r)),t}parseSegment(){let e=qg(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new A(4009,!1);return this.capture(e),new es(rh(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=WP(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let n=qg(this.remaining);n&&(t=n,this.capture(t))}e[rh(r)]=rh(t)}parseQueryParam(e){let r=QP(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let s=ZP(this.remaining);s&&(t=s,this.capture(t))}let n=OC(r),o=OC(t);if(e.hasOwnProperty(n)){let s=e[n];Array.isArray(s)||(s=[s],e[n]=s),s.push(o)}else e[n]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=qg(this.remaining),n=this.remaining[t.length];if(n!=="/"&&n!==")"&&n!==";")throw new A(4010,!1);let o;t.indexOf(":")>-1?(o=t.slice(0,t.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=De);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[De]:new He([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new A(4011,!1)}};function qC(i){return i.segments.length>0?new He([],{[De]:i}):i}function GC(i){let e={};for(let t of Object.keys(i.children)){let n=i.children[t],o=GC(n);if(t===De&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[t]=o)}let r=new He(i.segments,e);return XP(r)}function XP(i){if(i.numberOfChildren===1&&i.children[De]){let e=i.children[De];return new He(i.segments.concat(e.segments),e.children)}return i}function sa(i){return i instanceof ro}function JP(i,e,r=null,t=null){let n=WC(i);return YC(n,e,r,t)}function WC(i){let e;function r(o){let s={};for(let l of o.children){let c=r(l);s[l.outlet]=c}let a=new He(o.url,s);return o===i&&(e=a),a}let t=r(i.root),n=qC(t);return e??n}function YC(i,e,r,t){let n=i;for(;n.parent;)n=n.parent;if(e.length===0)return Gg(n,n,n,r,t);let o=eL(e);if(o.toRoot())return Gg(n,n,new He([],{}),r,t);let s=tL(o,n,i),a=s.processChildren?zl(s.segmentGroup,s.index,o.commands):KC(s.segmentGroup,s.index,o.commands);return Gg(n,s.segmentGroup,a,r,t)}function sh(i){return typeof i=="object"&&i!=null&&!i.outlets&&!i.segmentPath}function Ul(i){return typeof i=="object"&&i!=null&&i.outlets}function Gg(i,e,r,t,n){let o={};t&&Object.entries(t).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let s;i===e?s=r:s=QC(i,e,r);let a=qC(GC(s));return new ro(a,o,n)}function QC(i,e,r){let t={};return Object.entries(i.children).forEach(([n,o])=>{o===e?t[n]=r:t[n]=QC(o,e,r)}),new He(i.segments,t)}var ah=class{constructor(e,r,t){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=t,e&&t.length>0&&sh(t[0]))throw new A(4003,!1);let n=t.find(Ul);if(n&&n!==VC(t))throw new A(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function eL(i){if(typeof i[0]=="string"&&i.length===1&&i[0]==="/")return new ah(!0,0,i);let e=0,r=!1,t=i.reduce((n,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...n,{outlets:a}]}if(o.segmentPath)return[...n,o.segmentPath]}return typeof o!="string"?[...n,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?r=!0:a===".."?e++:a!=""&&n.push(a))}),n):[...n,o]},[]);return new ah(r,e,t)}var na=class{constructor(e,r,t){this.segmentGroup=e,this.processChildren=r,this.index=t}};function tL(i,e,r){if(i.isAbsolute)return new na(e,!0,0);if(!r)return new na(e,!1,NaN);if(r.parent===null)return new na(r,!0,0);let t=sh(i.commands[0])?0:1,n=r.segments.length-1+t;return iL(r,n,i.numberOfDoubleDots)}function iL(i,e,r){let t=i,n=e,o=r;for(;o>n;){if(o-=n,t=t.parent,!t)throw new A(4005,!1);n=t.segments.length}return new na(t,!1,n-o)}function nL(i){return Ul(i[0])?i[0].outlets:{[De]:i}}function KC(i,e,r){if(i||(i=new He([],{})),i.segments.length===0&&i.hasChildren())return zl(i,e,r);let t=rL(i,e,r),n=r.slice(t.commandIndex);if(t.match&&t.pathIndexo!==De)&&i.children[De]&&i.numberOfChildren===1&&i.children[De].segments.length===0){let o=zl(i.children[De],e,r);return new He(i.segments,o.children)}return Object.entries(t).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(n[o]=KC(i.children[o],e,s))}),Object.entries(i.children).forEach(([o,s])=>{t[o]===void 0&&(n[o]=s)}),new He(i.segments,n)}}function rL(i,e,r){let t=0,n=e,o={match:!1,pathIndex:0,commandIndex:0};for(;n=r.length)return o;let s=i.segments[n],a=r[t];if(Ul(a))break;let l=`${a}`,c=t0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!NC(l,c,s))return o;t+=2}else{if(!NC(l,{},s))return o;t++}n++}return{match:!0,pathIndex:n,commandIndex:t}}function Jg(i,e,r){let t=i.segments.slice(0,e),n=0;for(;n{typeof t=="string"&&(t=[t]),t!==null&&(e[r]=Jg(new He([],{}),0,t))}),e}function FC(i){let e={};return Object.entries(i).forEach(([r,t])=>e[r]=`${t}`),e}function NC(i,e,r){return i==r.path&&er(e,r.parameters)}var $l="imperative",dn=class{constructor(e,r){this.id=e,this.url=r}},ql=class extends dn{constructor(e,r,t="imperative",n=null){super(e,r),this.type=0,this.navigationTrigger=t,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},oo=class extends dn{constructor(e,r,t){super(e,r),this.urlAfterRedirects=t,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},so=class extends dn{constructor(e,r,t,n){super(e,r),this.reason=t,this.code=n,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},is=class extends dn{constructor(e,r,t,n){super(e,r),this.reason=t,this.code=n,this.type=16}},Gl=class extends dn{constructor(e,r,t,n){super(e,r),this.error=t,this.target=n,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},lh=class extends dn{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},e_=class extends dn{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},t_=class extends dn{constructor(e,r,t,n,o){super(e,r),this.urlAfterRedirects=t,this.state=n,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},i_=class extends dn{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},n_=class extends dn{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},r_=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},o_=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},s_=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},a_=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},l_=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},c_=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Wl=class{},Yl=class{constructor(e){this.url=e}};var d_=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new fh,this.attachRef=null}},fh=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,n){let o=this.getOrCreateContext(t);o.outlet=n,this.contexts.set(t,o)}onChildOutletDestroyed(t){let n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new d_,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),ch=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=u_(e,this._root);return r?r.children.map(t=>t.value):[]}firstChild(e){let r=u_(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=h_(e,this._root);return r.length<2?[]:r[r.length-2].children.map(n=>n.value).filter(n=>n!==e)}pathFromRoot(e){return h_(e,this._root).map(r=>r.value)}};function u_(i,e){if(i===e.value)return e;for(let r of e.children){let t=u_(i,r);if(t)return t}return null}function h_(i,e){if(i===e.value)return[e];for(let r of e.children){let t=h_(i,r);if(t.length)return t.unshift(e),t}return[]}var qi=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function ia(i){let e={};return i&&i.children.forEach(r=>e[r.value.outlet]=r),e}var dh=class extends ch{constructor(e,r){super(e),this.snapshot=r,C_(this,e)}toString(){return this.snapshot.toString()}};function ZC(i,e){let r=sL(i,e),t=new Nt([new es("",{})]),n=new Nt({}),o=new Nt({}),s=new Nt({}),a=new Nt(""),l=new ns(t,n,s,a,o,De,e,r.root);return l.snapshot=r.root,new dh(new qi(l,[]),r)}function sL(i,e){let r={},t={},n={},o="",s=new Ql([],r,n,o,t,De,e,null,{});return new uh("",new qi(s,[]))}var ns=class{constructor(e,r,t,n,o,s,a,l){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=t,this.fragmentSubject=n,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(U(c=>c[Xl]))??Z(void 0),this.url=e,this.params=r,this.queryParams=t,this.fragment=n,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(U(e=>oa(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(U(e=>oa(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function w_(i,e,r="emptyOnly"){let t,{routeConfig:n}=i;return e!==null&&(r==="always"||n?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:E(E({},e.params),i.params),data:E(E({},e.data),i.data),resolve:E(E(E(E({},i.data),e.data),n?.data),i._resolvedData)}:t={params:E({},i.params),data:E({},i.data),resolve:E(E({},i.data),i._resolvedData??{})},n&&JC(n)&&(t.resolve[Xl]=n.title),t}var Ql=class{get title(){return this.data?.[Xl]}constructor(e,r,t,n,o,s,a,l,c){this.url=e,this.params=r,this.queryParams=t,this.fragment=n,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=oa(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=oa(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},uh=class extends ch{constructor(e,r){super(r),this.url=e,C_(this,r)}toString(){return XC(this._root)}};function C_(i,e){e.value._routerState=i,e.children.forEach(r=>C_(i,r))}function XC(i){let e=i.children.length>0?` { ${i.children.map(XC).join(", ")} } `:"";return`${i.value}${e}`}function Wg(i){if(i.snapshot){let e=i.snapshot,r=i._futureSnapshot;i.snapshot=r,er(e.queryParams,r.queryParams)||i.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&i.fragmentSubject.next(r.fragment),er(e.params,r.params)||i.paramsSubject.next(r.params),NP(e.url,r.url)||i.urlSubject.next(r.url),er(e.data,r.data)||i.dataSubject.next(r.data)}else i.snapshot=i._futureSnapshot,i.dataSubject.next(i._futureSnapshot.data)}function m_(i,e){let r=er(i.params,e.params)&&jP(i.url,e.url),t=!i.parent!=!e.parent;return r&&!t&&(!i.parent||m_(i.parent,e.parent))}function JC(i){return typeof i.title=="string"||i.title===null}var D_=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=De,this.activateEvents=new O,this.deactivateEvents=new O,this.attachEvents=new O,this.detachEvents=new O,this.parentContexts=C(fh),this.location=C(vt),this.changeDetector=C(Ie),this.environmentInjector=C(Ci),this.inputBinder=C(E_,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:n,previousValue:o}=t.name;if(n)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new A(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new A(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new A(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,n){this.activated=t,this._activatedRoute=n,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,n){if(this.isActivated)throw new A(4013,!1);this._activatedRoute=t;let o=this.location,a=t.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new f_(t,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:n??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=R({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Oe]});let i=e;return i})(),f_=class{constructor(e,r,t){this.route=e,this.childContexts=r,this.parent=t}get(e,r){return e===ns?this.route:e===fh?this.childContexts:this.parent.get(e,r)}},E_=new I("");function aL(i,e,r){let t=Kl(i,e._root,r?r._root:void 0);return new dh(t,e)}function Kl(i,e,r){if(r&&i.shouldReuseRoute(e.value,r.value.snapshot)){let t=r.value;t._futureSnapshot=e.value;let n=lL(i,e,r);return new qi(t,n)}else{if(i.shouldAttach(e.value)){let o=i.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Kl(i,a)),s}}let t=cL(e.value),n=e.children.map(o=>Kl(i,o));return new qi(t,n)}}function lL(i,e,r){return e.children.map(t=>{for(let n of r.children)if(i.shouldReuseRoute(t.value,n.value.snapshot))return Kl(i,t,n);return Kl(i,t)})}function cL(i){return new ns(new Nt(i.url),new Nt(i.params),new Nt(i.queryParams),new Nt(i.fragment),new Nt(i.data),i.outlet,i.component,i)}var eD="ngNavigationCancelingError";function tD(i,e){let{redirectTo:r,navigationBehaviorOptions:t}=sa(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,n=iD(!1,0,e);return n.url=r,n.navigationBehaviorOptions=t,n}function iD(i,e,r){let t=new Error("NavigationCancelingError: "+(i||""));return t[eD]=!0,t.cancellationCode=e,r&&(t.url=r),t}function dL(i){return nD(i)&&sa(i.url)}function nD(i){return i&&i[eD]}var uL=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=P({type:e,selectors:[["ng-component"]],standalone:!0,features:[Ce],decls:1,vars:0,template:function(n,o){n&1&&k(0,"router-outlet")},dependencies:[D_],encapsulation:2});let i=e;return i})();function hL(i,e){return i.providers&&!i._injector&&(i._injector=pg(i.providers,e,`Route: ${i.path}`)),i._injector??e}function k_(i){let e=i.children&&i.children.map(k_),r=e?xe(E({},i),{children:e}):E({},i);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==De&&(r.component=uL),r}function tr(i){return i.outlet||De}function mL(i,e){let r=i.filter(t=>tr(t)===e);return r.push(...i.filter(t=>tr(t)!==e)),r}function Jl(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let e=i.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var fL=(i,e,r,t)=>U(n=>(new p_(e,n.targetRouterState,n.currentRouterState,r,t).activate(i),n)),p_=class{constructor(e,r,t,n,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=t,this.forwardEvent=n,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,t,e),Wg(this.futureState.root),this.activateChildRoutes(r,t,e)}deactivateChildRoutes(e,r,t){let n=ia(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,n[s],t),delete n[s]}),Object.values(n).forEach(o=>{this.deactivateRouteAndItsChildren(o,t)})}deactivateRoutes(e,r,t){let n=e.value,o=r?r.value:null;if(n===o)if(n.component){let s=t.getContext(n.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,t);else o&&this.deactivateRouteAndItsChildren(r,t)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let t=r.getContext(e.value.outlet),n=t&&e.value.component?t.children:r,o=ia(e);for(let s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],n);if(t&&t.outlet){let s=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let t=r.getContext(e.value.outlet),n=t&&e.value.component?t.children:r,o=ia(e);for(let s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],n);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,r,t){let n=ia(r);e.children.forEach(o=>{this.activateRoutes(o,n[o.value.outlet],t),this.forwardEvent(new c_(o.value.snapshot))}),e.children.length&&this.forwardEvent(new a_(e.value.snapshot))}activateRoutes(e,r,t){let n=e.value,o=r?r.value:null;if(Wg(n),n===o)if(n.component){let s=t.getOrCreateContext(n.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,t);else if(n.component){let s=t.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){let a=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Wg(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Jl(n.snapshot);s.attachRef=null,s.route=n,s.injector=a,s.outlet&&s.outlet.activateWith(n,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,t)}},hh=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},ra=class{constructor(e,r){this.component=e,this.route=r}};function pL(i,e,r){let t=i._root,n=e?e._root:null;return jl(t,n,r,[t.value])}function gL(i){let e=i.routeConfig?i.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:i,guards:e}}function la(i,e){let r=Symbol(),t=e.get(i,r);return t===r?typeof i=="function"&&!Iy(i)?i:e.get(i):t}function jl(i,e,r,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=ia(e);return i.children.forEach(s=>{_L(s,o[s.value.outlet],r,t.concat([s.value]),n),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Hl(a,r.getContext(s),n)),n}function _L(i,e,r,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=i.value,s=e?e.value:null,a=r?r.getContext(i.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=bL(s,o,o.routeConfig.runGuardsAndResolvers);l?n.canActivateChecks.push(new hh(t)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?jl(i,e,a?a.children:null,t,n):jl(i,e,r,t,n),l&&a&&a.outlet&&a.outlet.isActivated&&n.canDeactivateChecks.push(new ra(a.outlet.component,s))}else s&&Hl(e,a,n),n.canActivateChecks.push(new hh(t)),o.component?jl(i,null,a?a.children:null,t,n):jl(i,null,r,t,n);return n}function bL(i,e,r){if(typeof r=="function")return r(i,e);switch(r){case"pathParamsChange":return!ts(i.url,e.url);case"pathParamsOrQueryParamsChange":return!ts(i.url,e.url)||!er(i.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!m_(i,e)||!er(i.queryParams,e.queryParams);case"paramsChange":default:return!m_(i,e)}}function Hl(i,e,r){let t=ia(i),n=i.value;Object.entries(t).forEach(([o,s])=>{n.component?e?Hl(s,e.children.getContext(o),r):Hl(s,null,r):Hl(s,e,r)}),n.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new ra(e.outlet.component,n)):r.canDeactivateChecks.push(new ra(null,n)):r.canDeactivateChecks.push(new ra(null,n))}function ec(i){return typeof i=="function"}function vL(i){return typeof i=="boolean"}function yL(i){return i&&ec(i.canLoad)}function xL(i){return i&&ec(i.canActivate)}function wL(i){return i&&ec(i.canActivateChild)}function CL(i){return i&&ec(i.canDeactivate)}function DL(i){return i&&ec(i.canMatch)}function rD(i){return i instanceof gr||i?.name==="EmptyError"}var th=Symbol("INITIAL_VALUE");function aa(){return Ye(i=>As(i.map(e=>e.pipe(Ee(1),gt(th)))).pipe(U(e=>{for(let r of e)if(r!==!0){if(r===th)return th;if(r===!1||r instanceof ro)return r}return!0}),de(e=>e!==th),Ee(1)))}function EL(i,e){return ut(r=>{let{targetSnapshot:t,currentSnapshot:n,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?Z(xe(E({},r),{guardsResult:!0})):kL(s,t,n,i).pipe(ut(a=>a&&vL(a)?IL(t,o,i,e):Z(a)),U(a=>xe(E({},r),{guardsResult:a})))})}function kL(i,e,r,t){return tt(i).pipe(ut(n=>RL(n.component,n.route,r,e,t)),Un(n=>n!==!0,!0))}function IL(i,e,r,t){return tt(e).pipe(Ur(n=>zn(TL(n.route.parent,t),SL(n.route,t),AL(i,n.path,r),ML(i,n.route,r))),Un(n=>n!==!0,!0))}function SL(i,e){return i!==null&&e&&e(new l_(i)),Z(!0)}function TL(i,e){return i!==null&&e&&e(new s_(i)),Z(!0)}function ML(i,e,r){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return Z(!0);let n=t.map(o=>rn(()=>{let s=Jl(e)??r,a=la(o,s),l=xL(a)?a.canActivate(e,i):Cr(s,()=>a(e,i));return ao(l).pipe(Un())}));return Z(n).pipe(aa())}function AL(i,e,r){let t=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>gL(s)).filter(s=>s!==null).map(s=>rn(()=>{let a=s.guards.map(l=>{let c=Jl(s.node)??r,d=la(l,c),u=wL(d)?d.canActivateChild(t,i):Cr(c,()=>d(t,i));return ao(u).pipe(Un())});return Z(a).pipe(aa())}));return Z(o).pipe(aa())}function RL(i,e,r,t,n){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return Z(!0);let s=o.map(a=>{let l=Jl(e)??n,c=la(a,l),d=CL(c)?c.canDeactivate(i,e,r,t):Cr(l,()=>c(i,e,r,t));return ao(d).pipe(Un())});return Z(s).pipe(aa())}function OL(i,e,r,t){let n=e.canLoad;if(n===void 0||n.length===0)return Z(!0);let o=n.map(s=>{let a=la(s,i),l=yL(a)?a.canLoad(e,r):Cr(i,()=>a(e,r));return ao(l)});return Z(o).pipe(aa(),oD(t))}function oD(i){return Um(qe(e=>{if(sa(e))throw tD(i,e)}),U(e=>e===!0))}function FL(i,e,r,t){let n=e.canMatch;if(!n||n.length===0)return Z(!0);let o=n.map(s=>{let a=la(s,i),l=DL(a)?a.canMatch(e,r):Cr(i,()=>a(e,r));return ao(l)});return Z(o).pipe(aa(),oD(t))}var Zl=class{constructor(e){this.segmentGroup=e||null}},mh=class extends Error{constructor(e){super(),this.urlTree=e}};function ta(i){return Hr(new Zl(i))}function NL(i){return Hr(new A(4e3,!1))}function PL(i){return Hr(iD(!1,3))}var g_=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let t=[],n=r.root;for(;;){if(t=t.concat(n.segments),n.numberOfChildren===0)return Z(t);if(n.numberOfChildren>1||!n.children[De])return NL(e.redirectTo);n=n.children[De]}}applyRedirectCommands(e,r,t){let n=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,t);if(r.startsWith("/"))throw new mh(n);return n}applyRedirectCreateUrlTree(e,r,t,n){let o=this.createSegmentGroup(e,r.root,t,n);return new ro(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let t={};return Object.entries(e).forEach(([n,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);t[n]=r[a]}else t[n]=o}),t}createSegmentGroup(e,r,t,n){let o=this.createSegments(e,r.segments,t,n),s={};return Object.entries(r.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,t,n)}),new He(o,s)}createSegments(e,r,t,n){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,n):this.findOrReturn(o,t))}findPosParam(e,r,t){let n=t[r.path.substring(1)];if(!n)throw new A(4001,!1);return n}findOrReturn(e,r){let t=0;for(let n of r){if(n.path===e.path)return r.splice(t),n;t++}return e}},__={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function LL(i,e,r,t,n){let o=I_(i,e,r);return o.matched?(t=hL(e,t),FL(t,e,r,n).pipe(U(s=>s===!0?o:E({},__)))):Z(o)}function I_(i,e,r){if(e.path==="**")return VL(r);if(e.path==="")return e.pathMatch==="full"&&(i.hasChildren()||r.length>0)?E({},__):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let n=(e.matcher||FP)(r,i,e);if(!n)return E({},__);let o={};Object.entries(n.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=n.consumed.length>0?E(E({},o),n.consumed[n.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:n.consumed,remainingSegments:r.slice(n.consumed.length),parameters:s,positionalParamSegments:n.posParams??{}}}function VL(i){return{matched:!0,parameters:i.length>0?VC(i).parameters:{},consumedSegments:i,remainingSegments:[],positionalParamSegments:{}}}function PC(i,e,r,t){return r.length>0&&zL(i,r,t)?{segmentGroup:new He(e,BL(t,new He(r,i.children))),slicedSegments:[]}:r.length===0&&$L(i,r,t)?{segmentGroup:new He(i.segments,jL(i,e,r,t,i.children)),slicedSegments:r}:{segmentGroup:new He(i.segments,i.children),slicedSegments:r}}function jL(i,e,r,t,n){let o={};for(let s of t)if(ph(i,r,s)&&!n[tr(s)]){let a=new He([],{});o[tr(s)]=a}return E(E({},n),o)}function BL(i,e){let r={};r[De]=e;for(let t of i)if(t.path===""&&tr(t)!==De){let n=new He([],{});r[tr(t)]=n}return r}function zL(i,e,r){return r.some(t=>ph(i,e,t)&&tr(t)!==De)}function $L(i,e,r){return r.some(t=>ph(i,e,t))}function ph(i,e,r){return(i.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function HL(i,e,r,t){return tr(i)!==t&&(t===De||!ph(e,r,i))?!1:I_(e,i,r).matched}function UL(i,e,r){return e.length===0&&!i.children[r]}var b_=class{};function qL(i,e,r,t,n,o,s="emptyOnly"){return new v_(i,e,r,t,n,s,o).recognize()}var GL=31,v_=class{constructor(e,r,t,n,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=t,this.config=n,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new g_(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new A(4002,`'${e.segmentGroup}'`)}recognize(){let e=PC(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(U(r=>{let t=new Ql([],Object.freeze({}),Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,{},De,this.rootComponentType,null,{}),n=new qi(t,r),o=new uh("",n),s=JP(t,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,De).pipe(kn(t=>{if(t instanceof mh)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Zl?this.noMatchError(t):t}))}inheritParamsAndData(e,r){let t=e.value,n=w_(t,r,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(o=>this.inheritParamsAndData(o,t))}processSegmentGroup(e,r,t,n){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,r,t):this.processSegment(e,r,t,t.segments,n,!0).pipe(U(o=>o instanceof qi?[o]:[]))}processChildren(e,r,t){let n=[];for(let o of Object.keys(t.children))o==="primary"?n.unshift(o):n.push(o);return tt(n).pipe(Ur(o=>{let s=t.children[o],a=mL(r,o);return this.processSegmentGroup(e,a,s,o)}),Xm((o,s)=>(o.push(...s),o)),qr(null),Zm(),ut(o=>{if(o===null)return ta(t);let s=sD(o);return WL(s),Z(s)}))}processSegment(e,r,t,n,o,s){return tt(r).pipe(Ur(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,t,n,o,s).pipe(kn(l=>{if(l instanceof Zl)return Z(null);throw l}))),Un(a=>!!a),kn(a=>{if(rD(a))return UL(t,n,o)?Z(new b_):ta(t);throw a}))}processSegmentAgainstRoute(e,r,t,n,o,s,a){return HL(t,n,o,s)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,n,t,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,n,r,t,o,s):ta(n):ta(n)}expandSegmentAgainstRouteUsingRedirect(e,r,t,n,o,s){let{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:d}=I_(r,n,o);if(!a)return ta(r);n.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>GL&&(this.allowRedirects=!1));let u=this.applyRedirects.applyRedirectCommands(l,n.redirectTo,c);return this.applyRedirects.lineralizeSegments(n,u).pipe(ut(m=>this.processSegment(e,t,r,m.concat(d),s,!1)))}matchSegmentAgainstRoute(e,r,t,n,o){let s=LL(r,t,n,e,this.urlSerializer);return t.path==="**"&&(r.children={}),s.pipe(Ye(a=>a.matched?(e=t._injector??e,this.getChildConfig(e,t,n).pipe(Ye(({routes:l})=>{let c=t._loadedInjector??e,{consumedSegments:d,remainingSegments:u,parameters:m}=a,f=new Ql(d,m,Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,QL(t),tr(t),t.component??t._loadedComponent??null,t,KL(t)),{segmentGroup:b,slicedSegments:w}=PC(r,d,u,l);if(w.length===0&&b.hasChildren())return this.processChildren(c,l,b).pipe(U(M=>M===null?null:new qi(f,M)));if(l.length===0&&w.length===0)return Z(new qi(f,[]));let T=tr(t)===o;return this.processSegment(c,l,b,w,T?De:o,!0).pipe(U(M=>new qi(f,M instanceof qi?[M]:[])))}))):ta(r)))}getChildConfig(e,r,t){return r.children?Z({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?Z({routes:r._loadedRoutes,injector:r._loadedInjector}):OL(e,r,t,this.urlSerializer).pipe(ut(n=>n?this.configLoader.loadChildren(e,r).pipe(qe(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):PL(r))):Z({routes:[],injector:e})}};function WL(i){i.sort((e,r)=>e.value.outlet===De?-1:r.value.outlet===De?1:e.value.outlet.localeCompare(r.value.outlet))}function YL(i){let e=i.value.routeConfig;return e&&e.path===""}function sD(i){let e=[],r=new Set;for(let t of i){if(!YL(t)){e.push(t);continue}let n=e.find(o=>t.value.routeConfig===o.value.routeConfig);n!==void 0?(n.children.push(...t.children),r.add(n)):e.push(t)}for(let t of r){let n=sD(t.children);e.push(new qi(t.value,n))}return e.filter(t=>!r.has(t))}function QL(i){return i.data||{}}function KL(i){return i.resolve||{}}function ZL(i,e,r,t,n,o){return ut(s=>qL(i,e,r,t,s.extractedUrl,n,o).pipe(U(({state:a,tree:l})=>xe(E({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function XL(i,e){return ut(r=>{let{targetSnapshot:t,guards:{canActivateChecks:n}}=r;if(!n.length)return Z(r);let o=new Set(n.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of aD(l))s.add(c);let a=0;return tt(s).pipe(Ur(l=>o.has(l)?JL(l,t,i,e):(l.data=w_(l,l.parent,i).resolve,Z(void 0))),qe(()=>a++),Rs(1),ut(l=>a===s.size?Z(r):Ut))})}function aD(i){let e=i.children.map(r=>aD(r)).flat();return[i,...e]}function JL(i,e,r,t){let n=i.routeConfig,o=i._resolve;return n?.title!==void 0&&!JC(n)&&(o[Xl]=n.title),e2(o,i,e,t).pipe(U(s=>(i._resolvedData=s,i.data=w_(i,i.parent,r).resolve,null)))}function e2(i,e,r,t){let n=Kg(i);if(n.length===0)return Z({});let o={};return tt(n).pipe(ut(s=>t2(i[s],e,r,t).pipe(Un(),qe(a=>{o[s]=a}))),Rs(1),Ja(o),kn(s=>rD(s)?Ut:Hr(s)))}function t2(i,e,r,t){let n=Jl(e)??t,o=la(i,n),s=o.resolve?o.resolve(e,r):Cr(n,()=>o(e,r));return ao(s)}function Yg(i){return Ye(e=>{let r=i(e);return r?tt(r).pipe(U(()=>e)):Z(e)})}var lD=(()=>{let e=class e{buildTitle(t){let n,o=t.root;for(;o!==void 0;)n=this.getResolvedTitleForRoute(o)??n,o=o.children.find(s=>s.outlet===De);return n}getResolvedTitleForRoute(t){return t.data[Xl]}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:()=>(()=>C(i2))(),providedIn:"root"});let i=e;return i})(),i2=(()=>{let e=class e extends lD{constructor(t){super(),this.title=t}updateTitle(t){let n=this.buildTitle(t);n!==void 0&&this.title.setTitle(n)}};e.\u0275fac=function(n){return new(n||e)(v(Hg))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),S_=new I("",{providedIn:"root",factory:()=>({})}),T_=new I("ROUTES"),n2=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=C(bg)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return Z(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let n=ao(t.loadComponent()).pipe(U(cD),qe(s=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s}),nt(()=>{this.componentLoaders.delete(t)})),o=new Oo(n,()=>new S).pipe(Is());return this.componentLoaders.set(t,o),o}loadChildren(t,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return Z({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let s=r2(n,this.compiler,t,this.onLoadEndListener).pipe(nt(()=>{this.childrenLoaders.delete(n)})),a=new Oo(s,()=>new S).pipe(Is());return this.childrenLoaders.set(n,a),a}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function r2(i,e,r,t){return ao(i.loadChildren()).pipe(U(cD),ut(n=>n instanceof pl||Array.isArray(n)?Z(n):tt(e.compileModuleAsync(n))),U(n=>{t&&t(i);let o,s,a=!1;return Array.isArray(n)?(s=n,a=!0):(o=n.create(r).injector,s=o.get(T_,[],{optional:!0,self:!0}).flat()),{routes:s.map(k_),injector:o}}))}function o2(i){return i&&typeof i=="object"&&"default"in i}function cD(i){return o2(i)?i.default:i}var M_=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:()=>(()=>C(s2))(),providedIn:"root"});let i=e;return i})(),s2=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),a2=new I("");var l2=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new S,this.transitionAbortSubject=new S,this.configLoader=C(n2),this.environmentInjector=C(Ci),this.urlSerializer=C(x_),this.rootContexts=C(fh),this.location=C(Ar),this.inputBindingEnabled=C(E_,{optional:!0})!==null,this.titleStrategy=C(lD),this.options=C(S_,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=C(M_),this.createViewTransition=C(a2,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>Z(void 0),this.rootComponentType=null;let t=o=>this.events.next(new r_(o)),n=o=>this.events.next(new o_(o));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let n=++this.navigationId;this.transitions?.next(xe(E(E({},this.transitions.value),t),{id:n}))}setupNavigations(t,n,o){return this.transitions=new Nt({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:$l,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(de(s=>s.id!==0),U(s=>xe(E({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Ye(s=>{this.currentTransition=s;let a=!1,l=!1;return Z(s).pipe(qe(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?xe(E({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Ye(c=>{let d=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=c.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!d&&u!=="reload"){let m="";return this.events.next(new is(c.id,this.urlSerializer.serialize(c.rawUrl),m,0)),c.resolve(null),Ut}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return Z(c).pipe(Ye(m=>{let f=this.transitions?.getValue();return this.events.next(new ql(m.id,this.urlSerializer.serialize(m.extractedUrl),m.source,m.restoredState)),f!==this.transitions?.getValue()?Ut:Promise.resolve(m)}),ZL(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),qe(m=>{s.targetSnapshot=m.targetSnapshot,s.urlAfterRedirects=m.urlAfterRedirects,this.currentNavigation=xe(E({},this.currentNavigation),{finalUrl:m.urlAfterRedirects});let f=new lh(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(f)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:m,extractedUrl:f,source:b,restoredState:w,extras:T}=c,M=new ql(m,this.urlSerializer.serialize(f),b,w);this.events.next(M);let ne=ZC(f,this.rootComponentType).snapshot;return this.currentTransition=s=xe(E({},c),{targetSnapshot:ne,urlAfterRedirects:f,extras:xe(E({},T),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=f,Z(s)}else{let m="";return this.events.next(new is(c.id,this.urlSerializer.serialize(c.extractedUrl),m,1)),c.resolve(null),Ut}}),qe(c=>{let d=new e_(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),U(c=>(this.currentTransition=s=xe(E({},c),{guards:pL(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),EL(this.environmentInjector,c=>this.events.next(c)),qe(c=>{if(s.guardsResult=c.guardsResult,sa(c.guardsResult))throw tD(this.urlSerializer,c.guardsResult);let d=new t_(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(d)}),de(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",3),!1)),Yg(c=>{if(c.guards.canActivateChecks.length)return Z(c).pipe(qe(d=>{let u=new i_(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),Ye(d=>{let u=!1;return Z(d).pipe(XL(this.paramsInheritanceStrategy,this.environmentInjector),qe({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(d,"",2)}}))}),qe(d=>{let u=new n_(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}))}),Yg(c=>{let d=u=>{let m=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&m.push(this.configLoader.loadComponent(u.routeConfig).pipe(qe(f=>{u.component=f}),U(()=>{})));for(let f of u.children)m.push(...d(f));return m};return As(d(c.targetSnapshot.root)).pipe(qr(null),Ee(1))}),Yg(()=>this.afterPreactivation()),Ye(()=>{let{currentSnapshot:c,targetSnapshot:d}=s,u=this.createViewTransition?.(this.environmentInjector,c.root,d.root);return u?tt(u).pipe(U(()=>s)):Z(s)}),U(c=>{let d=aL(t.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=xe(E({},c),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,s}),qe(()=>{this.events.next(new Wl)}),fL(this.rootContexts,t.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Ee(1),qe({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new oo(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Fe(this.transitionAbortSubject.pipe(qe(c=>{throw c}))),nt(()=>{if(!a&&!l){let c="";this.cancelNavigationTransition(s,c,1)}this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),kn(c=>{if(l=!0,nD(c))this.events.next(new so(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),dL(c)?this.events.next(new Yl(c.url)):s.resolve(!1);else{this.events.next(new Gl(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(t.errorHandler(c))}catch(d){s.reject(d)}}return Ut}))}))}cancelNavigationTransition(t,n,o){let s=new so(t.id,this.urlSerializer.serialize(t.extractedUrl),n,o);this.events.next(s),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function c2(i){return i!==$l}var d2=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:()=>(()=>C(u2))(),providedIn:"root"});let i=e;return i})(),y_=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},u2=(()=>{let e=class e extends y_{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Gt(e)))(o||e)}})(),e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),dD=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:()=>(()=>C(h2))(),providedIn:"root"});let i=e;return i})(),h2=(()=>{let e=class e extends dD{constructor(){super(...arguments),this.location=C(Ar),this.urlSerializer=C(x_),this.options=C(S_,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=C(M_),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ro,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=ZC(this.currentUrlTree,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(n=>{n.type==="popstate"&&t(n.url,n.state)})}handleRouterEvent(t,n){if(t instanceof ql)this.stateMemento=this.createStateMemento();else if(t instanceof is)this.rawUrlTree=n.initialUrl;else if(t instanceof lh){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(o,n)}}else t instanceof Wl?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,n))):t instanceof so&&(t.code===3||t.code===2)?this.restoreHistory(n):t instanceof Gl?this.restoreHistory(n,!0):t instanceof oo&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,n){let o=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(o)||n.extras.replaceUrl){let s=this.browserPageId,a=E(E({},n.extras.state),this.generateNgRouterState(n.id,s));this.location.replaceState(o,"",a)}else{let s=E(E({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(t,n=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===t.finalUrl&&s===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,n){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:n}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Gt(e)))(o||e)}})(),e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Bl=function(i){return i[i.COMPLETE=0]="COMPLETE",i[i.FAILED=1]="FAILED",i[i.REDIRECTING=2]="REDIRECTING",i}(Bl||{});function m2(i,e){i.events.pipe(de(r=>r instanceof oo||r instanceof so||r instanceof Gl||r instanceof is),U(r=>r instanceof oo||r instanceof is?Bl.COMPLETE:(r instanceof so?r.code===0||r.code===1:!1)?Bl.REDIRECTING:Bl.FAILED),de(r=>r!==Bl.REDIRECTING),Ee(1)).subscribe(()=>{e()})}function f2(i){throw i}var p2={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},g2={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Fr=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=C(Au),this.stateManager=C(dD),this.options=C(S_,{optional:!0})||{},this.pendingTasks=C(Xs),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=C(l2),this.urlSerializer=C(x_),this.location=C(Ar),this.urlHandlingStrategy=C(M_),this._events=new S,this.errorHandler=this.options.errorHandler||f2,this.navigated=!1,this.routeReuseStrategy=C(d2),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=C(T_,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!C(E_,{optional:!0}),this.eventsSubscription=new ie,this.isNgZoneEnabled=C(N)instanceof N&&N.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(n=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(n,s),n instanceof so&&n.code!==0&&n.code!==1)this.navigated=!0;else if(n instanceof oo)this.navigated=!0;else if(n instanceof Yl){let a=this.urlHandlingStrategy.merge(n.url,o.currentRawUrl),l={skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||c2(o.source)};this.scheduleNavigation(a,$l,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}b2(n)&&this._events.next(n)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),$l,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",n)},0)}))}navigateToSyncWithBrowser(t,n,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let c=E({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let l=this.parseUrl(t);this.scheduleNavigation(l,n,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(k_),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,n={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:c}=n,d=c?this.currentUrlTree.fragment:a,u=null;switch(l){case"merge":u=E(E({},this.currentUrlTree.queryParams),s);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=s||null}u!==null&&(u=this.removeEmptyProps(u));let m;try{let f=o?o.snapshot:this.routerState.snapshot.root;m=WC(f)}catch{(typeof t[0]!="string"||!t[0].startsWith("/"))&&(t=[]),m=this.currentUrlTree.root}return YC(m,t,u,d??null)}navigateByUrl(t,n={skipLocationChange:!1}){let o=sa(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,$l,null,n)}navigate(t,n={skipLocationChange:!1}){return _2(t),this.navigateByUrl(this.createUrlTree(t,n),n)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,n){let o;if(n===!0?o=E({},p2):n===!1?o=E({},g2):o=n,sa(t))return RC(this.currentUrlTree,t,o);let s=this.parseUrl(t);return RC(this.currentUrlTree,s,o)}removeEmptyProps(t){return Object.keys(t).reduce((n,o)=>{let s=t[o];return s!=null&&(n[o]=s),n},{})}scheduleNavigation(t,n,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,c,d;a?(l=a.resolve,c=a.reject,d=a.promise):d=new Promise((m,f)=>{l=m,c=f});let u=this.pendingTasks.add();return m2(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:s,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(m=>Promise.reject(m))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function _2(i){for(let e=0;e{let e=class e{constructor(t,n,o,s,a,l){this.router=t,this.route=n,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new S,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=t.events.subscribe(d=>{d instanceof oo&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){t!=null?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,n,o,s,a){if(this.urlTree===null||this.isAnchorElement&&(t!==0||n||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let t=this.href===null?null:rw(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,n){let o=this.renderer,s=this.el.nativeElement;n!==null?o.setAttribute(s,t,n):o.removeAttribute(s,t)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(n){return new(n||e)(h(Fr),h(ns),$i("tabindex"),h(Jn),h(F),h(io))},e.\u0275dir=R({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,o){n&1&&L("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),n&2&&Y("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",ge],skipLocationChange:["skipLocationChange","skipLocationChange",ge],replaceUrl:["replaceUrl","replaceUrl",ge],routerLink:"routerLink"},standalone:!0,features:[Je,Oe]});let i=e;return i})();var v2=new I("");function hD(i,...e){return eo([{provide:T_,multi:!0,useValue:i},[],{provide:ns,useFactory:y2,deps:[Fr]},{provide:Ru,multi:!0,useFactory:w2},e.map(r=>r.\u0275providers)])}function y2(i){return i.routerState.root}function x2(i,e){return{\u0275kind:i,\u0275providers:e}}function w2(){let i=C(Pe);return e=>{let r=i.get(Di);if(e!==r.components[0])return;let t=i.get(Fr),n=i.get(C2);i.get(D2)===1&&t.initialNavigation(),i.get(E2,null,Se.Optional)?.setUpPreloading(),i.get(v2,null,Se.Optional)?.init(),t.resetRootComponentType(r.componentTypes[0]),n.closed||(n.next(),n.complete(),n.unsubscribe())}}var C2=new I("",{factory:()=>new S}),D2=new I("",{providedIn:"root",factory:()=>1});var E2=new I("");function mD(){return x2(6,[{provide:io,useClass:sC}])}var ir="*";function Yt(i,e){return{type:7,name:i,definitions:e,options:{}}}function mt(i,e=null){return{type:4,styles:e,timings:i}}function pD(i,e=null){return{type:3,steps:i,options:e}}function gD(i,e=null){return{type:2,steps:i,options:e}}function Re(i){return{type:6,styles:i,offset:null}}function Dt(i,e,r){return{type:0,name:i,styles:e,options:r}}function A_(i){return{type:5,steps:i}}function ft(i,e,r=null){return{type:1,expr:i,animation:e,options:r}}function _D(i=null){return{type:9,options:i}}function bD(i,e,r=null){return{type:11,selector:i,animation:e,options:r}}var lo=class{constructor(e=0,r=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(t=>t()),r.length=0}},tc=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let r=0,t=0,n=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++r==o&&this._onFinish()}),s.onDestroy(()=>{++t==o&&this._onDestroy()}),s.onStart(()=>{++n==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(t=>{let n=t.totalTime?Math.min(1,r/t.totalTime):1;t.setPosition(n)})}getPosition(){let e=this.players.reduce((r,t)=>r===null||t.totalTime>r.totalTime?t:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(t=>t()),r.length=0}},gh="!";var vD=["toast-component",""];function k2(i,e){if(i&1){let r=ni();g(0,"button",5),L("click",function(){rt(r);let n=j();return ot(n.remove())}),g(1,"span",6),x(2,"\xD7"),p()()}}function I2(i,e){if(i&1&&(Iu(0),x(1),Su()),i&2){let r=j(2);_(1),Ge("[",r.duplicatesCount+1,"]")}}function S2(i,e){if(i&1&&(g(0,"div"),x(1),V(2,I2,2,1,"ng-container",4),p()),i&2){let r=j();ii(r.options.titleClass),Y("aria-label",r.title),_(1),Ge(" ",r.title," "),_(1),y("ngIf",r.duplicatesCount)}}function T2(i,e){if(i&1&&k(0,"div",7),i&2){let r=j();ii(r.options.messageClass),y("innerHTML",r.message,Yp)}}function M2(i,e){if(i&1&&(g(0,"div",8),x(1),p()),i&2){let r=j();ii(r.options.messageClass),Y("aria-label",r.message),_(1),Ge(" ",r.message," ")}}function A2(i,e){if(i&1&&(g(0,"div"),k(1,"div",9),p()),i&2){let r=j();_(1),Lt("width",r.width()+"%")}}function R2(i,e){if(i&1){let r=ni();g(0,"button",5),L("click",function(){rt(r);let n=j();return ot(n.remove())}),g(1,"span",6),x(2,"\xD7"),p()()}}function O2(i,e){if(i&1&&(Iu(0),x(1),Su()),i&2){let r=j(2);_(1),Ge("[",r.duplicatesCount+1,"]")}}function F2(i,e){if(i&1&&(g(0,"div"),x(1),V(2,O2,2,1,"ng-container",4),p()),i&2){let r=j();ii(r.options.titleClass),Y("aria-label",r.title),_(1),Ge(" ",r.title," "),_(1),y("ngIf",r.duplicatesCount)}}function N2(i,e){if(i&1&&k(0,"div",7),i&2){let r=j();ii(r.options.messageClass),y("innerHTML",r.message,Yp)}}function P2(i,e){if(i&1&&(g(0,"div",8),x(1),p()),i&2){let r=j();ii(r.options.messageClass),Y("aria-label",r.message),_(1),Ge(" ",r.message," ")}}function L2(i,e){if(i&1&&(g(0,"div"),k(1,"div",9),p()),i&2){let r=j();_(1),Lt("width",r.width()+"%")}}var R_=class{_attachedHost;component;viewContainerRef;injector;constructor(e,r){this.component=e,this.injector=r}attach(e,r){return this._attachedHost=e,e.attach(this,r)}detach(){let e=this._attachedHost;if(e)return this._attachedHost=void 0,e.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},O_=class{_attachedPortal;_disposeFn;attach(e,r){return this._attachedPortal=e,this.attachComponentPortal(e,r)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(e){this._disposeFn=e}},F_=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new S;_activate=new S;_manualClose=new S;_resetTimeout=new S;_countDuplicate=new S;constructor(e){this._overlayRef=e}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(e,r){e&&this._resetTimeout.next(),r&&this._countDuplicate.next(++this.duplicatesCount)}},ca=class{toastId;config;message;title;toastType;toastRef;_onTap=new S;_onAction=new S;constructor(e,r,t,n,o,s){this.toastId=e,this.config=r,this.message=t,this.title=n,this.toastType=o,this.toastRef=s,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(e){this._onAction.next(e)}onAction(){return this._onAction.asObservable()}},yD={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},xD=new I("ToastConfig"),N_=class extends O_{_hostDomElement;_componentFactoryResolver;_appRef;constructor(e,r,t){super(),this._hostDomElement=e,this._componentFactoryResolver=r,this._appRef=t}attachComponentPortal(e,r){let t=this._componentFactoryResolver.resolveComponentFactory(e.component),n;return n=t.create(e.injector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()}),r?this._hostDomElement.insertBefore(this._getComponentRootNode(n),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(n)),n}_getComponentRootNode(e){return e.hostView.rootNodes[0]}},V2=(()=>{class i{_document=C(q);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let r=this._document.createElement("div");r.classList.add("overlay-container"),r.setAttribute("aria-live","polite"),this._document.body.appendChild(r),this._containerElement=r}static \u0275fac=function(t){return new(t||i)};static \u0275prov=D({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),P_=class{_portalHost;constructor(e){this._portalHost=e}attach(e,r=!0){return this._portalHost.attach(e,r)}detach(){return this._portalHost.detach()}},j2=(()=>{class i{_overlayContainer=C(V2);_componentFactoryResolver=C(Xn);_appRef=C(Di);_document=C(q);_paneElements=new Map;create(r,t){return this._createOverlayRef(this.getPaneElement(r,t))}getPaneElement(r="",t){return this._paneElements.get(t)||this._paneElements.set(t,{}),this._paneElements.get(t)[r]||(this._paneElements.get(t)[r]=this._createPaneElement(r,t)),this._paneElements.get(t)[r]}_createPaneElement(r,t){let n=this._document.createElement("div");return n.id="toast-container",n.classList.add(r),n.classList.add("toast-container"),t?t.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalHost(r){return new N_(r,this._componentFactoryResolver,this._appRef)}_createOverlayRef(r){return new P_(this._createPortalHost(r))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=D({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),_h=(()=>{class i{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(r,t,n,o,s){this.overlay=t,this._injector=n,this.sanitizer=o,this.ngZone=s,this.toastrConfig=E(E({},r.default),r.config),r.config.iconClasses&&(this.toastrConfig.iconClasses=E(E({},r.default.iconClasses),r.config.iconClasses))}show(r,t,n={},o=""){return this._preBuildNotification(o,r,t,this.applyConfig(n))}success(r,t,n={}){let o=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(o,r,t,this.applyConfig(n))}error(r,t,n={}){let o=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(o,r,t,this.applyConfig(n))}info(r,t,n={}){let o=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(o,r,t,this.applyConfig(n))}warning(r,t,n={}){let o=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(o,r,t,this.applyConfig(n))}clear(r){for(let t of this.toasts)if(r!==void 0){if(t.toastId===r){t.toastRef.manualClose();return}}else t.toastRef.manualClose()}remove(r){let t=this._findToast(r);if(!t||(t.activeToast.toastRef.close(),this.toasts.splice(t.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActivethis._buildNotification(r,t,n,o)):this._buildNotification(r,t,n,o)}_buildNotification(r,t,n,o){if(!o.toastComponent)throw new Error("toastComponent required");let s=this.findDuplicate(n,t,this.toastrConfig.resetTimeoutOnDuplicate&&o.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&n||t)&&this.toastrConfig.preventDuplicates&&s!==null)return s;this.previousToastMessage=t;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let l=this.overlay.create(o.positionClass,this.overlayContainer);this.index=this.index+1;let c=t;t&&o.enableHtml&&(c=this.sanitizer.sanitize(Hi.HTML,t));let d=new F_(l),u=new ca(this.index,o,c,n,r,d),m=[{provide:ca,useValue:u}],f=Pe.create({providers:m,parent:this._injector}),b=new R_(o.toastComponent,f),w=l.attach(b,o.newestOnTop);d.componentInstance=w.instance;let T={toastId:this.index,title:n||"",message:t||"",toastRef:d,onShown:d.afterActivate(),onHidden:d.afterClosed(),onTap:u.onTap(),onAction:u.onAction(),portal:w};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{T.toastRef.activate()})),this.toasts.push(T),T}static \u0275fac=function(t){return new(t||i)(v(xD),v(j2),v(Pe),v(Ug),v(N))};static \u0275prov=D({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),B2=(()=>{class i{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=El(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if(this.state().value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(r,t,n){this.toastrService=r,this.toastPackage=t,this.ngZone=n,this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o}),this.state=El({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(r=>xe(E({},r),{value:"active"})),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let r=new Date().getTime(),t=this.hideTime-r;this.width.set(t/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(n=>100-n),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(r=>xe(E({},r),{value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state().value!=="removed"&&(clearTimeout(this.timeout),this.state.update(r=>xe(E({},r),{value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state().value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state().value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state().value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(r,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(r),t)):this.timeout=setTimeout(()=>r(),t)}outsideInterval(r,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(r),t)):this.intervalId=setInterval(()=>r(),t)}runInsideAngular(r){this.ngZone?this.ngZone.run(()=>r()):r()}static \u0275fac=function(t){return new(t||i)(h(_h),h(ca),h(N))};static \u0275cmp=P({type:i,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(t,n){t&1&&L("click",function(){return n.tapToast()})("mouseenter",function(){return n.stickAround()})("mouseleave",function(){return n.delayedHideToast()}),t&2&&(Xo("@flyInOut",n._state),ii(n.toastClasses),Lt("display",n.displayStyle))},standalone:!0,features:[Ce],attrs:vD,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(t,n){t&1&&V(0,k2,3,0,"button",0)(1,S2,3,5,"div",1)(2,T2,1,3,"div",2)(3,M2,2,4,"div",3)(4,A2,2,2,"div",4),t&2&&(y("ngIf",n.options.closeButton),_(1),y("ngIf",n.title),_(1),y("ngIf",n.message&&n.options.enableHtml),_(1),y("ngIf",n.message&&!n.options.enableHtml),_(1),y("ngIf",n.options.progressBar))},dependencies:[jt],encapsulation:2,data:{animation:[Yt("flyInOut",[Dt("inactive",Re({opacity:0})),Dt("active",Re({opacity:1})),Dt("removed",Re({opacity:0})),ft("inactive => active",mt("{{ easeTime }}ms {{ easing }}")),ft("active => removed",mt("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return i})(),z2=xe(E({},yD),{toastComponent:B2}),wD=(i={})=>eo([{provide:xD,useValue:{default:z2,config:i}}]);var $2=(()=>{class i{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=El(-1);toastClasses="";get displayStyle(){return this.state()==="inactive"?"none":null}state=El("inactive");timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(r,t,n){this.toastrService=r,this.toastPackage=t,this.appRef=n,this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.set("active"),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let r=new Date().getTime(),t=this.hideTime-r;this.width.set(t/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(n=>100-n),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state()!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state()==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(t){return new(t||i)(h(_h),h(ca),h(Di))};static \u0275cmp=P({type:i,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(t,n){t&1&&L("click",function(){return n.tapToast()})("mouseenter",function(){return n.stickAround()})("mouseleave",function(){return n.delayedHideToast()}),t&2&&(ii(n.toastClasses),Lt("display",n.displayStyle))},standalone:!0,features:[Ce],attrs:vD,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(t,n){t&1&&V(0,R2,3,0,"button",0)(1,F2,3,5,"div",1)(2,N2,1,3,"div",2)(3,P2,2,4,"div",3)(4,L2,2,2,"div",4),t&2&&(y("ngIf",n.options.closeButton),_(1),y("ngIf",n.title),_(1),y("ngIf",n.message&&n.options.enableHtml),_(1),y("ngIf",n.message&&!n.options.enableHtml),_(1),y("ngIf",n.options.progressBar))},dependencies:[jt],encapsulation:2,changeDetection:0})}return i})(),MK=xe(E({},yD),{toastComponent:$2});var MD=(()=>{let e=class e{constructor(t,n){this._renderer=t,this._elementRef=n,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(n){return new(n||e)(h(Jn),h(F))},e.\u0275dir=R({type:e});let i=e;return i})(),AD=(()=>{let e=class e extends MD{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Gt(e)))(o||e)}})(),e.\u0275dir=R({type:e,features:[oe]});let i=e;return i})(),Nn=new I("NgValueAccessor");var U2={provide:Nn,useExisting:qt(()=>Ei),multi:!0};function q2(){let i=Mr()?Mr().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var G2=new I("CompositionEventMode"),Ei=(()=>{let e=class e extends MD{constructor(t,n,o){super(t,n),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!q2())}writeValue(t){let n=t??"";this.setProperty("value",n)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}};e.\u0275fac=function(n){return new(n||e)(h(Jn),h(F),h(G2,8))},e.\u0275dir=R({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,o){n&1&&L("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[ke([U2]),oe]});let i=e;return i})();function co(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function RD(i){return i!=null&&typeof i.length=="number"}var uo=new I("NgValidators"),z_=new I("NgAsyncValidators"),W2=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,ee=class{static min(e){return Y2(e)}static max(e){return Q2(e)}static required(e){return K2(e)}static requiredTrue(e){return Z2(e)}static email(e){return X2(e)}static minLength(e){return J2(e)}static maxLength(e){return eV(e)}static pattern(e){return tV(e)}static nullValidator(e){return OD(e)}static compose(e){return jD(e)}static composeAsync(e){return BD(e)}};function Y2(i){return e=>{if(co(e.value)||co(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r{if(co(e.value)||co(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>i?{max:{max:i,actual:e.value}}:null}}function K2(i){return co(i.value)?{required:!0}:null}function Z2(i){return i.value===!0?null:{required:!0}}function X2(i){return co(i.value)||W2.test(i.value)?null:{email:!0}}function J2(i){return e=>co(e.value)||!RD(e.value)?null:e.value.lengthRD(e.value)&&e.value.length>i?{maxlength:{requiredLength:i,actualLength:e.value.length}}:null}function tV(i){if(!i)return OD;let e,r;return typeof i=="string"?(r="",i.charAt(0)!=="^"&&(r+="^"),r+=i,i.charAt(i.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=i.toString(),e=i),t=>{if(co(t.value))return null;let n=t.value;return e.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}}function OD(i){return null}function FD(i){return i!=null}function ND(i){return to(i)?tt(i):i}function PD(i){let e={};return i.forEach(r=>{e=r!=null?E(E({},e),r):e}),Object.keys(e).length===0?null:e}function LD(i,e){return e.map(r=>r(i))}function iV(i){return!i.validate}function VD(i){return i.map(e=>iV(e)?e:r=>e.validate(r))}function jD(i){if(!i)return null;let e=i.filter(FD);return e.length==0?null:function(r){return PD(LD(r,e))}}function $_(i){return i!=null?jD(VD(i)):null}function BD(i){if(!i)return null;let e=i.filter(FD);return e.length==0?null:function(r){let t=LD(r,e).map(ND);return Xa(t).pipe(U(PD))}}function H_(i){return i!=null?BD(VD(i)):null}function CD(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function zD(i){return i._rawValidators}function $D(i){return i._rawAsyncValidators}function L_(i){return i?Array.isArray(i)?i:[i]:[]}function yh(i,e){return Array.isArray(i)?i.includes(e):i===e}function DD(i,e){let r=L_(e);return L_(i).forEach(n=>{yh(r,n)||r.push(n)}),r}function ED(i,e){return L_(e).filter(r=>!yh(i,r))}var xh=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=$_(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=H_(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},nr=class extends xh{get formDirective(){return null}get path(){return null}},Fn=class extends xh{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},wh=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},nV={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},WK=xe(E({},nV),{"[class.ng-submitted]":"isSubmitted"}),un=(()=>{let e=class e extends wh{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(h(Fn,2))},e.\u0275dir=R({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,o){n&2&&Q("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[oe]});let i=e;return i})(),hn=(()=>{let e=class e extends wh{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(h(nr,10))},e.\u0275dir=R({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,o){n&2&&Q("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[oe]});let i=e;return i})();var ic="VALID",bh="INVALID",da="PENDING",nc="DISABLED";function U_(i){return(Eh(i)?i.validators:i)||null}function rV(i){return Array.isArray(i)?$_(i):i||null}function q_(i,e){return(Eh(e)?e.asyncValidators:i)||null}function oV(i){return Array.isArray(i)?H_(i):i||null}function Eh(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function HD(i,e,r){let t=i.controls;if(!(e?Object.keys(t):t).length)throw new A(1e3,"");if(!t[r])throw new A(1001,"")}function UD(i,e,r){i._forEachChild((t,n)=>{if(r[n]===void 0)throw new A(1002,"")})}var ua=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===ic}get invalid(){return this.status===bh}get pending(){return this.status==da}get disabled(){return this.status===nc}get enabled(){return this.status!==nc}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(DD(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(DD(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(ED(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(ED(e,this._rawAsyncValidators))}hasValidator(e){return yh(this._rawValidators,e)}hasAsyncValidator(e){return yh(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=da,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=nc,this.errors=null,this._forEachChild(t=>{t.disable(xe(E({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(xe(E({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(t=>t(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=ic,this._forEachChild(t=>{t.enable(xe(E({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(xe(E({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ic||this.status===da)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?nc:ic}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=da,this._hasOwnPendingAsyncValidator=!0;let r=ND(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((t,n)=>t&&t._find(n),this)}getError(e,r){let t=r?this.get(r):this;return t&&t.errors?t.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new O,this.statusChanges=new O}_calculateStatus(){return this._allControlsDisabled()?nc:this.errors?bh:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(da)?da:this._anyControlsHaveStatus(bh)?bh:ic}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Eh(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=rV(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=oV(this._rawAsyncValidators)}},ha=class extends ua{constructor(e,r,t){super(U_(r),q_(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,t={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){UD(this,!0,e),Object.keys(e).forEach(t=>{HD(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(t=>{let n=this.controls[t];n&&n.patchValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((t,n)=>{t.reset(e?e[n]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,t)=>(e[t]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,t)=>t._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let t=this.controls[r];t&&e(t,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,t]of Object.entries(this.controls))if(this.contains(r)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,t,n)=>((t.enabled||this.disabled)&&(r[n]=t.value),r))}_reduceChildren(e,r){let t=e;return this._forEachChild((n,o)=>{t=r(t,n,o)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var V_=class extends ha{};var kh=new I("CallSetDisabledState",{providedIn:"root",factory:()=>Ih}),Ih="always";function sV(i,e){return[...e.path,i]}function j_(i,e,r=Ih){G_(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),lV(i,e),dV(i,e),cV(i,e),aV(i,e)}function kD(i,e,r=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),Dh(i,e),i&&(e._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function Ch(i,e){i.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function aV(i,e){if(e.valueAccessor.setDisabledState){let r=t=>{e.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(r),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(r)})}}function G_(i,e){let r=zD(i);e.validator!==null?i.setValidators(CD(r,e.validator)):typeof r=="function"&&i.setValidators([r]);let t=$D(i);e.asyncValidator!==null?i.setAsyncValidators(CD(t,e.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let n=()=>i.updateValueAndValidity();Ch(e._rawValidators,n),Ch(e._rawAsyncValidators,n)}function Dh(i,e){let r=!1;if(i!==null){if(e.validator!==null){let n=zD(i);if(Array.isArray(n)&&n.length>0){let o=n.filter(s=>s!==e.validator);o.length!==n.length&&(r=!0,i.setValidators(o))}}if(e.asyncValidator!==null){let n=$D(i);if(Array.isArray(n)&&n.length>0){let o=n.filter(s=>s!==e.asyncValidator);o.length!==n.length&&(r=!0,i.setAsyncValidators(o))}}}let t=()=>{};return Ch(e._rawValidators,t),Ch(e._rawAsyncValidators,t),r}function lV(i,e){e.valueAccessor.registerOnChange(r=>{i._pendingValue=r,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&qD(i,e)})}function cV(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&qD(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function qD(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function dV(i,e){let r=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};i.registerOnChange(r),e._registerOnDestroy(()=>{i._unregisterOnChange(r)})}function GD(i,e){i==null,G_(i,e)}function uV(i,e){return Dh(i,e)}function hV(i,e){if(!i.hasOwnProperty("model"))return!1;let r=i.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function mV(i){return Object.getPrototypeOf(i.constructor)===AD}function WD(i,e){i._syncPendingControls(),e.forEach(r=>{let t=r.control;t.updateOn==="submit"&&t._pendingChange&&(r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function fV(i,e){if(!e)return null;Array.isArray(e);let r,t,n;return e.forEach(o=>{o.constructor===Ei?r=o:mV(o)?t=o:n=o}),n||t||r||null}function pV(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}var gV={provide:nr,useExisting:qt(()=>Nr)},rc=(()=>Promise.resolve())(),Nr=(()=>{let e=class e extends nr{constructor(t,n,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new O,this.form=new ha({},$_(t),H_(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){rc.then(()=>{let n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),j_(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){rc.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){rc.then(()=>{let n=this._findContainer(t.path),o=new ha({});GD(o,t),n.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){rc.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){rc.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,WD(this.form,this._directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(n){return new(n||e)(h(uo,10),h(z_,10),h(kh,8))},e.\u0275dir=R({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,o){n&1&&L("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ke([gV]),oe]});let i=e;return i})();function ID(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}function SD(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var vh=class extends ua{constructor(e=null,r,t){super(U_(r),q_(t,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Eh(r)&&(r.nonNullable||r.initialValueIsDefault)&&(SD(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){ID(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){ID(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){SD(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var _V=i=>i instanceof vh;var mn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=R({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let i=e;return i})(),bV={provide:Nn,useExisting:qt(()=>W_),multi:!0},W_=(()=>{let e=class e extends AD{writeValue(t){let n=t??"";this.setProperty("value",n)}registerOnChange(t){this.onChange=n=>{t(n==""?null:parseFloat(n))}}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Gt(e)))(o||e)}})(),e.\u0275dir=R({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,o){n&1&&L("input",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},features:[ke([bV]),oe]});let i=e;return i})();var vV=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({});let i=e;return i})();var YD=new I("NgModelWithFormControlWarning");var yV={provide:nr,useExisting:qt(()=>Et)},Et=(()=>{let e=class e extends nr{constructor(t,n,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new O,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Dh(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let n=this.form.get(t.path);return j_(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){kD(t.control||null,t,!1),pV(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this.submitted=!0,WD(this.form,this.directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{let n=t.control,o=this.form.get(t.path);n!==o&&(kD(n||null,t),_V(o)&&(j_(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let n=this.form.get(t.path);GD(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let n=this.form.get(t.path);n&&uV(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){G_(this.form,this),this._oldForm&&Dh(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(n){return new(n||e)(h(uo,10),h(z_,10),h(kh,8))},e.\u0275dir=R({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,o){n&1&&L("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ke([yV]),oe,Oe]});let i=e;return i})();var xV={provide:Fn,useExisting:qt(()=>Gi)},Gi=(()=>{let e=class e extends Fn{set isDisabled(t){}constructor(t,n,o,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new O,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(n),this._setAsyncValidators(o),this.valueAccessor=fV(this,s)}ngOnChanges(t){this._added||this._setUpControl(),hV(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return sV(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(n){return new(n||e)(h(nr,13),h(uo,10),h(z_,10),h(Nn,10),h(YD,8))},e.\u0275dir=R({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[ke([xV]),oe,Oe]});let i=e;return i})();var QD=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[vV]});let i=e;return i})(),B_=class extends ua{constructor(e,r,t){super(U_(r),q_(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,r={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}insert(e,r,t={}){this.controls.splice(e,0,r),this._registerControl(r),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(e,r={}){let t=this._adjustIndex(e);t<0&&(t=0),this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:r.emitEvent})}setControl(e,r,t={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),r&&(this.controls.splice(n,0,r),this._registerControl(r)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,r={}){UD(this,!1,e),e.forEach((t,n)=>{HD(this,!1,n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(e.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e=[],r={}){this._forEachChild((t,n)=>{t.reset(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(r=>r._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((r,t)=>t._syncPendingControls()?!0:r,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((r,t)=>{e(r,t)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(r=>r.enabled&&e(r))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function TD(i){return!!i&&(i.asyncValidators!==void 0||i.validators!==void 0||i.updateOn!==void 0)}var fn=(()=>{let e=class e{constructor(){this.useNonNullable=!1}get nonNullable(){let t=new e;return t.useNonNullable=!0,t}group(t,n=null){let o=this._reduceControls(t),s={};return TD(n)?s=n:n!==null&&(s.validators=n.validator,s.asyncValidators=n.asyncValidator),new ha(o,s)}record(t,n=null){let o=this._reduceControls(t);return new V_(o,n)}control(t,n,o){let s={};return this.useNonNullable?(TD(n)?s=n:(s.validators=n,s.asyncValidators=o),new vh(t,xe(E({},s),{nonNullable:!0}))):new vh(t,n,o)}array(t,n,o){let s=t.map(a=>this._createControl(a));return new B_(s,n,o)}_reduceControls(t){let n={};return Object.keys(t).forEach(o=>{n[o]=this._createControl(t[o])}),n}_createControl(t){if(t instanceof vh)return t;if(t instanceof ua)return t;if(Array.isArray(t)){let n=t[0],o=t.length>1?t[1]:null,s=t.length>2?t[2]:null;return this.control(n,o,s)}else return this.control(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var ki=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:kh,useValue:t.callSetDisabledState??Ih}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[QD]});let i=e;return i})(),ri=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:YD,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:kh,useValue:t.callSetDisabledState??Ih}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[QD]});let i=e;return i})();var Q_;try{Q_=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Q_=!1}var ve=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?hC(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Q_)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(n){return new(n||e)(v(Zn))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var ma,KD=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function K_(){if(ma)return ma;if(typeof document!="object"||!document)return ma=new Set(KD),ma;let i=document.createElement("input");return ma=new Set(KD.filter(e=>(i.setAttribute("type",e),i.type===e))),ma}var oc;function wV(){if(oc==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>oc=!0}))}finally{oc=oc||!1}return oc}function Ii(i){return wV()?i:!!i.capture}var rs;function ZD(){if(rs==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return rs=!1,rs;if("scrollBehavior"in document.documentElement.style)rs=!0;else{let i=Element.prototype.scrollTo;i?rs=!/\{\s*\[native code\]\s*\}/.test(i.toString()):rs=!1}}return rs}var Y_;function CV(){if(Y_==null){let i=typeof document<"u"?document.head:null;Y_=!!(i&&(i.createShadowRoot||i.attachShadow))}return Y_}function XD(i){if(CV()){let e=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function ho(){let i=typeof document<"u"&&document?document.activeElement:null;for(;i&&i.shadowRoot;){let e=i.shadowRoot.activeElement;if(e===i)break;i=e}return i}function Wi(i){return i.composedPath?i.composedPath()[0]:i.target}function sc(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function JD(i){return new A(3e3,!1)}function DV(){return new A(3100,!1)}function EV(){return new A(3101,!1)}function kV(i){return new A(3001,!1)}function IV(i){return new A(3003,!1)}function SV(i){return new A(3004,!1)}function TV(i,e){return new A(3005,!1)}function MV(){return new A(3006,!1)}function AV(){return new A(3007,!1)}function RV(i,e){return new A(3008,!1)}function OV(i){return new A(3002,!1)}function FV(i,e,r,t,n){return new A(3010,!1)}function NV(){return new A(3011,!1)}function PV(){return new A(3012,!1)}function LV(){return new A(3200,!1)}function VV(){return new A(3202,!1)}function jV(){return new A(3013,!1)}function BV(i){return new A(3014,!1)}function zV(i){return new A(3015,!1)}function $V(i){return new A(3016,!1)}function HV(i,e){return new A(3404,!1)}function UV(i){return new A(3502,!1)}function qV(i){return new A(3503,!1)}function GV(){return new A(3300,!1)}function WV(i){return new A(3504,!1)}function YV(i){return new A(3301,!1)}function QV(i,e){return new A(3302,!1)}function KV(i){return new A(3303,!1)}function ZV(i,e){return new A(3400,!1)}function XV(i){return new A(3401,!1)}function JV(i){return new A(3402,!1)}function ej(i,e){return new A(3505,!1)}function mo(i){switch(i.length){case 0:return new lo;case 1:return i[0];default:return new tc(i)}}function mE(i,e,r=new Map,t=new Map){let n=[],o=[],s=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((m,f)=>{let b=f,w=m;if(f!=="offset")switch(b=i.normalizePropertyName(b,n),w){case gh:w=r.get(f);break;case ir:w=t.get(f);break;default:w=i.normalizeStyleValue(f,b,w,n);break}u.set(b,w)}),d||o.push(u),a=u,s=c}),n.length)throw UV(n);return o}function bb(i,e,r,t){switch(e){case"start":i.onStart(()=>t(r&&Z_(r,"start",i)));break;case"done":i.onDone(()=>t(r&&Z_(r,"done",i)));break;case"destroy":i.onDestroy(()=>t(r&&Z_(r,"destroy",i)));break}}function Z_(i,e,r){let t=r.totalTime,n=!!r.disabled,o=vb(i.element,i.triggerName,i.fromState,i.toState,e||i.phaseName,t??i.totalTime,n),s=i._data;return s!=null&&(o._data=s),o}function vb(i,e,r,t,n="",o=0,s){return{element:i,triggerName:e,fromState:r,toState:t,phaseName:n,totalTime:o,disabled:!!s}}function Qi(i,e,r){let t=i.get(e);return t||i.set(e,t=r),t}function eE(i){let e=i.indexOf(":"),r=i.substring(1,e),t=i.slice(e+1);return[r,t]}var tj=(()=>typeof document>"u"?null:document.documentElement)();function yb(i){let e=i.parentNode||i.host||null;return e===tj?null:e}function ij(i){return i.substring(1,6)=="ebkit"}var os=null,tE=!1;function nj(i){os||(os=rj()||{},tE=os.style?"WebkitAppearance"in os.style:!1);let e=!0;return os.style&&!ij(i)&&(e=i in os.style,!e&&tE&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in os.style)),e}function rj(){return typeof document<"u"?document.body:null}function fE(i,e){for(;e;){if(e===i)return!0;e=yb(e)}return!1}function pE(i,e,r){if(r)return Array.from(i.querySelectorAll(e));let t=i.querySelector(e);return t?[t]:[]}var xb=(()=>{let e=class e{validateStyleProperty(t){return nj(t)}matchesElement(t,n){return!1}containsElement(t,n){return fE(t,n)}getParentElement(t){return yb(t)}query(t,n,o){return pE(t,n,o)}computeStyle(t,n,o){return o||""}animate(t,n,o,s,a,l=[],c){return new lo(o,s)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let i=e;return i})(),mc=(()=>{let e=class e{};e.NOOP=new xb;let i=e;return i})(),ls=class{};var oj=1e3,gE="{{",sj="}}",_E="ng-enter",nb="ng-leave",Sh="ng-trigger",Oh=".ng-trigger",iE="ng-animating",rb=".ng-animating";function Lr(i){if(typeof i=="number")return i;let e=i.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:ob(parseFloat(e[1]),e[2])}function ob(i,e){switch(e){case"s":return i*oj;default:return i}}function Fh(i,e,r){return i.hasOwnProperty("duration")?i:aj(i,e,r)}function aj(i,e,r){let t=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,o=0,s="";if(typeof i=="string"){let a=i.match(t);if(a===null)return e.push(JD(i)),{duration:0,delay:0,easing:""};n=ob(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=ob(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else n=i;if(!r){let a=!1,l=e.length;n<0&&(e.push(DV()),a=!0),o<0&&(e.push(EV()),a=!0),a&&e.splice(l,0,JD(i))}return{duration:n,delay:o,easing:s}}function fc(i,e={}){return Object.keys(i).forEach(r=>{e[r]=i[r]}),e}function bE(i){let e=new Map;return Object.keys(i).forEach(r=>{let t=i[r];e.set(r,t)}),e}function lj(i){return i.length?i[0]instanceof Map?i:i.map(e=>bE(e)):[]}function pa(i,e=new Map,r){if(r)for(let[t,n]of r)e.set(t,n);for(let[t,n]of i)e.set(t,n);return e}function rr(i,e,r){e.forEach((t,n)=>{let o=wb(n);r&&!r.has(n)&&r.set(n,i.style[o]),i.style[o]=t})}function as(i,e){e.forEach((r,t)=>{let n=wb(t);i.style[n]=""})}function ac(i){return Array.isArray(i)?i.length==1?i[0]:gD(i):i}function cj(i,e,r){let t=e.params||{},n=vE(i);n.length&&n.forEach(o=>{t.hasOwnProperty(o)||r.push(kV(o))})}var sb=new RegExp(`${gE}\\s*(.+?)\\s*${sj}`,"g");function vE(i){let e=[];if(typeof i=="string"){let r;for(;r=sb.exec(i);)e.push(r[1]);sb.lastIndex=0}return e}function cc(i,e,r){let t=i.toString(),n=t.replace(sb,(o,s)=>{let a=e[s];return a==null&&(r.push(IV(s)),a=""),a.toString()});return n==t?i:n}function Nh(i){let e=[],r=i.next();for(;!r.done;)e.push(r.value),r=i.next();return e}var dj=/-+([a-z0-9])/g;function wb(i){return i.replace(dj,(...e)=>e[1].toUpperCase())}function uj(i,e){return i===0||e===0}function hj(i,e,r){if(r.size&&e.length){let t=e[0],n=[];if(r.forEach((o,s)=>{t.has(s)||n.push(s),t.set(s,o)}),n.length)for(let o=1;os.set(a,yE(i,a)))}}return e}function Yi(i,e,r){switch(e.type){case 7:return i.visitTrigger(e,r);case 0:return i.visitState(e,r);case 1:return i.visitTransition(e,r);case 2:return i.visitSequence(e,r);case 3:return i.visitGroup(e,r);case 4:return i.visitAnimate(e,r);case 5:return i.visitKeyframes(e,r);case 6:return i.visitStyle(e,r);case 8:return i.visitReference(e,r);case 9:return i.visitAnimateChild(e,r);case 10:return i.visitAnimateRef(e,r);case 11:return i.visitQuery(e,r);case 12:return i.visitStagger(e,r);default:throw SV(e.type)}}function yE(i,e){return window.getComputedStyle(i)[e]}var mj=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Ph=class extends ls{normalizePropertyName(e,r){return wb(e)}normalizeStyleValue(e,r,t,n){let o="",s=t.toString().trim();if(mj.has(r)&&t!==0&&t!=="0")if(typeof t=="number")o="px";else{let a=t.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&n.push(TV(e,t))}return s+o}};var Lh="*";function fj(i,e){let r=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(t=>pj(t,r,e)):r.push(i),r}function pj(i,e,r){if(i[0]==":"){let l=gj(i,r);if(typeof l=="function"){e.push(l);return}i=l}let t=i.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(t==null||t.length<4)return r.push(zV(i)),e;let n=t[1],o=t[2],s=t[3];e.push(nE(n,s));let a=n==Lh&&s==Lh;o[0]=="<"&&!a&&e.push(nE(s,n))}function gj(i,e){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,t)=>parseFloat(t)>parseFloat(r);case":decrement":return(r,t)=>parseFloat(t) *"}}var Th=new Set(["true","1"]),Mh=new Set(["false","0"]);function nE(i,e){let r=Th.has(i)||Mh.has(i),t=Th.has(e)||Mh.has(e);return(n,o)=>{let s=i==Lh||i==n,a=e==Lh||e==o;return!s&&r&&typeof n=="boolean"&&(s=n?Th.has(i):Mh.has(i)),!a&&t&&typeof o=="boolean"&&(a=o?Th.has(e):Mh.has(e)),s&&a}}var xE=":self",_j=new RegExp(`s*${xE}s*,?`,"g");function wE(i,e,r,t){return new ab(i).build(e,r,t)}var rE="",ab=class{constructor(e){this._driver=e}build(e,r,t){let n=new lb(r);return this._resetContextStyleTimingState(n),Yi(this,ac(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=rE,e.collectedStyles=new Map,e.collectedStyles.set(rE,new Map),e.currentTime=0}visitTrigger(e,r){let t=r.queryCount=0,n=r.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&r.errors.push(MV()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(r),a.type==0){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,r))}),l.name=c}else if(a.type==1){let l=this.visitTransition(a,r);t+=l.queryCount,n+=l.depCount,s.push(l)}else r.errors.push(AV())}),{type:7,name:e.name,states:o,transitions:s,queryCount:t,depCount:n,options:null}}visitState(e,r){let t=this.visitStyle(e.styles,r),n=e.options&&e.options.params||null;if(t.containsDynamicStyles){let o=new Set,s=n||{};if(t.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{vE(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size){let a=Nh(o.values());r.errors.push(RV(e.name,a))}}return{type:0,name:e.name,style:t,options:n?{params:n}:null}}visitTransition(e,r){r.queryCount=0,r.depCount=0;let t=Yi(this,ac(e.animation),r);return{type:1,matchers:fj(e.expr,r.errors),animation:t,queryCount:r.queryCount,depCount:r.depCount,options:ss(e.options)}}visitSequence(e,r){return{type:2,steps:e.steps.map(t=>Yi(this,t,r)),options:ss(e.options)}}visitGroup(e,r){let t=r.currentTime,n=0,o=e.steps.map(s=>{r.currentTime=t;let a=Yi(this,s,r);return n=Math.max(n,r.currentTime),a});return r.currentTime=n,{type:3,steps:o,options:ss(e.options)}}visitAnimate(e,r){let t=xj(e.timings,r.errors);r.currentAnimateTimings=t;let n,o=e.styles?e.styles:Re({});if(o.type==5)n=this.visitKeyframes(o,r);else{let s=e.styles,a=!1;if(!s){a=!0;let c={};t.easing&&(c.easing=t.easing),s=Re(c)}r.currentTime+=t.duration+t.delay;let l=this.visitStyle(s,r);l.isEmptyStep=a,n=l}return r.currentAnimateTimings=null,{type:4,timings:t,style:n,options:null}}visitStyle(e,r){let t=this._makeStyleAst(e,r);return this._validateStyleAst(t,r),t}_makeStyleAst(e,r){let t=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of n)typeof a=="string"?a===ir?t.push(a):r.errors.push(OV(a)):t.push(bE(a));let o=!1,s=null;return t.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(gE)>=0){o=!0;break}}}),{type:6,styles:t,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,r){let t=r.currentAnimateTimings,n=r.currentTime,o=r.currentTime;t&&o>0&&(o-=t.duration+t.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=r.collectedStyles.get(r.currentQuerySelector),d=c.get(l),u=!0;d&&(o!=n&&o>=d.startTime&&n<=d.endTime&&(r.errors.push(FV(l,d.startTime,d.endTime,o,n)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:n}),r.options&&cj(a,r.options,r.errors)})})}visitKeyframes(e,r){let t={type:5,styles:[],options:null};if(!r.currentAnimateTimings)return r.errors.push(NV()),t;let n=1,o=0,s=[],a=!1,l=!1,c=0,d=e.steps.map(M=>{let ne=this._makeStyleAst(M,r),Ue=ne.offset!=null?ne.offset:yj(ne.styles),fe=0;return Ue!=null&&(o++,fe=ne.offset=Ue),l=l||fe<0||fe>1,a=a||fe0&&o{let Ue=m>0?ne==f?1:m*ne:s[ne],fe=Ue*T;r.currentTime=b+w.delay+fe,w.duration=fe,this._validateStyleAst(M,r),M.offset=Ue,t.styles.push(M)}),t}visitReference(e,r){return{type:8,animation:Yi(this,ac(e.animation),r),options:ss(e.options)}}visitAnimateChild(e,r){return r.depCount++,{type:9,options:ss(e.options)}}visitAnimateRef(e,r){return{type:10,animation:this.visitReference(e.animation,r),options:ss(e.options)}}visitQuery(e,r){let t=r.currentQuerySelector,n=e.options||{};r.queryCount++,r.currentQuery=e;let[o,s]=bj(e.selector);r.currentQuerySelector=t.length?t+" "+o:o,Qi(r.collectedStyles,r.currentQuerySelector,new Map);let a=Yi(this,ac(e.animation),r);return r.currentQuery=null,r.currentQuerySelector=t,{type:11,selector:o,limit:n.limit||0,optional:!!n.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:ss(e.options)}}visitStagger(e,r){r.currentQuery||r.errors.push(jV());let t=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Fh(e.timings,r.errors,!0);return{type:12,animation:Yi(this,ac(e.animation),r),timings:t,options:null}}};function bj(i){let e=!!i.split(/\s*,\s*/).find(r=>r==xE);return e&&(i=i.replace(_j,"")),i=i.replace(/@\*/g,Oh).replace(/@\w+/g,r=>Oh+"-"+r.slice(1)).replace(/:animating/g,rb),[i,e]}function vj(i){return i?fc(i):null}var lb=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function yj(i){if(typeof i=="string")return null;let e=null;if(Array.isArray(i))i.forEach(r=>{if(r instanceof Map&&r.has("offset")){let t=r;e=parseFloat(t.get("offset")),t.delete("offset")}});else if(i instanceof Map&&i.has("offset")){let r=i;e=parseFloat(r.get("offset")),r.delete("offset")}return e}function xj(i,e){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let o=Fh(i,e).duration;return X_(o,0,"")}let r=i;if(r.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=X_(0,0,"");return o.dynamic=!0,o.strValue=r,o}let n=Fh(r,e);return X_(n.duration,n.delay,n.easing)}function ss(i){return i?(i=fc(i),i.params&&(i.params=vj(i.params))):i={},i}function X_(i,e,r){return{duration:i,delay:e,easing:r}}function Cb(i,e,r,t,n,o,s=null,a=!1){return{type:1,element:i,keyframes:e,preStyleProps:r,postStyleProps:t,duration:n,delay:o,totalTime:n+o,easing:s,subTimeline:a}}var dc=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,r){let t=this._map.get(e);t||this._map.set(e,t=[]),t.push(...r)}has(e){return this._map.has(e)}clear(){this._map.clear()}},wj=1,Cj=":enter",Dj=new RegExp(Cj,"g"),Ej=":leave",kj=new RegExp(Ej,"g");function CE(i,e,r,t,n,o=new Map,s=new Map,a,l,c=[]){return new cb().buildKeyframes(i,e,r,t,n,o,s,a,l,c)}var cb=class{buildKeyframes(e,r,t,n,o,s,a,l,c,d=[]){c=c||new dc;let u=new db(e,r,c,n,o,d,[]);u.options=l;let m=l.delay?Lr(l.delay):0;u.currentTimeline.delayNextStep(m),u.currentTimeline.setStyles([s],null,u.errors,l),Yi(this,t,u);let f=u.timelines.filter(b=>b.containsAnimation());if(f.length&&a.size){let b;for(let w=f.length-1;w>=0;w--){let T=f[w];if(T.element===r){b=T;break}}b&&!b.allowOnlyTimelineStyles()&&b.setStyles([a],null,u.errors,l)}return f.length?f.map(b=>b.buildKeyframes()):[Cb(r,[],[],[],0,m,"",!1)]}visitTrigger(e,r){}visitState(e,r){}visitTransition(e,r){}visitAnimateChild(e,r){let t=r.subInstructions.get(r.element);if(t){let n=r.createSubContext(e.options),o=r.currentTimeline.currentTime,s=this._visitSubInstructions(t,n,n.options);o!=s&&r.transformIntoNewTimeline(s)}r.previousNode=e}visitAnimateRef(e,r){let t=r.createSubContext(e.options);t.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],r,t),this.visitReference(e.animation,t),r.transformIntoNewTimeline(t.currentTimeline.currentTime),r.previousNode=e}_applyAnimationRefDelays(e,r,t){for(let n of e){let o=n?.delay;if(o){let s=typeof o=="number"?o:Lr(cc(o,n?.params??{},r.errors));t.delayNextStep(s)}}}_visitSubInstructions(e,r,t){let o=r.currentTimeline.currentTime,s=t.duration!=null?Lr(t.duration):null,a=t.delay!=null?Lr(t.delay):null;return s!==0&&e.forEach(l=>{let c=r.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,r){r.updateOptions(e.options,!0),Yi(this,e.animation,r),r.previousNode=e}visitSequence(e,r){let t=r.subContextCount,n=r,o=e.options;if(o&&(o.params||o.delay)&&(n=r.createSubContext(o),n.transformIntoNewTimeline(),o.delay!=null)){n.previousNode.type==6&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Vh);let s=Lr(o.delay);n.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>Yi(this,s,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>t&&n.transformIntoNewTimeline()),r.previousNode=e}visitGroup(e,r){let t=[],n=r.currentTimeline.currentTime,o=e.options&&e.options.delay?Lr(e.options.delay):0;e.steps.forEach(s=>{let a=r.createSubContext(e.options);o&&a.delayNextStep(o),Yi(this,s,a),n=Math.max(n,a.currentTimeline.currentTime),t.push(a.currentTimeline)}),t.forEach(s=>r.currentTimeline.mergeTimelineCollectedStyles(s)),r.transformIntoNewTimeline(n),r.previousNode=e}_visitTiming(e,r){if(e.dynamic){let t=e.strValue,n=r.params?cc(t,r.params,r.errors):t;return Fh(n,r.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,r){let t=r.currentAnimateTimings=this._visitTiming(e.timings,r),n=r.currentTimeline;t.delay&&(r.incrementTime(t.delay),n.snapshotCurrentStyles());let o=e.style;o.type==5?this.visitKeyframes(o,r):(r.incrementTime(t.duration),this.visitStyle(o,r),n.applyStylesToKeyframe()),r.currentAnimateTimings=null,r.previousNode=e}visitStyle(e,r){let t=r.currentTimeline,n=r.currentAnimateTimings;!n&&t.hasCurrentStyleProperties()&&t.forwardFrame();let o=n&&n.easing||e.easing;e.isEmptyStep?t.applyEmptyStep(o):t.setStyles(e.styles,o,r.errors,r.options),r.previousNode=e}visitKeyframes(e,r){let t=r.currentAnimateTimings,n=r.currentTimeline.duration,o=t.duration,a=r.createSubContext().currentTimeline;a.easing=t.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,r.errors,r.options),a.applyStylesToKeyframe()}),r.currentTimeline.mergeTimelineCollectedStyles(a),r.transformIntoNewTimeline(n+o),r.previousNode=e}visitQuery(e,r){let t=r.currentTimeline.currentTime,n=e.options||{},o=n.delay?Lr(n.delay):0;o&&(r.previousNode.type===6||t==0&&r.currentTimeline.hasCurrentStyleProperties())&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Vh);let s=t,a=r.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,r.errors);r.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{r.currentQueryIndex=d;let u=r.createSubContext(e.options,c);o&&u.delayNextStep(o),c===r.element&&(l=u.currentTimeline),Yi(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let m=u.currentTimeline.currentTime;s=Math.max(s,m)}),r.currentQueryIndex=0,r.currentQueryTotal=0,r.transformIntoNewTimeline(s),l&&(r.currentTimeline.mergeTimelineCollectedStyles(l),r.currentTimeline.snapshotCurrentStyles()),r.previousNode=e}visitStagger(e,r){let t=r.parentContext,n=r.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(r.currentQueryTotal-1),l=s*r.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=t.currentStaggerTime;break}let d=r.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;Yi(this,e.animation,r),r.previousNode=e,t.currentStaggerTime=n.currentTime-u+(n.startTime-t.currentTimeline.startTime)}},Vh={},db=class i{constructor(e,r,t,n,o,s,a,l){this._driver=e,this.element=r,this.subInstructions=t,this._enterClassName=n,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Vh,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new jh(this._driver,r,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,r){if(!e)return;let t=e,n=this.options;t.duration!=null&&(n.duration=Lr(t.duration)),t.delay!=null&&(n.delay=Lr(t.delay));let o=t.params;if(o){let s=n.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!r||!s.hasOwnProperty(a))&&(s[a]=cc(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let r=this.options.params;if(r){let t=e.params={};Object.keys(r).forEach(n=>{t[n]=r[n]})}}return e}createSubContext(e=null,r,t){let n=r||this.element,o=new i(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,t||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=Vh,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,r,t){let n={duration:r??e.duration,delay:this.currentTimeline.currentTime+(t??0)+e.delay,easing:""},o=new ub(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(o),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,r,t,n,o,s){let a=[];if(n&&a.push(this.element),e.length>0){e=e.replace(Dj,"."+this._enterClassName),e=e.replace(kj,"."+this._leaveClassName);let l=t!=1,c=this._driver.query(this.element,e,l);t!==0&&(c=t<0?c.slice(c.length+t,c.length):c.slice(0,t)),a.push(...c)}return!o&&a.length==0&&s.push(BV(r)),a}},jh=class i{constructor(e,r,t,n){this._driver=e,this.element=r,this.startTime=t,this._elementTimelineStylesLookup=n,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+e),r&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,r){return this.applyStylesToKeyframe(),new i(this._driver,e,r||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=wj,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,r){this._localTimelineStyles.set(e,r),this._globalTimelineStyles.set(e,r),this._styleSummary.set(e,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[r,t]of this._globalTimelineStyles)this._backFill.set(r,t||ir),this._currentKeyframe.set(r,ir);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,r,t,n){r&&this._previousKeyframe.set("easing",r);let o=n&&n.params||{},s=Ij(e,this._globalTimelineStyles);for(let[a,l]of s){let c=cc(l,o,t);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??ir),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,r)=>{this._currentKeyframe.set(r,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,e)}))}snapshotCurrentStyles(){for(let[e,r]of this._localTimelineStyles)this._pendingStyles.set(e,r),this._updateStyle(e,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let r in this._currentKeyframe)e.push(r);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((r,t)=>{let n=this._styleSummary.get(t);(!n||r.time>n.time)&&this._updateStyle(t,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,r=new Set,t=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((a,l)=>{let c=pa(a,new Map,this._backFill);c.forEach((d,u)=>{d===gh?e.add(u):d===ir&&r.add(u)}),t||c.set("offset",l/this.duration),n.push(c)});let o=e.size?Nh(e.values()):[],s=r.size?Nh(r.values()):[];if(t){let a=n[0],l=new Map(a);a.set("offset",0),l.set("offset",1),n=[a,l]}return Cb(this.element,n,o,s,this.duration,this.startTime,this.easing,!1)}},ub=class extends jh{constructor(e,r,t,n,o,s,a=!1){super(e,r,s.delay),this.keyframes=t,this.preStyleProps=n,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:r,duration:t,easing:n}=this.timings;if(this._stretchStartingKeyframe&&r){let o=[],s=t+r,a=r/s,l=pa(e[0]);l.set("offset",0),o.push(l);let c=pa(e[0]);c.set("offset",oE(a)),o.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let m=pa(e[u]),f=m.get("offset"),b=r+f*t;m.set("offset",oE(b/s)),o.push(m)}t=s,r=0,n="",e=o}return Cb(this.element,e,this.preStyleProps,this.postStyleProps,t,r,n,!0)}};function oE(i,e=3){let r=Math.pow(10,e-1);return Math.round(i*r)/r}function Ij(i,e){let r=new Map,t;return i.forEach(n=>{if(n==="*"){t=t||e.keys();for(let o of t)r.set(o,ir)}else pa(n,r)}),r}function sE(i,e,r,t,n,o,s,a,l,c,d,u,m){return{type:0,element:i,triggerName:e,isRemovalTransition:n,fromState:r,fromStyles:o,toState:t,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:m}}var J_={},Bh=class{constructor(e,r,t){this._triggerName=e,this.ast=r,this._stateStyles=t}match(e,r,t,n){return Sj(this.ast.matchers,e,r,t,n)}buildStyles(e,r,t){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(r,t):new Map}build(e,r,t,n,o,s,a,l,c,d){let u=[],m=this.ast.options&&this.ast.options.params||J_,f=a&&a.params||J_,b=this.buildStyles(t,f,u),w=l&&l.params||J_,T=this.buildStyles(n,w,u),M=new Set,ne=new Map,Ue=new Map,fe=n==="void",_t={params:Tj(w,m),delay:this.ast.options?.delay},pt=d?[]:CE(e,r,this.ast.animation,o,s,b,T,_t,c,u),bt=0;if(pt.forEach(Dn=>{bt=Math.max(Dn.duration+Dn.delay,bt)}),u.length)return sE(r,this._triggerName,t,n,fe,b,T,[],[],ne,Ue,bt,u);pt.forEach(Dn=>{let fr=Dn.element,Hv=Qi(ne,fr,new Set);Dn.preStyleProps.forEach(Io=>Hv.add(Io));let qa=Qi(Ue,fr,new Set);Dn.postStyleProps.forEach(Io=>qa.add(Io)),fr!==r&&M.add(fr)});let Cn=Nh(M.values());return sE(r,this._triggerName,t,n,fe,b,T,pt,Cn,ne,Ue,bt)}};function Sj(i,e,r,t,n){return i.some(o=>o(e,r,t,n))}function Tj(i,e){let r=fc(e);for(let t in i)i.hasOwnProperty(t)&&i[t]!=null&&(r[t]=i[t]);return r}var hb=class{constructor(e,r,t){this.styles=e,this.defaultParams=r,this.normalizer=t}buildStyles(e,r){let t=new Map,n=fc(this.defaultParams);return Object.keys(e).forEach(o=>{let s=e[o];s!==null&&(n[o]=s)}),this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=cc(s,n,r));let l=this.normalizer.normalizePropertyName(a,r);s=this.normalizer.normalizeStyleValue(a,l,s,r),t.set(a,s)})}),t}};function Mj(i,e,r){return new mb(i,e,r)}var mb=class{constructor(e,r,t){this.name=e,this.ast=r,this._normalizer=t,this.transitionFactories=[],this.states=new Map,r.states.forEach(n=>{let o=n.options&&n.options.params||{};this.states.set(n.name,new hb(n.style,o,t))}),aE(this.states,"true","1"),aE(this.states,"false","0"),r.transitions.forEach(n=>{this.transitionFactories.push(new Bh(e,n,this.states))}),this.fallbackTransition=Aj(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,r,t,n){return this.transitionFactories.find(s=>s.match(e,r,t,n))||null}matchStyles(e,r,t){return this.fallbackTransition.buildStyles(e,r,t)}};function Aj(i,e,r){let o={type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0};return new Bh(i,o,e)}function aE(i,e,r){i.has(e)?i.has(r)||i.set(r,i.get(e)):i.has(r)&&i.set(e,i.get(r))}var Rj=new dc,fb=class{constructor(e,r,t){this.bodyNode=e,this._driver=r,this._normalizer=t,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,r){let t=[],n=[],o=wE(this._driver,r,t,n);if(t.length)throw qV(t);n.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,r,t){let n=e.element,o=mE(this._normalizer,e.keyframes,r,t);return this._driver.animate(n,o,e.duration,e.delay,e.easing,[],!0)}create(e,r,t={}){let n=[],o=this._animations.get(e),s,a=new Map;if(o?(s=CE(this._driver,r,o,_E,nb,new Map,new Map,t,Rj,n),s.forEach(d=>{let u=Qi(a,d.element,new Map);d.postStyleProps.forEach(m=>u.set(m,null))})):(n.push(GV()),s=[]),n.length)throw WV(n);a.forEach((d,u)=>{d.forEach((m,f)=>{d.set(f,this._driver.computeStyle(u,f,ir))})});let l=s.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=mo(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let r=this._getPlayer(e);r.destroy(),this._playersById.delete(e);let t=this.players.indexOf(r);t>=0&&this.players.splice(t,1)}_getPlayer(e){let r=this._playersById.get(e);if(!r)throw YV(e);return r}listen(e,r,t,n){let o=vb(r,"","","");return bb(this._getPlayer(e),t,o,n),()=>{}}command(e,r,t,n){if(t=="register"){this.register(e,n[0]);return}if(t=="create"){let s=n[0]||{};this.create(e,r,s);return}let o=this._getPlayer(e);switch(t){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},lE="ng-animate-queued",Oj=".ng-animate-queued",eb="ng-animate-disabled",Fj=".ng-animate-disabled",Nj="ng-star-inserted",Pj=".ng-star-inserted",Lj=[],DE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Vj={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Pn="__ng_removed",uc=class{get params(){return this.options.params}constructor(e,r=""){this.namespaceId=r;let t=e&&e.hasOwnProperty("value"),n=t?e.value:e;if(this.value=Bj(n),t){let o=fc(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let r=e.params;if(r){let t=this.options.params;Object.keys(r).forEach(n=>{t[n]==null&&(t[n]=r[n])})}}},lc="void",tb=new uc(lc),pb=class{constructor(e,r,t){this.id=e,this.hostElement=r,this._engine=t,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,pn(r,this._hostClassName)}listen(e,r,t,n){if(!this._triggers.has(r))throw QV(t,r);if(t==null||t.length==0)throw KV(r);if(!zj(t))throw ZV(t,r);let o=Qi(this._elementListeners,e,[]),s={name:r,phase:t,callback:n};o.push(s);let a=Qi(this._engine.statesByElement,e,new Map);return a.has(r)||(pn(e,Sh),pn(e,Sh+"-"+r),a.set(r,tb)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(r)||a.delete(r)})}}register(e,r){return this._triggers.has(e)?!1:(this._triggers.set(e,r),!0)}_getTrigger(e){let r=this._triggers.get(e);if(!r)throw XV(e);return r}trigger(e,r,t,n=!0){let o=this._getTrigger(r),s=new hc(this.id,r,e),a=this._engine.statesByElement.get(e);a||(pn(e,Sh),pn(e,Sh+"-"+r),this._engine.statesByElement.set(e,a=new Map));let l=a.get(r),c=new uc(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(r,c),l||(l=tb),!(c.value===lc)&&l.value===c.value){if(!Uj(l.params,c.params)){let w=[],T=o.matchStyles(l.value,l.params,w),M=o.matchStyles(c.value,c.params,w);w.length?this._engine.reportError(w):this._engine.afterFlush(()=>{as(e,T),rr(e,M)})}return}let m=Qi(this._engine.playersByElement,e,[]);m.forEach(w=>{w.namespaceId==this.id&&w.triggerName==r&&w.queued&&w.destroy()});let f=o.matchTransition(l.value,c.value,e,c.params),b=!1;if(!f){if(!n)return;f=o.fallbackTransition,b=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:b}),b||(pn(e,lE),s.onStart(()=>{fa(e,lE)})),s.onDone(()=>{let w=this.players.indexOf(s);w>=0&&this.players.splice(w,1);let T=this._engine.playersByElement.get(e);if(T){let M=T.indexOf(s);M>=0&&T.splice(M,1)}}),this.players.push(s),m.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(r=>r.delete(e)),this._elementListeners.forEach((r,t)=>{this._elementListeners.set(t,r.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let r=this._engine.playersByElement.get(e);r&&(r.forEach(t=>t.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,r){let t=this._engine.driver.query(e,Oh,!0);t.forEach(n=>{if(n[Pn])return;let o=this._engine.fetchNamespacesByElement(n);o.size?o.forEach(s=>s.triggerLeaveAnimation(n,r,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,r,t,n){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,lc,n);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,r,s),t&&mo(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let r=this._elementListeners.get(e),t=this._engine.statesByElement.get(e);if(r&&t){let n=new Set;r.forEach(o=>{let s=o.name;if(n.has(s))return;n.add(s);let l=this._triggers.get(s).fallbackTransition,c=t.get(s)||tb,d=new uc(lc),u=new hc(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,r){let t=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,r),this.triggerLeaveAnimation(e,r,!0))return;let n=!1;if(t.totalAnimations){let o=t.players.length?t.playersByQueriedElement.get(e):[];if(o&&o.length)n=!0;else{let s=e;for(;s=s.parentNode;)if(t.statesByElement.get(s)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)t.markElementAsRemoved(this.id,e,!1,r);else{let o=e[Pn];(!o||o===DE)&&(t.afterFlush(()=>this.clearElementCache(e)),t.destroyInnerAnimations(e),t._onRemovalComplete(e,r))}}insertNode(e,r){pn(e,this._hostClassName)}drainQueuedTransitions(e){let r=[];return this._queue.forEach(t=>{let n=t.player;if(n.destroyed)return;let o=t.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==t.triggerName){let l=vb(o,t.triggerName,t.fromState.value,t.toState.value);l._data=e,bb(t.player,a.phase,l,a.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):r.push(t)}),this._queue=[],r.sort((t,n)=>{let o=t.transition.ast.depCount,s=n.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(t.element,n.element)?1:-1})}destroy(e){this.players.forEach(r=>r.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},gb=class{_onRemovalComplete(e,r){this.onRemovalComplete(e,r)}constructor(e,r,t){this.bodyNode=e,this.driver=r,this._normalizer=t,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(n,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(r=>{r.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,r){let t=new pb(e,r,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,r)?this._balanceNamespaceList(t,r):(this.newHostElements.set(r,t),this.collectEnterElement(r)),this._namespaceLookup[e]=t}_balanceNamespaceList(e,r){let t=this._namespaceList,n=this.namespacesByHostElement;if(t.length-1>=0){let s=!1,a=this.driver.getParentElement(r);for(;a;){let l=n.get(a);if(l){let c=t.indexOf(l);t.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||t.unshift(e)}else t.push(e);return n.set(r,e),e}register(e,r){let t=this._namespaceLookup[e];return t||(t=this.createNamespace(e,r)),t}registerTrigger(e,r,t){let n=this._namespaceLookup[e];n&&n.register(r,t)&&this.totalAnimations++}destroy(e,r){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let t=this._fetchNamespace(e);this.namespacesByHostElement.delete(t.hostElement);let n=this._namespaceList.indexOf(t);n>=0&&this._namespaceList.splice(n,1),t.destroy(r),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let r=new Set,t=this.statesByElement.get(e);if(t){for(let n of t.values())if(n.namespaceId){let o=this._fetchNamespace(n.namespaceId);o&&r.add(o)}}return r}trigger(e,r,t,n){if(Ah(r)){let o=this._fetchNamespace(e);if(o)return o.trigger(r,t,n),!0}return!1}insertNode(e,r,t,n){if(!Ah(r))return;let o=r[Pn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(r);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(r,t)}n&&this.collectEnterElement(r)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,r){r?this.disabledNodes.has(e)||(this.disabledNodes.add(e),pn(e,eb)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),fa(e,eb))}removeNode(e,r,t){if(Ah(r)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(r,t):this.markElementAsRemoved(e,r,!1,t);let o=this.namespacesByHostElement.get(r);o&&o.id!==e&&o.removeNode(r,t)}else this._onRemovalComplete(r,t)}markElementAsRemoved(e,r,t,n,o){this.collectedLeaveElements.push(r),r[Pn]={namespaceId:e,setForRemoval:n,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,r,t,n,o){return Ah(r)?this._fetchNamespace(e).listen(r,t,n,o):()=>{}}_buildInstruction(e,r,t,n,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,t,n,e.fromState.options,e.toState.options,r,o)}destroyInnerAnimations(e){let r=this.driver.query(e,Oh,!0);r.forEach(t=>this.destroyActiveAnimationsForElement(t)),this.playersByQueriedElement.size!=0&&(r=this.driver.query(e,rb,!0),r.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(e){let r=this.playersByElement.get(e);r&&r.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(e){let r=this.playersByQueriedElement.get(e);r&&r.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return mo(this.players).onDone(()=>e());e()})}processLeaveNode(e){let r=e[Pn];if(r&&r.setForRemoval){if(e[Pn]=DE,r.namespaceId){this.destroyInnerAnimations(e);let t=this._fetchNamespace(r.namespaceId);t&&t.clearElementCache(e)}this._onRemovalComplete(e,r.setForRemoval)}e.classList?.contains(eb)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Fj,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(e=-1){let r=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,n)=>this._balanceNamespaceList(t,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){let t=this._whenQuietFns;this._whenQuietFns=[],r.length?mo(r).onDone(()=>{t.forEach(n=>n())}):t.forEach(n=>n())}}reportError(e){throw JV(e)}_flushAnimations(e,r){let t=new dc,n=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(K=>{d.add(K);let te=this.driver.query(K,Oj,!0);for(let ae=0;ae{let ae=_E+w++;b.set(te,ae),K.forEach(Ne=>pn(Ne,ae))});let T=[],M=new Set,ne=new Set;for(let K=0;KM.add(Ne)):ne.add(te))}let Ue=new Map,fe=uE(m,Array.from(M));fe.forEach((K,te)=>{let ae=nb+w++;Ue.set(te,ae),K.forEach(Ne=>pn(Ne,ae))}),e.push(()=>{f.forEach((K,te)=>{let ae=b.get(te);K.forEach(Ne=>fa(Ne,ae))}),fe.forEach((K,te)=>{let ae=Ue.get(te);K.forEach(Ne=>fa(Ne,ae))}),T.forEach(K=>{this.processLeaveNode(K)})});let _t=[],pt=[];for(let K=this._namespaceList.length-1;K>=0;K--)this._namespaceList[K].drainQueuedTransitions(r).forEach(ae=>{let Ne=ae.player,$t=ae.element;if(_t.push(Ne),this.collectedEnterElements.length){let Qt=$t[Pn];if(Qt&&Qt.setForMove){if(Qt.previousTriggersValues&&Qt.previousTriggersValues.has(ae.triggerName)){let So=Qt.previousTriggersValues.get(ae.triggerName),nn=this.statesByElement.get(ae.element);if(nn&&nn.has(ae.triggerName)){let Wc=nn.get(ae.triggerName);Wc.value=So,nn.set(ae.triggerName,Wc)}}Ne.destroy();return}}let jn=!u||!this.driver.containsElement(u,$t),Vi=Ue.get($t),$r=b.get($t),dt=this._buildInstruction(ae,t,$r,Vi,jn);if(dt.errors&&dt.errors.length){pt.push(dt);return}if(jn){Ne.onStart(()=>as($t,dt.fromStyles)),Ne.onDestroy(()=>rr($t,dt.toStyles)),n.push(Ne);return}if(ae.isFallbackTransition){Ne.onStart(()=>as($t,dt.fromStyles)),Ne.onDestroy(()=>rr($t,dt.toStyles)),n.push(Ne);return}let Gv=[];dt.timelines.forEach(Qt=>{Qt.stretchStartingKeyframe=!0,this.disabledNodes.has(Qt.element)||Gv.push(Qt)}),dt.timelines=Gv,t.append($t,dt.timelines);let XT={instruction:dt,player:Ne,element:$t};s.push(XT),dt.queriedElements.forEach(Qt=>Qi(a,Qt,[]).push(Ne)),dt.preStyleProps.forEach((Qt,So)=>{if(Qt.size){let nn=l.get(So);nn||l.set(So,nn=new Set),Qt.forEach((Wc,Fm)=>nn.add(Fm))}}),dt.postStyleProps.forEach((Qt,So)=>{let nn=c.get(So);nn||c.set(So,nn=new Set),Qt.forEach((Wc,Fm)=>nn.add(Fm))})});if(pt.length){let K=[];pt.forEach(te=>{K.push(ej(te.triggerName,te.errors))}),_t.forEach(te=>te.destroy()),this.reportError(K)}let bt=new Map,Cn=new Map;s.forEach(K=>{let te=K.element;t.has(te)&&(Cn.set(te,te),this._beforeAnimationBuild(K.player.namespaceId,K.instruction,bt))}),n.forEach(K=>{let te=K.element;this._getPreviousPlayers(te,!1,K.namespaceId,K.triggerName,null).forEach(Ne=>{Qi(bt,te,[]).push(Ne),Ne.destroy()})});let Dn=T.filter(K=>hE(K,l,c)),fr=new Map;dE(fr,this.driver,ne,c,ir).forEach(K=>{hE(K,l,c)&&Dn.push(K)});let qa=new Map;f.forEach((K,te)=>{dE(qa,this.driver,new Set(K),l,gh)}),Dn.forEach(K=>{let te=fr.get(K),ae=qa.get(K);fr.set(K,new Map([...te?.entries()??[],...ae?.entries()??[]]))});let Io=[],Uv=[],qv={};s.forEach(K=>{let{element:te,player:ae,instruction:Ne}=K;if(t.has(te)){if(d.has(te)){ae.onDestroy(()=>rr(te,Ne.toStyles)),ae.disabled=!0,ae.overrideTotalTime(Ne.totalTime),n.push(ae);return}let $t=qv;if(Cn.size>1){let Vi=te,$r=[];for(;Vi=Vi.parentNode;){let dt=Cn.get(Vi);if(dt){$t=dt;break}$r.push(Vi)}$r.forEach(dt=>Cn.set(dt,$t))}let jn=this._buildAnimation(ae.namespaceId,Ne,bt,o,qa,fr);if(ae.setRealPlayer(jn),$t===qv)Io.push(ae);else{let Vi=this.playersByElement.get($t);Vi&&Vi.length&&(ae.parentPlayer=mo(Vi)),n.push(ae)}}else as(te,Ne.fromStyles),ae.onDestroy(()=>rr(te,Ne.toStyles)),Uv.push(ae),d.has(te)&&n.push(ae)}),Uv.forEach(K=>{let te=o.get(K.element);if(te&&te.length){let ae=mo(te);K.setRealPlayer(ae)}}),n.forEach(K=>{K.parentPlayer?K.syncPlayerEvents(K.parentPlayer):K.destroy()});for(let K=0;K!jn.destroyed);$t.length?$j(this,te,$t):this.processLeaveNode(te)}return T.length=0,Io.forEach(K=>{this.players.push(K),K.onDone(()=>{K.destroy();let te=this.players.indexOf(K);this.players.splice(te,1)}),K.play()}),Io}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,r,t,n,o){let s=[];if(r){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let l=!o||o==lc;a.forEach(c=>{c.queued||!l&&c.triggerName!=n||s.push(c)})}}return(t||n)&&(s=s.filter(a=>!(t&&t!=a.namespaceId||n&&n!=a.triggerName))),s}_beforeAnimationBuild(e,r,t){let n=r.triggerName,o=r.element,s=r.isRemovalTransition?void 0:e,a=r.isRemovalTransition?void 0:n;for(let l of r.timelines){let c=l.element,d=c!==o,u=Qi(t,c,[]);this._getPreviousPlayers(c,d,s,a,r.toState).forEach(f=>{let b=f.getRealPlayer();b.beforeDestroy&&b.beforeDestroy(),f.destroy(),u.push(f)})}as(o,r.fromStyles)}_buildAnimation(e,r,t,n,o,s){let a=r.triggerName,l=r.element,c=[],d=new Set,u=new Set,m=r.timelines.map(b=>{let w=b.element;d.add(w);let T=w[Pn];if(T&&T.removedBeforeQueried)return new lo(b.duration,b.delay);let M=w!==l,ne=Hj((t.get(w)||Lj).map(bt=>bt.getRealPlayer())).filter(bt=>{let Cn=bt;return Cn.element?Cn.element===w:!1}),Ue=o.get(w),fe=s.get(w),_t=mE(this._normalizer,b.keyframes,Ue,fe),pt=this._buildPlayer(b,_t,ne);if(b.subTimeline&&n&&u.add(w),M){let bt=new hc(e,a,w);bt.setRealPlayer(pt),c.push(bt)}return pt});c.forEach(b=>{Qi(this.playersByQueriedElement,b.element,[]).push(b),b.onDone(()=>jj(this.playersByQueriedElement,b.element,b))}),d.forEach(b=>pn(b,iE));let f=mo(m);return f.onDestroy(()=>{d.forEach(b=>fa(b,iE)),rr(l,r.toStyles)}),u.forEach(b=>{Qi(n,b,[]).push(f)}),f}_buildPlayer(e,r,t){return r.length>0?this.driver.animate(e.element,r,e.duration,e.delay,e.easing,t):new lo(e.duration,e.delay)}},hc=class{constructor(e,r,t){this.namespaceId=e,this.triggerName=r,this.element=t,this._player=new lo,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((r,t)=>{r.forEach(n=>bb(e,t,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let r=this._player;r.triggerCallback&&e.onStart(()=>r.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,r){Qi(this._queuedCallbacks,e,[]).push(r)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let r=this._player;r.triggerCallback&&r.triggerCallback(e)}};function jj(i,e,r){let t=i.get(e);if(t){if(t.length){let n=t.indexOf(r);t.splice(n,1)}t.length==0&&i.delete(e)}return t}function Bj(i){return i??null}function Ah(i){return i&&i.nodeType===1}function zj(i){return i=="start"||i=="done"}function cE(i,e){let r=i.style.display;return i.style.display=e??"none",r}function dE(i,e,r,t,n){let o=[];r.forEach(l=>o.push(cE(l)));let s=[];t.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let m=e.computeStyle(c,u,n);d.set(u,m),(!m||m.length==0)&&(c[Pn]=Vj,s.push(c))}),i.set(c,d)});let a=0;return r.forEach(l=>cE(l,o[a++])),s}function uE(i,e){let r=new Map;if(i.forEach(a=>r.set(a,[])),e.length==0)return r;let t=1,n=new Set(e),o=new Map;function s(a){if(!a)return t;let l=o.get(a);if(l)return l;let c=a.parentNode;return r.has(c)?l=c:n.has(c)?l=t:l=s(c),o.set(a,l),l}return e.forEach(a=>{let l=s(a);l!==t&&r.get(l).push(a)}),r}function pn(i,e){i.classList?.add(e)}function fa(i,e){i.classList?.remove(e)}function $j(i,e,r){mo(r).onDone(()=>i.processLeaveNode(e))}function Hj(i){let e=[];return EE(i,e),e}function EE(i,e){for(let r=0;rn.add(o)):e.set(i,t),r.delete(i),!0}var ga=class{constructor(e,r,t){this._driver=r,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(n,o)=>{},this._transitionEngine=new gb(e.body,r,t),this._timelineEngine=new fb(e.body,r,t),this._transitionEngine.onRemovalComplete=(n,o)=>this.onRemovalComplete(n,o)}registerTrigger(e,r,t,n,o){let s=e+"-"+n,a=this._triggerCache[s];if(!a){let l=[],c=[],d=wE(this._driver,o,l,c);if(l.length)throw HV(n,l);c.length&&void 0,a=Mj(n,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(r,n,a)}register(e,r){this._transitionEngine.register(e,r)}destroy(e,r){this._transitionEngine.destroy(e,r)}onInsert(e,r,t,n){this._transitionEngine.insertNode(e,r,t,n)}onRemove(e,r,t){this._transitionEngine.removeNode(e,r,t)}disableAnimations(e,r){this._transitionEngine.markElementAsDisabled(e,r)}process(e,r,t,n){if(t.charAt(0)=="@"){let[o,s]=eE(t),a=n;this._timelineEngine.command(o,r,s,a)}else this._transitionEngine.trigger(e,r,t,n)}listen(e,r,t,n,o){if(t.charAt(0)=="@"){let[s,a]=eE(t);return this._timelineEngine.listen(s,r,a,o)}return this._transitionEngine.listen(e,r,t,n,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function qj(i,e){let r=null,t=null;return Array.isArray(e)&&e.length?(r=ib(e[0]),e.length>1&&(t=ib(e[e.length-1]))):e instanceof Map&&(r=ib(e)),r||t?new Gj(i,r,t):null}var Gj=(()=>{let e=class e{constructor(t,n,o){this._element=t,this._startStyles=n,this._endStyles=o,this._state=0;let s=e.initialStylesByElement.get(t);s||e.initialStylesByElement.set(t,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&rr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(rr(this._element,this._initialStyles),this._endStyles&&(rr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(as(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(as(this._element,this._endStyles),this._endStyles=null),rr(this._element,this._initialStyles),this._state=3)}};e.initialStylesByElement=new WeakMap;let i=e;return i})();function ib(i){let e=null;return i.forEach((r,t)=>{Wj(t)&&(e=e||new Map,e.set(t,r))}),e}function Wj(i){return i==="display"||i==="position"}var zh=class{constructor(e,r,t,n){this.element=e,this.keyframes=r,this.options=t,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=t.duration,this._delay=t.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let r=()=>this._onFinish();this.domPlayer.addEventListener("finish",r),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",r)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let r=[];return e.forEach(t=>{r.push(Object.fromEntries(t))}),r}_triggerWebAnimation(e,r,t){return e.animate(this._convertKeyframesToObject(r),t)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,n)=>{n!=="offset"&&e.set(n,this._finished?t:yE(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let r=e==="start"?this._onStartFns:this._onDoneFns;r.forEach(t=>t()),r.length=0}},$h=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,r){return!1}containsElement(e,r){return fE(e,r)}getParentElement(e){return yb(e)}query(e,r,t){return pE(e,r,t)}computeStyle(e,r,t){return window.getComputedStyle(e)[r]}animate(e,r,t,n,o,s=[]){let a=n==0?"both":"forwards",l={duration:t,delay:n,fill:a};o&&(l.easing=o);let c=new Map,d=s.filter(f=>f instanceof zh);uj(t,n)&&d.forEach(f=>{f.currentSnapshot.forEach((b,w)=>c.set(w,b))});let u=lj(r).map(f=>pa(f));u=hj(e,u,c);let m=qj(e,u);return new zh(e,u,l,m)}};var Rh="@",kE="@.disabled",Hh=class{constructor(e,r,t,n){this.namespaceId=e,this.delegate=r,this.engine=t,this._onDestroy=n,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,r){return this.delegate.createElement(e,r)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,r){this.delegate.appendChild(e,r),this.engine.onInsert(this.namespaceId,r,e,!1)}insertBefore(e,r,t,n=!0){this.delegate.insertBefore(e,r,t),this.engine.onInsert(this.namespaceId,r,e,n)}removeChild(e,r,t){this.engine.onRemove(this.namespaceId,r,this.delegate)}selectRootElement(e,r){return this.delegate.selectRootElement(e,r)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,r,t,n){this.delegate.setAttribute(e,r,t,n)}removeAttribute(e,r,t){this.delegate.removeAttribute(e,r,t)}addClass(e,r){this.delegate.addClass(e,r)}removeClass(e,r){this.delegate.removeClass(e,r)}setStyle(e,r,t,n){this.delegate.setStyle(e,r,t,n)}removeStyle(e,r,t){this.delegate.removeStyle(e,r,t)}setProperty(e,r,t){r.charAt(0)==Rh&&r==kE?this.disableAnimations(e,!!t):this.delegate.setProperty(e,r,t)}setValue(e,r){this.delegate.setValue(e,r)}listen(e,r,t){return this.delegate.listen(e,r,t)}disableAnimations(e,r){this.engine.disableAnimations(e,r)}},_b=class extends Hh{constructor(e,r,t,n,o){super(r,t,n,o),this.factory=e,this.namespaceId=r}setProperty(e,r,t){r.charAt(0)==Rh?r.charAt(1)=="."&&r==kE?(t=t===void 0?!0:!!t,this.disableAnimations(e,t)):this.engine.process(this.namespaceId,e,r.slice(1),t):this.delegate.setProperty(e,r,t)}listen(e,r,t){if(r.charAt(0)==Rh){let n=Yj(e),o=r.slice(1),s="";return o.charAt(0)!=Rh&&([o,s]=Qj(o)),this.engine.listen(this.namespaceId,n,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,t,a)})}return this.delegate.listen(e,r,t)}};function Yj(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}function Qj(i){let e=i.indexOf("."),r=i.substring(0,e),t=i.slice(e+1);return[r,t]}var Uh=class{constructor(e,r,t){this.delegate=e,this.engine=r,this._zone=t,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,r.onRemovalComplete=(n,o)=>{let s=o?.parentNode(n);s&&o.removeChild(s,n)}}createRenderer(e,r){let t="",n=this.delegate.createRenderer(e,r);if(!e||!r?.data?.animation){let c=this._rendererCache,d=c.get(n);if(!d){let u=()=>c.delete(n);d=new Hh(t,n,this.engine,u),c.set(n,d)}return d}let o=r.id,s=r.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,e,c.name,c)};return r.data.animation.forEach(a),new _b(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,r,t){if(e>=0&&er(t));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),n.push([r,t])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var Zj=(()=>{let e=class e extends ga{constructor(t,n,o,s){super(t,n,o)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(n){return new(n||e)(v(q),v(mc),v(ls),v(Di))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let i=e;return i})();function Xj(){return new Ph}function Jj(i,e,r){return new Uh(i,e,r)}var IE=[{provide:ls,useFactory:Xj},{provide:ga,useClass:Zj},{provide:qo,useFactory:Jj,deps:[Xu,ga,N]}],eB=[{provide:mc,useFactory:()=>new $h},{provide:Me,useValue:"BrowserAnimations"},...IE],hZ=[{provide:mc,useClass:xb},{provide:Me,useValue:"NoopAnimations"},...IE];function SE(){return[...eB]}function We(i,...e){return e.length?e.some(r=>i[r]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}function Te(i){return i!=null&&`${i}`!="false"}function Bt(i,e=0){return tB(i)?Number(i):e}function tB(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}function _a(i){return Array.isArray(i)?i:[i]}function kt(i){return i==null?"":typeof i=="string"?i:`${i}px`}function Ti(i){return i instanceof F?i.nativeElement:i}function qh(i,e=/\s+/){let r=[];if(i!=null){let t=Array.isArray(i)?i:`${i}`.split(e);for(let n of t){let o=`${n}`.trim();o&&r.push(o)}}return r}var TE=(()=>{let e=class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),iB=(()=>{let e=class e{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,n)=>this._cleanupObserver(n))}observe(t){let n=Ti(t);return new ue(o=>{let a=this._observeElement(n).subscribe(o);return()=>{a.unsubscribe(),this._unobserveElement(n)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{let n=new S,o=this._mutationObserverFactory.create(s=>n.next(s));o&&o.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:o,stream:n,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){let{observer:n,stream:o}=this._observedElements.get(t);n&&n.disconnect(),o.complete(),this._observedElements.delete(t)}}};e.\u0275fac=function(n){return new(n||e)(v(TE))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),ME=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Bt(t),this._subscribe()}constructor(t,n,o){this._contentObserver=t,this._elementRef=n,this._ngZone=o,this.event=new O,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(Hn(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)(h(iB),h(F),h(N))},e.\u0275dir=R({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled",ge],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[Je]});let i=e;return i})(),ba=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({providers:[TE]});let i=e;return i})();var AE=new Set,cs,rB=(()=>{let e=class e{constructor(t,n){this._platform=t,this._nonce=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):sB}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&oB(t,this._nonce),this._matchMedia(t)}};e.\u0275fac=function(n){return new(n||e)(v(ve),v(wl,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function oB(i,e){if(!AE.has(i))try{cs||(cs=document.createElement("style"),e&&(cs.nonce=e),cs.setAttribute("type","text/css"),document.head.appendChild(cs)),cs.sheet&&(cs.sheet.insertRule(`@media ${i} {body{ }}`,0),AE.add(i))}catch(r){console.error(r)}}function sB(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var Gh=(()=>{let e=class e{constructor(t,n){this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new S}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return RE(_a(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=RE(_a(t)).map(a=>this._registerQuery(a).observable),s=As(o);return s=zn(s.pipe(Ee(1)),s.pipe(el(1),Hn(0))),s.pipe(U(a=>{let l={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:d})=>{l.matches=l.matches||c,l.breakpoints[d]=c}),l}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let n=this._mediaMatcher.matchMedia(t),s={observable:new ue(a=>{let l=c=>this._zone.run(()=>a.next(c));return n.addListener(l),()=>{n.removeListener(l)}}).pipe(gt(n),U(({matches:a})=>({query:t,matches:a})),Fe(this._destroySubject)),mql:n};return this._queries.set(t,s),s}};e.\u0275fac=function(n){return new(n||e)(v(rB),v(N))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function RE(i){return i.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var OE={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var VE=" ";function Ca(i,e,r){let t=Qh(i,e);t.some(n=>n.trim()==r.trim())||(t.push(r.trim()),i.setAttribute(e,t.join(VE)))}function fo(i,e,r){let n=Qh(i,e).filter(o=>o!=r.trim());n.length?i.setAttribute(e,n.join(VE)):i.removeAttribute(e)}function Qh(i,e){return(i.getAttribute(e)||"").match(/\S+/g)||[]}var jE="cdk-describedby-message",Wh="cdk-describedby-host",kb=0,Xh=(()=>{let e=class e{constructor(t,n){this._platform=n,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${kb++}`,this._document=t,this._id=C(xl)+"-"+kb++}describe(t,n,o){if(!this._canBeDescribed(t,n))return;let s=Db(n,o);typeof n!="string"?(FE(n,this._id),this._messageRegistry.set(s,{messageElement:n,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(n,o),this._isElementDescribedByMessage(t,s)||this._addMessageReference(t,s)}removeDescription(t,n,o){if(!n||!this._isElementNode(t))return;let s=Db(n,o);if(this._isElementDescribedByMessage(t,s)&&this._removeMessageReference(t,s),typeof n=="string"){let a=this._messageRegistry.get(s);a&&a.referenceCount===0&&this._deleteMessageElement(s)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let t=this._document.querySelectorAll(`[${Wh}="${this._id}"]`);for(let n=0;no.indexOf(jE)!=0);t.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(t,n){let o=this._messageRegistry.get(n);Ca(t,"aria-describedby",o.messageElement.id),t.setAttribute(Wh,this._id),o.referenceCount++}_removeMessageReference(t,n){let o=this._messageRegistry.get(n);o.referenceCount--,fo(t,"aria-describedby",o.messageElement.id),t.removeAttribute(Wh)}_isElementDescribedByMessage(t,n){let o=Qh(t,"aria-describedby"),s=this._messageRegistry.get(n),a=s&&s.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(t,n){if(!this._isElementNode(t))return!1;if(n&&typeof n=="object")return!0;let o=n==null?"":`${n}`.trim(),s=t.getAttribute("aria-label");return o?!s||s.trim()!==o:!1}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}};e.\u0275fac=function(n){return new(n||e)(v(q),v(ve))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Db(i,e){return typeof i=="string"?`${e||""}/${i}`:i}function FE(i,e){i.id||(i.id=`${jE}-${e}-${kb++}`)}var Kh=class{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new S,this._typeaheadSubscription=ie.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=r=>r.disabled,this._pressedLetters=[],this.tabOut=new S,this.change=new S,e instanceof Zr&&(this._itemChangesSubscription=e.changes.subscribe(r=>{if(this._activeItem){let n=r.toArray().indexOf(this._activeItem);n>-1&&n!==this._activeItemIndex&&(this._activeItemIndex=n)}}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(qe(r=>this._pressedLetters.push(r)),Hn(e),de(()=>this._pressedLetters.length>0),U(()=>this._pressedLetters.join(""))).subscribe(r=>{let t=this._getItemsArray();for(let n=1;n!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let r=this._getItemsArray(),t=typeof e=="number"?e:r.indexOf(e),n=r[t];this._activeItem=n??null,this._activeItemIndex=t}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let r=this._getItemsArray();for(let t=1;t<=r.length;t++){let n=(this._activeItemIndex+e*t+r.length)%r.length,o=r[n];if(!this._skipPredicateFn(o)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,r){let t=this._getItemsArray();if(t[e]){for(;this._skipPredicateFn(t[e]);)if(e+=r,!t[e])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof Zr?this._items.toArray():this._items}},ya=class extends Kh{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},Zh=class extends Kh{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};var ds=(()=>{let e=class e{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return _B(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let n=gB(EB(t));if(n&&(NE(n)===-1||!this.isVisible(n)))return!1;let o=t.nodeName.toLowerCase(),s=NE(t);return t.hasAttribute("contenteditable")?s!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!CB(t)?!1:o==="audio"?t.hasAttribute("controls")?s!==-1:!1:o==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||t.hasAttribute("controls"):t.tabIndex>=0}isFocusable(t,n){return DB(t)&&!this.isDisabled(t)&&(n?.ignoreVisibility||this.isVisible(t))}};e.\u0275fac=function(n){return new(n||e)(v(ve))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function gB(i){try{return i.frameElement}catch{return null}}function _B(i){return!!(i.offsetWidth||i.offsetHeight||typeof i.getClientRects=="function"&&i.getClientRects().length)}function bB(i){let e=i.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function vB(i){return xB(i)&&i.type=="hidden"}function yB(i){return wB(i)&&i.hasAttribute("href")}function xB(i){return i.nodeName.toLowerCase()=="input"}function wB(i){return i.nodeName.toLowerCase()=="a"}function BE(i){if(!i.hasAttribute("tabindex")||i.tabIndex===void 0)return!1;let e=i.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function NE(i){if(!BE(i))return null;let e=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function CB(i){let e=i.nodeName.toLowerCase(),r=e==="input"&&i.type;return r==="text"||r==="password"||e==="select"||e==="textarea"}function DB(i){return vB(i)?!1:bB(i)||yB(i)||i.hasAttribute("contenteditable")||BE(i)}function EB(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}var Ib=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,r,t,n,o=!1){this._element=e,this._checker=r,this._ngZone=t,this._document=n,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let e=this._startAnchor,r=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),r&&(r.removeEventListener("focus",this.endAnchorListener),r.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let r=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?r.length?r[0]:this._getFirstTabbableElement(this._element):r.length?r[r.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let r=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(r){if(!this._checker.isFocusable(r)){let t=this._getFirstTabbableElement(r);return t?.focus(e),!!t}return r.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let r=this._getRegionBoundary("start");return r&&r.focus(e),!!r}focusLastTabbableElement(e){let r=this._getRegionBoundary("end");return r&&r.focus(e),!!r}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let r=e.children;for(let t=0;t=0;t--){let n=r[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(r[t]):null;if(n)return n}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,r){e?r.setAttribute("tabindex","0"):r.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Ee(1)).subscribe(e)}},_c=(()=>{let e=class e{constructor(t,n,o){this._checker=t,this._ngZone=n,this._document=o}create(t,n=!1){return new Ib(t,this._checker,this._ngZone,this._document,n)}};e.\u0275fac=function(n){return new(n||e)(v(ds),v(N),v(q))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),zE=(()=>{let e=class e{get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=t}constructor(t,n,o){this._elementRef=t,this._focusTrapFactory=n,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(t){let n=t.autoCapture;n&&!n.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=ho(),this.focusTrap.focusInitialElementWhenReady()}};e.\u0275fac=function(n){return new(n||e)(h(F),h(_c),h(q))},e.\u0275dir=R({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled",ge],autoCapture:["cdkTrapFocusAutoCapture","autoCapture",ge]},exportAs:["cdkTrapFocus"],features:[Je,Oe]});let i=e;return i})();function Mb(i){return i.buttons===0||i.detail===0}function Ab(i){let e=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var kB=new I("cdk-input-modality-detector-options"),IB={ignoreKeys:[18,17,224,91,16]},$E=650,va=Ii({passive:!0,capture:!0}),SB=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(t,n,o,s){this._platform=t,this._mostRecentTarget=null,this._modality=new Nt(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Wi(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<$E||(this._modality.next(Mb(a)?"keyboard":"mouse"),this._mostRecentTarget=Wi(a))},this._onTouchstart=a=>{if(Ab(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Wi(a)},this._options=E(E({},IB),s),this.modalityDetected=this._modality.pipe(el(1)),this.modalityChanged=this.modalityDetected.pipe(Gr()),t.isBrowser&&n.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,va),o.addEventListener("mousedown",this._onMousedown,va),o.addEventListener("touchstart",this._onTouchstart,va)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,va),document.removeEventListener("mousedown",this._onMousedown,va),document.removeEventListener("touchstart",this._onTouchstart,va))}};e.\u0275fac=function(n){return new(n||e)(v(ve),v(N),v(q),v(kB,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),TB=new I("liveAnnouncerElement",{providedIn:"root",factory:MB});function MB(){return null}var AB=new I("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),RB=0,Jh=(()=>{let e=class e{constructor(t,n,o,s){this._ngZone=n,this._defaultOptions=s,this._document=o,this._liveElement=t||this._createLiveElement()}announce(t,...n){let o=this._defaultOptions,s,a;return n.length===1&&typeof n[0]=="number"?a=n[0]:[s,a]=n,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let t="cdk-live-announcer-element",n=this._document.getElementsByClassName(t),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let e=class e{constructor(t,n,o,s,a){this._ngZone=t,this._platform=n,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new S,this._rootNodeFocusAndBlurListener=l=>{let c=Wi(l);for(let d=c;d;d=d.parentElement)l.type==="focus"?this._onFocus(l,d):this._onBlur(l,d)},this._document=s,this._detectionMode=a?.detectionMode||0}monitor(t,n=!1){let o=Ti(t);if(!this._platform.isBrowser||o.nodeType!==1)return Z();let s=XD(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return n&&(a.checkChildren=!0),a.subject;let l={checkChildren:n,subject:new S,rootNode:s};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(t){let n=Ti(t),o=this._elementInfo.get(n);o&&(o.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(o))}focusVia(t,n,o){let s=Ti(t),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([l,c])=>this._originChanged(l,n,c)):(this._setOrigin(n),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((t,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===1||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,n){t.classList.toggle("cdk-focused",!!n),t.classList.toggle("cdk-touch-focused",n==="touch"),t.classList.toggle("cdk-keyboard-focused",n==="keyboard"),t.classList.toggle("cdk-mouse-focused",n==="mouse"),t.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(t,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&n,this._detectionMode===0){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?$E:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(t,n){let o=this._elementInfo.get(n),s=Wi(t);!o||!o.checkChildren&&n!==s||this._originChanged(n,this._getFocusOrigin(s),o)}_onBlur(t,n){let o=this._elementInfo.get(n);!o||o.checkChildren&&t.relatedTarget instanceof Node&&n.contains(t.relatedTarget)||(this._setClasses(n),this._emitOrigin(o,null))}_emitOrigin(t,n){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(n))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let n=t.rootNode,o=this._rootNodeFocusListenerCount.get(n)||0;o||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,Yh),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,Yh)}),this._rootNodeFocusListenerCount.set(n,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Fe(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(t){let n=t.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let o=this._rootNodeFocusListenerCount.get(n);o>1?this._rootNodeFocusListenerCount.set(n,o-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Yh),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Yh),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,n,o){this._setClasses(t,n),this._emitOrigin(o,n),this._lastFocusOrigin=n}_getClosestElementsInfo(t){let n=[];return this._elementInfo.forEach((o,s)=>{(s===t||o.checkChildren&&s.contains(t))&&n.push([s,o])}),n}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:n,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!n||n===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let s=t.labels;if(s){for(let a=0;a{let e=class e{constructor(t,n){this._elementRef=t,this._focusMonitor=n,this._focusOrigin=null,this.cdkFocusChange=new O}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,t.nodeType===1&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)(h(F),h(Ln))},e.\u0275dir=R({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]});let i=e;return i})(),PE="cdk-high-contrast-black-on-white",LE="cdk-high-contrast-white-on-black",Eb="cdk-high-contrast-active",Ob=(()=>{let e=class e{constructor(t,n){this._platform=t,this._document=n,this._breakpointSubscription=C(Gh).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let n=this._document.defaultView||window,o=n&&n.getComputedStyle?n.getComputedStyle(t):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(Eb,PE,LE),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===1?t.add(Eb,PE):n===2&&t.add(Eb,LE)}}};e.\u0275fac=function(n){return new(n||e)(v(ve),v(q))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Da=(()=>{let e=class e{constructor(t){t._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(n){return new(n||e)(v(Ob))},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[ba]});let i=e;return i})();var FB=new I("cdk-dir-doc",{providedIn:"root",factory:NB});function NB(){return C(q)}var PB=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function LB(i){let e=i?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?PB.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var It=(()=>{let e=class e{constructor(t){if(this.value="ltr",this.change=new O,t){let n=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.value=LB(n||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(n){return new(n||e)(v(FB,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var po=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({});let i=e;return i})();var VB=["text"];function jB(i,e){if(i&1&&k(0,"mat-pseudo-checkbox",6),i&2){let r=j();y("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function BB(i,e){if(i&1&&k(0,"mat-pseudo-checkbox",7),i&2){let r=j();y("disabled",r.disabled)}}function zB(i,e){if(i&1&&(g(0,"span",8),x(1),p()),i&2){let r=j();_(1),Ge("(",r.group.label,")")}}var $B=[[["mat-icon"]],"*"],HB=["mat-icon","*"];function UB(){return!0}var qB=new I("mat-sanity-checks",{providedIn:"root",factory:UB}),se=(()=>{let e=class e{constructor(t,n,o){this._sanityChecks=n,this._document=o,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return sc()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}};e.\u0275fac=function(n){return new(n||e)(v(Ob),v(qB,8),v(q))},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[po,po]});let i=e;return i})();function XE(i){return class extends i{get disabled(){return this._disabled}set disabled(e){this._disabled=Te(e)}constructor(...e){super(...e),this._disabled=!1}}}function ka(i,e){return class extends i{get color(){return this._color}set color(r){let t=r||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),t&&this._elementRef.nativeElement.classList.add(`mat-${t}`),this._color=t)}constructor(...r){super(...r),this.defaultColor=e,this.color=e}}}function JE(i){return class extends i{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Te(e)}constructor(...e){super(...e),this._disableRipple=!1}}}function tm(i,e=0){return class extends i{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(r){this._tabIndex=r!=null?Bt(r):this.defaultTabIndex}constructor(...r){super(...r),this._tabIndex=e,this.defaultTabIndex=e}}}function Ia(i){return class extends i{updateErrorState(){let e=this.errorState,r=this._parentFormGroup||this._parentForm,t=this.errorStateMatcher||this._defaultErrorStateMatcher,n=this.ngControl?this.ngControl.control:null,o=t.isErrorState(n,r);o!==e&&(this.errorState=o,this.stateChanges.next())}constructor(...e){super(...e),this.errorState=!1}}}var HE=new I("MAT_DATE_LOCALE",{providedIn:"root",factory:GB});function GB(){return C(Sl)}var st=class{constructor(){this._localeChanges=new S,this.localeChanges=this._localeChanges}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return e==null||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,r){return this.getYear(e)-this.getYear(r)||this.getMonth(e)-this.getMonth(r)||this.getDate(e)-this.getDate(r)}sameDate(e,r){if(e&&r){let t=this.isValid(e),n=this.isValid(r);return t&&n?!this.compareDate(e,r):t==n}return e==r}clampDate(e,r,t){return r&&this.compareDate(e,r)<0?r:t&&this.compareDate(e,t)>0?t:e}},Vn=new I("mat-date-formats"),WB=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Fb(i,e){let r=Array(i);for(let t=0;t{let e=class e extends st{constructor(t){super(),this.useUtcForDisplay=!1,this._matDateLocale=C(HE,{optional:!0}),t!==void 0&&(this._matDateLocale=t),super.setLocale(this._matDateLocale)}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){let n=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return Fb(12,o=>this._format(n,new Date(2017,o,1)))}getDateNames(){let t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Fb(31,n=>this._format(t,new Date(2017,0,n+1)))}getDayOfWeekNames(t){let n=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return Fb(7,o=>this._format(n,new Date(2017,0,o+1)))}getYearName(t){let n=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(n,t)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,n,o){let s=this._createDateWithOverflow(t,n,o);return s.getMonth()!=n,s}today(){return new Date}parse(t,n){return typeof t=="number"?new Date(t):t?new Date(Date.parse(t)):null}format(t,n){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");let o=new Intl.DateTimeFormat(this.locale,xe(E({},n),{timeZone:"utc"}));return this._format(o,t)}addCalendarYears(t,n){return this.addCalendarMonths(t,n*12)}addCalendarMonths(t,n){let o=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+n,this.getDate(t));return this.getMonth(o)!=((this.getMonth(t)+n)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(t,n){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+n)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if(typeof t=="string"){if(!t)return null;if(WB.test(t)){let n=new Date(t);if(this.isValid(n))return n}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,n,o){let s=new Date;return s.setFullYear(t,n,o),s.setHours(0,0,0,0),s}_2digit(t){return("00"+t).slice(-2)}_format(t,n){let o=new Date;return o.setUTCFullYear(n.getFullYear(),n.getMonth(),n.getDate()),o.setUTCHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),t.format(o)}};e.\u0275fac=function(n){return new(n||e)(v(HE,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let i=e;return i})(),QB={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},KB=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({providers:[{provide:st,useClass:YB}]});let i=e;return i})(),Mi=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({providers:[{provide:Vn,useValue:QB}],imports:[KB]});let i=e;return i})();var go=(()=>{let e=class e{isErrorState(t,n){return!!(t&&t.invalid&&(t.touched||n&&n.submitted))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var jb=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[se,se]});let i=e;return i})(),Lb=class{constructor(e,r,t,n=!1){this._renderer=e,this.element=r,this.config=t,this._animationForciblyDisabledThroughCss=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}},UE=Ii({passive:!0,capture:!0}),Vb=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let r=Wi(e);r&&this._events.get(e.type)?.forEach((t,n)=>{(n===r||n.contains(r))&&t.forEach(o=>o.handleEvent(e))})}}addHandler(e,r,t,n){let o=this._events.get(r);if(o){let s=o.get(t);s?s.add(n):o.set(t,new Set([n]))}else this._events.set(r,new Map([[t,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,UE)})}removeHandler(e,r,t){let n=this._events.get(e);if(!n)return;let o=n.get(r);o&&(o.delete(t),o.size===0&&n.delete(r),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,UE)))}},qE={enterDuration:225,exitDuration:150},ZB=800,GE=Ii({passive:!0,capture:!0}),WE=["mousedown","touchstart"],YE=["mouseup","mouseleave","touchend","touchcancel"],bc=class bc{constructor(e,r,t,n){this._target=e,this._ngZone=r,this._platform=n,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=Ti(t))}fadeInRipple(e,r,t={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=E(E({},qE),t.animation);t.centered&&(e=n.left+n.width/2,r=n.top+n.height/2);let s=t.radius||XB(e,r,n),a=e-n.left,l=r-n.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,t.color!=null&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),m=u.transitionProperty,f=u.transitionDuration,b=m==="none"||f==="0s"||f==="0s, 0s"||n.width===0&&n.height===0,w=new Lb(this,d,t,b);d.style.transform="scale3d(1, 1, 1)",w.state=0,t.persistent||(this._mostRecentTransientRipple=w);let T=null;return!b&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let M=()=>this._finishRippleTransition(w),ne=()=>this._destroyRipple(w);d.addEventListener("transitionend",M),d.addEventListener("transitioncancel",ne),T={onTransitionEnd:M,onTransitionCancel:ne}}),this._activeRipples.set(w,T),(b||!c)&&this._finishRippleTransition(w),w}fadeOutRipple(e){if(e.state===2||e.state===3)return;let r=e.element,t=E(E({},qE),e.config.animation);r.style.transitionDuration=`${t.exitDuration}ms`,r.style.opacity="0",e.state=2,(e._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let r=Ti(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,WE.forEach(t=>{bc._eventManager.addHandler(this._ngZone,t,r,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{YE.forEach(r=>{this._triggerElement.addEventListener(r,this,GE)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===0?this._startFadeOutTransition(e):e.state===2&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:t}=e.config;e.state=1,!t&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let r=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=3,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel)),e.element.remove()}_onMousedown(e){let r=Mb(e),t=this._lastTouchStartEvent&&Date.now(){let r=e.state===1||e.config.terminateOnPointerUp&&e.state===0;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(WE.forEach(r=>bc._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&YE.forEach(r=>e.removeEventListener(r,this,GE)))}};bc._eventManager=new Vb;var vc=bc;function XB(i,e,r){let t=Math.max(Math.abs(i-r.left),Math.abs(i-r.right)),n=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(t*t+n*n)}var xc=new I("mat-ripple-global-options"),Sa=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,n,o,s,a){this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new vc(this,n,t,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:E(E(E({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,n=0,o){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,n,E(E({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,E(E({},this.rippleConfig),t))}};e.\u0275fac=function(n){return new(n||e)(h(F),h(N),h(ve),h(xc,8),h(Me,8))},e.\u0275dir=R({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,o){n&2&&Q("mat-ripple-unbounded",o.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]});let i=e;return i})(),us=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[se,se]});let i=e;return i})(),JB=(()=>{let e=class e{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(n){return new(n||e)(h(Me,8))},e.\u0275cmp=P({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,o){n&2&&Q("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(n,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let i=e;return i})(),Bb=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[se]});let i=e;return i})(),wc=new I("MAT_OPTION_PARENT_COMPONENT");var Cc=new I("MatOptgroup");var e3=0,yc=class{constructor(e,r=!1){this.source=e,this.isUserInput=r}},Ai=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(t,n,o,s){this._element=t,this._changeDetectorRef=n,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${e3++}`,this.onSelectionChange=new O,this._stateChanges=new S}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,n){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(n)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!We(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new yc(this,t))}};e.\u0275fac=function(n){return new(n||e)(h(F),h(Ie),h(wc,8),h(Cc,8))},e.\u0275cmp=P({type:e,selectors:[["mat-option"]],viewQuery:function(n,o){if(n&1&&be(VB,7),n&2){let s;$(s=H())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,o){n&1&&L("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),n&2&&(Wt("id",o.id),Y("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),Q("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:["disabled","disabled",ge]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[Je],ngContentSelectors:HB,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled"],["class","cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(n,o){n&1&&($e($B),V(0,jB,1,2,"mat-pseudo-checkbox",0),J(1),g(2,"span",1,2),J(4,1),p(),V(5,BB,1,1,"mat-pseudo-checkbox",3)(6,zB,2,1,"span",4),k(7,"div",5)),n&2&&(Ae(0,o.multiple?0:-1),_(5),Ae(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),_(1),Ae(6,o.group&&o.group._inert?6:-1),_(1),y("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[Sa,JB],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let i=e;return i})();function im(i,e,r){if(r.length){let t=e.toArray(),n=r.toArray(),o=0;for(let s=0;sr+t?Math.max(0,i-t+e):r}var _o=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[us,se,Bb]});let i=e;return i})(),QE={capture:!0},KE=["focus","click","mouseenter","touchstart"],Nb="mat-ripple-loader-uninitialized",Pb="mat-ripple-loader-class-name",ZE="mat-ripple-loader-centered",em="mat-ripple-loader-disabled",ek=(()=>{let e=class e{constructor(){this._document=C(q,{optional:!0}),this._animationMode=C(Me,{optional:!0}),this._globalRippleOptions=C(xc,{optional:!0}),this._platform=C(ve),this._ngZone=C(N),this._hosts=new Map,this._onInteraction=t=>{if(!(t.target instanceof HTMLElement))return;let o=t.target.closest(`[${Nb}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let t of KE)this._document?.addEventListener(t,this._onInteraction,QE)})}ngOnDestroy(){let t=this._hosts.keys();for(let n of t)this.destroyRipple(n);for(let n of KE)this._document?.removeEventListener(n,this._onInteraction,QE)}configureRipple(t,n){t.setAttribute(Nb,""),(n.className||!t.hasAttribute(Pb))&&t.setAttribute(Pb,n.className||""),n.centered&&t.setAttribute(ZE,""),n.disabled&&t.setAttribute(em,"")}getRipple(t){return this._hosts.get(t)||this._createRipple(t)}setDisabled(t,n){let o=this._hosts.get(t);if(o){o.disabled=n;return}n?t.setAttribute(em,""):t.removeAttribute(em)}_createRipple(t){if(!this._document)return;let n=this._hosts.get(t);if(n)return n;t.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",t.getAttribute(Pb)),t.append(o);let s=new Sa(new F(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=t,s.centered=t.hasAttribute(ZE),s.disabled=t.hasAttribute(em),this.attachRipple(t,s),s}attachRipple(t,n){t.removeAttribute(Nb),this._hosts.set(t,n)}destroyRipple(t){let n=this._hosts.get(t);n&&(n.ngOnDestroy(),this._hosts.delete(t))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var tk=["mat-button",""],zb=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],$b=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],t3='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled][disabled]{box-shadow:none}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',Hb=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var ik=["mat-icon-button",""],i3=["*"],n3='.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;border-radius:50%;flex-shrink:0;text-align:center;font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}';var r3=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Ub=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(t){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,t)}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}constructor(t,n,o,s){this._elementRef=t,this._platform=n,this._ngZone=o,this._animationMode=s,this._focusMonitor=C(Ln),this._rippleLoader=C(ek),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});let a=this._elementRef.nativeElement,l=a.classList;for(let{attribute:c,mdcClasses:d}of r3)a.hasAttribute(c)&&l.add(...d)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",n){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,n):this._elementRef.nativeElement.focus(n)}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};e.\u0275fac=function(n){Ys()},e.\u0275dir=R({type:e,inputs:{color:"color",disableRipple:["disableRipple","disableRipple",ge],disabled:["disabled","disabled",ge]},features:[Je]});let i=e;return i})();var nk=(()=>{let e=class e extends Ub{constructor(t,n,o,s){super(t,n,o,s),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}};e.\u0275fac=function(n){Ys()},e.\u0275dir=R({type:e,inputs:{tabIndex:["tabIndex","tabIndex",t=>t==null?void 0:Tl(t)]},features:[Je,oe]});let i=e;return i})(),St=(()=>{let e=class e extends Ub{constructor(t,n,o,s){super(t,n,o,s)}};e.\u0275fac=function(n){return new(n||e)(h(F),h(ve),h(N),h(Me,8))},e.\u0275cmp=P({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:9,hostBindings:function(n,o){n&2&&(Y("disabled",o.disabled||null),ii(o.color?"mat-"+o.color:""),Q("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[oe],attrs:tk,ngContentSelectors:$b,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&($e(zb),k(0,"span",0),J(1),g(2,"span",1),J(3,1),p(),J(4,2),k(5,"span",2)(6,"span",3)),n&2&&Q("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled][disabled]{box-shadow:none}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let i=e;return i})(),rk=(()=>{let e=class e extends nk{constructor(t,n,o,s){super(t,n,o,s)}};e.\u0275fac=function(n){return new(n||e)(h(F),h(ve),h(N),h(Me,8))},e.\u0275cmp=P({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:11,hostBindings:function(n,o){n&2&&(Y("disabled",o.disabled||null)("tabindex",o.disabled?-1:o.tabIndex)("aria-disabled",o.disabled.toString()),ii(o.color?"mat-"+o.color:""),Q("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[oe],attrs:tk,ngContentSelectors:$b,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&($e(zb),k(0,"span",0),J(1),g(2,"span",1),J(3,1),p(),J(4,2),k(5,"span",2)(6,"span",3)),n&2&&Q("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[t3,Hb],encapsulation:2,changeDetection:0});let i=e;return i})();var qb=(()=>{let e=class e extends Ub{constructor(t,n,o,s){super(t,n,o,s),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};e.\u0275fac=function(n){return new(n||e)(h(F),h(ve),h(N),h(Me,8))},e.\u0275cmp=P({type:e,selectors:[["button","mat-icon-button",""]],hostVars:9,hostBindings:function(n,o){n&2&&(Y("disabled",o.disabled||null),ii(o.color?"mat-"+o.color:""),Q("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[oe],attrs:ik,ngContentSelectors:i3,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&($e(),k(0,"span",0),J(1),k(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;border-radius:50%;flex-shrink:0;text-align:center;font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',Hb],encapsulation:2,changeDetection:0});let i=e;return i})(),ok=(()=>{let e=class e extends nk{constructor(t,n,o,s){super(t,n,o,s)}};e.\u0275fac=function(n){return new(n||e)(h(F),h(ve),h(N),h(Me,8))},e.\u0275cmp=P({type:e,selectors:[["a","mat-icon-button",""]],hostVars:11,hostBindings:function(n,o){n&2&&(Y("disabled",o.disabled||null)("tabindex",o.disabled?-1:o.tabIndex)("aria-disabled",o.disabled.toString()),ii(o.color?"mat-"+o.color:""),Q("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[oe],attrs:ik,ngContentSelectors:$b,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&($e(zb),k(0,"span",0),J(1),g(2,"span",1),J(3,1),p(),J(4,2),k(5,"span",2)(6,"span",3)),n&2&&Q("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[n3,Hb],encapsulation:2,changeDetection:0});let i=e;return i})(),at=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[se,us,se]});let i=e;return i})();var Gb=class{constructor(e){this._box=e,this._destroyed=new S,this._resizeSubject=new S,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(r=>this._resizeSubject.next(r)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new ue(r=>{let t=this._resizeSubject.subscribe(r);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),t.unsubscribe(),this._elementObservables.delete(e)}}).pipe(de(r=>r.some(t=>t.target===e)),Dd({bufferSize:1,refCount:!0}),Fe(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},sk=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=C(N),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,t]of this._observers)t.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(t,n){let o=n?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new Gb(o)),this._observers.get(o).observe(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var o3=["notch"],s3=["matFormFieldNotchedOutline",""],a3=["*"],l3=["textField"],c3=["iconPrefixContainer"],d3=["textPrefixContainer"];function u3(i,e){i&1&&k(0,"span",16)}function h3(i,e){if(i&1&&(g(0,"label",14),J(1,1),V(2,u3,1,0,"span",15),p()),i&2){let r=j(2);y("floating",r._shouldLabelFloat())("monitorResize",r._hasOutline())("id",r._labelId),Y("for",r._control.id),_(2),Ae(2,!r.hideRequiredMarker&&r._control.required?2:-1)}}function m3(i,e){if(i&1&&V(0,h3,3,5,"label",14),i&2){let r=j();Ae(0,r._hasFloatingLabel()?0:-1)}}function f3(i,e){i&1&&k(0,"div",17)}function p3(i,e){}function g3(i,e){if(i&1&&V(0,p3,0,0,"ng-template",9),i&2){j(2);let r=Vt(1);y("ngTemplateOutlet",r)}}function _3(i,e){if(i&1&&(g(0,"div",5),V(1,g3,1,1,null,9),p()),i&2){let r=j();y("matFormFieldNotchedOutlineOpen",r._shouldLabelFloat()),_(1),Ae(1,r._forceDisplayInfixLabel()?-1:1)}}function b3(i,e){i&1&&(g(0,"div",18,19),J(2,2),p())}function v3(i,e){i&1&&(g(0,"div",20,21),J(2,3),p())}function y3(i,e){}function x3(i,e){if(i&1&&V(0,y3,0,0,"ng-template",9),i&2){j();let r=Vt(1);y("ngTemplateOutlet",r)}}function w3(i,e){i&1&&(g(0,"div",22),J(1,4),p())}function C3(i,e){i&1&&(g(0,"div",23),J(1,5),p())}function D3(i,e){i&1&&k(0,"div",12)}function E3(i,e){if(i&1&&(g(0,"div",24),J(1,6),p()),i&2){let r=j();y("@transitionMessages",r._subscriptAnimationState)}}function k3(i,e){if(i&1&&(g(0,"mat-hint",26),x(1),p()),i&2){let r=j(2);y("id",r._hintLabelId),_(1),Ke(r.hintLabel)}}function I3(i,e){if(i&1&&(g(0,"div",25),V(1,k3,2,2,"mat-hint",26),J(2,7),k(3,"div",27),J(4,8),p()),i&2){let r=j();y("@transitionMessages",r._subscriptAnimationState),_(1),Ae(1,r.hintLabel?1:-1)}}var S3=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],T3=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"],Ri=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=R({type:e,selectors:[["mat-label"]]});let i=e;return i})(),M3=0,pk=new I("MatError"),gk=(()=>{let e=class e{constructor(t,n){this.id=`mat-mdc-error-${M3++}`,t||n.nativeElement.setAttribute("aria-live","polite")}};e.\u0275fac=function(n){return new(n||e)($i("aria-live"),h(F))},e.\u0275dir=R({type:e,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(n,o){n&2&&Wt("id",o.id)},inputs:{id:"id"},features:[ke([{provide:pk,useExisting:e}])]});let i=e;return i})(),A3=0,ak=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${A3++}`}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=R({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,o){n&2&&(Wt("id",o.id),Y("align",null),Q("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"}});let i=e;return i})(),R3=new I("MatPrefix");var _k=new I("MatSuffix"),bo=(()=>{let e=class e{constructor(){this._isText=!1}set _isTextSelector(t){this._isText=!0}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=R({type:e,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[ke([{provide:_k,useExisting:e}])]});let i=e;return i})(),bk=new I("FloatingLabelParent"),lk=(()=>{let e=class e{get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(t){this._elementRef=t,this._floating=!1,this._monitorResize=!1,this._resizeObserver=C(sk),this._ngZone=C(N),this._parent=C(bk),this._resizeSubscription=new ie}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return O3(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};e.\u0275fac=function(n){return new(n||e)(h(F))},e.\u0275dir=R({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,o){n&2&&Q("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}});let i=e;return i})();function O3(i){let e=i;if(e.offsetParent!==null)return e.scrollWidth;let r=e.cloneNode(!0);r.style.setProperty("position","absolute"),r.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(r);let t=r.scrollWidth;return r.remove(),t}var ck="mdc-line-ripple--active",rm="mdc-line-ripple--deactivating",dk=(()=>{let e=class e{constructor(t,n){this._elementRef=t,this._handleTransitionEnd=o=>{let s=this._elementRef.nativeElement.classList,a=s.contains(rm);o.propertyName==="opacity"&&a&&s.remove(ck,rm)},n.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let t=this._elementRef.nativeElement.classList;t.remove(rm),t.add(ck)}deactivate(){this._elementRef.nativeElement.classList.add(rm)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(n){return new(n||e)(h(F),h(N))},e.\u0275dir=R({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]});let i=e;return i})(),uk=(()=>{let e=class e{constructor(t,n){this._elementRef=t,this._ngZone=n,this.open=!1}ngAfterViewInit(){let t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){!this.open||!t?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${t}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + ${8+1}px)`}};e.\u0275fac=function(n){return new(n||e)(h(F),h(N))},e.\u0275cmp=P({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,o){if(n&1&&be(o3,5),n&2){let s;$(s=H())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,o){n&2&&Q("mdc-notched-outline--notched",o.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:s3,ngContentSelectors:a3,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(n,o){n&1&&($e(),k(0,"div",0),g(1,"div",1,2),J(3),p(),k(4,"div",3))},encapsulation:2,changeDetection:0});let i=e;return i})(),F3={transitionMessages:Yt("transitionMessages",[Dt("enter",Re({opacity:1,transform:"translateY(0%)"})),ft("void => enter",[Re({opacity:0,transform:"translateY(-5px)"}),mt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},hs=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=R({type:e});let i=e;return i})();var lr=new I("MatFormField"),N3=new I("MAT_FORM_FIELD_DEFAULT_OPTIONS"),hk=0,mk="fill",P3="auto",fk="fixed",L3="translateY(-50%)",_n=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Te(t)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||P3}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(t){let n=this._appearance,o=t||this._defaults?.appearance||mk;this._appearance=o,this._appearance==="outline"&&this._appearance!==n&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||fk}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||fk}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}constructor(t,n,o,s,a,l,c,d){this._elementRef=t,this._changeDetectorRef=n,this._ngZone=o,this._dir=s,this._platform=a,this._defaults=l,this._animationMode=c,this._hideRequiredMarker=!1,this.color="primary",this._appearance=mk,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${hk++}`,this._hintLabelId=`mat-mdc-hint-${hk++}`,this._subscriptAnimationState="",this._destroyed=new S,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${t.controlType}`),t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Fe(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),it(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Fe(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(Fe(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(t){let n=this._control?this._control.ngControl:null;return n&&n[t]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&t.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let n=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;n?t.push(n.id):this._hintLabel&&t.push(this._hintLabelId),o&&t.push(o.id)}else this._errorChildren&&t.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let t=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){t.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let n=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,s=n?.getBoundingClientRect().width??0,a=o?.getBoundingClientRect().width??0,l=this._dir.value==="rtl"?"-1":"1",c=`${s+a}px`,u=`calc(${l} * (${c} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;t.style.transform=`var( + --mat-mdc-form-field-label-transform, + ${L3} translateX(${u}) + )`}_isAttachedToDom(){let t=this._elementRef.nativeElement;if(t.getRootNode){let n=t.getRootNode();return n&&n!==t}return document.documentElement.contains(t)}};e.\u0275fac=function(n){return new(n||e)(h(F),h(Ie),h(N),h(It),h(ve),h(N3,8),h(Me,8),h(q))},e.\u0275cmp=P({type:e,selectors:[["mat-form-field"]],contentQueries:function(n,o,s){if(n&1&&(Le(s,Ri,5),Le(s,Ri,7),Le(s,hs,5),Le(s,R3,5),Le(s,_k,5),Le(s,pk,5),Le(s,ak,5)),n&2){let a;$(a=H())&&(o._labelChildNonStatic=a.first),$(a=H())&&(o._labelChildStatic=a.first),$(a=H())&&(o._formFieldControl=a.first),$(a=H())&&(o._prefixChildren=a),$(a=H())&&(o._suffixChildren=a),$(a=H())&&(o._errorChildren=a),$(a=H())&&(o._hintChildren=a)}},viewQuery:function(n,o){if(n&1&&(be(l3,5),be(c3,5),be(d3,5),be(lk,5),be(uk,5),be(dk,5)),n&2){let s;$(s=H())&&(o._textField=s.first),$(s=H())&&(o._iconPrefixContainer=s.first),$(s=H())&&(o._textPrefixContainer=s.first),$(s=H())&&(o._floatingLabel=s.first),$(s=H())&&(o._notchedOutline=s.first),$(s=H())&&(o._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(n,o){n&2&&Q("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[ke([{provide:lr,useExisting:e},{provide:bk,useExisting:e}])],ngContentSelectors:T3,decls:18,vars:21,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],["class","mat-mdc-form-field-icon-prefix"],["class","mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],["class","mat-mdc-form-field-text-suffix"],["class","mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(n,o){if(n&1&&($e(S3),V(0,m3,1,1,"ng-template",null,0,_g),g(2,"div",1,2),L("click",function(a){return o._control.onContainerClick(a)}),V(4,f3,1,0,"div",3),g(5,"div",4),V(6,_3,2,2,"div",5)(7,b3,3,0,"div",6)(8,v3,3,0,"div",7),g(9,"div",8),V(10,x3,1,1,null,9),J(11),p(),V(12,w3,2,0,"div",10)(13,C3,2,0,"div",11),p(),V(14,D3,1,0,"div",12),p(),g(15,"div",13),V(16,E3,2,1)(17,I3,5,2),p()),n&2){let s;_(2),Q("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),_(2),Ae(4,!o._hasOutline()&&!o._control.disabled?4:-1),_(2),Ae(6,o._hasOutline()?6:-1),_(1),Ae(7,o._hasIconPrefix?7:-1),_(1),Ae(8,o._hasTextPrefix?8:-1),_(2),Ae(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),_(2),Ae(12,o._hasTextSuffix?12:-1),_(1),Ae(13,o._hasIconSuffix?13:-1),_(1),Ae(14,o._hasOutline()?-1:14),_(1),Q("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),_(1),Ae(16,(s=o._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[uC,ak,lk,uk,dk],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[F3.transitionMessages]},changeDetection:0});let i=e;return i})(),Tt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[se,fi,ba,se]});let i=e;return i})();var vk=Ii({passive:!0}),yk=(()=>{let e=class e{constructor(t,n){this._platform=t,this._ngZone=n,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return Ut;let n=Ti(t),o=this._monitoredElements.get(n);if(o)return o.subject;let s=new S,a="cdk-text-field-autofilled",l=c=>{c.animationName==="cdk-text-field-autofill-start"&&!n.classList.contains(a)?(n.classList.add(a),this._ngZone.run(()=>s.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&n.classList.contains(a)&&(n.classList.remove(a),this._ngZone.run(()=>s.next({target:c.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{n.addEventListener("animationstart",l,vk),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:s,unlisten:()=>{n.removeEventListener("animationstart",l,vk)}}),s}stopMonitoring(t){let n=Ti(t),o=this._monitoredElements.get(n);o&&(o.unlisten(),o.subject.complete(),n.classList.remove("cdk-text-field-autofill-monitored"),n.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(n))}ngOnDestroy(){this._monitoredElements.forEach((t,n)=>this.stopMonitoring(n))}};e.\u0275fac=function(n){return new(n||e)(v(ve),v(N))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var xk=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({});let i=e;return i})();var Wb=new I("MAT_INPUT_VALUE_ACCESSOR"),j3=["button","checkbox","file","hidden","image","radio","range","reset","submit"],B3=0,z3=Ia(class{constructor(i,e,r,t){this._defaultErrorStateMatcher=i,this._parentForm=e,this._parentFormGroup=r,this.ngControl=t,this.stateChanges=new S}}),cr=(()=>{let e=class e extends z3{get disabled(){return this._disabled}set disabled(t){this._disabled=Te(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(ee.required)??!1}set required(t){this._required=Te(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&K_().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=Te(t)}constructor(t,n,o,s,a,l,c,d,u,m){super(l,s,a,o),this._elementRef=t,this._platform=n,this._autofillMonitor=d,this._formField=m,this._uid=`mat-input-${B3++}`,this.focused=!1,this.stateChanges=new S,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(w=>K_().has(w)),this._iOSKeyupListener=w=>{let T=w.target;!T.value&&T.selectionStart===0&&T.selectionEnd===0&&(T.setSelectionRange(1,1),T.setSelectionRange(0,0))};let f=this._elementRef.nativeElement,b=f.nodeName.toLowerCase();this._inputValueAccessor=c||f,this._previousNativeValue=this.value,this.id=this.id,n.IOS&&u.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect=b==="select",this._isTextarea=b==="textarea",this._isInFormField=!!m,this._isNativeSelect&&(this.controlType=f.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t!==this.focused&&(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_dirtyCheckPlaceholder(){let t=this._getPlaceholder();if(t!==this._previousPlaceholder){let n=this._elementRef.nativeElement;this._previousPlaceholder=t,t?n.setAttribute("placeholder",t):n.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){j3.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let t=this._elementRef.nativeElement,n=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&n&&n.label)}else return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}};e.\u0275fac=function(n){return new(n||e)(h(F),h(ve),h(Fn,10),h(Nr,8),h(Et,8),h(go),h(Wb,10),h(yk),h(N),h(lr,8))},e.\u0275dir=R({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(n,o){n&1&&L("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),n&2&&(Wt("id",o.id)("disabled",o.disabled)("required",o.required),Y("name",o.name||null)("readonly",o.readonly&&!o._isNativeSelect||null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),Q("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[ke([{provide:hs,useExisting:e}]),oe,Oe]});let i=e;return i})(),oi=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[se,Tt,Tt,xk,se]});let i=e;return i})();var $3=new I("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var H3=ka(class{constructor(i){this._elementRef=i}},"primary"),si=(()=>{let e=class e extends H3{constructor(t,n,o,s,a){super(t),this._ngZone=n,this._changeDetectorRef=o,this._animationMode=s,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new O,this._mode="determinate",this._transitionendHandler=l=>{this.animationEnd.observers.length===0||!l.target||!l.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation=s==="NoopAnimations",a&&(a.color&&(this.color=this.defaultColor=a.color),this.mode=a.mode||this.mode)}get value(){return this._value}set value(t){this._value=wk(Bt(t)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(t){this._bufferValue=wk(Bt(t)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(t){this._mode=t,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}};e.\u0275fac=function(n){return new(n||e)(h(F),h(N),h(Ie),h(Me,8),h($3,8))},e.\u0275cmp=P({type:e,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:8,hostBindings:function(n,o){n&2&&(Y("aria-valuenow",o._isIndeterminate()?null:o.value)("mode",o.mode),Q("_mat-animation-noopable",o._isNoopAnimation)("mdc-linear-progress--animation-ready",!o._isNoopAnimation)("mdc-linear-progress--indeterminate",o._isIndeterminate()))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[oe],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(n,o){n&1&&(g(0,"div",0),k(1,"div",1)(2,"div",2),p(),g(3,"div",3),k(4,"span",4),p(),g(5,"div",5),k(6,"span",4),p()),n&2&&(_(1),Lt("flex-basis",o._getBufferBarFlexBasis()),_(2),Lt("transform",o._getPrimaryBarTransform()))},styles:[`@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill=''/%3E%3C/svg%3E")}}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{display:block;text-align:left;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}[dir=rtl] .mat-mdc-progress-bar{text-align:right}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}`],encapsulation:2,changeDetection:0});let i=e;return i})();function wk(i,e=0,r=100){return Math.max(e,Math.min(r,i))}var Ot=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[se]});let i=e;return i})();var om=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,r,t=!0,n){this._multiple=e,this._emitChanges=t,this.compareWith=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new S,r&&r.length&&(e?r.forEach(o=>this._markSelected(o)):this._markSelected(r[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(t=>this._markSelected(t));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}deselect(...e){this._verifyValueAssignment(e),e.forEach(t=>this._unmarkSelected(t));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}setSelection(...e){this._verifyValueAssignment(e);let r=this.selected,t=new Set(e);e.forEach(o=>this._markSelected(o)),r.filter(o=>!t.has(o)).forEach(o=>this._unmarkSelected(o));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let r=this._hasQueuedChanges();return e&&this._emitChangeEvent(),r}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e){if(this.compareWith){for(let r of this._selection)if(this.compareWith(e,r))return r;return e}else return e}};var sm=(()=>{let e=class e{constructor(){this._listeners=[]}notify(t,n){for(let o of this._listeners)o(t,n)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(n=>t!==n)}}ngOnDestroy(){this._listeners=[]}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var U3=20,Ec=(()=>{let e=class e{constructor(t,n,o){this._ngZone=t,this._platform=n,this._scrolled=new S,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let n=this.scrollContainers.get(t);n&&(n.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=U3){return this._platform.isBrowser?new ue(n=>{this._globalSubscription||this._addGlobalListener();let o=t>0?this._scrolled.pipe(wd(t)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Z()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(t,n){let o=this.getAncestorScrollContainers(t);return this.scrolled(n).pipe(de(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(t){let n=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,t)&&n.push(s)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,n){let o=Ti(n),s=t.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return $n(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(n){return new(n||e)(v(N),v(ve),v(q,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var q3=20,yo=(()=>{let e=class e{constructor(t,n,o){this._platform=t,this._change=new S,this._changeListener=s=>{this._change.next(s)},this._document=o,n.runOutsideAngular(()=>{if(t.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:n,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+n,height:o,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,n=this._getWindow(),o=t.documentElement,s=o.getBoundingClientRect(),a=-s.top||t.body.scrollTop||n.scrollY||o.scrollTop||0,l=-s.left||t.body.scrollLeft||n.scrollX||o.scrollLeft||0;return{top:a,left:l}}change(t=q3){return t>0?this._change.pipe(wd(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(n){return new(n||e)(v(ve),v(N),v(q,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var dr=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({});let i=e;return i})(),Yb=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[po,dr,po,dr]});let i=e;return i})();var kc=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Oi=class extends kc{constructor(e,r,t,n,o){super(),this.component=e,this.viewContainerRef=r,this.injector=t,this.componentFactoryResolver=n,this.projectableNodes=o}},Fi=class extends kc{constructor(e,r,t,n){super(),this.templateRef=e,this.viewContainerRef=r,this.context=t,this.injector=n}get origin(){return this.templateRef.elementRef}attach(e,r=this.context){return this.context=r,super.attach(e)}detach(){return this.context=void 0,super.detach()}},Kb=class extends kc{constructor(e){super(),this.element=e instanceof F?e.nativeElement:e}},xo=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof Oi)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Fi)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof Kb)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var am=class extends xo{constructor(e,r,t,n,o){super(),this.outletElement=e,this._componentFactoryResolver=r,this._appRef=t,this._defaultInjector=n,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(e){let t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector||Pe.NULL),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=e,n}attachTemplatePortal(e){let r=e.viewContainerRef,t=r.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return t.rootNodes.forEach(n=>this.outletElement.appendChild(n)),t.detectChanges(),this.setDisposeFn(()=>{let n=r.indexOf(t);n!==-1&&r.remove(n)}),this._attachedPortal=e,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var gi=(()=>{let e=class e extends xo{constructor(t,n,o){super(),this._componentFactoryResolver=t,this._viewContainerRef=n,this._isInitialized=!1,this.attached=new O,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");s.setAttachedHost(this),a.parentNode.insertBefore(l,a),this._getRootNode().appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let n=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,s=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),a=n.createComponent(s,n.length,t.injector||n.injector,t.projectableNodes||void 0);return n!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=t,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(t){t.setAttachedHost(this);let n=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=n,this.attached.emit(n),n}_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}};e.\u0275fac=function(n){return new(n||e)(h(Xn),h(vt),h(q))},e.\u0275dir=R({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[oe]});let i=e;return i})();var Xi=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({});let i=e;return i})();var Dk=ZD(),Zb=class{constructor(e,r){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=r}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=kt(-this._previousScrollPosition.left),e.style.top=kt(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,r=this._document.body,t=e.style,n=r.style,o=t.scrollBehavior||"",s=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),Dk&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Dk&&(t.scrollBehavior=o,n.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let r=this._document.body,t=this._viewportRuler.getViewportSize();return r.scrollHeight>t.height||r.scrollWidth>t.width}};var Xb=class{constructor(e,r,t,n){this._scrollDispatcher=e,this._ngZone=r,this._viewportRuler=t,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(de(r=>!r||!this._overlayRef.overlayElement.contains(r.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let r=this._viewportRuler.getViewportScrollPosition().top;Math.abs(r-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},lm=class{enable(){}disable(){}attach(){}};function Jb(i,e){return e.some(r=>{let t=i.bottomr.bottom,o=i.rightr.right;return t||n||o||s})}function Ek(i,e){return e.some(r=>{let t=i.topr.bottom,o=i.leftr.right;return t||n||o||s})}var ev=class{constructor(e,r,t,n){this._scrollDispatcher=e,this._viewportRuler=r,this._ngZone=t,this._config=n,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let r=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();Jb(r,[{width:t,height:n,bottom:n,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},G3=(()=>{let e=class e{constructor(t,n,o,s){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=o,this.noop=()=>new lm,this.close=a=>new Xb(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new Zb(this._viewportRuler,this._document),this.reposition=a=>new ev(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(n){return new(n||e)(v(Ec),v(yo),v(N),v(q))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),bn=class{constructor(e){if(this.scrollStrategy=new lm,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let r=Object.keys(e);for(let t of r)e[t]!==void 0&&(this[t]=e[t])}}};var tv=class{constructor(e,r){this.connectionPair=e,this.scrollableViewProperties=r}};var Mk=(()=>{let e=class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let n=this._attachedOverlays.indexOf(t);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(n){return new(n||e)(v(q))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),W3=(()=>{let e=class e extends Mk{constructor(t,n){super(t),this._ngZone=n,this._keydownListener=o=>{let s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){let l=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};e.\u0275fac=function(n){return new(n||e)(v(q),v(N,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Y3=(()=>{let e=class e extends Mk{constructor(t,n,o){super(t),this._platform=n,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=Wi(s)},this._clickListener=s=>{let a=Wi(s),l=s.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){let u=c[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(a)||u.overlayElement.contains(l))break;let m=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>m.next(s)):m.next(s)}}}add(t){if(super.add(t),!this._isAttached){let n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(n){return new(n||e)(v(q),v(ve),v(N,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Ma=(()=>{let e=class e{constructor(t,n){this._platform=n,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||sc()){let o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let s=0;sthis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new S,this._outsidePointerEvents=new S,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let r=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Ee(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof r?.onDestroy=="function"&&r.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),r}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=E(E({},this._config),e),this._updateElementSize()}setDirection(e){this._config=xe(E({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=kt(this._config.width),e.height=kt(this._config.height),e.minWidth=kt(this._config.minWidth),e.minHeight=kt(this._config.minHeight),e.maxWidth=kt(this._config.maxWidth),e.maxHeight=kt(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,r,t){let n=_a(r||[]).filter(o=>!!o);n.length&&(t?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let e=this._ngZone.onStable.pipe(Fe(it(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},kk="cdk-overlay-connected-position-bounding-box",Q3=/([A-Za-z%]+)$/,Sc=class{get positions(){return this._preferredPositions}constructor(e,r,t,n,o){this._viewportRuler=r,this._document=t,this._platform=n,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new S,this._resizeSubscription=ie.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(kk),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,r=this._overlayRect,t=this._viewportRect,n=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(e,n,a),c=this._getOverlayPoint(l,r,a),d=this._getOverlayFit(c,r,t,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,t)){o.push({position:a,origin:l,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleAreal&&(l=d,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ms(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(kk),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let r=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,r)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,r,t){let n;if(t.originX=="center")n=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;n=t.originX=="start"?s:a}r.left<0&&(n-=r.left);let o;return t.originY=="center"?o=e.top+e.height/2:o=t.originY=="top"?e.top:e.bottom,r.top<0&&(o-=r.top),{x:n,y:o}}_getOverlayPoint(e,r,t){let n;t.overlayX=="center"?n=-r.width/2:t.overlayX==="start"?n=this._isRtl()?-r.width:0:n=this._isRtl()?0:-r.width;let o;return t.overlayY=="center"?o=-r.height/2:o=t.overlayY=="top"?0:-r.height,{x:e.x+n,y:e.y+o}}_getOverlayFit(e,r,t,n){let o=Sk(r),{x:s,y:a}=e,l=this._getOffset(n,"x"),c=this._getOffset(n,"y");l&&(s+=l),c&&(a+=c);let d=0-s,u=s+o.width-t.width,m=0-a,f=a+o.height-t.height,b=this._subtractOverflows(o.width,d,u),w=this._subtractOverflows(o.height,m,f),T=b*w;return{visibleArea:T,isCompletelyWithinViewport:o.width*o.height===T,fitsInViewportVertically:w===o.height,fitsInViewportHorizontally:b==o.width}}_canFitWithFlexibleDimensions(e,r,t){if(this._hasFlexibleDimensions){let n=t.bottom-r.y,o=t.right-r.x,s=Ik(this._overlayRef.getConfig().minHeight),a=Ik(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||s!=null&&s<=n,c=e.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(e,r,t){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=Sk(r),o=this._viewportRect,s=Math.max(e.x+n.width-o.width,0),a=Math.max(e.y+n.height-o.height,0),l=Math.max(o.top-t.top-e.y,0),c=Math.max(o.left-t.left-e.x,0),d=0,u=0;return n.width<=o.width?d=c||-s:d=e.xb&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-b/2)}let l=r.overlayX==="start"&&!n||r.overlayX==="end"&&n,c=r.overlayX==="end"&&!n||r.overlayX==="start"&&n,d,u,m;if(c)m=t.width-e.x+this._viewportMargin,d=e.x-this._viewportMargin;else if(l)u=e.x,d=t.right-e.x;else{let f=Math.min(t.right-e.x+t.left,e.x),b=this._lastBoundingBoxSize.width;d=f*2,u=e.x-f,d>b&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-b/2)}return{top:s,left:u,bottom:a,right:m,width:d,height:o}}_setBoundingBoxStyles(e,r){let t=this._calculateBoundingBoxRect(e,r);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;n.height=kt(t.height),n.top=kt(t.top),n.bottom=kt(t.bottom),n.width=kt(t.width),n.left=kt(t.left),n.right=kt(t.right),r.overlayX==="center"?n.alignItems="center":n.alignItems=r.overlayX==="end"?"flex-end":"flex-start",r.overlayY==="center"?n.justifyContent="center":n.justifyContent=r.overlayY==="bottom"?"flex-end":"flex-start",o&&(n.maxHeight=kt(o)),s&&(n.maxWidth=kt(s))}this._lastBoundingBoxSize=t,ms(this._boundingBox.style,n)}_resetBoundingBoxStyles(){ms(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ms(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,r){let t={},n=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(n){let d=this._viewportRuler.getViewportScrollPosition();ms(t,this._getExactOverlayY(r,e,d)),ms(t,this._getExactOverlayX(r,e,d))}else t.position="static";let a="",l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),t.transform=a.trim(),s.maxHeight&&(n?t.maxHeight=kt(s.maxHeight):o&&(t.maxHeight="")),s.maxWidth&&(n?t.maxWidth=kt(s.maxWidth):o&&(t.maxWidth="")),ms(this._pane.style,t)}_getExactOverlayY(e,r,t){let n={top:"",bottom:""},o=this._getOverlayPoint(r,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;n.bottom=`${s-(o.y+this._overlayRect.height)}px`}else n.top=kt(o.y);return n}_getExactOverlayX(e,r,t){let n={left:"",right:""},o=this._getOverlayPoint(r,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;n.right=`${a-(o.x+this._overlayRect.width)}px`}else n.left=kt(o.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),r=this._pane.getBoundingClientRect(),t=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Ek(e,t),isOriginOutsideView:Jb(e,t),isOverlayClipped:Ek(r,t),isOverlayOutsideView:Jb(r,t)}}_subtractOverflows(e,...r){return r.reduce((t,n)=>t-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,r=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+e-this._viewportMargin,bottom:t.top+r-this._viewportMargin,width:e-2*this._viewportMargin,height:r-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,r){return r==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&_a(e).forEach(r=>{r!==""&&this._appliedPanelClasses.indexOf(r)===-1&&(this._appliedPanelClasses.push(r),this._pane.classList.add(r))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof F)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let r=e.width||0,t=e.height||0;return{top:e.y,bottom:e.y+t,left:e.x,right:e.x+r,height:t,width:r}}};function ms(i,e){for(let r in e)e.hasOwnProperty(r)&&(i[r]=e[r]);return i}function Ik(i){if(typeof i!="number"&&i!=null){let[e,r]=i.split(Q3);return!r||r==="px"?parseFloat(e):null}return i||null}function Sk(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}var Tk="cdk-global-overlay-wrapper",iv=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let r=e.getConfig();this._overlayRef=e,this._width&&!r.width&&e.updateSize({width:this._width}),this._height&&!r.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(Tk),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:n,height:o,maxWidth:s,maxHeight:a}=t,l=(n==="100%"||n==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",f="",b="",w="";l?w="flex-start":d==="center"?(w="center",m?b=u:f=u):m?d==="left"||d==="end"?(w="flex-end",f=u):(d==="right"||d==="start")&&(w="flex-start",b=u):d==="left"||d==="start"?(w="flex-start",f=u):(d==="right"||d==="end")&&(w="flex-end",b=u),e.position=this._cssPosition,e.marginLeft=l?"0":f,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":b,r.justifyContent=w,r.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement,t=r.style;r.classList.remove(Tk),t.justifyContent=t.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},K3=(()=>{let e=class e{constructor(t,n,o,s){this._viewportRuler=t,this._document=n,this._platform=o,this._overlayContainer=s}global(){return new iv}flexibleConnectedTo(t){return new Sc(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(n){return new(n||e)(v(yo),v(q),v(ve),v(Ma))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Z3=0,Ve=(()=>{let e=class e{constructor(t,n,o,s,a,l,c,d,u,m,f,b){this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=l,this._ngZone=c,this._document=d,this._directionality=u,this._location=m,this._outsideClickDispatcher=f,this._animationsModuleType=b}create(t){let n=this._createHostElement(),o=this._createPaneElement(n),s=this._createPortalOutlet(o),a=new bn(t);return a.direction=a.direction||this._directionality.value,new Br(s,n,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(t){let n=this._document.createElement("div");return n.id=`cdk-overlay-${Z3++}`,n.classList.add("cdk-overlay-pane"),t.appendChild(n),n}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Di)),new am(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(n){return new(n||e)(v(G3),v(Ma),v(Xn),v(K3),v(W3),v(Pe),v(N),v(q),v(It),v(Ar),v(Y3),v(Me,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),X3=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Ak=new I("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=C(Ve);return()=>i.scrollStrategies.reposition()}}),Tc=(()=>{let e=class e{constructor(t){this.elementRef=t}};e.\u0275fac=function(n){return new(n||e)(h(F))},e.\u0275dir=R({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let i=e;return i})(),cm=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,n,o,s,a){this._overlay=t,this._dir=a,this._backdropSubscription=ie.EMPTY,this._attachSubscription=ie.EMPTY,this._detachSubscription=ie.EMPTY,this._positionSubscription=ie.EMPTY,this._disposeOnNavigation=!1,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new O,this.positionChange=new O,this.attach=new O,this.detach=new O,this.overlayKeydown=new O,this.overlayOutsideClick=new O,this._templatePortal=new Fi(n,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=X3);let t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),n.keyCode===27&&!this.disableClose&&!We(n)&&(n.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{this.overlayOutsideClick.next(n)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),n=new bn({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(n.width=this.width),(this.height||this.height===0)&&(n.height=this.height),(this.minWidth||this.minWidth===0)&&(n.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(t){let n=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Tc?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(ef(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)(h(Ve),h(Pt),h(vt),h(Ak),h(It,8))},e.\u0275dir=R({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop",ge],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition",ge],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",ge],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen",ge],push:["cdkConnectedOverlayPush","push",ge],disposeOnNavigation:["cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",ge]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Je,Oe]});let i=e;return i})();function J3(i){return()=>i.scrollStrategies.reposition()}var e4={provide:Ak,deps:[Ve],useFactory:J3},vn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({providers:[Ve,e4],imports:[po,Xi,Yb,Yb]});let i=e;return i})();var i4=["mat-calendar-body",""];function n4(i,e){if(i&1&&(g(0,"tr",0)(1,"td",2),x(2),p()()),i&2){let r=j();_(1),Lt("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),Y("colspan",r.numCols),_(1),Ge(" ",r.label," ")}}function r4(i,e){if(i&1&&(g(0,"td",2),x(1),p()),i&2){let r=j(2);Lt("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),Y("colspan",r._firstRowOffset),_(1),Ge(" ",r._firstRowOffset>=r.labelMinRequiredCells?r.label:""," ")}}function o4(i,e){if(i&1){let r=ni();g(0,"td",5)(1,"button",6),L("click",function(n){let s=rt(r).$implicit,a=j(2);return ot(a._cellClicked(s,n))})("focus",function(n){let s=rt(r).$implicit,a=j(2);return ot(a._emitActiveDateChange(s,n))}),g(2,"span",7),x(3),p(),k(4,"span",8),p()()}if(i&2){let r=e.$implicit,t=e.$index,n=j().$index,o=j();Lt("width",o._cellWidth)("padding-top",o._cellPadding)("padding-bottom",o._cellPadding),Y("data-mat-row",n)("data-mat-col",t),_(1),Q("mat-calendar-body-disabled",!r.enabled)("mat-calendar-body-active",o._isActiveCell(n,t))("mat-calendar-body-range-start",o._isRangeStart(r.compareValue))("mat-calendar-body-range-end",o._isRangeEnd(r.compareValue))("mat-calendar-body-in-range",o._isInRange(r.compareValue))("mat-calendar-body-comparison-bridge-start",o._isComparisonBridgeStart(r.compareValue,n,t))("mat-calendar-body-comparison-bridge-end",o._isComparisonBridgeEnd(r.compareValue,n,t))("mat-calendar-body-comparison-start",o._isComparisonStart(r.compareValue))("mat-calendar-body-comparison-end",o._isComparisonEnd(r.compareValue))("mat-calendar-body-in-comparison-range",o._isInComparisonRange(r.compareValue))("mat-calendar-body-preview-start",o._isPreviewStart(r.compareValue))("mat-calendar-body-preview-end",o._isPreviewEnd(r.compareValue))("mat-calendar-body-in-preview",o._isInPreview(r.compareValue)),y("ngClass",r.cssClasses)("tabindex",o._isActiveCell(n,t)?0:-1),Y("aria-label",r.ariaLabel)("aria-disabled",!r.enabled||null)("aria-pressed",o._isSelected(r.compareValue))("aria-current",o.todayValue===r.compareValue?"date":null)("aria-describedby",o._getDescribedby(r.compareValue)),_(1),Q("mat-calendar-body-selected",o._isSelected(r.compareValue))("mat-calendar-body-comparison-identical",o._isComparisonIdentical(r.compareValue))("mat-calendar-body-today",o.todayValue===r.compareValue),_(1),Ge(" ",r.displayValue," ")}}function s4(i,e){if(i&1&&(g(0,"tr",3),V(1,r4,2,6,"td",4),xt(2,o4,5,48,"td",9,yt),p()),i&2){let r=e.$implicit,t=e.$index,n=j();_(1),Ae(1,t===0&&n._firstRowOffset?1:-1),_(1),wt(r)}}function a4(i,e){if(i&1&&(g(0,"th",4)(1,"span",5),x(2),p(),g(3,"span",6),x(4),p()()),i&2){let r=e.$implicit;_(2),Ke(r.long),_(2),Ke(r.narrow)}}var l4=["*"];function c4(i,e){}function d4(i,e){if(i&1){let r=ni();g(0,"mat-month-view",2),L("activeDateChange",function(n){rt(r);let o=j();return ot(o.activeDate=n)})("_userSelection",function(n){rt(r);let o=j();return ot(o._dateSelected(n))})("dragStarted",function(n){rt(r);let o=j();return ot(o._dragStarted(n))})("dragEnded",function(n){rt(r);let o=j();return ot(o._dragEnded(n))}),p()}if(i&2){let r=j();y("activeDate",r.activeDate)("selected",r.selected)("dateFilter",r.dateFilter)("maxDate",r.maxDate)("minDate",r.minDate)("dateClass",r.dateClass)("comparisonStart",r.comparisonStart)("comparisonEnd",r.comparisonEnd)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName)("activeDrag",r._activeDrag)}}function u4(i,e){if(i&1){let r=ni();g(0,"mat-year-view",3),L("activeDateChange",function(n){rt(r);let o=j();return ot(o.activeDate=n)})("monthSelected",function(n){rt(r);let o=j();return ot(o._monthSelectedInYearView(n))})("selectedChange",function(n){rt(r);let o=j();return ot(o._goToDateInView(n,"month"))}),p()}if(i&2){let r=j();y("activeDate",r.activeDate)("selected",r.selected)("dateFilter",r.dateFilter)("maxDate",r.maxDate)("minDate",r.minDate)("dateClass",r.dateClass)}}function h4(i,e){if(i&1){let r=ni();g(0,"mat-multi-year-view",4),L("activeDateChange",function(n){rt(r);let o=j();return ot(o.activeDate=n)})("yearSelected",function(n){rt(r);let o=j();return ot(o._yearSelectedInMultiYearView(n))})("selectedChange",function(n){rt(r);let o=j();return ot(o._goToDateInView(n,"year"))}),p()}if(i&2){let r=j();y("activeDate",r.activeDate)("selected",r.selected)("dateFilter",r.dateFilter)("maxDate",r.maxDate)("minDate",r.minDate)("dateClass",r.dateClass)}}function m4(i,e){}var f4=["button"];function p4(i,e){i&1&&(wr(),g(0,"svg",3),k(1,"path",4),p())}var g4=[[["","matDatepickerToggleIcon",""]]],_4=["[matDatepickerToggleIcon]"],b4=[[["input","matStartDate",""]],[["input","matEndDate",""]]],v4=["input[matStartDate]","input[matEndDate]"];var Rc=(()=>{let e=class e{constructor(){this.changes=new S,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(t,n){return`${t} \u2013 ${n}`}formatYearRangeLabel(t,n){return`${t} to ${n}`}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Ac=class{constructor(e,r,t,n,o={},s=e,a){this.value=e,this.displayValue=r,this.ariaLabel=t,this.enabled=n,this.cssClasses=o,this.compareValue=s,this.rawValue=a}},y4=1,Rk=Ii({passive:!1,capture:!0}),wo=Ii({passive:!0,capture:!0}),dm=Ii({passive:!0}),Ra=(()=>{let e=class e{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(t,n){this._elementRef=t,this._ngZone=n,this._platform=C(ve),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new O,this.previewChange=new O,this.activeDateChange=new O,this.dragStarted=new O,this.dragEnded=new O,this._didDragSinceMouseDown=!1,this._enterHandler=o=>{if(this._skipNextFocus&&o.type==="focus"){this._skipNextFocus=!1;return}if(o.target&&this.isRange){let s=this._getCellFromElement(o.target);s&&this._ngZone.run(()=>this.previewChange.emit({value:s.enabled?s:null,event:o}))}},this._touchmoveHandler=o=>{if(!this.isRange)return;let s=Ok(o),a=s?this._getCellFromElement(s):null;s!==o.target&&(this._didDragSinceMouseDown=!0),rv(o.target)&&o.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:a?.enabled?a:null,event:o}))},this._leaveHandler=o=>{this.previewEnd!==null&&this.isRange&&(o.type!=="blur"&&(this._didDragSinceMouseDown=!0),o.target&&this._getCellFromElement(o.target)&&!(o.relatedTarget&&this._getCellFromElement(o.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:o})))},this._mousedownHandler=o=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let s=o.target&&this._getCellFromElement(o.target);!s||!this._isInRange(s.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:s.rawValue,event:o})})},this._mouseupHandler=o=>{if(!this.isRange)return;let s=rv(o.target);if(!s){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:o})});return}s.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let a=this._getCellFromElement(s);this.dragEnded.emit({value:a?.rawValue??null,event:o})})},this._touchendHandler=o=>{let s=Ok(o);s&&this._mouseupHandler({target:s})},this._id=`mat-calendar-body-${y4++}`,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,n.runOutsideAngular(()=>{let o=t.nativeElement;o.addEventListener("touchmove",this._touchmoveHandler,Rk),o.addEventListener("mouseenter",this._enterHandler,wo),o.addEventListener("focus",this._enterHandler,wo),o.addEventListener("mouseleave",this._leaveHandler,wo),o.addEventListener("blur",this._leaveHandler,wo),o.addEventListener("mousedown",this._mousedownHandler,dm),o.addEventListener("touchstart",this._mousedownHandler,dm),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(t,n){this._didDragSinceMouseDown||t.enabled&&this.selectedValueChange.emit({value:t.value,event:n})}_emitActiveDateChange(t,n){t.enabled&&this.activeDateChange.emit({value:t.value,event:n})}_isSelected(t){return this.startValue===t||this.endValue===t}ngOnChanges(t){let n=t.numCols,{rows:o,numCols:s}=this;(t.rows||n)&&(this._firstRowOffset=o&&o.length&&o[0].length?s-o[0].length:0),(t.cellAspectRatio||n||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/s}%`),(n||!this._cellWidth)&&(this._cellWidth=`${100/s}%`)}ngOnDestroy(){let t=this._elementRef.nativeElement;t.removeEventListener("touchmove",this._touchmoveHandler,Rk),t.removeEventListener("mouseenter",this._enterHandler,wo),t.removeEventListener("focus",this._enterHandler,wo),t.removeEventListener("mouseleave",this._leaveHandler,wo),t.removeEventListener("blur",this._leaveHandler,wo),t.removeEventListener("mousedown",this._mousedownHandler,dm),t.removeEventListener("touchstart",this._mousedownHandler,dm),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(t,n){let o=t*this.numCols+n;return t&&(o-=this._firstRowOffset),o==this.activeCell}_focusActiveCell(t=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Ee(1)).subscribe(()=>{setTimeout(()=>{let n=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");n&&(t||(this._skipNextFocus=!0),n.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(t){return ov(t,this.startValue,this.endValue)}_isRangeEnd(t){return sv(t,this.startValue,this.endValue)}_isInRange(t){return av(t,this.startValue,this.endValue,this.isRange)}_isComparisonStart(t){return ov(t,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(t,n,o){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;let s=this.rows[n][o-1];if(!s){let a=this.rows[n-1];s=a&&a[a.length-1]}return s&&!this._isRangeEnd(s.compareValue)}_isComparisonBridgeEnd(t,n,o){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;let s=this.rows[n][o+1];if(!s){let a=this.rows[n+1];s=a&&a[0]}return s&&!this._isRangeStart(s.compareValue)}_isComparisonEnd(t){return sv(t,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(t){return av(t,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}_isPreviewStart(t){return ov(t,this.previewStart,this.previewEnd)}_isPreviewEnd(t){return sv(t,this.previewStart,this.previewEnd)}_isInPreview(t){return av(t,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(t){return this.isRange?this.startValue===t&&this.endValue===t?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===t?this._startDateLabelId:this.endValue===t?this._endDateLabelId:null:null}_getCellFromElement(t){let n=rv(t);if(n){let o=n.getAttribute("data-mat-row"),s=n.getAttribute("data-mat-col");if(o&&s)return this.rows[parseInt(o)][parseInt(s)]}return null}};e.\u0275fac=function(n){return new(n||e)(h(F),h(N))},e.\u0275cmp=P({type:e,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[Oe],attrs:i4,decls:7,vars:5,consts:[["aria-hidden","true"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"]],template:function(n,o){n&1&&(V(0,n4,3,6,"tr",0),xt(1,s4,4,1,"tr",3,yt),g(3,"label",1),x(4),p(),g(5,"label",1),x(6),p()),n&2&&(Ae(0,o._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0});let i=e;return i})();function nv(i){return i?.nodeName==="TD"}function rv(i){let e;return nv(i)?e=i:nv(i.parentNode)?e=i.parentNode:nv(i.parentNode?.parentNode)&&(e=i.parentNode.parentNode),e?.getAttribute("data-mat-row")!=null?e:null}function ov(i,e,r){return r!==null&&e!==r&&i=e&&i===r}function av(i,e,r,t){return t&&e!==null&&r!==null&&e!==r&&i>=e&&i<=r}function Ok(i){let e=i.changedTouches[0];return document.elementFromPoint(e.clientX,e.clientY)}var zt=class{constructor(e,r){this.start=e,this.end=r}},Co=(()=>{let e=class e{constructor(t,n){this.selection=t,this._adapter=n,this._selectionChanged=new S,this.selectionChanged=this._selectionChanged,this.selection=t}updateSelection(t,n){let o=this.selection;this.selection=t,this._selectionChanged.next({selection:t,source:n,oldValue:o})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}};e.\u0275fac=function(n){Ys()},e.\u0275prov=D({token:e,factory:e.\u0275fac});let i=e;return i})(),x4=(()=>{let e=class e extends Co{constructor(t){super(null,t)}add(t){super.updateSelection(t,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let t=new e(this._adapter);return t.updateSelection(this.selection,this),t}};e.\u0275fac=function(n){return new(n||e)(v(st))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let i=e;return i})(),w4=(()=>{let e=class e extends Co{constructor(t){super(new zt(null,null),t)}add(t){let{start:n,end:o}=this.selection;n==null?n=t:o==null?o=t:(n=t,o=null),super.updateSelection(new zt(n,o),this)}isValid(){let{start:t,end:n}=this.selection;return t==null&&n==null?!0:t!=null&&n!=null?this._isValidDateInstance(t)&&this._isValidDateInstance(n)&&this._adapter.compareDate(t,n)<=0:(t==null||this._isValidDateInstance(t))&&(n==null||this._isValidDateInstance(n))}isComplete(){return this.selection.start!=null&&this.selection.end!=null}clone(){let t=new e(this._adapter);return t.updateSelection(this.selection,this),t}};e.\u0275fac=function(n){return new(n||e)(v(st))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let i=e;return i})();function C4(i,e){return i||new x4(e)}var jk={provide:Co,deps:[[new Jr,new Zo,Co],st],useFactory:C4};function D4(i,e){return i||new w4(e)}var E4={provide:Co,deps:[[new Jr,new Zo,Co],st],useFactory:D4},um=new I("MAT_DATE_RANGE_SELECTION_STRATEGY"),k4=(()=>{let e=class e{constructor(t){this._dateAdapter=t}selectionFinished(t,n){let{start:o,end:s}=n;return o==null?o=t:s==null&&t&&this._dateAdapter.compareDate(t,o)>=0?s=t:(o=t,s=null),new zt(o,s)}createPreview(t,n){let o=null,s=null;return n.start&&!n.end&&t&&(o=n.start,s=t),new zt(o,s)}createDrag(t,n,o){let s=n.start,a=n.end;if(!s||!a)return null;let l=this._dateAdapter,c=l.compareDate(s,a)!==0,d=l.getYear(o)-l.getYear(t),u=l.getMonth(o)-l.getMonth(t),m=l.getDate(o)-l.getDate(t);return c&&l.sameDate(t,n.start)?(s=o,l.compareDate(o,a)>0&&(a=l.addCalendarYears(a,d),a=l.addCalendarMonths(a,u),a=l.addCalendarDays(a,m))):c&&l.sameDate(t,n.end)?(a=o,l.compareDate(o,s)<0&&(s=l.addCalendarYears(s,d),s=l.addCalendarMonths(s,u),s=l.addCalendarDays(s,m))):(s=l.addCalendarYears(s,d),s=l.addCalendarMonths(s,u),s=l.addCalendarDays(s,m),a=l.addCalendarYears(a,d),a=l.addCalendarMonths(a,u),a=l.addCalendarDays(a,m)),new zt(s,a)}};e.\u0275fac=function(n){return new(n||e)(v(st))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let i=e;return i})();function I4(i,e){return i||new k4(e)}var S4={provide:um,deps:[[new Jr,new Zo,um],st],useFactory:I4},lv=7,Fk=(()=>{let e=class e{get activeDate(){return this._activeDate}set activeDate(t){let n=this._activeDate,o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),this._hasSameMonthAndYear(n,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){t instanceof zt?this._selected=t:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}constructor(t,n,o,s,a){this._changeDetectorRef=t,this._dateFormats=n,this._dateAdapter=o,this._dir=s,this._rangeStrategy=a,this._rerenderSubscription=ie.EMPTY,this.activeDrag=null,this.selectedChange=new O,this._userSelection=new O,this.dragStarted=new O,this.dragEnded=new O,this.activeDateChange=new O,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(gt(null)).subscribe(()=>this._init())}ngOnChanges(t){let n=t.comparisonStart||t.comparisonEnd;n&&!n.firstChange&&this._setRanges(this.selected),t.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){let n=t.value,o=this._getDateFromDayOfMonth(n),s,a;this._selected instanceof zt?(s=this._getDateInCurrentMonth(this._selected.start),a=this._getDateInCurrentMonth(this._selected.end)):s=a=this._getDateInCurrentMonth(this._selected),(s!==n||a!==n)&&this.selectedChange.emit(o),this._userSelection.emit({value:o,event:t.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(t){let n=t.value,o=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(n),this._dateAdapter.compareDate(o,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(t){let n=this._activeDate,o=this._isRtl();switch(t.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&t.preventDefault();return;case 27:this._previewEnd!=null&&!We(t)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:t}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t})),t.preventDefault(),t.stopPropagation());return;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===32||t.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(lv+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%lv,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(t){this._matCalendarBody._focusActiveCell(t)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:t,value:n}){if(this._rangeStrategy){let o=n?n.rawValue:null,s=this._rangeStrategy.createPreview(o,this.selected,t);if(this._previewStart=this._getCellCompareValue(s.start),this._previewEnd=this._getCellCompareValue(s.end),this.activeDrag&&o){let a=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,o,t);a&&(this._previewStart=this._getCellCompareValue(a.start),this._previewEnd=this._getCellCompareValue(a.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(t){if(this.activeDrag)if(t.value){let n=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,t.value,t.event);this.dragEnded.emit({value:n??null,event:t.event})}else this.dragEnded.emit({value:null,event:t.event})}_getDateFromDayOfMonth(t){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),t)}_initWeekdays(){let t=this._dateAdapter.getFirstDayOfWeek(),n=this._dateAdapter.getDayOfWeekNames("narrow"),s=this._dateAdapter.getDayOfWeekNames("long").map((a,l)=>({long:a,narrow:n[l]}));this._weekdays=s.slice(t).concat(s.slice(0,t))}_createWeekCells(){let t=this._dateAdapter.getNumDaysInMonth(this.activeDate),n=this._dateAdapter.getDateNames();this._weeks=[[]];for(let o=0,s=this._firstWeekOffset;o=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,n){return!!(t&&n&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(n)&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(n))}_getCellCompareValue(t){if(t){let n=this._dateAdapter.getYear(t),o=this._dateAdapter.getMonth(t),s=this._dateAdapter.getDate(t);return new Date(n,o,s).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(t){t instanceof zt?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(t){return!this.dateFilter||this.dateFilter(t)}_clearPreview(){this._previewStart=this._previewEnd=null}};e.\u0275fac=function(n){return new(n||e)(h(Ie),h(Vn,8),h(st,8),h(It,8),h(um,8))},e.\u0275cmp=P({type:e,selectors:[["mat-month-view"]],viewQuery:function(n,o){if(n&1&&be(Ra,5),n&2){let s;$(s=H())&&(o._matCalendarBody=s.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[Oe],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(n,o){n&1&&(g(0,"table",0)(1,"thead",1)(2,"tr"),xt(3,a4,5,2,"th",4,yt),p(),g(5,"tr"),k(6,"th",2),p()(),g(7,"tbody",3),L("selectedValueChange",function(a){return o._dateSelected(a)})("activeDateChange",function(a){return o._updateActiveDate(a)})("previewChange",function(a){return o._previewChanged(a)})("dragStarted",function(a){return o.dragStarted.emit(a)})("dragEnded",function(a){return o._dragEnded(a)})("keyup",function(a){return o._handleCalendarBodyKeyup(a)})("keydown",function(a){return o._handleCalendarBodyKeydown(a)}),p()()),n&2&&(_(3),wt(o._weekdays),_(4),y("label",o._monthLabel)("rows",o._weeks)("todayValue",o._todayDate)("startValue",o._rangeStart)("endValue",o._rangeEnd)("comparisonStart",o._comparisonRangeStart)("comparisonEnd",o._comparisonRangeEnd)("previewStart",o._previewStart)("previewEnd",o._previewEnd)("isRange",o._isRange)("labelMinRequiredCells",3)("activeCell",o._dateAdapter.getDate(o.activeDate)-1)("startDateAccessibleName",o.startDateAccessibleName)("endDateAccessibleName",o.endDateAccessibleName))},dependencies:[Ra],encapsulation:2,changeDetection:0});let i=e;return i})(),en=24,cv=4,Nk=(()=>{let e=class e{get activeDate(){return this._activeDate}set activeDate(t){let n=this._activeDate,o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),Bk(this._dateAdapter,n,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){t instanceof zt?this._selected=t:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}constructor(t,n,o){this._changeDetectorRef=t,this._dateAdapter=n,this._dir=o,this._rerenderSubscription=ie.EMPTY,this.selectedChange=new O,this.yearSelected=new O,this.activeDateChange=new O,this._dateAdapter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(gt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let n=this._dateAdapter.getYear(this._activeDate)-Mc(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let o=0,s=[];othis._createCellForYear(a))),s=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){let n=t.value,o=this._dateAdapter.createDate(n,0,1),s=this._getDateFromYear(n);this.yearSelected.emit(o),this.selectedChange.emit(s)}_updateActiveDate(t){let n=t.value,o=this._activeDate;this.activeDate=this._getDateFromYear(n),this._dateAdapter.compareDate(o,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(t){let n=this._activeDate,o=this._isRtl();switch(t.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-cv);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,cv);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Mc(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,en-Mc(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-en*10:-en);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?en*10:en);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===32||t.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_getActiveCell(){return Mc(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(t){let n=this._dateAdapter.getMonth(this.activeDate),o=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,n,1));return this._dateAdapter.createDate(t,n,Math.min(this._dateAdapter.getDate(this.activeDate),o))}_createCellForYear(t){let n=this._dateAdapter.createDate(t,0,1),o=this._dateAdapter.getYearName(n),s=this.dateClass?this.dateClass(n,"multi-year"):void 0;return new Ac(t,o,o,this._shouldEnableYear(t),s)}_shouldEnableYear(t){if(t==null||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t{let e=class e{get activeDate(){return this._activeDate}set activeDate(t){let n=this._activeDate,o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),this._dateAdapter.getYear(n)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){t instanceof zt?this._selected=t:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}constructor(t,n,o,s){this._changeDetectorRef=t,this._dateFormats=n,this._dateAdapter=o,this._dir=s,this._rerenderSubscription=ie.EMPTY,this.selectedChange=new O,this.monthSelected=new O,this.activeDateChange=new O,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(gt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){let n=t.value,o=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),n,1);this.monthSelected.emit(o);let s=this._getDateFromMonth(n);this.selectedChange.emit(s)}_updateActiveDate(t){let n=t.value,o=this._activeDate;this.activeDate=this._getDateFromMonth(n),this._dateAdapter.compareDate(o,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(t){let n=this._activeDate,o=this._isRtl();switch(t.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===32||t.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(n=>n.map(o=>this._createCellForMonth(o,t[o]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_getDateFromMonth(t){let n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),o=this._dateAdapter.getNumDaysInMonth(n);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),o))}_createCellForMonth(t,n){let o=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),s=this._dateAdapter.format(o,this._dateFormats.display.monthYearA11yLabel),a=this.dateClass?this.dateClass(o,"year"):void 0;return new Ac(t,n.toLocaleUpperCase(),s,this._shouldEnableMonth(t),a)}_shouldEnableMonth(t){let n=this._dateAdapter.getYear(this.activeDate);if(t==null||this._isYearAndMonthAfterMaxDate(n,t)||this._isYearAndMonthBeforeMinDate(n,t))return!1;if(!this.dateFilter)return!0;let o=this._dateAdapter.createDate(n,t,1);for(let s=o;this._dateAdapter.getMonth(s)==t;s=this._dateAdapter.addCalendarDays(s,1))if(this.dateFilter(s))return!0;return!1}_isYearAndMonthAfterMaxDate(t,n){if(this.maxDate){let o=this._dateAdapter.getYear(this.maxDate),s=this._dateAdapter.getMonth(this.maxDate);return t>o||t===o&&n>s}return!1}_isYearAndMonthBeforeMinDate(t,n){if(this.minDate){let o=this._dateAdapter.getYear(this.minDate),s=this._dateAdapter.getMonth(this.minDate);return t{let e=class e{constructor(t,n,o,s,a){this._intl=t,this.calendar=n,this._dateAdapter=o,this._dateFormats=s,this._id=`mat-calendar-header-${M4++}`,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>a.markForCheck())}get periodButtonText(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return this.calendar.currentView=="month"?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView=="month"?"multi-year":"month"}previousClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?-1:-en)}nextClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?1:en)}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(t,n){return this.calendar.currentView=="month"?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(n)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(n):this.calendar.currentView=="year"?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(n):Bk(this._dateAdapter,t,n,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let n=this._dateAdapter.getYear(this.calendar.activeDate)-Mc(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),o=n+en-1,s=this._dateAdapter.getYearName(this._dateAdapter.createDate(n,0,1)),a=this._dateAdapter.getYearName(this._dateAdapter.createDate(o,0,1));return[s,a]}};e.\u0275fac=function(n){return new(n||e)(h(Rc),h(qt(()=>dv)),h(st,8),h(Vn,8),h(Ie))},e.\u0275cmp=P({type:e,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:l4,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(n,o){n&1&&($e(),g(0,"div",0)(1,"div",1)(2,"button",2),L("click",function(){return o.currentPeriodClicked()}),g(3,"span",3),x(4),p(),wr(),g(5,"svg",4),k(6,"polygon",5),p()(),Ko(),k(7,"div",6),J(8),g(9,"button",7),L("click",function(){return o.previousClicked()}),p(),g(10,"button",8),L("click",function(){return o.nextClicked()}),p()()(),g(11,"label",9),x(12),p()),n&2&&(_(2),Y("aria-label",o.periodButtonLabel)("aria-describedby",o._periodButtonLabelId),_(2),Ke(o.periodButtonText),_(1),Q("mat-calendar-invert",o.calendar.currentView!=="month"),_(4),y("disabled",!o.previousEnabled()),Y("aria-label",o.prevButtonLabel),_(1),y("disabled",!o.nextEnabled()),Y("aria-label",o.nextButtonLabel),_(1),y("id",o._periodButtonLabelId),_(1),Ke(o.periodButtonDescription))},dependencies:[St,qb],encapsulation:2,changeDetection:0});let i=e;return i})(),dv=(()=>{let e=class e{get startAt(){return this._startAt}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){t instanceof zt?this._selected=t:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){let n=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),n&&this.viewChanged.emit(n)}constructor(t,n,o,s){this._dateAdapter=n,this._dateFormats=o,this._changeDetectorRef=s,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new O,this.yearSelected=new O,this.monthSelected=new O,this.viewChanged=new O(!0),this._userSelection=new O,this._userDragDrop=new O,this._activeDrag=null,this.stateChanges=new S,this._intlChanges=t.changes.subscribe(()=>{s.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new Oi(this.headerComponent||A4),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(t){let n=t.minDate&&!this._dateAdapter.sameDate(t.minDate.previousValue,t.minDate.currentValue)?t.minDate:void 0,o=t.maxDate&&!this._dateAdapter.sameDate(t.maxDate.previousValue,t.maxDate.currentValue)?t.maxDate:void 0,s=n||o||t.dateFilter;if(s&&!s.firstChange){let a=this._getCurrentViewComponent();a&&(this._changeDetectorRef.detectChanges(),a._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(t){let n=t.value;(this.selected instanceof zt||n&&!this._dateAdapter.sameDate(n,this.selected))&&this.selectedChange.emit(n),this._userSelection.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_goToDateInView(t,n){this.activeDate=t,this.currentView=n}_dragStarted(t){this._activeDrag=t}_dragEnded(t){this._activeDrag&&(t.value&&this._userDragDrop.emit(t),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}};e.\u0275fac=function(n){return new(n||e)(h(Rc),h(st,8),h(Vn,8),h(Ie))},e.\u0275cmp=P({type:e,selectors:[["mat-calendar"]],viewQuery:function(n,o){if(n&1&&(be(Fk,5),be(Pk,5),be(Nk,5)),n&2){let s;$(s=H())&&(o.monthView=s.first),$(s=H())&&(o.yearView=s.first),$(s=H())&&(o.multiYearView=s.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[ke([jk]),Oe],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(n,o){if(n&1&&(V(0,c4,0,0,"ng-template",0),g(1,"div",1),V(2,d4,1,11)(3,u4,1,6)(4,h4,1,6),p()),n&2){let s;y("cdkPortalOutlet",o._calendarHeaderPortal),_(2),Ae(2,(s=o.currentView)==="month"?2:s==="year"?3:s==="multi-year"?4:-1)}},dependencies:[Rb,gi,Fk,Pk,Nk],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-content .mat-calendar-next-button{color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0});let i=e;return i})(),Lk={transformPanel:Yt("transformPanel",[ft("void => enter-dropdown",mt("120ms cubic-bezier(0, 0, 0.2, 1)",A_([Re({opacity:0,transform:"scale(1, 0.8)"}),Re({opacity:1,transform:"scale(1, 1)"})]))),ft("void => enter-dialog",mt("150ms cubic-bezier(0, 0, 0.2, 1)",A_([Re({opacity:0,transform:"scale(0.7)"}),Re({transform:"none",opacity:1})]))),ft("* => void",mt("100ms linear",Re({opacity:0})))]),fadeInCalendar:Yt("fadeInCalendar",[Dt("void",Re({opacity:0})),Dt("enter",Re({opacity:1})),ft("void => *",mt("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},R4=0,$k=new I("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let i=C(Ve);return()=>i.scrollStrategies.reposition()}});function O4(i){return()=>i.scrollStrategies.reposition()}var F4={provide:$k,deps:[Ve],useFactory:O4},N4=ka(class{constructor(i){this._elementRef=i}}),P4=(()=>{let e=class e extends N4{constructor(t,n,o,s,a,l){super(t),this._changeDetectorRef=n,this._globalModel=o,this._dateAdapter=s,this._rangeSelectionStrategy=a,this._subscriptions=new ie,this._animationDone=new S,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=l.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(t){let n=this._model.selection,o=t.value,s=n instanceof zt;if(s&&this._rangeSelectionStrategy){let a=this._rangeSelectionStrategy.selectionFinished(o,n,t.event);this._model.updateSelection(a,this)}else o&&(s||!this._dateAdapter.sameDate(o,n))&&this._model.add(o);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(t){this._model.updateSelection(t.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(t){this._isAnimating=t.phaseName==="start",this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(t,n){this._model=t?this._globalModel.clone():this._globalModel,this._actionsPortal=t,n&&this._changeDetectorRef.detectChanges()}};e.\u0275fac=function(n){return new(n||e)(h(F),h(Ie),h(Co),h(st),h(um,8),h(Rc))},e.\u0275cmp=P({type:e,selectors:[["mat-datepicker-content"]],viewQuery:function(n,o){if(n&1&&be(dv,5),n&2){let s;$(s=H())&&(o._calendar=s.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(n,o){n&1&&Il("@transformPanel.start",function(a){return o._handleAnimationEvent(a)})("@transformPanel.done",function(a){return o._handleAnimationEvent(a)}),n&2&&(Xo("@transformPanel",o._animationState),Q("mat-datepicker-content-touch",o.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[oe],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(n,o){if(n&1&&(g(0,"div",0)(1,"mat-calendar",1),L("yearSelected",function(a){return o.datepicker._selectYear(a)})("monthSelected",function(a){return o.datepicker._selectMonth(a)})("viewChanged",function(a){return o.datepicker._viewChanged(a)})("_userSelection",function(a){return o._handleUserSelection(a)})("_userDragDrop",function(a){return o._handleUserDragDrop(a)}),p(),V(2,m4,0,0,"ng-template",2),g(3,"button",3),L("focus",function(){return o._closeButtonFocused=!0})("blur",function(){return o._closeButtonFocused=!1})("click",function(){return o.datepicker.close()}),x(4),p()()),n&2){let s;Q("mat-datepicker-content-container-with-custom-header",o.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",o._actionsPortal),Y("aria-modal",!0)("aria-labelledby",(s=o._dialogLabelId)!==null&&s!==void 0?s:void 0),_(1),y("id",o.datepicker.id)("ngClass",o.datepicker.panelClass)("startAt",o.datepicker.startAt)("startView",o.datepicker.startView)("minDate",o.datepicker._getMinDate())("maxDate",o.datepicker._getMaxDate())("dateFilter",o.datepicker._getDateFilter())("headerComponent",o.datepicker.calendarHeaderComponent)("selected",o._getSelected())("dateClass",o.datepicker.dateClass)("comparisonStart",o.comparisonStart)("comparisonEnd",o.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",o.startDateAccessibleName)("endDateAccessibleName",o.endDateAccessibleName),_(1),y("cdkPortalOutlet",o._actionsPortal),_(1),Q("cdk-visually-hidden",!o._closeButtonFocused),y("color",o.color||"primary"),_(1),Ke(o._closeButtonText)}},dependencies:[Rr,St,zE,gi,dv],styles:[".mat-datepicker-content{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Lk.transformPanel,Lk.fadeInCalendar]},changeDetection:0});let i=e;return i})(),hm=(()=>{let e=class e{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(t){this._color=t}get touchUi(){return this._touchUi}set touchUi(t){this._touchUi=Te(t)}get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(t){let n=Te(t);n!==this._disabled&&(this._disabled=n,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(t){this._restoreFocus=Te(t)}get panelClass(){return this._panelClass}set panelClass(t){this._panelClass=qh(t)}get opened(){return this._opened}set opened(t){Te(t)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(t,n,o,s,a,l,c){this._overlay=t,this._ngZone=n,this._viewContainerRef=o,this._dateAdapter=a,this._dir=l,this._model=c,this._inputStateChanges=ie.EMPTY,this._document=C(q),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new O,this.monthSelected=new O,this.viewChanged=new O(!0),this.openedStream=new O,this.closedStream=new O,this._opened=!1,this.id=`mat-datepicker-${R4++}`,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new S,this._dateAdapter,this._scrollStrategy=s}ngOnChanges(t){let n=t.xPosition||t.yPosition;if(n&&!n.firstChange&&this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;o instanceof Sc&&(this._setConnectedPositions(o),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(t){this._model.add(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_viewChanged(t){this.viewChanged.emit(t)}registerInput(t){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(t){this._actionsPortal,this._actionsPortal=t,this._componentRef?.instance._assignActions(t,!0)}removeActions(t){t===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=ho(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;let t=this._restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",n=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:o,location:s}=this._componentRef;o._startExitAnimation(),o._animationDone.pipe(Ee(1)).subscribe(()=>{let a=this._document.activeElement;t&&(!a||a===this._document.activeElement||s.nativeElement.contains(a))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}t?setTimeout(n):n()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(t){t.datepicker=this,t.color=this.color,t._dialogLabelId=this.datepickerInput.getOverlayLabelId(),t._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let t=this.touchUi,n=new Oi(P4,this._viewContainerRef),o=this._overlayRef=this._overlay.create(new bn({positionStrategy:t?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[t?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:t?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:`mat-datepicker-${t?"dialog":"popup"}`}));this._getCloseStream(o).subscribe(s=>{s&&s.preventDefault(),this.close()}),o.keydownEvents().subscribe(s=>{let a=s.keyCode;(a===38||a===40||a===37||a===39||a===33||a===34)&&s.preventDefault()}),this._componentRef=o.attach(n),this._forwardContentValues(this._componentRef.instance),t||this._ngZone.onStable.pipe(Ee(1)).subscribe(()=>o.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){let t=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(t)}_setConnectedPositions(t){let n=this.xPosition==="end"?"end":"start",o=n==="start"?"end":"start",s=this.yPosition==="above"?"bottom":"top",a=s==="top"?"bottom":"top";return t.withPositions([{originX:n,originY:a,overlayX:n,overlayY:s},{originX:n,originY:s,overlayX:n,overlayY:a},{originX:o,originY:a,overlayX:o,overlayY:s},{originX:o,originY:s,overlayX:o,overlayY:a}])}_getCloseStream(t){let n=["ctrlKey","shiftKey","metaKey"];return it(t.backdropClick(),t.detachments(),t.keydownEvents().pipe(de(o=>o.keyCode===27&&!We(o)||this.datepickerInput&&We(o,"altKey")&&o.keyCode===38&&n.every(s=>!We(o,s)))))}};e.\u0275fac=function(n){return new(n||e)(h(Ve),h(N),h(vt),h($k),h(st,8),h(It,8),h(Co))},e.\u0275dir=R({type:e,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[Oe]});let i=e;return i})(),Hk=(()=>{let e=class e extends hm{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Gt(e)))(o||e)}})(),e.\u0275cmp=P({type:e,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[ke([jk,{provide:hm,useExisting:e}]),oe],decls:0,vars:0,template:function(n,o){},encapsulation:2,changeDetection:0});let i=e;return i})(),Aa=class{constructor(e,r){this.target=e,this.targetElement=r,this.value=this.target.value}},Uk=(()=>{let e=class e{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(t){this._assignValueProgrammatically(t)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(t){let n=Te(t),o=this._elementRef.nativeElement;this._disabled!==n&&(this._disabled=n,this.stateChanges.next(void 0)),n&&this._isInitialized&&o.blur&&o.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(t){this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(n=>{if(this._shouldHandleChangeEvent(n)){let o=this._getValueFromModel(n.selection);this._lastValueValid=this._isValidValue(o),this._cvaOnChange(o),this._onTouched(),this._formatValue(o),this.dateInput.emit(new Aa(this,this._elementRef.nativeElement)),this.dateChange.emit(new Aa(this,this._elementRef.nativeElement))}})}constructor(t,n,o){this._elementRef=t,this._dateAdapter=n,this._dateFormats=o,this.dateChange=new O,this.dateInput=new O,this.stateChanges=new S,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=ie.EMPTY,this._localeSubscription=ie.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=s=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(s.value));return!a||this._matchesFilter(a)?null:{matDatepickerFilter:!0}},this._minValidator=s=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(s.value)),l=this._getMinDate();return!l||!a||this._dateAdapter.compareDate(l,a)<=0?null:{matDatepickerMin:{min:l,actual:a}}},this._maxValidator=s=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(s.value)),l=this._getMaxDate();return!l||!a||this._dateAdapter.compareDate(l,a)>=0?null:{matDatepickerMax:{max:l,actual:a}}},this._lastValueValid=!1,this._localeSubscription=n.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(t){qk(t,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}writeValue(t){this._assignValueProgrammatically(t)}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){let n=["ctrlKey","shiftKey","metaKey"];We(t,"altKey")&&t.keyCode===40&&n.every(s=>!We(t,s))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())}_onInput(t){let n=this._lastValueValid,o=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(o),o=this._dateAdapter.getValidDateOrNull(o);let s=!this._dateAdapter.sameDate(o,this.value);!o||s?this._cvaOnChange(o):(t&&!this.value&&this._cvaOnChange(o),n!==this._lastValueValid&&this._validatorOnChange()),s&&(this._assignValue(o),this.dateInput.emit(new Aa(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Aa(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=t!=null?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_assignValue(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pendingValue=t}_isValidValue(t){return!t||this._dateAdapter.isValid(t)}_parentDisabled(){return!1}_assignValueProgrammatically(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t),this._assignValue(t),this._formatValue(t)}_matchesFilter(t){let n=this._getDateFilter();return!n||n(t)}};e.\u0275fac=function(n){return new(n||e)(h(F),h(st,8),h(Vn,8))},e.\u0275dir=R({type:e,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Oe]});let i=e;return i})();function qk(i,e){let r=Object.keys(i);for(let t of r){let{previousValue:n,currentValue:o}=i[t];if(e.isDateInstance(n)&&e.isDateInstance(o)){if(!e.sameDate(n,o))return!0}else return!0}return!1}var L4={provide:Nn,useExisting:qt(()=>mm),multi:!0},V4={provide:uo,useExisting:qt(()=>mm),multi:!0},mm=(()=>{let e=class e extends Uk{set matDatepicker(t){t&&(this._datepicker=t,this._closedSubscription=t.closedStream.subscribe(()=>this._onTouched()),this._registerModel(t.registerInput(this)))}get min(){return this._min}set min(t){let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(n,this._min)||(this._min=n,this._validatorOnChange())}get max(){return this._max}set max(t){let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(n,this._max)||(this._max=n,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(t){let n=this._matchesFilter(this.value);this._dateFilter=t,this._matchesFilter(this.value)!==n&&this._validatorOnChange()}constructor(t,n,o,s){super(t,n,o),this._formField=s,this._closedSubscription=ie.EMPTY,this._validator=ee.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(t){return t}_assignValueToModel(t){this._model&&this._model.updateSelection(t,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(t){return t.source!==this}};e.\u0275fac=function(n){return new(n||e)(h(F),h(st,8),h(Vn,8),h(lr,8))},e.\u0275dir=R({type:e,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(n,o){n&1&&L("input",function(a){return o._onInput(a.target.value)})("change",function(){return o._onChange()})("blur",function(){return o._onBlur()})("keydown",function(a){return o._onKeydown(a)}),n&2&&(Wt("disabled",o.disabled),Y("aria-haspopup",o._datepicker?"dialog":null)("aria-owns",(o._datepicker==null?null:o._datepicker.opened)&&o._datepicker.id||null)("min",o.min?o._dateAdapter.toIso8601(o.min):null)("max",o.max?o._dateAdapter.toIso8601(o.max):null)("data-mat-calendar",o._datepicker?o._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[ke([L4,V4,{provide:Wb,useExisting:e}]),oe]});let i=e;return i})(),j4=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=R({type:e,selectors:[["","matDatepickerToggleIcon",""]]});let i=e;return i})(),Do=(()=>{let e=class e{get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=Te(t)}constructor(t,n,o){this._intl=t,this._changeDetectorRef=n,this._stateChanges=ie.EMPTY;let s=Number(o);this.tabIndex=s||s===0?s:null}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){let t=this.datepicker?this.datepicker.stateChanges:Z(),n=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:Z(),o=this.datepicker?it(this.datepicker.openedStream,this.datepicker.closedStream):Z();this._stateChanges.unsubscribe(),this._stateChanges=it(this._intl.changes,t,n,o).subscribe(()=>this._changeDetectorRef.markForCheck())}};e.\u0275fac=function(n){return new(n||e)(h(Rc),h(Ie),$i("tabindex"))},e.\u0275cmp=P({type:e,selectors:[["mat-datepicker-toggle"]],contentQueries:function(n,o,s){if(n&1&&Le(s,j4,5),n&2){let a;$(a=H())&&(o._customIcon=a.first)}},viewQuery:function(n,o){if(n&1&&be(f4,5),n&2){let s;$(s=H())&&(o._button=s.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(n,o){n&1&&L("click",function(a){return o._open(a)}),n&2&&(Y("tabindex",null)("data-mat-calendar",o.datepicker?o.datepicker.id:null),Q("mat-datepicker-toggle-active",o.datepicker&&o.datepicker.opened)("mat-accent",o.datepicker&&o.datepicker.color==="accent")("mat-warn",o.datepicker&&o.datepicker.color==="warn"))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Oe],ngContentSelectors:_4,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(n,o){n&1&&($e(g4),g(0,"button",0,1),V(2,p4,2,0,":svg:svg",2),J(3),p()),n&2&&(y("disabled",o.disabled)("disableRipple",o.disableRipple),Y("aria-haspopup",o.datepicker?"dialog":null)("aria-label",o.ariaLabel||o._intl.openCalendarLabel)("tabindex",o.disabled?-1:o.tabIndex),_(2),Ae(2,o._customIcon?-1:2))},dependencies:[qb],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0});let i=e;return i})();function B4(i){return uv(i,!0)}function Vk(i){return i.nodeType===Node.ELEMENT_NODE}function z4(i){return i.nodeName==="INPUT"}function $4(i){return i.nodeName==="TEXTAREA"}function uv(i,e){if(Vk(i)&&e){let t=(i.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((n,o)=>{let s=document.getElementById(o);return s&&n.push(s),n},[]);if(t.length)return t.map(n=>uv(n,!1)).join(" ")}if(Vk(i)){let r=i.getAttribute("aria-label")?.trim();if(r)return r}if(z4(i)||$4(i)){if(i.labels?.length)return Array.from(i.labels).map(n=>uv(n,!1)).join(" ");let r=i.getAttribute("placeholder")?.trim();if(r)return r;let t=i.getAttribute("title")?.trim();if(t)return t}return(i.textContent||"").replace(/\s+/g," ").trim()}var fm=new I("MAT_DATE_RANGE_INPUT_PARENT"),H4=(()=>{let e=class e extends Uk{constructor(t,n,o,s,a,l,c,d){super(n,c,d),this._rangeInput=t,this._elementRef=n,this._defaultErrorStateMatcher=o,this._injector=s,this._parentForm=a,this._parentFormGroup=l,this._dir=C(It,{optional:!0})}ngOnInit(){let t=this._injector.get(Fn,null,{optional:!0,self:!0});t&&(this.ngControl=t)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return this._elementRef.nativeElement.value.length===0}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}getMirrorValue(){let t=this._elementRef.nativeElement,n=t.value;return n.length>0?n:t.placeholder}_onInput(t){super._onInput(t),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:t}){return t!==this._rangeInput._startInput&&t!==this._rangeInput._endInput}_assignValueProgrammatically(t){super._assignValueProgrammatically(t),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return B4(this._elementRef.nativeElement)}};e.\u0275fac=function(n){return new(n||e)(h(fm),h(F),h(go),h(Pe),h(Nr,8),h(Et,8),h(st,8),h(Vn,8))},e.\u0275dir=R({type:e,features:[oe]});let i=e;return i})(),Gk=Ia(H4),ps=(()=>{let e=class e extends Gk{constructor(t,n,o,s,a,l,c,d){super(t,n,o,s,a,l,c,d),this._startValidator=u=>{let m=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(u.value)),f=this._model?this._model.selection.end:null;return!m||!f||this._dateAdapter.compareDate(m,f)<=0?null:{matStartDateInvalid:{end:f,actual:m}}},this._validator=ee.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(t){return t.start}_shouldHandleChangeEvent(t){return super._shouldHandleChangeEvent(t)?t.oldValue?.start?!t.selection.start||!!this._dateAdapter.compareDate(t.oldValue.start,t.selection.start):!!t.selection.start:!1}_assignValueToModel(t){if(this._model){let n=new zt(t,this._model.selection.end);this._model.updateSelection(n,this)}}_formatValue(t){super._formatValue(t),this._rangeInput._handleChildValueChange()}_onKeydown(t){let n=this._rangeInput._endInput,o=this._elementRef.nativeElement,s=this._dir?.value!=="rtl";(t.keyCode===39&&s||t.keyCode===37&&!s)&&o.selectionStart===o.value.length&&o.selectionEnd===o.value.length?(t.preventDefault(),n._elementRef.nativeElement.setSelectionRange(0,0),n.focus()):super._onKeydown(t)}};e.\u0275fac=function(n){return new(n||e)(h(fm),h(F),h(go),h(Pe),h(Nr,8),h(Et,8),h(st,8),h(Vn,8))},e.\u0275dir=R({type:e,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(n,o){n&1&&L("input",function(a){return o._onInput(a.target.value)})("change",function(){return o._onChange()})("keydown",function(a){return o._onKeydown(a)})("blur",function(){return o._onBlur()}),n&2&&(Wt("disabled",o.disabled),Y("aria-haspopup",o._rangeInput.rangePicker?"dialog":null)("aria-owns",(o._rangeInput.rangePicker==null?null:o._rangeInput.rangePicker.opened)&&o._rangeInput.rangePicker.id||null)("min",o._getMinDate()?o._dateAdapter.toIso8601(o._getMinDate()):null)("max",o._getMaxDate()?o._dateAdapter.toIso8601(o._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[ke([{provide:Nn,useExisting:e,multi:!0},{provide:uo,useExisting:e,multi:!0}]),oe]});let i=e;return i})(),gs=(()=>{let e=class e extends Gk{constructor(t,n,o,s,a,l,c,d){super(t,n,o,s,a,l,c,d),this._endValidator=u=>{let m=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(u.value)),f=this._model?this._model.selection.start:null;return!m||!f||this._dateAdapter.compareDate(m,f)>=0?null:{matEndDateInvalid:{start:f,actual:m}}},this._validator=ee.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(t){return t.end}_shouldHandleChangeEvent(t){return super._shouldHandleChangeEvent(t)?t.oldValue?.end?!t.selection.end||!!this._dateAdapter.compareDate(t.oldValue.end,t.selection.end):!!t.selection.end:!1}_assignValueToModel(t){if(this._model){let n=new zt(this._model.selection.start,t);this._model.updateSelection(n,this)}}_onKeydown(t){let n=this._rangeInput._startInput,o=this._elementRef.nativeElement,s=this._dir?.value!=="rtl";if(t.keyCode===8&&!o.value)n.focus();else if((t.keyCode===37&&s||t.keyCode===39&&!s)&&o.selectionStart===0&&o.selectionEnd===0){t.preventDefault();let a=n._elementRef.nativeElement.value.length;n._elementRef.nativeElement.setSelectionRange(a,a),n.focus()}else super._onKeydown(t)}};e.\u0275fac=function(n){return new(n||e)(h(fm),h(F),h(go),h(Pe),h(Nr,8),h(Et,8),h(st,8),h(Vn,8))},e.\u0275dir=R({type:e,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(n,o){n&1&&L("input",function(a){return o._onInput(a.target.value)})("change",function(){return o._onChange()})("keydown",function(a){return o._onKeydown(a)})("blur",function(){return o._onBlur()}),n&2&&(Wt("disabled",o.disabled),Y("aria-haspopup",o._rangeInput.rangePicker?"dialog":null)("aria-owns",(o._rangeInput.rangePicker==null?null:o._rangeInput.rangePicker.opened)&&o._rangeInput.rangePicker.id||null)("min",o._getMinDate()?o._dateAdapter.toIso8601(o._getMinDate()):null)("max",o._getMaxDate()?o._dateAdapter.toIso8601(o._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[ke([{provide:Nn,useExisting:e,multi:!0},{provide:uo,useExisting:e,multi:!0}]),oe]});let i=e;return i})(),U4=0,Oa=(()=>{let e=class e{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){let t=this._startInput?._getPlaceholder()||"",n=this._endInput?._getPlaceholder()||"";return t||n?`${t} ${this.separator} ${n}`:""}get rangePicker(){return this._rangePicker}set rangePicker(t){t&&(this._model=t.registerInput(this),this._rangePicker=t,this._closedSubscription.unsubscribe(),this._closedSubscription=t.closedStream.subscribe(()=>{this._startInput?._onTouched(),this._endInput?._onTouched()}),this._registerModel(this._model))}get required(){return this._required??(this._isTargetRequired(this)||this._isTargetRequired(this._startInput)||this._isTargetRequired(this._endInput))??!1}set required(t){this._required=Te(t)}get dateFilter(){return this._dateFilter}set dateFilter(t){let n=this._startInput,o=this._endInput,s=n&&n._matchesFilter(n.value),a=o&&o._matchesFilter(n.value);this._dateFilter=t,n&&n._matchesFilter(n.value)!==s&&n._validatorOnChange(),o&&o._matchesFilter(o.value)!==a&&o._validatorOnChange()}get min(){return this._min}set min(t){let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(n,this._min)||(this._min=n,this._revalidate())}get max(){return this._max}set max(t){let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(n,this._max)||(this._max=n,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(t){let n=Te(t);n!==this._groupDisabled&&(this._groupDisabled=n,this.stateChanges.next(void 0))}get errorState(){return this._startInput&&this._endInput?this._startInput.errorState||this._endInput.errorState:!1}get empty(){let t=this._startInput?this._startInput.isEmpty():!1,n=this._endInput?this._endInput.isEmpty():!1;return t&&n}constructor(t,n,o,s,a){this._changeDetectorRef=t,this._elementRef=n,this._dateAdapter=s,this._formField=a,this._closedSubscription=ie.EMPTY,this.id=`mat-date-range-input-${U4++}`,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new S,a?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&n.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=o}setDescribedByIds(t){this._ariaDescribedBy=t.length?t.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(!this._model||!this._model.selection.start?this._startInput.focus():this._endInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),it(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(t){qk(t,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(t){let n=t==="start"?this._startInput:this._endInput;return n?n.getMirrorValue():""}_shouldHidePlaceholders(){return this._startInput?!this._startInput.isEmpty():!1}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){let t=this._formField;return t&&t._hasFloatingLabel()?t._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(t){this.focused=t!==null,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(t){this._startInput&&this._startInput._registerModel(t),this._endInput&&this._endInput._registerModel(t)}_isTargetRequired(t){return t?.ngControl?.control?.hasValidator(ee.required)}};e.\u0275fac=function(n){return new(n||e)(h(Ie),h(F),h(nr,10),h(st,8),h(lr,8))},e.\u0275cmp=P({type:e,selectors:[["mat-date-range-input"]],contentQueries:function(n,o,s){if(n&1&&(Le(s,ps,5),Le(s,gs,5)),n&2){let a;$(a=H())&&(o._startInput=a.first),$(a=H())&&(o._endInput=a.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(n,o){n&2&&(Y("id",o.id)("aria-labelledby",o._getAriaLabelledby())("aria-describedby",o._ariaDescribedBy)("data-mat-calendar",o.rangePicker?o.rangePicker.id:null),Q("mat-date-range-input-hide-placeholders",o._shouldHidePlaceholders())("mat-date-range-input-required",o.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[ke([{provide:hs,useExisting:e},{provide:fm,useExisting:e}]),Oe],ngContentSelectors:v4,decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(n,o){n&1&&($e(b4),g(0,"div",0),L("cdkFocusChange",function(a){return o._updateFocus(a)}),g(1,"div",1),J(2),g(3,"span",2),x(4),p()(),g(5,"span",3),x(6),p(),g(7,"div",4),J(8,1),g(9,"span",2),x(10),p()()()),n&2&&(_(4),Ke(o._getInputMirrorValue("start")),_(1),Q("mat-date-range-input-separator-hidden",o._shouldHideSeparator()),_(1),Ke(o.separator),_(4),Ke(o._getInputMirrorValue("end")))},dependencies:[Rb],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px;color:var(--mat-datepicker-range-input-separator-color)}.mat-form-field-disabled .mat-date-range-input-separator{color:var(--mat-datepicker-range-input-disabled-state-separator-color)}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner[disabled]{color:var(--mat-datepicker-range-input-disabled-state-text-color)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0});let i=e;return i})(),Fa=(()=>{let e=class e extends hm{_forwardContentValues(t){super._forwardContentValues(t);let n=this.datepickerInput;n&&(t.comparisonStart=n.comparisonStart,t.comparisonEnd=n.comparisonEnd,t.startDateAccessibleName=n._getStartDateAccessibleName(),t.endDateAccessibleName=n._getEndDateAccessibleName())}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Gt(e)))(o||e)}})(),e.\u0275cmp=P({type:e,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[ke([E4,S4,{provide:hm,useExisting:e}]),oe],decls:0,vars:0,template:function(n,o){},encapsulation:2,changeDetection:0});let i=e;return i})();var Ni=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({providers:[Rc,F4],imports:[fi,at,vn,Da,Xi,se,dr]});let i=e;return i})();function q4(i,e){if(i&1){let r=ni();g(0,"div",1)(1,"button",2),L("click",function(){rt(r);let n=j();return ot(n.action())}),x(2),p()()}if(i&2){let r=j();_(2),Ge(" ",r.data.action," ")}}var G4=["label"];function W4(i,e){}var Y4=Math.pow(2,31)-1,Oc=class{constructor(e,r){this._overlayRef=r,this._afterDismissed=new S,this._afterOpened=new S,this._onAction=new S,this._dismissedByAction=!1,this.containerInstance=e,e._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,Y4))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},Wk=new I("MatSnackBarData"),Na=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},Q4=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=R({type:e,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0});let i=e;return i})(),K4=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=R({type:e,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0});let i=e;return i})(),Z4=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=R({type:e,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0});let i=e;return i})(),Yk=(()=>{let e=class e{constructor(t,n){this.snackBarRef=t,this.data=n}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};e.\u0275fac=function(n){return new(n||e)(h(Oc),h(Wk))},e.\u0275cmp=P({type:e,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[Ce],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(n,o){n&1&&(g(0,"div",0),x(1),p(),V(2,q4,3,1,"div",1)),n&2&&(_(1),Ge(" ",o.data.message,` +`),_(1),Ae(2,o.hasAction?2:-1))},dependencies:[at,St,Q4,K4,Z4,fi],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0});let i=e;return i})(),X4={snackBarState:Yt("state",[Dt("void, hidden",Re({transform:"scale(0.8)",opacity:0})),Dt("visible",Re({transform:"scale(1)",opacity:1})),ft("* => visible",mt("150ms cubic-bezier(0, 0, 0.2, 1)")),ft("* => void, * => hidden",mt("75ms cubic-bezier(0.4, 0.0, 1, 1)",Re({opacity:0})))])},J4=0,Qk=(()=>{let e=class e extends xo{constructor(t,n,o,s,a){super(),this._ngZone=t,this._elementRef=n,this._changeDetectorRef=o,this._platform=s,this.snackBarConfig=a,this._document=C(q),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new S,this._onExit=new S,this._onEnter=new S,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${J4++}`,this.attachDomPortal=l=>{this._assertNotAttached();let c=this._portalOutlet.attachDomPortal(l);return this._afterPortalAttached(),c},a.politeness==="assertive"&&!a.announcementMessage?this._live="assertive":a.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(t){this._assertNotAttached();let n=this._portalOutlet.attachComponentPortal(t);return this._afterPortalAttached(),n}attachTemplatePortal(t){this._assertNotAttached();let n=this._portalOutlet.attachTemplatePortal(t);return this._afterPortalAttached(),n}onAnimationEnd(t){let{fromState:n,toState:o}=t;if((o==="void"&&n!=="void"||o==="hidden")&&this._completeExit(),o==="visible"){let s=this._onEnter;this._ngZone.run(()=>{s.next(),s.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Ee(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){let t=this._elementRef.nativeElement,n=this.snackBarConfig.panelClass;n&&(Array.isArray(n)?n.forEach(a=>t.classList.add(a)):t.classList.add(n)),this._exposeToModals();let o=this._label.nativeElement,s="mdc-snackbar__label";o.classList.toggle(s,!o.querySelector(`.${s}`))}_exposeToModals(){let t=this._liveElementId,n=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let n=t.getAttribute("aria-owns");if(n){let o=n.replace(this._liveElementId,"").trim();o.length>0?t.setAttribute("aria-owns",o):t.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),n=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&n){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(o=document.activeElement),t.removeAttribute("aria-hidden"),n.appendChild(t),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};e.\u0275fac=function(n){return new(n||e)(h(N),h(F),h(Ie),h(ve),h(Na))},e.\u0275cmp=P({type:e,selectors:[["mat-snack-bar-container"]],viewQuery:function(n,o){if(n&1&&(be(gi,7),be(G4,7)),n&2){let s;$(s=H())&&(o._portalOutlet=s.first),$(s=H())&&(o._label=s.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(n,o){n&1&&Il("@state.done",function(a){return o.onAnimationEnd(a)}),n&2&&Xo("@state",o._animationState)},standalone:!0,features:[oe,Ce],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(n,o){n&1&&(g(0,"div",0)(1,"div",1,2)(3,"div",3),V(4,W4,0,0,"ng-template",4),p(),k(5,"div"),p()()),n&2&&(_(5),Y("aria-live",o._live)("role",o._role)("id",o._liveElementId))},dependencies:[Xi,gi],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[X4.snackBarState]}});let i=e;return i})();function ez(){return new Na}var tz=new I("mat-snack-bar-default-options",{providedIn:"root",factory:ez}),iz=(()=>{let e=class e{get _openedSnackBarRef(){let t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}constructor(t,n,o,s,a,l){this._overlay=t,this._live=n,this._injector=o,this._breakpointObserver=s,this._parentSnackBar=a,this._defaultConfig=l,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=Yk,this.snackBarContainerComponent=Qk,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(t,n){return this._attach(t,n)}openFromTemplate(t,n){return this._attach(t,n)}open(t,n="",o){let s=E(E({},this._defaultConfig),o);return s.data={message:t,action:n},s.announcementMessage===t&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,n){let o=n&&n.viewContainerRef&&n.viewContainerRef.injector,s=Pe.create({parent:o||this._injector,providers:[{provide:Na,useValue:n}]}),a=new Oi(this.snackBarContainerComponent,n.viewContainerRef,s),l=t.attach(a);return l.instance.snackBarConfig=n,l.instance}_attach(t,n){let o=E(E(E({},new Na),this._defaultConfig),n),s=this._createOverlay(o),a=this._attachSnackBarContainer(s,o),l=new Oc(a,s);if(t instanceof Pt){let c=new Fi(t,null,{$implicit:o.data,snackBarRef:l});l.instance=a.attachTemplatePortal(c)}else{let c=this._createInjector(o,l),d=new Oi(t,void 0,c),u=a.attachComponentPortal(d);l.instance=u.instance}return this._breakpointObserver.observe(OE.HandsetPortrait).pipe(Fe(s.detachments())).subscribe(c=>{s.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),o.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(l,o),this._openedSnackBarRef=l,this._openedSnackBarRef}_animateSnackBar(t,n){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),n.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),n.duration&&n.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(n.duration))}_createOverlay(t){let n=new bn;n.direction=t.direction;let o=this._overlay.position().global(),s=t.direction==="rtl",a=t.horizontalPosition==="left"||t.horizontalPosition==="start"&&!s||t.horizontalPosition==="end"&&s,l=!a&&t.horizontalPosition!=="center";return a?o.left("0"):l?o.right("0"):o.centerHorizontally(),t.verticalPosition==="top"?o.top("0"):o.bottom("0"),n.positionStrategy=o,this._overlay.create(n)}_createInjector(t,n){let o=t&&t.viewContainerRef&&t.viewContainerRef.injector;return Pe.create({parent:o||this._injector,providers:[{provide:Oc,useValue:n},{provide:Wk,useValue:t.data}]})}};e.\u0275fac=function(n){return new(n||e)(v(Ve),v(Jh),v(Pe),v(Gh),v(e,12),v(tz))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var ai=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({providers:[iz],imports:[vn,Xi,at,se,Yk,Qk,se]});let i=e;return i})();var nz=["trigger"],rz=["panel"];function oz(i,e){if(i&1&&(g(0,"span",9),x(1),p()),i&2){let r=j();_(1),Ke(r.placeholder)}}function sz(i,e){i&1&&J(0)}function az(i,e){if(i&1&&(g(0,"span",11),x(1),p()),i&2){let r=j(2);_(1),Ke(r.triggerValue)}}function lz(i,e){if(i&1&&(g(0,"span",10),V(1,sz,1,0)(2,az,2,1),p()),i&2){let r=j();_(1),Ae(1,r.customTrigger?1:2)}}function cz(i,e){if(i&1){let r=ni();wr(),Ko(),g(0,"div",12,13),L("@transformPanel.done",function(n){rt(r);let o=j();return ot(o._panelDoneAnimatingStream.next(n.toState))})("keydown",function(n){rt(r);let o=j();return ot(o._handleKeydown(n))}),J(2,1),p()}if(i&2){let r=j();Fw("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",r._getPanelTheme(),""),y("ngClass",r.panelClass)("@transformPanel","showing"),Y("id",r.id+"-panel")("aria-multiselectable",r.multiple)("aria-label",r.ariaLabel||null)("aria-labelledby",r._getPanelAriaLabelledby())}}var dz=[[["mat-select-trigger"]],"*"],uz=["mat-select-trigger","*"],hz={transformPanelWrap:Yt("transformPanelWrap",[ft("* => void",bD("@transformPanel",[_D()],{optional:!0}))]),transformPanel:Yt("transformPanel",[Dt("void",Re({opacity:0,transform:"scale(1, 0.8)"})),ft("void => showing",mt("120ms cubic-bezier(0, 0, 0.2, 1)",Re({opacity:1,transform:"scale(1, 1)"}))),ft("* => void",mt("100ms linear",Re({opacity:0})))])};var Kk=0,Zk=new I("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let i=C(Ve);return()=>i.scrollStrategies.reposition()}});function mz(i){return()=>i.scrollStrategies.reposition()}var fz=new I("MAT_SELECT_CONFIG"),pz={provide:Zk,deps:[Ve],useFactory:mz},gz=new I("MatSelectTrigger"),hv=class{constructor(e,r){this.source=e,this.value=r}},_z=JE(tm(XE(Ia(class{constructor(i,e,r,t,n){this._elementRef=i,this._defaultErrorStateMatcher=e,this._parentForm=r,this._parentFormGroup=t,this.ngControl=n,this.stateChanges=new S}})))),ur=(()=>{let e=class e extends _z{_scrollOptionIntoView(t){let n=this.options.toArray()[t];if(n){let o=this.panel.nativeElement,s=im(t,this.options,this.optionGroups),a=n._getHostElement();t===0&&s===1?o.scrollTop=0:o.scrollTop=nm(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new hv(this,t)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=Te(t),this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(ee.required)??!1}set required(t){this._required=Te(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._selectionModel,this._multiple=Te(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=Te(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=Bt(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}constructor(t,n,o,s,a,l,c,d,u,m,f,b,w,T){super(a,s,c,d,m),this._viewportRuler=t,this._changeDetectorRef=n,this._ngZone=o,this._dir=l,this._parentFormField=u,this._liveAnnouncer=w,this._defaultOptions=T,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(M,ne)=>M===ne,this._uid=`mat-select-${Kk++}`,this._triggerAriaLabelledBy=null,this._destroy=new S,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${Kk++}`,this._panelDoneAnimatingStream=new S,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this.optionSelectionChanges=rn(()=>{let M=this.options;return M?M.changes.pipe(gt(M),Ye(()=>it(...M.map(ne=>ne.onSelectionChange)))):this._ngZone.onStable.pipe(Ee(1),Ye(()=>this.optionSelectionChanges))}),this.openedChange=new O,this._openedStream=this.openedChange.pipe(de(M=>M),U(()=>{})),this._closedStream=this.openedChange.pipe(de(M=>!M),U(()=>{})),this.selectionChange=new O,this.valueChange=new O,this._trackedModal=null,this._skipPredicate=M=>this.panelOpen?!1:M.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),T?.typeaheadDebounceInterval!=null&&(this._typeaheadDebounceInterval=T.typeaheadDebounceInterval),this._scrollStrategyFactory=b,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(f)||0,this.id=this.id}ngOnInit(){this._selectionModel=new om(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Gr(),Fe(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(Fe(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Fe(this._destroy)).subscribe(t=>{t.added.forEach(n=>n.select()),t.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(gt(null),Fe(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let t=this._getTriggerAriaLabelledby(),n=this.ngControl;if(t!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?o.setAttribute("aria-labelledby",t):o.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(this._previousControl!==void 0&&n.disabled!==null&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck()),this.stateChanges.next()}_applyModalPanelOwnership(){let t=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;let n=`${this.id}-panel`;this._trackedModal&&fo(this._trackedModal,"aria-owns",n),Ca(t,"aria-owns",n),this._trackedModal=t}_clearFromModal(){if(!this._trackedModal)return;let t=`${this.id}-panel`;fo(this._trackedModal,"aria-owns",t),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched()),this.stateChanges.next()}writeValue(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let t=this._selectionModel.selected.map(n=>n.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){let n=t.keyCode,o=n===40||n===38||n===37||n===39,s=n===13||n===32,a=this._keyManager;if(!a.isTyping()&&s&&!We(t)||(this.multiple||t.altKey)&&o)t.preventDefault(),this.open();else if(!this.multiple){let l=this.selected;a.onKeydown(t);let c=this.selected;c&&l!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(t){let n=this._keyManager,o=t.keyCode,s=o===40||o===38,a=n.isTyping();if(s&&t.altKey)t.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&n.activeItem&&!We(t))t.preventDefault(),n.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&t.ctrlKey){t.preventDefault();let l=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(l?c.select():c.deselect())})}else{let l=n.activeItemIndex;n.onKeydown(t),this._multiple&&s&&t.shiftKey&&n.activeItem&&n.activeItemIndex!==l&&n.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ee(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{let n=this._selectOptionByValue(t);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){let n=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,t)}catch{return!1}});return n&&this._selectionModel.select(n),n}_assignValue(t){return t!==this._value||this._multiple&&Array.isArray(t)?(this.options&&this._setSelectionByValue(t),this._value=t,!0):!1}_getOverlayWidth(t){return this.panelWidth==="auto"?(t instanceof Tc?t.elementRef:t||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new ya(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let t=it(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Fe(t)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),it(...this.options.map(n=>n._stateChanges)).pipe(Fe(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,n){let o=this._selectionModel.isSelected(t);t.value==null&&!this._multiple?(t.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(t.value)):(o!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),n&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),n&&this.focus())),o!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let t=this.options.toArray();this._selectionModel.sort((n,o)=>this.sortComparator?this.sortComparator(n,o,t):t.indexOf(n)-t.indexOf(o)),this.stateChanges.next()}}_propagateChanges(t){let n;this.multiple?n=this.selected.map(o=>o.value):n=this.selected?this.selected.value:t,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let n=0;n0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),n=t?t+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};e.\u0275fac=function(n){return new(n||e)(h(yo),h(Ie),h(N),h(go),h(F),h(It,8),h(Nr,8),h(Et,8),h(lr,8),h(Fn,10),$i("tabindex"),h(Zk),h(Jh),h(fz,8))},e.\u0275cmp=P({type:e,selectors:[["mat-select"]],contentQueries:function(n,o,s){if(n&1&&(Le(s,gz,5),Le(s,Ai,5),Le(s,Cc,5)),n&2){let a;$(a=H())&&(o.customTrigger=a.first),$(a=H())&&(o.options=a),$(a=H())&&(o.optionGroups=a)}},viewQuery:function(n,o){if(n&1&&(be(nz,5),be(rz,5),be(cm,5)),n&2){let s;$(s=H())&&(o.trigger=s.first),$(s=H())&&(o.panel=s.first),$(s=H())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(n,o){n&1&&L("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),n&2&&(Y("id",o.id)("tabindex",o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),Q("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[ke([{provide:hs,useExisting:e},{provide:wc,useExisting:e}]),oe,Oe],ngContentSelectors:uz,decls:11,vars:8,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(n,o){if(n&1&&($e(dz),g(0,"div",0,1),L("click",function(){return o.toggle()}),g(3,"div",2),V(4,oz,2,1,"span",3)(5,lz,3,1),p(),g(6,"div",4)(7,"div",5),wr(),g(8,"svg",6),k(9,"path",7),p()()()(),V(10,cz,3,9,"ng-template",8),L("backdropClick",function(){return o.close()})("attach",function(){return o._onAttached()})("detach",function(){return o.close()})),n&2){let s=Vt(1);_(3),Y("id",o._valueId),_(1),Ae(4,o.empty?4:5),_(6),y("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[Rr,cm,Tc],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[hz.transformPanel]},changeDetection:0});let i=e;return i})();var li=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({providers:[pz],imports:[fi,vn,_o,se,dr,Tt,_o,se]});let i=e;return i})();var bz=["input"],vz=["label"],yz=["*"],xz=new I("mat-checkbox-default-options",{providedIn:"root",factory:eI});function eI(){return{color:"accent",clickAction:"check-indeterminate"}}var wz={provide:Nn,useExisting:qt(()=>Nc),multi:!0},mv=class{},Cz=0,Xk=eI(),Nc=(()=>{let e=class e{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(t){let n=new mv;return n.source=this,n.checked=t,n}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(t,n,o,s,a,l){this._elementRef=t,this._changeDetectorRef=n,this._ngZone=o,this._animationMode=a,this._options=l,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new O,this.indeterminateChange=new O,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Xk,this.color=this._options.color||Xk.color,this.tabIndex=parseInt(s)||0,this.id=this._uniqueId=`mat-mdc-checkbox-${++Cz}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){let n=t!=this._indeterminate;this._indeterminate=t,n&&(this._indeterminate?this._transitionCheckState(3):this._transitionCheckState(this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_transitionCheckState(t){let n=this._currentCheckState,o=this._getAnimationTargetElement();if(!(n===t||!o)&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(n,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);let s=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(s)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let t=this._options?.clickAction;!this.disabled&&t!=="noop"?(this.indeterminate&&t!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent()):!this.disabled&&t==="noop"&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(t){t.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(t,n){if(this._animationMode==="NoopAnimations")return"";switch(t){case 0:if(n===1)return this._animationClasses.uncheckedToChecked;if(n==3)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return n===1?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return n===2?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return n===1?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(t){let n=this._inputElement;n&&(n.nativeElement.indeterminate=t)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(t){t.target&&this._labelElement.nativeElement.contains(t.target)&&t.stopPropagation()}};e.\u0275fac=function(n){return new(n||e)(h(F),h(Ie),h(N),$i("tabindex"),h(Me,8),h(xz,8))},e.\u0275cmp=P({type:e,selectors:[["mat-checkbox"]],viewQuery:function(n,o){if(n&1&&(be(bz,5),be(vz,5),be(Sa,5)),n&2){let s;$(s=H())&&(o._inputElement=s.first),$(s=H())&&(o._labelElement=s.first),$(s=H())&&(o.ripple=s.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(n,o){n&2&&(Wt("id",o.id),Y("tabindex",null)("aria-label",null)("aria-labelledby",null),ii(o.color?"mat-"+o.color:"mat-accent"),Q("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mdc-checkbox--disabled",o.disabled)("mat-mdc-checkbox-disabled",o.disabled)("mat-mdc-checkbox-checked",o.checked))},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:["required","required",ge],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:["disableRipple","disableRipple",ge],tabIndex:["tabIndex","tabIndex",t=>t==null?void 0:Tl(t)],color:"color",checked:["checked","checked",ge],disabled:["disabled","disabled",ge],indeterminate:["indeterminate","indeterminate",ge]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[ke([wz]),Je],ngContentSelectors:yz,decls:15,vars:20,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(n,o){if(n&1&&($e(),g(0,"div",0),L("click",function(a){return o._preventBubblingFromLabel(a)}),g(1,"div",1,2)(3,"div",3),L("click",function(){return o._onTouchTargetClick()}),p(),g(4,"input",4,5),L("blur",function(){return o._onBlur()})("click",function(){return o._onInputClick()})("change",function(a){return o._onInteractionEvent(a)}),p(),k(6,"div",6),g(7,"div",7),wr(),g(8,"svg",8),k(9,"path",9),p(),Ko(),k(10,"div",10),p(),k(11,"div",11),p(),g(12,"label",12,13),J(14),p()()),n&2){let s=Vt(2);Q("mdc-form-field--align-end",o.labelPosition=="before"),_(4),Q("mdc-checkbox--selected",o.checked),y("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled)("id",o.inputId)("required",o.required)("tabIndex",o.disabled?-1:o.tabIndex),Y("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby)("aria-checked",o.indeterminate?"mixed":null)("name",o.name)("value",o.value),_(7),y("matRippleTrigger",s)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),_(1),y("for",o.inputId)}},dependencies:[Sa],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let i=e;return i})();var Jk=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({});let i=e;return i})(),ci=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[se,us,Jk,se,Jk]});let i=e;return i})();var Mt=class Mt{static getTitle(e){return this.platforms.find(r=>r.key===e)?.title}};Mt.INTERVALS={key:"INTERVALS",title:"Intervals.icu"},Mt.TRAINING_PEAKS={key:"TRAINING_PEAKS",title:"TrainingPeaks"},Mt.TRAINER_ROAD={key:"TRAINER_ROAD",title:"TrainerRoad"},Mt.platforms=[Mt.INTERVALS,Mt.TRAINING_PEAKS,Mt.TRAINER_ROAD],Mt.DIRECTION_TP_INT={sourcePlatform:Mt.TRAINING_PEAKS.key,targetPlatform:Mt.INTERVALS.key},Mt.DIRECTION_INT_TP={sourcePlatform:Mt.INTERVALS.key,targetPlatform:Mt.TRAINING_PEAKS.key},Mt.DIRECTION_TR_INT={sourcePlatform:Mt.TRAINER_ROAD.key,targetPlatform:Mt.INTERVALS.key},Mt.DIRECTION_TR_TP={sourcePlatform:Mt.TRAINER_ROAD.key,targetPlatform:Mt.TRAINING_PEAKS.key};var Xe=Mt;var iI=(()=>{let e=class e{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=Te(t)}get inset(){return this._inset}set inset(t){this._inset=Te(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=P({type:e,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(n,o){n&2&&(Y("aria-orientation",o.vertical?"vertical":"horizontal"),Q("mat-divider-vertical",o.vertical)("mat-divider-horizontal",!o.vertical)("mat-divider-inset",o.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(n,o){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0});let i=e;return i})(),Pa=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[se,se]});let i=e;return i})();var Ez=["*"],kz='@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}',Iz=["unscopedContent"],Sz=["text"],Tz=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],Mz=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];var Az=new I("ListOption"),Rz=(()=>{let e=class e{constructor(t){this._elementRef=t}};e.\u0275fac=function(n){return new(n||e)(h(F))},e.\u0275dir=R({type:e,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]});let i=e;return i})(),Oz=(()=>{let e=class e{constructor(t){this._elementRef=t}};e.\u0275fac=function(n){return new(n||e)(h(F))},e.\u0275dir=R({type:e,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]});let i=e;return i})(),Fz=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=R({type:e,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]});let i=e;return i})(),nI=(()=>{let e=class e{constructor(t){this._listOption=t}_isAlignedAtStart(){return!this._listOption||this._listOption?._getTogglePosition()==="after"}};e.\u0275fac=function(n){return new(n||e)(h(Az,8))},e.\u0275dir=R({type:e,hostVars:4,hostBindings:function(n,o){n&2&&Q("mdc-list-item__start",o._isAlignedAtStart())("mdc-list-item__end",!o._isAlignedAtStart())}});let i=e;return i})(),Nz=(()=>{let e=class e extends nI{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Gt(e)))(o||e)}})(),e.\u0275dir=R({type:e,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[oe]});let i=e;return i})(),Pz=(()=>{let e=class e extends nI{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Gt(e)))(o||e)}})(),e.\u0275dir=R({type:e,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[oe]});let i=e;return i})(),Lz=new I("MAT_LIST_CONFIG"),gm=(()=>{let e=class e{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=C(Lz,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Te(t)}get disabled(){return this._disabled}set disabled(t){this._disabled=Te(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=R({type:e,hostVars:1,hostBindings:function(n,o){n&2&&Y("aria-disabled",o.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}});let i=e;return i})(),Vz=(()=>{let e=class e{set lines(t){this._explicitLines=Bt(t,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(t){this._disableRipple=Te(t)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(t){this._disabled=Te(t)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(t,n,o,s,a,l){this._elementRef=t,this._ngZone=n,this._listBase=o,this._platform=s,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new ie,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=a||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button",this._noopAnimations=l==="NoopAnimations",o&&!o._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),this._rippleRenderer!==null&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!!(this._avatars.length||this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new vc(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(it(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(t){if(!this._lines||!this._titles||!this._unscopedContent)return;t&&this._checkDomForUnscopedTextContent();let n=this._explicitLines??this._inferLinesFromContent(),o=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",n<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",n<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",n===2),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",n===3),this._hasUnscopedTextContent){let s=this._titles.length===0&&n===1;o.classList.toggle("mdc-list-item__primary-text",s),o.classList.toggle("mdc-list-item__secondary-text",!s)}else o.classList.remove("mdc-list-item__primary-text"),o.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let t=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(t+=1),t}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(t=>t.nodeType!==t.COMMENT_NODE).some(t=>!!(t.textContent&&t.textContent.trim()))}};e.\u0275fac=function(n){return new(n||e)(h(F),h(N),h(gm,8),h(ve),h(xc,8),h(Me,8))},e.\u0275dir=R({type:e,contentQueries:function(n,o,s){if(n&1&&(Le(s,Nz,4),Le(s,Pz,4)),n&2){let a;$(a=H())&&(o._avatars=a),$(a=H())&&(o._icons=a)}},hostVars:4,hostBindings:function(n,o){n&2&&(Y("aria-disabled",o.disabled)("disabled",o._isButtonElement&&o.disabled||null),Q("mdc-list-item--disabled",o.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}});let i=e;return i})();var rI=(()=>{let e=class e extends gm{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Gt(e)))(o||e)}})(),e.\u0275cmp=P({type:e,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[ke([{provide:gm,useExisting:e}]),oe],ngContentSelectors:Ez,decls:1,vars:0,template:function(n,o){n&1&&($e(),J(0))},styles:[kz],encapsulation:2,changeDetection:0});let i=e;return i})(),oI=(()=>{let e=class e extends Vz{get activated(){return this._activated}set activated(t){this._activated=Te(t)}constructor(t,n,o,s,a,l){super(t,n,o,s,a,l),this._activated=!1}_getAriaCurrent(){return this._hostElement.nodeName==="A"&&this._activated?"page":null}};e.\u0275fac=function(n){return new(n||e)(h(F),h(N),h(gm,8),h(ve),h(xc,8),h(Me,8))},e.\u0275cmp=P({type:e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(n,o,s){if(n&1&&(Le(s,Oz,5),Le(s,Rz,5),Le(s,Fz,5)),n&2){let a;$(a=H())&&(o._lines=a),$(a=H())&&(o._titles=a),$(a=H())&&(o._meta=a)}},viewQuery:function(n,o){if(n&1&&(be(Iz,5),be(Sz,5)),n&2){let s;$(s=H())&&(o._unscopedContent=s.first),$(s=H())&&(o._itemText=s.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(n,o){n&2&&(Y("aria-current",o._getAriaCurrent()),Q("mdc-list-item--activated",o.activated)("mdc-list-item--with-leading-avatar",o._avatars.length!==0)("mdc-list-item--with-leading-icon",o._icons.length!==0)("mdc-list-item--with-trailing-meta",o._meta.length!==0)("_mat-animation-noopable",o._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[oe],ngContentSelectors:Mz,decls:10,vars:0,consts:[[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],[1,"mat-mdc-focus-indicator"]],template:function(n,o){n&1&&($e(Tz),J(0),g(1,"span",0),J(2,1),J(3,2),g(4,"span",1,2),L("cdkObserveContent",function(){return o._updateItemLines(!0)}),J(6,3),p()(),J(7,4),J(8,5),k(9,"div",3))},dependencies:[ME],encapsulation:2,changeDetection:0});let i=e;return i})();var La=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[ba,fi,se,us,Bb,Pa]});let i=e;return i})();var Bz="yyyy-MM-dd",zz="en-US";function tn(i){return lC(i,Bz,zz)}var $z=["tooltip"],lI=20;var cI=new I("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let i=C(Ve);return()=>i.scrollStrategies.reposition({scrollThrottle:lI})}});function Hz(i){return()=>i.scrollStrategies.reposition({scrollThrottle:lI})}var Uz={provide:cI,deps:[Ve],useFactory:Hz};function qz(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var Gz=new I("mat-tooltip-default-options",{providedIn:"root",factory:qz});var sI="tooltip-panel",aI=Ii({passive:!0}),Wz=500,Yz=8,Qz=8,Kz=24,Zz=200,hr=(()=>{let e=class e{get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=Te(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Te(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=Bt(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=Bt(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=t!=null?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,n,o,s,a,l,c,d,u,m,f,b){this._overlay=t,this._elementRef=n,this._scrollDispatcher=o,this._viewContainerRef=s,this._ngZone=a,this._platform=l,this._ariaDescriber=c,this._focusMonitor=d,this._dir=m,this._defaultOptions=f,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=Xz,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new S,this._scrollStrategy=u,this._document=b,f&&(this._showDelay=f.showDelay,this._hideDelay=f.hideDelay,f.position&&(this.position=f.position),f.positionAtOrigin&&(this.positionAtOrigin=f.positionAtOrigin),f.touchGestures&&(this.touchGestures=f.touchGestures)),m.change.pipe(Fe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=Yz}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Fe(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([n,o])=>{t.removeEventListener(n,o,aI)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,n){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(n);this._detach(),this._portal=this._portal||new Oi(this._tooltipComponent,this._viewContainerRef);let s=this._tooltipInstance=o.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(Fe(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(t)}hide(t=this.hideDelay){let n=this._tooltipInstance;n&&(n.isVisible()?n.hide(t):(n._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&s._origin instanceof F)return this._overlayRef;this._detach()}let n=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(n);return o.positionChanges.pipe(Fe(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${sI}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Fe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Fe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Fe(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&s.keyCode===27&&!We(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let n=t.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();n.withPositions([this._addOffset(E(E({},o.main),s.main)),this._addOffset(E(E({},o.fallback),s.fallback))])}_addOffset(t){let n=Qz,o=!this._dir||this._dir.value=="ltr";return t.originY==="top"?t.offsetY=-n:t.originY==="bottom"?t.offsetY=n:t.originX==="start"?t.offsetX=o?-n:n:t.originX==="end"&&(t.offsetX=o?n:-n),t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",n=this.position,o;n=="above"||n=="below"?o={originX:"center",originY:n=="above"?"top":"bottom"}:n=="before"||n=="left"&&t||n=="right"&&!t?o={originX:"start",originY:"center"}:(n=="after"||n=="right"&&t||n=="left"&&!t)&&(o={originX:"end",originY:"center"});let{x:s,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s,originY:a}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",n=this.position,o;n=="above"?o={overlayX:"center",overlayY:"bottom"}:n=="below"?o={overlayX:"center",overlayY:"top"}:n=="before"||n=="left"&&t||n=="right"&&!t?o={overlayX:"end",overlayY:"center"}:(n=="after"||n=="right"&&t||n=="left"&&!t)&&(o={overlayX:"start",overlayY:"center"});let{x:s,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Ee(1),Fe(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,n){return this.position==="above"||this.position==="below"?n==="top"?n="bottom":n==="bottom"&&(n="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:n}}_updateCurrentPositionClass(t){let{overlayY:n,originX:o,originY:s}=t,a;if(n==="center"?this._dir&&this._dir.value==="rtl"?a=o==="end"?"left":"right":a=o==="start"?"left":"right":a=n==="bottom"&&s==="top"?"above":"below",a!==this._currentPosition){let l=this._overlayRef;if(l){let c=`${this._cssClassPrefix}-${sI}-`;l.removePanelClass(c+this._currentPosition),l.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let n;t.x!==void 0&&t.y!==void 0&&(n=t),this.show(void 0,n)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{let n=t.targetTouches?.[0],o=n?{x:n.clientX,y:n.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),Wz)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",n=>{let o=n.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",n=>this._wheelListener(n)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let n=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",n],["touchcancel",n])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([n,o])=>{this._elementRef.nativeElement.addEventListener(n,o,aI)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){let n=this._document.elementFromPoint(t.clientX,t.clientY),o=this._elementRef.nativeElement;n!==o&&!o.contains(n)&&this.hide()}}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let n=this._elementRef.nativeElement,o=n.style;(t==="on"||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(t==="on"||!n.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}};e.\u0275fac=function(n){return new(n||e)(h(Ve),h(F),h(Ec),h(vt),h(N),h(ve),h(Xh),h(Ln),h(cI),h(It),h(Gz,8),h(q))},e.\u0275dir=R({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(n,o){n&2&&Q("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]});let i=e;return i})(),Xz=(()=>{let e=class e{constructor(t,n,o){this._changeDetectorRef=t,this._elementRef=n,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new S,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=o==="NoopAnimations"}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>Kz&&t.width>=Zz}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let n=this._tooltip.nativeElement,o=this._showAnimation,s=this._hideAnimation;if(n.classList.remove(t?s:o),n.classList.add(t?o:s),this._isVisible=t,t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(n);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(n.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}};e.\u0275fac=function(n){return new(n||e)(h(Ie),h(F),h(Me,8))},e.\u0275cmp=P({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(n,o){if(n&1&&be($z,7),n&2){let s;$(s=H())&&(o._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(n,o){n&1&&L("mouseleave",function(a){return o._handleMouseLeave(a)}),n&2&&Lt("zoom",o.isVisible()?1:null)},decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(n,o){n&1&&(g(0,"div",0,1),L("animationend",function(a){return o._handleAnimationEnd(a)}),g(2,"div",2),x(3),p()()),n&2&&(Q("mdc-tooltip--multiline",o._isMultiline),y("ngClass",o.tooltipClass),_(3),Ke(o.message))},dependencies:[Rr],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let i=e;return i})();var mr=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({providers:[Uz],imports:[Da,fi,vn,se,se,dr]});let i=e;return i})();var dI=(()=>{let e=class e{static getTitle(t){return this.trainingTypes.find(n=>n.value===t)?.title}};e.trainingTypes=[{title:"Ride",value:"BIKE"},{title:"MTB",value:"MTB"},{title:"Virtual Ride",value:"VIRTUAL_BIKE"},{title:"Run",value:"RUN"},{title:"Swim",value:"SWIM"},{title:"Walk",value:"WALK"},{title:"Weight Training",value:"WEIGHT"},{title:"Any other",value:"UNKNOWN"}];let i=e;return i})();var Jz=["intervals.api-key","intervals.athlete-id"],Va=class{constructor(e){this.config={},Object.keys(e).forEach(r=>{e[r]===""||e[r]===null||e[r]===void 0?this.config[r]=null:e[r]==="true"?this.config[r]=!0:e[r]==="false"?this.config[r]=!1:this.config[r]=e[r]})}hasRequiredConfig(){return Object.keys(this.config).filter(e=>Jz.indexOf(e)>-1).length==2}};var yn=(()=>{let e=class e{constructor(t){this.httpClient=t}getConfig(){return this.httpClient.get("/api/configuration").pipe(U(t=>new Va(t?.config)))}updateConfig(t){return this.httpClient.put("/api/configuration",t)}getAllPlatformInfo(){return this.httpClient.get("/api/configuration/platform").pipe(U(t=>(Object.keys(t).forEach(n=>t[n]=t[n].infoMap),t)))}platformInfo(t){return this.httpClient.get(`/api/configuration/${t}`).pipe(U(n=>n.infoMap))}};e.\u0275fac=function(n){return new(n||e)(v(On))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Eo=(()=>{let e=class e{constructor(t){this.httpClient=t}copyCalendarToCalendar(t,n,o,s,a){return this.httpClient.post("/api/workout/copy-calendar-to-calendar",E({startDate:t,endDate:n,types:o,skipSynced:s},a))}copyCalendarToLibrary(t,n,o,s,a,l){return this.httpClient.post("/api/workout/copy-calendar-to-library",xe(E({name:t,startDate:n,endDate:o,types:s},a),{isPlan:l}))}copyLibraryToLibrary(t,n,o){return this.httpClient.post("/api/workout/copy-library-to-library",E({workoutExternalData:t,targetLibraryContainer:n},o))}findWorkoutsByName(t,n){return this.httpClient.get("/api/workout/find",{params:{platform:t,name:n}})}scheduleCopyCalendarToCalendar(t,n,o,s,a){return this.httpClient.post("/api/workout/copy-calendar-to-calendar/schedule",E({startDate:t,endDate:n,types:o,skipSynced:s},a))}getScheduleRequests(){return this.httpClient.get("/api/workout/copy-calendar-to-calendar/schedule")}deleteScheduleRequest(t){return this.httpClient.delete(`/api/workout/copy-calendar-to-calendar/schedule/${t}`)}};e.\u0275fac=function(n){return new(n||e)(v(On))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Pi=(()=>{let e=class e{constructor(t){this.toastr=t}success(t){this.toastr.success(t,void 0,{enableHtml:!0,closeButton:!0,timeOut:e.duration})}error(t){this.toastr.error(t,void 0,{enableHtml:!0,closeButton:!0,timeOut:e.duration})}};e.duration=20*1e3,e.\u0275fac=function(n){return new(n||e)(v(_h))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function e$(i,e){if(i&1&&(g(0,"mat-option",21),x(1),p()),i&2){let r=e.$implicit;y("value",r.value),_(1),Ke(r.title)}}function t$(i,e){if(i&1&&(g(0,"mat-option",21),x(1),p()),i&2){let r=e.$implicit;y("value",r.value),_(1),Ke(r.title)}}function i$(i,e){i&1&&k(0,"i",22)}function n$(i,e){if(i&1){let r=ni();g(0,"mat-list-item")(1,"button",24),L("click",function(){let o=rt(r).$implicit,s=j(2);return ot(s.deleteJob(o.id))}),k(2,"i",25),p(),x(3),p()}if(i&2){let r=e.$implicit,t=j(2);_(3),fg(" Types: ",t.mapTrainingTypesToTitles(r.request.types),", Skip synced: ",r.request.skipSynced,", ",t.Platform.getTitle(r.request.sourcePlatform)," -> ",t.Platform.getTitle(r.request.targetPlatform)," ")}}function r$(i,e){if(i&1&&(g(0,"div",23)(1,"mat-list")(2,"mat-list-item"),x(3," Scheduled jobs "),p(),k(4,"mat-divider"),xt(5,n$,4,4,"mat-list-item",null,yt),p()()),i&2){let r=j();_(5),wt(r.scheduleRequests)}}function o$(i,e){i&1&&k(0,"mat-progress-bar",26)}var bm=(()=>{let e=class e{constructor(t,n,o,s){this.formBuilder=t,this.configurationClient=n,this.workoutClient=o,this.notificationService=s,this.Platform=Xe,this.todayDate=new Date,this.tomorrowDate=new Date(new Date().getTime()+24*60*60*1e3),this.trainingTypes=[],this.selectedTrainingTypes=["BIKE","VIRTUAL_BIKE"],this.directions=[],this.inProgress=!1,this.scheduleRequests=[]}ngOnInit(){this.configurationClient.getAllPlatformInfo().subscribe(t=>{this.platformsInfo=t}),this.formGroup=this.getFormGroup(),this.loadScheduleRequests().subscribe()}submit(){let t=tn(this.formGroup.controls.startDate.value),n=tn(this.formGroup.controls.endDate.value);this.copyWorkouts(t,n)}today(){this.copyWorkoutsForOneDay(tn(this.todayDate))}tomorrow(){this.copyWorkoutsForOneDay(tn(this.tomorrowDate))}scheduleToday(){let t=null,n=null,o=this.formGroup.value.direction,s=this.formGroup.value.trainingTypes,a=this.formGroup.value.skipSynced;this.inProgress=!0,this.workoutClient.scheduleCopyCalendarToCalendar(t,n,s,a,o).pipe(Ye(()=>this.loadScheduleRequests()),nt(()=>this.inProgress=!1)).subscribe(()=>{this.notificationService.success("Scheduled sync job")})}mapTrainingTypesToTitles(t){return t.map(n=>dI.getTitle(n))}copyWorkoutsForOneDay(t){this.copyWorkouts(t,t)}copyWorkouts(t,n){let o=this.formGroup.value.direction,s=this.formGroup.value.trainingTypes,a=this.formGroup.value.skipSynced;this.inProgress=!0,this.workoutClient.copyCalendarToCalendar(t,n,s,a,o).pipe(nt(()=>this.inProgress=!1)).subscribe(l=>{this.notificationService.success(`Planned: ${l.copied} + Filtered out: ${l.filteredOut} + From ${l.startDate} to ${l.endDate}`)})}getFormGroup(){return this.formBuilder.group({direction:[this.directions[0].value,ee.required],trainingTypes:[this.selectedTrainingTypes,ee.required],startDate:[this.todayDate,ee.required],endDate:[this.tomorrowDate,ee.required],skipSynced:[!0,ee.required]})}loadScheduleRequests(){return this.workoutClient.getScheduleRequests().pipe(qe(t=>{this.scheduleRequests=t.map(n=>({id:n.id,request:JSON.parse(n.requestJson)})),console.log(this.scheduleRequests)}))}deleteJob(t){this.inProgress=!0,this.workoutClient.deleteScheduleRequest(t).pipe(Ye(()=>this.loadScheduleRequests()),nt(()=>this.inProgress=!1)).subscribe(()=>{this.notificationService.success("Deleted job")})}};e.\u0275fac=function(n){return new(n||e)(h(fn),h(yn),h(Eo),h(Pi))},e.\u0275cmp=P({type:e,selectors:[["copy-calendar-to-calendar"]],inputs:{trainingTypes:"trainingTypes",selectedTrainingTypes:"selectedTrainingTypes",directions:"directions",inProgress:"inProgress"},standalone:!0,features:[Ce],decls:43,vars:10,consts:[["novalidate","",3,"formGroup"],[1,"row"],[1,"form-field"],["formControlName","direction"],["direction",""],["formControlName","trainingTypes","multiple",""],[3,"rangePicker"],["matStartDate","","placeholder","Start Date","formControlName","startDate"],["matEndDate","","placeholder","End Date","formControlName","endDate"],["matIconSuffix","",3,"for"],["copyPlanDatePicker",""],["class","bi bi-exclamation-triangle-fill beta-icon","matTooltip","Sync to futurte date will work only for TrainingPeaks Premium users","matTooltipPosition","right",4,"ngIf"],[1,"row",2,"margin-bottom","10px"],["formControlName","skipSynced"],[1,"action-button-section"],["mat-raised-button","","id","btn-confirm","color","primary","type","button",3,"disabled","click"],["mat-raised-button","","color","primary","type","button",2,"margin-left","10px",3,"disabled","click"],["style","margin-bottom: 10px",4,"ngIf"],["mat-raised-button","","color","primary","type","button","matTooltip","Scheduled job runs every 20 minutes and will sync workouts for today. Jobs won't persist after app restart",3,"disabled","click"],["matTooltip","Beta feature","matTooltipPosition","right",1,"bi","bi-stars","beta-icon"],["mode","query","style","margin-top: 10px",4,"ngIf"],[3,"value"],["matTooltip","Sync to futurte date will work only for TrainingPeaks Premium users","matTooltipPosition","right",1,"bi","bi-exclamation-triangle-fill","beta-icon"],[2,"margin-bottom","10px"],["mat-raised-button","","color","primary","type","button",3,"click"],[1,"bi","bi-trash"],["mode","query",2,"margin-top","10px"]],template:function(n,o){if(n&1&&(g(0,"form",0)(1,"div",1)(2,"mat-form-field",2)(3,"mat-label"),x(4,"Direction"),p(),g(5,"mat-select",3,4),xt(7,e$,2,2,"mat-option",21,yt),p()()(),g(9,"div",1)(10,"mat-form-field",2)(11,"mat-label"),x(12,"Workout Types"),p(),g(13,"mat-select",5),xt(14,t$,2,2,"mat-option",21,yt),p()()(),g(16,"div",1)(17,"mat-form-field",2)(18,"mat-label"),x(19,"Date Range"),p(),g(20,"mat-date-range-input",6),k(21,"input",7)(22,"input",8),p(),k(23,"mat-datepicker-toggle",9)(24,"mat-date-range-picker",null,10),p(),V(26,i$,1,0,"i",11),p(),g(27,"div",12)(28,"mat-checkbox",13),x(29," Skip already synced workouts "),p()(),g(30,"div",14)(31,"button",15),L("click",function(){return o.submit()}),x(32," Confirm "),p(),g(33,"button",16),L("click",function(){return o.today()}),x(34," Only today "),p(),g(35,"button",16),L("click",function(){return o.tomorrow()}),x(36," Only tomorrow "),p()(),V(37,r$,7,0,"div",17),g(38,"div",14)(39,"button",18),L("click",function(){return o.scheduleToday()}),x(40," Schedule for today "),p(),k(41,"i",19),p(),V(42,o$,1,0,"mat-progress-bar",20),p()),n&2){let s=Vt(6),a=Vt(25);y("formGroup",o.formGroup),_(7),wt(o.directions),_(7),wt(o.trainingTypes),_(6),y("rangePicker",a),_(3),y("for",a),_(3),y("ngIf",s.value.targetPlatform===o.Platform.TRAINING_PEAKS.key&&o.formGroup.controls.endDate.value>o.tomorrowDate),_(5),y("disabled",o.formGroup.invalid||o.inProgress),_(2),y("disabled",o.formGroup.invalid||o.inProgress),_(2),y("disabled",o.formGroup.invalid||o.inProgress),_(2),y("ngIf",o.scheduleRequests.length>0),_(2),y("disabled",o.formGroup.invalid||o.inProgress),_(3),y("ngIf",o.inProgress)}},dependencies:[ki,mn,Ei,un,hn,at,St,Tt,_n,Ri,bo,oi,ri,Et,Gi,Ot,si,Ni,Do,Oa,ps,gs,Fa,Mi,ai,li,ur,Ai,ci,Nc,Pa,iI,La,rI,oI,jt,mr,hr],styles:[".date-range-text[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:10px;padding-left:10px}"]});let i=e;return i})();var uI=(()=>{let e=class e{constructor(){this.Platform=Xe,this.directions=[{title:"Intervals.icu -> TrainingPeaks",value:Xe.DIRECTION_INT_TP},{title:"TrainingPeaks -> Intervals.icu",value:Xe.DIRECTION_TP_INT}],this.trainingTypes=[{title:"Ride",value:"BIKE"},{title:"MTB",value:"MTB"},{title:"Virtual Ride",value:"VIRTUAL_BIKE"},{title:"Run",value:"RUN"},{title:"Swim",value:"SWIM"},{title:"Walk",value:"WALK"},{title:"Weight Training",value:"WEIGHT"},{title:"Any other",value:"UNKNOWN"}],this.selectedTrainingTypes=["BIKE","VIRTUAL_BIKE","MTB","RUN"]}ngOnInit(){}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=P({type:e,selectors:[["tp-copy-calendar-to-calendar"]],standalone:!0,features:[Ce],decls:1,vars:3,consts:[[3,"directions","trainingTypes","selectedTrainingTypes"]],template:function(n,o){n&1&&k(0,"copy-calendar-to-calendar",0),n&2&&y("directions",o.directions)("trainingTypes",o.trainingTypes)("selectedTrainingTypes",o.selectedTrainingTypes)},dependencies:[ki,at,Tt,oi,ri,Ot,Ni,Mi,ai,li,ci,La,bm]});let i=e;return i})();var ko=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[jb,se,jb,se]});let i=e;return i})();function s$(i,e){}var _s=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var pv=(()=>{let e=class e extends xo{constructor(t,n,o,s,a,l,c,d){super(),this._elementRef=t,this._focusTrapFactory=n,this._config=s,this._interactivityChecker=a,this._ngZone=l,this._overlayRef=c,this._focusMonitor=d,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=u=>{this._portalOutlet.hasAttached();let m=this._portalOutlet.attachDomPortal(u);return this._contentAttached(),m},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),n}attachTemplatePortal(t){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),n}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,n){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{t.removeEventListener("blur",o),t.removeEventListener("mousedown",o),t.removeAttribute("tabindex")};t.addEventListener("blur",o),t.addEventListener("mousedown",o)})),t.focus(n)}_focusByCssSelector(t,n){let o=this._elementRef.nativeElement.querySelector(t);o&&this._forceFocus(o,n)}_trapFocus(){let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(n=>{n||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}}_restoreFocus(){let t=this._config.restoreFocus,n=null;if(typeof t=="string"?n=this._document.querySelector(t):typeof t=="boolean"?n=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(n=t),this._config.restoreFocus&&n&&typeof n.focus=="function"){let o=ho(),s=this._elementRef.nativeElement;(!o||o===this._document.body||o===s||s.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(n,this._closeInteractionType),this._closeInteractionType=null):n.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let t=this._elementRef.nativeElement,n=ho();return t===n||t.contains(n)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=ho())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};e.\u0275fac=function(n){return new(n||e)(h(F),h(_c),h(q,8),h(_s),h(ds),h(N),h(Br),h(Ln))},e.\u0275cmp=P({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(n,o){if(n&1&&be(gi,7),n&2){let s;$(s=H())&&(o._portalOutlet=s.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(n,o){n&2&&Y("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},standalone:!0,features:[oe,Ce],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,o){n&1&&V(0,s$,0,0,"ng-template",0)},dependencies:[Xi,gi],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let i=e;return i})(),Vc=class{constructor(e,r){this.overlayRef=e,this.config=r,this.closed=new S,this.disableClose=r.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=r.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!We(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{r.closeOnOverlayDetachments!==!1&&this.close()})}close(e,r){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=r?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(e),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",r=""){return this.overlayRef.updateSize({width:e,height:r}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},a$=new I("DialogScrollStrategy",{providedIn:"root",factory:()=>{let i=C(Ve);return()=>i.scrollStrategies.block()}}),l$=new I("DialogData"),c$=new I("DefaultDialogConfig");var d$=0,hI=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(t,n,o,s,a,l){this._overlay=t,this._injector=n,this._defaultOptions=o,this._parentDialog=s,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new S,this._afterOpenedAtThisLevel=new S,this._ariaHiddenElements=new Map,this.afterAllClosed=rn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(gt(void 0))),this._scrollStrategy=l}open(t,n){let o=this._defaultOptions||new _s;n=E(E({},o),n),n.id=n.id||`cdk-dialog-${d$++}`,n.id&&this.getDialogById(n.id);let s=this._getOverlayConfig(n),a=this._overlay.create(s),l=new Vc(a,n),c=this._attachContainer(a,l,n);return l.containerInstance=c,this._attachDialogContent(t,l,c,n),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){fv(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(n=>n.id===t)}ngOnDestroy(){fv(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),fv(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let n=new bn({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(n.backdropClass=t.backdropClass),n}_attachContainer(t,n,o){let s=o.injector||o.viewContainerRef?.injector,a=[{provide:_s,useValue:o},{provide:Vc,useValue:n},{provide:Br,useValue:t}],l;o.container?typeof o.container=="function"?l=o.container:(l=o.container.type,a.push(...o.container.providers(o))):l=pv;let c=new Oi(l,o.viewContainerRef,Pe.create({parent:s||this._injector,providers:a}),o.componentFactoryResolver);return t.attach(c).instance}_attachDialogContent(t,n,o,s){if(t instanceof Pt){let a=this._createInjector(s,n,o,void 0),l={$implicit:s.data,dialogRef:n};s.templateContext&&(l=E(E({},l),typeof s.templateContext=="function"?s.templateContext():s.templateContext)),o.attachTemplatePortal(new Fi(t,null,l,a))}else{let a=this._createInjector(s,n,o,this._injector),l=o.attachComponentPortal(new Oi(t,s.viewContainerRef,a,s.componentFactoryResolver));n.componentRef=l,n.componentInstance=l.instance}}_createInjector(t,n,o,s){let a=t.injector||t.viewContainerRef?.injector,l=[{provide:l$,useValue:t.data},{provide:Vc,useValue:n}];return t.providers&&(typeof t.providers=="function"?l.push(...t.providers(n,t,o)):l.push(...t.providers)),t.direction&&(!a||!a.get(It,null,{optional:!0}))&&l.push({provide:It,useValue:{value:t.direction,change:Z()}}),Pe.create({parent:a||s,providers:l})}_removeOpenDialog(t,n){let o=this.openDialogs.indexOf(t);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let t=this._overlayContainer.getContainerElement();if(t.parentElement){let n=t.parentElement.children;for(let o=n.length-1;o>-1;o--){let s=n[o];s!==t&&s.nodeName!=="SCRIPT"&&s.nodeName!=="STYLE"&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}};e.\u0275fac=function(n){return new(n||e)(v(Ve),v(Pe),v(c$,8),v(e,12),v(Ma),v(a$))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function fv(i,e){let r=i.length;for(;r--;)e(i[r])}function u$(i,e){}var jc=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},gv="mdc-dialog--open",mI="mdc-dialog--opening",fI="mdc-dialog--closing",h$=150,m$=75,f$=(()=>{let e=class e extends pv{constructor(t,n,o,s,a,l,c,d,u){super(t,n,o,s,a,l,c,u),this._animationMode=d,this._animationStateChanged=new O,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?gI(this._config.enterAnimationDuration)??h$:0,this._exitAnimationDuration=this._animationsEnabled?gI(this._config.exitAnimationDuration)??m$:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(pI,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(mI,gv)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(gv),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(gv),this._animationsEnabled?(this._hostElement.style.setProperty(pI,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(fI)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(mI,fI)}_waitForAnimationToComplete(t,n){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,t)}_requestAnimationFrame(t){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(t):t()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(t){let n=super.attachComponentPortal(t);return n.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),n}};e.\u0275fac=function(n){return new(n||e)(h(F),h(_c),h(q,8),h(jc),h(ds),h(N),h(Br),h(Me,8),h(Ln))},e.\u0275cmp=P({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(n,o){n&2&&(Wt("id",o._config.id),Y("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),Q("_mat-animation-noopable",!o._animationsEnabled))},standalone:!0,features:[oe,Ce],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(n,o){n&1&&(g(0,"div",0)(1,"div",1),V(2,u$,0,0,"ng-template",2),p()())},dependencies:[Xi,gi],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2});let i=e;return i})(),pI="--mat-dialog-transition-duration";function gI(i){return i==null?null:typeof i=="number"?i:i.endsWith("ms")?Bt(i.substring(0,i.length-2)):i.endsWith("s")?Bt(i.substring(0,i.length-1))*1e3:i==="0"?0:null}var bs=class{constructor(e,r,t){this._ref=e,this._containerInstance=t,this._afterOpened=new S,this._beforeClosed=new S,this._state=0,this.disableClose=r.disableClose,this.id=e.id,t._animationStateChanged.pipe(de(n=>n.state==="opened"),Ee(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(de(n=>n.state==="closed"),Ee(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),it(this.backdropClick(),this.keydownEvents().pipe(de(n=>n.keyCode===27&&!this.disableClose&&!We(n)))).subscribe(n=>{this.disableClose||(n.preventDefault(),_I(this,n.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(de(r=>r.state==="closing"),Ee(1)).subscribe(r=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),r.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let r=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?r.left(e.left):r.right(e.right):r.centerHorizontally(),e&&(e.top||e.bottom)?e.top?r.top(e.top):r.bottom(e.bottom):r.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",r=""){return this._ref.updateSize(e,r),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function _I(i,e,r){return i._closeInteractionType=e,i.close(r)}var _v=new I("MatMdcDialogData"),p$=new I("mat-mdc-dialog-default-options"),g$=new I("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let i=C(Ve);return()=>i.scrollStrategies.block()}});var _$=0,vm=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(t,n,o,s,a,l,c,d){this._overlay=t,this._defaultOptions=s,this._scrollStrategy=a,this._parentDialog=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new S,this._afterOpenedAtThisLevel=new S,this.dialogConfigClass=jc,this.afterAllClosed=rn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(gt(void 0))),this._dialog=n.get(hI),this._dialogRefConstructor=bs,this._dialogContainerType=f$,this._dialogDataToken=_v}open(t,n){let o;n=E(E({},this._defaultOptions||new jc),n),n.id=n.id||`mat-mdc-dialog-${_$++}`,n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();let s=this._dialog.open(t,xe(E({},n),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:n},{provide:_s,useValue:n}]},templateContext:()=>({dialogRef:o}),providers:(a,l,c)=>(o=new this._dialogRefConstructor(a,n,c),o.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=s.componentRef,o.componentInstance=s.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(o);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(n=>n.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let n=t.length;for(;n--;)t[n].close()}};e.\u0275fac=function(n){return new(n||e)(v(Ve),v(Pe),v(Ar,8),v(p$,8),v(g$),v(e,12),v(Ma),v(Me,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),b$=0,bI=(()=>{let e=class e{constructor(t,n,o){this.dialogRef=t,this._elementRef=n,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=wI(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){let n=t._matDialogClose||t._matDialogCloseResult;n&&(this.dialogResult=n.currentValue)}_onButtonClick(t){_I(this.dialogRef,t.screenX===0&&t.screenY===0?"keyboard":"mouse",this.dialogResult)}};e.\u0275fac=function(n){return new(n||e)(h(bs,8),h(F),h(vm))},e.\u0275dir=R({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(n,o){n&1&&L("click",function(a){return o._onButtonClick(a)}),n&2&&Y("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[Oe]});let i=e;return i})(),vI=(()=>{let e=class e{constructor(t,n,o){this._dialogRef=t,this._elementRef=n,this._dialog=o,this.id=`mat-mdc-dialog-title-${b$++}`}ngOnInit(){this._dialogRef||(this._dialogRef=wI(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){let t=this._dialogRef?._containerInstance?._ariaLabelledByQueue;t&&Promise.resolve().then(()=>{let n=t.indexOf(this.id);n>-1&&t.splice(n,1)})}};e.\u0275fac=function(n){return new(n||e)(h(bs,8),h(F),h(vm))},e.\u0275dir=R({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(n,o){n&2&&Wt("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0});let i=e;return i})(),yI=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=R({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0});let i=e;return i})(),xI=(()=>{let e=class e{constructor(){this.align="start"}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=R({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(n,o){n&2&&Q("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},standalone:!0});let i=e;return i})();function wI(i,e){let r=i.nativeElement.parentElement;for(;r&&!r.classList.contains("mat-mdc-dialog-container");)r=r.parentElement;return r?e.find(t=>t.id===r.id):null}var DI=(()=>{let e=class e{constructor(t,n){this.dialogRef=t,this.data=n}};e.\u0275fac=function(n){return new(n||e)(h(bs),h(_v))},e.\u0275cmp=P({type:e,selectors:[["app-tp-copy-plan-warning-dialog"]],standalone:!0,features:[Ce],decls:10,vars:3,consts:[["mat-dialog-title",""],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close"],["mat-button","",3,"mat-dialog-close"]],template:function(n,o){n&1&&(g(0,"h2",0),x(1,"Are you sure?"),p(),g(2,"mat-dialog-content")(3,"p"),x(4),p()(),g(5,"mat-dialog-actions")(6,"button",1),x(7,"Ok"),p(),g(8,"button",2),x(9,"Cancel"),p()()),n&2&&(_(4),Ge("Plan contains: ",o.data.workoutsAmount," workouts. Are you sure you want to copy it?"),_(2),y("mat-dialog-close",!0),_(2),y("mat-dialog-close",!1))},dependencies:[yI,xI,bI,at,St,vI]});let i=e;return i})();var EI=(()=>{let e=class e{};e.stepModifiers=[{title:"None",value:"NONE"},{title:"Instant Power",value:"POWER_INSTANT"},{title:"3s Power",value:"POWER_3S"},{title:"10s Power",value:"POWER_10S"},{title:"30s Power",value:"POWER_30S"}];let i=e;return i})();var ym=(()=>{let e=class e{constructor(t){this.httpClient=t}getLibraries(t){return this.httpClient.get("/api/library-container",{params:{platform:t}}).pipe(U(n=>n))}copyLibraryContainer(t,n,o,s,a){return this.httpClient.post("/api/library-container/copy",E({libraryContainer:t,newName:n,newStartDate:o,stepModifier:s},a))}};e.\u0275fac=function(n){return new(n||e)(v(On))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function v$(i,e){if(i&1&&(g(0,"mat-option",12),x(1),p()),i&2){let r=e.$implicit;y("value",r.value),_(1),hg(" ",r.name," [",r.value.isPlan?"plan, workouts: "+r.value.workoutsAmount:"folder","] ")}}function y$(i,e){i&1&&k(0,"mat-progress-bar",13)}function x$(i,e){if(i&1&&(g(0,"div",1)(1,"mat-form-field",2)(2,"mat-label"),x(3,"Start Date"),p(),k(4,"input",14)(5,"mat-datepicker-toggle",15)(6,"mat-datepicker",null,16),p()()),i&2){let r=Vt(7);_(4),y("matDatepicker",r),_(1),y("for",r)}}function w$(i,e){if(i&1&&(g(0,"mat-option",12),x(1),p()),i&2){let r=e.$implicit;y("value",r.value),_(1),Ge(" ",r.title," ")}}function C$(i,e){i&1&&k(0,"mat-progress-bar",13)}function D$(i,e){i&1&&k(0,"mat-progress-bar",13)}var II=(()=>{let e=class e{constructor(t,n,o,s,a){this.formBuilder=t,this.dialog=n,this.planClient=o,this.configurationClient=s,this.notificationService=a,this.mondayDate=tn(this.getMonday(new Date)),this.formGroup=this.formBuilder.group({plan:[null,ee.required],newName:[null,ee.required],newStartDate:[this.mondayDate,ee.required],stepModifier:["NONE",ee.required]}),this.isPlanSelected=Z(!1),this.submitInProgress=!1,this.loadingInProgress=!1,this.stepModifiers=EI.stepModifiers}ngOnInit(){this.formGroup.disable(),this.loadingInProgress=!0,this.getConfig(),this.getPlans(),this.onPlanChange()}copyPlanSubmit(){let t=this.formGroup.value.plan;if(t.workoutsAmount>100){this.openWarningDialog(t,this.copyPlan);return}this.copyPlan()}copyPlan(){this.submitInProgress=!0;let t=this.formGroup.value.plan,n=this.formGroup.value.newName,o=this.formGroup.value.newStartDate,s=this.formGroup.value.stepModifier,a=Xe.DIRECTION_TP_INT;this.planClient.copyLibraryContainer(t,n,o,s,a).pipe(nt(()=>this.submitInProgress=!1)).subscribe(l=>{this.notificationService.success(`Library name: ${l.planName} +Copied workouts: ${l.workouts}`)})}openWarningDialog(t,n){this.dialog.open(DI,{data:t}).afterClosed().subscribe(s=>{s&&n.bind(this)()})}getMonday(t){t=new Date(t);let n=t.getDay(),o=t.getDate()-n+(n==0?-6:1);return new Date(t.setDate(o))}getConfig(){this.configurationClient.getConfig().subscribe(t=>{this.config=t.config})}getPlans(){this.planClient.getLibraries(Xe.TRAINING_PEAKS.key).pipe(U(t=>t.map(n=>({name:n.name,value:n}))),nt(()=>{this.loadingInProgress=!1,this.formGroup.enable()})).subscribe(t=>this.plans=t)}onPlanChange(){this.formGroup.controls.plan.valueChanges.pipe(de(t=>t)).subscribe(t=>{this.formGroup.patchValue({newName:t.name})})}};e.\u0275fac=function(n){return new(n||e)(h(fn),h(vm),h(ym),h(yn),h(Pi))},e.\u0275cmp=P({type:e,selectors:[["tp-copy-library-container"]],standalone:!0,features:[Ce],decls:31,vars:8,consts:[["novalidate","",3,"formGroup","ngSubmit"],[1,"row"],[1,"form-field"],["formControlName","plan","panelWidth","null"],["mode","query",4,"ngIf"],["class","row",4,"ngIf"],["matInput","","placeholder","My New Library","formControlName","newName"],["formControlName","stepModifier","panelWidth","null"],["matTooltip","Beta feature","matTooltipPosition","right",1,"bi","bi-stars","beta-icon"],[1,"action-button-section"],["mat-raised-button","","id","btn-confirm","color","primary","type","submit",3,"disabled"],["mat-raised-button","","color","primary","type","reset",2,"margin-left","10px"],[3,"value"],["mode","query"],["matInput","","formControlName","newStartDate",3,"matDatepicker"],["matIconSuffix","",3,"for"],["picker",""]],template:function(n,o){n&1&&(g(0,"form",0),L("ngSubmit",function(){return o.copyPlanSubmit()}),g(1,"div",1)(2,"mat-form-field",2)(3,"mat-label"),x(4,"TrainingPeaks plan"),p(),g(5,"mat-select",3),xt(6,v$,2,3,"mat-option",12,yt),p(),V(8,y$,1,0,"mat-progress-bar",4),p()(),V(9,x$,8,2,"div",5),Ks(10,"async"),g(11,"div",1)(12,"mat-form-field",2)(13,"mat-label"),x(14,"My new library name"),p(),k(15,"input",6),p()(),g(16,"div",1)(17,"mat-form-field",2)(18,"mat-label"),x(19,"Step target (Garmin only) in Intervals.icu"),p(),g(20,"mat-select",7),xt(21,w$,2,2,"mat-option",12,yt),p(),V(23,C$,1,0,"mat-progress-bar",4),p(),k(24,"i",8),p(),g(25,"div",9)(26,"button",10),x(27," Confirm "),p(),g(28,"button",11),x(29," Reset "),p()(),V(30,D$,1,0,"mat-progress-bar",4),p()),n&2&&(y("formGroup",o.formGroup),_(6),wt(o.plans),_(2),y("ngIf",o.loadingInProgress),_(1),y("ngIf",Zs(10,6,o.isPlanSelected)),_(12),wt(o.stepModifiers),_(2),y("ngIf",o.loadingInProgress),_(3),y("disabled",o.formGroup.invalid||o.formGroup.disabled||o.submitInProgress),_(4),y("ngIf",o.submitInProgress))},dependencies:[ko,ki,mn,Ei,un,hn,at,St,Tt,_n,Ri,bo,oi,cr,ri,Et,Gi,Ot,si,jt,Ni,Hk,mm,Do,Mi,ai,li,ur,Ai,ci,qu,mr,hr]});let i=e;return i})();function E$(i,e){if(i&1&&(g(0,"mat-option",15),x(1),p()),i&2){let r=e.$implicit;y("value",r.value),_(1),Ke(r.title)}}function k$(i,e){if(i&1&&(g(0,"mat-option",15),x(1),p()),i&2){let r=e.$implicit;y("value",r.value),_(1),Ke(r.name)}}function I$(i,e){i&1&&k(0,"mat-progress-bar",16)}var SI=(()=>{let e=class e{constructor(t,n,o){this.formBuilder=t,this.workoutClient=n,this.notificationService=o,this.selectedTrainingTypes=["BIKE","VIRTUAL_BIKE","MTB","RUN"],this.direction=Xe.DIRECTION_TP_INT,this.planType=[{name:"Plan",value:!0},{name:"Folder",value:!1}],this.trainingTypes=[{title:"Ride",value:"BIKE"},{title:"MTB",value:"MTB"},{title:"Virtual Ride",value:"VIRTUAL_BIKE"},{title:"Run",value:"RUN"},{title:"Swim",value:"SWIM"},{title:"Walk",value:"WALK"},{title:"Weight Training",value:"WEIGHT"},{title:"Any other",value:"UNKNOWN"}],this.formGroup=this.formBuilder.group({name:["My New Library",ee.required],trainingTypes:[this.selectedTrainingTypes,ee.required],startDate:[null,ee.required],endDate:[null,ee.required],isPlan:[!0,ee.required]}),this.inProgress=!1}ngOnInit(){}copyWorkoutsSubmit(){this.inProgress=!0;let t=this.formGroup.value.name,n=this.formGroup.value.trainingTypes,o=tn(this.formGroup.value.startDate),s=tn(this.formGroup.value.endDate),a=this.formGroup.value.isPlan;this.workoutClient.copyCalendarToLibrary(t,o,s,n,this.direction,a).pipe(nt(()=>this.inProgress=!1)).subscribe(l=>{this.notificationService.success(`Copied: ${l.copied} + Filtered out: ${l.filteredOut} + From ${l.startDate} to ${l.endDate}`)})}};e.\u0275fac=function(n){return new(n||e)(h(fn),h(Eo),h(Pi))},e.\u0275cmp=P({type:e,selectors:[["tp-copy-calendar-to-library"]],standalone:!0,features:[Ce],decls:34,vars:5,consts:[["novalidate","",3,"formGroup","ngSubmit"],[1,"row"],[1,"form-field"],["formControlName","trainingTypes","multiple",""],[3,"rangePicker"],["matStartDate","","placeholder","Start Date","formControlName","startDate"],["matEndDate","","placeholder","End Date","formControlName","endDate"],["matIconSuffix","",3,"for"],["copyPlanDatePicker",""],["id","intervals-plan-name",1,"form-field"],["matInput","","placeholder","My New Plan","formControlName","name"],["formControlName","isPlan"],[1,"action-button-section"],["mat-raised-button","","id","btn-confirm","color","primary","type","submit",3,"disabled"],["mode","query",4,"ngIf"],[3,"value"],["mode","query"]],template:function(n,o){if(n&1&&(g(0,"form",0),L("ngSubmit",function(){return o.copyWorkoutsSubmit()}),g(1,"div",1)(2,"mat-form-field",2)(3,"mat-label"),x(4,"Workout Types"),p(),g(5,"mat-select",3),xt(6,E$,2,2,"mat-option",15,yt),p()()(),g(8,"div",1)(9,"mat-form-field",2)(10,"mat-label"),x(11,"Date Range"),p(),g(12,"mat-date-range-input",4),k(13,"input",5)(14,"input",6),p(),k(15,"mat-datepicker-toggle",7)(16,"mat-date-range-picker",null,8),p()(),g(18,"div",1)(19,"mat-form-field",9)(20,"mat-label"),x(21,"Name"),p(),k(22,"input",10),p()(),g(23,"div",1)(24,"mat-form-field",2)(25,"mat-label"),x(26,"Save as"),p(),g(27,"mat-select",11),xt(28,k$,2,2,"mat-option",15,yt),p()()(),g(30,"div",12)(31,"button",13),x(32," Confirm "),p()(),V(33,I$,1,0,"mat-progress-bar",14),p()),n&2){let s=Vt(17);y("formGroup",o.formGroup),_(6),wt(o.trainingTypes),_(6),y("rangePicker",s),_(3),y("for",s),_(13),wt(o.planType),_(3),y("disabled",o.formGroup.invalid||o.inProgress),_(2),y("ngIf",o.inProgress)}},dependencies:[ko,ki,mn,Ei,un,hn,at,St,Tt,_n,Ri,bo,oi,cr,ri,Et,Gi,Ot,si,jt,Ni,Do,Oa,ps,gs,Fa,Mi,ai,li,ur,Ai,ci]});let i=e;return i})();var S$=0,bv=new I("CdkAccordion"),TI=(()=>{let e=class e{constructor(){this._stateChanges=new S,this._openCloseAllActions=new S,this.id=`cdk-accordion-${S$++}`,this.multi=!1}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=R({type:e,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:["multi","multi",ge]},exportAs:["cdkAccordion"],features:[ke([{provide:bv,useExisting:e}]),Je,Oe]});let i=e;return i})(),T$=0,MI=(()=>{let e=class e{get expanded(){return this._expanded}set expanded(t){if(this._expanded!==t){if(this._expanded=t,this.expandedChange.emit(t),t){this.opened.emit();let n=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,n)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}constructor(t,n,o){this.accordion=t,this._changeDetectorRef=n,this._expansionDispatcher=o,this._openCloseAllSubscription=ie.EMPTY,this.closed=new O,this.opened=new O,this.destroyed=new O,this.expandedChange=new O,this.id=`cdk-accordion-child-${T$++}`,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=o.listen((s,a)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===a&&this.id!==s&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}};e.\u0275fac=function(n){return new(n||e)(h(bv,12),h(Ie),h(sm))},e.\u0275dir=R({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:["expanded","expanded",ge],disabled:["disabled","disabled",ge]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[ke([{provide:bv,useValue:void 0}]),Je]});let i=e;return i})(),AI=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({});let i=e;return i})();var M$=["body"];function A$(i,e){}var R$=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],O$=["mat-expansion-panel-header","*","mat-action-row"];function F$(i,e){if(i&1&&k(0,"span",2),i&2){let r=j();y("@indicatorRotate",r._getExpandedState())}}var N$=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],P$=["mat-panel-title","mat-panel-description","*"],vv=new I("MAT_ACCORDION"),RI="225ms cubic-bezier(0.4,0.0,0.2,1)",OI={indicatorRotate:Yt("indicatorRotate",[Dt("collapsed, void",Re({transform:"rotate(0deg)"})),Dt("expanded",Re({transform:"rotate(180deg)"})),ft("expanded <=> collapsed, void => collapsed",mt(RI))]),bodyExpansion:Yt("bodyExpansion",[Dt("collapsed, void",Re({height:"0px",visibility:"hidden"})),Dt("expanded",Re({height:"*",visibility:""})),ft("expanded <=> collapsed, void => collapsed",mt(RI))])},FI=new I("MAT_EXPANSION_PANEL"),L$=(()=>{let e=class e{constructor(t,n){this._template=t,this._expansionPanel=n}};e.\u0275fac=function(n){return new(n||e)(h(Pt),h(FI,8))},e.\u0275dir=R({type:e,selectors:[["ng-template","matExpansionPanelContent",""]]});let i=e;return i})(),V$=0,NI=new I("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),vs=(()=>{let e=class e extends MI{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=Te(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}constructor(t,n,o,s,a,l,c){super(t,n,o),this._viewContainerRef=s,this._animationMode=l,this._hideToggle=!1,this.afterExpand=new O,this.afterCollapse=new O,this._inputChanges=new S,this._headerId=`mat-expansion-panel-header-${V$++}`,this._bodyAnimationDone=new S,this.accordion=t,this._document=a,this._bodyAnimationDone.pipe(Gr((d,u)=>d.fromState===u.fromState&&d.toState===u.toState)).subscribe(d=>{d.fromState!=="void"&&(d.toState==="expanded"?this.afterExpand.emit():d.toState==="collapsed"&&this.afterCollapse.emit())}),c&&(this.hideToggle=c.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(gt(null),de(()=>this.expanded&&!this._portal),Ee(1)).subscribe(()=>{this._portal=new Fi(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){let t=this._document.activeElement,n=this._body.nativeElement;return t===n||n.contains(t)}return!1}};e.\u0275fac=function(n){return new(n||e)(h(vv,12),h(Ie),h(sm),h(vt),h(q),h(Me,8),h(NI,8))},e.\u0275cmp=P({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(n,o,s){if(n&1&&Le(s,L$,5),n&2){let a;$(a=H())&&(o._lazyContent=a.first)}},viewQuery:function(n,o){if(n&1&&be(M$,5),n&2){let s;$(s=H())&&(o._body=s.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(n,o){n&2&&Q("mat-expanded",o.expanded)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-expansion-panel-spacing",o._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[ke([{provide:vv,useValue:void 0},{provide:FI,useExisting:e}]),oe,Oe],ngContentSelectors:O$,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(n,o){n&1&&($e(R$),J(0),g(1,"div",0,1),L("@bodyExpansion.done",function(a){return o._bodyAnimationDone.next(a)}),g(3,"div",2),J(4,1),V(5,A$,0,0,"ng-template",3),p(),J(6,2),p()),n&2&&(_(1),y("@bodyExpansion",o._getExpandedState())("id",o.id),Y("aria-labelledby",o._headerId),_(4),y("cdkPortalOutlet",o._portal))},dependencies:[gi],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[OI.bodyExpansion]},changeDetection:0});let i=e;return i})();var yv=class{},j$=tm(yv),ys=(()=>{let e=class e extends j${constructor(t,n,o,s,a,l,c){super(),this.panel=t,this._element=n,this._focusMonitor=o,this._changeDetectorRef=s,this._animationMode=l,this._parentChangeSubscription=ie.EMPTY;let d=t.accordion?t.accordion._stateChanges.pipe(de(u=>!!(u.hideToggle||u.togglePosition))):Ut;this.tabIndex=parseInt(c||"")||0,this._parentChangeSubscription=it(t.opened,t.closed,d,t._inputChanges.pipe(de(u=>!!(u.hideToggle||u.disabled||u.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(de(()=>t._containsFocus())).subscribe(()=>o.focusVia(n,"program")),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case 32:case 13:We(t)||(t.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t);return}}focus(t,n){t?this._focusMonitor.focusVia(this._element,t,n):this._element.nativeElement.focus(n)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}};e.\u0275fac=function(n){return new(n||e)(h(vs,1),h(F),h(Ln),h(Ie),h(NI,8),h(Me,8),$i("tabindex"))},e.\u0275cmp=P({type:e,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(n,o){n&1&&L("click",function(){return o._toggle()})("keydown",function(a){return o._keydown(a)}),n&2&&(Y("id",o.panel._headerId)("tabindex",o.tabIndex)("aria-controls",o._getPanelId())("aria-expanded",o._isExpanded())("aria-disabled",o.panel.disabled),Lt("height",o._getHeaderHeight()),Q("mat-expanded",o._isExpanded())("mat-expansion-toggle-indicator-after",o._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",o._getTogglePosition()==="before")("_mat-animation-noopable",o._animationMode==="NoopAnimations"))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[oe],ngContentSelectors:P$,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator"],[1,"mat-expansion-indicator"]],template:function(n,o){n&1&&($e(N$),g(0,"span",0),J(1),J(2,1),J(3,2),p(),V(4,F$,1,1,"span",1)),n&2&&(Q("mat-content-hide-toggle",!o._showToggle()),_(4),Ae(4,o._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[OI.indicatorRotate]},changeDetection:0});let i=e;return i})(),xm=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=R({type:e,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]});let i=e;return i})(),Ba=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=R({type:e,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]});let i=e;return i})(),za=(()=>{let e=class e extends TI{constructor(){super(...arguments),this._ownHeaders=new Zr,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=Te(t)}ngAfterContentInit(){this._headers.changes.pipe(gt(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(n=>n.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Zh(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Gt(e)))(o||e)}})(),e.\u0275dir=R({type:e,selectors:[["mat-accordion"]],contentQueries:function(n,o,s){if(n&1&&Le(s,ys,5),n&2){let a;$(a=H())&&(o._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(n,o){n&2&&Q("mat-accordion-multi",o.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[ke([{provide:vv,useExisting:e}]),oe]});let i=e;return i})(),$a=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[se,AI,Xi]});let i=e;return i})();function B$(i,e){i&1&&(g(0,"div"),k(1,"mat-progress-bar",1),p())}function z$(i,e){i&1&&(g(0,"div"),x(1,` Platform is not configured. Please set required parameters on Configuration page +`),p())}function $$(i,e){if(i&1&&(g(0,"div")(1,"mat-accordion",2)(2,"mat-expansion-panel",3)(3,"mat-expansion-panel-header")(4,"mat-panel-title"),x(5," Sync planned workouts "),p(),g(6,"mat-panel-description")(7,"div",4),x(8," Copy workouts between Intervals and TrainingPeaks calendars "),p()()(),k(9,"tp-copy-calendar-to-calendar"),p(),g(10,"mat-expansion-panel")(11,"mat-expansion-panel-header")(12,"mat-panel-title"),x(13," Copy plan or workout library "),p(),g(14,"mat-panel-description"),x(15," Copy whole training plan or workout library from TrainingPeaks to Intervals "),p()(),k(16,"tp-copy-library-container"),p(),g(17,"mat-expansion-panel",3)(18,"mat-expansion-panel-header")(19,"mat-panel-title"),x(20," Copy planned workouts to library "),p(),g(21,"mat-panel-description")(22,"div",4),x(23," Copy workouts from TrainingPeaks calendar to Intervals workout library "),p()()(),k(24,"tp-copy-calendar-to-library"),p()()()),i&2){let r=j();_(2),y("disabled",!r.platformInfo.isAthlete),_(5),y("matTooltipDisabled",r.platformInfo.isAthlete),_(10),y("disabled",!r.platformInfo.isAthlete),_(5),y("matTooltipDisabled",r.platformInfo.isAthlete)}}var PI=(()=>{let e=class e{constructor(t){this.configurationClient=t,this.platformInfo=void 0}ngOnInit(){this.configurationClient.platformInfo(Xe.TRAINING_PEAKS.key).subscribe(t=>{this.platformInfo=t})}};e.\u0275fac=function(n){return new(n||e)(h(yn))},e.\u0275cmp=P({type:e,selectors:[["app-training-peaks"]],standalone:!0,features:[Ce],decls:3,vars:3,consts:[[4,"ngIf"],["mode","query"],["multi",""],[3,"disabled"],["matTooltip","Not available for TP coach account","matTooltipPosition","right",3,"matTooltipDisabled"]],template:function(n,o){n&1&&V(0,B$,2,0,"div",0)(1,z$,2,0,"div",0)(2,$$,25,4,"div",0),n&2&&(y("ngIf",!o.platformInfo),_(1),y("ngIf",(o.platformInfo==null?null:o.platformInfo.isValid)===!1),_(1),y("ngIf",o.platformInfo==null?null:o.platformInfo.isValid))},dependencies:[uI,II,SI,$a,za,vs,ys,Ba,xm,jt,Ot,si,mr,hr]});let i=e;return i})();var H$=["panel"];function U$(i,e){if(i&1){let r=ni();g(0,"div",0,1),L("@panelAnimation.done",function(n){rt(r);let o=j();return ot(o._animationDone.next(n))}),J(2),p()}if(i&2){let r=e.id,t=j();y("id",t.id)("ngClass",t._classList)("@panelAnimation",t.isOpen?"visible":"hidden"),Y("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(r))}}var q$=["*"],G$=Yt("panelAnimation",[Dt("void, hidden",Re({opacity:0,transform:"scaleY(0.8)"})),ft(":enter, hidden => visible",[pD([mt("0.03s linear",Re({opacity:1})),mt("0.12s cubic-bezier(0, 0, 0.2, 1)",Re({transform:"scaleY(1)"}))])]),ft(":leave, visible => hidden",[mt("0.075s linear",Re({opacity:0}))])]),W$=0,wv=class{constructor(e,r){this.source=e,this.option=r}},LI=new I("mat-autocomplete-default-options",{providedIn:"root",factory:Y$});function Y$(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var VI=(()=>{let e=class e{get isOpen(){return this._isOpen&&this.showPanel}_setColor(t){this._color=t,this._setThemeClasses(this._classList)}set classList(t){t&&t.length?this._classList=qh(t).reduce((n,o)=>(n[o]=!0,n),{}):this._classList={},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}constructor(t,n,o,s){this._changeDetectorRef=t,this._elementRef=n,this._defaults=o,this._activeOptionChanges=ie.EMPTY,this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new O,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new O,this.opened=new O,this.closed=new O,this.optionActivated=new O,this._classList={},this.id=`mat-autocomplete-${W$++}`,this.inertGroups=s?.SAFARI||!1,this.autoActiveFirstOption=!!o.autoActiveFirstOption,this.autoSelectActiveOption=!!o.autoSelectActiveOption,this.requireSelection=!!o.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new ya(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){let n=new wv(this,t);this.optionSelected.emit(n)}_getPanelAriaLabelledby(t){if(this.ariaLabel)return null;let n=t?t+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:t}_setVisibilityClasses(t){t[this._visibleClass]=this.showPanel,t[this._hiddenClass]=!this.showPanel}_setThemeClasses(t){t["mat-primary"]=this._color==="primary",t["mat-warn"]=this._color==="warn",t["mat-accent"]=this._color==="accent"}_skipPredicate(){return!1}};e.\u0275fac=function(n){return new(n||e)(h(Ie),h(F),h(LI),h(ve))},e.\u0275cmp=P({type:e,selectors:[["mat-autocomplete"]],contentQueries:function(n,o,s){if(n&1&&(Le(s,Ai,5),Le(s,Cc,5)),n&2){let a;$(a=H())&&(o.options=a),$(a=H())&&(o.optionGroups=a)}},viewQuery:function(n,o){if(n&1&&(be(Pt,7),be(H$,5)),n&2){let s;$(s=H())&&(o.template=s.first),$(s=H())&&(o.panel=s.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:["autoActiveFirstOption","autoActiveFirstOption",ge],autoSelectActiveOption:["autoSelectActiveOption","autoSelectActiveOption",ge],requireSelection:["requireSelection","requireSelection",ge],panelWidth:"panelWidth",disableRipple:["disableRipple","disableRipple",ge],classList:["class","classList"],hideSingleSelectionIndicator:["hideSingleSelectionIndicator","hideSingleSelectionIndicator",ge]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[ke([{provide:wc,useExisting:e}]),Je],ngContentSelectors:q$,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(n,o){n&1&&($e(),V(0,U$,3,5,"ng-template"))},dependencies:[Rr],styles:["div.mat-mdc-autocomplete-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[G$]},changeDetection:0});let i=e;return i})();var Q$={provide:Nn,useExisting:qt(()=>Cv),multi:!0};var jI=new I("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let i=C(Ve);return()=>i.scrollStrategies.reposition()}});function K$(i){return()=>i.scrollStrategies.reposition()}var Z$={provide:jI,deps:[Ve],useFactory:K$},Cv=(()=>{let e=class e{constructor(t,n,o,s,a,l,c,d,u,m,f){this._element=t,this._overlay=n,this._viewContainerRef=o,this._zone=s,this._changeDetectorRef=a,this._dir=c,this._formField=d,this._document=u,this._viewportRuler=m,this._defaults=f,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=ie.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new S,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=rn(()=>{let b=this.autocomplete?this.autocomplete.options:null;return b?b.changes.pipe(gt(b),Ye(()=>it(...b.map(w=>w.onSelectionChange)))):this._zone.onStable.pipe(Ee(1),Ye(()=>this.optionSelections))}),this._handlePanelKeydown=b=>{(b.keyCode===27&&!We(b)||b.keyCode===38&&We(b,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),b.stopPropagation(),b.preventDefault())},this._trackedModal=null,this._scrollStrategy=l}ngAfterViewInit(){let t=this._getWindow();typeof t<"u"&&this._zone.runOutsideAngular(()=>t.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let t=this._getWindow();typeof t<"u"&&t.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){if(this._attachOverlay(),this._floatLabel(),this._trackedModal){let t=this.autocomplete.id;Ca(this._trackedModal,"aria-owns",t)}}closePanel(){if(this._resetLabel(),!!this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal)){let t=this.autocomplete.id;fo(this._trackedModal,"aria-owns",t)}}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return it(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(de(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(de(()=>this._overlayAttached)):Z()).pipe(U(t=>t instanceof yc?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return it($n(this._document,"click"),$n(this._document,"auxclick"),$n(this._document,"touchend")).pipe(de(t=>{let n=Wi(t),o=this._formField?this._formField._elementRef.nativeElement:null,s=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&n!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!o||!o.contains(n))&&(!s||!s.contains(n))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(n)}))}writeValue(t){Promise.resolve(null).then(()=>this._assignOptionValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){let n=t.keyCode,o=We(t);if(n===27&&!o&&t.preventDefault(),this.activeOption&&n===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){let s=this.autocomplete._keyManager.activeItem,a=n===38||n===40;n===9||a&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(t):a&&this._canOpen()&&this.openPanel(),(a||this.autocomplete._keyManager.activeItem!==s)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(t){let n=t.target,o=n.value;if(n.type==="number"&&(o=o==""?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),!o)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let s=this.autocomplete.options?.find(a=>a.selected);if(s){let a=this.autocomplete.displayWith?.(s)??s.value;o!==a&&s.deselect(!1)}}this._canOpen()&&this._document.activeElement===t.target&&this.openPanel()}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(t=!1){this._formField&&this._formField.floatLabel==="auto"&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let t=this._zone.onStable.pipe(Ee(1)),n=this.autocomplete.options.changes.pipe(qe(()=>this._positionStrategy.reapplyLastPosition()),Km(0));return it(t,n).pipe(Ye(()=>(this._zone.run(()=>{let o=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),Ee(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(t){let n=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t;t==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(n??"")}_updateNativeInputValue(t){this._formField?this._formField._control.value=t:this._element.nativeElement.value=t,this._previousValue=t}_setValueAndClose(t){let n=this.autocomplete,o=t?t.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),n._emitSelectEvent(o),this._element.nativeElement.focus()):n.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),n._animationDone?n._animationDone.pipe(Ee(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(t,n){this.autocomplete?.options?.forEach(o=>{o!==t&&o.selected&&o.deselect(n)})}_attachOverlay(){this.autocomplete;let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new Fi(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})})),t&&!t.hasAttached()&&(t.attach(this._portal),this._valueOnAttach=this._element.nativeElement.value,this._closingActionsSubscription=this._subscribeToClosingActions());let n=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&n!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let t=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=t.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=t.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new bn({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){let n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,s=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],a;this.position==="above"?a=s:this.position==="below"?a=n:a=[...n,...s],t.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let t=this.autocomplete;if(t.autoActiveFirstOption){let n=-1;for(let o=0;o .cdk-overlay-container [aria-modal="true"]');if(!t)return;let n=this.autocomplete.id;this._trackedModal&&fo(this._trackedModal,"aria-owns",n),Ca(t,"aria-owns",n),this._trackedModal=t}_clearFromModal(){if(this._trackedModal){let t=this.autocomplete.id;fo(this._trackedModal,"aria-owns",t),this._trackedModal=null}}};e.\u0275fac=function(n){return new(n||e)(h(F),h(Ve),h(vt),h(N),h(Ie),h(jI),h(It,8),h(lr,9),h(q,8),h(yo),h(LI,8))},e.\u0275dir=R({type:e,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(n,o){n&1&&L("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(a){return o._handleInput(a)})("keydown",function(a){return o._handleKeydown(a)})("click",function(){return o._handleClick()}),n&2&&Y("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||o.autocomplete==null?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled",ge]},exportAs:["matAutocompleteTrigger"],features:[ke([Q$]),Je,Oe]});let i=e;return i})(),BI=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({providers:[Z$],imports:[vn,_o,se,fi,dr,_o,se]});let i=e;return i})();function J$(i,e){if(i&1&&(g(0,"mat-option",13),x(1),p()),i&2){let r=e.$implicit,t=j();y("value",r),_(1),Ke(t.getWorkoutDetailsName(r))}}function eH(i,e){i&1&&(g(0,"mat-option",14),x(1," Not found "),p())}function tH(i,e){i&1&&k(0,"mat-progress-bar",15)}function iH(i,e){if(i&1&&(g(0,"mat-option",13),x(1),p()),i&2){let r=e.$implicit;y("value",r.value),_(1),mg(" ",r.name," (",r.value.isPlan?"plan, ":"","workouts: ",r.value.workoutsAmount,") ")}}function nH(i,e){i&1&&k(0,"mat-progress-bar",15)}var zI=(()=>{let e=class e{constructor(t,n,o,s){this.formBuilder=t,this.workoutClient=n,this.planClient=o,this.notificationService=s,this.formGroup=this.formBuilder.group({trWorkoutDetails:[null,[ee.required,ee.minLength(3)]],intervalsPlan:[null,ee.required]}),this.searchInProgress=!1,this.submitInProgress=!1,this.direction=Xe.DIRECTION_TR_INT}ngOnInit(){this.loadPlans(),this.subscribeOnWorkoutNameChange()}copyWorkoutSubmit(){this.submitInProgress=!0;let t=this.formGroup.value.trWorkoutDetails,n=this.formGroup.value.intervalsPlan;console.log(this.formGroup.getRawValue()),this.workoutClient.copyLibraryToLibrary(t.externalData,n,this.direction).pipe(nt(()=>this.submitInProgress=!1)).subscribe(o=>{this.notificationService.success("Copied successfully")})}getWorkoutDetailsName(t){return t?`${t.name} (Duration: ${t.duration||"0"}, Load: ${t.load})`:""}loadPlans(){this.formGroup.disable(),this.intervalsLibraryItem=this.planClient.getLibraries(Xe.INTERVALS.key).pipe(U(t=>t.map(n=>({name:n.name,value:n}))),nt(()=>{this.formGroup.enable()}))}subscribeOnWorkoutNameChange(){this.workouts=this.formGroup.controls.trWorkoutDetails.valueChanges.pipe(Hn(500),de(()=>this.formGroup.controls.trWorkoutDetails.valid),qe(()=>{this.searchInProgress=!0}),Ye(t=>this.workoutClient.findWorkoutsByName(Xe.TRAINER_ROAD.key,t).pipe(nt(()=>{this.searchInProgress=!1}))))}};e.\u0275fac=function(n){return new(n||e)(h(fn),h(Eo),h(ym),h(Pi))},e.\u0275cmp=P({type:e,selectors:[["tr-copy-library-to-library"]],standalone:!0,features:[Ce],decls:28,vars:13,consts:[["novalidate","",3,"formGroup","ngSubmit"],[1,"row"],["id","tr-workout-name",1,"form-field"],["type","text","matInput","","formControlName","trWorkoutDetails",3,"matAutocomplete"],[3,"displayWith"],["workoutAutocomplete","matAutocomplete"],["disabled","",4,"ngIf"],["mode","query",4,"ngIf"],[1,"form-field"],["formControlName","intervalsPlan","panelWidth","null"],[1,"action-button-section"],["mat-raised-button","","id","btn-confirm","color","primary","type","submit",3,"disabled"],["mat-raised-button","","color","primary","type","reset",2,"margin-left","10px"],[3,"value"],["disabled",""],["mode","query"]],template:function(n,o){if(n&1&&(g(0,"form",0),L("ngSubmit",function(){return o.copyWorkoutSubmit()}),g(1,"div",1)(2,"mat-form-field",2)(3,"mat-label"),x(4,"TrainerRoad workout name"),p(),k(5,"input",3),g(6,"mat-autocomplete",4,5),xt(8,J$,2,2,"mat-option",13,yt),Ks(10,"async"),V(11,eH,2,0,"mat-option",6),Ks(12,"async"),p(),V(13,tH,1,0,"mat-progress-bar",7),p()(),g(14,"div",1)(15,"mat-form-field",8)(16,"mat-label"),x(17,"Intervals.icu library"),p(),g(18,"mat-select",9),xt(19,iH,2,4,"mat-option",13,yt),Ks(21,"async"),p()()(),g(22,"div",10)(23,"button",11),x(24," Confirm "),p(),g(25,"button",12),x(26," Reset "),p()(),V(27,nH,1,0,"mat-progress-bar",7),p()),n&2){let s=Vt(7),a;y("formGroup",o.formGroup),_(5),y("matAutocomplete",s),_(1),y("displayWith",o.getWorkoutDetailsName),_(2),wt(Zs(10,7,o.workouts)),_(3),y("ngIf",((a=Zs(12,9,o.workouts))==null?null:a.length)===0&&!o.searchInProgress),_(2),y("ngIf",o.searchInProgress),_(6),wt(Zs(21,11,o.intervalsLibraryItem)),_(4),y("disabled",o.formGroup.invalid||o.formGroup.disabled||o.submitInProgress),_(4),y("ngIf",o.submitInProgress)}},dependencies:[ko,ki,mn,Ei,un,hn,at,St,Tt,_n,Ri,oi,cr,ri,Et,Gi,Ot,si,jt,Ni,Mi,ai,li,ur,Ai,ci,qu,BI,VI,Cv]});let i=e;return i})();function rH(i,e){if(i&1&&(g(0,"mat-option",14),x(1),p()),i&2){let r=e.$implicit;y("value",r.value),_(1),Ke(r.name)}}function oH(i,e){i&1&&k(0,"mat-progress-bar",15)}var $I=(()=>{let e=class e{constructor(t,n,o){this.formBuilder=t,this.workoutClient=n,this.notificationService=o,this.selectedTrainingTypes=["BIKE","VIRTUAL_BIKE","MTB","RUN"],this.direction=Xe.DIRECTION_TR_INT,this.planType=[{name:"Plan",value:!0},{name:"Folder",value:!1}],this.trainingTypes=[{title:"Ride",value:"BIKE"},{title:"Virtual Ride",value:"VIRTUAL_BIKE"},{title:"Unknown",value:"UNKNOWN"}],this.formGroup=this.formBuilder.group({name:["My New Library",ee.required],trainingTypes:[this.selectedTrainingTypes,ee.required],startDate:[null,ee.required],endDate:[null,ee.required],isPlan:[!0,ee.required]}),this.inProgress=!1}ngOnInit(){}copyWorkoutsSubmit(){this.inProgress=!0;let t=this.formGroup.value.name,n=this.formGroup.value.trainingTypes,o=tn(this.formGroup.value.startDate),s=tn(this.formGroup.value.endDate),a=this.formGroup.value.isPlan;this.workoutClient.copyCalendarToLibrary(t,o,s,n,this.direction,a).pipe(nt(()=>this.inProgress=!1)).subscribe(l=>{this.notificationService.success(`Copied: ${l.copied} + Filtered out: ${l.filteredOut} + From ${l.startDate} to ${l.endDate}`)})}};e.\u0275fac=function(n){return new(n||e)(h(fn),h(Eo),h(Pi))},e.\u0275cmp=P({type:e,selectors:[["tr-copy-calendar-to-library"]],standalone:!0,features:[Ce],decls:29,vars:5,consts:[["novalidate","",3,"formGroup","ngSubmit"],[1,"row"],[1,"form-field"],[3,"rangePicker"],["matStartDate","","placeholder","Start Date","formControlName","startDate"],["matEndDate","","placeholder","End Date","formControlName","endDate"],["matIconSuffix","",3,"for"],["copyPlanDatePicker",""],["matInput","","placeholder","My New Plan","formControlName","name"],["formControlName","isPlan"],[1,"action-button-section"],["mat-raised-button","","id","btn-confirm","color","primary","type","submit",3,"disabled"],["mat-raised-button","","color","primary","type","reset",2,"margin-left","10px"],["mode","query",4,"ngIf"],[3,"value"],["mode","query"]],template:function(n,o){if(n&1&&(g(0,"form",0),L("ngSubmit",function(){return o.copyWorkoutsSubmit()}),g(1,"div",1)(2,"mat-form-field",2)(3,"mat-label"),x(4,"Date Range"),p(),g(5,"mat-date-range-input",3),k(6,"input",4)(7,"input",5),p(),k(8,"mat-datepicker-toggle",6)(9,"mat-date-range-picker",null,7),p()(),g(11,"div",1)(12,"mat-form-field",2)(13,"mat-label"),x(14,"Library name"),p(),k(15,"input",8),p()(),g(16,"div",1)(17,"mat-form-field",2)(18,"mat-label"),x(19,"Save as"),p(),g(20,"mat-select",9),xt(21,rH,2,2,"mat-option",14,yt),p()()(),g(23,"div",10)(24,"button",11),x(25," Confirm "),p(),g(26,"button",12),x(27," Reset "),p()(),V(28,oH,1,0,"mat-progress-bar",13),p()),n&2){let s=Vt(10);y("formGroup",o.formGroup),_(5),y("rangePicker",s),_(3),y("for",s),_(13),wt(o.planType),_(3),y("disabled",o.formGroup.invalid||o.inProgress),_(4),y("ngIf",o.inProgress)}},dependencies:[ko,ki,mn,Ei,un,hn,at,St,Tt,_n,Ri,bo,oi,cr,ri,Et,Gi,Ot,si,jt,Ni,Do,Oa,ps,gs,Fa,Mi,ai,li,ur,Ai,ci]});let i=e;return i})();var HI=(()=>{let e=class e{constructor(){this.Platform=Xe,this.directions=[{title:"TrainerRoad -> TrainingPeaks",value:Xe.DIRECTION_TR_TP},{title:"TrainerRoad -> Intervals.icu",value:Xe.DIRECTION_TR_INT}],this.trainingTypes=[{title:"Ride",value:"BIKE"},{title:"Virtual Ride",value:"VIRTUAL_BIKE"},{title:"Unknown",value:"UNKNOWN"}]}ngOnInit(){}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=P({type:e,selectors:[["tr-copy-calendar-to-calendar"]],standalone:!0,features:[Ce],decls:1,vars:2,consts:[[3,"directions","trainingTypes"]],template:function(n,o){n&1&&k(0,"copy-calendar-to-calendar",0),n&2&&y("directions",o.directions)("trainingTypes",o.trainingTypes)},dependencies:[ki,at,Tt,oi,ri,Ot,Ni,Mi,ai,li,ci,Pa,La,bm]});let i=e;return i})();function sH(i,e){i&1&&(g(0,"div"),k(1,"mat-progress-bar",1),p())}function aH(i,e){i&1&&(g(0,"div"),x(1,` Platform is not configured. Please set required parameters on Configuration page +`),p())}function lH(i,e){i&1&&(g(0,"div")(1,"mat-accordion",2)(2,"mat-expansion-panel")(3,"mat-expansion-panel-header")(4,"mat-panel-title"),x(5," Sync planned workouts "),p(),g(6,"mat-panel-description")(7,"div"),x(8," Copy workouts from TrainerRoad to another platform calendar "),p()()(),k(9,"tr-copy-calendar-to-calendar"),p(),g(10,"mat-expansion-panel")(11,"mat-expansion-panel-header")(12,"mat-panel-title"),x(13," Copy workout "),p(),g(14,"mat-panel-description"),x(15," Copy workout from TrainerRoad library to Intervals workout library "),p()(),k(16,"tr-copy-library-to-library"),p(),g(17,"mat-expansion-panel")(18,"mat-expansion-panel-header")(19,"mat-panel-title"),x(20," Copy planned workouts to library "),p(),g(21,"mat-panel-description"),x(22," Copy workouts from TrainerRoad calendar to Intervals workout library "),p()(),k(23,"tr-copy-calendar-to-library"),p()()())}var UI=(()=>{let e=class e{constructor(t){this.configurationClient=t,this.platformInfo=void 0,this.platform=Xe.TRAINER_ROAD}ngOnInit(){this.configurationClient.platformInfo(this.platform.key).subscribe(t=>{this.platformInfo=t})}};e.\u0275fac=function(n){return new(n||e)(h(yn))},e.\u0275cmp=P({type:e,selectors:[["app-trainer-road"]],standalone:!0,features:[Ce],decls:3,vars:3,consts:[[4,"ngIf"],["mode","query"],["multi",""]],template:function(n,o){n&1&&V(0,sH,2,0,"div",0)(1,aH,2,0,"div",0)(2,lH,24,0,"div",0),n&2&&(y("ngIf",!o.platformInfo),_(1),y("ngIf",(o.platformInfo==null?null:o.platformInfo.isValid)===!1),_(1),y("ngIf",o.platformInfo==null?null:o.platformInfo.isValid))},dependencies:[jt,$a,za,vs,ys,Ba,xm,Ot,si,zI,$I,HI]});let i=e;return i})();var qI=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=P({type:e,selectors:[["app-home"]],standalone:!0,features:[Ce],decls:4,vars:0,template:function(n,o){n&1&&(g(0,"p"),x(1,` Third Party to Intervals. Copy your workouts from TrainerRoad and TrainingPeaks to Intervals.icu +`),p(),g(2,"p"),x(3,` Choose a platform from the top bar +`),p())}});let i=e;return i})();function cH(i,e){i&1&&k(0,"mat-progress-bar",21)}function dH(i,e){i&1&&(g(0,"mat-error"),x(1,"Must be in format Production_tpAuth=[a-zA-Z0-9-_]*"),p())}function uH(i,e){i&1&&(g(0,"mat-error"),x(1,"Must be in format SharedTrainerRoadAuth=..."),p())}function hH(i,e){i&1&&(g(0,"div",22),x(1," Log location:"),k(2,"br"),x(3," Linux: ~/.config/tp2intervals/logs/main.log"),k(4,"br"),x(5," MacOS: ~/Library/Logs/tp2intervals/main.log"),k(6,"br"),x(7," Windows: %USERPROFILE%\\AppData\\Roaming\\tp2intervals\\logs\\main.log"),k(8,"br"),x(9," JAR: ./tp2intervals.log"),k(10,"br"),p())}var GI=(()=>{let e=class e{constructor(t,n,o,s){this.router=t,this.formBuilder=n,this.configClient=o,this.notificationService=s,this.formGroup=this.formBuilder.group({"intervals.api-key":[null,ee.required],"intervals.athlete-id":[null,ee.required],"intervals.power-range":[null,[ee.required,ee.min(0),ee.max(100)]],"intervals.hr-range":[null,[ee.required,ee.min(0),ee.max(100)]],"intervals.pace-range":[null,[ee.required,ee.min(0),ee.max(100)]],"training-peaks.auth-cookie":[null,[ee.pattern("^Production_tpAuth=[a-zA-Z0-9-_]*$")]],"trainer-road.auth-cookie":[null,[ee.pattern("^SharedTrainerRoadAuth=.*$")]],"trainer-road.remove-html-tags":[null,ee.required],"general.debug-mode":[null,ee.required]}),this.inProgress=!1}ngOnInit(){this.inProgress=!0,this.configClient.getConfig().subscribe(t=>{this.formGroup.patchValue(t.config),this.inProgress=!1,this.listenTrainingPeaksCookie(),this.listenTrainerRoadCookie()})}onSubmit(){this.inProgress=!0;let t=new Va(this.formGroup.getRawValue());console.log(t),this.configClient.updateConfig(t).pipe(nt(()=>this.inProgress=!1)).subscribe(()=>{this.notificationService.success("Configuration successfully saved"),this.router.navigate(["/home"])})}listenTrainerRoadCookie(){this.formGroup.controls["trainer-road.auth-cookie"].valueChanges.subscribe(t=>{let n=t.split("SharedTrainerRoadAuth=");if(n.length!=2)return;let s=`SharedTrainerRoadAuth=${n[1].split(";")[0]}`;t!==s&&this.formGroup.controls["trainer-road.auth-cookie"].setValue(s)})}listenTrainingPeaksCookie(){this.formGroup.controls["training-peaks.auth-cookie"].valueChanges.subscribe(t=>{let n=t.split("Production_tpAuth=");if(n.length!=2)return;let s=`Production_tpAuth=${n[1].split(";")[0]}`;t!==s&&this.formGroup.controls["training-peaks.auth-cookie"].setValue(s)})}};e.\u0275fac=function(n){return new(n||e)(h(Fr),h(fn),h(yn),h(Pi))},e.\u0275cmp=P({type:e,selectors:[["app-configuration"]],standalone:!0,features:[Ce],decls:65,vars:6,consts:[["mode","query",4,"ngIf"],["novalidate","",3,"formGroup","ngSubmit"],["href","https://github.com/freekode/tp2intervals?tab=readme-ov-file#intervalsicu","target","_blank"],["matTooltip","How to configure","matTooltipPosition","right",1,"bi","bi-question-circle"],[1,"full-width"],["matInput","","placeholder","123456qwerty123456qwerty1","formControlName","intervals.api-key"],["matInput","","placeholder","i00000","formControlName","intervals.athlete-id"],["matInput","","type","number","placeholder","5.0","formControlName","intervals.power-range"],["matInput","","type","number","placeholder","5.0","formControlName","intervals.hr-range"],["matInput","","type","number","placeholder","5.0","formControlName","intervals.pace-range"],["href","https://github.com/freekode/tp2intervals?tab=readme-ov-file#trainingpeaks","target","_blank"],["matInput","","placeholder","Production_tpAuth=very_long_string","formControlName","training-peaks.auth-cookie"],["href","https://github.com/freekode/tp2intervals?tab=readme-ov-file#trainerroad","target","_blank"],["matInput","","placeholder","TrainerRoadAuth=very_long_string","formControlName","trainer-road.auth-cookie"],["formControlName","trainer-road.remove-html-tags",1,"form-checkbox"],["matTooltip","Beta feature","matTooltipPosition","right",1,"bi","bi-stars","beta-icon"],[1,"row"],["formControlName","general.debug-mode",1,"form-checkbox"],["class","row","style","margin-bottom: 20px",4,"ngIf"],[1,"row","action-button-section"],["mat-raised-button","","color","primary","type","submit",3,"disabled"],["mode","query"],[1,"row",2,"margin-bottom","20px"]],template:function(n,o){n&1&&(V(0,cH,1,0,"mat-progress-bar",0),g(1,"form",1),L("ngSubmit",function(){return o.onSubmit()}),g(2,"div")(3,"h2"),x(4," Intervals.icu "),g(5,"a",2),k(6,"i",3),p()(),g(7,"mat-form-field",4)(8,"mat-label"),x(9,"Intervals API Key"),p(),k(10,"input",5),p(),g(11,"mat-form-field",4)(12,"mat-label"),x(13,"Intervals Athlete Id"),p(),k(14,"input",6),p(),g(15,"mat-accordion")(16,"mat-expansion-panel")(17,"mat-expansion-panel-header")(18,"mat-panel-title"),x(19," Advanced properties "),p()(),g(20,"mat-form-field",4)(21,"mat-label"),x(22,"Intervals Power range percentage"),p(),k(23,"input",7),p(),g(24,"mat-form-field",4)(25,"mat-label"),x(26,"Intervals HR range percentage"),p(),k(27,"input",8),p(),g(28,"mat-form-field",4)(29,"mat-label"),x(30,"Intervals Pace range percentage"),p(),k(31,"input",9),p()()()(),g(32,"div")(33,"h2"),x(34," TrainingPeaks "),g(35,"a",10),k(36,"i",3),p()(),g(37,"mat-form-field",4)(38,"mat-label"),x(39,"TrainingPeaks Auth Cookie"),p(),k(40,"input",11),V(41,dH,2,0,"mat-error"),p()(),g(42,"div")(43,"h2"),x(44," TrainerRoad "),g(45,"a",12),k(46,"i",3),p()(),g(47,"mat-form-field",4)(48,"mat-label"),x(49,"TrainerRoad Auth Cookie"),p(),k(50,"input",13),V(51,uH,2,0,"mat-error"),p(),g(52,"mat-checkbox",14),x(53," Remove HTML tags from description "),p(),k(54,"i",15),p(),g(55,"div")(56,"h2"),x(57,"General"),p(),g(58,"div",16)(59,"mat-checkbox",17),x(60," Debug Mode "),p()(),V(61,hH,11,0,"div",18),p(),g(62,"div",19)(63,"button",20),x(64," Confirm "),p()()()),n&2&&(y("ngIf",o.inProgress),_(1),y("formGroup",o.formGroup),_(40),Ae(41,o.formGroup.controls["training-peaks.auth-cookie"].errors!=null&&o.formGroup.controls["training-peaks.auth-cookie"].errors.pattern?41:-1),_(10),Ae(51,o.formGroup.controls["trainer-road.auth-cookie"].errors!=null&&o.formGroup.controls["trainer-road.auth-cookie"].errors.pattern?51:-1),_(10),y("ngIf",o.formGroup.controls["general.debug-mode"].value),_(2),y("disabled",o.formGroup.invalid||o.inProgress))},dependencies:[ri,mn,Ei,W_,un,hn,Et,Gi,Tt,_n,Ri,gk,oi,cr,at,St,Ot,si,ai,jt,ci,Nc,_o,li,$a,za,vs,ys,Ba,mr,hr],styles:[".full-width[_ngcontent-%COMP%]{width:100%}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.col[_ngcontent-%COMP%]{flex:1}.error-message[_ngcontent-%COMP%]{margin-left:10px;color:red}form[_ngcontent-%COMP%]{padding:10px}.form-checkbox[_ngcontent-%COMP%]{padding-bottom:22px}"]});let i=e;return i})();function wm(){let i=C(yn),e=C(Fr);return i.getConfig().pipe(U(r=>r.hasRequiredConfig()?!0:(e.navigate(["/config"]),!1)))}var WI=[{path:"home",component:qI,canActivate:[wm]},{path:"training-peaks",component:PI,canActivate:[wm]},{path:"trainer-road",component:UI,canActivate:[wm]},{path:"config",component:GI},{path:"",redirectTo:"/home",pathMatch:"full"}];var Cm=(()=>{let e=class e{constructor(t){this.httpClient=t,this.electronPort=44864}getAddress(){return window.electron?`http://localhost:${this.electronPort}`:""}getVersion(){return this.httpClient.get("/actuator/info").pipe(U(t=>t.build.version))}};e.\u0275fac=function(n){return new(n||e)(v(On))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var YI=(i,e)=>{let r=C(Pi);return e(i).pipe(kn(t=>{let n=t.error?.message?t.error.message:t.message,o=t.error?.platform,s;return o?s=`${o}: ${n}`:s=n,r.error(s),Hr(()=>t)}))},QI=(i,e)=>{let t=C(Cm).getAddress(),n=i.url.replace(/^\/|\/$/g,"");t&&!n.startsWith("http")&&(n=`${t}/${n}`);let o=i.clone({url:n});return e(o)};var KI={providers:[hD(WI,mD()),SE(),wD(),xC(wC([YI,QI]))]};var fH=["*",[["mat-toolbar-row"]]],pH=["*","mat-toolbar-row"],gH=ka(class{constructor(i){this._elementRef=i}}),_H=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=R({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]});let i=e;return i})(),ZI=(()=>{let e=class e extends gH{constructor(t,n,o){super(t),this._platform=n,this._document=o}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}};e.\u0275fac=function(n){return new(n||e)(h(F),h(ve),h(q))},e.\u0275cmp=P({type:e,selectors:[["mat-toolbar"]],contentQueries:function(n,o,s){if(n&1&&Le(s,_H,5),n&2){let a;$(a=H())&&(o._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(n,o){n&2&&Q("mat-toolbar-multiple-rows",o._toolbarRows.length>0)("mat-toolbar-single-row",o._toolbarRows.length===0)},inputs:{color:"color"},exportAs:["matToolbar"],features:[oe],ngContentSelectors:pH,decls:2,vars:0,template:function(n,o){n&1&&($e(fH),J(0),J(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0});let i=e;return i})();var XI=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[se,se]});let i=e;return i})();var vH=0,JI="mat-badge-content",eS=(()=>{let e=class e{get color(){return this._color}set color(t){this._setColor(t),this._color=t}get content(){return this._content}set content(t){this._updateRenderedContent(t)}get description(){return this._description}set description(t){this._updateDescription(t)}constructor(t,n,o,s,a){this._ngZone=t,this._elementRef=n,this._ariaDescriber=o,this._renderer=s,this._animationMode=a,this._color="primary",this.overlap=!0,this.position="above after",this.size="medium",this._id=vH++,this._isInitialized=!1,this._interactivityChecker=C(ds),this._document=C(q)}isAbove(){return this.position.indexOf("below")===-1}isAfter(){return this.position.indexOf("before")===-1}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){let t=this._renderer.createElement("span"),n="mat-badge-active";return t.setAttribute("id",`mat-badge-content-${this._id}`),t.setAttribute("aria-hidden","true"),t.classList.add(JI),this._animationMode==="NoopAnimations"&&t.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(t),typeof requestAnimationFrame=="function"&&this._animationMode!=="NoopAnimations"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{t.classList.add(n)})}):t.classList.add(n),t}_updateRenderedContent(t){let n=`${t??""}`.trim();this._isInitialized&&n&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=n),this._content=n}_updateDescription(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!t||this._isHostInteractive())&&this._removeInlineDescription(),this._description=t,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,t):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(t){let n=this._elementRef.nativeElement.classList;n.remove(`mat-badge-${this._color}`),t&&n.add(`mat-badge-${t}`)}_clearExistingBadges(){let t=this._elementRef.nativeElement.querySelectorAll(`:scope > .${JI}`);for(let n of Array.from(t))n!==this._badgeElement&&n.remove()}};e.\u0275fac=function(n){return new(n||e)(h(N),h(F),h(Xh),h(Jn),h(Me,8))},e.\u0275dir=R({type:e,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(n,o){n&2&&Q("mat-badge-overlap",o.overlap)("mat-badge-above",o.isAbove())("mat-badge-below",!o.isAbove())("mat-badge-before",!o.isAfter())("mat-badge-after",o.isAfter())("mat-badge-small",o.size==="small")("mat-badge-medium",o.size==="medium")("mat-badge-large",o.size==="large")("mat-badge-hidden",o.hidden||!o.content)("mat-badge-disabled",o.disabled)},inputs:{color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap",ge],disabled:["matBadgeDisabled","disabled",ge],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden",ge]},features:[Je]});let i=e;return i})(),tS=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=z({type:e}),e.\u0275inj=B({imports:[Da,se,se]});let i=e;return i})();var YT=aM(GT());var WT=(()=>{let e=class e{constructor(t){this.httpClient=t}getLatestRelease(){return this.httpClient.get(`${e.url}/repos/freekode/tp2intervals/releases/latest`).pipe(U(t=>new $v(t)))}};e.url="https://api.github.com",e.\u0275fac=function(n){return new(n||e)(v(On))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),$v=class{constructor(e){this.version=e.tag_name.split("v")[1],this.url=e.html_url}};var QT=i=>[i];function g8(i,e){if(i&1&&(g(0,"button",8),x(1),p()),i&2){let r=j().$implicit;Tu("id",r.url.substring(1,100)),y("routerLink",gg(3,QT,r.url)),_(1),Ge(" ",r.name," ")}}function _8(i,e){if(i&1&&(g(0,"button",9),x(1),p()),i&2){let r=j().$implicit;Tu("id",r.url.substring(1,100)),y("routerLink",gg(3,QT,r.url)),_(1),Ge(" ",r.name," ")}}function b8(i,e){if(i&1&&V(0,g8,2,5,"button",8)(1,_8,2,5),i&2){let r=e.$implicit,t=j();Ae(0,t.router.url===r.url?0:1)}}var KT=(()=>{let e=class e{constructor(t,n,o){this.router=t,this.githubClient=n,this.environmentService=o,this.updateAvailableBadgeHidden=!0,this.githubLink="https://github.com/freekode/tp2intervals",this.menuButtons=[{name:"Home",url:"/home"},{name:"TrainingPeaks",url:"/training-peaks"},{name:"TrainerRoad",url:"/trainer-road"},{name:"Configuration",url:"/config"}]}ngOnInit(){Xa([this.githubClient.getLatestRelease(),this.environmentService.getVersion()]).subscribe(t=>{this.appVersion=t[1];let n=t[0];YT.gt(n.version,this.appVersion)&&(this.updateAvailableBadgeHidden=!1,this.githubLink=n.url),console.log(t)})}};e.\u0275fac=function(n){return new(n||e)(h(Fr),h(WT),h(Cm))},e.\u0275cmp=P({type:e,selectors:[["app-top-bar"]],standalone:!0,features:[Ce],decls:12,vars:4,consts:[["color","primary"],[1,"spacer"],["mat-button","","matTooltip","Update available","matBadge","1","matBadgeSize","small","matBadgePosition","before","matBadgeColor","accent","target","_blank",1,"github-link",3,"matBadgeHidden","matTooltipDisabled","href"],[1,"bi","bi-github"],["mat-button","","href","https://ko-fi.com/freekode","target","_blank",1,"external-link"],["src","assets/kofi.webp","alt","kofi",1,"kofi-icon"],["mat-icon-button","","href","https://forum.intervals.icu/t/tp2intervals-copy-trainingpeaks-and-trainerroad-workouts-plans-to-intervals/63375","target","_blank",1,"external-link"],[1,"bi","bi-activity"],["mat-stroked-button","",3,"id","routerLink"],["mat-flat-button","","color","primary",3,"id","routerLink"]],template:function(n,o){n&1&&(g(0,"mat-toolbar",0),xt(1,b8,2,1,null,null,yt),k(3,"span",1),g(4,"a",2)(5,"span"),x(6),p(),k(7,"i",3),p(),g(8,"a",4),k(9,"img",5),p(),g(10,"a",6),k(11,"i",7),p()()),n&2&&(_(1),wt(o.menuButtons),_(3),y("matBadgeHidden",o.updateAvailableBadgeHidden)("matTooltipDisabled",o.updateAvailableBadgeHidden)("href",o.githubLink,Qp),_(2),Ge("v",o.appVersion,""))},dependencies:[at,rk,St,ok,XI,ZI,uD,tS,eS,mr,hr],styles:[".spacer[_ngcontent-%COMP%]{flex:1 1 auto}.external-link[_ngcontent-%COMP%]{padding-top:8px}.github-link[_ngcontent-%COMP%]{font-size:20px}.github-link[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{letter-spacing:0;margin-right:15px}.kofi-icon[_ngcontent-%COMP%]{height:48px;padding-top:4px}"]});let i=e;return i})();var ZT=(()=>{let e=class e{constructor(){}ngOnInit(){}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=P({type:e,selectors:[["app-root"]],standalone:!0,features:[Ce],decls:3,vars:0,template:function(n,o){n&1&&(k(0,"app-top-bar"),g(1,"main"),k(2,"router-outlet"),p())},dependencies:[D_,KT],styles:[".progress-bar[_ngcontent-%COMP%]{height:4px}main[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:75%;max-width:1080px;margin:auto;padding:16px}"]});let i=e;return i})();TC(ZT,KI).catch(i=>console.error(i)); diff --git a/boot/src/main/resources/static/media/bootstrap-icons-OCU552PF.woff b/boot/src/main/resources/static/media/bootstrap-icons-OCU552PF.woff new file mode 100644 index 00000000..51204d27 Binary files /dev/null and b/boot/src/main/resources/static/media/bootstrap-icons-OCU552PF.woff differ diff --git a/boot/src/main/resources/static/media/bootstrap-icons-X6UQXWUS.woff2 b/boot/src/main/resources/static/media/bootstrap-icons-X6UQXWUS.woff2 new file mode 100644 index 00000000..92c48302 Binary files /dev/null and b/boot/src/main/resources/static/media/bootstrap-icons-X6UQXWUS.woff2 differ diff --git a/boot/src/main/resources/static/polyfills-LZBJRJJE.js b/boot/src/main/resources/static/polyfills-LZBJRJJE.js new file mode 100644 index 00000000..57d4c33d --- /dev/null +++ b/boot/src/main/resources/static/polyfills-LZBJRJJE.js @@ -0,0 +1,2 @@ +(function(e){let n=e.performance;function c(L){n&&n.mark&&n.mark(L)}function r(L,t){n&&n.measure&&n.measure(L,t)}c("Zone");let a=e.__Zone_symbol_prefix||"__zone_symbol__";function l(L){return a+L}let y=e[l("forceDuplicateZoneCheck")]===!0;if(e.Zone){if(y||typeof e.Zone.__symbol__!="function")throw new Error("Zone already loaded.");return e.Zone}let oe=class oe{static assertZonePatched(){if(e.Promise!==re.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=oe.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return te}static __load_patch(t,s,o=!1){if(re.hasOwnProperty(t)){if(!o&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){let v="Zone:"+t;c(v),re[t]=s(e,oe,z),r(v,v)}}get parent(){return this._parent}get name(){return this._name}constructor(t,s){this._parent=t,this._name=s?s.name||"unnamed":"",this._properties=s&&s.properties||{},this._zoneDelegate=new k(this,this._parent&&this._parent._zoneDelegate,s)}get(t){let s=this.getZoneWith(t);if(s)return s._properties[t]}getZoneWith(t){let s=this;for(;s;){if(s._properties.hasOwnProperty(t))return s;s=s._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,s){if(typeof t!="function")throw new Error("Expecting function got: "+t);let o=this._zoneDelegate.intercept(this,t,s),v=this;return function(){return v.runGuarded(o,this,arguments,s)}}run(t,s,o,v){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,s,o,v)}finally{U=U.parent}}runGuarded(t,s=null,o,v){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,s,o,v)}catch(F){if(this._zoneDelegate.handleError(this,F))throw F}}finally{U=U.parent}}runTask(t,s,o){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(t.state===H&&(t.type===K||t.type===P))return;let v=t.state!=T;v&&t._transitionTo(T,M),t.runCount++;let F=te;te=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,s,o)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{t.state!==H&&t.state!==d&&(t.type==K||t.data&&t.data.isPeriodic?v&&t._transitionTo(M,T):(t.runCount=0,this._updateTaskCount(t,-1),v&&t._transitionTo(H,T,H))),U=U.parent,te=F}}scheduleTask(t){if(t.zone&&t.zone!==this){let o=this;for(;o;){if(o===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);o=o.parent}}t._transitionTo(X,H);let s=[];t._zoneDelegates=s,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(o){throw t._transitionTo(d,X,H),this._zoneDelegate.handleError(this,o),o}return t._zoneDelegates===s&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(M,X),t}scheduleMicroTask(t,s,o,v){return this.scheduleTask(new m(N,t,s,o,v,void 0))}scheduleMacroTask(t,s,o,v,F){return this.scheduleTask(new m(P,t,s,o,v,F))}scheduleEventTask(t,s,o,v,F){return this.scheduleTask(new m(K,t,s,o,v,F))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(!(t.state!==M&&t.state!==T)){t._transitionTo(x,M,T);try{this._zoneDelegate.cancelTask(this,t)}catch(s){throw t._transitionTo(d,x),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(t,-1),t._transitionTo(H,x),t.runCount=0,t}}_updateTaskCount(t,s){let o=t._zoneDelegates;s==-1&&(t._zoneDelegates=null);for(let v=0;vL.hasTask(s,o),onScheduleTask:(L,t,s,o)=>L.scheduleTask(s,o),onInvokeTask:(L,t,s,o,v,F)=>L.invokeTask(s,o,v,F),onCancelTask:(L,t,s,o)=>L.cancelTask(s,o)};class k{constructor(t,s,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=s,this._forkZS=o&&(o&&o.onFork?o:s._forkZS),this._forkDlgt=o&&(o.onFork?s:s._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:s._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:s._interceptZS),this._interceptDlgt=o&&(o.onIntercept?s:s._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:s._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:s._invokeZS),this._invokeDlgt=o&&(o.onInvoke?s:s._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:s._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:s._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?s:s._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:s._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:s._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?s:s._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:s._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:s._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?s:s._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:s._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:s._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?s:s._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:s._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let v=o&&o.onHasTask,F=s&&s._hasTaskZS;(v||F)&&(this._hasTaskZS=v?o:b,this._hasTaskDlgt=s,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,o.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=s,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=s,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=s,this._cancelTaskCurrZone=this.zone))}fork(t,s){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,s):new _(t,s)}intercept(t,s,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,s,o):s}invoke(t,s,o,v,F){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,s,o,v,F):s.apply(o,v)}handleError(t,s){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,s):!0}scheduleTask(t,s){let o=s;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,s),o||(o=s);else if(s.scheduleFn)s.scheduleFn(s);else if(s.type==N)R(s);else throw new Error("Task is missing scheduleFn.");return o}invokeTask(t,s,o,v){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,s,o,v):s.callback.apply(o,v)}cancelTask(t,s){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,s);else{if(!s.cancelFn)throw Error("Task is not cancelable");o=s.cancelFn(s)}return o}hasTask(t,s){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,s)}catch(o){this.handleError(t,o)}}_updateTaskCount(t,s){let o=this._taskCounts,v=o[t],F=o[t]=v+s;if(F<0)throw new Error("More tasks executed then were scheduled.");if(v==0||F==0){let u={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:t};this.hasTask(this.zone,u)}}}class m{constructor(t,s,o,v,F,u){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=s,this.data=v,this.scheduleFn=F,this.cancelFn=u,!o)throw new Error("callback is not defined");this.callback=o;let f=this;t===K&&v&&v.useG?this.invoke=m.invokeTask:this.invoke=function(){return m.invokeTask.call(e,f,this,arguments)}}static invokeTask(t,s,o){t||(t=this),Q++;try{return t.runCount++,t.zone.runTask(t,s,o)}finally{Q==1&&E(),Q--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(H,X)}_transitionTo(t,s,o){if(this._state===s||this._state===o)this._state=t,t==H&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${s}'${o?" or '"+o+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let I=l("setTimeout"),Z=l("Promise"),O=l("then"),B=[],A=!1,J;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let t=J[O];t||(t=J.then),t.call(J,L)}else e[I](L,0)}function R(L){Q===0&&B.length===0&&q(E),L&&B.push(L)}function E(){if(!A){for(A=!0;B.length;){let L=B;B=[];for(let t=0;tU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!_[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q},U={parent:null,zone:new _(null,null)},te=null,Q=0;function W(){}return r("Zone","Zone"),e.Zone=_})(globalThis);var me=Object.getOwnPropertyDescriptor,Ne=Object.defineProperty,Ie=Object.getPrototypeOf,it=Object.create,ct=Array.prototype.slice,Me="addEventListener",Le="removeEventListener",Se=Zone.__symbol__(Me),De=Zone.__symbol__(Le),ie="true",ce="false",pe=Zone.__symbol__("");function Ae(e,n){return Zone.current.wrap(e,n)}function je(e,n,c,r,a){return Zone.current.scheduleMacroTask(e,n,c,r,a)}var j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,at="removeAttribute";function He(e,n){for(let c=e.length-1;c>=0;c--)typeof e[c]=="function"&&(e[c]=Ae(e[c],n+"_"+c));return e}function lt(e,n){let c=e.constructor.name;for(let r=0;r{let b=function(){return _.apply(this,He(arguments,c+"."+a))};return ae(b,_),b})(l)}}}function Ye(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var $e=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]",xe=!we&&!$e&&!!(Pe&&Te.HTMLElement),Je=typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]"&&!$e&&!!(Pe&&Te.HTMLElement),be={},We=function(e){if(e=e||Y.event,!e)return;let n=be[e.type];n||(n=be[e.type]=j("ON_PROPERTY"+e.type));let c=this||e.target||Y,r=c[n],a;if(xe&&c===Te&&e.type==="error"){let l=e;a=r&&r.call(this,l.message,l.filename,l.lineno,l.colno,l.error),a===!0&&e.preventDefault()}else a=r&&r.apply(this,arguments),a!=null&&!a&&e.preventDefault();return a};function qe(e,n,c){let r=me(e,n);if(!r&&c&&me(c,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;let a=j("on"+n+"patched");if(e.hasOwnProperty(a)&&e[a])return;delete r.writable,delete r.value;let l=r.get,y=r.set,_=n.slice(2),b=be[_];b||(b=be[_]=j("ON_PROPERTY"+_)),r.set=function(k){let m=this;if(!m&&e===Y&&(m=Y),!m)return;typeof m[b]=="function"&&m.removeEventListener(_,We),y&&y.call(m,null),m[b]=k,typeof k=="function"&&m.addEventListener(_,We,!1)},r.get=function(){let k=this;if(!k&&e===Y&&(k=Y),!k)return null;let m=k[b];if(m)return m;if(l){let I=l.call(this);if(I)return r.set.call(this,I),typeof k[at]=="function"&&k.removeAttribute(n),I}return null},Ne(e,n,r),e[a]=!0}function Ke(e,n,c){if(n)for(let r=0;rfunction(y,_){let b=c(y,_);return b.cbIdx>=0&&typeof _[b.cbIdx]=="function"?je(b.name,_[b.cbIdx],b,a):l.apply(y,_)})}function ae(e,n){e[j("OriginalDelegate")]=n}var Xe=!1,Ze=!1;function ft(){try{let e=Te.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function ht(){if(Xe)return Ze;Xe=!0;try{let e=Te.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Ze=!0)}catch{}return Ze}Zone.__load_patch("ZoneAwarePromise",(e,n,c)=>{let r=Object.getOwnPropertyDescriptor,a=Object.defineProperty;function l(u){if(u&&u.toString===Object.prototype.toString){let f=u.constructor&&u.constructor.name;return(f||"")+": "+JSON.stringify(u)}return u?u.toString():Object.prototype.toString.call(u)}let y=c.symbol,_=[],b=e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,k=y("Promise"),m=y("then"),I="__creationTrace__";c.onUnhandledError=u=>{if(c.showUncaughtError()){let f=u&&u.rejection;f?console.error("Unhandled Promise rejection:",f instanceof Error?f.message:f,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",f,f instanceof Error?f.stack:void 0):console.error(u)}},c.microtaskDrainDone=()=>{for(;_.length;){let u=_.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(f){O(f)}}};let Z=y("unhandledPromiseRejectionHandler");function O(u){c.onUnhandledError(u);try{let f=n[Z];typeof f=="function"&&f.call(this,u)}catch{}}function B(u){return u&&u.then}function A(u){return u}function J(u){return t.reject(u)}let q=y("state"),R=y("value"),E=y("finally"),$=y("parentPromiseValue"),H=y("parentPromiseState"),X="Promise.then",M=null,T=!0,x=!1,d=0;function N(u,f){return i=>{try{z(u,f,i)}catch(h){z(u,!1,h)}}}let P=function(){let u=!1;return function(i){return function(){u||(u=!0,i.apply(null,arguments))}}},K="Promise resolved with itself",re=y("currentTaskTrace");function z(u,f,i){let h=P();if(u===i)throw new TypeError(K);if(u[q]===M){let g=null;try{(typeof i=="object"||typeof i=="function")&&(g=i&&i.then)}catch(w){return h(()=>{z(u,!1,w)})(),u}if(f!==x&&i instanceof t&&i.hasOwnProperty(q)&&i.hasOwnProperty(R)&&i[q]!==M)te(i),z(u,i[q],i[R]);else if(f!==x&&typeof g=="function")try{g.call(i,h(N(u,f)),h(N(u,!1)))}catch(w){h(()=>{z(u,!1,w)})()}else{u[q]=f;let w=u[R];if(u[R]=i,u[E]===E&&f===T&&(u[q]=u[H],u[R]=u[$]),f===x&&i instanceof Error){let p=n.currentTask&&n.currentTask.data&&n.currentTask.data[I];p&&a(i,re,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p{try{let C=u[R],S=!!i&&E===i[E];S&&(i[$]=C,i[H]=w);let D=f.run(p,void 0,S&&p!==J&&p!==A?[]:[C]);z(i,!0,D)}catch(C){z(i,!1,C)}},i)}let W="function ZoneAwarePromise() { [native code] }",oe=function(){},L=e.AggregateError;class t{static toString(){return W}static resolve(f){return z(new this(null),T,f)}static reject(f){return z(new this(null),x,f)}static any(f){if(!f||typeof f[Symbol.iterator]!="function")return Promise.reject(new L([],"All promises were rejected"));let i=[],h=0;try{for(let p of f)h++,i.push(t.resolve(p))}catch{return Promise.reject(new L([],"All promises were rejected"))}if(h===0)return Promise.reject(new L([],"All promises were rejected"));let g=!1,w=[];return new t((p,C)=>{for(let S=0;S{g||(g=!0,p(D))},D=>{w.push(D),h--,h===0&&(g=!0,C(new L(w,"All promises were rejected")))})})}static race(f){let i,h,g=new this((C,S)=>{i=C,h=S});function w(C){i(C)}function p(C){h(C)}for(let C of f)B(C)||(C=this.resolve(C)),C.then(w,p);return g}static all(f){return t.allWithCallback(f)}static allSettled(f){return(this&&this.prototype instanceof t?this:t).allWithCallback(f,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(f,i){let h,g,w=new this((D,G)=>{h=D,g=G}),p=2,C=0,S=[];for(let D of f){B(D)||(D=this.resolve(D));let G=C;try{D.then(V=>{S[G]=i?i.thenCallback(V):V,p--,p===0&&h(S)},V=>{i?(S[G]=i.errorCallback(V),p--,p===0&&h(S)):g(V)})}catch(V){g(V)}p++,C++}return p-=2,p===0&&h(S),w}constructor(f){let i=this;if(!(i instanceof t))throw new Error("Must be an instanceof Promise.");i[q]=M,i[R]=[];try{let h=P();f&&f(h(N(i,T)),h(N(i,x)))}catch(h){z(i,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(f,i){let h=this.constructor?.[Symbol.species];(!h||typeof h!="function")&&(h=this.constructor||t);let g=new h(oe),w=n.current;return this[q]==M?this[R].push(w,g,f,i):Q(this,w,g,f,i),g}catch(f){return this.then(null,f)}finally(f){let i=this.constructor?.[Symbol.species];(!i||typeof i!="function")&&(i=t);let h=new i(oe);h[E]=E;let g=n.current;return this[q]==M?this[R].push(g,h,f,f):Q(this,g,h,f,f),h}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;let s=e[k]=e.Promise;e.Promise=t;let o=y("thenPatched");function v(u){let f=u.prototype,i=r(f,"then");if(i&&(i.writable===!1||!i.configurable))return;let h=f.then;f[m]=h,u.prototype.then=function(g,w){return new t((C,S)=>{h.call(this,C,S)}).then(g,w)},u[o]=!0}c.patchThen=v;function F(u){return function(f,i){let h=u.apply(f,i);if(h instanceof t)return h;let g=h.constructor;return g[o]||v(g),h}}return s&&(v(s),le(e,"fetch",u=>F(u))),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,t});Zone.__load_patch("toString",e=>{let n=Function.prototype.toString,c=j("OriginalDelegate"),r=j("Promise"),a=j("Error"),l=function(){if(typeof this=="function"){let k=this[c];if(k)return typeof k=="function"?n.call(k):Object.prototype.toString.call(k);if(this===Promise){let m=e[r];if(m)return n.call(m)}if(this===Error){let m=e[a];if(m)return n.call(m)}}return n.call(this)};l[c]=n,Function.prototype.toString=l;let y=Object.prototype.toString,_="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?_:y.call(this)}});var _e=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){_e=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{_e=!1}var dt={useG:!0},ee={},Qe={},et=new RegExp("^"+pe+"(\\w+)(true|false)$"),tt=j("propagationStopped");function nt(e,n){let c=(n?n(e):e)+ce,r=(n?n(e):e)+ie,a=pe+c,l=pe+r;ee[e]={},ee[e][ce]=a,ee[e][ie]=l}function _t(e,n,c,r){let a=r&&r.add||Me,l=r&&r.rm||Le,y=r&&r.listeners||"eventListeners",_=r&&r.rmAll||"removeAllListeners",b=j(a),k="."+a+":",m="prependListener",I="."+m+":",Z=function(R,E,$){if(R.isRemoved)return;let H=R.callback;typeof H=="object"&&H.handleEvent&&(R.callback=T=>H.handleEvent(T),R.originalDelegate=H);let X;try{R.invoke(R,E,[$])}catch(T){X=T}let M=R.options;if(M&&typeof M=="object"&&M.once){let T=R.originalDelegate?R.originalDelegate:R.callback;E[l].call(E,$.type,T,M)}return X};function O(R,E,$){if(E=E||e.event,!E)return;let H=R||E.target||e,X=H[ee[E.type][$?ie:ce]];if(X){let M=[];if(X.length===1){let T=Z(X[0],H,E);T&&M.push(T)}else{let T=X.slice();for(let x=0;x{throw x})}}}let B=function(R){return O(this,R,!1)},A=function(R){return O(this,R,!0)};function J(R,E){if(!R)return!1;let $=!0;E&&E.useG!==void 0&&($=E.useG);let H=E&&E.vh,X=!0;E&&E.chkDup!==void 0&&(X=E.chkDup);let M=!1;E&&E.rt!==void 0&&(M=E.rt);let T=R;for(;T&&!T.hasOwnProperty(a);)T=Ie(T);if(!T&&R[a]&&(T=R),!T||T[b])return!1;let x=E&&E.eventNameToString,d={},N=T[b]=T[a],P=T[j(l)]=T[l],K=T[j(y)]=T[y],re=T[j(_)]=T[_],z;E&&E.prepend&&(z=T[j(E.prepend)]=T[E.prepend]);function U(i,h){return!_e&&typeof i=="object"&&i?!!i.capture:!_e||!h?i:typeof i=="boolean"?{capture:i,passive:!0}:i?typeof i=="object"&&i.passive!==!1?{...i,passive:!0}:i:{passive:!0}}let te=function(i){if(!d.isExisting)return N.call(d.target,d.eventName,d.capture?A:B,d.options)},Q=function(i){if(!i.isRemoved){let h=ee[i.eventName],g;h&&(g=h[i.capture?ie:ce]);let w=g&&i.target[g];if(w){for(let p=0;pfunction(a,l){a[tt]=!0,r&&r.apply(a,l)})}function Tt(e,n,c,r,a){let l=Zone.__symbol__(r);if(n[l])return;let y=n[l]=n[r];n[r]=function(_,b,k){return b&&b.prototype&&a.forEach(function(m){let I=`${c}.${r}::`+m,Z=b.prototype;try{if(Z.hasOwnProperty(m)){let O=e.ObjectGetOwnPropertyDescriptor(Z,m);O&&O.value?(O.value=e.wrapWithCurrentZone(O.value,I),e._redefineProperty(b.prototype,m,O)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],I))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],I))}catch{}}),y.call(n,_,b,k)},e.attachOriginToPatched(n[r],y)}function ot(e,n,c){if(!c||c.length===0)return n;let r=c.filter(l=>l.target===e);if(!r||r.length===0)return n;let a=r[0].ignoreProperties;return n.filter(l=>a.indexOf(l)===-1)}function ze(e,n,c,r){if(!e)return;let a=ot(e,n,c);Ke(e,a,r)}function Oe(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function yt(e,n){if(we&&!Je||Zone[e.symbol("patchEvents")])return;let c=n.__Zone_ignore_on_properties,r=[];if(xe){let a=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let l=ft()?[{target:a,ignoreProperties:["error"]}]:[];ze(a,Oe(a),c&&c.concat(l),Ie(a))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let a=0;a{let r=Oe(e);c.patchOnProperties=Ke,c.patchMethod=le,c.bindArguments=He,c.patchMacroTask=ut;let a=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[a]=e[l]),e[a]&&(n[a]=n[l]=e[a]),c.patchEventPrototype=Et,c.patchEventTarget=_t,c.isIEOrEdge=ht,c.ObjectDefineProperty=Ne,c.ObjectGetOwnPropertyDescriptor=me,c.ObjectCreate=it,c.ArraySlice=ct,c.patchClass=ge,c.wrapWithCurrentZone=Ae,c.filterProperties=ot,c.attachOriginToPatched=ae,c._redefineProperty=Object.defineProperty,c.patchCallbacks=Tt,c.getGlobalObjects=()=>({globalSources:Qe,zoneSymbolEventNames:ee,eventNames:r,isBrowser:xe,isMix:Je,isNode:we,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:pe,ADD_EVENT_LISTENER_STR:Me,REMOVE_EVENT_LISTENER_STR:Le})});function mt(e,n){n.patchMethod(e,"queueMicrotask",c=>function(r,a){Zone.current.scheduleMicroTask("queueMicrotask",a[0])})}var ve=j("zoneTask");function Ee(e,n,c,r){let a=null,l=null;n+=r,c+=r;let y={};function _(k){let m=k.data;return m.args[0]=function(){return k.invoke.apply(this,arguments)},m.handleId=a.apply(e,m.args),k}function b(k){return l.call(e,k.data.handleId)}a=le(e,n,k=>function(m,I){if(typeof I[0]=="function"){let Z={isPeriodic:r==="Interval",delay:r==="Timeout"||r==="Interval"?I[1]||0:void 0,args:I},O=I[0];I[0]=function(){try{return O.apply(this,arguments)}finally{Z.isPeriodic||(typeof Z.handleId=="number"?delete y[Z.handleId]:Z.handleId&&(Z.handleId[ve]=null))}};let B=je(n,I[0],Z,_,b);if(!B)return B;let A=B.data.handleId;return typeof A=="number"?y[A]=B:A&&(A[ve]=B),A&&A.ref&&A.unref&&typeof A.ref=="function"&&typeof A.unref=="function"&&(B.ref=A.ref.bind(A),B.unref=A.unref.bind(A)),typeof A=="number"||A?A:B}else return k.apply(e,I)}),l=le(e,c,k=>function(m,I){let Z=I[0],O;typeof Z=="number"?O=y[Z]:(O=Z&&Z[ve],O||(O=Z)),O&&typeof O.type=="string"?O.state!=="notScheduled"&&(O.cancelFn&&O.data.isPeriodic||O.runCount===0)&&(typeof Z=="number"?delete y[Z]:Z&&(Z[ve]=null),O.zone.cancelTask(O)):k.apply(e,I)})}function pt(e,n){let{isBrowser:c,isMix:r}=n.getGlobalObjects();if(!c&&!r||!e.customElements||!("customElements"in e))return;let a=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",a)}function gt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:c,zoneSymbolEventNames:r,TRUE_STR:a,FALSE_STR:l,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{let n=e[Zone.__symbol__("legacyPatch")];n&&n()});Zone.__load_patch("timers",e=>{let n="set",c="clear";Ee(e,n,c,"Timeout"),Ee(e,n,c,"Interval"),Ee(e,n,c,"Immediate")});Zone.__load_patch("requestAnimationFrame",e=>{Ee(e,"request","cancel","AnimationFrame"),Ee(e,"mozRequest","mozCancel","AnimationFrame"),Ee(e,"webkitRequest","webkitCancel","AnimationFrame")});Zone.__load_patch("blocking",(e,n)=>{let c=["alert","prompt","confirm"];for(let r=0;rfunction(b,k){return n.current.run(l,e,k,_)})}});Zone.__load_patch("EventTarget",(e,n,c)=>{kt(e,c),gt(e,c);let r=e.XMLHttpRequestEventTarget;r&&r.prototype&&c.patchEventTarget(e,c,[r.prototype])});Zone.__load_patch("MutationObserver",(e,n,c)=>{ge("MutationObserver"),ge("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",(e,n,c)=>{ge("IntersectionObserver")});Zone.__load_patch("FileReader",(e,n,c)=>{ge("FileReader")});Zone.__load_patch("on_property",(e,n,c)=>{yt(c,e)});Zone.__load_patch("customElements",(e,n,c)=>{pt(e,c)});Zone.__load_patch("XHR",(e,n)=>{b(e);let c=j("xhrTask"),r=j("xhrSync"),a=j("xhrListener"),l=j("xhrScheduled"),y=j("xhrURL"),_=j("xhrErrorBeforeScheduled");function b(k){let m=k.XMLHttpRequest;if(!m)return;let I=m.prototype;function Z(d){return d[c]}let O=I[Se],B=I[De];if(!O){let d=k.XMLHttpRequestEventTarget;if(d){let N=d.prototype;O=N[Se],B=N[De]}}let A="readystatechange",J="scheduled";function q(d){let N=d.data,P=N.target;P[l]=!1,P[_]=!1;let K=P[a];O||(O=P[Se],B=P[De]),K&&B.call(P,A,K);let re=P[a]=()=>{if(P.readyState===P.DONE)if(!N.aborted&&P[l]&&d.state===J){let U=P[n.__symbol__("loadfalse")];if(P.status!==0&&U&&U.length>0){let te=d.invoke;d.invoke=function(){let Q=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(d,N){return d[r]=N[2]==!1,d[y]=N[1],$.apply(d,N)}),H="XMLHttpRequest.send",X=j("fetchTaskAborting"),M=j("fetchTaskScheduling"),T=le(I,"send",()=>function(d,N){if(n.current[M]===!0||d[r])return T.apply(d,N);{let P={target:d,url:d[y],isPeriodic:!1,args:N,aborted:!1},K=je(H,R,P,q,E);d&&d[_]===!0&&!P.aborted&&K.state===J&&K.invoke()}}),x=le(I,"abort",()=>function(d,N){let P=Z(d);if(P&&typeof P.type=="string"){if(P.cancelFn==null||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(n.current[X]===!0)return x.apply(d,N)})}});Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&<(e.navigator.geolocation,["getCurrentPosition","watchPosition"])});Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function c(r){return function(a){rt(e,r).forEach(y=>{let _=e.PromiseRejectionEvent;if(_){let b=new _(r,{promise:a.promise,reason:a.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),n[j("rejectionHandledHandler")]=c("rejectionhandled"))});Zone.__load_patch("queueMicrotask",(e,n,c)=>{mt(e,c)}); diff --git a/boot/src/main/resources/static/styles-5HW2JSRX.css b/boot/src/main/resources/static/styles-5HW2JSRX.css new file mode 100644 index 00000000..5f15af23 --- /dev/null +++ b/boot/src/main/resources/static/styles-5HW2JSRX.css @@ -0,0 +1 @@ +.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}html{--mat-ripple-color:rgba(0, 0, 0, .1)}html{--mat-option-selected-state-label-text-color:#3f51b5;--mat-option-label-text-color:rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color:rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color:rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color:rgba(0, 0, 0, .04)}.mat-accent{--mat-option-selected-state-label-text-color:#ff4081;--mat-option-label-text-color:rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color:rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color:rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color:rgba(0, 0, 0, .04)}.mat-warn{--mat-option-selected-state-label-text-color:#f44336;--mat-option-label-text-color:rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color:rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color:rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color:rgba(0, 0, 0, .04)}html{--mat-optgroup-label-text-color:rgba(0, 0, 0, .87)}.mat-primary{--mat-full-pseudo-checkbox-selected-icon-color:#3f51b5;--mat-full-pseudo-checkbox-selected-checkmark-color:#fafafa;--mat-full-pseudo-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color:#fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color:#b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color:#b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color:#3f51b5;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color:#b0b0b0}html,.mat-accent{--mat-full-pseudo-checkbox-selected-icon-color:#ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color:#fafafa;--mat-full-pseudo-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color:#fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color:#b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color:#b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color:#ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color:#b0b0b0}.mat-warn{--mat-full-pseudo-checkbox-selected-icon-color:#f44336;--mat-full-pseudo-checkbox-selected-checkmark-color:#fafafa;--mat-full-pseudo-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color:#fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color:#b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color:#b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color:#f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}html{--mat-option-label-text-font:Roboto, sans-serif;--mat-option-label-text-line-height:24px;--mat-option-label-text-size:16px;--mat-option-label-text-tracking:.03125em;--mat-option-label-text-weight:400}html{--mat-optgroup-label-text-font:Roboto, sans-serif;--mat-optgroup-label-text-line-height:24px;--mat-optgroup-label-text-size:16px;--mat-optgroup-label-text-tracking:.03125em;--mat-optgroup-label-text-weight:400}html{--mdc-elevated-card-container-shape:4px;--mdc-outlined-card-container-shape:4px;--mdc-outlined-card-outline-width:1px}html{--mdc-elevated-card-container-color:white;--mdc-elevated-card-container-elevation:0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color:white;--mdc-outlined-card-outline-color:rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation:0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color:rgba(0, 0, 0, .54)}html{--mat-card-title-text-font:Roboto, sans-serif;--mat-card-title-text-line-height:32px;--mat-card-title-text-size:20px;--mat-card-title-text-tracking:.0125em;--mat-card-title-text-weight:500;--mat-card-subtitle-text-font:Roboto, sans-serif;--mat-card-subtitle-text-line-height:22px;--mat-card-subtitle-text-size:14px;--mat-card-subtitle-text-tracking:.0071428571em;--mat-card-subtitle-text-weight:500}html{--mdc-linear-progress-active-indicator-height:4px;--mdc-linear-progress-track-height:4px;--mdc-linear-progress-track-shape:0}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color:#3f51b5;--mdc-linear-progress-track-color:rgba(63, 81, 181, .25)}.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:#3f51b540;background-color:var(--mdc-linear-progress-track-color, rgba(63, 81, 181, .25))}@media (forced-colors: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:#0000;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(63, 81, 181, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar .mdc-linear-progress__buffer-bar{background-color:#3f51b540;background-color:var(--mdc-linear-progress-track-color, rgba(63, 81, 181, .25))}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color:#ff4081;--mdc-linear-progress-track-color:rgba(255, 64, 129, .25)}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:#ff408140;background-color:var(--mdc-linear-progress-track-color, rgba(255, 64, 129, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:#0000;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255, 64, 129, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-bar{background-color:#ff408140;background-color:var(--mdc-linear-progress-track-color, rgba(255, 64, 129, .25))}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color:#f44336;--mdc-linear-progress-track-color:rgba(244, 67, 54, .25)}@keyframes mdc-linear-progress-buffering{}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:#0000;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-bar{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}html{--mdc-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}html{--mdc-plain-tooltip-container-color:#616161;--mdc-plain-tooltip-supporting-text-color:#fff}html{--mdc-plain-tooltip-supporting-text-font:Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size:12px;--mdc-plain-tooltip-supporting-text-weight:400;--mdc-plain-tooltip-supporting-text-tracking:.0333333333em}html{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}html{--mdc-filled-text-field-caret-color:#3f51b5;--mdc-filled-text-field-focus-active-indicator-color:#3f51b5;--mdc-filled-text-field-focus-label-text-color:rgba(63, 81, 181, .87);--mdc-filled-text-field-container-color:whitesmoke;--mdc-filled-text-field-disabled-container-color:#fafafa;--mdc-filled-text-field-label-text-color:rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color:rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color:rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color:rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color:rgba(0, 0, 0, .6);--mdc-filled-text-field-error-focus-label-text-color:#f44336;--mdc-filled-text-field-error-label-text-color:#f44336;--mdc-filled-text-field-error-caret-color:#f44336;--mdc-filled-text-field-active-indicator-color:rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color:rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color:rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color:#f44336;--mdc-filled-text-field-error-focus-active-indicator-color:#f44336;--mdc-filled-text-field-error-hover-active-indicator-color:#f44336;--mdc-outlined-text-field-caret-color:#3f51b5;--mdc-outlined-text-field-focus-outline-color:#3f51b5;--mdc-outlined-text-field-focus-label-text-color:rgba(63, 81, 181, .87);--mdc-outlined-text-field-label-text-color:rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color:rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color:rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color:rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color:rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color:#f44336;--mdc-outlined-text-field-error-focus-label-text-color:#f44336;--mdc-outlined-text-field-error-label-text-color:#f44336;--mdc-outlined-text-field-outline-color:rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color:rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color:rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color:#f44336;--mdc-outlined-text-field-error-hover-outline-color:#f44336;--mdc-outlined-text-field-error-outline-color:#f44336;--mat-form-field-focus-select-arrow-color:rgba(63, 81, 181, .87);--mat-form-field-disabled-input-text-placeholder-color:rgba(0, 0, 0, .38);--mat-form-field-state-layer-color:rgba(0, 0, 0, .87);--mat-form-field-error-text-color:#f44336;--mat-form-field-select-option-text-color:inherit;--mat-form-field-select-disabled-option-text-color:GrayText;--mat-form-field-enabled-select-arrow-color:rgba(0, 0, 0, .54);--mat-form-field-disabled-select-arrow-color:rgba(0, 0, 0, .38);--mat-form-field-hover-state-layer-opacity:.04;--mat-form-field-focus-state-layer-opacity:.12}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color:#ff4081;--mdc-filled-text-field-focus-active-indicator-color:#ff4081;--mdc-filled-text-field-focus-label-text-color:rgba(255, 64, 129, .87);--mdc-outlined-text-field-caret-color:#ff4081;--mdc-outlined-text-field-focus-outline-color:#ff4081;--mdc-outlined-text-field-focus-label-text-color:rgba(255, 64, 129, .87);--mat-form-field-focus-select-arrow-color:rgba(255, 64, 129, .87)}.mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color:#f44336;--mdc-filled-text-field-focus-active-indicator-color:#f44336;--mdc-filled-text-field-focus-label-text-color:rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color:#f44336;--mdc-outlined-text-field-focus-outline-color:#f44336;--mdc-outlined-text-field-focus-label-text-color:rgba(244, 67, 54, .87);--mat-form-field-focus-select-arrow-color:rgba(244, 67, 54, .87)}.mat-mdc-form-field-infix{min-height:56px}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:28px}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY( -34.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}.mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:24px;padding-bottom:8px}.mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}html{--mdc-filled-text-field-label-text-font:Roboto, sans-serif;--mdc-filled-text-field-label-text-size:16px;--mdc-filled-text-field-label-text-tracking:.03125em;--mdc-filled-text-field-label-text-weight:400;--mdc-outlined-text-field-label-text-font:Roboto, sans-serif;--mdc-outlined-text-field-label-text-size:16px;--mdc-outlined-text-field-label-text-tracking:.03125em;--mdc-outlined-text-field-label-text-weight:400;--mat-form-field-container-text-font:Roboto, sans-serif;--mat-form-field-container-text-line-height:24px;--mat-form-field-container-text-size:16px;--mat-form-field-container-text-tracking:.03125em;--mat-form-field-container-text-weight:400;--mat-form-field-outlined-label-text-populated-size:16px;--mat-form-field-subscript-text-font:Roboto, sans-serif;--mat-form-field-subscript-text-line-height:20px;--mat-form-field-subscript-text-size:12px;--mat-form-field-subscript-text-tracking:.0333333333em;--mat-form-field-subscript-text-weight:400}html{--mat-select-panel-background-color:white;--mat-select-enabled-trigger-text-color:rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color:rgba(0, 0, 0, .38);--mat-select-placeholder-text-color:rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color:rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color:rgba(0, 0, 0, .38);--mat-select-focused-arrow-color:rgba(63, 81, 181, .87);--mat-select-invalid-arrow-color:rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color:white;--mat-select-enabled-trigger-text-color:rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color:rgba(0, 0, 0, .38);--mat-select-placeholder-text-color:rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color:rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color:rgba(0, 0, 0, .38);--mat-select-focused-arrow-color:rgba(255, 64, 129, .87);--mat-select-invalid-arrow-color:rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color:white;--mat-select-enabled-trigger-text-color:rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color:rgba(0, 0, 0, .38);--mat-select-placeholder-text-color:rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color:rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color:rgba(0, 0, 0, .38);--mat-select-focused-arrow-color:rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color:rgba(244, 67, 54, .87)}html{--mat-select-trigger-text-font:Roboto, sans-serif;--mat-select-trigger-text-line-height:24px;--mat-select-trigger-text-size:16px;--mat-select-trigger-text-tracking:.03125em;--mat-select-trigger-text-weight:400}html{--mat-autocomplete-background-color:white}html{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px}html{--mdc-dialog-container-color:white;--mdc-dialog-subhead-color:rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color:rgba(0, 0, 0, .6)}html{--mdc-dialog-subhead-font:Roboto, sans-serif;--mdc-dialog-subhead-line-height:32px;--mdc-dialog-subhead-size:20px;--mdc-dialog-subhead-weight:500;--mdc-dialog-subhead-tracking:.0125em;--mdc-dialog-supporting-text-font:Roboto, sans-serif;--mdc-dialog-supporting-text-line-height:24px;--mdc-dialog-supporting-text-size:16px;--mdc-dialog-supporting-text-weight:400;--mdc-dialog-supporting-text-tracking:.03125em}.mat-mdc-standard-chip{--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color:#212121;--mdc-chip-elevated-container-color:#e0e0e0;--mdc-chip-elevated-disabled-container-color:#e0e0e0;--mdc-chip-focus-state-layer-color:black;--mdc-chip-focus-state-layer-opacity:.12;--mdc-chip-label-text-color:#212121;--mdc-chip-with-icon-icon-color:#212121;--mdc-chip-with-icon-disabled-icon-color:#212121;--mdc-chip-with-icon-selected-icon-color:#212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#212121;--mdc-chip-with-trailing-icon-trailing-icon-color:#212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color:white;--mdc-chip-elevated-container-color:#3f51b5;--mdc-chip-elevated-disabled-container-color:#3f51b5;--mdc-chip-focus-state-layer-color:black;--mdc-chip-focus-state-layer-opacity:.12;--mdc-chip-label-text-color:white;--mdc-chip-with-icon-icon-color:white;--mdc-chip-with-icon-disabled-icon-color:white;--mdc-chip-with-icon-selected-icon-color:white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:white;--mdc-chip-with-trailing-icon-trailing-icon-color:white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color:white;--mdc-chip-elevated-container-color:#ff4081;--mdc-chip-elevated-disabled-container-color:#ff4081;--mdc-chip-focus-state-layer-color:black;--mdc-chip-focus-state-layer-opacity:.12;--mdc-chip-label-text-color:white;--mdc-chip-with-icon-icon-color:white;--mdc-chip-with-icon-disabled-icon-color:white;--mdc-chip-with-icon-selected-icon-color:white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:white;--mdc-chip-with-trailing-icon-trailing-icon-color:white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color:white;--mdc-chip-elevated-container-color:#f44336;--mdc-chip-elevated-disabled-container-color:#f44336;--mdc-chip-focus-state-layer-color:black;--mdc-chip-focus-state-layer-opacity:.12;--mdc-chip-label-text-color:white;--mdc-chip-with-icon-icon-color:white;--mdc-chip-with-icon-disabled-icon-color:white;--mdc-chip-with-icon-selected-icon-color:white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:white;--mdc-chip-with-trailing-icon-trailing-icon-color:white}.mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height:32px}.mat-mdc-standard-chip{--mdc-chip-label-text-font:Roboto, sans-serif;--mdc-chip-label-text-line-height:20px;--mdc-chip-label-text-size:14px;--mdc-chip-label-text-tracking:.0178571429em;--mdc-chip-label-text-weight:400}.mdc-switch{--mdc-switch-disabled-handle-opacity:.38;--mdc-switch-disabled-selected-icon-opacity:.38;--mdc-switch-disabled-track-opacity:.12;--mdc-switch-disabled-unselected-icon-opacity:.38;--mdc-switch-handle-height:20px;--mdc-switch-handle-shape:10px;--mdc-switch-handle-width:20px;--mdc-switch-selected-icon-size:18px;--mdc-switch-track-height:14px;--mdc-switch-track-shape:7px;--mdc-switch-track-width:36px;--mdc-switch-unselected-icon-size:18px;--mdc-switch-state-layer-size:40px;--mdc-switch-selected-focus-state-layer-opacity:.12;--mdc-switch-selected-hover-state-layer-opacity:.04;--mdc-switch-selected-pressed-state-layer-opacity:.1;--mdc-switch-unselected-focus-state-layer-opacity:.12;--mdc-switch-unselected-hover-state-layer-opacity:.04;--mdc-switch-unselected-pressed-state-layer-opacity:.1}.mat-mdc-slide-toggle{--mdc-switch-selected-focus-state-layer-color:#3949ab;--mdc-switch-selected-handle-color:#3949ab;--mdc-switch-selected-hover-state-layer-color:#3949ab;--mdc-switch-selected-pressed-state-layer-color:#3949ab;--mdc-switch-selected-focus-handle-color:#1a237e;--mdc-switch-selected-hover-handle-color:#1a237e;--mdc-switch-selected-pressed-handle-color:#1a237e;--mdc-switch-selected-focus-track-color:#7986cb;--mdc-switch-selected-hover-track-color:#7986cb;--mdc-switch-selected-pressed-track-color:#7986cb;--mdc-switch-selected-track-color:#7986cb;--mdc-switch-disabled-selected-handle-color:#424242;--mdc-switch-disabled-selected-icon-color:#fff;--mdc-switch-disabled-selected-track-color:#424242;--mdc-switch-disabled-unselected-handle-color:#424242;--mdc-switch-disabled-unselected-icon-color:#fff;--mdc-switch-disabled-unselected-track-color:#424242;--mdc-switch-handle-surface-color:var(--mdc-theme-surface, #fff);--mdc-switch-handle-elevation-shadow:0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-handle-shadow-color:black;--mdc-switch-disabled-handle-elevation-shadow:0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-selected-icon-color:#fff;--mdc-switch-unselected-focus-handle-color:#212121;--mdc-switch-unselected-focus-state-layer-color:#424242;--mdc-switch-unselected-focus-track-color:#e0e0e0;--mdc-switch-unselected-handle-color:#616161;--mdc-switch-unselected-hover-handle-color:#212121;--mdc-switch-unselected-hover-state-layer-color:#424242;--mdc-switch-unselected-hover-track-color:#e0e0e0;--mdc-switch-unselected-icon-color:#fff;--mdc-switch-unselected-pressed-handle-color:#212121;--mdc-switch-unselected-pressed-state-layer-color:#424242;--mdc-switch-unselected-pressed-track-color:#e0e0e0;--mdc-switch-unselected-track-color:#e0e0e0}.mat-mdc-slide-toggle .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:#00000061}.mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color:#d81b60;--mdc-switch-selected-handle-color:#d81b60;--mdc-switch-selected-hover-state-layer-color:#d81b60;--mdc-switch-selected-pressed-state-layer-color:#d81b60;--mdc-switch-selected-focus-handle-color:#880e4f;--mdc-switch-selected-hover-handle-color:#880e4f;--mdc-switch-selected-pressed-handle-color:#880e4f;--mdc-switch-selected-focus-track-color:#f06292;--mdc-switch-selected-hover-track-color:#f06292;--mdc-switch-selected-pressed-track-color:#f06292;--mdc-switch-selected-track-color:#f06292}.mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color:#e53935;--mdc-switch-selected-handle-color:#e53935;--mdc-switch-selected-hover-state-layer-color:#e53935;--mdc-switch-selected-pressed-state-layer-color:#e53935;--mdc-switch-selected-focus-handle-color:#b71c1c;--mdc-switch-selected-hover-handle-color:#b71c1c;--mdc-switch-selected-pressed-handle-color:#b71c1c;--mdc-switch-selected-focus-track-color:#e57373;--mdc-switch-selected-hover-track-color:#e57373;--mdc-switch-selected-pressed-track-color:#e57373;--mdc-switch-selected-track-color:#e57373}.mat-mdc-slide-toggle{--mdc-switch-state-layer-size:48px}.mat-mdc-slide-toggle{--mat-slide-toggle-label-text-font:Roboto, sans-serif;--mat-slide-toggle-label-text-size:14px;--mat-slide-toggle-label-text-tracking:.0178571429em;--mat-slide-toggle-label-text-line-height:20px;--mat-slide-toggle-label-text-weight:400}.mat-mdc-slide-toggle .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}html{--mdc-radio-disabled-selected-icon-opacity:.38;--mdc-radio-disabled-unselected-icon-opacity:.38;--mdc-radio-state-layer-size:40px}.mat-mdc-radio-button .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color:#000;--mdc-radio-disabled-unselected-icon-color:#000;--mdc-radio-unselected-hover-icon-color:#212121;--mdc-radio-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color:#3f51b5;--mdc-radio-selected-hover-icon-color:#3f51b5;--mdc-radio-selected-icon-color:#3f51b5;--mdc-radio-selected-pressed-icon-color:#3f51b5;--mat-radio-ripple-color:#000;--mat-radio-checked-ripple-color:#3f51b5;--mat-radio-disabled-label-color:rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color:#000;--mdc-radio-disabled-unselected-icon-color:#000;--mdc-radio-unselected-hover-icon-color:#212121;--mdc-radio-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color:#ff4081;--mdc-radio-selected-hover-icon-color:#ff4081;--mdc-radio-selected-icon-color:#ff4081;--mdc-radio-selected-pressed-icon-color:#ff4081;--mat-radio-ripple-color:#000;--mat-radio-checked-ripple-color:#ff4081;--mat-radio-disabled-label-color:rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color:#000;--mdc-radio-disabled-unselected-icon-color:#000;--mdc-radio-unselected-hover-icon-color:#212121;--mdc-radio-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color:#f44336;--mdc-radio-selected-hover-icon-color:#f44336;--mdc-radio-selected-icon-color:#f44336;--mdc-radio-selected-pressed-icon-color:#f44336;--mat-radio-ripple-color:#000;--mat-radio-checked-ripple-color:#f44336;--mat-radio-disabled-label-color:rgba(0, 0, 0, .38)}html{--mdc-radio-state-layer-size:40px}.mat-mdc-radio-button .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}html{--mdc-slider-active-track-height:6px;--mdc-slider-active-track-shape:9999px;--mdc-slider-handle-height:20px;--mdc-slider-handle-shape:50%;--mdc-slider-handle-width:20px;--mdc-slider-inactive-track-height:4px;--mdc-slider-inactive-track-shape:9999px;--mdc-slider-with-overlap-handle-outline-width:1px;--mdc-slider-with-tick-marks-active-container-opacity:.6;--mdc-slider-with-tick-marks-container-shape:50%;--mdc-slider-with-tick-marks-container-size:2px;--mdc-slider-with-tick-marks-inactive-container-opacity:.6}html{--mdc-slider-handle-color:#3f51b5;--mdc-slider-focus-handle-color:#3f51b5;--mdc-slider-hover-handle-color:#3f51b5;--mdc-slider-active-track-color:#3f51b5;--mdc-slider-inactive-track-color:#3f51b5;--mdc-slider-with-tick-marks-inactive-container-color:#3f51b5;--mdc-slider-with-tick-marks-active-container-color:white;--mdc-slider-disabled-active-track-color:#000;--mdc-slider-disabled-handle-color:#000;--mdc-slider-disabled-inactive-track-color:#000;--mdc-slider-label-container-color:#000;--mdc-slider-label-label-text-color:#fff;--mdc-slider-with-overlap-handle-outline-color:#fff;--mdc-slider-with-tick-marks-disabled-container-color:#000;--mdc-slider-handle-elevation:0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-mdc-slider-ripple-color: #3f51b5;--mat-mdc-slider-hover-ripple-color: rgba(63, 81, 181, .05);--mat-mdc-slider-focus-ripple-color: rgba(63, 81, 181, .2);--mat-slider-value-indicator-opacity:.6}html .mat-accent{--mdc-slider-handle-color:#ff4081;--mdc-slider-focus-handle-color:#ff4081;--mdc-slider-hover-handle-color:#ff4081;--mdc-slider-active-track-color:#ff4081;--mdc-slider-inactive-track-color:#ff4081;--mdc-slider-with-tick-marks-inactive-container-color:#ff4081;--mdc-slider-with-tick-marks-active-container-color:white;--mat-mdc-slider-ripple-color: #ff4081;--mat-mdc-slider-hover-ripple-color: rgba(255, 64, 129, .05);--mat-mdc-slider-focus-ripple-color: rgba(255, 64, 129, .2)}html .mat-warn{--mdc-slider-handle-color:#f44336;--mdc-slider-focus-handle-color:#f44336;--mdc-slider-hover-handle-color:#f44336;--mdc-slider-active-track-color:#f44336;--mdc-slider-inactive-track-color:#f44336;--mdc-slider-with-tick-marks-inactive-container-color:#f44336;--mdc-slider-with-tick-marks-active-container-color:white;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}html{--mdc-slider-label-label-text-font:Roboto, sans-serif;--mdc-slider-label-label-text-size:14px;--mdc-slider-label-label-text-line-height:22px;--mdc-slider-label-label-text-tracking:.0071428571em;--mdc-slider-label-label-text-weight:500}html{--mat-menu-container-shape:4px}html{--mat-menu-item-label-text-color:rgba(0, 0, 0, .87);--mat-menu-item-icon-color:rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color:rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color:rgba(0, 0, 0, .04);--mat-menu-container-color:white}html{--mat-menu-item-label-text-font:Roboto, sans-serif;--mat-menu-item-label-text-size:16px;--mat-menu-item-label-text-tracking:.03125em;--mat-menu-item-label-text-line-height:24px;--mat-menu-item-label-text-weight:400}html{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:.38;--mdc-list-list-item-disabled-leading-icon-opacity:.38;--mdc-list-list-item-disabled-trailing-icon-opacity:.38}html{--mdc-list-list-item-label-text-color:rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color:rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color:rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color:rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color:rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color:rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color:black;--mdc-list-list-item-disabled-leading-icon-color:black;--mdc-list-list-item-disabled-trailing-icon-color:black;--mdc-list-list-item-hover-label-text-color:rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color:rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color:rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color:rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color:black;--mdc-list-list-item-hover-state-layer-opacity:.04;--mdc-list-list-item-focus-state-layer-color:black;--mdc-list-list-item-focus-state-layer-opacity:.12}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-disabled-selected-icon-color:#000;--mdc-radio-disabled-unselected-icon-color:#000;--mdc-radio-unselected-hover-icon-color:#212121;--mdc-radio-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color:#3f51b5;--mdc-radio-selected-hover-icon-color:#3f51b5;--mdc-radio-selected-icon-color:#3f51b5;--mdc-radio-selected-pressed-icon-color:#3f51b5}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color:#000;--mdc-radio-disabled-unselected-icon-color:#000;--mdc-radio-unselected-hover-icon-color:#212121;--mdc-radio-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color:#ff4081;--mdc-radio-selected-hover-icon-color:#ff4081;--mdc-radio-selected-icon-color:#ff4081;--mdc-radio-selected-pressed-icon-color:#ff4081}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color:#000;--mdc-radio-disabled-unselected-icon-color:#000;--mdc-radio-unselected-hover-icon-color:#212121;--mdc-radio-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color:#f44336;--mdc-radio-selected-hover-icon-color:#f44336;--mdc-radio-selected-icon-color:#f44336;--mdc-radio-selected-pressed-icon-color:#f44336}.mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-icon-color:#3f51b5;--mdc-checkbox-selected-hover-icon-color:#3f51b5;--mdc-checkbox-selected-icon-color:#3f51b5;--mdc-checkbox-selected-pressed-icon-color:#3f51b5;--mdc-checkbox-unselected-focus-icon-color:#212121;--mdc-checkbox-unselected-hover-icon-color:#212121;--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color:#3f51b5;--mdc-checkbox-selected-hover-state-layer-color:#3f51b5;--mdc-checkbox-selected-pressed-state-layer-color:#3f51b5;--mdc-checkbox-unselected-focus-state-layer-color:black;--mdc-checkbox-unselected-hover-state-layer-color:black;--mdc-checkbox-unselected-pressed-state-layer-color:black}.mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-icon-color:#ff4081;--mdc-checkbox-selected-hover-icon-color:#ff4081;--mdc-checkbox-selected-icon-color:#ff4081;--mdc-checkbox-selected-pressed-icon-color:#ff4081;--mdc-checkbox-unselected-focus-icon-color:#212121;--mdc-checkbox-unselected-hover-icon-color:#212121;--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color:#ff4081;--mdc-checkbox-selected-hover-state-layer-color:#ff4081;--mdc-checkbox-selected-pressed-state-layer-color:#ff4081;--mdc-checkbox-unselected-focus-state-layer-color:black;--mdc-checkbox-unselected-hover-state-layer-color:black;--mdc-checkbox-unselected-pressed-state-layer-color:black}.mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-icon-color:#f44336;--mdc-checkbox-selected-hover-icon-color:#f44336;--mdc-checkbox-selected-icon-color:#f44336;--mdc-checkbox-selected-pressed-icon-color:#f44336;--mdc-checkbox-unselected-focus-icon-color:#212121;--mdc-checkbox-unselected-hover-icon-color:#212121;--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color:#f44336;--mdc-checkbox-selected-hover-state-layer-color:#f44336;--mdc-checkbox-selected-pressed-state-layer-color:#f44336;--mdc-checkbox-unselected-focus-state-layer-color:black;--mdc-checkbox-unselected-hover-state-layer-color:black;--mdc-checkbox-unselected-pressed-state-layer-color:black}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:#3f51b5}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}html{--mdc-list-list-item-one-line-container-height:48px;--mdc-list-list-item-two-line-container-height:64px;--mdc-list-list-item-three-line-container-height:88px}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-state-layer-size:40px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}html{--mdc-list-list-item-label-text-font:Roboto, sans-serif;--mdc-list-list-item-label-text-line-height:24px;--mdc-list-list-item-label-text-size:16px;--mdc-list-list-item-label-text-tracking:.03125em;--mdc-list-list-item-label-text-weight:400;--mdc-list-list-item-supporting-text-font:Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height:20px;--mdc-list-list-item-supporting-text-size:14px;--mdc-list-list-item-supporting-text-tracking:.0178571429em;--mdc-list-list-item-supporting-text-weight:400;--mdc-list-list-item-trailing-supporting-text-font:Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height:20px;--mdc-list-list-item-trailing-supporting-text-size:12px;--mdc-list-list-item-trailing-supporting-text-tracking:.0333333333em;--mdc-list-list-item-trailing-supporting-text-weight:400}.mdc-list-group__subheader{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-container-text-color:rgba(0, 0, 0, .87);--mat-paginator-container-background-color:white;--mat-paginator-enabled-icon-color:rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color:rgba(0, 0, 0, .12)}html{--mat-paginator-container-size:56px}.mat-mdc-paginator .mat-mdc-form-field-infix{min-height:40px}.mat-mdc-paginator .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:20px}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label{display:none}html{--mat-paginator-container-text-font:Roboto, sans-serif;--mat-paginator-container-text-line-height:20px;--mat-paginator-container-text-size:12px;--mat-paginator-container-text-tracking:.0333333333em;--mat-paginator-container-text-weight:400;--mat-paginator-select-trigger-text-size:12px}html{--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px;--mat-tab-header-divider-color:transparent;--mat-tab-header-divider-height:0}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color:#3f51b5;--mat-tab-header-disabled-ripple-color:rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color:#000;--mat-tab-header-inactive-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color:#3f51b5;--mat-tab-header-active-ripple-color:#3f51b5;--mat-tab-header-inactive-ripple-color:#3f51b5;--mat-tab-header-inactive-focus-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color:#3f51b5;--mat-tab-header-active-hover-label-text-color:#3f51b5;--mat-tab-header-active-focus-indicator-color:#3f51b5;--mat-tab-header-active-hover-indicator-color:#3f51b5}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color:#ff4081;--mat-tab-header-disabled-ripple-color:rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color:#000;--mat-tab-header-inactive-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color:#ff4081;--mat-tab-header-active-ripple-color:#ff4081;--mat-tab-header-inactive-ripple-color:#ff4081;--mat-tab-header-inactive-focus-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color:#ff4081;--mat-tab-header-active-hover-label-text-color:#ff4081;--mat-tab-header-active-focus-indicator-color:#ff4081;--mat-tab-header-active-hover-indicator-color:#ff4081}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color:#f44336;--mat-tab-header-disabled-ripple-color:rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color:#000;--mat-tab-header-inactive-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color:#f44336;--mat-tab-header-active-ripple-color:#f44336;--mat-tab-header-inactive-ripple-color:#f44336;--mat-tab-header-inactive-focus-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color:#f44336;--mat-tab-header-active-hover-label-text-color:#f44336;--mat-tab-header-active-focus-indicator-color:#f44336;--mat-tab-header-active-hover-indicator-color:#f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color:#3f51b5;--mat-tab-header-with-background-foreground-color:white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color:#ff4081;--mat-tab-header-with-background-foreground-color:white}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color:#f44336;--mat-tab-header-with-background-foreground-color:white}.mat-mdc-tab-header{--mdc-secondary-navigation-tab-container-height:48px}.mat-mdc-tab-header{--mat-tab-header-label-text-font:Roboto, sans-serif;--mat-tab-header-label-text-size:14px;--mat-tab-header-label-text-tracking:.0892857143em;--mat-tab-header-label-text-line-height:36px;--mat-tab-header-label-text-weight:500}html{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:.16;--mdc-checkbox-selected-hover-state-layer-opacity:.04;--mdc-checkbox-selected-pressed-state-layer-opacity:.16;--mdc-checkbox-unselected-focus-state-layer-opacity:.16;--mdc-checkbox-unselected-hover-state-layer-opacity:.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:.16}html{--mdc-checkbox-disabled-selected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-icon-color:#ff4081;--mdc-checkbox-selected-hover-icon-color:#ff4081;--mdc-checkbox-selected-icon-color:#ff4081;--mdc-checkbox-selected-pressed-icon-color:#ff4081;--mdc-checkbox-unselected-focus-icon-color:#212121;--mdc-checkbox-unselected-hover-icon-color:#212121;--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color:#ff4081;--mdc-checkbox-selected-hover-state-layer-color:#ff4081;--mdc-checkbox-selected-pressed-state-layer-color:#ff4081;--mdc-checkbox-unselected-focus-state-layer-color:black;--mdc-checkbox-unselected-hover-state-layer-color:black;--mdc-checkbox-unselected-pressed-state-layer-color:black}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-icon-color:#3f51b5;--mdc-checkbox-selected-hover-icon-color:#3f51b5;--mdc-checkbox-selected-icon-color:#3f51b5;--mdc-checkbox-selected-pressed-icon-color:#3f51b5;--mdc-checkbox-unselected-focus-icon-color:#212121;--mdc-checkbox-unselected-hover-icon-color:#212121;--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color:#3f51b5;--mdc-checkbox-selected-hover-state-layer-color:#3f51b5;--mdc-checkbox-selected-pressed-state-layer-color:#3f51b5;--mdc-checkbox-unselected-focus-state-layer-color:black;--mdc-checkbox-unselected-hover-state-layer-color:black;--mdc-checkbox-unselected-pressed-state-layer-color:black}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-icon-color:#f44336;--mdc-checkbox-selected-hover-icon-color:#f44336;--mdc-checkbox-selected-icon-color:#f44336;--mdc-checkbox-selected-pressed-icon-color:#f44336;--mdc-checkbox-unselected-focus-icon-color:#212121;--mdc-checkbox-unselected-hover-icon-color:#212121;--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color:#f44336;--mdc-checkbox-selected-hover-state-layer-color:#f44336;--mdc-checkbox-selected-pressed-state-layer-color:#f44336;--mdc-checkbox-unselected-focus-state-layer-color:black;--mdc-checkbox-unselected-hover-state-layer-color:black;--mdc-checkbox-unselected-pressed-state-layer-color:black}.mat-mdc-checkbox .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:#00000061}html{--mdc-checkbox-state-layer-size:40px}.mat-mdc-checkbox .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-button{--mdc-text-button-label-text-color:#000;--mdc-text-button-disabled-label-text-color:rgba(0, 0, 0, .38);--mat-text-button-state-layer-color:#000;--mat-text-button-ripple-color:rgba(0, 0, 0, .1);--mat-text-button-hover-state-layer-opacity:.04;--mat-text-button-focus-state-layer-opacity:.12;--mat-text-button-pressed-state-layer-opacity:.12}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color:#3f51b5;--mat-text-button-state-layer-color:#3f51b5;--mat-text-button-ripple-color:rgba(63, 81, 181, .1)}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color:#ff4081;--mat-text-button-state-layer-color:#ff4081;--mat-text-button-ripple-color:rgba(255, 64, 129, .1)}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color:#f44336;--mat-text-button-state-layer-color:#f44336;--mat-text-button-ripple-color:rgba(244, 67, 54, .1)}.mat-mdc-unelevated-button{--mdc-filled-button-container-color:white;--mdc-filled-button-label-text-color:#000;--mdc-filled-button-disabled-container-color:rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color:rgba(0, 0, 0, .38);--mat-filled-button-state-layer-color:#000;--mat-filled-button-ripple-color:rgba(0, 0, 0, .1);--mat-filled-button-hover-state-layer-opacity:.04;--mat-filled-button-focus-state-layer-opacity:.12;--mat-filled-button-pressed-state-layer-opacity:.12}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color:#3f51b5;--mdc-filled-button-label-text-color:#fff;--mat-filled-button-state-layer-color:#fff;--mat-filled-button-ripple-color:rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color:#ff4081;--mdc-filled-button-label-text-color:#fff;--mat-filled-button-state-layer-color:#fff;--mat-filled-button-ripple-color:rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color:#f44336;--mdc-filled-button-label-text-color:#fff;--mat-filled-button-state-layer-color:#fff;--mat-filled-button-ripple-color:rgba(255, 255, 255, .1)}.mat-mdc-raised-button{--mdc-protected-button-container-color:white;--mdc-protected-button-label-text-color:#000;--mdc-protected-button-disabled-container-color:rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color:rgba(0, 0, 0, .38);--mat-protected-button-state-layer-color:#000;--mat-protected-button-ripple-color:rgba(0, 0, 0, .1);--mat-protected-button-hover-state-layer-opacity:.04;--mat-protected-button-focus-state-layer-opacity:.12;--mat-protected-button-pressed-state-layer-opacity:.12;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color:#3f51b5;--mdc-protected-button-label-text-color:#fff;--mat-protected-button-state-layer-color:#fff;--mat-protected-button-ripple-color:rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color:#ff4081;--mdc-protected-button-label-text-color:#fff;--mat-protected-button-state-layer-color:#fff;--mat-protected-button-ripple-color:rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color:#f44336;--mdc-protected-button-label-text-color:#fff;--mat-protected-button-state-layer-color:#fff;--mat-protected-button-ripple-color:rgba(255, 255, 255, .1)}.mat-mdc-raised-button:hover,.mat-mdc-raised-button:focus{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-mdc-outlined-button{--mdc-outlined-button-disabled-outline-color:rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-label-text-color:rgba(0, 0, 0, .38);--mdc-outlined-button-label-text-color:#000;--mdc-outlined-button-outline-color:rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color:#000;--mat-outlined-button-ripple-color:rgba(0, 0, 0, .1);--mat-outlined-button-hover-state-layer-opacity:.04;--mat-outlined-button-focus-state-layer-opacity:.12;--mat-outlined-button-pressed-state-layer-opacity:.12}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color:#3f51b5;--mdc-outlined-button-outline-color:rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color:#3f51b5;--mat-outlined-button-ripple-color:rgba(63, 81, 181, .1)}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color:#ff4081;--mdc-outlined-button-outline-color:rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color:#ff4081;--mat-outlined-button-ripple-color:rgba(255, 64, 129, .1)}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color:#f44336;--mdc-outlined-button-outline-color:rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color:#f44336;--mat-outlined-button-ripple-color:rgba(244, 67, 54, .1)}.mat-mdc-button{--mdc-text-button-container-height:36px}.mat-mdc-raised-button{--mdc-protected-button-container-height:36px}.mat-mdc-unelevated-button{--mdc-filled-button-container-height:36px}.mat-mdc-outlined-button{--mdc-outlined-button-container-height:36px}html{--mdc-text-button-label-text-font:Roboto, sans-serif;--mdc-text-button-label-text-size:14px;--mdc-text-button-label-text-tracking:.0892857143em;--mdc-text-button-label-text-weight:500;--mdc-text-button-label-text-transform:none;--mdc-filled-button-label-text-font:Roboto, sans-serif;--mdc-filled-button-label-text-size:14px;--mdc-filled-button-label-text-tracking:.0892857143em;--mdc-filled-button-label-text-weight:500;--mdc-filled-button-label-text-transform:none;--mdc-outlined-button-label-text-font:Roboto, sans-serif;--mdc-outlined-button-label-text-size:14px;--mdc-outlined-button-label-text-tracking:.0892857143em;--mdc-outlined-button-label-text-weight:500;--mdc-outlined-button-label-text-transform:none;--mdc-protected-button-label-text-font:Roboto, sans-serif;--mdc-protected-button-label-text-size:14px;--mdc-protected-button-label-text-tracking:.0892857143em;--mdc-protected-button-label-text-weight:500;--mdc-protected-button-label-text-transform:none}.mat-mdc-icon-button{--mdc-icon-button-icon-color:inherit;--mdc-icon-button-disabled-icon-color:rgba(0, 0, 0, .38);--mat-icon-button-state-layer-color:#000;--mat-icon-button-ripple-color:rgba(0, 0, 0, .1);--mat-icon-button-hover-state-layer-opacity:.04;--mat-icon-button-focus-state-layer-opacity:.12;--mat-icon-button-pressed-state-layer-opacity:.12}.mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color:#3f51b5;--mat-icon-button-state-layer-color:#3f51b5;--mat-icon-button-ripple-color:rgba(63, 81, 181, .1)}.mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color:#ff4081;--mat-icon-button-state-layer-color:#ff4081;--mat-icon-button-ripple-color:rgba(255, 64, 129, .1)}.mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color:#f44336;--mat-icon-button-state-layer-color:#f44336;--mat-icon-button-ripple-color:rgba(244, 67, 54, .1)}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size:48px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:12px}html{--mdc-fab-container-shape:50%;--mdc-fab-icon-size:24px}html{--mdc-fab-container-color:white;--mat-fab-foreground-color:black;--mat-fab-state-layer-color:#000;--mat-fab-ripple-color:rgba(0, 0, 0, .1);--mat-fab-hover-state-layer-opacity:.04;--mat-fab-focus-state-layer-opacity:.12;--mat-fab-pressed-state-layer-opacity:.12;--mat-fab-disabled-state-container-color:rgba(0, 0, 0, .12);--mat-fab-disabled-state-foreground-color:rgba(0, 0, 0, .38)}html .mat-mdc-fab.mat-primary,html .mat-mdc-mini-fab.mat-primary{--mdc-fab-container-color:#3f51b5;--mat-fab-foreground-color:#fff;--mat-fab-state-layer-color:#fff;--mat-fab-ripple-color:rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-accent,html .mat-mdc-mini-fab.mat-accent{--mdc-fab-container-color:#ff4081;--mat-fab-foreground-color:#fff;--mat-fab-state-layer-color:#fff;--mat-fab-ripple-color:rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-warn,html .mat-mdc-mini-fab.mat-warn{--mdc-fab-container-color:#f44336;--mat-fab-foreground-color:#fff;--mat-fab-state-layer-color:#fff;--mat-fab-ripple-color:rgba(255, 255, 255, .1)}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}html{--mdc-extended-fab-label-text-font:Roboto, sans-serif;--mdc-extended-fab-label-text-size:14px;--mdc-extended-fab-label-text-tracking:.0892857143em;--mdc-extended-fab-label-text-weight:500}html{--mdc-snackbar-container-shape:4px}html{--mdc-snackbar-container-color:#333333;--mdc-snackbar-supporting-text-color:rgba(255, 255, 255, .87);--mat-snack-bar-button-color:#ff4081}html{--mdc-snackbar-supporting-text-font:Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height:20px;--mdc-snackbar-supporting-text-size:14px;--mdc-snackbar-supporting-text-weight:400}html{--mat-table-row-item-outline-width:1px}html{--mat-table-background-color:white;--mat-table-header-headline-color:rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color:rgba(0, 0, 0, .87);--mat-table-row-item-outline-color:rgba(0, 0, 0, .12)}html{--mat-table-header-container-height:56px;--mat-table-footer-container-height:52px;--mat-table-row-item-container-height:52px}html{--mat-table-header-headline-font:Roboto, sans-serif;--mat-table-header-headline-line-height:22px;--mat-table-header-headline-size:14px;--mat-table-header-headline-weight:500;--mat-table-header-headline-tracking:.0071428571em;--mat-table-row-item-label-text-font:Roboto, sans-serif;--mat-table-row-item-label-text-line-height:20px;--mat-table-row-item-label-text-size:14px;--mat-table-row-item-label-text-weight:400;--mat-table-row-item-label-text-tracking:.0178571429em;--mat-table-footer-supporting-text-font:Roboto, sans-serif;--mat-table-footer-supporting-text-line-height:20px;--mat-table-footer-supporting-text-size:14px;--mat-table-footer-supporting-text-weight:400;--mat-table-footer-supporting-text-tracking:.0178571429em}html{--mdc-circular-progress-active-indicator-width:4px;--mdc-circular-progress-size:48px}html{--mdc-circular-progress-active-indicator-color:#3f51b5}html .mat-accent{--mdc-circular-progress-active-indicator-color:#ff4081}html .mat-warn{--mdc-circular-progress-active-indicator-color:#f44336}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:Roboto,sans-serif;font-family:var(--mat-badge-text-font, Roboto, sans-serif);font-size:12px;font-size:var(--mat-badge-text-size, 12px);font-weight:600;font-weight:var(--mat-badge-text-weight, 600)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px;font-size:9px;font-size:var(--mat-badge-small-size-text-size, 9px)}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px;font-size:24px;font-size:var(--mat-badge-large-size-text-size, 24px)}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}html{--mat-badge-background-color:#3f51b5;--mat-badge-text-color:white;--mat-badge-disabled-state-background-color:#b9b9b9;--mat-badge-disabled-state-text-color:rgba(0, 0, 0, .38)}.mat-badge-accent{--mat-badge-background-color:#ff4081;--mat-badge-text-color:white}.mat-badge-warn{--mat-badge-background-color:#f44336;--mat-badge-text-color:white}html{--mat-badge-text-font:Roboto, sans-serif;--mat-badge-text-size:12px;--mat-badge-text-weight:600;--mat-badge-small-size-text-size:9px;--mat-badge-large-size-text-size:24px}html{--mat-bottom-sheet-container-shape:4px}html{--mat-bottom-sheet-container-text-color:rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color:white}html{--mat-bottom-sheet-container-text-font:Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height:20px;--mat-bottom-sheet-container-text-size:14px;--mat-bottom-sheet-container-text-tracking:.0178571429em;--mat-bottom-sheet-container-text-weight:400}html{--mat-legacy-button-toggle-height:36px;--mat-legacy-button-toggle-shape:2px;--mat-legacy-button-toggle-focus-state-layer-opacity:1;--mat-standard-button-toggle-shape:4px;--mat-standard-button-toggle-hover-state-layer-opacity:.04;--mat-standard-button-toggle-focus-state-layer-opacity:.12}html{--mat-legacy-button-toggle-text-color:rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color:rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color:rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color:#e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color:rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color:#eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color:#bdbdbd;--mat-standard-button-toggle-text-color:rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color:white;--mat-standard-button-toggle-state-layer-color:black;--mat-standard-button-toggle-selected-state-background-color:#e0e0e0;--mat-standard-button-toggle-selected-state-text-color:rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color:rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color:white;--mat-standard-button-toggle-disabled-selected-state-text-color:rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color:#bdbdbd;--mat-standard-button-toggle-divider-color:#e0e0e0}html{--mat-standard-button-toggle-height:48px}html{--mat-legacy-button-toggle-text-font:Roboto, sans-serif;--mat-standard-button-toggle-text-font:Roboto, sans-serif}html{--mat-datepicker-calendar-date-selected-state-text-color:white;--mat-datepicker-calendar-date-selected-state-background-color:#3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color:rgba(63, 81, 181, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color:white;--mat-datepicker-calendar-date-focus-state-background-color:rgba(63, 81, 181, .3);--mat-datepicker-calendar-date-hover-state-background-color:rgba(63, 81, 181, .3);--mat-datepicker-toggle-active-state-icon-color:#3f51b5;--mat-datepicker-calendar-date-in-range-state-background-color:rgba(63, 81, 181, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color:rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color:#a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color:#46a35e;--mat-datepicker-toggle-icon-color:rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color:rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-icon-color:rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color:rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color:rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color:rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color:rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color:rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color:rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color:transparent;--mat-datepicker-calendar-date-disabled-state-text-color:rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color:rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color:rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color:rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color:rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color:white;--mat-datepicker-calendar-container-text-color:rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color:white;--mat-datepicker-calendar-date-selected-state-background-color:#ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color:rgba(255, 64, 129, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color:white;--mat-datepicker-calendar-date-focus-state-background-color:rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-hover-state-background-color:rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-in-range-state-background-color:rgba(255, 64, 129, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color:rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color:#a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color:#46a35e}.mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color:white;--mat-datepicker-calendar-date-selected-state-background-color:#f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color:rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color:white;--mat-datepicker-calendar-date-focus-state-background-color:rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color:rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color:rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color:rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color:#a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color:#46a35e}.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color:#ff4081}.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color:#f44336}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size:40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target{display:none}html{--mat-datepicker-calendar-text-font:Roboto, sans-serif;--mat-datepicker-calendar-text-size:13px;--mat-datepicker-calendar-body-label-text-size:14px;--mat-datepicker-calendar-body-label-text-weight:500;--mat-datepicker-calendar-period-button-text-size:14px;--mat-datepicker-calendar-period-button-text-weight:500;--mat-datepicker-calendar-header-text-size:11px;--mat-datepicker-calendar-header-text-weight:400}html{--mat-divider-width:1px}html{--mat-divider-color:rgba(0, 0, 0, .12)}html{--mat-expansion-container-shape:4px}html{--mat-expansion-container-background-color:white;--mat-expansion-container-text-color:rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color:rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color:rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color:rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color:rgba(0, 0, 0, .26);--mat-expansion-header-text-color:rgba(0, 0, 0, .87);--mat-expansion-header-description-color:rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color:rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height:48px;--mat-expansion-header-expanded-state-height:64px}html{--mat-expansion-header-text-font:Roboto, sans-serif;--mat-expansion-header-text-size:14px;--mat-expansion-header-text-weight:500;--mat-expansion-header-text-line-height:inherit;--mat-expansion-header-text-tracking:inherit;--mat-expansion-container-text-font:Roboto, sans-serif;--mat-expansion-container-text-line-height:20px;--mat-expansion-container-text-size:14px;--mat-expansion-container-text-tracking:.0178571429em;--mat-expansion-container-text-weight:400}html{--mat-grid-list-tile-header-primary-text-size:14px;--mat-grid-list-tile-header-secondary-text-size:12px;--mat-grid-list-tile-footer-primary-text-size:14px;--mat-grid-list-tile-footer-secondary-text-size:12px}html{--mat-icon-color:inherit}.mat-icon.mat-primary{--mat-icon-color:#3f51b5}.mat-icon.mat-accent{--mat-icon-color:#ff4081}.mat-icon.mat-warn{--mat-icon-color:#f44336}html{--mat-sidenav-container-shape:0}html{--mat-sidenav-container-divider-color:rgba(0, 0, 0, .12);--mat-sidenav-container-background-color:white;--mat-sidenav-container-text-color:rgba(0, 0, 0, .87);--mat-sidenav-content-background-color:#fafafa;--mat-sidenav-content-text-color:rgba(0, 0, 0, .87);--mat-sidenav-scrim-color:rgba(0, 0, 0, .6)}html{--mat-stepper-header-icon-foreground-color:white;--mat-stepper-header-selected-state-icon-background-color:#3f51b5;--mat-stepper-header-selected-state-icon-foreground-color:white;--mat-stepper-header-done-state-icon-background-color:#3f51b5;--mat-stepper-header-done-state-icon-foreground-color:white;--mat-stepper-header-edit-state-icon-background-color:#3f51b5;--mat-stepper-header-edit-state-icon-foreground-color:white;--mat-stepper-container-color:white;--mat-stepper-line-color:rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color:rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color:rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color:rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color:rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color:rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color:#f44336;--mat-stepper-header-icon-background-color:rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color:#f44336;--mat-stepper-header-error-state-icon-background-color:transparent}html .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color:white;--mat-stepper-header-selected-state-icon-background-color:#ff4081;--mat-stepper-header-selected-state-icon-foreground-color:white;--mat-stepper-header-done-state-icon-background-color:#ff4081;--mat-stepper-header-done-state-icon-foreground-color:white;--mat-stepper-header-edit-state-icon-background-color:#ff4081;--mat-stepper-header-edit-state-icon-foreground-color:white}html .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color:white;--mat-stepper-header-selected-state-icon-background-color:#f44336;--mat-stepper-header-selected-state-icon-foreground-color:white;--mat-stepper-header-done-state-icon-background-color:#f44336;--mat-stepper-header-done-state-icon-foreground-color:white;--mat-stepper-header-edit-state-icon-background-color:#f44336;--mat-stepper-header-edit-state-icon-foreground-color:white}html{--mat-stepper-header-height:72px}html{--mat-stepper-container-text-font:Roboto, sans-serif;--mat-stepper-header-label-text-font:Roboto, sans-serif;--mat-stepper-header-label-text-size:14px;--mat-stepper-header-label-text-weight:400;--mat-stepper-header-error-state-label-text-size:16px;--mat-stepper-header-selected-state-label-text-size:16px;--mat-stepper-header-selected-state-label-text-weight:400}html{--mat-sort-arrow-color:#757575}html{--mat-toolbar-container-background-color:whitesmoke;--mat-toolbar-container-text-color:rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color:#3f51b5;--mat-toolbar-container-text-color:white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color:#ff4081;--mat-toolbar-container-text-color:white}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color:#f44336;--mat-toolbar-container-text-color:white}html{--mat-toolbar-standard-height:64px;--mat-toolbar-mobile-height:56px}html{--mat-toolbar-title-text-font:Roboto, sans-serif;--mat-toolbar-title-text-line-height:32px;--mat-toolbar-title-text-size:20px;--mat-toolbar-title-text-tracking:.0125em;--mat-toolbar-title-text-weight:500}html{--mat-tree-container-background-color:white;--mat-tree-node-text-color:rgba(0, 0, 0, .87)}html{--mat-tree-node-min-height:48px}html{--mat-tree-node-text-font:Roboto, sans-serif;--mat-tree-node-text-size:14px;--mat-tree-node-text-weight:400}.mat-h1,.mat-headline-5,.mat-typography .mat-h1,.mat-typography .mat-headline-5,.mat-typography h1{font:400 24px/32px Roboto,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-headline-6,.mat-typography .mat-h2,.mat-typography .mat-headline-6,.mat-typography h2{font:500 20px/32px Roboto,sans-serif;letter-spacing:.0125em;margin:0 0 16px}.mat-h3,.mat-subtitle-1,.mat-typography .mat-h3,.mat-typography .mat-subtitle-1,.mat-typography h3{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em;margin:0 0 16px}.mat-h4,.mat-body-1,.mat-typography .mat-h4,.mat-typography .mat-body-1,.mat-typography h4{font:400 16px/24px Roboto,sans-serif;letter-spacing:.03125em;margin:0 0 16px}.mat-h5,.mat-typography .mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography .mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,sans-serif;margin:0 0 12px}.mat-body-strong,.mat-subtitle-2,.mat-typography .mat-body-strong,.mat-typography .mat-subtitle-2{font:500 14px/22px Roboto,sans-serif;letter-spacing:.0071428571em}.mat-body,.mat-body-2,.mat-typography .mat-body,.mat-typography .mat-body-2,.mat-typography{font:400 14px/20px Roboto,sans-serif;letter-spacing:.0178571429em}.mat-body p,.mat-body-2 p,.mat-typography .mat-body p,.mat-typography .mat-body-2 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption,.mat-typography .mat-small,.mat-typography .mat-caption{font:400 12px/20px Roboto,sans-serif;letter-spacing:.0333333333em}.mat-headline-1,.mat-typography .mat-headline-1{font:300 96px/96px Roboto,sans-serif;letter-spacing:-.015625em;margin:0 0 56px}.mat-headline-2,.mat-typography .mat-headline-2{font:300 60px/60px Roboto,sans-serif;letter-spacing:-.0083333333em;margin:0 0 64px}.mat-headline-3,.mat-typography .mat-headline-3{font:400 48px/50px Roboto,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-headline-4,.mat-typography .mat-headline-4{font:400 34px/40px Roboto,sans-serif;letter-spacing:.0073529412em;margin:0 0 64px}@font-face{font-display:block;font-family:bootstrap-icons;src:url("./media/bootstrap-icons-X6UQXWUS.woff2?dd67030699838ea613ee6dbda90effa6") format("woff2"),url("./media/bootstrap-icons-OCU552PF.woff?dd67030699838ea613ee6dbda90effa6") format("woff")}.bi:before,[class^=bi-]:before,[class*=" bi-"]:before{display:inline-block;font-family:bootstrap-icons!important;font-style:normal;font-weight:400!important;font-variant:normal;text-transform:none;line-height:1;vertical-align:-.125em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bi-123:before{content:"\f67f"}.bi-alarm-fill:before{content:"\f101"}.bi-alarm:before{content:"\f102"}.bi-align-bottom:before{content:"\f103"}.bi-align-center:before{content:"\f104"}.bi-align-end:before{content:"\f105"}.bi-align-middle:before{content:"\f106"}.bi-align-start:before{content:"\f107"}.bi-align-top:before{content:"\f108"}.bi-alt:before{content:"\f109"}.bi-app-indicator:before{content:"\f10a"}.bi-app:before{content:"\f10b"}.bi-archive-fill:before{content:"\f10c"}.bi-archive:before{content:"\f10d"}.bi-arrow-90deg-down:before{content:"\f10e"}.bi-arrow-90deg-left:before{content:"\f10f"}.bi-arrow-90deg-right:before{content:"\f110"}.bi-arrow-90deg-up:before{content:"\f111"}.bi-arrow-bar-down:before{content:"\f112"}.bi-arrow-bar-left:before{content:"\f113"}.bi-arrow-bar-right:before{content:"\f114"}.bi-arrow-bar-up:before{content:"\f115"}.bi-arrow-clockwise:before{content:"\f116"}.bi-arrow-counterclockwise:before{content:"\f117"}.bi-arrow-down-circle-fill:before{content:"\f118"}.bi-arrow-down-circle:before{content:"\f119"}.bi-arrow-down-left-circle-fill:before{content:"\f11a"}.bi-arrow-down-left-circle:before{content:"\f11b"}.bi-arrow-down-left-square-fill:before{content:"\f11c"}.bi-arrow-down-left-square:before{content:"\f11d"}.bi-arrow-down-left:before{content:"\f11e"}.bi-arrow-down-right-circle-fill:before{content:"\f11f"}.bi-arrow-down-right-circle:before{content:"\f120"}.bi-arrow-down-right-square-fill:before{content:"\f121"}.bi-arrow-down-right-square:before{content:"\f122"}.bi-arrow-down-right:before{content:"\f123"}.bi-arrow-down-short:before{content:"\f124"}.bi-arrow-down-square-fill:before{content:"\f125"}.bi-arrow-down-square:before{content:"\f126"}.bi-arrow-down-up:before{content:"\f127"}.bi-arrow-down:before{content:"\f128"}.bi-arrow-left-circle-fill:before{content:"\f129"}.bi-arrow-left-circle:before{content:"\f12a"}.bi-arrow-left-right:before{content:"\f12b"}.bi-arrow-left-short:before{content:"\f12c"}.bi-arrow-left-square-fill:before{content:"\f12d"}.bi-arrow-left-square:before{content:"\f12e"}.bi-arrow-left:before{content:"\f12f"}.bi-arrow-repeat:before{content:"\f130"}.bi-arrow-return-left:before{content:"\f131"}.bi-arrow-return-right:before{content:"\f132"}.bi-arrow-right-circle-fill:before{content:"\f133"}.bi-arrow-right-circle:before{content:"\f134"}.bi-arrow-right-short:before{content:"\f135"}.bi-arrow-right-square-fill:before{content:"\f136"}.bi-arrow-right-square:before{content:"\f137"}.bi-arrow-right:before{content:"\f138"}.bi-arrow-up-circle-fill:before{content:"\f139"}.bi-arrow-up-circle:before{content:"\f13a"}.bi-arrow-up-left-circle-fill:before{content:"\f13b"}.bi-arrow-up-left-circle:before{content:"\f13c"}.bi-arrow-up-left-square-fill:before{content:"\f13d"}.bi-arrow-up-left-square:before{content:"\f13e"}.bi-arrow-up-left:before{content:"\f13f"}.bi-arrow-up-right-circle-fill:before{content:"\f140"}.bi-arrow-up-right-circle:before{content:"\f141"}.bi-arrow-up-right-square-fill:before{content:"\f142"}.bi-arrow-up-right-square:before{content:"\f143"}.bi-arrow-up-right:before{content:"\f144"}.bi-arrow-up-short:before{content:"\f145"}.bi-arrow-up-square-fill:before{content:"\f146"}.bi-arrow-up-square:before{content:"\f147"}.bi-arrow-up:before{content:"\f148"}.bi-arrows-angle-contract:before{content:"\f149"}.bi-arrows-angle-expand:before{content:"\f14a"}.bi-arrows-collapse:before{content:"\f14b"}.bi-arrows-expand:before{content:"\f14c"}.bi-arrows-fullscreen:before{content:"\f14d"}.bi-arrows-move:before{content:"\f14e"}.bi-aspect-ratio-fill:before{content:"\f14f"}.bi-aspect-ratio:before{content:"\f150"}.bi-asterisk:before{content:"\f151"}.bi-at:before{content:"\f152"}.bi-award-fill:before{content:"\f153"}.bi-award:before{content:"\f154"}.bi-back:before{content:"\f155"}.bi-backspace-fill:before{content:"\f156"}.bi-backspace-reverse-fill:before{content:"\f157"}.bi-backspace-reverse:before{content:"\f158"}.bi-backspace:before{content:"\f159"}.bi-badge-3d-fill:before{content:"\f15a"}.bi-badge-3d:before{content:"\f15b"}.bi-badge-4k-fill:before{content:"\f15c"}.bi-badge-4k:before{content:"\f15d"}.bi-badge-8k-fill:before{content:"\f15e"}.bi-badge-8k:before{content:"\f15f"}.bi-badge-ad-fill:before{content:"\f160"}.bi-badge-ad:before{content:"\f161"}.bi-badge-ar-fill:before{content:"\f162"}.bi-badge-ar:before{content:"\f163"}.bi-badge-cc-fill:before{content:"\f164"}.bi-badge-cc:before{content:"\f165"}.bi-badge-hd-fill:before{content:"\f166"}.bi-badge-hd:before{content:"\f167"}.bi-badge-tm-fill:before{content:"\f168"}.bi-badge-tm:before{content:"\f169"}.bi-badge-vo-fill:before{content:"\f16a"}.bi-badge-vo:before{content:"\f16b"}.bi-badge-vr-fill:before{content:"\f16c"}.bi-badge-vr:before{content:"\f16d"}.bi-badge-wc-fill:before{content:"\f16e"}.bi-badge-wc:before{content:"\f16f"}.bi-bag-check-fill:before{content:"\f170"}.bi-bag-check:before{content:"\f171"}.bi-bag-dash-fill:before{content:"\f172"}.bi-bag-dash:before{content:"\f173"}.bi-bag-fill:before{content:"\f174"}.bi-bag-plus-fill:before{content:"\f175"}.bi-bag-plus:before{content:"\f176"}.bi-bag-x-fill:before{content:"\f177"}.bi-bag-x:before{content:"\f178"}.bi-bag:before{content:"\f179"}.bi-bar-chart-fill:before{content:"\f17a"}.bi-bar-chart-line-fill:before{content:"\f17b"}.bi-bar-chart-line:before{content:"\f17c"}.bi-bar-chart-steps:before{content:"\f17d"}.bi-bar-chart:before{content:"\f17e"}.bi-basket-fill:before{content:"\f17f"}.bi-basket:before{content:"\f180"}.bi-basket2-fill:before{content:"\f181"}.bi-basket2:before{content:"\f182"}.bi-basket3-fill:before{content:"\f183"}.bi-basket3:before{content:"\f184"}.bi-battery-charging:before{content:"\f185"}.bi-battery-full:before{content:"\f186"}.bi-battery-half:before{content:"\f187"}.bi-battery:before{content:"\f188"}.bi-bell-fill:before{content:"\f189"}.bi-bell:before{content:"\f18a"}.bi-bezier:before{content:"\f18b"}.bi-bezier2:before{content:"\f18c"}.bi-bicycle:before{content:"\f18d"}.bi-binoculars-fill:before{content:"\f18e"}.bi-binoculars:before{content:"\f18f"}.bi-blockquote-left:before{content:"\f190"}.bi-blockquote-right:before{content:"\f191"}.bi-book-fill:before{content:"\f192"}.bi-book-half:before{content:"\f193"}.bi-book:before{content:"\f194"}.bi-bookmark-check-fill:before{content:"\f195"}.bi-bookmark-check:before{content:"\f196"}.bi-bookmark-dash-fill:before{content:"\f197"}.bi-bookmark-dash:before{content:"\f198"}.bi-bookmark-fill:before{content:"\f199"}.bi-bookmark-heart-fill:before{content:"\f19a"}.bi-bookmark-heart:before{content:"\f19b"}.bi-bookmark-plus-fill:before{content:"\f19c"}.bi-bookmark-plus:before{content:"\f19d"}.bi-bookmark-star-fill:before{content:"\f19e"}.bi-bookmark-star:before{content:"\f19f"}.bi-bookmark-x-fill:before{content:"\f1a0"}.bi-bookmark-x:before{content:"\f1a1"}.bi-bookmark:before{content:"\f1a2"}.bi-bookmarks-fill:before{content:"\f1a3"}.bi-bookmarks:before{content:"\f1a4"}.bi-bookshelf:before{content:"\f1a5"}.bi-bootstrap-fill:before{content:"\f1a6"}.bi-bootstrap-reboot:before{content:"\f1a7"}.bi-bootstrap:before{content:"\f1a8"}.bi-border-all:before{content:"\f1a9"}.bi-border-bottom:before{content:"\f1aa"}.bi-border-center:before{content:"\f1ab"}.bi-border-inner:before{content:"\f1ac"}.bi-border-left:before{content:"\f1ad"}.bi-border-middle:before{content:"\f1ae"}.bi-border-outer:before{content:"\f1af"}.bi-border-right:before{content:"\f1b0"}.bi-border-style:before{content:"\f1b1"}.bi-border-top:before{content:"\f1b2"}.bi-border-width:before{content:"\f1b3"}.bi-border:before{content:"\f1b4"}.bi-bounding-box-circles:before{content:"\f1b5"}.bi-bounding-box:before{content:"\f1b6"}.bi-box-arrow-down-left:before{content:"\f1b7"}.bi-box-arrow-down-right:before{content:"\f1b8"}.bi-box-arrow-down:before{content:"\f1b9"}.bi-box-arrow-in-down-left:before{content:"\f1ba"}.bi-box-arrow-in-down-right:before{content:"\f1bb"}.bi-box-arrow-in-down:before{content:"\f1bc"}.bi-box-arrow-in-left:before{content:"\f1bd"}.bi-box-arrow-in-right:before{content:"\f1be"}.bi-box-arrow-in-up-left:before{content:"\f1bf"}.bi-box-arrow-in-up-right:before{content:"\f1c0"}.bi-box-arrow-in-up:before{content:"\f1c1"}.bi-box-arrow-left:before{content:"\f1c2"}.bi-box-arrow-right:before{content:"\f1c3"}.bi-box-arrow-up-left:before{content:"\f1c4"}.bi-box-arrow-up-right:before{content:"\f1c5"}.bi-box-arrow-up:before{content:"\f1c6"}.bi-box-seam:before{content:"\f1c7"}.bi-box:before{content:"\f1c8"}.bi-braces:before{content:"\f1c9"}.bi-bricks:before{content:"\f1ca"}.bi-briefcase-fill:before{content:"\f1cb"}.bi-briefcase:before{content:"\f1cc"}.bi-brightness-alt-high-fill:before{content:"\f1cd"}.bi-brightness-alt-high:before{content:"\f1ce"}.bi-brightness-alt-low-fill:before{content:"\f1cf"}.bi-brightness-alt-low:before{content:"\f1d0"}.bi-brightness-high-fill:before{content:"\f1d1"}.bi-brightness-high:before{content:"\f1d2"}.bi-brightness-low-fill:before{content:"\f1d3"}.bi-brightness-low:before{content:"\f1d4"}.bi-broadcast-pin:before{content:"\f1d5"}.bi-broadcast:before{content:"\f1d6"}.bi-brush-fill:before{content:"\f1d7"}.bi-brush:before{content:"\f1d8"}.bi-bucket-fill:before{content:"\f1d9"}.bi-bucket:before{content:"\f1da"}.bi-bug-fill:before{content:"\f1db"}.bi-bug:before{content:"\f1dc"}.bi-building:before{content:"\f1dd"}.bi-bullseye:before{content:"\f1de"}.bi-calculator-fill:before{content:"\f1df"}.bi-calculator:before{content:"\f1e0"}.bi-calendar-check-fill:before{content:"\f1e1"}.bi-calendar-check:before{content:"\f1e2"}.bi-calendar-date-fill:before{content:"\f1e3"}.bi-calendar-date:before{content:"\f1e4"}.bi-calendar-day-fill:before{content:"\f1e5"}.bi-calendar-day:before{content:"\f1e6"}.bi-calendar-event-fill:before{content:"\f1e7"}.bi-calendar-event:before{content:"\f1e8"}.bi-calendar-fill:before{content:"\f1e9"}.bi-calendar-minus-fill:before{content:"\f1ea"}.bi-calendar-minus:before{content:"\f1eb"}.bi-calendar-month-fill:before{content:"\f1ec"}.bi-calendar-month:before{content:"\f1ed"}.bi-calendar-plus-fill:before{content:"\f1ee"}.bi-calendar-plus:before{content:"\f1ef"}.bi-calendar-range-fill:before{content:"\f1f0"}.bi-calendar-range:before{content:"\f1f1"}.bi-calendar-week-fill:before{content:"\f1f2"}.bi-calendar-week:before{content:"\f1f3"}.bi-calendar-x-fill:before{content:"\f1f4"}.bi-calendar-x:before{content:"\f1f5"}.bi-calendar:before{content:"\f1f6"}.bi-calendar2-check-fill:before{content:"\f1f7"}.bi-calendar2-check:before{content:"\f1f8"}.bi-calendar2-date-fill:before{content:"\f1f9"}.bi-calendar2-date:before{content:"\f1fa"}.bi-calendar2-day-fill:before{content:"\f1fb"}.bi-calendar2-day:before{content:"\f1fc"}.bi-calendar2-event-fill:before{content:"\f1fd"}.bi-calendar2-event:before{content:"\f1fe"}.bi-calendar2-fill:before{content:"\f1ff"}.bi-calendar2-minus-fill:before{content:"\f200"}.bi-calendar2-minus:before{content:"\f201"}.bi-calendar2-month-fill:before{content:"\f202"}.bi-calendar2-month:before{content:"\f203"}.bi-calendar2-plus-fill:before{content:"\f204"}.bi-calendar2-plus:before{content:"\f205"}.bi-calendar2-range-fill:before{content:"\f206"}.bi-calendar2-range:before{content:"\f207"}.bi-calendar2-week-fill:before{content:"\f208"}.bi-calendar2-week:before{content:"\f209"}.bi-calendar2-x-fill:before{content:"\f20a"}.bi-calendar2-x:before{content:"\f20b"}.bi-calendar2:before{content:"\f20c"}.bi-calendar3-event-fill:before{content:"\f20d"}.bi-calendar3-event:before{content:"\f20e"}.bi-calendar3-fill:before{content:"\f20f"}.bi-calendar3-range-fill:before{content:"\f210"}.bi-calendar3-range:before{content:"\f211"}.bi-calendar3-week-fill:before{content:"\f212"}.bi-calendar3-week:before{content:"\f213"}.bi-calendar3:before{content:"\f214"}.bi-calendar4-event:before{content:"\f215"}.bi-calendar4-range:before{content:"\f216"}.bi-calendar4-week:before{content:"\f217"}.bi-calendar4:before{content:"\f218"}.bi-camera-fill:before{content:"\f219"}.bi-camera-reels-fill:before{content:"\f21a"}.bi-camera-reels:before{content:"\f21b"}.bi-camera-video-fill:before{content:"\f21c"}.bi-camera-video-off-fill:before{content:"\f21d"}.bi-camera-video-off:before{content:"\f21e"}.bi-camera-video:before{content:"\f21f"}.bi-camera:before{content:"\f220"}.bi-camera2:before{content:"\f221"}.bi-capslock-fill:before{content:"\f222"}.bi-capslock:before{content:"\f223"}.bi-card-checklist:before{content:"\f224"}.bi-card-heading:before{content:"\f225"}.bi-card-image:before{content:"\f226"}.bi-card-list:before{content:"\f227"}.bi-card-text:before{content:"\f228"}.bi-caret-down-fill:before{content:"\f229"}.bi-caret-down-square-fill:before{content:"\f22a"}.bi-caret-down-square:before{content:"\f22b"}.bi-caret-down:before{content:"\f22c"}.bi-caret-left-fill:before{content:"\f22d"}.bi-caret-left-square-fill:before{content:"\f22e"}.bi-caret-left-square:before{content:"\f22f"}.bi-caret-left:before{content:"\f230"}.bi-caret-right-fill:before{content:"\f231"}.bi-caret-right-square-fill:before{content:"\f232"}.bi-caret-right-square:before{content:"\f233"}.bi-caret-right:before{content:"\f234"}.bi-caret-up-fill:before{content:"\f235"}.bi-caret-up-square-fill:before{content:"\f236"}.bi-caret-up-square:before{content:"\f237"}.bi-caret-up:before{content:"\f238"}.bi-cart-check-fill:before{content:"\f239"}.bi-cart-check:before{content:"\f23a"}.bi-cart-dash-fill:before{content:"\f23b"}.bi-cart-dash:before{content:"\f23c"}.bi-cart-fill:before{content:"\f23d"}.bi-cart-plus-fill:before{content:"\f23e"}.bi-cart-plus:before{content:"\f23f"}.bi-cart-x-fill:before{content:"\f240"}.bi-cart-x:before{content:"\f241"}.bi-cart:before{content:"\f242"}.bi-cart2:before{content:"\f243"}.bi-cart3:before{content:"\f244"}.bi-cart4:before{content:"\f245"}.bi-cash-stack:before{content:"\f246"}.bi-cash:before{content:"\f247"}.bi-cast:before{content:"\f248"}.bi-chat-dots-fill:before{content:"\f249"}.bi-chat-dots:before{content:"\f24a"}.bi-chat-fill:before{content:"\f24b"}.bi-chat-left-dots-fill:before{content:"\f24c"}.bi-chat-left-dots:before{content:"\f24d"}.bi-chat-left-fill:before{content:"\f24e"}.bi-chat-left-quote-fill:before{content:"\f24f"}.bi-chat-left-quote:before{content:"\f250"}.bi-chat-left-text-fill:before{content:"\f251"}.bi-chat-left-text:before{content:"\f252"}.bi-chat-left:before{content:"\f253"}.bi-chat-quote-fill:before{content:"\f254"}.bi-chat-quote:before{content:"\f255"}.bi-chat-right-dots-fill:before{content:"\f256"}.bi-chat-right-dots:before{content:"\f257"}.bi-chat-right-fill:before{content:"\f258"}.bi-chat-right-quote-fill:before{content:"\f259"}.bi-chat-right-quote:before{content:"\f25a"}.bi-chat-right-text-fill:before{content:"\f25b"}.bi-chat-right-text:before{content:"\f25c"}.bi-chat-right:before{content:"\f25d"}.bi-chat-square-dots-fill:before{content:"\f25e"}.bi-chat-square-dots:before{content:"\f25f"}.bi-chat-square-fill:before{content:"\f260"}.bi-chat-square-quote-fill:before{content:"\f261"}.bi-chat-square-quote:before{content:"\f262"}.bi-chat-square-text-fill:before{content:"\f263"}.bi-chat-square-text:before{content:"\f264"}.bi-chat-square:before{content:"\f265"}.bi-chat-text-fill:before{content:"\f266"}.bi-chat-text:before{content:"\f267"}.bi-chat:before{content:"\f268"}.bi-check-all:before{content:"\f269"}.bi-check-circle-fill:before{content:"\f26a"}.bi-check-circle:before{content:"\f26b"}.bi-check-square-fill:before{content:"\f26c"}.bi-check-square:before{content:"\f26d"}.bi-check:before{content:"\f26e"}.bi-check2-all:before{content:"\f26f"}.bi-check2-circle:before{content:"\f270"}.bi-check2-square:before{content:"\f271"}.bi-check2:before{content:"\f272"}.bi-chevron-bar-contract:before{content:"\f273"}.bi-chevron-bar-down:before{content:"\f274"}.bi-chevron-bar-expand:before{content:"\f275"}.bi-chevron-bar-left:before{content:"\f276"}.bi-chevron-bar-right:before{content:"\f277"}.bi-chevron-bar-up:before{content:"\f278"}.bi-chevron-compact-down:before{content:"\f279"}.bi-chevron-compact-left:before{content:"\f27a"}.bi-chevron-compact-right:before{content:"\f27b"}.bi-chevron-compact-up:before{content:"\f27c"}.bi-chevron-contract:before{content:"\f27d"}.bi-chevron-double-down:before{content:"\f27e"}.bi-chevron-double-left:before{content:"\f27f"}.bi-chevron-double-right:before{content:"\f280"}.bi-chevron-double-up:before{content:"\f281"}.bi-chevron-down:before{content:"\f282"}.bi-chevron-expand:before{content:"\f283"}.bi-chevron-left:before{content:"\f284"}.bi-chevron-right:before{content:"\f285"}.bi-chevron-up:before{content:"\f286"}.bi-circle-fill:before{content:"\f287"}.bi-circle-half:before{content:"\f288"}.bi-circle-square:before{content:"\f289"}.bi-circle:before{content:"\f28a"}.bi-clipboard-check:before{content:"\f28b"}.bi-clipboard-data:before{content:"\f28c"}.bi-clipboard-minus:before{content:"\f28d"}.bi-clipboard-plus:before{content:"\f28e"}.bi-clipboard-x:before{content:"\f28f"}.bi-clipboard:before{content:"\f290"}.bi-clock-fill:before{content:"\f291"}.bi-clock-history:before{content:"\f292"}.bi-clock:before{content:"\f293"}.bi-cloud-arrow-down-fill:before{content:"\f294"}.bi-cloud-arrow-down:before{content:"\f295"}.bi-cloud-arrow-up-fill:before{content:"\f296"}.bi-cloud-arrow-up:before{content:"\f297"}.bi-cloud-check-fill:before{content:"\f298"}.bi-cloud-check:before{content:"\f299"}.bi-cloud-download-fill:before{content:"\f29a"}.bi-cloud-download:before{content:"\f29b"}.bi-cloud-drizzle-fill:before{content:"\f29c"}.bi-cloud-drizzle:before{content:"\f29d"}.bi-cloud-fill:before{content:"\f29e"}.bi-cloud-fog-fill:before{content:"\f29f"}.bi-cloud-fog:before{content:"\f2a0"}.bi-cloud-fog2-fill:before{content:"\f2a1"}.bi-cloud-fog2:before{content:"\f2a2"}.bi-cloud-hail-fill:before{content:"\f2a3"}.bi-cloud-hail:before{content:"\f2a4"}.bi-cloud-haze-fill:before{content:"\f2a6"}.bi-cloud-haze:before{content:"\f2a7"}.bi-cloud-haze2-fill:before{content:"\f2a8"}.bi-cloud-lightning-fill:before{content:"\f2a9"}.bi-cloud-lightning-rain-fill:before{content:"\f2aa"}.bi-cloud-lightning-rain:before{content:"\f2ab"}.bi-cloud-lightning:before{content:"\f2ac"}.bi-cloud-minus-fill:before{content:"\f2ad"}.bi-cloud-minus:before{content:"\f2ae"}.bi-cloud-moon-fill:before{content:"\f2af"}.bi-cloud-moon:before{content:"\f2b0"}.bi-cloud-plus-fill:before{content:"\f2b1"}.bi-cloud-plus:before{content:"\f2b2"}.bi-cloud-rain-fill:before{content:"\f2b3"}.bi-cloud-rain-heavy-fill:before{content:"\f2b4"}.bi-cloud-rain-heavy:before{content:"\f2b5"}.bi-cloud-rain:before{content:"\f2b6"}.bi-cloud-slash-fill:before{content:"\f2b7"}.bi-cloud-slash:before{content:"\f2b8"}.bi-cloud-sleet-fill:before{content:"\f2b9"}.bi-cloud-sleet:before{content:"\f2ba"}.bi-cloud-snow-fill:before{content:"\f2bb"}.bi-cloud-snow:before{content:"\f2bc"}.bi-cloud-sun-fill:before{content:"\f2bd"}.bi-cloud-sun:before{content:"\f2be"}.bi-cloud-upload-fill:before{content:"\f2bf"}.bi-cloud-upload:before{content:"\f2c0"}.bi-cloud:before{content:"\f2c1"}.bi-clouds-fill:before{content:"\f2c2"}.bi-clouds:before{content:"\f2c3"}.bi-cloudy-fill:before{content:"\f2c4"}.bi-cloudy:before{content:"\f2c5"}.bi-code-slash:before{content:"\f2c6"}.bi-code-square:before{content:"\f2c7"}.bi-code:before{content:"\f2c8"}.bi-collection-fill:before{content:"\f2c9"}.bi-collection-play-fill:before{content:"\f2ca"}.bi-collection-play:before{content:"\f2cb"}.bi-collection:before{content:"\f2cc"}.bi-columns-gap:before{content:"\f2cd"}.bi-columns:before{content:"\f2ce"}.bi-command:before{content:"\f2cf"}.bi-compass-fill:before{content:"\f2d0"}.bi-compass:before{content:"\f2d1"}.bi-cone-striped:before{content:"\f2d2"}.bi-cone:before{content:"\f2d3"}.bi-controller:before{content:"\f2d4"}.bi-cpu-fill:before{content:"\f2d5"}.bi-cpu:before{content:"\f2d6"}.bi-credit-card-2-back-fill:before{content:"\f2d7"}.bi-credit-card-2-back:before{content:"\f2d8"}.bi-credit-card-2-front-fill:before{content:"\f2d9"}.bi-credit-card-2-front:before{content:"\f2da"}.bi-credit-card-fill:before{content:"\f2db"}.bi-credit-card:before{content:"\f2dc"}.bi-crop:before{content:"\f2dd"}.bi-cup-fill:before{content:"\f2de"}.bi-cup-straw:before{content:"\f2df"}.bi-cup:before{content:"\f2e0"}.bi-cursor-fill:before{content:"\f2e1"}.bi-cursor-text:before{content:"\f2e2"}.bi-cursor:before{content:"\f2e3"}.bi-dash-circle-dotted:before{content:"\f2e4"}.bi-dash-circle-fill:before{content:"\f2e5"}.bi-dash-circle:before{content:"\f2e6"}.bi-dash-square-dotted:before{content:"\f2e7"}.bi-dash-square-fill:before{content:"\f2e8"}.bi-dash-square:before{content:"\f2e9"}.bi-dash:before{content:"\f2ea"}.bi-diagram-2-fill:before{content:"\f2eb"}.bi-diagram-2:before{content:"\f2ec"}.bi-diagram-3-fill:before{content:"\f2ed"}.bi-diagram-3:before{content:"\f2ee"}.bi-diamond-fill:before{content:"\f2ef"}.bi-diamond-half:before{content:"\f2f0"}.bi-diamond:before{content:"\f2f1"}.bi-dice-1-fill:before{content:"\f2f2"}.bi-dice-1:before{content:"\f2f3"}.bi-dice-2-fill:before{content:"\f2f4"}.bi-dice-2:before{content:"\f2f5"}.bi-dice-3-fill:before{content:"\f2f6"}.bi-dice-3:before{content:"\f2f7"}.bi-dice-4-fill:before{content:"\f2f8"}.bi-dice-4:before{content:"\f2f9"}.bi-dice-5-fill:before{content:"\f2fa"}.bi-dice-5:before{content:"\f2fb"}.bi-dice-6-fill:before{content:"\f2fc"}.bi-dice-6:before{content:"\f2fd"}.bi-disc-fill:before{content:"\f2fe"}.bi-disc:before{content:"\f2ff"}.bi-discord:before{content:"\f300"}.bi-display-fill:before{content:"\f301"}.bi-display:before{content:"\f302"}.bi-distribute-horizontal:before{content:"\f303"}.bi-distribute-vertical:before{content:"\f304"}.bi-door-closed-fill:before{content:"\f305"}.bi-door-closed:before{content:"\f306"}.bi-door-open-fill:before{content:"\f307"}.bi-door-open:before{content:"\f308"}.bi-dot:before{content:"\f309"}.bi-download:before{content:"\f30a"}.bi-droplet-fill:before{content:"\f30b"}.bi-droplet-half:before{content:"\f30c"}.bi-droplet:before{content:"\f30d"}.bi-earbuds:before{content:"\f30e"}.bi-easel-fill:before{content:"\f30f"}.bi-easel:before{content:"\f310"}.bi-egg-fill:before{content:"\f311"}.bi-egg-fried:before{content:"\f312"}.bi-egg:before{content:"\f313"}.bi-eject-fill:before{content:"\f314"}.bi-eject:before{content:"\f315"}.bi-emoji-angry-fill:before{content:"\f316"}.bi-emoji-angry:before{content:"\f317"}.bi-emoji-dizzy-fill:before{content:"\f318"}.bi-emoji-dizzy:before{content:"\f319"}.bi-emoji-expressionless-fill:before{content:"\f31a"}.bi-emoji-expressionless:before{content:"\f31b"}.bi-emoji-frown-fill:before{content:"\f31c"}.bi-emoji-frown:before{content:"\f31d"}.bi-emoji-heart-eyes-fill:before{content:"\f31e"}.bi-emoji-heart-eyes:before{content:"\f31f"}.bi-emoji-laughing-fill:before{content:"\f320"}.bi-emoji-laughing:before{content:"\f321"}.bi-emoji-neutral-fill:before{content:"\f322"}.bi-emoji-neutral:before{content:"\f323"}.bi-emoji-smile-fill:before{content:"\f324"}.bi-emoji-smile-upside-down-fill:before{content:"\f325"}.bi-emoji-smile-upside-down:before{content:"\f326"}.bi-emoji-smile:before{content:"\f327"}.bi-emoji-sunglasses-fill:before{content:"\f328"}.bi-emoji-sunglasses:before{content:"\f329"}.bi-emoji-wink-fill:before{content:"\f32a"}.bi-emoji-wink:before{content:"\f32b"}.bi-envelope-fill:before{content:"\f32c"}.bi-envelope-open-fill:before{content:"\f32d"}.bi-envelope-open:before{content:"\f32e"}.bi-envelope:before{content:"\f32f"}.bi-eraser-fill:before{content:"\f330"}.bi-eraser:before{content:"\f331"}.bi-exclamation-circle-fill:before{content:"\f332"}.bi-exclamation-circle:before{content:"\f333"}.bi-exclamation-diamond-fill:before{content:"\f334"}.bi-exclamation-diamond:before{content:"\f335"}.bi-exclamation-octagon-fill:before{content:"\f336"}.bi-exclamation-octagon:before{content:"\f337"}.bi-exclamation-square-fill:before{content:"\f338"}.bi-exclamation-square:before{content:"\f339"}.bi-exclamation-triangle-fill:before{content:"\f33a"}.bi-exclamation-triangle:before{content:"\f33b"}.bi-exclamation:before{content:"\f33c"}.bi-exclude:before{content:"\f33d"}.bi-eye-fill:before{content:"\f33e"}.bi-eye-slash-fill:before{content:"\f33f"}.bi-eye-slash:before{content:"\f340"}.bi-eye:before{content:"\f341"}.bi-eyedropper:before{content:"\f342"}.bi-eyeglasses:before{content:"\f343"}.bi-facebook:before{content:"\f344"}.bi-file-arrow-down-fill:before{content:"\f345"}.bi-file-arrow-down:before{content:"\f346"}.bi-file-arrow-up-fill:before{content:"\f347"}.bi-file-arrow-up:before{content:"\f348"}.bi-file-bar-graph-fill:before{content:"\f349"}.bi-file-bar-graph:before{content:"\f34a"}.bi-file-binary-fill:before{content:"\f34b"}.bi-file-binary:before{content:"\f34c"}.bi-file-break-fill:before{content:"\f34d"}.bi-file-break:before{content:"\f34e"}.bi-file-check-fill:before{content:"\f34f"}.bi-file-check:before{content:"\f350"}.bi-file-code-fill:before{content:"\f351"}.bi-file-code:before{content:"\f352"}.bi-file-diff-fill:before{content:"\f353"}.bi-file-diff:before{content:"\f354"}.bi-file-earmark-arrow-down-fill:before{content:"\f355"}.bi-file-earmark-arrow-down:before{content:"\f356"}.bi-file-earmark-arrow-up-fill:before{content:"\f357"}.bi-file-earmark-arrow-up:before{content:"\f358"}.bi-file-earmark-bar-graph-fill:before{content:"\f359"}.bi-file-earmark-bar-graph:before{content:"\f35a"}.bi-file-earmark-binary-fill:before{content:"\f35b"}.bi-file-earmark-binary:before{content:"\f35c"}.bi-file-earmark-break-fill:before{content:"\f35d"}.bi-file-earmark-break:before{content:"\f35e"}.bi-file-earmark-check-fill:before{content:"\f35f"}.bi-file-earmark-check:before{content:"\f360"}.bi-file-earmark-code-fill:before{content:"\f361"}.bi-file-earmark-code:before{content:"\f362"}.bi-file-earmark-diff-fill:before{content:"\f363"}.bi-file-earmark-diff:before{content:"\f364"}.bi-file-earmark-easel-fill:before{content:"\f365"}.bi-file-earmark-easel:before{content:"\f366"}.bi-file-earmark-excel-fill:before{content:"\f367"}.bi-file-earmark-excel:before{content:"\f368"}.bi-file-earmark-fill:before{content:"\f369"}.bi-file-earmark-font-fill:before{content:"\f36a"}.bi-file-earmark-font:before{content:"\f36b"}.bi-file-earmark-image-fill:before{content:"\f36c"}.bi-file-earmark-image:before{content:"\f36d"}.bi-file-earmark-lock-fill:before{content:"\f36e"}.bi-file-earmark-lock:before{content:"\f36f"}.bi-file-earmark-lock2-fill:before{content:"\f370"}.bi-file-earmark-lock2:before{content:"\f371"}.bi-file-earmark-medical-fill:before{content:"\f372"}.bi-file-earmark-medical:before{content:"\f373"}.bi-file-earmark-minus-fill:before{content:"\f374"}.bi-file-earmark-minus:before{content:"\f375"}.bi-file-earmark-music-fill:before{content:"\f376"}.bi-file-earmark-music:before{content:"\f377"}.bi-file-earmark-person-fill:before{content:"\f378"}.bi-file-earmark-person:before{content:"\f379"}.bi-file-earmark-play-fill:before{content:"\f37a"}.bi-file-earmark-play:before{content:"\f37b"}.bi-file-earmark-plus-fill:before{content:"\f37c"}.bi-file-earmark-plus:before{content:"\f37d"}.bi-file-earmark-post-fill:before{content:"\f37e"}.bi-file-earmark-post:before{content:"\f37f"}.bi-file-earmark-ppt-fill:before{content:"\f380"}.bi-file-earmark-ppt:before{content:"\f381"}.bi-file-earmark-richtext-fill:before{content:"\f382"}.bi-file-earmark-richtext:before{content:"\f383"}.bi-file-earmark-ruled-fill:before{content:"\f384"}.bi-file-earmark-ruled:before{content:"\f385"}.bi-file-earmark-slides-fill:before{content:"\f386"}.bi-file-earmark-slides:before{content:"\f387"}.bi-file-earmark-spreadsheet-fill:before{content:"\f388"}.bi-file-earmark-spreadsheet:before{content:"\f389"}.bi-file-earmark-text-fill:before{content:"\f38a"}.bi-file-earmark-text:before{content:"\f38b"}.bi-file-earmark-word-fill:before{content:"\f38c"}.bi-file-earmark-word:before{content:"\f38d"}.bi-file-earmark-x-fill:before{content:"\f38e"}.bi-file-earmark-x:before{content:"\f38f"}.bi-file-earmark-zip-fill:before{content:"\f390"}.bi-file-earmark-zip:before{content:"\f391"}.bi-file-earmark:before{content:"\f392"}.bi-file-easel-fill:before{content:"\f393"}.bi-file-easel:before{content:"\f394"}.bi-file-excel-fill:before{content:"\f395"}.bi-file-excel:before{content:"\f396"}.bi-file-fill:before{content:"\f397"}.bi-file-font-fill:before{content:"\f398"}.bi-file-font:before{content:"\f399"}.bi-file-image-fill:before{content:"\f39a"}.bi-file-image:before{content:"\f39b"}.bi-file-lock-fill:before{content:"\f39c"}.bi-file-lock:before{content:"\f39d"}.bi-file-lock2-fill:before{content:"\f39e"}.bi-file-lock2:before{content:"\f39f"}.bi-file-medical-fill:before{content:"\f3a0"}.bi-file-medical:before{content:"\f3a1"}.bi-file-minus-fill:before{content:"\f3a2"}.bi-file-minus:before{content:"\f3a3"}.bi-file-music-fill:before{content:"\f3a4"}.bi-file-music:before{content:"\f3a5"}.bi-file-person-fill:before{content:"\f3a6"}.bi-file-person:before{content:"\f3a7"}.bi-file-play-fill:before{content:"\f3a8"}.bi-file-play:before{content:"\f3a9"}.bi-file-plus-fill:before{content:"\f3aa"}.bi-file-plus:before{content:"\f3ab"}.bi-file-post-fill:before{content:"\f3ac"}.bi-file-post:before{content:"\f3ad"}.bi-file-ppt-fill:before{content:"\f3ae"}.bi-file-ppt:before{content:"\f3af"}.bi-file-richtext-fill:before{content:"\f3b0"}.bi-file-richtext:before{content:"\f3b1"}.bi-file-ruled-fill:before{content:"\f3b2"}.bi-file-ruled:before{content:"\f3b3"}.bi-file-slides-fill:before{content:"\f3b4"}.bi-file-slides:before{content:"\f3b5"}.bi-file-spreadsheet-fill:before{content:"\f3b6"}.bi-file-spreadsheet:before{content:"\f3b7"}.bi-file-text-fill:before{content:"\f3b8"}.bi-file-text:before{content:"\f3b9"}.bi-file-word-fill:before{content:"\f3ba"}.bi-file-word:before{content:"\f3bb"}.bi-file-x-fill:before{content:"\f3bc"}.bi-file-x:before{content:"\f3bd"}.bi-file-zip-fill:before{content:"\f3be"}.bi-file-zip:before{content:"\f3bf"}.bi-file:before{content:"\f3c0"}.bi-files-alt:before{content:"\f3c1"}.bi-files:before{content:"\f3c2"}.bi-film:before{content:"\f3c3"}.bi-filter-circle-fill:before{content:"\f3c4"}.bi-filter-circle:before{content:"\f3c5"}.bi-filter-left:before{content:"\f3c6"}.bi-filter-right:before{content:"\f3c7"}.bi-filter-square-fill:before{content:"\f3c8"}.bi-filter-square:before{content:"\f3c9"}.bi-filter:before{content:"\f3ca"}.bi-flag-fill:before{content:"\f3cb"}.bi-flag:before{content:"\f3cc"}.bi-flower1:before{content:"\f3cd"}.bi-flower2:before{content:"\f3ce"}.bi-flower3:before{content:"\f3cf"}.bi-folder-check:before{content:"\f3d0"}.bi-folder-fill:before{content:"\f3d1"}.bi-folder-minus:before{content:"\f3d2"}.bi-folder-plus:before{content:"\f3d3"}.bi-folder-symlink-fill:before{content:"\f3d4"}.bi-folder-symlink:before{content:"\f3d5"}.bi-folder-x:before{content:"\f3d6"}.bi-folder:before{content:"\f3d7"}.bi-folder2-open:before{content:"\f3d8"}.bi-folder2:before{content:"\f3d9"}.bi-fonts:before{content:"\f3da"}.bi-forward-fill:before{content:"\f3db"}.bi-forward:before{content:"\f3dc"}.bi-front:before{content:"\f3dd"}.bi-fullscreen-exit:before{content:"\f3de"}.bi-fullscreen:before{content:"\f3df"}.bi-funnel-fill:before{content:"\f3e0"}.bi-funnel:before{content:"\f3e1"}.bi-gear-fill:before{content:"\f3e2"}.bi-gear-wide-connected:before{content:"\f3e3"}.bi-gear-wide:before{content:"\f3e4"}.bi-gear:before{content:"\f3e5"}.bi-gem:before{content:"\f3e6"}.bi-geo-alt-fill:before{content:"\f3e7"}.bi-geo-alt:before{content:"\f3e8"}.bi-geo-fill:before{content:"\f3e9"}.bi-geo:before{content:"\f3ea"}.bi-gift-fill:before{content:"\f3eb"}.bi-gift:before{content:"\f3ec"}.bi-github:before{content:"\f3ed"}.bi-globe:before{content:"\f3ee"}.bi-globe2:before{content:"\f3ef"}.bi-google:before{content:"\f3f0"}.bi-graph-down:before{content:"\f3f1"}.bi-graph-up:before{content:"\f3f2"}.bi-grid-1x2-fill:before{content:"\f3f3"}.bi-grid-1x2:before{content:"\f3f4"}.bi-grid-3x2-gap-fill:before{content:"\f3f5"}.bi-grid-3x2-gap:before{content:"\f3f6"}.bi-grid-3x2:before{content:"\f3f7"}.bi-grid-3x3-gap-fill:before{content:"\f3f8"}.bi-grid-3x3-gap:before{content:"\f3f9"}.bi-grid-3x3:before{content:"\f3fa"}.bi-grid-fill:before{content:"\f3fb"}.bi-grid:before{content:"\f3fc"}.bi-grip-horizontal:before{content:"\f3fd"}.bi-grip-vertical:before{content:"\f3fe"}.bi-hammer:before{content:"\f3ff"}.bi-hand-index-fill:before{content:"\f400"}.bi-hand-index-thumb-fill:before{content:"\f401"}.bi-hand-index-thumb:before{content:"\f402"}.bi-hand-index:before{content:"\f403"}.bi-hand-thumbs-down-fill:before{content:"\f404"}.bi-hand-thumbs-down:before{content:"\f405"}.bi-hand-thumbs-up-fill:before{content:"\f406"}.bi-hand-thumbs-up:before{content:"\f407"}.bi-handbag-fill:before{content:"\f408"}.bi-handbag:before{content:"\f409"}.bi-hash:before{content:"\f40a"}.bi-hdd-fill:before{content:"\f40b"}.bi-hdd-network-fill:before{content:"\f40c"}.bi-hdd-network:before{content:"\f40d"}.bi-hdd-rack-fill:before{content:"\f40e"}.bi-hdd-rack:before{content:"\f40f"}.bi-hdd-stack-fill:before{content:"\f410"}.bi-hdd-stack:before{content:"\f411"}.bi-hdd:before{content:"\f412"}.bi-headphones:before{content:"\f413"}.bi-headset:before{content:"\f414"}.bi-heart-fill:before{content:"\f415"}.bi-heart-half:before{content:"\f416"}.bi-heart:before{content:"\f417"}.bi-heptagon-fill:before{content:"\f418"}.bi-heptagon-half:before{content:"\f419"}.bi-heptagon:before{content:"\f41a"}.bi-hexagon-fill:before{content:"\f41b"}.bi-hexagon-half:before{content:"\f41c"}.bi-hexagon:before{content:"\f41d"}.bi-hourglass-bottom:before{content:"\f41e"}.bi-hourglass-split:before{content:"\f41f"}.bi-hourglass-top:before{content:"\f420"}.bi-hourglass:before{content:"\f421"}.bi-house-door-fill:before{content:"\f422"}.bi-house-door:before{content:"\f423"}.bi-house-fill:before{content:"\f424"}.bi-house:before{content:"\f425"}.bi-hr:before{content:"\f426"}.bi-hurricane:before{content:"\f427"}.bi-image-alt:before{content:"\f428"}.bi-image-fill:before{content:"\f429"}.bi-image:before{content:"\f42a"}.bi-images:before{content:"\f42b"}.bi-inbox-fill:before{content:"\f42c"}.bi-inbox:before{content:"\f42d"}.bi-inboxes-fill:before{content:"\f42e"}.bi-inboxes:before{content:"\f42f"}.bi-info-circle-fill:before{content:"\f430"}.bi-info-circle:before{content:"\f431"}.bi-info-square-fill:before{content:"\f432"}.bi-info-square:before{content:"\f433"}.bi-info:before{content:"\f434"}.bi-input-cursor-text:before{content:"\f435"}.bi-input-cursor:before{content:"\f436"}.bi-instagram:before{content:"\f437"}.bi-intersect:before{content:"\f438"}.bi-journal-album:before{content:"\f439"}.bi-journal-arrow-down:before{content:"\f43a"}.bi-journal-arrow-up:before{content:"\f43b"}.bi-journal-bookmark-fill:before{content:"\f43c"}.bi-journal-bookmark:before{content:"\f43d"}.bi-journal-check:before{content:"\f43e"}.bi-journal-code:before{content:"\f43f"}.bi-journal-medical:before{content:"\f440"}.bi-journal-minus:before{content:"\f441"}.bi-journal-plus:before{content:"\f442"}.bi-journal-richtext:before{content:"\f443"}.bi-journal-text:before{content:"\f444"}.bi-journal-x:before{content:"\f445"}.bi-journal:before{content:"\f446"}.bi-journals:before{content:"\f447"}.bi-joystick:before{content:"\f448"}.bi-justify-left:before{content:"\f449"}.bi-justify-right:before{content:"\f44a"}.bi-justify:before{content:"\f44b"}.bi-kanban-fill:before{content:"\f44c"}.bi-kanban:before{content:"\f44d"}.bi-key-fill:before{content:"\f44e"}.bi-key:before{content:"\f44f"}.bi-keyboard-fill:before{content:"\f450"}.bi-keyboard:before{content:"\f451"}.bi-ladder:before{content:"\f452"}.bi-lamp-fill:before{content:"\f453"}.bi-lamp:before{content:"\f454"}.bi-laptop-fill:before{content:"\f455"}.bi-laptop:before{content:"\f456"}.bi-layer-backward:before{content:"\f457"}.bi-layer-forward:before{content:"\f458"}.bi-layers-fill:before{content:"\f459"}.bi-layers-half:before{content:"\f45a"}.bi-layers:before{content:"\f45b"}.bi-layout-sidebar-inset-reverse:before{content:"\f45c"}.bi-layout-sidebar-inset:before{content:"\f45d"}.bi-layout-sidebar-reverse:before{content:"\f45e"}.bi-layout-sidebar:before{content:"\f45f"}.bi-layout-split:before{content:"\f460"}.bi-layout-text-sidebar-reverse:before{content:"\f461"}.bi-layout-text-sidebar:before{content:"\f462"}.bi-layout-text-window-reverse:before{content:"\f463"}.bi-layout-text-window:before{content:"\f464"}.bi-layout-three-columns:before{content:"\f465"}.bi-layout-wtf:before{content:"\f466"}.bi-life-preserver:before{content:"\f467"}.bi-lightbulb-fill:before{content:"\f468"}.bi-lightbulb-off-fill:before{content:"\f469"}.bi-lightbulb-off:before{content:"\f46a"}.bi-lightbulb:before{content:"\f46b"}.bi-lightning-charge-fill:before{content:"\f46c"}.bi-lightning-charge:before{content:"\f46d"}.bi-lightning-fill:before{content:"\f46e"}.bi-lightning:before{content:"\f46f"}.bi-link-45deg:before{content:"\f470"}.bi-link:before{content:"\f471"}.bi-linkedin:before{content:"\f472"}.bi-list-check:before{content:"\f473"}.bi-list-nested:before{content:"\f474"}.bi-list-ol:before{content:"\f475"}.bi-list-stars:before{content:"\f476"}.bi-list-task:before{content:"\f477"}.bi-list-ul:before{content:"\f478"}.bi-list:before{content:"\f479"}.bi-lock-fill:before{content:"\f47a"}.bi-lock:before{content:"\f47b"}.bi-mailbox:before{content:"\f47c"}.bi-mailbox2:before{content:"\f47d"}.bi-map-fill:before{content:"\f47e"}.bi-map:before{content:"\f47f"}.bi-markdown-fill:before{content:"\f480"}.bi-markdown:before{content:"\f481"}.bi-mask:before{content:"\f482"}.bi-megaphone-fill:before{content:"\f483"}.bi-megaphone:before{content:"\f484"}.bi-menu-app-fill:before{content:"\f485"}.bi-menu-app:before{content:"\f486"}.bi-menu-button-fill:before{content:"\f487"}.bi-menu-button-wide-fill:before{content:"\f488"}.bi-menu-button-wide:before{content:"\f489"}.bi-menu-button:before{content:"\f48a"}.bi-menu-down:before{content:"\f48b"}.bi-menu-up:before{content:"\f48c"}.bi-mic-fill:before{content:"\f48d"}.bi-mic-mute-fill:before{content:"\f48e"}.bi-mic-mute:before{content:"\f48f"}.bi-mic:before{content:"\f490"}.bi-minecart-loaded:before{content:"\f491"}.bi-minecart:before{content:"\f492"}.bi-moisture:before{content:"\f493"}.bi-moon-fill:before{content:"\f494"}.bi-moon-stars-fill:before{content:"\f495"}.bi-moon-stars:before{content:"\f496"}.bi-moon:before{content:"\f497"}.bi-mouse-fill:before{content:"\f498"}.bi-mouse:before{content:"\f499"}.bi-mouse2-fill:before{content:"\f49a"}.bi-mouse2:before{content:"\f49b"}.bi-mouse3-fill:before{content:"\f49c"}.bi-mouse3:before{content:"\f49d"}.bi-music-note-beamed:before{content:"\f49e"}.bi-music-note-list:before{content:"\f49f"}.bi-music-note:before{content:"\f4a0"}.bi-music-player-fill:before{content:"\f4a1"}.bi-music-player:before{content:"\f4a2"}.bi-newspaper:before{content:"\f4a3"}.bi-node-minus-fill:before{content:"\f4a4"}.bi-node-minus:before{content:"\f4a5"}.bi-node-plus-fill:before{content:"\f4a6"}.bi-node-plus:before{content:"\f4a7"}.bi-nut-fill:before{content:"\f4a8"}.bi-nut:before{content:"\f4a9"}.bi-octagon-fill:before{content:"\f4aa"}.bi-octagon-half:before{content:"\f4ab"}.bi-octagon:before{content:"\f4ac"}.bi-option:before{content:"\f4ad"}.bi-outlet:before{content:"\f4ae"}.bi-paint-bucket:before{content:"\f4af"}.bi-palette-fill:before{content:"\f4b0"}.bi-palette:before{content:"\f4b1"}.bi-palette2:before{content:"\f4b2"}.bi-paperclip:before{content:"\f4b3"}.bi-paragraph:before{content:"\f4b4"}.bi-patch-check-fill:before{content:"\f4b5"}.bi-patch-check:before{content:"\f4b6"}.bi-patch-exclamation-fill:before{content:"\f4b7"}.bi-patch-exclamation:before{content:"\f4b8"}.bi-patch-minus-fill:before{content:"\f4b9"}.bi-patch-minus:before{content:"\f4ba"}.bi-patch-plus-fill:before{content:"\f4bb"}.bi-patch-plus:before{content:"\f4bc"}.bi-patch-question-fill:before{content:"\f4bd"}.bi-patch-question:before{content:"\f4be"}.bi-pause-btn-fill:before{content:"\f4bf"}.bi-pause-btn:before{content:"\f4c0"}.bi-pause-circle-fill:before{content:"\f4c1"}.bi-pause-circle:before{content:"\f4c2"}.bi-pause-fill:before{content:"\f4c3"}.bi-pause:before{content:"\f4c4"}.bi-peace-fill:before{content:"\f4c5"}.bi-peace:before{content:"\f4c6"}.bi-pen-fill:before{content:"\f4c7"}.bi-pen:before{content:"\f4c8"}.bi-pencil-fill:before{content:"\f4c9"}.bi-pencil-square:before{content:"\f4ca"}.bi-pencil:before{content:"\f4cb"}.bi-pentagon-fill:before{content:"\f4cc"}.bi-pentagon-half:before{content:"\f4cd"}.bi-pentagon:before{content:"\f4ce"}.bi-people-fill:before{content:"\f4cf"}.bi-people:before{content:"\f4d0"}.bi-percent:before{content:"\f4d1"}.bi-person-badge-fill:before{content:"\f4d2"}.bi-person-badge:before{content:"\f4d3"}.bi-person-bounding-box:before{content:"\f4d4"}.bi-person-check-fill:before{content:"\f4d5"}.bi-person-check:before{content:"\f4d6"}.bi-person-circle:before{content:"\f4d7"}.bi-person-dash-fill:before{content:"\f4d8"}.bi-person-dash:before{content:"\f4d9"}.bi-person-fill:before{content:"\f4da"}.bi-person-lines-fill:before{content:"\f4db"}.bi-person-plus-fill:before{content:"\f4dc"}.bi-person-plus:before{content:"\f4dd"}.bi-person-square:before{content:"\f4de"}.bi-person-x-fill:before{content:"\f4df"}.bi-person-x:before{content:"\f4e0"}.bi-person:before{content:"\f4e1"}.bi-phone-fill:before{content:"\f4e2"}.bi-phone-landscape-fill:before{content:"\f4e3"}.bi-phone-landscape:before{content:"\f4e4"}.bi-phone-vibrate-fill:before{content:"\f4e5"}.bi-phone-vibrate:before{content:"\f4e6"}.bi-phone:before{content:"\f4e7"}.bi-pie-chart-fill:before{content:"\f4e8"}.bi-pie-chart:before{content:"\f4e9"}.bi-pin-angle-fill:before{content:"\f4ea"}.bi-pin-angle:before{content:"\f4eb"}.bi-pin-fill:before{content:"\f4ec"}.bi-pin:before{content:"\f4ed"}.bi-pip-fill:before{content:"\f4ee"}.bi-pip:before{content:"\f4ef"}.bi-play-btn-fill:before{content:"\f4f0"}.bi-play-btn:before{content:"\f4f1"}.bi-play-circle-fill:before{content:"\f4f2"}.bi-play-circle:before{content:"\f4f3"}.bi-play-fill:before{content:"\f4f4"}.bi-play:before{content:"\f4f5"}.bi-plug-fill:before{content:"\f4f6"}.bi-plug:before{content:"\f4f7"}.bi-plus-circle-dotted:before{content:"\f4f8"}.bi-plus-circle-fill:before{content:"\f4f9"}.bi-plus-circle:before{content:"\f4fa"}.bi-plus-square-dotted:before{content:"\f4fb"}.bi-plus-square-fill:before{content:"\f4fc"}.bi-plus-square:before{content:"\f4fd"}.bi-plus:before{content:"\f4fe"}.bi-power:before{content:"\f4ff"}.bi-printer-fill:before{content:"\f500"}.bi-printer:before{content:"\f501"}.bi-puzzle-fill:before{content:"\f502"}.bi-puzzle:before{content:"\f503"}.bi-question-circle-fill:before{content:"\f504"}.bi-question-circle:before{content:"\f505"}.bi-question-diamond-fill:before{content:"\f506"}.bi-question-diamond:before{content:"\f507"}.bi-question-octagon-fill:before{content:"\f508"}.bi-question-octagon:before{content:"\f509"}.bi-question-square-fill:before{content:"\f50a"}.bi-question-square:before{content:"\f50b"}.bi-question:before{content:"\f50c"}.bi-rainbow:before{content:"\f50d"}.bi-receipt-cutoff:before{content:"\f50e"}.bi-receipt:before{content:"\f50f"}.bi-reception-0:before{content:"\f510"}.bi-reception-1:before{content:"\f511"}.bi-reception-2:before{content:"\f512"}.bi-reception-3:before{content:"\f513"}.bi-reception-4:before{content:"\f514"}.bi-record-btn-fill:before{content:"\f515"}.bi-record-btn:before{content:"\f516"}.bi-record-circle-fill:before{content:"\f517"}.bi-record-circle:before{content:"\f518"}.bi-record-fill:before{content:"\f519"}.bi-record:before{content:"\f51a"}.bi-record2-fill:before{content:"\f51b"}.bi-record2:before{content:"\f51c"}.bi-reply-all-fill:before{content:"\f51d"}.bi-reply-all:before{content:"\f51e"}.bi-reply-fill:before{content:"\f51f"}.bi-reply:before{content:"\f520"}.bi-rss-fill:before{content:"\f521"}.bi-rss:before{content:"\f522"}.bi-rulers:before{content:"\f523"}.bi-save-fill:before{content:"\f524"}.bi-save:before{content:"\f525"}.bi-save2-fill:before{content:"\f526"}.bi-save2:before{content:"\f527"}.bi-scissors:before{content:"\f528"}.bi-screwdriver:before{content:"\f529"}.bi-search:before{content:"\f52a"}.bi-segmented-nav:before{content:"\f52b"}.bi-server:before{content:"\f52c"}.bi-share-fill:before{content:"\f52d"}.bi-share:before{content:"\f52e"}.bi-shield-check:before{content:"\f52f"}.bi-shield-exclamation:before{content:"\f530"}.bi-shield-fill-check:before{content:"\f531"}.bi-shield-fill-exclamation:before{content:"\f532"}.bi-shield-fill-minus:before{content:"\f533"}.bi-shield-fill-plus:before{content:"\f534"}.bi-shield-fill-x:before{content:"\f535"}.bi-shield-fill:before{content:"\f536"}.bi-shield-lock-fill:before{content:"\f537"}.bi-shield-lock:before{content:"\f538"}.bi-shield-minus:before{content:"\f539"}.bi-shield-plus:before{content:"\f53a"}.bi-shield-shaded:before{content:"\f53b"}.bi-shield-slash-fill:before{content:"\f53c"}.bi-shield-slash:before{content:"\f53d"}.bi-shield-x:before{content:"\f53e"}.bi-shield:before{content:"\f53f"}.bi-shift-fill:before{content:"\f540"}.bi-shift:before{content:"\f541"}.bi-shop-window:before{content:"\f542"}.bi-shop:before{content:"\f543"}.bi-shuffle:before{content:"\f544"}.bi-signpost-2-fill:before{content:"\f545"}.bi-signpost-2:before{content:"\f546"}.bi-signpost-fill:before{content:"\f547"}.bi-signpost-split-fill:before{content:"\f548"}.bi-signpost-split:before{content:"\f549"}.bi-signpost:before{content:"\f54a"}.bi-sim-fill:before{content:"\f54b"}.bi-sim:before{content:"\f54c"}.bi-skip-backward-btn-fill:before{content:"\f54d"}.bi-skip-backward-btn:before{content:"\f54e"}.bi-skip-backward-circle-fill:before{content:"\f54f"}.bi-skip-backward-circle:before{content:"\f550"}.bi-skip-backward-fill:before{content:"\f551"}.bi-skip-backward:before{content:"\f552"}.bi-skip-end-btn-fill:before{content:"\f553"}.bi-skip-end-btn:before{content:"\f554"}.bi-skip-end-circle-fill:before{content:"\f555"}.bi-skip-end-circle:before{content:"\f556"}.bi-skip-end-fill:before{content:"\f557"}.bi-skip-end:before{content:"\f558"}.bi-skip-forward-btn-fill:before{content:"\f559"}.bi-skip-forward-btn:before{content:"\f55a"}.bi-skip-forward-circle-fill:before{content:"\f55b"}.bi-skip-forward-circle:before{content:"\f55c"}.bi-skip-forward-fill:before{content:"\f55d"}.bi-skip-forward:before{content:"\f55e"}.bi-skip-start-btn-fill:before{content:"\f55f"}.bi-skip-start-btn:before{content:"\f560"}.bi-skip-start-circle-fill:before{content:"\f561"}.bi-skip-start-circle:before{content:"\f562"}.bi-skip-start-fill:before{content:"\f563"}.bi-skip-start:before{content:"\f564"}.bi-slack:before{content:"\f565"}.bi-slash-circle-fill:before{content:"\f566"}.bi-slash-circle:before{content:"\f567"}.bi-slash-square-fill:before{content:"\f568"}.bi-slash-square:before{content:"\f569"}.bi-slash:before{content:"\f56a"}.bi-sliders:before{content:"\f56b"}.bi-smartwatch:before{content:"\f56c"}.bi-snow:before{content:"\f56d"}.bi-snow2:before{content:"\f56e"}.bi-snow3:before{content:"\f56f"}.bi-sort-alpha-down-alt:before{content:"\f570"}.bi-sort-alpha-down:before{content:"\f571"}.bi-sort-alpha-up-alt:before{content:"\f572"}.bi-sort-alpha-up:before{content:"\f573"}.bi-sort-down-alt:before{content:"\f574"}.bi-sort-down:before{content:"\f575"}.bi-sort-numeric-down-alt:before{content:"\f576"}.bi-sort-numeric-down:before{content:"\f577"}.bi-sort-numeric-up-alt:before{content:"\f578"}.bi-sort-numeric-up:before{content:"\f579"}.bi-sort-up-alt:before{content:"\f57a"}.bi-sort-up:before{content:"\f57b"}.bi-soundwave:before{content:"\f57c"}.bi-speaker-fill:before{content:"\f57d"}.bi-speaker:before{content:"\f57e"}.bi-speedometer:before{content:"\f57f"}.bi-speedometer2:before{content:"\f580"}.bi-spellcheck:before{content:"\f581"}.bi-square-fill:before{content:"\f582"}.bi-square-half:before{content:"\f583"}.bi-square:before{content:"\f584"}.bi-stack:before{content:"\f585"}.bi-star-fill:before{content:"\f586"}.bi-star-half:before{content:"\f587"}.bi-star:before{content:"\f588"}.bi-stars:before{content:"\f589"}.bi-stickies-fill:before{content:"\f58a"}.bi-stickies:before{content:"\f58b"}.bi-sticky-fill:before{content:"\f58c"}.bi-sticky:before{content:"\f58d"}.bi-stop-btn-fill:before{content:"\f58e"}.bi-stop-btn:before{content:"\f58f"}.bi-stop-circle-fill:before{content:"\f590"}.bi-stop-circle:before{content:"\f591"}.bi-stop-fill:before{content:"\f592"}.bi-stop:before{content:"\f593"}.bi-stoplights-fill:before{content:"\f594"}.bi-stoplights:before{content:"\f595"}.bi-stopwatch-fill:before{content:"\f596"}.bi-stopwatch:before{content:"\f597"}.bi-subtract:before{content:"\f598"}.bi-suit-club-fill:before{content:"\f599"}.bi-suit-club:before{content:"\f59a"}.bi-suit-diamond-fill:before{content:"\f59b"}.bi-suit-diamond:before{content:"\f59c"}.bi-suit-heart-fill:before{content:"\f59d"}.bi-suit-heart:before{content:"\f59e"}.bi-suit-spade-fill:before{content:"\f59f"}.bi-suit-spade:before{content:"\f5a0"}.bi-sun-fill:before{content:"\f5a1"}.bi-sun:before{content:"\f5a2"}.bi-sunglasses:before{content:"\f5a3"}.bi-sunrise-fill:before{content:"\f5a4"}.bi-sunrise:before{content:"\f5a5"}.bi-sunset-fill:before{content:"\f5a6"}.bi-sunset:before{content:"\f5a7"}.bi-symmetry-horizontal:before{content:"\f5a8"}.bi-symmetry-vertical:before{content:"\f5a9"}.bi-table:before{content:"\f5aa"}.bi-tablet-fill:before{content:"\f5ab"}.bi-tablet-landscape-fill:before{content:"\f5ac"}.bi-tablet-landscape:before{content:"\f5ad"}.bi-tablet:before{content:"\f5ae"}.bi-tag-fill:before{content:"\f5af"}.bi-tag:before{content:"\f5b0"}.bi-tags-fill:before{content:"\f5b1"}.bi-tags:before{content:"\f5b2"}.bi-telegram:before{content:"\f5b3"}.bi-telephone-fill:before{content:"\f5b4"}.bi-telephone-forward-fill:before{content:"\f5b5"}.bi-telephone-forward:before{content:"\f5b6"}.bi-telephone-inbound-fill:before{content:"\f5b7"}.bi-telephone-inbound:before{content:"\f5b8"}.bi-telephone-minus-fill:before{content:"\f5b9"}.bi-telephone-minus:before{content:"\f5ba"}.bi-telephone-outbound-fill:before{content:"\f5bb"}.bi-telephone-outbound:before{content:"\f5bc"}.bi-telephone-plus-fill:before{content:"\f5bd"}.bi-telephone-plus:before{content:"\f5be"}.bi-telephone-x-fill:before{content:"\f5bf"}.bi-telephone-x:before{content:"\f5c0"}.bi-telephone:before{content:"\f5c1"}.bi-terminal-fill:before{content:"\f5c2"}.bi-terminal:before{content:"\f5c3"}.bi-text-center:before{content:"\f5c4"}.bi-text-indent-left:before{content:"\f5c5"}.bi-text-indent-right:before{content:"\f5c6"}.bi-text-left:before{content:"\f5c7"}.bi-text-paragraph:before{content:"\f5c8"}.bi-text-right:before{content:"\f5c9"}.bi-textarea-resize:before{content:"\f5ca"}.bi-textarea-t:before{content:"\f5cb"}.bi-textarea:before{content:"\f5cc"}.bi-thermometer-half:before{content:"\f5cd"}.bi-thermometer-high:before{content:"\f5ce"}.bi-thermometer-low:before{content:"\f5cf"}.bi-thermometer-snow:before{content:"\f5d0"}.bi-thermometer-sun:before{content:"\f5d1"}.bi-thermometer:before{content:"\f5d2"}.bi-three-dots-vertical:before{content:"\f5d3"}.bi-three-dots:before{content:"\f5d4"}.bi-toggle-off:before{content:"\f5d5"}.bi-toggle-on:before{content:"\f5d6"}.bi-toggle2-off:before{content:"\f5d7"}.bi-toggle2-on:before{content:"\f5d8"}.bi-toggles:before{content:"\f5d9"}.bi-toggles2:before{content:"\f5da"}.bi-tools:before{content:"\f5db"}.bi-tornado:before{content:"\f5dc"}.bi-trash-fill:before{content:"\f5dd"}.bi-trash:before{content:"\f5de"}.bi-trash2-fill:before{content:"\f5df"}.bi-trash2:before{content:"\f5e0"}.bi-tree-fill:before{content:"\f5e1"}.bi-tree:before{content:"\f5e2"}.bi-triangle-fill:before{content:"\f5e3"}.bi-triangle-half:before{content:"\f5e4"}.bi-triangle:before{content:"\f5e5"}.bi-trophy-fill:before{content:"\f5e6"}.bi-trophy:before{content:"\f5e7"}.bi-tropical-storm:before{content:"\f5e8"}.bi-truck-flatbed:before{content:"\f5e9"}.bi-truck:before{content:"\f5ea"}.bi-tsunami:before{content:"\f5eb"}.bi-tv-fill:before{content:"\f5ec"}.bi-tv:before{content:"\f5ed"}.bi-twitch:before{content:"\f5ee"}.bi-twitter:before{content:"\f5ef"}.bi-type-bold:before{content:"\f5f0"}.bi-type-h1:before{content:"\f5f1"}.bi-type-h2:before{content:"\f5f2"}.bi-type-h3:before{content:"\f5f3"}.bi-type-italic:before{content:"\f5f4"}.bi-type-strikethrough:before{content:"\f5f5"}.bi-type-underline:before{content:"\f5f6"}.bi-type:before{content:"\f5f7"}.bi-ui-checks-grid:before{content:"\f5f8"}.bi-ui-checks:before{content:"\f5f9"}.bi-ui-radios-grid:before{content:"\f5fa"}.bi-ui-radios:before{content:"\f5fb"}.bi-umbrella-fill:before{content:"\f5fc"}.bi-umbrella:before{content:"\f5fd"}.bi-union:before{content:"\f5fe"}.bi-unlock-fill:before{content:"\f5ff"}.bi-unlock:before{content:"\f600"}.bi-upc-scan:before{content:"\f601"}.bi-upc:before{content:"\f602"}.bi-upload:before{content:"\f603"}.bi-vector-pen:before{content:"\f604"}.bi-view-list:before{content:"\f605"}.bi-view-stacked:before{content:"\f606"}.bi-vinyl-fill:before{content:"\f607"}.bi-vinyl:before{content:"\f608"}.bi-voicemail:before{content:"\f609"}.bi-volume-down-fill:before{content:"\f60a"}.bi-volume-down:before{content:"\f60b"}.bi-volume-mute-fill:before{content:"\f60c"}.bi-volume-mute:before{content:"\f60d"}.bi-volume-off-fill:before{content:"\f60e"}.bi-volume-off:before{content:"\f60f"}.bi-volume-up-fill:before{content:"\f610"}.bi-volume-up:before{content:"\f611"}.bi-vr:before{content:"\f612"}.bi-wallet-fill:before{content:"\f613"}.bi-wallet:before{content:"\f614"}.bi-wallet2:before{content:"\f615"}.bi-watch:before{content:"\f616"}.bi-water:before{content:"\f617"}.bi-whatsapp:before{content:"\f618"}.bi-wifi-1:before{content:"\f619"}.bi-wifi-2:before{content:"\f61a"}.bi-wifi-off:before{content:"\f61b"}.bi-wifi:before{content:"\f61c"}.bi-wind:before{content:"\f61d"}.bi-window-dock:before{content:"\f61e"}.bi-window-sidebar:before{content:"\f61f"}.bi-window:before{content:"\f620"}.bi-wrench:before{content:"\f621"}.bi-x-circle-fill:before{content:"\f622"}.bi-x-circle:before{content:"\f623"}.bi-x-diamond-fill:before{content:"\f624"}.bi-x-diamond:before{content:"\f625"}.bi-x-octagon-fill:before{content:"\f626"}.bi-x-octagon:before{content:"\f627"}.bi-x-square-fill:before{content:"\f628"}.bi-x-square:before{content:"\f629"}.bi-x:before{content:"\f62a"}.bi-youtube:before{content:"\f62b"}.bi-zoom-in:before{content:"\f62c"}.bi-zoom-out:before{content:"\f62d"}.bi-bank:before{content:"\f62e"}.bi-bank2:before{content:"\f62f"}.bi-bell-slash-fill:before{content:"\f630"}.bi-bell-slash:before{content:"\f631"}.bi-cash-coin:before{content:"\f632"}.bi-check-lg:before{content:"\f633"}.bi-coin:before{content:"\f634"}.bi-currency-bitcoin:before{content:"\f635"}.bi-currency-dollar:before{content:"\f636"}.bi-currency-euro:before{content:"\f637"}.bi-currency-exchange:before{content:"\f638"}.bi-currency-pound:before{content:"\f639"}.bi-currency-yen:before{content:"\f63a"}.bi-dash-lg:before{content:"\f63b"}.bi-exclamation-lg:before{content:"\f63c"}.bi-file-earmark-pdf-fill:before{content:"\f63d"}.bi-file-earmark-pdf:before{content:"\f63e"}.bi-file-pdf-fill:before{content:"\f63f"}.bi-file-pdf:before{content:"\f640"}.bi-gender-ambiguous:before{content:"\f641"}.bi-gender-female:before{content:"\f642"}.bi-gender-male:before{content:"\f643"}.bi-gender-trans:before{content:"\f644"}.bi-headset-vr:before{content:"\f645"}.bi-info-lg:before{content:"\f646"}.bi-mastodon:before{content:"\f647"}.bi-messenger:before{content:"\f648"}.bi-piggy-bank-fill:before{content:"\f649"}.bi-piggy-bank:before{content:"\f64a"}.bi-pin-map-fill:before{content:"\f64b"}.bi-pin-map:before{content:"\f64c"}.bi-plus-lg:before{content:"\f64d"}.bi-question-lg:before{content:"\f64e"}.bi-recycle:before{content:"\f64f"}.bi-reddit:before{content:"\f650"}.bi-safe-fill:before{content:"\f651"}.bi-safe2-fill:before{content:"\f652"}.bi-safe2:before{content:"\f653"}.bi-sd-card-fill:before{content:"\f654"}.bi-sd-card:before{content:"\f655"}.bi-skype:before{content:"\f656"}.bi-slash-lg:before{content:"\f657"}.bi-translate:before{content:"\f658"}.bi-x-lg:before{content:"\f659"}.bi-safe:before{content:"\f65a"}.bi-apple:before{content:"\f65b"}.bi-microsoft:before{content:"\f65d"}.bi-windows:before{content:"\f65e"}.bi-behance:before{content:"\f65c"}.bi-dribbble:before{content:"\f65f"}.bi-line:before{content:"\f660"}.bi-medium:before{content:"\f661"}.bi-paypal:before{content:"\f662"}.bi-pinterest:before{content:"\f663"}.bi-signal:before{content:"\f664"}.bi-snapchat:before{content:"\f665"}.bi-spotify:before{content:"\f666"}.bi-stack-overflow:before{content:"\f667"}.bi-strava:before{content:"\f668"}.bi-wordpress:before{content:"\f669"}.bi-vimeo:before{content:"\f66a"}.bi-activity:before{content:"\f66b"}.bi-easel2-fill:before{content:"\f66c"}.bi-easel2:before{content:"\f66d"}.bi-easel3-fill:before{content:"\f66e"}.bi-easel3:before{content:"\f66f"}.bi-fan:before{content:"\f670"}.bi-fingerprint:before{content:"\f671"}.bi-graph-down-arrow:before{content:"\f672"}.bi-graph-up-arrow:before{content:"\f673"}.bi-hypnotize:before{content:"\f674"}.bi-magic:before{content:"\f675"}.bi-person-rolodex:before{content:"\f676"}.bi-person-video:before{content:"\f677"}.bi-person-video2:before{content:"\f678"}.bi-person-video3:before{content:"\f679"}.bi-person-workspace:before{content:"\f67a"}.bi-radioactive:before{content:"\f67b"}.bi-webcam-fill:before{content:"\f67c"}.bi-webcam:before{content:"\f67d"}.bi-yin-yang:before{content:"\f67e"}.bi-bandaid-fill:before{content:"\f680"}.bi-bandaid:before{content:"\f681"}.bi-bluetooth:before{content:"\f682"}.bi-body-text:before{content:"\f683"}.bi-boombox:before{content:"\f684"}.bi-boxes:before{content:"\f685"}.bi-dpad-fill:before{content:"\f686"}.bi-dpad:before{content:"\f687"}.bi-ear-fill:before{content:"\f688"}.bi-ear:before{content:"\f689"}.bi-envelope-check-fill:before{content:"\f68b"}.bi-envelope-check:before{content:"\f68c"}.bi-envelope-dash-fill:before{content:"\f68e"}.bi-envelope-dash:before{content:"\f68f"}.bi-envelope-exclamation-fill:before{content:"\f691"}.bi-envelope-exclamation:before{content:"\f692"}.bi-envelope-plus-fill:before{content:"\f693"}.bi-envelope-plus:before{content:"\f694"}.bi-envelope-slash-fill:before{content:"\f696"}.bi-envelope-slash:before{content:"\f697"}.bi-envelope-x-fill:before{content:"\f699"}.bi-envelope-x:before{content:"\f69a"}.bi-explicit-fill:before{content:"\f69b"}.bi-explicit:before{content:"\f69c"}.bi-git:before{content:"\f69d"}.bi-infinity:before{content:"\f69e"}.bi-list-columns-reverse:before{content:"\f69f"}.bi-list-columns:before{content:"\f6a0"}.bi-meta:before{content:"\f6a1"}.bi-nintendo-switch:before{content:"\f6a4"}.bi-pc-display-horizontal:before{content:"\f6a5"}.bi-pc-display:before{content:"\f6a6"}.bi-pc-horizontal:before{content:"\f6a7"}.bi-pc:before{content:"\f6a8"}.bi-playstation:before{content:"\f6a9"}.bi-plus-slash-minus:before{content:"\f6aa"}.bi-projector-fill:before{content:"\f6ab"}.bi-projector:before{content:"\f6ac"}.bi-qr-code-scan:before{content:"\f6ad"}.bi-qr-code:before{content:"\f6ae"}.bi-quora:before{content:"\f6af"}.bi-quote:before{content:"\f6b0"}.bi-robot:before{content:"\f6b1"}.bi-send-check-fill:before{content:"\f6b2"}.bi-send-check:before{content:"\f6b3"}.bi-send-dash-fill:before{content:"\f6b4"}.bi-send-dash:before{content:"\f6b5"}.bi-send-exclamation-fill:before{content:"\f6b7"}.bi-send-exclamation:before{content:"\f6b8"}.bi-send-fill:before{content:"\f6b9"}.bi-send-plus-fill:before{content:"\f6ba"}.bi-send-plus:before{content:"\f6bb"}.bi-send-slash-fill:before{content:"\f6bc"}.bi-send-slash:before{content:"\f6bd"}.bi-send-x-fill:before{content:"\f6be"}.bi-send-x:before{content:"\f6bf"}.bi-send:before{content:"\f6c0"}.bi-steam:before{content:"\f6c1"}.bi-terminal-dash:before{content:"\f6c3"}.bi-terminal-plus:before{content:"\f6c4"}.bi-terminal-split:before{content:"\f6c5"}.bi-ticket-detailed-fill:before{content:"\f6c6"}.bi-ticket-detailed:before{content:"\f6c7"}.bi-ticket-fill:before{content:"\f6c8"}.bi-ticket-perforated-fill:before{content:"\f6c9"}.bi-ticket-perforated:before{content:"\f6ca"}.bi-ticket:before{content:"\f6cb"}.bi-tiktok:before{content:"\f6cc"}.bi-window-dash:before{content:"\f6cd"}.bi-window-desktop:before{content:"\f6ce"}.bi-window-fullscreen:before{content:"\f6cf"}.bi-window-plus:before{content:"\f6d0"}.bi-window-split:before{content:"\f6d1"}.bi-window-stack:before{content:"\f6d2"}.bi-window-x:before{content:"\f6d3"}.bi-xbox:before{content:"\f6d4"}.bi-ethernet:before{content:"\f6d5"}.bi-hdmi-fill:before{content:"\f6d6"}.bi-hdmi:before{content:"\f6d7"}.bi-usb-c-fill:before{content:"\f6d8"}.bi-usb-c:before{content:"\f6d9"}.bi-usb-fill:before{content:"\f6da"}.bi-usb-plug-fill:before{content:"\f6db"}.bi-usb-plug:before{content:"\f6dc"}.bi-usb-symbol:before{content:"\f6dd"}.bi-usb:before{content:"\f6de"}.bi-boombox-fill:before{content:"\f6df"}.bi-displayport:before{content:"\f6e1"}.bi-gpu-card:before{content:"\f6e2"}.bi-memory:before{content:"\f6e3"}.bi-modem-fill:before{content:"\f6e4"}.bi-modem:before{content:"\f6e5"}.bi-motherboard-fill:before{content:"\f6e6"}.bi-motherboard:before{content:"\f6e7"}.bi-optical-audio-fill:before{content:"\f6e8"}.bi-optical-audio:before{content:"\f6e9"}.bi-pci-card:before{content:"\f6ea"}.bi-router-fill:before{content:"\f6eb"}.bi-router:before{content:"\f6ec"}.bi-thunderbolt-fill:before{content:"\f6ef"}.bi-thunderbolt:before{content:"\f6f0"}.bi-usb-drive-fill:before{content:"\f6f1"}.bi-usb-drive:before{content:"\f6f2"}.bi-usb-micro-fill:before{content:"\f6f3"}.bi-usb-micro:before{content:"\f6f4"}.bi-usb-mini-fill:before{content:"\f6f5"}.bi-usb-mini:before{content:"\f6f6"}.bi-cloud-haze2:before{content:"\f6f7"}.bi-device-hdd-fill:before{content:"\f6f8"}.bi-device-hdd:before{content:"\f6f9"}.bi-device-ssd-fill:before{content:"\f6fa"}.bi-device-ssd:before{content:"\f6fb"}.bi-displayport-fill:before{content:"\f6fc"}.bi-mortarboard-fill:before{content:"\f6fd"}.bi-mortarboard:before{content:"\f6fe"}.bi-terminal-x:before{content:"\f6ff"}.bi-arrow-through-heart-fill:before{content:"\f700"}.bi-arrow-through-heart:before{content:"\f701"}.bi-badge-sd-fill:before{content:"\f702"}.bi-badge-sd:before{content:"\f703"}.bi-bag-heart-fill:before{content:"\f704"}.bi-bag-heart:before{content:"\f705"}.bi-balloon-fill:before{content:"\f706"}.bi-balloon-heart-fill:before{content:"\f707"}.bi-balloon-heart:before{content:"\f708"}.bi-balloon:before{content:"\f709"}.bi-box2-fill:before{content:"\f70a"}.bi-box2-heart-fill:before{content:"\f70b"}.bi-box2-heart:before{content:"\f70c"}.bi-box2:before{content:"\f70d"}.bi-braces-asterisk:before{content:"\f70e"}.bi-calendar-heart-fill:before{content:"\f70f"}.bi-calendar-heart:before{content:"\f710"}.bi-calendar2-heart-fill:before{content:"\f711"}.bi-calendar2-heart:before{content:"\f712"}.bi-chat-heart-fill:before{content:"\f713"}.bi-chat-heart:before{content:"\f714"}.bi-chat-left-heart-fill:before{content:"\f715"}.bi-chat-left-heart:before{content:"\f716"}.bi-chat-right-heart-fill:before{content:"\f717"}.bi-chat-right-heart:before{content:"\f718"}.bi-chat-square-heart-fill:before{content:"\f719"}.bi-chat-square-heart:before{content:"\f71a"}.bi-clipboard-check-fill:before{content:"\f71b"}.bi-clipboard-data-fill:before{content:"\f71c"}.bi-clipboard-fill:before{content:"\f71d"}.bi-clipboard-heart-fill:before{content:"\f71e"}.bi-clipboard-heart:before{content:"\f71f"}.bi-clipboard-minus-fill:before{content:"\f720"}.bi-clipboard-plus-fill:before{content:"\f721"}.bi-clipboard-pulse:before{content:"\f722"}.bi-clipboard-x-fill:before{content:"\f723"}.bi-clipboard2-check-fill:before{content:"\f724"}.bi-clipboard2-check:before{content:"\f725"}.bi-clipboard2-data-fill:before{content:"\f726"}.bi-clipboard2-data:before{content:"\f727"}.bi-clipboard2-fill:before{content:"\f728"}.bi-clipboard2-heart-fill:before{content:"\f729"}.bi-clipboard2-heart:before{content:"\f72a"}.bi-clipboard2-minus-fill:before{content:"\f72b"}.bi-clipboard2-minus:before{content:"\f72c"}.bi-clipboard2-plus-fill:before{content:"\f72d"}.bi-clipboard2-plus:before{content:"\f72e"}.bi-clipboard2-pulse-fill:before{content:"\f72f"}.bi-clipboard2-pulse:before{content:"\f730"}.bi-clipboard2-x-fill:before{content:"\f731"}.bi-clipboard2-x:before{content:"\f732"}.bi-clipboard2:before{content:"\f733"}.bi-emoji-kiss-fill:before{content:"\f734"}.bi-emoji-kiss:before{content:"\f735"}.bi-envelope-heart-fill:before{content:"\f736"}.bi-envelope-heart:before{content:"\f737"}.bi-envelope-open-heart-fill:before{content:"\f738"}.bi-envelope-open-heart:before{content:"\f739"}.bi-envelope-paper-fill:before{content:"\f73a"}.bi-envelope-paper-heart-fill:before{content:"\f73b"}.bi-envelope-paper-heart:before{content:"\f73c"}.bi-envelope-paper:before{content:"\f73d"}.bi-filetype-aac:before{content:"\f73e"}.bi-filetype-ai:before{content:"\f73f"}.bi-filetype-bmp:before{content:"\f740"}.bi-filetype-cs:before{content:"\f741"}.bi-filetype-css:before{content:"\f742"}.bi-filetype-csv:before{content:"\f743"}.bi-filetype-doc:before{content:"\f744"}.bi-filetype-docx:before{content:"\f745"}.bi-filetype-exe:before{content:"\f746"}.bi-filetype-gif:before{content:"\f747"}.bi-filetype-heic:before{content:"\f748"}.bi-filetype-html:before{content:"\f749"}.bi-filetype-java:before{content:"\f74a"}.bi-filetype-jpg:before{content:"\f74b"}.bi-filetype-js:before{content:"\f74c"}.bi-filetype-jsx:before{content:"\f74d"}.bi-filetype-key:before{content:"\f74e"}.bi-filetype-m4p:before{content:"\f74f"}.bi-filetype-md:before{content:"\f750"}.bi-filetype-mdx:before{content:"\f751"}.bi-filetype-mov:before{content:"\f752"}.bi-filetype-mp3:before{content:"\f753"}.bi-filetype-mp4:before{content:"\f754"}.bi-filetype-otf:before{content:"\f755"}.bi-filetype-pdf:before{content:"\f756"}.bi-filetype-php:before{content:"\f757"}.bi-filetype-png:before{content:"\f758"}.bi-filetype-ppt:before{content:"\f75a"}.bi-filetype-psd:before{content:"\f75b"}.bi-filetype-py:before{content:"\f75c"}.bi-filetype-raw:before{content:"\f75d"}.bi-filetype-rb:before{content:"\f75e"}.bi-filetype-sass:before{content:"\f75f"}.bi-filetype-scss:before{content:"\f760"}.bi-filetype-sh:before{content:"\f761"}.bi-filetype-svg:before{content:"\f762"}.bi-filetype-tiff:before{content:"\f763"}.bi-filetype-tsx:before{content:"\f764"}.bi-filetype-ttf:before{content:"\f765"}.bi-filetype-txt:before{content:"\f766"}.bi-filetype-wav:before{content:"\f767"}.bi-filetype-woff:before{content:"\f768"}.bi-filetype-xls:before{content:"\f76a"}.bi-filetype-xml:before{content:"\f76b"}.bi-filetype-yml:before{content:"\f76c"}.bi-heart-arrow:before{content:"\f76d"}.bi-heart-pulse-fill:before{content:"\f76e"}.bi-heart-pulse:before{content:"\f76f"}.bi-heartbreak-fill:before{content:"\f770"}.bi-heartbreak:before{content:"\f771"}.bi-hearts:before{content:"\f772"}.bi-hospital-fill:before{content:"\f773"}.bi-hospital:before{content:"\f774"}.bi-house-heart-fill:before{content:"\f775"}.bi-house-heart:before{content:"\f776"}.bi-incognito:before{content:"\f777"}.bi-magnet-fill:before{content:"\f778"}.bi-magnet:before{content:"\f779"}.bi-person-heart:before{content:"\f77a"}.bi-person-hearts:before{content:"\f77b"}.bi-phone-flip:before{content:"\f77c"}.bi-plugin:before{content:"\f77d"}.bi-postage-fill:before{content:"\f77e"}.bi-postage-heart-fill:before{content:"\f77f"}.bi-postage-heart:before{content:"\f780"}.bi-postage:before{content:"\f781"}.bi-postcard-fill:before{content:"\f782"}.bi-postcard-heart-fill:before{content:"\f783"}.bi-postcard-heart:before{content:"\f784"}.bi-postcard:before{content:"\f785"}.bi-search-heart-fill:before{content:"\f786"}.bi-search-heart:before{content:"\f787"}.bi-sliders2-vertical:before{content:"\f788"}.bi-sliders2:before{content:"\f789"}.bi-trash3-fill:before{content:"\f78a"}.bi-trash3:before{content:"\f78b"}.bi-valentine:before{content:"\f78c"}.bi-valentine2:before{content:"\f78d"}.bi-wrench-adjustable-circle-fill:before{content:"\f78e"}.bi-wrench-adjustable-circle:before{content:"\f78f"}.bi-wrench-adjustable:before{content:"\f790"}.bi-filetype-json:before{content:"\f791"}.bi-filetype-pptx:before{content:"\f792"}.bi-filetype-xlsx:before{content:"\f793"}.bi-1-circle-fill:before{content:"\f796"}.bi-1-circle:before{content:"\f797"}.bi-1-square-fill:before{content:"\f798"}.bi-1-square:before{content:"\f799"}.bi-2-circle-fill:before{content:"\f79c"}.bi-2-circle:before{content:"\f79d"}.bi-2-square-fill:before{content:"\f79e"}.bi-2-square:before{content:"\f79f"}.bi-3-circle-fill:before{content:"\f7a2"}.bi-3-circle:before{content:"\f7a3"}.bi-3-square-fill:before{content:"\f7a4"}.bi-3-square:before{content:"\f7a5"}.bi-4-circle-fill:before{content:"\f7a8"}.bi-4-circle:before{content:"\f7a9"}.bi-4-square-fill:before{content:"\f7aa"}.bi-4-square:before{content:"\f7ab"}.bi-5-circle-fill:before{content:"\f7ae"}.bi-5-circle:before{content:"\f7af"}.bi-5-square-fill:before{content:"\f7b0"}.bi-5-square:before{content:"\f7b1"}.bi-6-circle-fill:before{content:"\f7b4"}.bi-6-circle:before{content:"\f7b5"}.bi-6-square-fill:before{content:"\f7b6"}.bi-6-square:before{content:"\f7b7"}.bi-7-circle-fill:before{content:"\f7ba"}.bi-7-circle:before{content:"\f7bb"}.bi-7-square-fill:before{content:"\f7bc"}.bi-7-square:before{content:"\f7bd"}.bi-8-circle-fill:before{content:"\f7c0"}.bi-8-circle:before{content:"\f7c1"}.bi-8-square-fill:before{content:"\f7c2"}.bi-8-square:before{content:"\f7c3"}.bi-9-circle-fill:before{content:"\f7c6"}.bi-9-circle:before{content:"\f7c7"}.bi-9-square-fill:before{content:"\f7c8"}.bi-9-square:before{content:"\f7c9"}.bi-airplane-engines-fill:before{content:"\f7ca"}.bi-airplane-engines:before{content:"\f7cb"}.bi-airplane-fill:before{content:"\f7cc"}.bi-airplane:before{content:"\f7cd"}.bi-alexa:before{content:"\f7ce"}.bi-alipay:before{content:"\f7cf"}.bi-android:before{content:"\f7d0"}.bi-android2:before{content:"\f7d1"}.bi-box-fill:before{content:"\f7d2"}.bi-box-seam-fill:before{content:"\f7d3"}.bi-browser-chrome:before{content:"\f7d4"}.bi-browser-edge:before{content:"\f7d5"}.bi-browser-firefox:before{content:"\f7d6"}.bi-browser-safari:before{content:"\f7d7"}.bi-c-circle-fill:before{content:"\f7da"}.bi-c-circle:before{content:"\f7db"}.bi-c-square-fill:before{content:"\f7dc"}.bi-c-square:before{content:"\f7dd"}.bi-capsule-pill:before{content:"\f7de"}.bi-capsule:before{content:"\f7df"}.bi-car-front-fill:before{content:"\f7e0"}.bi-car-front:before{content:"\f7e1"}.bi-cassette-fill:before{content:"\f7e2"}.bi-cassette:before{content:"\f7e3"}.bi-cc-circle-fill:before{content:"\f7e6"}.bi-cc-circle:before{content:"\f7e7"}.bi-cc-square-fill:before{content:"\f7e8"}.bi-cc-square:before{content:"\f7e9"}.bi-cup-hot-fill:before{content:"\f7ea"}.bi-cup-hot:before{content:"\f7eb"}.bi-currency-rupee:before{content:"\f7ec"}.bi-dropbox:before{content:"\f7ed"}.bi-escape:before{content:"\f7ee"}.bi-fast-forward-btn-fill:before{content:"\f7ef"}.bi-fast-forward-btn:before{content:"\f7f0"}.bi-fast-forward-circle-fill:before{content:"\f7f1"}.bi-fast-forward-circle:before{content:"\f7f2"}.bi-fast-forward-fill:before{content:"\f7f3"}.bi-fast-forward:before{content:"\f7f4"}.bi-filetype-sql:before{content:"\f7f5"}.bi-fire:before{content:"\f7f6"}.bi-google-play:before{content:"\f7f7"}.bi-h-circle-fill:before{content:"\f7fa"}.bi-h-circle:before{content:"\f7fb"}.bi-h-square-fill:before{content:"\f7fc"}.bi-h-square:before{content:"\f7fd"}.bi-indent:before{content:"\f7fe"}.bi-lungs-fill:before{content:"\f7ff"}.bi-lungs:before{content:"\f800"}.bi-microsoft-teams:before{content:"\f801"}.bi-p-circle-fill:before{content:"\f804"}.bi-p-circle:before{content:"\f805"}.bi-p-square-fill:before{content:"\f806"}.bi-p-square:before{content:"\f807"}.bi-pass-fill:before{content:"\f808"}.bi-pass:before{content:"\f809"}.bi-prescription:before{content:"\f80a"}.bi-prescription2:before{content:"\f80b"}.bi-r-circle-fill:before{content:"\f80e"}.bi-r-circle:before{content:"\f80f"}.bi-r-square-fill:before{content:"\f810"}.bi-r-square:before{content:"\f811"}.bi-repeat-1:before{content:"\f812"}.bi-repeat:before{content:"\f813"}.bi-rewind-btn-fill:before{content:"\f814"}.bi-rewind-btn:before{content:"\f815"}.bi-rewind-circle-fill:before{content:"\f816"}.bi-rewind-circle:before{content:"\f817"}.bi-rewind-fill:before{content:"\f818"}.bi-rewind:before{content:"\f819"}.bi-train-freight-front-fill:before{content:"\f81a"}.bi-train-freight-front:before{content:"\f81b"}.bi-train-front-fill:before{content:"\f81c"}.bi-train-front:before{content:"\f81d"}.bi-train-lightrail-front-fill:before{content:"\f81e"}.bi-train-lightrail-front:before{content:"\f81f"}.bi-truck-front-fill:before{content:"\f820"}.bi-truck-front:before{content:"\f821"}.bi-ubuntu:before{content:"\f822"}.bi-unindent:before{content:"\f823"}.bi-unity:before{content:"\f824"}.bi-universal-access-circle:before{content:"\f825"}.bi-universal-access:before{content:"\f826"}.bi-virus:before{content:"\f827"}.bi-virus2:before{content:"\f828"}.bi-wechat:before{content:"\f829"}.bi-yelp:before{content:"\f82a"}.bi-sign-stop-fill:before{content:"\f82b"}.bi-sign-stop-lights-fill:before{content:"\f82c"}.bi-sign-stop-lights:before{content:"\f82d"}.bi-sign-stop:before{content:"\f82e"}.bi-sign-turn-left-fill:before{content:"\f82f"}.bi-sign-turn-left:before{content:"\f830"}.bi-sign-turn-right-fill:before{content:"\f831"}.bi-sign-turn-right:before{content:"\f832"}.bi-sign-turn-slight-left-fill:before{content:"\f833"}.bi-sign-turn-slight-left:before{content:"\f834"}.bi-sign-turn-slight-right-fill:before{content:"\f835"}.bi-sign-turn-slight-right:before{content:"\f836"}.bi-sign-yield-fill:before{content:"\f837"}.bi-sign-yield:before{content:"\f838"}.bi-ev-station-fill:before{content:"\f839"}.bi-ev-station:before{content:"\f83a"}.bi-fuel-pump-diesel-fill:before{content:"\f83b"}.bi-fuel-pump-diesel:before{content:"\f83c"}.bi-fuel-pump-fill:before{content:"\f83d"}.bi-fuel-pump:before{content:"\f83e"}.bi-0-circle-fill:before{content:"\f83f"}.bi-0-circle:before{content:"\f840"}.bi-0-square-fill:before{content:"\f841"}.bi-0-square:before{content:"\f842"}.bi-rocket-fill:before{content:"\f843"}.bi-rocket-takeoff-fill:before{content:"\f844"}.bi-rocket-takeoff:before{content:"\f845"}.bi-rocket:before{content:"\f846"}.bi-stripe:before{content:"\f847"}.bi-subscript:before{content:"\f848"}.bi-superscript:before{content:"\f849"}.bi-trello:before{content:"\f84a"}.bi-envelope-at-fill:before{content:"\f84b"}.bi-envelope-at:before{content:"\f84c"}.bi-regex:before{content:"\f84d"}.bi-text-wrap:before{content:"\f84e"}.bi-sign-dead-end-fill:before{content:"\f84f"}.bi-sign-dead-end:before{content:"\f850"}.bi-sign-do-not-enter-fill:before{content:"\f851"}.bi-sign-do-not-enter:before{content:"\f852"}.bi-sign-intersection-fill:before{content:"\f853"}.bi-sign-intersection-side-fill:before{content:"\f854"}.bi-sign-intersection-side:before{content:"\f855"}.bi-sign-intersection-t-fill:before{content:"\f856"}.bi-sign-intersection-t:before{content:"\f857"}.bi-sign-intersection-y-fill:before{content:"\f858"}.bi-sign-intersection-y:before{content:"\f859"}.bi-sign-intersection:before{content:"\f85a"}.bi-sign-merge-left-fill:before{content:"\f85b"}.bi-sign-merge-left:before{content:"\f85c"}.bi-sign-merge-right-fill:before{content:"\f85d"}.bi-sign-merge-right:before{content:"\f85e"}.bi-sign-no-left-turn-fill:before{content:"\f85f"}.bi-sign-no-left-turn:before{content:"\f860"}.bi-sign-no-parking-fill:before{content:"\f861"}.bi-sign-no-parking:before{content:"\f862"}.bi-sign-no-right-turn-fill:before{content:"\f863"}.bi-sign-no-right-turn:before{content:"\f864"}.bi-sign-railroad-fill:before{content:"\f865"}.bi-sign-railroad:before{content:"\f866"}.bi-building-add:before{content:"\f867"}.bi-building-check:before{content:"\f868"}.bi-building-dash:before{content:"\f869"}.bi-building-down:before{content:"\f86a"}.bi-building-exclamation:before{content:"\f86b"}.bi-building-fill-add:before{content:"\f86c"}.bi-building-fill-check:before{content:"\f86d"}.bi-building-fill-dash:before{content:"\f86e"}.bi-building-fill-down:before{content:"\f86f"}.bi-building-fill-exclamation:before{content:"\f870"}.bi-building-fill-gear:before{content:"\f871"}.bi-building-fill-lock:before{content:"\f872"}.bi-building-fill-slash:before{content:"\f873"}.bi-building-fill-up:before{content:"\f874"}.bi-building-fill-x:before{content:"\f875"}.bi-building-fill:before{content:"\f876"}.bi-building-gear:before{content:"\f877"}.bi-building-lock:before{content:"\f878"}.bi-building-slash:before{content:"\f879"}.bi-building-up:before{content:"\f87a"}.bi-building-x:before{content:"\f87b"}.bi-buildings-fill:before{content:"\f87c"}.bi-buildings:before{content:"\f87d"}.bi-bus-front-fill:before{content:"\f87e"}.bi-bus-front:before{content:"\f87f"}.bi-ev-front-fill:before{content:"\f880"}.bi-ev-front:before{content:"\f881"}.bi-globe-americas:before{content:"\f882"}.bi-globe-asia-australia:before{content:"\f883"}.bi-globe-central-south-asia:before{content:"\f884"}.bi-globe-europe-africa:before{content:"\f885"}.bi-house-add-fill:before{content:"\f886"}.bi-house-add:before{content:"\f887"}.bi-house-check-fill:before{content:"\f888"}.bi-house-check:before{content:"\f889"}.bi-house-dash-fill:before{content:"\f88a"}.bi-house-dash:before{content:"\f88b"}.bi-house-down-fill:before{content:"\f88c"}.bi-house-down:before{content:"\f88d"}.bi-house-exclamation-fill:before{content:"\f88e"}.bi-house-exclamation:before{content:"\f88f"}.bi-house-gear-fill:before{content:"\f890"}.bi-house-gear:before{content:"\f891"}.bi-house-lock-fill:before{content:"\f892"}.bi-house-lock:before{content:"\f893"}.bi-house-slash-fill:before{content:"\f894"}.bi-house-slash:before{content:"\f895"}.bi-house-up-fill:before{content:"\f896"}.bi-house-up:before{content:"\f897"}.bi-house-x-fill:before{content:"\f898"}.bi-house-x:before{content:"\f899"}.bi-person-add:before{content:"\f89a"}.bi-person-down:before{content:"\f89b"}.bi-person-exclamation:before{content:"\f89c"}.bi-person-fill-add:before{content:"\f89d"}.bi-person-fill-check:before{content:"\f89e"}.bi-person-fill-dash:before{content:"\f89f"}.bi-person-fill-down:before{content:"\f8a0"}.bi-person-fill-exclamation:before{content:"\f8a1"}.bi-person-fill-gear:before{content:"\f8a2"}.bi-person-fill-lock:before{content:"\f8a3"}.bi-person-fill-slash:before{content:"\f8a4"}.bi-person-fill-up:before{content:"\f8a5"}.bi-person-fill-x:before{content:"\f8a6"}.bi-person-gear:before{content:"\f8a7"}.bi-person-lock:before{content:"\f8a8"}.bi-person-slash:before{content:"\f8a9"}.bi-person-up:before{content:"\f8aa"}.bi-scooter:before{content:"\f8ab"}.bi-taxi-front-fill:before{content:"\f8ac"}.bi-taxi-front:before{content:"\f8ad"}.bi-amd:before{content:"\f8ae"}.bi-database-add:before{content:"\f8af"}.bi-database-check:before{content:"\f8b0"}.bi-database-dash:before{content:"\f8b1"}.bi-database-down:before{content:"\f8b2"}.bi-database-exclamation:before{content:"\f8b3"}.bi-database-fill-add:before{content:"\f8b4"}.bi-database-fill-check:before{content:"\f8b5"}.bi-database-fill-dash:before{content:"\f8b6"}.bi-database-fill-down:before{content:"\f8b7"}.bi-database-fill-exclamation:before{content:"\f8b8"}.bi-database-fill-gear:before{content:"\f8b9"}.bi-database-fill-lock:before{content:"\f8ba"}.bi-database-fill-slash:before{content:"\f8bb"}.bi-database-fill-up:before{content:"\f8bc"}.bi-database-fill-x:before{content:"\f8bd"}.bi-database-fill:before{content:"\f8be"}.bi-database-gear:before{content:"\f8bf"}.bi-database-lock:before{content:"\f8c0"}.bi-database-slash:before{content:"\f8c1"}.bi-database-up:before{content:"\f8c2"}.bi-database-x:before{content:"\f8c3"}.bi-database:before{content:"\f8c4"}.bi-houses-fill:before{content:"\f8c5"}.bi-houses:before{content:"\f8c6"}.bi-nvidia:before{content:"\f8c7"}.bi-person-vcard-fill:before{content:"\f8c8"}.bi-person-vcard:before{content:"\f8c9"}.bi-sina-weibo:before{content:"\f8ca"}.bi-tencent-qq:before{content:"\f8cb"}.bi-wikipedia:before{content:"\f8cc"}.bi-alphabet-uppercase:before{content:"\f2a5"}.bi-alphabet:before{content:"\f68a"}.bi-amazon:before{content:"\f68d"}.bi-arrows-collapse-vertical:before{content:"\f690"}.bi-arrows-expand-vertical:before{content:"\f695"}.bi-arrows-vertical:before{content:"\f698"}.bi-arrows:before{content:"\f6a2"}.bi-ban-fill:before{content:"\f6a3"}.bi-ban:before{content:"\f6b6"}.bi-bing:before{content:"\f6c2"}.bi-cake:before{content:"\f6e0"}.bi-cake2:before{content:"\f6ed"}.bi-cookie:before{content:"\f6ee"}.bi-copy:before{content:"\f759"}.bi-crosshair:before{content:"\f769"}.bi-crosshair2:before{content:"\f794"}.bi-emoji-astonished-fill:before{content:"\f795"}.bi-emoji-astonished:before{content:"\f79a"}.bi-emoji-grimace-fill:before{content:"\f79b"}.bi-emoji-grimace:before{content:"\f7a0"}.bi-emoji-grin-fill:before{content:"\f7a1"}.bi-emoji-grin:before{content:"\f7a6"}.bi-emoji-surprise-fill:before{content:"\f7a7"}.bi-emoji-surprise:before{content:"\f7ac"}.bi-emoji-tear-fill:before{content:"\f7ad"}.bi-emoji-tear:before{content:"\f7b2"}.bi-envelope-arrow-down-fill:before{content:"\f7b3"}.bi-envelope-arrow-down:before{content:"\f7b8"}.bi-envelope-arrow-up-fill:before{content:"\f7b9"}.bi-envelope-arrow-up:before{content:"\f7be"}.bi-feather:before{content:"\f7bf"}.bi-feather2:before{content:"\f7c4"}.bi-floppy-fill:before{content:"\f7c5"}.bi-floppy:before{content:"\f7d8"}.bi-floppy2-fill:before{content:"\f7d9"}.bi-floppy2:before{content:"\f7e4"}.bi-gitlab:before{content:"\f7e5"}.bi-highlighter:before{content:"\f7f8"}.bi-marker-tip:before{content:"\f802"}.bi-nvme-fill:before{content:"\f803"}.bi-nvme:before{content:"\f80c"}.bi-opencollective:before{content:"\f80d"}.bi-pci-card-network:before{content:"\f8cd"}.bi-pci-card-sound:before{content:"\f8ce"}.bi-radar:before{content:"\f8cf"}.bi-send-arrow-down-fill:before{content:"\f8d0"}.bi-send-arrow-down:before{content:"\f8d1"}.bi-send-arrow-up-fill:before{content:"\f8d2"}.bi-send-arrow-up:before{content:"\f8d3"}.bi-sim-slash-fill:before{content:"\f8d4"}.bi-sim-slash:before{content:"\f8d5"}.bi-sourceforge:before{content:"\f8d6"}.bi-substack:before{content:"\f8d7"}.bi-threads-fill:before{content:"\f8d8"}.bi-threads:before{content:"\f8d9"}.bi-transparency:before{content:"\f8da"}.bi-twitter-x:before{content:"\f8db"}.bi-type-h4:before{content:"\f8dc"}.bi-type-h5:before{content:"\f8dd"}.bi-type-h6:before{content:"\f8de"}.bi-backpack-fill:before{content:"\f8df"}.bi-backpack:before{content:"\f8e0"}.bi-backpack2-fill:before{content:"\f8e1"}.bi-backpack2:before{content:"\f8e2"}.bi-backpack3-fill:before{content:"\f8e3"}.bi-backpack3:before{content:"\f8e4"}.bi-backpack4-fill:before{content:"\f8e5"}.bi-backpack4:before{content:"\f8e6"}.bi-brilliance:before{content:"\f8e7"}.bi-cake-fill:before{content:"\f8e8"}.bi-cake2-fill:before{content:"\f8e9"}.bi-duffle-fill:before{content:"\f8ea"}.bi-duffle:before{content:"\f8eb"}.bi-exposure:before{content:"\f8ec"}.bi-gender-neuter:before{content:"\f8ed"}.bi-highlights:before{content:"\f8ee"}.bi-luggage-fill:before{content:"\f8ef"}.bi-luggage:before{content:"\f8f0"}.bi-mailbox-flag:before{content:"\f8f1"}.bi-mailbox2-flag:before{content:"\f8f2"}.bi-noise-reduction:before{content:"\f8f3"}.bi-passport-fill:before{content:"\f8f4"}.bi-passport:before{content:"\f8f5"}.bi-person-arms-up:before{content:"\f8f6"}.bi-person-raised-hand:before{content:"\f8f7"}.bi-person-standing-dress:before{content:"\f8f8"}.bi-person-standing:before{content:"\f8f9"}.bi-person-walking:before{content:"\f8fa"}.bi-person-wheelchair:before{content:"\f8fb"}.bi-shadows:before{content:"\f8fc"}.bi-suitcase-fill:before{content:"\f8fd"}.bi-suitcase-lg-fill:before{content:"\f8fe"}.bi-suitcase-lg:before{content:"\f8ff"}.bi-suitcase:before{content:"\f900"}.bi-suitcase2-fill:before{content:"\f901"}.bi-suitcase2:before{content:"\f902"}.bi-vignette:before{content:"\f903"}.toast-center-center{top:50%;left:50%;transform:translate(-50%,-50%)}.toast-top-center{top:0;right:0;width:100%}.toast-bottom-center{bottom:0;right:0;width:100%}.toast-top-full-width{top:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}.toast-title{font-weight:700}.toast-message{word-wrap:break-word}.toast-message a,.toast-message label{color:#fff}.toast-message a:hover{color:#ccc;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;text-shadow:0 1px 0 #ffffff}.toast-close-button:hover,.toast-close-button:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button{padding:0;cursor:pointer;background:transparent;border:0}.toast-container{pointer-events:none;position:fixed;z-index:999999}.toast-container *{box-sizing:border-box}.toast-container .ngx-toastr{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 12px #999;color:#fff}.toast-container .ngx-toastr:hover{box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.toast-info{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOS4wNDMgOCA4IDExOS4wODMgOCAyNTZjMCAxMzYuOTk3IDExMS4wNDMgMjQ4IDI0OCAyNDhzMjQ4LTExMS4wMDMgMjQ4LTI0OEM1MDQgMTE5LjA4MyAzOTIuOTU3IDggMjU2IDh6bTAgMTEwYzIzLjE5NiAwIDQyIDE4LjgwNCA0MiA0MnMtMTguODA0IDQyLTQyIDQyLTQyLTE4LjgwNC00Mi00MiAxOC44MDQtNDIgNDItNDJ6bTU2IDI1NGMwIDYuNjI3LTUuMzczIDEyLTEyIDEyaC04OGMtNi42MjcgMC0xMi01LjM3My0xMi0xMnYtMjRjMC02LjYyNyA1LjM3My0xMiAxMi0xMmgxMnYtNjRoLTEyYy02LjYyNyAwLTEyLTUuMzczLTEyLTEydi0yNGMwLTYuNjI3IDUuMzczLTEyIDEyLTEyaDY0YzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MTAwaDEyYzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MjR6Jy8+PC9zdmc+)}.toast-error{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMzkuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+)}.toast-success{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTE3My44OTggNDM5LjQwNGwtMTY2LjQtMTY2LjRjLTkuOTk3LTkuOTk3LTkuOTk3LTI2LjIwNiAwLTM2LjIwNGwzNi4yMDMtMzYuMjA0YzkuOTk3LTkuOTk4IDI2LjIwNy05Ljk5OCAzNi4yMDQgMEwxOTIgMzEyLjY5IDQzMi4wOTUgNzIuNTk2YzkuOTk3LTkuOTk3IDI2LjIwNy05Ljk5NyAzNi4yMDQgMGwzNi4yMDMgMzYuMjA0YzkuOTk3IDkuOTk3IDkuOTk3IDI2LjIwNiAwIDM2LjIwNGwtMjk0LjQgMjk0LjQwMWMtOS45OTggOS45OTctMjYuMjA3IDkuOTk3LTM2LjIwNC0uMDAxeicvPjwvc3ZnPg==)}.toast-warning{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1NzYgNTEyJyB3aWR0aD0nNTc2JyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTU2OS41MTcgNDQwLjAxM0M1ODcuOTc1IDQ3Mi4wMDcgNTY0LjgwNiA1MTIgNTI3Ljk0IDUxMkg0OC4wNTRjLTM2LjkzNyAwLTU5Ljk5OS00MC4wNTUtNDEuNTc3LTcxLjk4N0wyNDYuNDIzIDIzLjk4NWMxOC40NjctMzIuMDA5IDY0LjcyLTMxLjk1MSA4My4xNTQgMGwyMzkuOTQgNDE2LjAyOHpNMjg4IDM1NGMtMjUuNDA1IDAtNDYgMjAuNTk1LTQ2IDQ2czIwLjU5NSA0NiA0NiA0NiA0Ni0yMC41OTUgNDYtNDYtMjAuNTk1LTQ2LTQ2LTQ2em0tNDMuNjczLTE2NS4zNDZsNy40MTggMTM2Yy4zNDcgNi4zNjQgNS42MDkgMTEuMzQ2IDExLjk4MiAxMS4zNDZoNDguNTQ2YzYuMzczIDAgMTEuNjM1LTQuOTgyIDExLjk4Mi0xMS4zNDZsNy40MTgtMTM2Yy4zNzUtNi44NzQtNS4wOTgtMTIuNjU0LTExLjk4Mi0xMi42NTRoLTYzLjM4M2MtNi44ODQgMC0xMi4zNTYgNS43OC0xMS45ODEgMTIuNjU0eicvPjwvc3ZnPg==)}.toast-container.toast-top-center .ngx-toastr,.toast-container.toast-bottom-center .ngx-toastr{width:300px;margin-left:auto;margin-right:auto}.toast-container.toast-top-full-width .ngx-toastr,.toast-container.toast-bottom-full-width .ngx-toastr{width:96%;margin-left:auto;margin-right:auto}.ngx-toastr{background-color:#030303;pointer-events:auto}.toast-success{background-color:#51a351}.toast-error{background-color:#bd362f}.toast-info{background-color:#2f96b4}.toast-warning{background-color:#f89406}.toast-progress{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}@media all and (max-width: 240px){.toast-container .ngx-toastr.div{padding:8px 8px 8px 50px;width:11em}.toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width: 241px) and (max-width: 480px){.toast-container .ngx-toastr.div{padding:8px 8px 8px 50px;width:18em}.toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width: 481px) and (max-width: 768px){.toast-container .ngx-toastr.div{padding:15px 15px 15px 50px;width:25em}}html,body{height:100%}body{margin:0;font-family:Roboto,Helvetica Neue,sans-serif}.mat-mdc-snack-bar-container{--mat-mdc-snack-bar-button-color: #ffffff;--mdc-snackbar-supporting-text-color: #ffffff;--mat-snack-bar-button-color: #ffffff}.mat-mdc-snack-bar-container.app-notification-error{--mdc-snackbar-container-color: #f23a2f}.mat-mdc-snack-bar-container.app-notification-success{--mdc-snackbar-container-color: #43a446;white-space:pre-wrap}.row{display:flex;flex-direction:row}.col{flex:1}.form-field{width:450px}.action-button-section{margin-top:10px}.beta-icon{font-size:25px;height:25px;margin-left:10px;margin-top:14px} diff --git a/boot/src/test/kotlin/config/mock/TrainerRoadApiClientMock.kt b/boot/src/test/kotlin/config/mock/TrainerRoadApiClientMock.kt index 136df974..4e744d14 100644 --- a/boot/src/test/kotlin/config/mock/TrainerRoadApiClientMock.kt +++ b/boot/src/test/kotlin/config/mock/TrainerRoadApiClientMock.kt @@ -4,6 +4,7 @@ import com.fasterxml.jackson.databind.ObjectMapper import java.io.InputStream import org.freekode.tp2intervals.infrastructure.platform.trainerroad.TRFindWorkoutsRequestDTO import org.freekode.tp2intervals.infrastructure.platform.trainerroad.TrainerRoadApiClient +import org.freekode.tp2intervals.infrastructure.platform.trainerroad.TrainerRoadTimelineDTO import org.freekode.tp2intervals.infrastructure.platform.trainerroad.activity.TrainerRoadActivityDTO import org.freekode.tp2intervals.infrastructure.platform.trainerroad.workout.TRFindWorkoutsResponseDTO import org.freekode.tp2intervals.infrastructure.platform.trainerroad.workout.TRWorkoutResponseDTO @@ -25,8 +26,12 @@ class TrainerRoadApiClientMock( anotherWorkoutResponse, TRWorkoutResponseDTO::class.java ) - override fun getActivities(username: String, startDate: String, endDate: String): List { - TODO("Not yet implemented") + override fun getTimeline(memberId: Long, startDate: String, endDate: String): TrainerRoadTimelineDTO { + return TrainerRoadTimelineDTO() + } + + override fun getActivities(memberId: Long, ids: String): List { + return emptyList() } override fun findWorkouts(requestDTO: TRFindWorkoutsRequestDTO): TRFindWorkoutsResponseDTO {