diff --git a/src/dashboard.py b/src/dashboard.py index ca7d04a..3c15b90 100644 --- a/src/dashboard.py +++ b/src/dashboard.py @@ -1388,7 +1388,7 @@ class DashboardConfig: elif type(value) in [int, float]: self.__config[section][key] = str(value) elif type(value) is list: - self.__config[section][key] = "||".join(value) + self.__config[section][key] = "||".join(value).strip("||") else: self.__config[section][key] = value return self.SaveConfig(), "" @@ -1416,7 +1416,7 @@ class DashboardConfig: return True, False if section == "WireGuardConfiguration" and key == "autostart": - return True, self.__config[section][key].split("||") + return True, list(filter(lambda x: len(x) > 0, self.__config[section][key].split("||"))) return True, self.__config[section][key] @@ -1894,7 +1894,7 @@ def API_updateDashboardConfigurationItem(): WireguardConfigurations.clear() _getConfigurationList() - return ResponseObject() + return ResponseObject(True, data=DashboardConfig.GetConfig(data["section"], data["key"])[1]) @app.get(f'{APP_PREFIX}/api/getDashboardAPIKeys') def API_getDashboardAPIKeys(): diff --git a/src/static/app/dist/assets/index.css b/src/static/app/dist/assets/index.css index 508e4b5..917fc74 100644 --- a/src/static/app/dist/assets/index.css +++ b/src/static/app/dist/assets/index.css @@ -6,10 +6,10 @@ * Bootstrap Icons v1.11.3 (https://icons.getbootstrap.com/) * Copyright 2019-2024 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/icons/blob/main/LICENSE) -*/@font-face{font-display:block;font-family:bootstrap-icons;src:url(/static/app/dist/assets/bootstrap-icons.woff2?dd67030699838ea613ee6dbda90effa6) format("woff2"),url(/static/app/dist/assets/bootstrap-icons.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:""}.bi-alarm-fill:before{content:""}.bi-alarm:before{content:""}.bi-align-bottom:before{content:""}.bi-align-center:before{content:""}.bi-align-end:before{content:""}.bi-align-middle:before{content:""}.bi-align-start:before{content:""}.bi-align-top:before{content:""}.bi-alt:before{content:""}.bi-app-indicator:before{content:""}.bi-app:before{content:""}.bi-archive-fill:before{content:""}.bi-archive:before{content:""}.bi-arrow-90deg-down:before{content:""}.bi-arrow-90deg-left:before{content:""}.bi-arrow-90deg-right:before{content:""}.bi-arrow-90deg-up:before{content:""}.bi-arrow-bar-down:before{content:""}.bi-arrow-bar-left:before{content:""}.bi-arrow-bar-right:before{content:""}.bi-arrow-bar-up:before{content:""}.bi-arrow-clockwise:before{content:""}.bi-arrow-counterclockwise:before{content:""}.bi-arrow-down-circle-fill:before{content:""}.bi-arrow-down-circle:before{content:""}.bi-arrow-down-left-circle-fill:before{content:""}.bi-arrow-down-left-circle:before{content:""}.bi-arrow-down-left-square-fill:before{content:""}.bi-arrow-down-left-square:before{content:""}.bi-arrow-down-left:before{content:""}.bi-arrow-down-right-circle-fill:before{content:""}.bi-arrow-down-right-circle:before{content:""}.bi-arrow-down-right-square-fill:before{content:""}.bi-arrow-down-right-square:before{content:""}.bi-arrow-down-right:before{content:""}.bi-arrow-down-short:before{content:""}.bi-arrow-down-square-fill:before{content:""}.bi-arrow-down-square:before{content:""}.bi-arrow-down-up:before{content:""}.bi-arrow-down:before{content:""}.bi-arrow-left-circle-fill:before{content:""}.bi-arrow-left-circle:before{content:""}.bi-arrow-left-right:before{content:""}.bi-arrow-left-short:before{content:""}.bi-arrow-left-square-fill:before{content:""}.bi-arrow-left-square:before{content:""}.bi-arrow-left:before{content:""}.bi-arrow-repeat:before{content:""}.bi-arrow-return-left:before{content:""}.bi-arrow-return-right:before{content:""}.bi-arrow-right-circle-fill:before{content:""}.bi-arrow-right-circle:before{content:""}.bi-arrow-right-short:before{content:""}.bi-arrow-right-square-fill:before{content:""}.bi-arrow-right-square:before{content:""}.bi-arrow-right:before{content:""}.bi-arrow-up-circle-fill:before{content:""}.bi-arrow-up-circle:before{content:""}.bi-arrow-up-left-circle-fill:before{content:""}.bi-arrow-up-left-circle:before{content:""}.bi-arrow-up-left-square-fill:before{content:""}.bi-arrow-up-left-square:before{content:""}.bi-arrow-up-left:before{content:""}.bi-arrow-up-right-circle-fill:before{content:""}.bi-arrow-up-right-circle:before{content:""}.bi-arrow-up-right-square-fill:before{content:""}.bi-arrow-up-right-square:before{content:""}.bi-arrow-up-right:before{content:""}.bi-arrow-up-short:before{content:""}.bi-arrow-up-square-fill:before{content:""}.bi-arrow-up-square:before{content:""}.bi-arrow-up:before{content:""}.bi-arrows-angle-contract:before{content:""}.bi-arrows-angle-expand:before{content:""}.bi-arrows-collapse:before{content:""}.bi-arrows-expand:before{content:""}.bi-arrows-fullscreen:before{content:""}.bi-arrows-move:before{content:""}.bi-aspect-ratio-fill:before{content:""}.bi-aspect-ratio:before{content:""}.bi-asterisk:before{content:""}.bi-at:before{content:""}.bi-award-fill:before{content:""}.bi-award:before{content:""}.bi-back:before{content:""}.bi-backspace-fill:before{content:""}.bi-backspace-reverse-fill:before{content:""}.bi-backspace-reverse:before{content:""}.bi-backspace:before{content:""}.bi-badge-3d-fill:before{content:""}.bi-badge-3d:before{content:""}.bi-badge-4k-fill:before{content:""}.bi-badge-4k:before{content:""}.bi-badge-8k-fill:before{content:""}.bi-badge-8k:before{content:""}.bi-badge-ad-fill:before{content:""}.bi-badge-ad:before{content:""}.bi-badge-ar-fill:before{content:""}.bi-badge-ar:before{content:""}.bi-badge-cc-fill:before{content:""}.bi-badge-cc:before{content:""}.bi-badge-hd-fill:before{content:""}.bi-badge-hd:before{content:""}.bi-badge-tm-fill:before{content:""}.bi-badge-tm:before{content:""}.bi-badge-vo-fill:before{content:""}.bi-badge-vo:before{content:""}.bi-badge-vr-fill:before{content:""}.bi-badge-vr:before{content:""}.bi-badge-wc-fill:before{content:""}.bi-badge-wc:before{content:""}.bi-bag-check-fill:before{content:""}.bi-bag-check:before{content:""}.bi-bag-dash-fill:before{content:""}.bi-bag-dash:before{content:""}.bi-bag-fill:before{content:""}.bi-bag-plus-fill:before{content:""}.bi-bag-plus:before{content:""}.bi-bag-x-fill:before{content:""}.bi-bag-x:before{content:""}.bi-bag:before{content:""}.bi-bar-chart-fill:before{content:""}.bi-bar-chart-line-fill:before{content:""}.bi-bar-chart-line:before{content:""}.bi-bar-chart-steps:before{content:""}.bi-bar-chart:before{content:""}.bi-basket-fill:before{content:""}.bi-basket:before{content:""}.bi-basket2-fill:before{content:""}.bi-basket2:before{content:""}.bi-basket3-fill:before{content:""}.bi-basket3:before{content:""}.bi-battery-charging:before{content:""}.bi-battery-full:before{content:""}.bi-battery-half:before{content:""}.bi-battery:before{content:""}.bi-bell-fill:before{content:""}.bi-bell:before{content:""}.bi-bezier:before{content:""}.bi-bezier2:before{content:""}.bi-bicycle:before{content:""}.bi-binoculars-fill:before{content:""}.bi-binoculars:before{content:""}.bi-blockquote-left:before{content:""}.bi-blockquote-right:before{content:""}.bi-book-fill:before{content:""}.bi-book-half:before{content:""}.bi-book:before{content:""}.bi-bookmark-check-fill:before{content:""}.bi-bookmark-check:before{content:""}.bi-bookmark-dash-fill:before{content:""}.bi-bookmark-dash:before{content:""}.bi-bookmark-fill:before{content:""}.bi-bookmark-heart-fill:before{content:""}.bi-bookmark-heart:before{content:""}.bi-bookmark-plus-fill:before{content:""}.bi-bookmark-plus:before{content:""}.bi-bookmark-star-fill:before{content:""}.bi-bookmark-star:before{content:""}.bi-bookmark-x-fill:before{content:""}.bi-bookmark-x:before{content:""}.bi-bookmark:before{content:""}.bi-bookmarks-fill:before{content:""}.bi-bookmarks:before{content:""}.bi-bookshelf:before{content:""}.bi-bootstrap-fill:before{content:""}.bi-bootstrap-reboot:before{content:""}.bi-bootstrap:before{content:""}.bi-border-all:before{content:""}.bi-border-bottom:before{content:""}.bi-border-center:before{content:""}.bi-border-inner:before{content:""}.bi-border-left:before{content:""}.bi-border-middle:before{content:""}.bi-border-outer:before{content:""}.bi-border-right:before{content:""}.bi-border-style:before{content:""}.bi-border-top:before{content:""}.bi-border-width:before{content:""}.bi-border:before{content:""}.bi-bounding-box-circles:before{content:""}.bi-bounding-box:before{content:""}.bi-box-arrow-down-left:before{content:""}.bi-box-arrow-down-right:before{content:""}.bi-box-arrow-down:before{content:""}.bi-box-arrow-in-down-left:before{content:""}.bi-box-arrow-in-down-right:before{content:""}.bi-box-arrow-in-down:before{content:""}.bi-box-arrow-in-left:before{content:""}.bi-box-arrow-in-right:before{content:""}.bi-box-arrow-in-up-left:before{content:""}.bi-box-arrow-in-up-right:before{content:""}.bi-box-arrow-in-up:before{content:""}.bi-box-arrow-left:before{content:""}.bi-box-arrow-right:before{content:""}.bi-box-arrow-up-left:before{content:""}.bi-box-arrow-up-right:before{content:""}.bi-box-arrow-up:before{content:""}.bi-box-seam:before{content:""}.bi-box:before{content:""}.bi-braces:before{content:""}.bi-bricks:before{content:""}.bi-briefcase-fill:before{content:""}.bi-briefcase:before{content:""}.bi-brightness-alt-high-fill:before{content:""}.bi-brightness-alt-high:before{content:""}.bi-brightness-alt-low-fill:before{content:""}.bi-brightness-alt-low:before{content:""}.bi-brightness-high-fill:before{content:""}.bi-brightness-high:before{content:""}.bi-brightness-low-fill:before{content:""}.bi-brightness-low:before{content:""}.bi-broadcast-pin:before{content:""}.bi-broadcast:before{content:""}.bi-brush-fill:before{content:""}.bi-brush:before{content:""}.bi-bucket-fill:before{content:""}.bi-bucket:before{content:""}.bi-bug-fill:before{content:""}.bi-bug:before{content:""}.bi-building:before{content:""}.bi-bullseye:before{content:""}.bi-calculator-fill:before{content:""}.bi-calculator:before{content:""}.bi-calendar-check-fill:before{content:""}.bi-calendar-check:before{content:""}.bi-calendar-date-fill:before{content:""}.bi-calendar-date:before{content:""}.bi-calendar-day-fill:before{content:""}.bi-calendar-day:before{content:""}.bi-calendar-event-fill:before{content:""}.bi-calendar-event:before{content:""}.bi-calendar-fill:before{content:""}.bi-calendar-minus-fill:before{content:""}.bi-calendar-minus:before{content:""}.bi-calendar-month-fill:before{content:""}.bi-calendar-month:before{content:""}.bi-calendar-plus-fill:before{content:""}.bi-calendar-plus:before{content:""}.bi-calendar-range-fill:before{content:""}.bi-calendar-range:before{content:""}.bi-calendar-week-fill:before{content:""}.bi-calendar-week:before{content:""}.bi-calendar-x-fill:before{content:""}.bi-calendar-x:before{content:""}.bi-calendar:before{content:""}.bi-calendar2-check-fill:before{content:""}.bi-calendar2-check:before{content:""}.bi-calendar2-date-fill:before{content:""}.bi-calendar2-date:before{content:""}.bi-calendar2-day-fill:before{content:""}.bi-calendar2-day:before{content:""}.bi-calendar2-event-fill:before{content:""}.bi-calendar2-event:before{content:""}.bi-calendar2-fill:before{content:""}.bi-calendar2-minus-fill:before{content:""}.bi-calendar2-minus:before{content:""}.bi-calendar2-month-fill:before{content:""}.bi-calendar2-month:before{content:""}.bi-calendar2-plus-fill:before{content:""}.bi-calendar2-plus:before{content:""}.bi-calendar2-range-fill:before{content:""}.bi-calendar2-range:before{content:""}.bi-calendar2-week-fill:before{content:""}.bi-calendar2-week:before{content:""}.bi-calendar2-x-fill:before{content:""}.bi-calendar2-x:before{content:""}.bi-calendar2:before{content:""}.bi-calendar3-event-fill:before{content:""}.bi-calendar3-event:before{content:""}.bi-calendar3-fill:before{content:""}.bi-calendar3-range-fill:before{content:""}.bi-calendar3-range:before{content:""}.bi-calendar3-week-fill:before{content:""}.bi-calendar3-week:before{content:""}.bi-calendar3:before{content:""}.bi-calendar4-event:before{content:""}.bi-calendar4-range:before{content:""}.bi-calendar4-week:before{content:""}.bi-calendar4:before{content:""}.bi-camera-fill:before{content:""}.bi-camera-reels-fill:before{content:""}.bi-camera-reels:before{content:""}.bi-camera-video-fill:before{content:""}.bi-camera-video-off-fill:before{content:""}.bi-camera-video-off:before{content:""}.bi-camera-video:before{content:""}.bi-camera:before{content:""}.bi-camera2:before{content:""}.bi-capslock-fill:before{content:""}.bi-capslock:before{content:""}.bi-card-checklist:before{content:""}.bi-card-heading:before{content:""}.bi-card-image:before{content:""}.bi-card-list:before{content:""}.bi-card-text:before{content:""}.bi-caret-down-fill:before{content:""}.bi-caret-down-square-fill:before{content:""}.bi-caret-down-square:before{content:""}.bi-caret-down:before{content:""}.bi-caret-left-fill:before{content:""}.bi-caret-left-square-fill:before{content:""}.bi-caret-left-square:before{content:""}.bi-caret-left:before{content:""}.bi-caret-right-fill:before{content:""}.bi-caret-right-square-fill:before{content:""}.bi-caret-right-square:before{content:""}.bi-caret-right:before{content:""}.bi-caret-up-fill:before{content:""}.bi-caret-up-square-fill:before{content:""}.bi-caret-up-square:before{content:""}.bi-caret-up:before{content:""}.bi-cart-check-fill:before{content:""}.bi-cart-check:before{content:""}.bi-cart-dash-fill:before{content:""}.bi-cart-dash:before{content:""}.bi-cart-fill:before{content:""}.bi-cart-plus-fill:before{content:""}.bi-cart-plus:before{content:""}.bi-cart-x-fill:before{content:""}.bi-cart-x:before{content:""}.bi-cart:before{content:""}.bi-cart2:before{content:""}.bi-cart3:before{content:""}.bi-cart4:before{content:""}.bi-cash-stack:before{content:""}.bi-cash:before{content:""}.bi-cast:before{content:""}.bi-chat-dots-fill:before{content:""}.bi-chat-dots:before{content:""}.bi-chat-fill:before{content:""}.bi-chat-left-dots-fill:before{content:""}.bi-chat-left-dots:before{content:""}.bi-chat-left-fill:before{content:""}.bi-chat-left-quote-fill:before{content:""}.bi-chat-left-quote:before{content:""}.bi-chat-left-text-fill:before{content:""}.bi-chat-left-text:before{content:""}.bi-chat-left:before{content:""}.bi-chat-quote-fill:before{content:""}.bi-chat-quote:before{content:""}.bi-chat-right-dots-fill:before{content:""}.bi-chat-right-dots:before{content:""}.bi-chat-right-fill:before{content:""}.bi-chat-right-quote-fill:before{content:""}.bi-chat-right-quote:before{content:""}.bi-chat-right-text-fill:before{content:""}.bi-chat-right-text:before{content:""}.bi-chat-right:before{content:""}.bi-chat-square-dots-fill:before{content:""}.bi-chat-square-dots:before{content:""}.bi-chat-square-fill:before{content:""}.bi-chat-square-quote-fill:before{content:""}.bi-chat-square-quote:before{content:""}.bi-chat-square-text-fill:before{content:""}.bi-chat-square-text:before{content:""}.bi-chat-square:before{content:""}.bi-chat-text-fill:before{content:""}.bi-chat-text:before{content:""}.bi-chat:before{content:""}.bi-check-all:before{content:""}.bi-check-circle-fill:before{content:""}.bi-check-circle:before{content:""}.bi-check-square-fill:before{content:""}.bi-check-square:before{content:""}.bi-check:before{content:""}.bi-check2-all:before{content:""}.bi-check2-circle:before{content:""}.bi-check2-square:before{content:""}.bi-check2:before{content:""}.bi-chevron-bar-contract:before{content:""}.bi-chevron-bar-down:before{content:""}.bi-chevron-bar-expand:before{content:""}.bi-chevron-bar-left:before{content:""}.bi-chevron-bar-right:before{content:""}.bi-chevron-bar-up:before{content:""}.bi-chevron-compact-down:before{content:""}.bi-chevron-compact-left:before{content:""}.bi-chevron-compact-right:before{content:""}.bi-chevron-compact-up:before{content:""}.bi-chevron-contract:before{content:""}.bi-chevron-double-down:before{content:""}.bi-chevron-double-left:before{content:""}.bi-chevron-double-right:before{content:""}.bi-chevron-double-up:before{content:""}.bi-chevron-down:before{content:""}.bi-chevron-expand:before{content:""}.bi-chevron-left:before{content:""}.bi-chevron-right:before{content:""}.bi-chevron-up:before{content:""}.bi-circle-fill:before{content:""}.bi-circle-half:before{content:""}.bi-circle-square:before{content:""}.bi-circle:before{content:""}.bi-clipboard-check:before{content:""}.bi-clipboard-data:before{content:""}.bi-clipboard-minus:before{content:""}.bi-clipboard-plus:before{content:""}.bi-clipboard-x:before{content:""}.bi-clipboard:before{content:""}.bi-clock-fill:before{content:""}.bi-clock-history:before{content:""}.bi-clock:before{content:""}.bi-cloud-arrow-down-fill:before{content:""}.bi-cloud-arrow-down:before{content:""}.bi-cloud-arrow-up-fill:before{content:""}.bi-cloud-arrow-up:before{content:""}.bi-cloud-check-fill:before{content:""}.bi-cloud-check:before{content:""}.bi-cloud-download-fill:before{content:""}.bi-cloud-download:before{content:""}.bi-cloud-drizzle-fill:before{content:""}.bi-cloud-drizzle:before{content:""}.bi-cloud-fill:before{content:""}.bi-cloud-fog-fill:before{content:""}.bi-cloud-fog:before{content:""}.bi-cloud-fog2-fill:before{content:""}.bi-cloud-fog2:before{content:""}.bi-cloud-hail-fill:before{content:""}.bi-cloud-hail:before{content:""}.bi-cloud-haze-fill:before{content:""}.bi-cloud-haze:before{content:""}.bi-cloud-haze2-fill:before{content:""}.bi-cloud-lightning-fill:before{content:""}.bi-cloud-lightning-rain-fill:before{content:""}.bi-cloud-lightning-rain:before{content:""}.bi-cloud-lightning:before{content:""}.bi-cloud-minus-fill:before{content:""}.bi-cloud-minus:before{content:""}.bi-cloud-moon-fill:before{content:""}.bi-cloud-moon:before{content:""}.bi-cloud-plus-fill:before{content:""}.bi-cloud-plus:before{content:""}.bi-cloud-rain-fill:before{content:""}.bi-cloud-rain-heavy-fill:before{content:""}.bi-cloud-rain-heavy:before{content:""}.bi-cloud-rain:before{content:""}.bi-cloud-slash-fill:before{content:""}.bi-cloud-slash:before{content:""}.bi-cloud-sleet-fill:before{content:""}.bi-cloud-sleet:before{content:""}.bi-cloud-snow-fill:before{content:""}.bi-cloud-snow:before{content:""}.bi-cloud-sun-fill:before{content:""}.bi-cloud-sun:before{content:""}.bi-cloud-upload-fill:before{content:""}.bi-cloud-upload:before{content:""}.bi-cloud:before{content:""}.bi-clouds-fill:before{content:""}.bi-clouds:before{content:""}.bi-cloudy-fill:before{content:""}.bi-cloudy:before{content:""}.bi-code-slash:before{content:""}.bi-code-square:before{content:""}.bi-code:before{content:""}.bi-collection-fill:before{content:""}.bi-collection-play-fill:before{content:""}.bi-collection-play:before{content:""}.bi-collection:before{content:""}.bi-columns-gap:before{content:""}.bi-columns:before{content:""}.bi-command:before{content:""}.bi-compass-fill:before{content:""}.bi-compass:before{content:""}.bi-cone-striped:before{content:""}.bi-cone:before{content:""}.bi-controller:before{content:""}.bi-cpu-fill:before{content:""}.bi-cpu:before{content:""}.bi-credit-card-2-back-fill:before{content:""}.bi-credit-card-2-back:before{content:""}.bi-credit-card-2-front-fill:before{content:""}.bi-credit-card-2-front:before{content:""}.bi-credit-card-fill:before{content:""}.bi-credit-card:before{content:""}.bi-crop:before{content:""}.bi-cup-fill:before{content:""}.bi-cup-straw:before{content:""}.bi-cup:before{content:""}.bi-cursor-fill:before{content:""}.bi-cursor-text:before{content:""}.bi-cursor:before{content:""}.bi-dash-circle-dotted:before{content:""}.bi-dash-circle-fill:before{content:""}.bi-dash-circle:before{content:""}.bi-dash-square-dotted:before{content:""}.bi-dash-square-fill:before{content:""}.bi-dash-square:before{content:""}.bi-dash:before{content:""}.bi-diagram-2-fill:before{content:""}.bi-diagram-2:before{content:""}.bi-diagram-3-fill:before{content:""}.bi-diagram-3:before{content:""}.bi-diamond-fill:before{content:""}.bi-diamond-half:before{content:""}.bi-diamond:before{content:""}.bi-dice-1-fill:before{content:""}.bi-dice-1:before{content:""}.bi-dice-2-fill:before{content:""}.bi-dice-2:before{content:""}.bi-dice-3-fill:before{content:""}.bi-dice-3:before{content:""}.bi-dice-4-fill:before{content:""}.bi-dice-4:before{content:""}.bi-dice-5-fill:before{content:""}.bi-dice-5:before{content:""}.bi-dice-6-fill:before{content:""}.bi-dice-6:before{content:""}.bi-disc-fill:before{content:""}.bi-disc:before{content:""}.bi-discord:before{content:""}.bi-display-fill:before{content:""}.bi-display:before{content:""}.bi-distribute-horizontal:before{content:""}.bi-distribute-vertical:before{content:""}.bi-door-closed-fill:before{content:""}.bi-door-closed:before{content:""}.bi-door-open-fill:before{content:""}.bi-door-open:before{content:""}.bi-dot:before{content:""}.bi-download:before{content:""}.bi-droplet-fill:before{content:""}.bi-droplet-half:before{content:""}.bi-droplet:before{content:""}.bi-earbuds:before{content:""}.bi-easel-fill:before{content:""}.bi-easel:before{content:""}.bi-egg-fill:before{content:""}.bi-egg-fried:before{content:""}.bi-egg:before{content:""}.bi-eject-fill:before{content:""}.bi-eject:before{content:""}.bi-emoji-angry-fill:before{content:""}.bi-emoji-angry:before{content:""}.bi-emoji-dizzy-fill:before{content:""}.bi-emoji-dizzy:before{content:""}.bi-emoji-expressionless-fill:before{content:""}.bi-emoji-expressionless:before{content:""}.bi-emoji-frown-fill:before{content:""}.bi-emoji-frown:before{content:""}.bi-emoji-heart-eyes-fill:before{content:""}.bi-emoji-heart-eyes:before{content:""}.bi-emoji-laughing-fill:before{content:""}.bi-emoji-laughing:before{content:""}.bi-emoji-neutral-fill:before{content:""}.bi-emoji-neutral:before{content:""}.bi-emoji-smile-fill:before{content:""}.bi-emoji-smile-upside-down-fill:before{content:""}.bi-emoji-smile-upside-down:before{content:""}.bi-emoji-smile:before{content:""}.bi-emoji-sunglasses-fill:before{content:""}.bi-emoji-sunglasses:before{content:""}.bi-emoji-wink-fill:before{content:""}.bi-emoji-wink:before{content:""}.bi-envelope-fill:before{content:""}.bi-envelope-open-fill:before{content:""}.bi-envelope-open:before{content:""}.bi-envelope:before{content:""}.bi-eraser-fill:before{content:""}.bi-eraser:before{content:""}.bi-exclamation-circle-fill:before{content:""}.bi-exclamation-circle:before{content:""}.bi-exclamation-diamond-fill:before{content:""}.bi-exclamation-diamond:before{content:""}.bi-exclamation-octagon-fill:before{content:""}.bi-exclamation-octagon:before{content:""}.bi-exclamation-square-fill:before{content:""}.bi-exclamation-square:before{content:""}.bi-exclamation-triangle-fill:before{content:""}.bi-exclamation-triangle:before{content:""}.bi-exclamation:before{content:""}.bi-exclude:before{content:""}.bi-eye-fill:before{content:""}.bi-eye-slash-fill:before{content:""}.bi-eye-slash:before{content:""}.bi-eye:before{content:""}.bi-eyedropper:before{content:""}.bi-eyeglasses:before{content:""}.bi-facebook:before{content:""}.bi-file-arrow-down-fill:before{content:""}.bi-file-arrow-down:before{content:""}.bi-file-arrow-up-fill:before{content:""}.bi-file-arrow-up:before{content:""}.bi-file-bar-graph-fill:before{content:""}.bi-file-bar-graph:before{content:""}.bi-file-binary-fill:before{content:""}.bi-file-binary:before{content:""}.bi-file-break-fill:before{content:""}.bi-file-break:before{content:""}.bi-file-check-fill:before{content:""}.bi-file-check:before{content:""}.bi-file-code-fill:before{content:""}.bi-file-code:before{content:""}.bi-file-diff-fill:before{content:""}.bi-file-diff:before{content:""}.bi-file-earmark-arrow-down-fill:before{content:""}.bi-file-earmark-arrow-down:before{content:""}.bi-file-earmark-arrow-up-fill:before{content:""}.bi-file-earmark-arrow-up:before{content:""}.bi-file-earmark-bar-graph-fill:before{content:""}.bi-file-earmark-bar-graph:before{content:""}.bi-file-earmark-binary-fill:before{content:""}.bi-file-earmark-binary:before{content:""}.bi-file-earmark-break-fill:before{content:""}.bi-file-earmark-break:before{content:""}.bi-file-earmark-check-fill:before{content:""}.bi-file-earmark-check:before{content:""}.bi-file-earmark-code-fill:before{content:""}.bi-file-earmark-code:before{content:""}.bi-file-earmark-diff-fill:before{content:""}.bi-file-earmark-diff:before{content:""}.bi-file-earmark-easel-fill:before{content:""}.bi-file-earmark-easel:before{content:""}.bi-file-earmark-excel-fill:before{content:""}.bi-file-earmark-excel:before{content:""}.bi-file-earmark-fill:before{content:""}.bi-file-earmark-font-fill:before{content:""}.bi-file-earmark-font:before{content:""}.bi-file-earmark-image-fill:before{content:""}.bi-file-earmark-image:before{content:""}.bi-file-earmark-lock-fill:before{content:""}.bi-file-earmark-lock:before{content:""}.bi-file-earmark-lock2-fill:before{content:""}.bi-file-earmark-lock2:before{content:""}.bi-file-earmark-medical-fill:before{content:""}.bi-file-earmark-medical:before{content:""}.bi-file-earmark-minus-fill:before{content:""}.bi-file-earmark-minus:before{content:""}.bi-file-earmark-music-fill:before{content:""}.bi-file-earmark-music:before{content:""}.bi-file-earmark-person-fill:before{content:""}.bi-file-earmark-person:before{content:""}.bi-file-earmark-play-fill:before{content:""}.bi-file-earmark-play:before{content:""}.bi-file-earmark-plus-fill:before{content:""}.bi-file-earmark-plus:before{content:""}.bi-file-earmark-post-fill:before{content:""}.bi-file-earmark-post:before{content:""}.bi-file-earmark-ppt-fill:before{content:""}.bi-file-earmark-ppt:before{content:""}.bi-file-earmark-richtext-fill:before{content:""}.bi-file-earmark-richtext:before{content:""}.bi-file-earmark-ruled-fill:before{content:""}.bi-file-earmark-ruled:before{content:""}.bi-file-earmark-slides-fill:before{content:""}.bi-file-earmark-slides:before{content:""}.bi-file-earmark-spreadsheet-fill:before{content:""}.bi-file-earmark-spreadsheet:before{content:""}.bi-file-earmark-text-fill:before{content:""}.bi-file-earmark-text:before{content:""}.bi-file-earmark-word-fill:before{content:""}.bi-file-earmark-word:before{content:""}.bi-file-earmark-x-fill:before{content:""}.bi-file-earmark-x:before{content:""}.bi-file-earmark-zip-fill:before{content:""}.bi-file-earmark-zip:before{content:""}.bi-file-earmark:before{content:""}.bi-file-easel-fill:before{content:""}.bi-file-easel:before{content:""}.bi-file-excel-fill:before{content:""}.bi-file-excel:before{content:""}.bi-file-fill:before{content:""}.bi-file-font-fill:before{content:""}.bi-file-font:before{content:""}.bi-file-image-fill:before{content:""}.bi-file-image:before{content:""}.bi-file-lock-fill:before{content:""}.bi-file-lock:before{content:""}.bi-file-lock2-fill:before{content:""}.bi-file-lock2:before{content:""}.bi-file-medical-fill:before{content:""}.bi-file-medical:before{content:""}.bi-file-minus-fill:before{content:""}.bi-file-minus:before{content:""}.bi-file-music-fill:before{content:""}.bi-file-music:before{content:""}.bi-file-person-fill:before{content:""}.bi-file-person:before{content:""}.bi-file-play-fill:before{content:""}.bi-file-play:before{content:""}.bi-file-plus-fill:before{content:""}.bi-file-plus:before{content:""}.bi-file-post-fill:before{content:""}.bi-file-post:before{content:""}.bi-file-ppt-fill:before{content:""}.bi-file-ppt:before{content:""}.bi-file-richtext-fill:before{content:""}.bi-file-richtext:before{content:""}.bi-file-ruled-fill:before{content:""}.bi-file-ruled:before{content:""}.bi-file-slides-fill:before{content:""}.bi-file-slides:before{content:""}.bi-file-spreadsheet-fill:before{content:""}.bi-file-spreadsheet:before{content:""}.bi-file-text-fill:before{content:""}.bi-file-text:before{content:""}.bi-file-word-fill:before{content:""}.bi-file-word:before{content:""}.bi-file-x-fill:before{content:""}.bi-file-x:before{content:""}.bi-file-zip-fill:before{content:""}.bi-file-zip:before{content:""}.bi-file:before{content:""}.bi-files-alt:before{content:""}.bi-files:before{content:""}.bi-film:before{content:""}.bi-filter-circle-fill:before{content:""}.bi-filter-circle:before{content:""}.bi-filter-left:before{content:""}.bi-filter-right:before{content:""}.bi-filter-square-fill:before{content:""}.bi-filter-square:before{content:""}.bi-filter:before{content:""}.bi-flag-fill:before{content:""}.bi-flag:before{content:""}.bi-flower1:before{content:""}.bi-flower2:before{content:""}.bi-flower3:before{content:""}.bi-folder-check:before{content:""}.bi-folder-fill:before{content:""}.bi-folder-minus:before{content:""}.bi-folder-plus:before{content:""}.bi-folder-symlink-fill:before{content:""}.bi-folder-symlink:before{content:""}.bi-folder-x:before{content:""}.bi-folder:before{content:""}.bi-folder2-open:before{content:""}.bi-folder2:before{content:""}.bi-fonts:before{content:""}.bi-forward-fill:before{content:""}.bi-forward:before{content:""}.bi-front:before{content:""}.bi-fullscreen-exit:before{content:""}.bi-fullscreen:before{content:""}.bi-funnel-fill:before{content:""}.bi-funnel:before{content:""}.bi-gear-fill:before{content:""}.bi-gear-wide-connected:before{content:""}.bi-gear-wide:before{content:""}.bi-gear:before{content:""}.bi-gem:before{content:""}.bi-geo-alt-fill:before{content:""}.bi-geo-alt:before{content:""}.bi-geo-fill:before{content:""}.bi-geo:before{content:""}.bi-gift-fill:before{content:""}.bi-gift:before{content:""}.bi-github:before{content:""}.bi-globe:before{content:""}.bi-globe2:before{content:""}.bi-google:before{content:""}.bi-graph-down:before{content:""}.bi-graph-up:before{content:""}.bi-grid-1x2-fill:before{content:""}.bi-grid-1x2:before{content:""}.bi-grid-3x2-gap-fill:before{content:""}.bi-grid-3x2-gap:before{content:""}.bi-grid-3x2:before{content:""}.bi-grid-3x3-gap-fill:before{content:""}.bi-grid-3x3-gap:before{content:""}.bi-grid-3x3:before{content:""}.bi-grid-fill:before{content:""}.bi-grid:before{content:""}.bi-grip-horizontal:before{content:""}.bi-grip-vertical:before{content:""}.bi-hammer:before{content:""}.bi-hand-index-fill:before{content:""}.bi-hand-index-thumb-fill:before{content:""}.bi-hand-index-thumb:before{content:""}.bi-hand-index:before{content:""}.bi-hand-thumbs-down-fill:before{content:""}.bi-hand-thumbs-down:before{content:""}.bi-hand-thumbs-up-fill:before{content:""}.bi-hand-thumbs-up:before{content:""}.bi-handbag-fill:before{content:""}.bi-handbag:before{content:""}.bi-hash:before{content:""}.bi-hdd-fill:before{content:""}.bi-hdd-network-fill:before{content:""}.bi-hdd-network:before{content:""}.bi-hdd-rack-fill:before{content:""}.bi-hdd-rack:before{content:""}.bi-hdd-stack-fill:before{content:""}.bi-hdd-stack:before{content:""}.bi-hdd:before{content:""}.bi-headphones:before{content:""}.bi-headset:before{content:""}.bi-heart-fill:before{content:""}.bi-heart-half:before{content:""}.bi-heart:before{content:""}.bi-heptagon-fill:before{content:""}.bi-heptagon-half:before{content:""}.bi-heptagon:before{content:""}.bi-hexagon-fill:before{content:""}.bi-hexagon-half:before{content:""}.bi-hexagon:before{content:""}.bi-hourglass-bottom:before{content:""}.bi-hourglass-split:before{content:""}.bi-hourglass-top:before{content:""}.bi-hourglass:before{content:""}.bi-house-door-fill:before{content:""}.bi-house-door:before{content:""}.bi-house-fill:before{content:""}.bi-house:before{content:""}.bi-hr:before{content:""}.bi-hurricane:before{content:""}.bi-image-alt:before{content:""}.bi-image-fill:before{content:""}.bi-image:before{content:""}.bi-images:before{content:""}.bi-inbox-fill:before{content:""}.bi-inbox:before{content:""}.bi-inboxes-fill:before{content:""}.bi-inboxes:before{content:""}.bi-info-circle-fill:before{content:""}.bi-info-circle:before{content:""}.bi-info-square-fill:before{content:""}.bi-info-square:before{content:""}.bi-info:before{content:""}.bi-input-cursor-text:before{content:""}.bi-input-cursor:before{content:""}.bi-instagram:before{content:""}.bi-intersect:before{content:""}.bi-journal-album:before{content:""}.bi-journal-arrow-down:before{content:""}.bi-journal-arrow-up:before{content:""}.bi-journal-bookmark-fill:before{content:""}.bi-journal-bookmark:before{content:""}.bi-journal-check:before{content:""}.bi-journal-code:before{content:""}.bi-journal-medical:before{content:""}.bi-journal-minus:before{content:""}.bi-journal-plus:before{content:""}.bi-journal-richtext:before{content:""}.bi-journal-text:before{content:""}.bi-journal-x:before{content:""}.bi-journal:before{content:""}.bi-journals:before{content:""}.bi-joystick:before{content:""}.bi-justify-left:before{content:""}.bi-justify-right:before{content:""}.bi-justify:before{content:""}.bi-kanban-fill:before{content:""}.bi-kanban:before{content:""}.bi-key-fill:before{content:""}.bi-key:before{content:""}.bi-keyboard-fill:before{content:""}.bi-keyboard:before{content:""}.bi-ladder:before{content:""}.bi-lamp-fill:before{content:""}.bi-lamp:before{content:""}.bi-laptop-fill:before{content:""}.bi-laptop:before{content:""}.bi-layer-backward:before{content:""}.bi-layer-forward:before{content:""}.bi-layers-fill:before{content:""}.bi-layers-half:before{content:""}.bi-layers:before{content:""}.bi-layout-sidebar-inset-reverse:before{content:""}.bi-layout-sidebar-inset:before{content:""}.bi-layout-sidebar-reverse:before{content:""}.bi-layout-sidebar:before{content:""}.bi-layout-split:before{content:""}.bi-layout-text-sidebar-reverse:before{content:""}.bi-layout-text-sidebar:before{content:""}.bi-layout-text-window-reverse:before{content:""}.bi-layout-text-window:before{content:""}.bi-layout-three-columns:before{content:""}.bi-layout-wtf:before{content:""}.bi-life-preserver:before{content:""}.bi-lightbulb-fill:before{content:""}.bi-lightbulb-off-fill:before{content:""}.bi-lightbulb-off:before{content:""}.bi-lightbulb:before{content:""}.bi-lightning-charge-fill:before{content:""}.bi-lightning-charge:before{content:""}.bi-lightning-fill:before{content:""}.bi-lightning:before{content:""}.bi-link-45deg:before{content:""}.bi-link:before{content:""}.bi-linkedin:before{content:""}.bi-list-check:before{content:""}.bi-list-nested:before{content:""}.bi-list-ol:before{content:""}.bi-list-stars:before{content:""}.bi-list-task:before{content:""}.bi-list-ul:before{content:""}.bi-list:before{content:""}.bi-lock-fill:before{content:""}.bi-lock:before{content:""}.bi-mailbox:before{content:""}.bi-mailbox2:before{content:""}.bi-map-fill:before{content:""}.bi-map:before{content:""}.bi-markdown-fill:before{content:""}.bi-markdown:before{content:""}.bi-mask:before{content:""}.bi-megaphone-fill:before{content:""}.bi-megaphone:before{content:""}.bi-menu-app-fill:before{content:""}.bi-menu-app:before{content:""}.bi-menu-button-fill:before{content:""}.bi-menu-button-wide-fill:before{content:""}.bi-menu-button-wide:before{content:""}.bi-menu-button:before{content:""}.bi-menu-down:before{content:""}.bi-menu-up:before{content:""}.bi-mic-fill:before{content:""}.bi-mic-mute-fill:before{content:""}.bi-mic-mute:before{content:""}.bi-mic:before{content:""}.bi-minecart-loaded:before{content:""}.bi-minecart:before{content:""}.bi-moisture:before{content:""}.bi-moon-fill:before{content:""}.bi-moon-stars-fill:before{content:""}.bi-moon-stars:before{content:""}.bi-moon:before{content:""}.bi-mouse-fill:before{content:""}.bi-mouse:before{content:""}.bi-mouse2-fill:before{content:""}.bi-mouse2:before{content:""}.bi-mouse3-fill:before{content:""}.bi-mouse3:before{content:""}.bi-music-note-beamed:before{content:""}.bi-music-note-list:before{content:""}.bi-music-note:before{content:""}.bi-music-player-fill:before{content:""}.bi-music-player:before{content:""}.bi-newspaper:before{content:""}.bi-node-minus-fill:before{content:""}.bi-node-minus:before{content:""}.bi-node-plus-fill:before{content:""}.bi-node-plus:before{content:""}.bi-nut-fill:before{content:""}.bi-nut:before{content:""}.bi-octagon-fill:before{content:""}.bi-octagon-half:before{content:""}.bi-octagon:before{content:""}.bi-option:before{content:""}.bi-outlet:before{content:""}.bi-paint-bucket:before{content:""}.bi-palette-fill:before{content:""}.bi-palette:before{content:""}.bi-palette2:before{content:""}.bi-paperclip:before{content:""}.bi-paragraph:before{content:""}.bi-patch-check-fill:before{content:""}.bi-patch-check:before{content:""}.bi-patch-exclamation-fill:before{content:""}.bi-patch-exclamation:before{content:""}.bi-patch-minus-fill:before{content:""}.bi-patch-minus:before{content:""}.bi-patch-plus-fill:before{content:""}.bi-patch-plus:before{content:""}.bi-patch-question-fill:before{content:""}.bi-patch-question:before{content:""}.bi-pause-btn-fill:before{content:""}.bi-pause-btn:before{content:""}.bi-pause-circle-fill:before{content:""}.bi-pause-circle:before{content:""}.bi-pause-fill:before{content:""}.bi-pause:before{content:""}.bi-peace-fill:before{content:""}.bi-peace:before{content:""}.bi-pen-fill:before{content:""}.bi-pen:before{content:""}.bi-pencil-fill:before{content:""}.bi-pencil-square:before{content:""}.bi-pencil:before{content:""}.bi-pentagon-fill:before{content:""}.bi-pentagon-half:before{content:""}.bi-pentagon:before{content:""}.bi-people-fill:before{content:""}.bi-people:before{content:""}.bi-percent:before{content:""}.bi-person-badge-fill:before{content:""}.bi-person-badge:before{content:""}.bi-person-bounding-box:before{content:""}.bi-person-check-fill:before{content:""}.bi-person-check:before{content:""}.bi-person-circle:before{content:""}.bi-person-dash-fill:before{content:""}.bi-person-dash:before{content:""}.bi-person-fill:before{content:""}.bi-person-lines-fill:before{content:""}.bi-person-plus-fill:before{content:""}.bi-person-plus:before{content:""}.bi-person-square:before{content:""}.bi-person-x-fill:before{content:""}.bi-person-x:before{content:""}.bi-person:before{content:""}.bi-phone-fill:before{content:""}.bi-phone-landscape-fill:before{content:""}.bi-phone-landscape:before{content:""}.bi-phone-vibrate-fill:before{content:""}.bi-phone-vibrate:before{content:""}.bi-phone:before{content:""}.bi-pie-chart-fill:before{content:""}.bi-pie-chart:before{content:""}.bi-pin-angle-fill:before{content:""}.bi-pin-angle:before{content:""}.bi-pin-fill:before{content:""}.bi-pin:before{content:""}.bi-pip-fill:before{content:""}.bi-pip:before{content:""}.bi-play-btn-fill:before{content:""}.bi-play-btn:before{content:""}.bi-play-circle-fill:before{content:""}.bi-play-circle:before{content:""}.bi-play-fill:before{content:""}.bi-play:before{content:""}.bi-plug-fill:before{content:""}.bi-plug:before{content:""}.bi-plus-circle-dotted:before{content:""}.bi-plus-circle-fill:before{content:""}.bi-plus-circle:before{content:""}.bi-plus-square-dotted:before{content:""}.bi-plus-square-fill:before{content:""}.bi-plus-square:before{content:""}.bi-plus:before{content:""}.bi-power:before{content:""}.bi-printer-fill:before{content:""}.bi-printer:before{content:""}.bi-puzzle-fill:before{content:""}.bi-puzzle:before{content:""}.bi-question-circle-fill:before{content:""}.bi-question-circle:before{content:""}.bi-question-diamond-fill:before{content:""}.bi-question-diamond:before{content:""}.bi-question-octagon-fill:before{content:""}.bi-question-octagon:before{content:""}.bi-question-square-fill:before{content:""}.bi-question-square:before{content:""}.bi-question:before{content:""}.bi-rainbow:before{content:""}.bi-receipt-cutoff:before{content:""}.bi-receipt:before{content:""}.bi-reception-0:before{content:""}.bi-reception-1:before{content:""}.bi-reception-2:before{content:""}.bi-reception-3:before{content:""}.bi-reception-4:before{content:""}.bi-record-btn-fill:before{content:""}.bi-record-btn:before{content:""}.bi-record-circle-fill:before{content:""}.bi-record-circle:before{content:""}.bi-record-fill:before{content:""}.bi-record:before{content:""}.bi-record2-fill:before{content:""}.bi-record2:before{content:""}.bi-reply-all-fill:before{content:""}.bi-reply-all:before{content:""}.bi-reply-fill:before{content:""}.bi-reply:before{content:""}.bi-rss-fill:before{content:""}.bi-rss:before{content:""}.bi-rulers:before{content:""}.bi-save-fill:before{content:""}.bi-save:before{content:""}.bi-save2-fill:before{content:""}.bi-save2:before{content:""}.bi-scissors:before{content:""}.bi-screwdriver:before{content:""}.bi-search:before{content:""}.bi-segmented-nav:before{content:""}.bi-server:before{content:""}.bi-share-fill:before{content:""}.bi-share:before{content:""}.bi-shield-check:before{content:""}.bi-shield-exclamation:before{content:""}.bi-shield-fill-check:before{content:""}.bi-shield-fill-exclamation:before{content:""}.bi-shield-fill-minus:before{content:""}.bi-shield-fill-plus:before{content:""}.bi-shield-fill-x:before{content:""}.bi-shield-fill:before{content:""}.bi-shield-lock-fill:before{content:""}.bi-shield-lock:before{content:""}.bi-shield-minus:before{content:""}.bi-shield-plus:before{content:""}.bi-shield-shaded:before{content:""}.bi-shield-slash-fill:before{content:""}.bi-shield-slash:before{content:""}.bi-shield-x:before{content:""}.bi-shield:before{content:""}.bi-shift-fill:before{content:""}.bi-shift:before{content:""}.bi-shop-window:before{content:""}.bi-shop:before{content:""}.bi-shuffle:before{content:""}.bi-signpost-2-fill:before{content:""}.bi-signpost-2:before{content:""}.bi-signpost-fill:before{content:""}.bi-signpost-split-fill:before{content:""}.bi-signpost-split:before{content:""}.bi-signpost:before{content:""}.bi-sim-fill:before{content:""}.bi-sim:before{content:""}.bi-skip-backward-btn-fill:before{content:""}.bi-skip-backward-btn:before{content:""}.bi-skip-backward-circle-fill:before{content:""}.bi-skip-backward-circle:before{content:""}.bi-skip-backward-fill:before{content:""}.bi-skip-backward:before{content:""}.bi-skip-end-btn-fill:before{content:""}.bi-skip-end-btn:before{content:""}.bi-skip-end-circle-fill:before{content:""}.bi-skip-end-circle:before{content:""}.bi-skip-end-fill:before{content:""}.bi-skip-end:before{content:""}.bi-skip-forward-btn-fill:before{content:""}.bi-skip-forward-btn:before{content:""}.bi-skip-forward-circle-fill:before{content:""}.bi-skip-forward-circle:before{content:""}.bi-skip-forward-fill:before{content:""}.bi-skip-forward:before{content:""}.bi-skip-start-btn-fill:before{content:""}.bi-skip-start-btn:before{content:""}.bi-skip-start-circle-fill:before{content:""}.bi-skip-start-circle:before{content:""}.bi-skip-start-fill:before{content:""}.bi-skip-start:before{content:""}.bi-slack:before{content:""}.bi-slash-circle-fill:before{content:""}.bi-slash-circle:before{content:""}.bi-slash-square-fill:before{content:""}.bi-slash-square:before{content:""}.bi-slash:before{content:""}.bi-sliders:before{content:""}.bi-smartwatch:before{content:""}.bi-snow:before{content:""}.bi-snow2:before{content:""}.bi-snow3:before{content:""}.bi-sort-alpha-down-alt:before{content:""}.bi-sort-alpha-down:before{content:""}.bi-sort-alpha-up-alt:before{content:""}.bi-sort-alpha-up:before{content:""}.bi-sort-down-alt:before{content:""}.bi-sort-down:before{content:""}.bi-sort-numeric-down-alt:before{content:""}.bi-sort-numeric-down:before{content:""}.bi-sort-numeric-up-alt:before{content:""}.bi-sort-numeric-up:before{content:""}.bi-sort-up-alt:before{content:""}.bi-sort-up:before{content:""}.bi-soundwave:before{content:""}.bi-speaker-fill:before{content:""}.bi-speaker:before{content:""}.bi-speedometer:before{content:""}.bi-speedometer2:before{content:""}.bi-spellcheck:before{content:""}.bi-square-fill:before{content:""}.bi-square-half:before{content:""}.bi-square:before{content:""}.bi-stack:before{content:""}.bi-star-fill:before{content:""}.bi-star-half:before{content:""}.bi-star:before{content:""}.bi-stars:before{content:""}.bi-stickies-fill:before{content:""}.bi-stickies:before{content:""}.bi-sticky-fill:before{content:""}.bi-sticky:before{content:""}.bi-stop-btn-fill:before{content:""}.bi-stop-btn:before{content:""}.bi-stop-circle-fill:before{content:""}.bi-stop-circle:before{content:""}.bi-stop-fill:before{content:""}.bi-stop:before{content:""}.bi-stoplights-fill:before{content:""}.bi-stoplights:before{content:""}.bi-stopwatch-fill:before{content:""}.bi-stopwatch:before{content:""}.bi-subtract:before{content:""}.bi-suit-club-fill:before{content:""}.bi-suit-club:before{content:""}.bi-suit-diamond-fill:before{content:""}.bi-suit-diamond:before{content:""}.bi-suit-heart-fill:before{content:""}.bi-suit-heart:before{content:""}.bi-suit-spade-fill:before{content:""}.bi-suit-spade:before{content:""}.bi-sun-fill:before{content:""}.bi-sun:before{content:""}.bi-sunglasses:before{content:""}.bi-sunrise-fill:before{content:""}.bi-sunrise:before{content:""}.bi-sunset-fill:before{content:""}.bi-sunset:before{content:""}.bi-symmetry-horizontal:before{content:""}.bi-symmetry-vertical:before{content:""}.bi-table:before{content:""}.bi-tablet-fill:before{content:""}.bi-tablet-landscape-fill:before{content:""}.bi-tablet-landscape:before{content:""}.bi-tablet:before{content:""}.bi-tag-fill:before{content:""}.bi-tag:before{content:""}.bi-tags-fill:before{content:""}.bi-tags:before{content:""}.bi-telegram:before{content:""}.bi-telephone-fill:before{content:""}.bi-telephone-forward-fill:before{content:""}.bi-telephone-forward:before{content:""}.bi-telephone-inbound-fill:before{content:""}.bi-telephone-inbound:before{content:""}.bi-telephone-minus-fill:before{content:""}.bi-telephone-minus:before{content:""}.bi-telephone-outbound-fill:before{content:""}.bi-telephone-outbound:before{content:""}.bi-telephone-plus-fill:before{content:""}.bi-telephone-plus:before{content:""}.bi-telephone-x-fill:before{content:""}.bi-telephone-x:before{content:""}.bi-telephone:before{content:""}.bi-terminal-fill:before{content:""}.bi-terminal:before{content:""}.bi-text-center:before{content:""}.bi-text-indent-left:before{content:""}.bi-text-indent-right:before{content:""}.bi-text-left:before{content:""}.bi-text-paragraph:before{content:""}.bi-text-right:before{content:""}.bi-textarea-resize:before{content:""}.bi-textarea-t:before{content:""}.bi-textarea:before{content:""}.bi-thermometer-half:before{content:""}.bi-thermometer-high:before{content:""}.bi-thermometer-low:before{content:""}.bi-thermometer-snow:before{content:""}.bi-thermometer-sun:before{content:""}.bi-thermometer:before{content:""}.bi-three-dots-vertical:before{content:""}.bi-three-dots:before{content:""}.bi-toggle-off:before{content:""}.bi-toggle-on:before{content:""}.bi-toggle2-off:before{content:""}.bi-toggle2-on:before{content:""}.bi-toggles:before{content:""}.bi-toggles2:before{content:""}.bi-tools:before{content:""}.bi-tornado:before{content:""}.bi-trash-fill:before{content:""}.bi-trash:before{content:""}.bi-trash2-fill:before{content:""}.bi-trash2:before{content:""}.bi-tree-fill:before{content:""}.bi-tree:before{content:""}.bi-triangle-fill:before{content:""}.bi-triangle-half:before{content:""}.bi-triangle:before{content:""}.bi-trophy-fill:before{content:""}.bi-trophy:before{content:""}.bi-tropical-storm:before{content:""}.bi-truck-flatbed:before{content:""}.bi-truck:before{content:""}.bi-tsunami:before{content:""}.bi-tv-fill:before{content:""}.bi-tv:before{content:""}.bi-twitch:before{content:""}.bi-twitter:before{content:""}.bi-type-bold:before{content:""}.bi-type-h1:before{content:""}.bi-type-h2:before{content:""}.bi-type-h3:before{content:""}.bi-type-italic:before{content:""}.bi-type-strikethrough:before{content:""}.bi-type-underline:before{content:""}.bi-type:before{content:""}.bi-ui-checks-grid:before{content:""}.bi-ui-checks:before{content:""}.bi-ui-radios-grid:before{content:""}.bi-ui-radios:before{content:""}.bi-umbrella-fill:before{content:""}.bi-umbrella:before{content:""}.bi-union:before{content:""}.bi-unlock-fill:before{content:""}.bi-unlock:before{content:""}.bi-upc-scan:before{content:""}.bi-upc:before{content:""}.bi-upload:before{content:""}.bi-vector-pen:before{content:""}.bi-view-list:before{content:""}.bi-view-stacked:before{content:""}.bi-vinyl-fill:before{content:""}.bi-vinyl:before{content:""}.bi-voicemail:before{content:""}.bi-volume-down-fill:before{content:""}.bi-volume-down:before{content:""}.bi-volume-mute-fill:before{content:""}.bi-volume-mute:before{content:""}.bi-volume-off-fill:before{content:""}.bi-volume-off:before{content:""}.bi-volume-up-fill:before{content:""}.bi-volume-up:before{content:""}.bi-vr:before{content:""}.bi-wallet-fill:before{content:""}.bi-wallet:before{content:""}.bi-wallet2:before{content:""}.bi-watch:before{content:""}.bi-water:before{content:""}.bi-whatsapp:before{content:""}.bi-wifi-1:before{content:""}.bi-wifi-2:before{content:""}.bi-wifi-off:before{content:""}.bi-wifi:before{content:""}.bi-wind:before{content:""}.bi-window-dock:before{content:""}.bi-window-sidebar:before{content:""}.bi-window:before{content:""}.bi-wrench:before{content:""}.bi-x-circle-fill:before{content:""}.bi-x-circle:before{content:""}.bi-x-diamond-fill:before{content:""}.bi-x-diamond:before{content:""}.bi-x-octagon-fill:before{content:""}.bi-x-octagon:before{content:""}.bi-x-square-fill:before{content:""}.bi-x-square:before{content:""}.bi-x:before{content:""}.bi-youtube:before{content:""}.bi-zoom-in:before{content:""}.bi-zoom-out:before{content:""}.bi-bank:before{content:""}.bi-bank2:before{content:""}.bi-bell-slash-fill:before{content:""}.bi-bell-slash:before{content:""}.bi-cash-coin:before{content:""}.bi-check-lg:before{content:""}.bi-coin:before{content:""}.bi-currency-bitcoin:before{content:""}.bi-currency-dollar:before{content:""}.bi-currency-euro:before{content:""}.bi-currency-exchange:before{content:""}.bi-currency-pound:before{content:""}.bi-currency-yen:before{content:""}.bi-dash-lg:before{content:""}.bi-exclamation-lg:before{content:""}.bi-file-earmark-pdf-fill:before{content:""}.bi-file-earmark-pdf:before{content:""}.bi-file-pdf-fill:before{content:""}.bi-file-pdf:before{content:""}.bi-gender-ambiguous:before{content:""}.bi-gender-female:before{content:""}.bi-gender-male:before{content:""}.bi-gender-trans:before{content:""}.bi-headset-vr:before{content:""}.bi-info-lg:before{content:""}.bi-mastodon:before{content:""}.bi-messenger:before{content:""}.bi-piggy-bank-fill:before{content:""}.bi-piggy-bank:before{content:""}.bi-pin-map-fill:before{content:""}.bi-pin-map:before{content:""}.bi-plus-lg:before{content:""}.bi-question-lg:before{content:""}.bi-recycle:before{content:""}.bi-reddit:before{content:""}.bi-safe-fill:before{content:""}.bi-safe2-fill:before{content:""}.bi-safe2:before{content:""}.bi-sd-card-fill:before{content:""}.bi-sd-card:before{content:""}.bi-skype:before{content:""}.bi-slash-lg:before{content:""}.bi-translate:before{content:""}.bi-x-lg:before{content:""}.bi-safe:before{content:""}.bi-apple:before{content:""}.bi-microsoft:before{content:""}.bi-windows:before{content:""}.bi-behance:before{content:""}.bi-dribbble:before{content:""}.bi-line:before{content:""}.bi-medium:before{content:""}.bi-paypal:before{content:""}.bi-pinterest:before{content:""}.bi-signal:before{content:""}.bi-snapchat:before{content:""}.bi-spotify:before{content:""}.bi-stack-overflow:before{content:""}.bi-strava:before{content:""}.bi-wordpress:before{content:""}.bi-vimeo:before{content:""}.bi-activity:before{content:""}.bi-easel2-fill:before{content:""}.bi-easel2:before{content:""}.bi-easel3-fill:before{content:""}.bi-easel3:before{content:""}.bi-fan:before{content:""}.bi-fingerprint:before{content:""}.bi-graph-down-arrow:before{content:""}.bi-graph-up-arrow:before{content:""}.bi-hypnotize:before{content:""}.bi-magic:before{content:""}.bi-person-rolodex:before{content:""}.bi-person-video:before{content:""}.bi-person-video2:before{content:""}.bi-person-video3:before{content:""}.bi-person-workspace:before{content:""}.bi-radioactive:before{content:""}.bi-webcam-fill:before{content:""}.bi-webcam:before{content:""}.bi-yin-yang:before{content:""}.bi-bandaid-fill:before{content:""}.bi-bandaid:before{content:""}.bi-bluetooth:before{content:""}.bi-body-text:before{content:""}.bi-boombox:before{content:""}.bi-boxes:before{content:""}.bi-dpad-fill:before{content:""}.bi-dpad:before{content:""}.bi-ear-fill:before{content:""}.bi-ear:before{content:""}.bi-envelope-check-fill:before{content:""}.bi-envelope-check:before{content:""}.bi-envelope-dash-fill:before{content:""}.bi-envelope-dash:before{content:""}.bi-envelope-exclamation-fill:before{content:""}.bi-envelope-exclamation:before{content:""}.bi-envelope-plus-fill:before{content:""}.bi-envelope-plus:before{content:""}.bi-envelope-slash-fill:before{content:""}.bi-envelope-slash:before{content:""}.bi-envelope-x-fill:before{content:""}.bi-envelope-x:before{content:""}.bi-explicit-fill:before{content:""}.bi-explicit:before{content:""}.bi-git:before{content:""}.bi-infinity:before{content:""}.bi-list-columns-reverse:before{content:""}.bi-list-columns:before{content:""}.bi-meta:before{content:""}.bi-nintendo-switch:before{content:""}.bi-pc-display-horizontal:before{content:""}.bi-pc-display:before{content:""}.bi-pc-horizontal:before{content:""}.bi-pc:before{content:""}.bi-playstation:before{content:""}.bi-plus-slash-minus:before{content:""}.bi-projector-fill:before{content:""}.bi-projector:before{content:""}.bi-qr-code-scan:before{content:""}.bi-qr-code:before{content:""}.bi-quora:before{content:""}.bi-quote:before{content:""}.bi-robot:before{content:""}.bi-send-check-fill:before{content:""}.bi-send-check:before{content:""}.bi-send-dash-fill:before{content:""}.bi-send-dash:before{content:""}.bi-send-exclamation-fill:before{content:""}.bi-send-exclamation:before{content:""}.bi-send-fill:before{content:""}.bi-send-plus-fill:before{content:""}.bi-send-plus:before{content:""}.bi-send-slash-fill:before{content:""}.bi-send-slash:before{content:""}.bi-send-x-fill:before{content:""}.bi-send-x:before{content:""}.bi-send:before{content:""}.bi-steam:before{content:""}.bi-terminal-dash:before{content:""}.bi-terminal-plus:before{content:""}.bi-terminal-split:before{content:""}.bi-ticket-detailed-fill:before{content:""}.bi-ticket-detailed:before{content:""}.bi-ticket-fill:before{content:""}.bi-ticket-perforated-fill:before{content:""}.bi-ticket-perforated:before{content:""}.bi-ticket:before{content:""}.bi-tiktok:before{content:""}.bi-window-dash:before{content:""}.bi-window-desktop:before{content:""}.bi-window-fullscreen:before{content:""}.bi-window-plus:before{content:""}.bi-window-split:before{content:""}.bi-window-stack:before{content:""}.bi-window-x:before{content:""}.bi-xbox:before{content:""}.bi-ethernet:before{content:""}.bi-hdmi-fill:before{content:""}.bi-hdmi:before{content:""}.bi-usb-c-fill:before{content:""}.bi-usb-c:before{content:""}.bi-usb-fill:before{content:""}.bi-usb-plug-fill:before{content:""}.bi-usb-plug:before{content:""}.bi-usb-symbol:before{content:""}.bi-usb:before{content:""}.bi-boombox-fill:before{content:""}.bi-displayport:before{content:""}.bi-gpu-card:before{content:""}.bi-memory:before{content:""}.bi-modem-fill:before{content:""}.bi-modem:before{content:""}.bi-motherboard-fill:before{content:""}.bi-motherboard:before{content:""}.bi-optical-audio-fill:before{content:""}.bi-optical-audio:before{content:""}.bi-pci-card:before{content:""}.bi-router-fill:before{content:""}.bi-router:before{content:""}.bi-thunderbolt-fill:before{content:""}.bi-thunderbolt:before{content:""}.bi-usb-drive-fill:before{content:""}.bi-usb-drive:before{content:""}.bi-usb-micro-fill:before{content:""}.bi-usb-micro:before{content:""}.bi-usb-mini-fill:before{content:""}.bi-usb-mini:before{content:""}.bi-cloud-haze2:before{content:""}.bi-device-hdd-fill:before{content:""}.bi-device-hdd:before{content:""}.bi-device-ssd-fill:before{content:""}.bi-device-ssd:before{content:""}.bi-displayport-fill:before{content:""}.bi-mortarboard-fill:before{content:""}.bi-mortarboard:before{content:""}.bi-terminal-x:before{content:""}.bi-arrow-through-heart-fill:before{content:""}.bi-arrow-through-heart:before{content:""}.bi-badge-sd-fill:before{content:""}.bi-badge-sd:before{content:""}.bi-bag-heart-fill:before{content:""}.bi-bag-heart:before{content:""}.bi-balloon-fill:before{content:""}.bi-balloon-heart-fill:before{content:""}.bi-balloon-heart:before{content:""}.bi-balloon:before{content:""}.bi-box2-fill:before{content:""}.bi-box2-heart-fill:before{content:""}.bi-box2-heart:before{content:""}.bi-box2:before{content:""}.bi-braces-asterisk:before{content:""}.bi-calendar-heart-fill:before{content:""}.bi-calendar-heart:before{content:""}.bi-calendar2-heart-fill:before{content:""}.bi-calendar2-heart:before{content:""}.bi-chat-heart-fill:before{content:""}.bi-chat-heart:before{content:""}.bi-chat-left-heart-fill:before{content:""}.bi-chat-left-heart:before{content:""}.bi-chat-right-heart-fill:before{content:""}.bi-chat-right-heart:before{content:""}.bi-chat-square-heart-fill:before{content:""}.bi-chat-square-heart:before{content:""}.bi-clipboard-check-fill:before{content:""}.bi-clipboard-data-fill:before{content:""}.bi-clipboard-fill:before{content:""}.bi-clipboard-heart-fill:before{content:""}.bi-clipboard-heart:before{content:""}.bi-clipboard-minus-fill:before{content:""}.bi-clipboard-plus-fill:before{content:""}.bi-clipboard-pulse:before{content:""}.bi-clipboard-x-fill:before{content:""}.bi-clipboard2-check-fill:before{content:""}.bi-clipboard2-check:before{content:""}.bi-clipboard2-data-fill:before{content:""}.bi-clipboard2-data:before{content:""}.bi-clipboard2-fill:before{content:""}.bi-clipboard2-heart-fill:before{content:""}.bi-clipboard2-heart:before{content:""}.bi-clipboard2-minus-fill:before{content:""}.bi-clipboard2-minus:before{content:""}.bi-clipboard2-plus-fill:before{content:""}.bi-clipboard2-plus:before{content:""}.bi-clipboard2-pulse-fill:before{content:""}.bi-clipboard2-pulse:before{content:""}.bi-clipboard2-x-fill:before{content:""}.bi-clipboard2-x:before{content:""}.bi-clipboard2:before{content:""}.bi-emoji-kiss-fill:before{content:""}.bi-emoji-kiss:before{content:""}.bi-envelope-heart-fill:before{content:""}.bi-envelope-heart:before{content:""}.bi-envelope-open-heart-fill:before{content:""}.bi-envelope-open-heart:before{content:""}.bi-envelope-paper-fill:before{content:""}.bi-envelope-paper-heart-fill:before{content:""}.bi-envelope-paper-heart:before{content:""}.bi-envelope-paper:before{content:""}.bi-filetype-aac:before{content:""}.bi-filetype-ai:before{content:""}.bi-filetype-bmp:before{content:""}.bi-filetype-cs:before{content:""}.bi-filetype-css:before{content:""}.bi-filetype-csv:before{content:""}.bi-filetype-doc:before{content:""}.bi-filetype-docx:before{content:""}.bi-filetype-exe:before{content:""}.bi-filetype-gif:before{content:""}.bi-filetype-heic:before{content:""}.bi-filetype-html:before{content:""}.bi-filetype-java:before{content:""}.bi-filetype-jpg:before{content:""}.bi-filetype-js:before{content:""}.bi-filetype-jsx:before{content:""}.bi-filetype-key:before{content:""}.bi-filetype-m4p:before{content:""}.bi-filetype-md:before{content:""}.bi-filetype-mdx:before{content:""}.bi-filetype-mov:before{content:""}.bi-filetype-mp3:before{content:""}.bi-filetype-mp4:before{content:""}.bi-filetype-otf:before{content:""}.bi-filetype-pdf:before{content:""}.bi-filetype-php:before{content:""}.bi-filetype-png:before{content:""}.bi-filetype-ppt:before{content:""}.bi-filetype-psd:before{content:""}.bi-filetype-py:before{content:""}.bi-filetype-raw:before{content:""}.bi-filetype-rb:before{content:""}.bi-filetype-sass:before{content:""}.bi-filetype-scss:before{content:""}.bi-filetype-sh:before{content:""}.bi-filetype-svg:before{content:""}.bi-filetype-tiff:before{content:""}.bi-filetype-tsx:before{content:""}.bi-filetype-ttf:before{content:""}.bi-filetype-txt:before{content:""}.bi-filetype-wav:before{content:""}.bi-filetype-woff:before{content:""}.bi-filetype-xls:before{content:""}.bi-filetype-xml:before{content:""}.bi-filetype-yml:before{content:""}.bi-heart-arrow:before{content:""}.bi-heart-pulse-fill:before{content:""}.bi-heart-pulse:before{content:""}.bi-heartbreak-fill:before{content:""}.bi-heartbreak:before{content:""}.bi-hearts:before{content:""}.bi-hospital-fill:before{content:""}.bi-hospital:before{content:""}.bi-house-heart-fill:before{content:""}.bi-house-heart:before{content:""}.bi-incognito:before{content:""}.bi-magnet-fill:before{content:""}.bi-magnet:before{content:""}.bi-person-heart:before{content:""}.bi-person-hearts:before{content:""}.bi-phone-flip:before{content:""}.bi-plugin:before{content:""}.bi-postage-fill:before{content:""}.bi-postage-heart-fill:before{content:""}.bi-postage-heart:before{content:""}.bi-postage:before{content:""}.bi-postcard-fill:before{content:""}.bi-postcard-heart-fill:before{content:""}.bi-postcard-heart:before{content:""}.bi-postcard:before{content:""}.bi-search-heart-fill:before{content:""}.bi-search-heart:before{content:""}.bi-sliders2-vertical:before{content:""}.bi-sliders2:before{content:""}.bi-trash3-fill:before{content:""}.bi-trash3:before{content:""}.bi-valentine:before{content:""}.bi-valentine2:before{content:""}.bi-wrench-adjustable-circle-fill:before{content:""}.bi-wrench-adjustable-circle:before{content:""}.bi-wrench-adjustable:before{content:""}.bi-filetype-json:before{content:""}.bi-filetype-pptx:before{content:""}.bi-filetype-xlsx:before{content:""}.bi-1-circle-fill:before{content:""}.bi-1-circle:before{content:""}.bi-1-square-fill:before{content:""}.bi-1-square:before{content:""}.bi-2-circle-fill:before{content:""}.bi-2-circle:before{content:""}.bi-2-square-fill:before{content:""}.bi-2-square:before{content:""}.bi-3-circle-fill:before{content:""}.bi-3-circle:before{content:""}.bi-3-square-fill:before{content:""}.bi-3-square:before{content:""}.bi-4-circle-fill:before{content:""}.bi-4-circle:before{content:""}.bi-4-square-fill:before{content:""}.bi-4-square:before{content:""}.bi-5-circle-fill:before{content:""}.bi-5-circle:before{content:""}.bi-5-square-fill:before{content:""}.bi-5-square:before{content:""}.bi-6-circle-fill:before{content:""}.bi-6-circle:before{content:""}.bi-6-square-fill:before{content:""}.bi-6-square:before{content:""}.bi-7-circle-fill:before{content:""}.bi-7-circle:before{content:""}.bi-7-square-fill:before{content:""}.bi-7-square:before{content:""}.bi-8-circle-fill:before{content:""}.bi-8-circle:before{content:""}.bi-8-square-fill:before{content:""}.bi-8-square:before{content:""}.bi-9-circle-fill:before{content:""}.bi-9-circle:before{content:""}.bi-9-square-fill:before{content:""}.bi-9-square:before{content:""}.bi-airplane-engines-fill:before{content:""}.bi-airplane-engines:before{content:""}.bi-airplane-fill:before{content:""}.bi-airplane:before{content:""}.bi-alexa:before{content:""}.bi-alipay:before{content:""}.bi-android:before{content:""}.bi-android2:before{content:""}.bi-box-fill:before{content:""}.bi-box-seam-fill:before{content:""}.bi-browser-chrome:before{content:""}.bi-browser-edge:before{content:""}.bi-browser-firefox:before{content:""}.bi-browser-safari:before{content:""}.bi-c-circle-fill:before{content:""}.bi-c-circle:before{content:""}.bi-c-square-fill:before{content:""}.bi-c-square:before{content:""}.bi-capsule-pill:before{content:""}.bi-capsule:before{content:""}.bi-car-front-fill:before{content:""}.bi-car-front:before{content:""}.bi-cassette-fill:before{content:""}.bi-cassette:before{content:""}.bi-cc-circle-fill:before{content:""}.bi-cc-circle:before{content:""}.bi-cc-square-fill:before{content:""}.bi-cc-square:before{content:""}.bi-cup-hot-fill:before{content:""}.bi-cup-hot:before{content:""}.bi-currency-rupee:before{content:""}.bi-dropbox:before{content:""}.bi-escape:before{content:""}.bi-fast-forward-btn-fill:before{content:""}.bi-fast-forward-btn:before{content:""}.bi-fast-forward-circle-fill:before{content:""}.bi-fast-forward-circle:before{content:""}.bi-fast-forward-fill:before{content:""}.bi-fast-forward:before{content:""}.bi-filetype-sql:before{content:""}.bi-fire:before{content:""}.bi-google-play:before{content:""}.bi-h-circle-fill:before{content:""}.bi-h-circle:before{content:""}.bi-h-square-fill:before{content:""}.bi-h-square:before{content:""}.bi-indent:before{content:""}.bi-lungs-fill:before{content:""}.bi-lungs:before{content:""}.bi-microsoft-teams:before{content:""}.bi-p-circle-fill:before{content:""}.bi-p-circle:before{content:""}.bi-p-square-fill:before{content:""}.bi-p-square:before{content:""}.bi-pass-fill:before{content:""}.bi-pass:before{content:""}.bi-prescription:before{content:""}.bi-prescription2:before{content:""}.bi-r-circle-fill:before{content:""}.bi-r-circle:before{content:""}.bi-r-square-fill:before{content:""}.bi-r-square:before{content:""}.bi-repeat-1:before{content:""}.bi-repeat:before{content:""}.bi-rewind-btn-fill:before{content:""}.bi-rewind-btn:before{content:""}.bi-rewind-circle-fill:before{content:""}.bi-rewind-circle:before{content:""}.bi-rewind-fill:before{content:""}.bi-rewind:before{content:""}.bi-train-freight-front-fill:before{content:""}.bi-train-freight-front:before{content:""}.bi-train-front-fill:before{content:""}.bi-train-front:before{content:""}.bi-train-lightrail-front-fill:before{content:""}.bi-train-lightrail-front:before{content:""}.bi-truck-front-fill:before{content:""}.bi-truck-front:before{content:""}.bi-ubuntu:before{content:""}.bi-unindent:before{content:""}.bi-unity:before{content:""}.bi-universal-access-circle:before{content:""}.bi-universal-access:before{content:""}.bi-virus:before{content:""}.bi-virus2:before{content:""}.bi-wechat:before{content:""}.bi-yelp:before{content:""}.bi-sign-stop-fill:before{content:""}.bi-sign-stop-lights-fill:before{content:""}.bi-sign-stop-lights:before{content:""}.bi-sign-stop:before{content:""}.bi-sign-turn-left-fill:before{content:""}.bi-sign-turn-left:before{content:""}.bi-sign-turn-right-fill:before{content:""}.bi-sign-turn-right:before{content:""}.bi-sign-turn-slight-left-fill:before{content:""}.bi-sign-turn-slight-left:before{content:""}.bi-sign-turn-slight-right-fill:before{content:""}.bi-sign-turn-slight-right:before{content:""}.bi-sign-yield-fill:before{content:""}.bi-sign-yield:before{content:""}.bi-ev-station-fill:before{content:""}.bi-ev-station:before{content:""}.bi-fuel-pump-diesel-fill:before{content:""}.bi-fuel-pump-diesel:before{content:""}.bi-fuel-pump-fill:before{content:""}.bi-fuel-pump:before{content:""}.bi-0-circle-fill:before{content:""}.bi-0-circle:before{content:""}.bi-0-square-fill:before{content:""}.bi-0-square:before{content:""}.bi-rocket-fill:before{content:""}.bi-rocket-takeoff-fill:before{content:""}.bi-rocket-takeoff:before{content:""}.bi-rocket:before{content:""}.bi-stripe:before{content:""}.bi-subscript:before{content:""}.bi-superscript:before{content:""}.bi-trello:before{content:""}.bi-envelope-at-fill:before{content:""}.bi-envelope-at:before{content:""}.bi-regex:before{content:""}.bi-text-wrap:before{content:""}.bi-sign-dead-end-fill:before{content:""}.bi-sign-dead-end:before{content:""}.bi-sign-do-not-enter-fill:before{content:""}.bi-sign-do-not-enter:before{content:""}.bi-sign-intersection-fill:before{content:""}.bi-sign-intersection-side-fill:before{content:""}.bi-sign-intersection-side:before{content:""}.bi-sign-intersection-t-fill:before{content:""}.bi-sign-intersection-t:before{content:""}.bi-sign-intersection-y-fill:before{content:""}.bi-sign-intersection-y:before{content:""}.bi-sign-intersection:before{content:""}.bi-sign-merge-left-fill:before{content:""}.bi-sign-merge-left:before{content:""}.bi-sign-merge-right-fill:before{content:""}.bi-sign-merge-right:before{content:""}.bi-sign-no-left-turn-fill:before{content:""}.bi-sign-no-left-turn:before{content:""}.bi-sign-no-parking-fill:before{content:""}.bi-sign-no-parking:before{content:""}.bi-sign-no-right-turn-fill:before{content:""}.bi-sign-no-right-turn:before{content:""}.bi-sign-railroad-fill:before{content:""}.bi-sign-railroad:before{content:""}.bi-building-add:before{content:""}.bi-building-check:before{content:""}.bi-building-dash:before{content:""}.bi-building-down:before{content:""}.bi-building-exclamation:before{content:""}.bi-building-fill-add:before{content:""}.bi-building-fill-check:before{content:""}.bi-building-fill-dash:before{content:""}.bi-building-fill-down:before{content:""}.bi-building-fill-exclamation:before{content:""}.bi-building-fill-gear:before{content:""}.bi-building-fill-lock:before{content:""}.bi-building-fill-slash:before{content:""}.bi-building-fill-up:before{content:""}.bi-building-fill-x:before{content:""}.bi-building-fill:before{content:""}.bi-building-gear:before{content:""}.bi-building-lock:before{content:""}.bi-building-slash:before{content:""}.bi-building-up:before{content:""}.bi-building-x:before{content:""}.bi-buildings-fill:before{content:""}.bi-buildings:before{content:""}.bi-bus-front-fill:before{content:""}.bi-bus-front:before{content:""}.bi-ev-front-fill:before{content:""}.bi-ev-front:before{content:""}.bi-globe-americas:before{content:""}.bi-globe-asia-australia:before{content:""}.bi-globe-central-south-asia:before{content:""}.bi-globe-europe-africa:before{content:""}.bi-house-add-fill:before{content:""}.bi-house-add:before{content:""}.bi-house-check-fill:before{content:""}.bi-house-check:before{content:""}.bi-house-dash-fill:before{content:""}.bi-house-dash:before{content:""}.bi-house-down-fill:before{content:""}.bi-house-down:before{content:""}.bi-house-exclamation-fill:before{content:""}.bi-house-exclamation:before{content:""}.bi-house-gear-fill:before{content:""}.bi-house-gear:before{content:""}.bi-house-lock-fill:before{content:""}.bi-house-lock:before{content:""}.bi-house-slash-fill:before{content:""}.bi-house-slash:before{content:""}.bi-house-up-fill:before{content:""}.bi-house-up:before{content:""}.bi-house-x-fill:before{content:""}.bi-house-x:before{content:""}.bi-person-add:before{content:""}.bi-person-down:before{content:""}.bi-person-exclamation:before{content:""}.bi-person-fill-add:before{content:""}.bi-person-fill-check:before{content:""}.bi-person-fill-dash:before{content:""}.bi-person-fill-down:before{content:""}.bi-person-fill-exclamation:before{content:""}.bi-person-fill-gear:before{content:""}.bi-person-fill-lock:before{content:""}.bi-person-fill-slash:before{content:""}.bi-person-fill-up:before{content:""}.bi-person-fill-x:before{content:""}.bi-person-gear:before{content:""}.bi-person-lock:before{content:""}.bi-person-slash:before{content:""}.bi-person-up:before{content:""}.bi-scooter:before{content:""}.bi-taxi-front-fill:before{content:""}.bi-taxi-front:before{content:""}.bi-amd:before{content:""}.bi-database-add:before{content:""}.bi-database-check:before{content:""}.bi-database-dash:before{content:""}.bi-database-down:before{content:""}.bi-database-exclamation:before{content:""}.bi-database-fill-add:before{content:""}.bi-database-fill-check:before{content:""}.bi-database-fill-dash:before{content:""}.bi-database-fill-down:before{content:""}.bi-database-fill-exclamation:before{content:""}.bi-database-fill-gear:before{content:""}.bi-database-fill-lock:before{content:""}.bi-database-fill-slash:before{content:""}.bi-database-fill-up:before{content:""}.bi-database-fill-x:before{content:""}.bi-database-fill:before{content:""}.bi-database-gear:before{content:""}.bi-database-lock:before{content:""}.bi-database-slash:before{content:""}.bi-database-up:before{content:""}.bi-database-x:before{content:""}.bi-database:before{content:""}.bi-houses-fill:before{content:""}.bi-houses:before{content:""}.bi-nvidia:before{content:""}.bi-person-vcard-fill:before{content:""}.bi-person-vcard:before{content:""}.bi-sina-weibo:before{content:""}.bi-tencent-qq:before{content:""}.bi-wikipedia:before{content:""}.bi-alphabet-uppercase:before{content:""}.bi-alphabet:before{content:""}.bi-amazon:before{content:""}.bi-arrows-collapse-vertical:before{content:""}.bi-arrows-expand-vertical:before{content:""}.bi-arrows-vertical:before{content:""}.bi-arrows:before{content:""}.bi-ban-fill:before{content:""}.bi-ban:before{content:""}.bi-bing:before{content:""}.bi-cake:before{content:""}.bi-cake2:before{content:""}.bi-cookie:before{content:""}.bi-copy:before{content:""}.bi-crosshair:before{content:""}.bi-crosshair2:before{content:""}.bi-emoji-astonished-fill:before{content:""}.bi-emoji-astonished:before{content:""}.bi-emoji-grimace-fill:before{content:""}.bi-emoji-grimace:before{content:""}.bi-emoji-grin-fill:before{content:""}.bi-emoji-grin:before{content:""}.bi-emoji-surprise-fill:before{content:""}.bi-emoji-surprise:before{content:""}.bi-emoji-tear-fill:before{content:""}.bi-emoji-tear:before{content:""}.bi-envelope-arrow-down-fill:before{content:""}.bi-envelope-arrow-down:before{content:""}.bi-envelope-arrow-up-fill:before{content:""}.bi-envelope-arrow-up:before{content:""}.bi-feather:before{content:""}.bi-feather2:before{content:""}.bi-floppy-fill:before{content:""}.bi-floppy:before{content:""}.bi-floppy2-fill:before{content:""}.bi-floppy2:before{content:""}.bi-gitlab:before{content:""}.bi-highlighter:before{content:""}.bi-marker-tip:before{content:""}.bi-nvme-fill:before{content:""}.bi-nvme:before{content:""}.bi-opencollective:before{content:""}.bi-pci-card-network:before{content:""}.bi-pci-card-sound:before{content:""}.bi-radar:before{content:""}.bi-send-arrow-down-fill:before{content:""}.bi-send-arrow-down:before{content:""}.bi-send-arrow-up-fill:before{content:""}.bi-send-arrow-up:before{content:""}.bi-sim-slash-fill:before{content:""}.bi-sim-slash:before{content:""}.bi-sourceforge:before{content:""}.bi-substack:before{content:""}.bi-threads-fill:before{content:""}.bi-threads:before{content:""}.bi-transparency:before{content:""}.bi-twitter-x:before{content:""}.bi-type-h4:before{content:""}.bi-type-h5:before{content:""}.bi-type-h6:before{content:""}.bi-backpack-fill:before{content:""}.bi-backpack:before{content:""}.bi-backpack2-fill:before{content:""}.bi-backpack2:before{content:""}.bi-backpack3-fill:before{content:""}.bi-backpack3:before{content:""}.bi-backpack4-fill:before{content:""}.bi-backpack4:before{content:""}.bi-brilliance:before{content:""}.bi-cake-fill:before{content:""}.bi-cake2-fill:before{content:""}.bi-duffle-fill:before{content:""}.bi-duffle:before{content:""}.bi-exposure:before{content:""}.bi-gender-neuter:before{content:""}.bi-highlights:before{content:""}.bi-luggage-fill:before{content:""}.bi-luggage:before{content:""}.bi-mailbox-flag:before{content:""}.bi-mailbox2-flag:before{content:""}.bi-noise-reduction:before{content:""}.bi-passport-fill:before{content:""}.bi-passport:before{content:""}.bi-person-arms-up:before{content:""}.bi-person-raised-hand:before{content:""}.bi-person-standing-dress:before{content:""}.bi-person-standing:before{content:""}.bi-person-walking:before{content:""}.bi-person-wheelchair:before{content:""}.bi-shadows:before{content:""}.bi-suitcase-fill:before{content:""}.bi-suitcase-lg-fill:before{content:""}.bi-suitcase-lg:before{content:""}.bi-suitcase:before{content:"豈"}.bi-suitcase2-fill:before{content:"更"}.bi-suitcase2:before{content:"車"}.bi-vignette:before{content:"賈"}:root{--animate-duration:1s;--animate-delay:1s;--animate-repeat:1}.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.repeat-1{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-iteration-count:var(--animate-repeat);animation-iteration-count:var(--animate-repeat)}.animated.repeat-2{-webkit-animation-iteration-count:2;animation-iteration-count:2;-webkit-animation-iteration-count:calc(var(--animate-repeat)*2);animation-iteration-count:calc(var(--animate-repeat)*2)}.animated.repeat-3{-webkit-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-iteration-count:calc(var(--animate-repeat)*3);animation-iteration-count:calc(var(--animate-repeat)*3)}.animated.delay-1s{-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-delay:var(--animate-delay);animation-delay:var(--animate-delay)}.animated.delay-2s{-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-delay:calc(var(--animate-delay)*2);animation-delay:calc(var(--animate-delay)*2)}.animated.delay-3s{-webkit-animation-delay:3s;animation-delay:3s;-webkit-animation-delay:calc(var(--animate-delay)*3);animation-delay:calc(var(--animate-delay)*3)}.animated.delay-4s{-webkit-animation-delay:4s;animation-delay:4s;-webkit-animation-delay:calc(var(--animate-delay)*4);animation-delay:calc(var(--animate-delay)*4)}.animated.delay-5s{-webkit-animation-delay:5s;animation-delay:5s;-webkit-animation-delay:calc(var(--animate-delay)*5);animation-delay:calc(var(--animate-delay)*5)}.animated.faster{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-duration:calc(var(--animate-duration)/2);animation-duration:calc(var(--animate-duration)/2)}.animated.fast{-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-duration:calc(var(--animate-duration)*.8);animation-duration:calc(var(--animate-duration)*.8)}.animated.slow{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration)*2);animation-duration:calc(var(--animate-duration)*2)}.animated.slower{-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-duration:calc(var(--animate-duration)*3);animation-duration:calc(var(--animate-duration)*3)}@media (prefers-reduced-motion:reduce),print{.animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;-webkit-transition-duration:1ms!important;transition-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}.animated[class*=Out]{opacity:0}}@-webkit-keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}.bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes pulse{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes rubberBand{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes rubberBand{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shakeX{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shakeX{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.shakeX{-webkit-animation-name:shakeX;animation-name:shakeX}@-webkit-keyframes shakeY{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}@keyframes shakeY{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}.shakeY{-webkit-animation-name:shakeY;animation-name:shakeY}.headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headShake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0)}}@keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0)}}.swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate(-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes tada{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate(-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate(-5deg);transform:translate3d(-25%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate(3deg);transform:translate3d(20%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate(-3deg);transform:translate3d(-15%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate(2deg);transform:translate3d(10%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate(-1deg);transform:translate3d(-5%,0,0) rotate(-1deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate(-5deg);transform:translate3d(-25%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate(3deg);transform:translate3d(20%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate(-3deg);transform:translate3d(-15%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate(2deg);transform:translate3d(10%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate(-1deg);transform:translate3d(-5%,0,0) rotate(-1deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}.heartBeat{-webkit-animation-name:heartBeat;animation-name:heartBeat;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-duration:calc(var(--animate-duration)*1.3);animation-duration:calc(var(--animate-duration)*1.3);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInDown{-webkit-animation-name:backInDown;animation-name:backInDown}@-webkit-keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInLeft{-webkit-animation-name:backInLeft;animation-name:backInLeft}@-webkit-keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInRight{-webkit-animation-name:backInRight;animation-name:backInRight}@-webkit-keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInUp{-webkit-animation-name:backInUp;animation-name:backInUp}@-webkit-keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}.backOutDown{-webkit-animation-name:backOutDown;animation-name:backOutDown}@-webkit-keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}.backOutLeft{-webkit-animation-name:backOutLeft;animation-name:backOutLeft}@-webkit-keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}.backOutRight{-webkit-animation-name:backOutRight;animation-name:backOutRight}@-webkit-keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}.backOutUp{-webkit-animation-name:backOutUp;animation-name:backOutUp}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}}.bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}.bounceOut{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:bounceOut;animation-name:bounceOut}.bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}.bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}.bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}.bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInTopLeft{-webkit-animation-name:fadeInTopLeft;animation-name:fadeInTopLeft}@-webkit-keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInTopRight{-webkit-animation-name:fadeInTopRight;animation-name:fadeInTopRight}@-webkit-keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInBottomLeft{-webkit-animation-name:fadeInBottomLeft;animation-name:fadeInBottomLeft}@-webkit-keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInBottomRight{-webkit-animation-name:fadeInBottomRight;animation-name:fadeInBottomRight}.fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}.fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}.fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}.fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}.fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}.fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}.fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}.fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}.fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}.fadeOutTopLeft{-webkit-animation-name:fadeOutTopLeft;animation-name:fadeOutTopLeft}@-webkit-keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}.fadeOutTopRight{-webkit-animation-name:fadeOutTopRight;animation-name:fadeOutTopRight}@-webkit-keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}.fadeOutBottomRight{-webkit-animation-name:fadeOutBottomRight;animation-name:fadeOutBottomRight}@-webkit-keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}.fadeOutBottomLeft{-webkit-animation-name:fadeOutBottomLeft;animation-name:fadeOutBottomLeft}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animated.flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.flipOutX{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateY(-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateY(-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.lightSpeedInRight{-webkit-animation-name:lightSpeedInRight;animation-name:lightSpeedInRight;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.lightSpeedInLeft{-webkit-animation-name:lightSpeedInLeft;animation-name:lightSpeedInLeft;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}.lightSpeedOutRight{-webkit-animation-name:lightSpeedOutRight;animation-name:lightSpeedOutRight;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}.lightSpeedOutLeft{-webkit-animation-name:lightSpeedOutLeft;animation-name:lightSpeedOutLeft;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate(200deg);transform:rotate(200deg);opacity:0}}@keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate(200deg);transform:rotate(200deg);opacity:0}}.rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}.rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}.rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}.rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}.rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate(80deg);transform:rotate(80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate(80deg);transform:rotate(80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.hinge{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration)*2);animation-duration:calc(var(--animate-duration)*2);-webkit-animation-name:hinge;animation-name:hinge;-webkit-transform-origin:top left;transform-origin:top left}.jackInTheBox{-webkit-animation-name:jackInTheBox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate(-120deg);transform:translate3d(-100%,0,0) rotate(-120deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate(-120deg);transform:translate3d(-100%,0,0) rotate(-120deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate(120deg);transform:translate3d(100%,0,0) rotate(120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate(120deg);transform:translate3d(100%,0,0) rotate(120deg)}}.rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}.zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}.zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}.zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}.zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}.zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}.zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}.zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown;-webkit-transform-origin:center bottom;transform-origin:center bottom}.zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft;-webkit-transform-origin:left center;transform-origin:left center}.zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight;-webkit-transform-origin:right center;transform-origin:right center}.zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}.dp__input_wrap{position:relative;width:100%;box-sizing:unset}.dp__input_wrap:focus{border-color:var(--dp-border-color-hover);outline:none}.dp__input_valid{box-shadow:0 0 var(--dp-border-radius) var(--dp-success-color);border-color:var(--dp-success-color)}.dp__input_valid:hover{border-color:var(--dp-success-color)}.dp__input_invalid{box-shadow:0 0 var(--dp-border-radius) var(--dp-danger-color);border-color:var(--dp-danger-color)}.dp__input_invalid:hover{border-color:var(--dp-danger-color)}.dp__input{background-color:var(--dp-background-color);border-radius:var(--dp-border-radius);font-family:var(--dp-font-family);border:1px solid var(--dp-border-color);outline:none;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%;font-size:var(--dp-font-size);line-height:calc(var(--dp-font-size)*1.5);padding:var(--dp-input-padding);color:var(--dp-text-color);box-sizing:border-box}.dp__input::placeholder{opacity:.7}.dp__input:hover:not(.dp__input_focus){border-color:var(--dp-border-color-hover)}.dp__input_reg{caret-color:#0000}.dp__input_focus{border-color:var(--dp-border-color-focus)}.dp__disabled{background:var(--dp-disabled-color)}.dp__disabled::placeholder{color:var(--dp-disabled-color-text)}.dp__input_icons{display:inline-block;width:var(--dp-font-size);height:var(--dp-font-size);stroke-width:0;font-size:var(--dp-font-size);line-height:calc(var(--dp-font-size)*1.5);padding:6px 12px;color:var(--dp-icon-color);box-sizing:content-box}.dp__input_icon{cursor:pointer;position:absolute;top:50%;inset-inline-start:0;transform:translateY(-50%);color:var(--dp-icon-color)}.dp--clear-btn{position:absolute;top:50%;inset-inline-end:0;transform:translateY(-50%);cursor:pointer;color:var(--dp-icon-color);background:#0000;border:none;display:inline-flex;align-items:center;padding:0;margin:0}.dp__input_icon_pad{padding-inline-start:var(--dp-input-icon-padding)}.dp__menu{background:var(--dp-background-color);border-radius:var(--dp-border-radius);min-width:var(--dp-menu-min-width);font-family:var(--dp-font-family);font-size:var(--dp-font-size);user-select:none;border:1px solid var(--dp-menu-border-color);box-sizing:border-box}.dp__menu:after{box-sizing:border-box}.dp__menu:before{box-sizing:border-box}.dp__menu:focus{border:1px solid var(--dp-menu-border-color);outline:none}.dp--menu-wrapper{position:absolute;z-index:99999}.dp__menu_inner{padding:var(--dp-menu-padding)}.dp--menu--inner-stretched{padding:6px 0}.dp__menu_index{z-index:99999}.dp-menu-loading,.dp__menu_readonly,.dp__menu_disabled{position:absolute;inset:0;z-index:999999}.dp__menu_disabled{background:#ffffff80;cursor:not-allowed}.dp__menu_readonly{background:#0000;cursor:default}.dp-menu-loading{background:#ffffff80;cursor:default}.dp--menu-load-container{display:flex;height:100%;width:100%;justify-content:center;align-items:center}.dp--menu-loader{width:48px;height:48px;border:var(--dp-loader);border-bottom-color:#0000;border-radius:50%;display:inline-block;box-sizing:border-box;animation:dp-load-rotation 1s linear infinite;position:absolute}@keyframes dp-load-rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dp__arrow_top{left:var(--dp-arrow-left);top:0;height:12px;width:12px;background-color:var(--dp-background-color);position:absolute;border-inline-end:1px solid var(--dp-menu-border-color);border-top:1px solid var(--dp-menu-border-color);transform:translate(-50%,-50%) rotate(-45deg)}.dp__arrow_bottom{left:var(--dp-arrow-left);bottom:0;height:12px;width:12px;background-color:var(--dp-background-color);position:absolute;border-inline-end:1px solid var(--dp-menu-border-color);border-bottom:1px solid var(--dp-menu-border-color);transform:translate(-50%,50%) rotate(45deg)}.dp__action_extra{text-align:center;padding:2px 0}.dp--preset-dates{padding:5px;border-inline-end:1px solid var(--dp-border-color)}@media only screen and (width <= 600px){.dp--preset-dates{display:flex;align-self:center;border:none;overflow-x:auto;max-width:calc(var(--dp-menu-width) - var(--dp-action-row-padding)*2)}}.dp--preset-dates-collapsed{display:flex;align-self:center;border:none;overflow-x:auto;max-width:calc(var(--dp-menu-width) - var(--dp-action-row-padding)*2)}.dp__sidebar_left{padding:5px;border-inline-end:1px solid var(--dp-border-color)}.dp__sidebar_right{padding:5px;margin-inline-end:1px solid var(--dp-border-color)}.dp--preset-range{display:block;width:100%;padding:5px;text-align:left;white-space:nowrap;color:var(--dp-text-color);border-radius:var(--dp-border-radius);transition:var(--dp-common-transition)}.dp--preset-range:hover{background-color:var(--dp-hover-color);color:var(--dp-hover-text-color);cursor:pointer}@media only screen and (width <= 600px){.dp--preset-range{border:1px solid var(--dp-border-color);margin:0 3px}.dp--preset-range:first-child{margin-left:0}.dp--preset-range:last-child{margin-right:0}}.dp--preset-range-collapsed{border:1px solid var(--dp-border-color);margin:0 3px}.dp--preset-range-collapsed:first-child{margin-left:0}.dp--preset-range-collapsed:last-child{margin-right:0}.dp__menu_content_wrapper{display:flex}@media only screen and (width <= 600px){.dp__menu_content_wrapper{flex-direction:column-reverse}}.dp--menu-content-wrapper-collapsed{flex-direction:column-reverse}.dp__calendar_header{position:relative;display:flex;justify-content:center;align-items:center;color:var(--dp-text-color);white-space:nowrap;font-weight:700}.dp__calendar_header_item{text-align:center;flex-grow:1;height:var(--dp-cell-size);padding:var(--dp-cell-padding);width:var(--dp-cell-size);box-sizing:border-box}.dp__calendar_row{display:flex;justify-content:center;align-items:center;margin:var(--dp-row-margin)}.dp__calendar_item{text-align:center;flex-grow:1;box-sizing:border-box;color:var(--dp-text-color)}.dp__calendar{position:relative}.dp__calendar_header_cell{border-bottom:thin solid var(--dp-border-color);padding:var(--dp-calendar-header-cell-padding)}.dp__cell_inner{display:flex;align-items:center;text-align:center;justify-content:center;border-radius:var(--dp-cell-border-radius);height:var(--dp-cell-size);padding:var(--dp-cell-padding);width:var(--dp-cell-size);border:1px solid rgba(0,0,0,0);box-sizing:border-box;position:relative}.dp__cell_inner:hover{transition:all .2s}.dp__cell_auto_range_start,.dp__date_hover_start:hover,.dp__range_start{border-end-end-radius:0;border-start-end-radius:0}.dp__cell_auto_range_end,.dp__date_hover_end:hover,.dp__range_end{border-end-start-radius:0;border-start-start-radius:0}.dp__range_end,.dp__range_start,.dp__active_date{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__date_hover_end:hover,.dp__date_hover_start:hover,.dp__date_hover:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__cell_offset{color:var(--dp-secondary-color)}.dp__cell_disabled{color:var(--dp-secondary-color);cursor:not-allowed}.dp__range_between{background:var(--dp-range-between-dates-background-color);color:var(--dp-range-between-dates-text-color);border-radius:0;border:1px solid var(--dp-range-between-border-color)}.dp__range_between_week{background:var(--dp-primary-color);color:var(--dp-primary-text-color);border-radius:0;border-top:1px solid var(--dp-primary-color);border-bottom:1px solid var(--dp-primary-color)}.dp__today{border:1px solid var(--dp-primary-color)}.dp__week_num{color:var(--dp-secondary-color);text-align:center}.dp__cell_auto_range{border-radius:0;border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color)}.dp__cell_auto_range_start{border-start-start-radius:var(--dp-cell-border-radius);border-end-start-radius:var(--dp-cell-border-radius);border-inline-start:1px dashed var(--dp-primary-color);border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color)}.dp__cell_auto_range_end{border-start-end-radius:var(--dp-cell-border-radius);border-end-end-radius:var(--dp-cell-border-radius);border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color);border-inline-end:1px dashed var(--dp-primary-color)}.dp__calendar_header_separator{width:100%;height:1px;background:var(--dp-border-color)}.dp__calendar_next{margin-inline-start:var(--dp-multi-calendars-spacing)}.dp__marker_line,.dp__marker_dot{height:5px;background-color:var(--dp-marker-color);position:absolute;bottom:0}.dp__marker_dot{width:5px;border-radius:50%;left:50%;transform:translate(-50%)}.dp__marker_line{width:100%;left:0}.dp__marker_tooltip{position:absolute;border-radius:var(--dp-border-radius);background-color:var(--dp-tooltip-color);padding:5px;border:1px solid var(--dp-border-color);z-index:99999;box-sizing:border-box;cursor:default}.dp__tooltip_content{white-space:nowrap}.dp__tooltip_text{display:flex;align-items:center;flex-flow:row nowrap;color:var(--dp-text-color)}.dp__tooltip_mark{height:5px;width:5px;border-radius:50%;background-color:var(--dp-text-color);color:var(--dp-text-color);margin-inline-end:5px}.dp__arrow_bottom_tp{bottom:0;height:8px;width:8px;background-color:var(--dp-tooltip-color);position:absolute;border-inline-end:1px solid var(--dp-border-color);border-bottom:1px solid var(--dp-border-color);transform:translate(-50%,50%) rotate(45deg)}.dp__instance_calendar{position:relative;width:100%}@media only screen and (width <= 600px){.dp__flex_display{flex-direction:column}}.dp--flex-display-collapsed{flex-direction:column}.dp__cell_highlight{background-color:var(--dp-highlight-color)}.dp__month_year_row{display:flex;align-items:center;height:var(--dp-month-year-row-height);color:var(--dp-text-color);box-sizing:border-box}.dp__inner_nav{display:flex;align-items:center;justify-content:center;cursor:pointer;height:var(--dp-month-year-row-button-size);width:var(--dp-month-year-row-button-size);color:var(--dp-icon-color);text-align:center;border-radius:50%}.dp__inner_nav svg{height:var(--dp-button-icon-height);width:var(--dp-button-icon-height)}.dp__inner_nav:hover{background:var(--dp-hover-color);color:var(--dp-hover-icon-color)}[dir=rtl] .dp__inner_nav{transform:rotate(180deg)}.dp__inner_nav_disabled:hover,.dp__inner_nav_disabled{background:var(--dp-disabled-color);color:var(--dp-disabled-color-text);cursor:not-allowed}.dp--year-select,.dp__month_year_select{text-align:center;cursor:pointer;height:var(--dp-month-year-row-height);display:flex;align-items:center;justify-content:center;border-radius:var(--dp-border-radius);box-sizing:border-box;color:var(--dp-text-color)}.dp--year-select:hover,.dp__month_year_select:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp__month_year_select{width:50%}.dp--year-select{width:100%}.dp__month_year_wrap{display:flex;flex-direction:row;width:100%}.dp__year_disable_select{justify-content:space-around}.dp--header-wrap{display:flex;width:100%;flex-direction:column}.dp__overlay{width:100%;background:var(--dp-background-color);transition:opacity 1s ease-out;z-index:99999;font-family:var(--dp-font-family);color:var(--dp-text-color);box-sizing:border-box}.dp--overlay-absolute{position:absolute;height:100%;top:0;left:0}.dp--overlay-relative{position:relative}.dp__overlay_container::-webkit-scrollbar-track{box-shadow:var(--dp-scroll-bar-background);background-color:var(--dp-scroll-bar-background)}.dp__overlay_container::-webkit-scrollbar{width:5px;background-color:var(--dp-scroll-bar-background)}.dp__overlay_container::-webkit-scrollbar-thumb{background-color:var(--dp-scroll-bar-color);border-radius:10px}.dp__overlay:focus{border:none;outline:none}.dp__container_flex{display:flex}.dp__container_block{display:block}.dp__overlay_container{flex-direction:column;overflow-y:auto;height:var(--dp-overlay-height)}.dp__time_picker_overlay_container{height:100%}.dp__overlay_row{padding:0;box-sizing:border-box;display:flex;margin-inline:auto auto;flex-wrap:wrap;max-width:100%;width:100%;align-items:center}.dp__flex_row{flex:1}.dp__overlay_col{box-sizing:border-box;width:33%;padding:var(--dp-overlay-col-padding);white-space:nowrap}.dp__overlay_cell_pad{padding:var(--dp-common-padding) 0}.dp__overlay_cell_active{cursor:pointer;border-radius:var(--dp-border-radius);text-align:center;background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__overlay_cell{cursor:pointer;border-radius:var(--dp-border-radius);text-align:center}.dp__overlay_cell:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp__cell_in_between{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__over_action_scroll{right:5px;box-sizing:border-box}.dp__overlay_cell_disabled{cursor:not-allowed;background:var(--dp-disabled-color)}.dp__overlay_cell_disabled:hover{background:var(--dp-disabled-color)}.dp__overlay_cell_active_disabled{cursor:not-allowed;background:var(--dp-primary-disabled-color)}.dp__overlay_cell_active_disabled:hover{background:var(--dp-primary-disabled-color)}.dp__btn,.dp--qr-btn,.dp--time-invalid,.dp--time-overlay-btn{border:none;font:inherit;transition:var(--dp-common-transition);line-height:normal}.dp--tp-wrap{max-width:var(--dp-menu-min-width)}.dp__time_input{width:100%;display:flex;align-items:center;justify-content:center;user-select:none;font-family:var(--dp-font-family);color:var(--dp-text-color)}.dp__time_col_reg_block{padding:0 20px}.dp__time_col_reg_inline{padding:0 10px}.dp__time_col_reg_with_button{padding:0 15px}.dp__time_col_sec{padding:0 10px}.dp__time_col_sec_with_button{padding:0 5px}.dp__time_col{text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column}.dp__time_col_block{font-size:var(--dp-time-font-size)}.dp__time_display_block{padding:0 3px}.dp__time_display_inline{padding:5px}.dp__time_picker_inline_container{display:flex;width:100%;justify-content:center}.dp__inc_dec_button{padding:5px;margin:0;height:var(--dp-time-inc-dec-button-size);width:var(--dp-time-inc-dec-button-size);display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:50%;color:var(--dp-icon-color);box-sizing:border-box}.dp__inc_dec_button svg{height:var(--dp-time-inc-dec-button-size);width:var(--dp-time-inc-dec-button-size)}.dp__inc_dec_button:hover{background:var(--dp-hover-color);color:var(--dp-primary-color)}.dp__time_display{cursor:pointer;color:var(--dp-text-color);border-radius:var(--dp-border-radius);display:flex;align-items:center;justify-content:center}.dp__time_display:hover:enabled{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__inc_dec_button_inline{width:100%;padding:0;height:8px;cursor:pointer;display:flex;align-items:center}.dp__inc_dec_button_disabled,.dp__inc_dec_button_disabled:hover{background:var(--dp-disabled-color);color:var(--dp-disabled-color-text);cursor:not-allowed}.dp__pm_am_button{background:var(--dp-primary-color);color:var(--dp-primary-text-color);border:none;padding:var(--dp-common-padding);border-radius:var(--dp-border-radius);cursor:pointer}.dp__tp_inline_btn_bar{width:100%;height:4px;background-color:var(--dp-secondary-color);transition:var(--dp-common-transition);border-collapse:collapse}.dp__tp_inline_btn_top:hover .dp__tp_btn_in_r{background-color:var(--dp-primary-color);transform:rotate(12deg) scale(1.15) translateY(-2px)}.dp__tp_inline_btn_top:hover .dp__tp_btn_in_l,.dp__tp_inline_btn_bottom:hover .dp__tp_btn_in_r{background-color:var(--dp-primary-color);transform:rotate(-12deg) scale(1.15) translateY(-2px)}.dp__tp_inline_btn_bottom:hover .dp__tp_btn_in_l{background-color:var(--dp-primary-color);transform:rotate(12deg) scale(1.15) translateY(-2px)}.dp--time-overlay-btn{background:none}.dp--time-invalid{background-color:var(--dp-disabled-color)}.dp__action_row{display:flex;align-items:center;width:100%;padding:var(--dp-action-row-padding);box-sizing:border-box;color:var(--dp-text-color);flex-flow:row nowrap}.dp__action_row svg{height:var(--dp-button-icon-height);width:auto}.dp__selection_preview{display:block;color:var(--dp-text-color);font-size:var(--dp-preview-font-size);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dp__action_buttons{display:flex;flex:0;white-space:nowrap;align-items:center;justify-content:flex-end;margin-inline-start:auto}.dp__action_button{display:inline-flex;align-items:center;background:#0000;border:1px solid rgba(0,0,0,0);padding:var(--dp-action-buttons-padding);line-height:var(--dp-action-button-height);margin-inline-start:3px;height:var(--dp-action-button-height);cursor:pointer;border-radius:var(--dp-border-radius);font-size:var(--dp-preview-font-size);font-family:var(--dp-font-family)}.dp__action_cancel{color:var(--dp-text-color);border:1px solid var(--dp-border-color)}.dp__action_cancel:hover{border-color:var(--dp-primary-color);transition:var(--dp-action-row-transtion)}.dp__action_buttons .dp__action_select{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__action_buttons .dp__action_select:hover{background:var(--dp-primary-color);transition:var(--dp-action-row-transtion)}.dp__action_buttons .dp__action_select:disabled{background:var(--dp-primary-disabled-color);cursor:not-allowed}.dp-quarter-picker-wrap{display:flex;flex-direction:column;height:100%;min-width:var(--dp-menu-min-width)}.dp--qr-btn-disabled{cursor:not-allowed;background:var(--dp-disabled-color)}.dp--qr-btn-disabled:hover{background:var(--dp-disabled-color)}.dp--qr-btn{width:100%;padding:var(--dp-common-padding)}.dp--qr-btn:not(.dp--highlighted,.dp--qr-btn-active,.dp--qr-btn-disabled,.dp--qr-btn-between){background:none}.dp--qr-btn:hover:not(.dp--qr-btn-active,.dp--qr-btn-disabled){background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp--quarter-items{display:flex;flex-direction:column;flex:1;width:100%;height:100%;justify-content:space-evenly}.dp--qr-btn-active{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp--qr-btn-between{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__btn,.dp--time-overlay-btn,.dp--time-invalid,.dp--qr-btn{border:none;font:inherit;transition:var(--dp-common-transition);line-height:normal}.dp--year-mode-picker{display:flex;width:100%;align-items:center;justify-content:space-between;height:var(--dp-cell-size)}:root{--dp-common-transition: all .1s ease-in;--dp-menu-padding: 6px 8px;--dp-animation-duration: .1s;--dp-menu-appear-transition-timing: cubic-bezier(.4, 0, 1, 1);--dp-transition-timing: ease-out;--dp-action-row-transtion: all .2s ease-in;--dp-font-family: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen, ubuntu, cantarell, "Open Sans", "Helvetica Neue", sans-serif;--dp-border-radius: 4px;--dp-cell-border-radius: 4px;--dp-transition-length: 22px;--dp-transition-timing-general: .1s;--dp-button-height: 35px;--dp-month-year-row-height: 35px;--dp-month-year-row-button-size: 25px;--dp-button-icon-height: 20px;--dp-calendar-wrap-padding: 0 5px;--dp-cell-size: 35px;--dp-cell-padding: 5px;--dp-common-padding: 10px;--dp-input-icon-padding: 35px;--dp-input-padding: 6px 30px 6px 12px;--dp-menu-min-width: 260px;--dp-action-buttons-padding: 1px 6px;--dp-row-margin: 5px 0;--dp-calendar-header-cell-padding: .5rem;--dp-multi-calendars-spacing: 10px;--dp-overlay-col-padding: 3px;--dp-time-inc-dec-button-size: 32px;--dp-font-size: 1rem;--dp-preview-font-size: .8rem;--dp-time-font-size: 2rem;--dp-action-button-height: 22px;--dp-action-row-padding: 8px;--dp-direction: ltr}.dp__theme_dark{--dp-background-color: #212121;--dp-text-color: #fff;--dp-hover-color: #484848;--dp-hover-text-color: #fff;--dp-hover-icon-color: #959595;--dp-primary-color: #005cb2;--dp-primary-disabled-color: #61a8ea;--dp-primary-text-color: #fff;--dp-secondary-color: #a9a9a9;--dp-border-color: #2d2d2d;--dp-menu-border-color: #2d2d2d;--dp-border-color-hover: #aaaeb7;--dp-border-color-focus: #aaaeb7;--dp-disabled-color: #737373;--dp-disabled-color-text: #d0d0d0;--dp-scroll-bar-background: #212121;--dp-scroll-bar-color: #484848;--dp-success-color: #00701a;--dp-success-color-disabled: #428f59;--dp-icon-color: #959595;--dp-danger-color: #e53935;--dp-marker-color: #e53935;--dp-tooltip-color: #3e3e3e;--dp-highlight-color: rgb(0 92 178 / 20%);--dp-range-between-dates-background-color: var(--dp-hover-color, #484848);--dp-range-between-dates-text-color: var(--dp-hover-text-color, #fff);--dp-range-between-border-color: var(--dp-hover-color, #fff);--dp-loader: 5px solid #005cb2}.dp__theme_light{--dp-background-color: #fff;--dp-text-color: #212121;--dp-hover-color: #f3f3f3;--dp-hover-text-color: #212121;--dp-hover-icon-color: #959595;--dp-primary-color: #1976d2;--dp-primary-disabled-color: #6bacea;--dp-primary-text-color: #fff;--dp-secondary-color: #c0c4cc;--dp-border-color: #ddd;--dp-menu-border-color: #ddd;--dp-border-color-hover: #aaaeb7;--dp-border-color-focus: #aaaeb7;--dp-disabled-color: #f6f6f6;--dp-scroll-bar-background: #f3f3f3;--dp-scroll-bar-color: #959595;--dp-success-color: #76d275;--dp-success-color-disabled: #a3d9b1;--dp-icon-color: #959595;--dp-danger-color: #ff6f60;--dp-marker-color: #ff6f60;--dp-tooltip-color: #fafafa;--dp-disabled-color-text: #8e8e8e;--dp-highlight-color: rgb(25 118 210 / 10%);--dp-range-between-dates-background-color: var(--dp-hover-color, #f3f3f3);--dp-range-between-dates-text-color: var(--dp-hover-text-color, #212121);--dp-range-between-border-color: var(--dp-hover-color, #f3f3f3);--dp-loader: 5px solid #1976d2}.dp__flex{display:flex;align-items:center}.dp__btn{background:none}.dp__main{font-family:var(--dp-font-family);user-select:none;box-sizing:border-box;position:relative;width:100%}.dp__main *{direction:var(--dp-direction, ltr)}.dp__pointer{cursor:pointer}.dp__icon{stroke:currentcolor;fill:currentcolor}.dp__button{width:100%;text-align:center;color:var(--dp-icon-color);cursor:pointer;display:flex;align-items:center;place-content:center center;padding:var(--dp-common-padding);box-sizing:border-box;height:var(--dp-button-height)}.dp__button.dp__overlay_action{position:absolute;bottom:0}.dp__button:hover{background:var(--dp-hover-color);color:var(--dp-hover-icon-color)}.dp__button svg{height:var(--dp-button-icon-height);width:auto}.dp__button_bottom{border-bottom-left-radius:var(--dp-border-radius);border-bottom-right-radius:var(--dp-border-radius)}.dp__flex_display{display:flex}.dp__flex_display_with_input{flex-direction:column;align-items:flex-start}.dp__relative{position:relative}.calendar-next-enter-active,.calendar-next-leave-active,.calendar-prev-enter-active,.calendar-prev-leave-active{transition:all var(--dp-transition-timing-general) ease-out}.calendar-next-enter-from{opacity:0;transform:translate(var(--dp-transition-length))}.calendar-next-leave-to,.calendar-prev-enter-from{opacity:0;transform:translate(calc(var(--dp-transition-length) * -1))}.calendar-prev-leave-to{opacity:0;transform:translate(var(--dp-transition-length))}.dp-menu-appear-bottom-enter-active,.dp-menu-appear-bottom-leave-active,.dp-menu-appear-top-enter-active,.dp-menu-appear-top-leave-active,.dp-slide-up-enter-active,.dp-slide-up-leave-active,.dp-slide-down-enter-active,.dp-slide-down-leave-active{transition:all var(--dp-animation-duration) var(--dp-transition-timing)}.dp-menu-appear-top-enter-from,.dp-menu-appear-top-leave-to,.dp-slide-down-leave-to,.dp-slide-up-enter-from{opacity:0;transform:translateY(var(--dp-transition-length))}.dp-menu-appear-bottom-enter-from,.dp-menu-appear-bottom-leave-to,.dp-slide-down-enter-from,.dp-slide-up-leave-to{opacity:0;transform:translateY(calc(var(--dp-transition-length) * -1))}.dp--arrow-btn-nav{transition:var(--dp-common-transition)}.dp--highlighted{background-color:var(--dp-highlight-color)}.dp--hidden-el{visibility:hidden}@media screen and (max-width: 768px){.navbar-container[data-v-80971158]{position:absolute;z-index:1000;animation-duration:.4s;animation-fill-mode:both;display:none;animation-timing-function:cubic-bezier(.82,.58,.17,.9)}.navbar-container.active[data-v-80971158]{animation-direction:normal;display:block!important;animation-name:zoomInFade-80971158}}.navbar-container[data-v-80971158]{height:100vh}@supports (height: 100dvh){@media screen and (max-width: 768px){.navbar-container[data-v-80971158]{height:calc(100dvh - 50px)}}}@keyframes zoomInFade-80971158{0%{opacity:0;transform:translateY(60px);filter:blur(3px)}to{opacity:1;transform:translateY(0);filter:blur(0px)}}.message[data-v-f50b8f0c]{width:100%}@media screen and (min-width: 576px){.message[data-v-f50b8f0c]{width:400px}}.messageCentre[data-v-5627c522]{top:1rem;right:1rem;width:calc(100% - 2rem)}main[data-v-5627c522]{height:100vh}@supports (height: 100dvh){@media screen and (max-width: 768px){main[data-v-5627c522]{height:calc(100dvh - 50px)}}}.dot.inactive[data-v-ed7817c7]{background-color:#dc3545;box-shadow:0 0 0 .2rem #dc354545}.spin[data-v-ed7817c7]{animation:spin-ed7817c7 1s infinite cubic-bezier(.82,.58,.17,.9)}@keyframes spin-ed7817c7{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media screen and (max-width: 768px){.remoteServerContainer[data-v-ed7817c7]{flex-direction:column}.remoteServerContainer .button-group button[data-v-ed7817c7]{width:100%}}@media screen and (max-width: 768px){.login-box[data-v-95530d22]{width:100%!important}.login-box div[data-v-95530d22]{width:auto!important}}.fade-enter-active[data-v-a85a04a5]{transition-delay:var(--1d5189b2)!important}.configurationListTitle{.btn[data-v-b9c1bda1]{border-radius:50%!important}}@media screen and (max-width: 768px){.configurationListTitle{&[data-v-b9c1bda1]{flex-direction:column;gap:.5rem}h3 span[data-v-b9c1bda1]{margin-left:auto!important}.btn[data-v-b9c1bda1]{width:100%}}}@media screen and (max-width: 992px){.apiKey-card-body{&[data-v-a76253c8]{flex-direction:column!important;align-items:start!important}div.ms-auto[data-v-a76253c8]{margin-left:0!important}div[data-v-a76253c8]{width:100%;align-items:start!important}small[data-v-a76253c8]{margin-right:auto}}}.apiKey-move[data-v-3d3ef755],.apiKey-enter-active[data-v-3d3ef755],.apiKey-leave-active[data-v-3d3ef755]{transition:all .5s ease}.apiKey-enter-from[data-v-3d3ef755],.apiKey-leave-to[data-v-3d3ef755]{opacity:0;transform:translateY(30px) scale(.9)}.apiKey-leave-active[data-v-3d3ef755]{position:absolute;width:100%}.dropdown-menu[data-v-08b165a8]{width:100%}.list-group{&[data-v-becb648c]:first-child{border-top-left-radius:var(--bs-border-radius-lg);border-top-right-radius:var(--bs-border-radius-lg)}&[data-v-becb648c]:last-child{border-bottom-left-radius:var(--bs-border-radius-lg);border-bottom-right-radius:var(--bs-border-radius-lg)}}.animation__fadeInDropdown[data-v-aaa147c4]{animation-name:fadeInDropdown-aaa147c4;animation-duration:.2s;animation-timing-function:cubic-bezier(.82,.58,.17,.9)}@keyframes fadeInDropdown-aaa147c4{0%{opacity:0;filter:blur(3px);transform:translateY(-60px)}to{opacity:1;filter:blur(0px);transform:translateY(-40px)}}.displayModal .dashboardModal[data-v-aaa147c4]{width:400px!important}@media screen and (max-width: 768px){.peerSearchContainer[data-v-aaa147c4]{flex-direction:column}.peerSettingContainer .dashboardModal[data-v-aaa147c4]{width:100%!important}}/*! +*/@font-face{font-display:block;font-family:bootstrap-icons;src:url(/static/app/dist/assets/bootstrap-icons.woff2?dd67030699838ea613ee6dbda90effa6) format("woff2"),url(/static/app/dist/assets/bootstrap-icons.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:""}.bi-alarm-fill:before{content:""}.bi-alarm:before{content:""}.bi-align-bottom:before{content:""}.bi-align-center:before{content:""}.bi-align-end:before{content:""}.bi-align-middle:before{content:""}.bi-align-start:before{content:""}.bi-align-top:before{content:""}.bi-alt:before{content:""}.bi-app-indicator:before{content:""}.bi-app:before{content:""}.bi-archive-fill:before{content:""}.bi-archive:before{content:""}.bi-arrow-90deg-down:before{content:""}.bi-arrow-90deg-left:before{content:""}.bi-arrow-90deg-right:before{content:""}.bi-arrow-90deg-up:before{content:""}.bi-arrow-bar-down:before{content:""}.bi-arrow-bar-left:before{content:""}.bi-arrow-bar-right:before{content:""}.bi-arrow-bar-up:before{content:""}.bi-arrow-clockwise:before{content:""}.bi-arrow-counterclockwise:before{content:""}.bi-arrow-down-circle-fill:before{content:""}.bi-arrow-down-circle:before{content:""}.bi-arrow-down-left-circle-fill:before{content:""}.bi-arrow-down-left-circle:before{content:""}.bi-arrow-down-left-square-fill:before{content:""}.bi-arrow-down-left-square:before{content:""}.bi-arrow-down-left:before{content:""}.bi-arrow-down-right-circle-fill:before{content:""}.bi-arrow-down-right-circle:before{content:""}.bi-arrow-down-right-square-fill:before{content:""}.bi-arrow-down-right-square:before{content:""}.bi-arrow-down-right:before{content:""}.bi-arrow-down-short:before{content:""}.bi-arrow-down-square-fill:before{content:""}.bi-arrow-down-square:before{content:""}.bi-arrow-down-up:before{content:""}.bi-arrow-down:before{content:""}.bi-arrow-left-circle-fill:before{content:""}.bi-arrow-left-circle:before{content:""}.bi-arrow-left-right:before{content:""}.bi-arrow-left-short:before{content:""}.bi-arrow-left-square-fill:before{content:""}.bi-arrow-left-square:before{content:""}.bi-arrow-left:before{content:""}.bi-arrow-repeat:before{content:""}.bi-arrow-return-left:before{content:""}.bi-arrow-return-right:before{content:""}.bi-arrow-right-circle-fill:before{content:""}.bi-arrow-right-circle:before{content:""}.bi-arrow-right-short:before{content:""}.bi-arrow-right-square-fill:before{content:""}.bi-arrow-right-square:before{content:""}.bi-arrow-right:before{content:""}.bi-arrow-up-circle-fill:before{content:""}.bi-arrow-up-circle:before{content:""}.bi-arrow-up-left-circle-fill:before{content:""}.bi-arrow-up-left-circle:before{content:""}.bi-arrow-up-left-square-fill:before{content:""}.bi-arrow-up-left-square:before{content:""}.bi-arrow-up-left:before{content:""}.bi-arrow-up-right-circle-fill:before{content:""}.bi-arrow-up-right-circle:before{content:""}.bi-arrow-up-right-square-fill:before{content:""}.bi-arrow-up-right-square:before{content:""}.bi-arrow-up-right:before{content:""}.bi-arrow-up-short:before{content:""}.bi-arrow-up-square-fill:before{content:""}.bi-arrow-up-square:before{content:""}.bi-arrow-up:before{content:""}.bi-arrows-angle-contract:before{content:""}.bi-arrows-angle-expand:before{content:""}.bi-arrows-collapse:before{content:""}.bi-arrows-expand:before{content:""}.bi-arrows-fullscreen:before{content:""}.bi-arrows-move:before{content:""}.bi-aspect-ratio-fill:before{content:""}.bi-aspect-ratio:before{content:""}.bi-asterisk:before{content:""}.bi-at:before{content:""}.bi-award-fill:before{content:""}.bi-award:before{content:""}.bi-back:before{content:""}.bi-backspace-fill:before{content:""}.bi-backspace-reverse-fill:before{content:""}.bi-backspace-reverse:before{content:""}.bi-backspace:before{content:""}.bi-badge-3d-fill:before{content:""}.bi-badge-3d:before{content:""}.bi-badge-4k-fill:before{content:""}.bi-badge-4k:before{content:""}.bi-badge-8k-fill:before{content:""}.bi-badge-8k:before{content:""}.bi-badge-ad-fill:before{content:""}.bi-badge-ad:before{content:""}.bi-badge-ar-fill:before{content:""}.bi-badge-ar:before{content:""}.bi-badge-cc-fill:before{content:""}.bi-badge-cc:before{content:""}.bi-badge-hd-fill:before{content:""}.bi-badge-hd:before{content:""}.bi-badge-tm-fill:before{content:""}.bi-badge-tm:before{content:""}.bi-badge-vo-fill:before{content:""}.bi-badge-vo:before{content:""}.bi-badge-vr-fill:before{content:""}.bi-badge-vr:before{content:""}.bi-badge-wc-fill:before{content:""}.bi-badge-wc:before{content:""}.bi-bag-check-fill:before{content:""}.bi-bag-check:before{content:""}.bi-bag-dash-fill:before{content:""}.bi-bag-dash:before{content:""}.bi-bag-fill:before{content:""}.bi-bag-plus-fill:before{content:""}.bi-bag-plus:before{content:""}.bi-bag-x-fill:before{content:""}.bi-bag-x:before{content:""}.bi-bag:before{content:""}.bi-bar-chart-fill:before{content:""}.bi-bar-chart-line-fill:before{content:""}.bi-bar-chart-line:before{content:""}.bi-bar-chart-steps:before{content:""}.bi-bar-chart:before{content:""}.bi-basket-fill:before{content:""}.bi-basket:before{content:""}.bi-basket2-fill:before{content:""}.bi-basket2:before{content:""}.bi-basket3-fill:before{content:""}.bi-basket3:before{content:""}.bi-battery-charging:before{content:""}.bi-battery-full:before{content:""}.bi-battery-half:before{content:""}.bi-battery:before{content:""}.bi-bell-fill:before{content:""}.bi-bell:before{content:""}.bi-bezier:before{content:""}.bi-bezier2:before{content:""}.bi-bicycle:before{content:""}.bi-binoculars-fill:before{content:""}.bi-binoculars:before{content:""}.bi-blockquote-left:before{content:""}.bi-blockquote-right:before{content:""}.bi-book-fill:before{content:""}.bi-book-half:before{content:""}.bi-book:before{content:""}.bi-bookmark-check-fill:before{content:""}.bi-bookmark-check:before{content:""}.bi-bookmark-dash-fill:before{content:""}.bi-bookmark-dash:before{content:""}.bi-bookmark-fill:before{content:""}.bi-bookmark-heart-fill:before{content:""}.bi-bookmark-heart:before{content:""}.bi-bookmark-plus-fill:before{content:""}.bi-bookmark-plus:before{content:""}.bi-bookmark-star-fill:before{content:""}.bi-bookmark-star:before{content:""}.bi-bookmark-x-fill:before{content:""}.bi-bookmark-x:before{content:""}.bi-bookmark:before{content:""}.bi-bookmarks-fill:before{content:""}.bi-bookmarks:before{content:""}.bi-bookshelf:before{content:""}.bi-bootstrap-fill:before{content:""}.bi-bootstrap-reboot:before{content:""}.bi-bootstrap:before{content:""}.bi-border-all:before{content:""}.bi-border-bottom:before{content:""}.bi-border-center:before{content:""}.bi-border-inner:before{content:""}.bi-border-left:before{content:""}.bi-border-middle:before{content:""}.bi-border-outer:before{content:""}.bi-border-right:before{content:""}.bi-border-style:before{content:""}.bi-border-top:before{content:""}.bi-border-width:before{content:""}.bi-border:before{content:""}.bi-bounding-box-circles:before{content:""}.bi-bounding-box:before{content:""}.bi-box-arrow-down-left:before{content:""}.bi-box-arrow-down-right:before{content:""}.bi-box-arrow-down:before{content:""}.bi-box-arrow-in-down-left:before{content:""}.bi-box-arrow-in-down-right:before{content:""}.bi-box-arrow-in-down:before{content:""}.bi-box-arrow-in-left:before{content:""}.bi-box-arrow-in-right:before{content:""}.bi-box-arrow-in-up-left:before{content:""}.bi-box-arrow-in-up-right:before{content:""}.bi-box-arrow-in-up:before{content:""}.bi-box-arrow-left:before{content:""}.bi-box-arrow-right:before{content:""}.bi-box-arrow-up-left:before{content:""}.bi-box-arrow-up-right:before{content:""}.bi-box-arrow-up:before{content:""}.bi-box-seam:before{content:""}.bi-box:before{content:""}.bi-braces:before{content:""}.bi-bricks:before{content:""}.bi-briefcase-fill:before{content:""}.bi-briefcase:before{content:""}.bi-brightness-alt-high-fill:before{content:""}.bi-brightness-alt-high:before{content:""}.bi-brightness-alt-low-fill:before{content:""}.bi-brightness-alt-low:before{content:""}.bi-brightness-high-fill:before{content:""}.bi-brightness-high:before{content:""}.bi-brightness-low-fill:before{content:""}.bi-brightness-low:before{content:""}.bi-broadcast-pin:before{content:""}.bi-broadcast:before{content:""}.bi-brush-fill:before{content:""}.bi-brush:before{content:""}.bi-bucket-fill:before{content:""}.bi-bucket:before{content:""}.bi-bug-fill:before{content:""}.bi-bug:before{content:""}.bi-building:before{content:""}.bi-bullseye:before{content:""}.bi-calculator-fill:before{content:""}.bi-calculator:before{content:""}.bi-calendar-check-fill:before{content:""}.bi-calendar-check:before{content:""}.bi-calendar-date-fill:before{content:""}.bi-calendar-date:before{content:""}.bi-calendar-day-fill:before{content:""}.bi-calendar-day:before{content:""}.bi-calendar-event-fill:before{content:""}.bi-calendar-event:before{content:""}.bi-calendar-fill:before{content:""}.bi-calendar-minus-fill:before{content:""}.bi-calendar-minus:before{content:""}.bi-calendar-month-fill:before{content:""}.bi-calendar-month:before{content:""}.bi-calendar-plus-fill:before{content:""}.bi-calendar-plus:before{content:""}.bi-calendar-range-fill:before{content:""}.bi-calendar-range:before{content:""}.bi-calendar-week-fill:before{content:""}.bi-calendar-week:before{content:""}.bi-calendar-x-fill:before{content:""}.bi-calendar-x:before{content:""}.bi-calendar:before{content:""}.bi-calendar2-check-fill:before{content:""}.bi-calendar2-check:before{content:""}.bi-calendar2-date-fill:before{content:""}.bi-calendar2-date:before{content:""}.bi-calendar2-day-fill:before{content:""}.bi-calendar2-day:before{content:""}.bi-calendar2-event-fill:before{content:""}.bi-calendar2-event:before{content:""}.bi-calendar2-fill:before{content:""}.bi-calendar2-minus-fill:before{content:""}.bi-calendar2-minus:before{content:""}.bi-calendar2-month-fill:before{content:""}.bi-calendar2-month:before{content:""}.bi-calendar2-plus-fill:before{content:""}.bi-calendar2-plus:before{content:""}.bi-calendar2-range-fill:before{content:""}.bi-calendar2-range:before{content:""}.bi-calendar2-week-fill:before{content:""}.bi-calendar2-week:before{content:""}.bi-calendar2-x-fill:before{content:""}.bi-calendar2-x:before{content:""}.bi-calendar2:before{content:""}.bi-calendar3-event-fill:before{content:""}.bi-calendar3-event:before{content:""}.bi-calendar3-fill:before{content:""}.bi-calendar3-range-fill:before{content:""}.bi-calendar3-range:before{content:""}.bi-calendar3-week-fill:before{content:""}.bi-calendar3-week:before{content:""}.bi-calendar3:before{content:""}.bi-calendar4-event:before{content:""}.bi-calendar4-range:before{content:""}.bi-calendar4-week:before{content:""}.bi-calendar4:before{content:""}.bi-camera-fill:before{content:""}.bi-camera-reels-fill:before{content:""}.bi-camera-reels:before{content:""}.bi-camera-video-fill:before{content:""}.bi-camera-video-off-fill:before{content:""}.bi-camera-video-off:before{content:""}.bi-camera-video:before{content:""}.bi-camera:before{content:""}.bi-camera2:before{content:""}.bi-capslock-fill:before{content:""}.bi-capslock:before{content:""}.bi-card-checklist:before{content:""}.bi-card-heading:before{content:""}.bi-card-image:before{content:""}.bi-card-list:before{content:""}.bi-card-text:before{content:""}.bi-caret-down-fill:before{content:""}.bi-caret-down-square-fill:before{content:""}.bi-caret-down-square:before{content:""}.bi-caret-down:before{content:""}.bi-caret-left-fill:before{content:""}.bi-caret-left-square-fill:before{content:""}.bi-caret-left-square:before{content:""}.bi-caret-left:before{content:""}.bi-caret-right-fill:before{content:""}.bi-caret-right-square-fill:before{content:""}.bi-caret-right-square:before{content:""}.bi-caret-right:before{content:""}.bi-caret-up-fill:before{content:""}.bi-caret-up-square-fill:before{content:""}.bi-caret-up-square:before{content:""}.bi-caret-up:before{content:""}.bi-cart-check-fill:before{content:""}.bi-cart-check:before{content:""}.bi-cart-dash-fill:before{content:""}.bi-cart-dash:before{content:""}.bi-cart-fill:before{content:""}.bi-cart-plus-fill:before{content:""}.bi-cart-plus:before{content:""}.bi-cart-x-fill:before{content:""}.bi-cart-x:before{content:""}.bi-cart:before{content:""}.bi-cart2:before{content:""}.bi-cart3:before{content:""}.bi-cart4:before{content:""}.bi-cash-stack:before{content:""}.bi-cash:before{content:""}.bi-cast:before{content:""}.bi-chat-dots-fill:before{content:""}.bi-chat-dots:before{content:""}.bi-chat-fill:before{content:""}.bi-chat-left-dots-fill:before{content:""}.bi-chat-left-dots:before{content:""}.bi-chat-left-fill:before{content:""}.bi-chat-left-quote-fill:before{content:""}.bi-chat-left-quote:before{content:""}.bi-chat-left-text-fill:before{content:""}.bi-chat-left-text:before{content:""}.bi-chat-left:before{content:""}.bi-chat-quote-fill:before{content:""}.bi-chat-quote:before{content:""}.bi-chat-right-dots-fill:before{content:""}.bi-chat-right-dots:before{content:""}.bi-chat-right-fill:before{content:""}.bi-chat-right-quote-fill:before{content:""}.bi-chat-right-quote:before{content:""}.bi-chat-right-text-fill:before{content:""}.bi-chat-right-text:before{content:""}.bi-chat-right:before{content:""}.bi-chat-square-dots-fill:before{content:""}.bi-chat-square-dots:before{content:""}.bi-chat-square-fill:before{content:""}.bi-chat-square-quote-fill:before{content:""}.bi-chat-square-quote:before{content:""}.bi-chat-square-text-fill:before{content:""}.bi-chat-square-text:before{content:""}.bi-chat-square:before{content:""}.bi-chat-text-fill:before{content:""}.bi-chat-text:before{content:""}.bi-chat:before{content:""}.bi-check-all:before{content:""}.bi-check-circle-fill:before{content:""}.bi-check-circle:before{content:""}.bi-check-square-fill:before{content:""}.bi-check-square:before{content:""}.bi-check:before{content:""}.bi-check2-all:before{content:""}.bi-check2-circle:before{content:""}.bi-check2-square:before{content:""}.bi-check2:before{content:""}.bi-chevron-bar-contract:before{content:""}.bi-chevron-bar-down:before{content:""}.bi-chevron-bar-expand:before{content:""}.bi-chevron-bar-left:before{content:""}.bi-chevron-bar-right:before{content:""}.bi-chevron-bar-up:before{content:""}.bi-chevron-compact-down:before{content:""}.bi-chevron-compact-left:before{content:""}.bi-chevron-compact-right:before{content:""}.bi-chevron-compact-up:before{content:""}.bi-chevron-contract:before{content:""}.bi-chevron-double-down:before{content:""}.bi-chevron-double-left:before{content:""}.bi-chevron-double-right:before{content:""}.bi-chevron-double-up:before{content:""}.bi-chevron-down:before{content:""}.bi-chevron-expand:before{content:""}.bi-chevron-left:before{content:""}.bi-chevron-right:before{content:""}.bi-chevron-up:before{content:""}.bi-circle-fill:before{content:""}.bi-circle-half:before{content:""}.bi-circle-square:before{content:""}.bi-circle:before{content:""}.bi-clipboard-check:before{content:""}.bi-clipboard-data:before{content:""}.bi-clipboard-minus:before{content:""}.bi-clipboard-plus:before{content:""}.bi-clipboard-x:before{content:""}.bi-clipboard:before{content:""}.bi-clock-fill:before{content:""}.bi-clock-history:before{content:""}.bi-clock:before{content:""}.bi-cloud-arrow-down-fill:before{content:""}.bi-cloud-arrow-down:before{content:""}.bi-cloud-arrow-up-fill:before{content:""}.bi-cloud-arrow-up:before{content:""}.bi-cloud-check-fill:before{content:""}.bi-cloud-check:before{content:""}.bi-cloud-download-fill:before{content:""}.bi-cloud-download:before{content:""}.bi-cloud-drizzle-fill:before{content:""}.bi-cloud-drizzle:before{content:""}.bi-cloud-fill:before{content:""}.bi-cloud-fog-fill:before{content:""}.bi-cloud-fog:before{content:""}.bi-cloud-fog2-fill:before{content:""}.bi-cloud-fog2:before{content:""}.bi-cloud-hail-fill:before{content:""}.bi-cloud-hail:before{content:""}.bi-cloud-haze-fill:before{content:""}.bi-cloud-haze:before{content:""}.bi-cloud-haze2-fill:before{content:""}.bi-cloud-lightning-fill:before{content:""}.bi-cloud-lightning-rain-fill:before{content:""}.bi-cloud-lightning-rain:before{content:""}.bi-cloud-lightning:before{content:""}.bi-cloud-minus-fill:before{content:""}.bi-cloud-minus:before{content:""}.bi-cloud-moon-fill:before{content:""}.bi-cloud-moon:before{content:""}.bi-cloud-plus-fill:before{content:""}.bi-cloud-plus:before{content:""}.bi-cloud-rain-fill:before{content:""}.bi-cloud-rain-heavy-fill:before{content:""}.bi-cloud-rain-heavy:before{content:""}.bi-cloud-rain:before{content:""}.bi-cloud-slash-fill:before{content:""}.bi-cloud-slash:before{content:""}.bi-cloud-sleet-fill:before{content:""}.bi-cloud-sleet:before{content:""}.bi-cloud-snow-fill:before{content:""}.bi-cloud-snow:before{content:""}.bi-cloud-sun-fill:before{content:""}.bi-cloud-sun:before{content:""}.bi-cloud-upload-fill:before{content:""}.bi-cloud-upload:before{content:""}.bi-cloud:before{content:""}.bi-clouds-fill:before{content:""}.bi-clouds:before{content:""}.bi-cloudy-fill:before{content:""}.bi-cloudy:before{content:""}.bi-code-slash:before{content:""}.bi-code-square:before{content:""}.bi-code:before{content:""}.bi-collection-fill:before{content:""}.bi-collection-play-fill:before{content:""}.bi-collection-play:before{content:""}.bi-collection:before{content:""}.bi-columns-gap:before{content:""}.bi-columns:before{content:""}.bi-command:before{content:""}.bi-compass-fill:before{content:""}.bi-compass:before{content:""}.bi-cone-striped:before{content:""}.bi-cone:before{content:""}.bi-controller:before{content:""}.bi-cpu-fill:before{content:""}.bi-cpu:before{content:""}.bi-credit-card-2-back-fill:before{content:""}.bi-credit-card-2-back:before{content:""}.bi-credit-card-2-front-fill:before{content:""}.bi-credit-card-2-front:before{content:""}.bi-credit-card-fill:before{content:""}.bi-credit-card:before{content:""}.bi-crop:before{content:""}.bi-cup-fill:before{content:""}.bi-cup-straw:before{content:""}.bi-cup:before{content:""}.bi-cursor-fill:before{content:""}.bi-cursor-text:before{content:""}.bi-cursor:before{content:""}.bi-dash-circle-dotted:before{content:""}.bi-dash-circle-fill:before{content:""}.bi-dash-circle:before{content:""}.bi-dash-square-dotted:before{content:""}.bi-dash-square-fill:before{content:""}.bi-dash-square:before{content:""}.bi-dash:before{content:""}.bi-diagram-2-fill:before{content:""}.bi-diagram-2:before{content:""}.bi-diagram-3-fill:before{content:""}.bi-diagram-3:before{content:""}.bi-diamond-fill:before{content:""}.bi-diamond-half:before{content:""}.bi-diamond:before{content:""}.bi-dice-1-fill:before{content:""}.bi-dice-1:before{content:""}.bi-dice-2-fill:before{content:""}.bi-dice-2:before{content:""}.bi-dice-3-fill:before{content:""}.bi-dice-3:before{content:""}.bi-dice-4-fill:before{content:""}.bi-dice-4:before{content:""}.bi-dice-5-fill:before{content:""}.bi-dice-5:before{content:""}.bi-dice-6-fill:before{content:""}.bi-dice-6:before{content:""}.bi-disc-fill:before{content:""}.bi-disc:before{content:""}.bi-discord:before{content:""}.bi-display-fill:before{content:""}.bi-display:before{content:""}.bi-distribute-horizontal:before{content:""}.bi-distribute-vertical:before{content:""}.bi-door-closed-fill:before{content:""}.bi-door-closed:before{content:""}.bi-door-open-fill:before{content:""}.bi-door-open:before{content:""}.bi-dot:before{content:""}.bi-download:before{content:""}.bi-droplet-fill:before{content:""}.bi-droplet-half:before{content:""}.bi-droplet:before{content:""}.bi-earbuds:before{content:""}.bi-easel-fill:before{content:""}.bi-easel:before{content:""}.bi-egg-fill:before{content:""}.bi-egg-fried:before{content:""}.bi-egg:before{content:""}.bi-eject-fill:before{content:""}.bi-eject:before{content:""}.bi-emoji-angry-fill:before{content:""}.bi-emoji-angry:before{content:""}.bi-emoji-dizzy-fill:before{content:""}.bi-emoji-dizzy:before{content:""}.bi-emoji-expressionless-fill:before{content:""}.bi-emoji-expressionless:before{content:""}.bi-emoji-frown-fill:before{content:""}.bi-emoji-frown:before{content:""}.bi-emoji-heart-eyes-fill:before{content:""}.bi-emoji-heart-eyes:before{content:""}.bi-emoji-laughing-fill:before{content:""}.bi-emoji-laughing:before{content:""}.bi-emoji-neutral-fill:before{content:""}.bi-emoji-neutral:before{content:""}.bi-emoji-smile-fill:before{content:""}.bi-emoji-smile-upside-down-fill:before{content:""}.bi-emoji-smile-upside-down:before{content:""}.bi-emoji-smile:before{content:""}.bi-emoji-sunglasses-fill:before{content:""}.bi-emoji-sunglasses:before{content:""}.bi-emoji-wink-fill:before{content:""}.bi-emoji-wink:before{content:""}.bi-envelope-fill:before{content:""}.bi-envelope-open-fill:before{content:""}.bi-envelope-open:before{content:""}.bi-envelope:before{content:""}.bi-eraser-fill:before{content:""}.bi-eraser:before{content:""}.bi-exclamation-circle-fill:before{content:""}.bi-exclamation-circle:before{content:""}.bi-exclamation-diamond-fill:before{content:""}.bi-exclamation-diamond:before{content:""}.bi-exclamation-octagon-fill:before{content:""}.bi-exclamation-octagon:before{content:""}.bi-exclamation-square-fill:before{content:""}.bi-exclamation-square:before{content:""}.bi-exclamation-triangle-fill:before{content:""}.bi-exclamation-triangle:before{content:""}.bi-exclamation:before{content:""}.bi-exclude:before{content:""}.bi-eye-fill:before{content:""}.bi-eye-slash-fill:before{content:""}.bi-eye-slash:before{content:""}.bi-eye:before{content:""}.bi-eyedropper:before{content:""}.bi-eyeglasses:before{content:""}.bi-facebook:before{content:""}.bi-file-arrow-down-fill:before{content:""}.bi-file-arrow-down:before{content:""}.bi-file-arrow-up-fill:before{content:""}.bi-file-arrow-up:before{content:""}.bi-file-bar-graph-fill:before{content:""}.bi-file-bar-graph:before{content:""}.bi-file-binary-fill:before{content:""}.bi-file-binary:before{content:""}.bi-file-break-fill:before{content:""}.bi-file-break:before{content:""}.bi-file-check-fill:before{content:""}.bi-file-check:before{content:""}.bi-file-code-fill:before{content:""}.bi-file-code:before{content:""}.bi-file-diff-fill:before{content:""}.bi-file-diff:before{content:""}.bi-file-earmark-arrow-down-fill:before{content:""}.bi-file-earmark-arrow-down:before{content:""}.bi-file-earmark-arrow-up-fill:before{content:""}.bi-file-earmark-arrow-up:before{content:""}.bi-file-earmark-bar-graph-fill:before{content:""}.bi-file-earmark-bar-graph:before{content:""}.bi-file-earmark-binary-fill:before{content:""}.bi-file-earmark-binary:before{content:""}.bi-file-earmark-break-fill:before{content:""}.bi-file-earmark-break:before{content:""}.bi-file-earmark-check-fill:before{content:""}.bi-file-earmark-check:before{content:""}.bi-file-earmark-code-fill:before{content:""}.bi-file-earmark-code:before{content:""}.bi-file-earmark-diff-fill:before{content:""}.bi-file-earmark-diff:before{content:""}.bi-file-earmark-easel-fill:before{content:""}.bi-file-earmark-easel:before{content:""}.bi-file-earmark-excel-fill:before{content:""}.bi-file-earmark-excel:before{content:""}.bi-file-earmark-fill:before{content:""}.bi-file-earmark-font-fill:before{content:""}.bi-file-earmark-font:before{content:""}.bi-file-earmark-image-fill:before{content:""}.bi-file-earmark-image:before{content:""}.bi-file-earmark-lock-fill:before{content:""}.bi-file-earmark-lock:before{content:""}.bi-file-earmark-lock2-fill:before{content:""}.bi-file-earmark-lock2:before{content:""}.bi-file-earmark-medical-fill:before{content:""}.bi-file-earmark-medical:before{content:""}.bi-file-earmark-minus-fill:before{content:""}.bi-file-earmark-minus:before{content:""}.bi-file-earmark-music-fill:before{content:""}.bi-file-earmark-music:before{content:""}.bi-file-earmark-person-fill:before{content:""}.bi-file-earmark-person:before{content:""}.bi-file-earmark-play-fill:before{content:""}.bi-file-earmark-play:before{content:""}.bi-file-earmark-plus-fill:before{content:""}.bi-file-earmark-plus:before{content:""}.bi-file-earmark-post-fill:before{content:""}.bi-file-earmark-post:before{content:""}.bi-file-earmark-ppt-fill:before{content:""}.bi-file-earmark-ppt:before{content:""}.bi-file-earmark-richtext-fill:before{content:""}.bi-file-earmark-richtext:before{content:""}.bi-file-earmark-ruled-fill:before{content:""}.bi-file-earmark-ruled:before{content:""}.bi-file-earmark-slides-fill:before{content:""}.bi-file-earmark-slides:before{content:""}.bi-file-earmark-spreadsheet-fill:before{content:""}.bi-file-earmark-spreadsheet:before{content:""}.bi-file-earmark-text-fill:before{content:""}.bi-file-earmark-text:before{content:""}.bi-file-earmark-word-fill:before{content:""}.bi-file-earmark-word:before{content:""}.bi-file-earmark-x-fill:before{content:""}.bi-file-earmark-x:before{content:""}.bi-file-earmark-zip-fill:before{content:""}.bi-file-earmark-zip:before{content:""}.bi-file-earmark:before{content:""}.bi-file-easel-fill:before{content:""}.bi-file-easel:before{content:""}.bi-file-excel-fill:before{content:""}.bi-file-excel:before{content:""}.bi-file-fill:before{content:""}.bi-file-font-fill:before{content:""}.bi-file-font:before{content:""}.bi-file-image-fill:before{content:""}.bi-file-image:before{content:""}.bi-file-lock-fill:before{content:""}.bi-file-lock:before{content:""}.bi-file-lock2-fill:before{content:""}.bi-file-lock2:before{content:""}.bi-file-medical-fill:before{content:""}.bi-file-medical:before{content:""}.bi-file-minus-fill:before{content:""}.bi-file-minus:before{content:""}.bi-file-music-fill:before{content:""}.bi-file-music:before{content:""}.bi-file-person-fill:before{content:""}.bi-file-person:before{content:""}.bi-file-play-fill:before{content:""}.bi-file-play:before{content:""}.bi-file-plus-fill:before{content:""}.bi-file-plus:before{content:""}.bi-file-post-fill:before{content:""}.bi-file-post:before{content:""}.bi-file-ppt-fill:before{content:""}.bi-file-ppt:before{content:""}.bi-file-richtext-fill:before{content:""}.bi-file-richtext:before{content:""}.bi-file-ruled-fill:before{content:""}.bi-file-ruled:before{content:""}.bi-file-slides-fill:before{content:""}.bi-file-slides:before{content:""}.bi-file-spreadsheet-fill:before{content:""}.bi-file-spreadsheet:before{content:""}.bi-file-text-fill:before{content:""}.bi-file-text:before{content:""}.bi-file-word-fill:before{content:""}.bi-file-word:before{content:""}.bi-file-x-fill:before{content:""}.bi-file-x:before{content:""}.bi-file-zip-fill:before{content:""}.bi-file-zip:before{content:""}.bi-file:before{content:""}.bi-files-alt:before{content:""}.bi-files:before{content:""}.bi-film:before{content:""}.bi-filter-circle-fill:before{content:""}.bi-filter-circle:before{content:""}.bi-filter-left:before{content:""}.bi-filter-right:before{content:""}.bi-filter-square-fill:before{content:""}.bi-filter-square:before{content:""}.bi-filter:before{content:""}.bi-flag-fill:before{content:""}.bi-flag:before{content:""}.bi-flower1:before{content:""}.bi-flower2:before{content:""}.bi-flower3:before{content:""}.bi-folder-check:before{content:""}.bi-folder-fill:before{content:""}.bi-folder-minus:before{content:""}.bi-folder-plus:before{content:""}.bi-folder-symlink-fill:before{content:""}.bi-folder-symlink:before{content:""}.bi-folder-x:before{content:""}.bi-folder:before{content:""}.bi-folder2-open:before{content:""}.bi-folder2:before{content:""}.bi-fonts:before{content:""}.bi-forward-fill:before{content:""}.bi-forward:before{content:""}.bi-front:before{content:""}.bi-fullscreen-exit:before{content:""}.bi-fullscreen:before{content:""}.bi-funnel-fill:before{content:""}.bi-funnel:before{content:""}.bi-gear-fill:before{content:""}.bi-gear-wide-connected:before{content:""}.bi-gear-wide:before{content:""}.bi-gear:before{content:""}.bi-gem:before{content:""}.bi-geo-alt-fill:before{content:""}.bi-geo-alt:before{content:""}.bi-geo-fill:before{content:""}.bi-geo:before{content:""}.bi-gift-fill:before{content:""}.bi-gift:before{content:""}.bi-github:before{content:""}.bi-globe:before{content:""}.bi-globe2:before{content:""}.bi-google:before{content:""}.bi-graph-down:before{content:""}.bi-graph-up:before{content:""}.bi-grid-1x2-fill:before{content:""}.bi-grid-1x2:before{content:""}.bi-grid-3x2-gap-fill:before{content:""}.bi-grid-3x2-gap:before{content:""}.bi-grid-3x2:before{content:""}.bi-grid-3x3-gap-fill:before{content:""}.bi-grid-3x3-gap:before{content:""}.bi-grid-3x3:before{content:""}.bi-grid-fill:before{content:""}.bi-grid:before{content:""}.bi-grip-horizontal:before{content:""}.bi-grip-vertical:before{content:""}.bi-hammer:before{content:""}.bi-hand-index-fill:before{content:""}.bi-hand-index-thumb-fill:before{content:""}.bi-hand-index-thumb:before{content:""}.bi-hand-index:before{content:""}.bi-hand-thumbs-down-fill:before{content:""}.bi-hand-thumbs-down:before{content:""}.bi-hand-thumbs-up-fill:before{content:""}.bi-hand-thumbs-up:before{content:""}.bi-handbag-fill:before{content:""}.bi-handbag:before{content:""}.bi-hash:before{content:""}.bi-hdd-fill:before{content:""}.bi-hdd-network-fill:before{content:""}.bi-hdd-network:before{content:""}.bi-hdd-rack-fill:before{content:""}.bi-hdd-rack:before{content:""}.bi-hdd-stack-fill:before{content:""}.bi-hdd-stack:before{content:""}.bi-hdd:before{content:""}.bi-headphones:before{content:""}.bi-headset:before{content:""}.bi-heart-fill:before{content:""}.bi-heart-half:before{content:""}.bi-heart:before{content:""}.bi-heptagon-fill:before{content:""}.bi-heptagon-half:before{content:""}.bi-heptagon:before{content:""}.bi-hexagon-fill:before{content:""}.bi-hexagon-half:before{content:""}.bi-hexagon:before{content:""}.bi-hourglass-bottom:before{content:""}.bi-hourglass-split:before{content:""}.bi-hourglass-top:before{content:""}.bi-hourglass:before{content:""}.bi-house-door-fill:before{content:""}.bi-house-door:before{content:""}.bi-house-fill:before{content:""}.bi-house:before{content:""}.bi-hr:before{content:""}.bi-hurricane:before{content:""}.bi-image-alt:before{content:""}.bi-image-fill:before{content:""}.bi-image:before{content:""}.bi-images:before{content:""}.bi-inbox-fill:before{content:""}.bi-inbox:before{content:""}.bi-inboxes-fill:before{content:""}.bi-inboxes:before{content:""}.bi-info-circle-fill:before{content:""}.bi-info-circle:before{content:""}.bi-info-square-fill:before{content:""}.bi-info-square:before{content:""}.bi-info:before{content:""}.bi-input-cursor-text:before{content:""}.bi-input-cursor:before{content:""}.bi-instagram:before{content:""}.bi-intersect:before{content:""}.bi-journal-album:before{content:""}.bi-journal-arrow-down:before{content:""}.bi-journal-arrow-up:before{content:""}.bi-journal-bookmark-fill:before{content:""}.bi-journal-bookmark:before{content:""}.bi-journal-check:before{content:""}.bi-journal-code:before{content:""}.bi-journal-medical:before{content:""}.bi-journal-minus:before{content:""}.bi-journal-plus:before{content:""}.bi-journal-richtext:before{content:""}.bi-journal-text:before{content:""}.bi-journal-x:before{content:""}.bi-journal:before{content:""}.bi-journals:before{content:""}.bi-joystick:before{content:""}.bi-justify-left:before{content:""}.bi-justify-right:before{content:""}.bi-justify:before{content:""}.bi-kanban-fill:before{content:""}.bi-kanban:before{content:""}.bi-key-fill:before{content:""}.bi-key:before{content:""}.bi-keyboard-fill:before{content:""}.bi-keyboard:before{content:""}.bi-ladder:before{content:""}.bi-lamp-fill:before{content:""}.bi-lamp:before{content:""}.bi-laptop-fill:before{content:""}.bi-laptop:before{content:""}.bi-layer-backward:before{content:""}.bi-layer-forward:before{content:""}.bi-layers-fill:before{content:""}.bi-layers-half:before{content:""}.bi-layers:before{content:""}.bi-layout-sidebar-inset-reverse:before{content:""}.bi-layout-sidebar-inset:before{content:""}.bi-layout-sidebar-reverse:before{content:""}.bi-layout-sidebar:before{content:""}.bi-layout-split:before{content:""}.bi-layout-text-sidebar-reverse:before{content:""}.bi-layout-text-sidebar:before{content:""}.bi-layout-text-window-reverse:before{content:""}.bi-layout-text-window:before{content:""}.bi-layout-three-columns:before{content:""}.bi-layout-wtf:before{content:""}.bi-life-preserver:before{content:""}.bi-lightbulb-fill:before{content:""}.bi-lightbulb-off-fill:before{content:""}.bi-lightbulb-off:before{content:""}.bi-lightbulb:before{content:""}.bi-lightning-charge-fill:before{content:""}.bi-lightning-charge:before{content:""}.bi-lightning-fill:before{content:""}.bi-lightning:before{content:""}.bi-link-45deg:before{content:""}.bi-link:before{content:""}.bi-linkedin:before{content:""}.bi-list-check:before{content:""}.bi-list-nested:before{content:""}.bi-list-ol:before{content:""}.bi-list-stars:before{content:""}.bi-list-task:before{content:""}.bi-list-ul:before{content:""}.bi-list:before{content:""}.bi-lock-fill:before{content:""}.bi-lock:before{content:""}.bi-mailbox:before{content:""}.bi-mailbox2:before{content:""}.bi-map-fill:before{content:""}.bi-map:before{content:""}.bi-markdown-fill:before{content:""}.bi-markdown:before{content:""}.bi-mask:before{content:""}.bi-megaphone-fill:before{content:""}.bi-megaphone:before{content:""}.bi-menu-app-fill:before{content:""}.bi-menu-app:before{content:""}.bi-menu-button-fill:before{content:""}.bi-menu-button-wide-fill:before{content:""}.bi-menu-button-wide:before{content:""}.bi-menu-button:before{content:""}.bi-menu-down:before{content:""}.bi-menu-up:before{content:""}.bi-mic-fill:before{content:""}.bi-mic-mute-fill:before{content:""}.bi-mic-mute:before{content:""}.bi-mic:before{content:""}.bi-minecart-loaded:before{content:""}.bi-minecart:before{content:""}.bi-moisture:before{content:""}.bi-moon-fill:before{content:""}.bi-moon-stars-fill:before{content:""}.bi-moon-stars:before{content:""}.bi-moon:before{content:""}.bi-mouse-fill:before{content:""}.bi-mouse:before{content:""}.bi-mouse2-fill:before{content:""}.bi-mouse2:before{content:""}.bi-mouse3-fill:before{content:""}.bi-mouse3:before{content:""}.bi-music-note-beamed:before{content:""}.bi-music-note-list:before{content:""}.bi-music-note:before{content:""}.bi-music-player-fill:before{content:""}.bi-music-player:before{content:""}.bi-newspaper:before{content:""}.bi-node-minus-fill:before{content:""}.bi-node-minus:before{content:""}.bi-node-plus-fill:before{content:""}.bi-node-plus:before{content:""}.bi-nut-fill:before{content:""}.bi-nut:before{content:""}.bi-octagon-fill:before{content:""}.bi-octagon-half:before{content:""}.bi-octagon:before{content:""}.bi-option:before{content:""}.bi-outlet:before{content:""}.bi-paint-bucket:before{content:""}.bi-palette-fill:before{content:""}.bi-palette:before{content:""}.bi-palette2:before{content:""}.bi-paperclip:before{content:""}.bi-paragraph:before{content:""}.bi-patch-check-fill:before{content:""}.bi-patch-check:before{content:""}.bi-patch-exclamation-fill:before{content:""}.bi-patch-exclamation:before{content:""}.bi-patch-minus-fill:before{content:""}.bi-patch-minus:before{content:""}.bi-patch-plus-fill:before{content:""}.bi-patch-plus:before{content:""}.bi-patch-question-fill:before{content:""}.bi-patch-question:before{content:""}.bi-pause-btn-fill:before{content:""}.bi-pause-btn:before{content:""}.bi-pause-circle-fill:before{content:""}.bi-pause-circle:before{content:""}.bi-pause-fill:before{content:""}.bi-pause:before{content:""}.bi-peace-fill:before{content:""}.bi-peace:before{content:""}.bi-pen-fill:before{content:""}.bi-pen:before{content:""}.bi-pencil-fill:before{content:""}.bi-pencil-square:before{content:""}.bi-pencil:before{content:""}.bi-pentagon-fill:before{content:""}.bi-pentagon-half:before{content:""}.bi-pentagon:before{content:""}.bi-people-fill:before{content:""}.bi-people:before{content:""}.bi-percent:before{content:""}.bi-person-badge-fill:before{content:""}.bi-person-badge:before{content:""}.bi-person-bounding-box:before{content:""}.bi-person-check-fill:before{content:""}.bi-person-check:before{content:""}.bi-person-circle:before{content:""}.bi-person-dash-fill:before{content:""}.bi-person-dash:before{content:""}.bi-person-fill:before{content:""}.bi-person-lines-fill:before{content:""}.bi-person-plus-fill:before{content:""}.bi-person-plus:before{content:""}.bi-person-square:before{content:""}.bi-person-x-fill:before{content:""}.bi-person-x:before{content:""}.bi-person:before{content:""}.bi-phone-fill:before{content:""}.bi-phone-landscape-fill:before{content:""}.bi-phone-landscape:before{content:""}.bi-phone-vibrate-fill:before{content:""}.bi-phone-vibrate:before{content:""}.bi-phone:before{content:""}.bi-pie-chart-fill:before{content:""}.bi-pie-chart:before{content:""}.bi-pin-angle-fill:before{content:""}.bi-pin-angle:before{content:""}.bi-pin-fill:before{content:""}.bi-pin:before{content:""}.bi-pip-fill:before{content:""}.bi-pip:before{content:""}.bi-play-btn-fill:before{content:""}.bi-play-btn:before{content:""}.bi-play-circle-fill:before{content:""}.bi-play-circle:before{content:""}.bi-play-fill:before{content:""}.bi-play:before{content:""}.bi-plug-fill:before{content:""}.bi-plug:before{content:""}.bi-plus-circle-dotted:before{content:""}.bi-plus-circle-fill:before{content:""}.bi-plus-circle:before{content:""}.bi-plus-square-dotted:before{content:""}.bi-plus-square-fill:before{content:""}.bi-plus-square:before{content:""}.bi-plus:before{content:""}.bi-power:before{content:""}.bi-printer-fill:before{content:""}.bi-printer:before{content:""}.bi-puzzle-fill:before{content:""}.bi-puzzle:before{content:""}.bi-question-circle-fill:before{content:""}.bi-question-circle:before{content:""}.bi-question-diamond-fill:before{content:""}.bi-question-diamond:before{content:""}.bi-question-octagon-fill:before{content:""}.bi-question-octagon:before{content:""}.bi-question-square-fill:before{content:""}.bi-question-square:before{content:""}.bi-question:before{content:""}.bi-rainbow:before{content:""}.bi-receipt-cutoff:before{content:""}.bi-receipt:before{content:""}.bi-reception-0:before{content:""}.bi-reception-1:before{content:""}.bi-reception-2:before{content:""}.bi-reception-3:before{content:""}.bi-reception-4:before{content:""}.bi-record-btn-fill:before{content:""}.bi-record-btn:before{content:""}.bi-record-circle-fill:before{content:""}.bi-record-circle:before{content:""}.bi-record-fill:before{content:""}.bi-record:before{content:""}.bi-record2-fill:before{content:""}.bi-record2:before{content:""}.bi-reply-all-fill:before{content:""}.bi-reply-all:before{content:""}.bi-reply-fill:before{content:""}.bi-reply:before{content:""}.bi-rss-fill:before{content:""}.bi-rss:before{content:""}.bi-rulers:before{content:""}.bi-save-fill:before{content:""}.bi-save:before{content:""}.bi-save2-fill:before{content:""}.bi-save2:before{content:""}.bi-scissors:before{content:""}.bi-screwdriver:before{content:""}.bi-search:before{content:""}.bi-segmented-nav:before{content:""}.bi-server:before{content:""}.bi-share-fill:before{content:""}.bi-share:before{content:""}.bi-shield-check:before{content:""}.bi-shield-exclamation:before{content:""}.bi-shield-fill-check:before{content:""}.bi-shield-fill-exclamation:before{content:""}.bi-shield-fill-minus:before{content:""}.bi-shield-fill-plus:before{content:""}.bi-shield-fill-x:before{content:""}.bi-shield-fill:before{content:""}.bi-shield-lock-fill:before{content:""}.bi-shield-lock:before{content:""}.bi-shield-minus:before{content:""}.bi-shield-plus:before{content:""}.bi-shield-shaded:before{content:""}.bi-shield-slash-fill:before{content:""}.bi-shield-slash:before{content:""}.bi-shield-x:before{content:""}.bi-shield:before{content:""}.bi-shift-fill:before{content:""}.bi-shift:before{content:""}.bi-shop-window:before{content:""}.bi-shop:before{content:""}.bi-shuffle:before{content:""}.bi-signpost-2-fill:before{content:""}.bi-signpost-2:before{content:""}.bi-signpost-fill:before{content:""}.bi-signpost-split-fill:before{content:""}.bi-signpost-split:before{content:""}.bi-signpost:before{content:""}.bi-sim-fill:before{content:""}.bi-sim:before{content:""}.bi-skip-backward-btn-fill:before{content:""}.bi-skip-backward-btn:before{content:""}.bi-skip-backward-circle-fill:before{content:""}.bi-skip-backward-circle:before{content:""}.bi-skip-backward-fill:before{content:""}.bi-skip-backward:before{content:""}.bi-skip-end-btn-fill:before{content:""}.bi-skip-end-btn:before{content:""}.bi-skip-end-circle-fill:before{content:""}.bi-skip-end-circle:before{content:""}.bi-skip-end-fill:before{content:""}.bi-skip-end:before{content:""}.bi-skip-forward-btn-fill:before{content:""}.bi-skip-forward-btn:before{content:""}.bi-skip-forward-circle-fill:before{content:""}.bi-skip-forward-circle:before{content:""}.bi-skip-forward-fill:before{content:""}.bi-skip-forward:before{content:""}.bi-skip-start-btn-fill:before{content:""}.bi-skip-start-btn:before{content:""}.bi-skip-start-circle-fill:before{content:""}.bi-skip-start-circle:before{content:""}.bi-skip-start-fill:before{content:""}.bi-skip-start:before{content:""}.bi-slack:before{content:""}.bi-slash-circle-fill:before{content:""}.bi-slash-circle:before{content:""}.bi-slash-square-fill:before{content:""}.bi-slash-square:before{content:""}.bi-slash:before{content:""}.bi-sliders:before{content:""}.bi-smartwatch:before{content:""}.bi-snow:before{content:""}.bi-snow2:before{content:""}.bi-snow3:before{content:""}.bi-sort-alpha-down-alt:before{content:""}.bi-sort-alpha-down:before{content:""}.bi-sort-alpha-up-alt:before{content:""}.bi-sort-alpha-up:before{content:""}.bi-sort-down-alt:before{content:""}.bi-sort-down:before{content:""}.bi-sort-numeric-down-alt:before{content:""}.bi-sort-numeric-down:before{content:""}.bi-sort-numeric-up-alt:before{content:""}.bi-sort-numeric-up:before{content:""}.bi-sort-up-alt:before{content:""}.bi-sort-up:before{content:""}.bi-soundwave:before{content:""}.bi-speaker-fill:before{content:""}.bi-speaker:before{content:""}.bi-speedometer:before{content:""}.bi-speedometer2:before{content:""}.bi-spellcheck:before{content:""}.bi-square-fill:before{content:""}.bi-square-half:before{content:""}.bi-square:before{content:""}.bi-stack:before{content:""}.bi-star-fill:before{content:""}.bi-star-half:before{content:""}.bi-star:before{content:""}.bi-stars:before{content:""}.bi-stickies-fill:before{content:""}.bi-stickies:before{content:""}.bi-sticky-fill:before{content:""}.bi-sticky:before{content:""}.bi-stop-btn-fill:before{content:""}.bi-stop-btn:before{content:""}.bi-stop-circle-fill:before{content:""}.bi-stop-circle:before{content:""}.bi-stop-fill:before{content:""}.bi-stop:before{content:""}.bi-stoplights-fill:before{content:""}.bi-stoplights:before{content:""}.bi-stopwatch-fill:before{content:""}.bi-stopwatch:before{content:""}.bi-subtract:before{content:""}.bi-suit-club-fill:before{content:""}.bi-suit-club:before{content:""}.bi-suit-diamond-fill:before{content:""}.bi-suit-diamond:before{content:""}.bi-suit-heart-fill:before{content:""}.bi-suit-heart:before{content:""}.bi-suit-spade-fill:before{content:""}.bi-suit-spade:before{content:""}.bi-sun-fill:before{content:""}.bi-sun:before{content:""}.bi-sunglasses:before{content:""}.bi-sunrise-fill:before{content:""}.bi-sunrise:before{content:""}.bi-sunset-fill:before{content:""}.bi-sunset:before{content:""}.bi-symmetry-horizontal:before{content:""}.bi-symmetry-vertical:before{content:""}.bi-table:before{content:""}.bi-tablet-fill:before{content:""}.bi-tablet-landscape-fill:before{content:""}.bi-tablet-landscape:before{content:""}.bi-tablet:before{content:""}.bi-tag-fill:before{content:""}.bi-tag:before{content:""}.bi-tags-fill:before{content:""}.bi-tags:before{content:""}.bi-telegram:before{content:""}.bi-telephone-fill:before{content:""}.bi-telephone-forward-fill:before{content:""}.bi-telephone-forward:before{content:""}.bi-telephone-inbound-fill:before{content:""}.bi-telephone-inbound:before{content:""}.bi-telephone-minus-fill:before{content:""}.bi-telephone-minus:before{content:""}.bi-telephone-outbound-fill:before{content:""}.bi-telephone-outbound:before{content:""}.bi-telephone-plus-fill:before{content:""}.bi-telephone-plus:before{content:""}.bi-telephone-x-fill:before{content:""}.bi-telephone-x:before{content:""}.bi-telephone:before{content:""}.bi-terminal-fill:before{content:""}.bi-terminal:before{content:""}.bi-text-center:before{content:""}.bi-text-indent-left:before{content:""}.bi-text-indent-right:before{content:""}.bi-text-left:before{content:""}.bi-text-paragraph:before{content:""}.bi-text-right:before{content:""}.bi-textarea-resize:before{content:""}.bi-textarea-t:before{content:""}.bi-textarea:before{content:""}.bi-thermometer-half:before{content:""}.bi-thermometer-high:before{content:""}.bi-thermometer-low:before{content:""}.bi-thermometer-snow:before{content:""}.bi-thermometer-sun:before{content:""}.bi-thermometer:before{content:""}.bi-three-dots-vertical:before{content:""}.bi-three-dots:before{content:""}.bi-toggle-off:before{content:""}.bi-toggle-on:before{content:""}.bi-toggle2-off:before{content:""}.bi-toggle2-on:before{content:""}.bi-toggles:before{content:""}.bi-toggles2:before{content:""}.bi-tools:before{content:""}.bi-tornado:before{content:""}.bi-trash-fill:before{content:""}.bi-trash:before{content:""}.bi-trash2-fill:before{content:""}.bi-trash2:before{content:""}.bi-tree-fill:before{content:""}.bi-tree:before{content:""}.bi-triangle-fill:before{content:""}.bi-triangle-half:before{content:""}.bi-triangle:before{content:""}.bi-trophy-fill:before{content:""}.bi-trophy:before{content:""}.bi-tropical-storm:before{content:""}.bi-truck-flatbed:before{content:""}.bi-truck:before{content:""}.bi-tsunami:before{content:""}.bi-tv-fill:before{content:""}.bi-tv:before{content:""}.bi-twitch:before{content:""}.bi-twitter:before{content:""}.bi-type-bold:before{content:""}.bi-type-h1:before{content:""}.bi-type-h2:before{content:""}.bi-type-h3:before{content:""}.bi-type-italic:before{content:""}.bi-type-strikethrough:before{content:""}.bi-type-underline:before{content:""}.bi-type:before{content:""}.bi-ui-checks-grid:before{content:""}.bi-ui-checks:before{content:""}.bi-ui-radios-grid:before{content:""}.bi-ui-radios:before{content:""}.bi-umbrella-fill:before{content:""}.bi-umbrella:before{content:""}.bi-union:before{content:""}.bi-unlock-fill:before{content:""}.bi-unlock:before{content:""}.bi-upc-scan:before{content:""}.bi-upc:before{content:""}.bi-upload:before{content:""}.bi-vector-pen:before{content:""}.bi-view-list:before{content:""}.bi-view-stacked:before{content:""}.bi-vinyl-fill:before{content:""}.bi-vinyl:before{content:""}.bi-voicemail:before{content:""}.bi-volume-down-fill:before{content:""}.bi-volume-down:before{content:""}.bi-volume-mute-fill:before{content:""}.bi-volume-mute:before{content:""}.bi-volume-off-fill:before{content:""}.bi-volume-off:before{content:""}.bi-volume-up-fill:before{content:""}.bi-volume-up:before{content:""}.bi-vr:before{content:""}.bi-wallet-fill:before{content:""}.bi-wallet:before{content:""}.bi-wallet2:before{content:""}.bi-watch:before{content:""}.bi-water:before{content:""}.bi-whatsapp:before{content:""}.bi-wifi-1:before{content:""}.bi-wifi-2:before{content:""}.bi-wifi-off:before{content:""}.bi-wifi:before{content:""}.bi-wind:before{content:""}.bi-window-dock:before{content:""}.bi-window-sidebar:before{content:""}.bi-window:before{content:""}.bi-wrench:before{content:""}.bi-x-circle-fill:before{content:""}.bi-x-circle:before{content:""}.bi-x-diamond-fill:before{content:""}.bi-x-diamond:before{content:""}.bi-x-octagon-fill:before{content:""}.bi-x-octagon:before{content:""}.bi-x-square-fill:before{content:""}.bi-x-square:before{content:""}.bi-x:before{content:""}.bi-youtube:before{content:""}.bi-zoom-in:before{content:""}.bi-zoom-out:before{content:""}.bi-bank:before{content:""}.bi-bank2:before{content:""}.bi-bell-slash-fill:before{content:""}.bi-bell-slash:before{content:""}.bi-cash-coin:before{content:""}.bi-check-lg:before{content:""}.bi-coin:before{content:""}.bi-currency-bitcoin:before{content:""}.bi-currency-dollar:before{content:""}.bi-currency-euro:before{content:""}.bi-currency-exchange:before{content:""}.bi-currency-pound:before{content:""}.bi-currency-yen:before{content:""}.bi-dash-lg:before{content:""}.bi-exclamation-lg:before{content:""}.bi-file-earmark-pdf-fill:before{content:""}.bi-file-earmark-pdf:before{content:""}.bi-file-pdf-fill:before{content:""}.bi-file-pdf:before{content:""}.bi-gender-ambiguous:before{content:""}.bi-gender-female:before{content:""}.bi-gender-male:before{content:""}.bi-gender-trans:before{content:""}.bi-headset-vr:before{content:""}.bi-info-lg:before{content:""}.bi-mastodon:before{content:""}.bi-messenger:before{content:""}.bi-piggy-bank-fill:before{content:""}.bi-piggy-bank:before{content:""}.bi-pin-map-fill:before{content:""}.bi-pin-map:before{content:""}.bi-plus-lg:before{content:""}.bi-question-lg:before{content:""}.bi-recycle:before{content:""}.bi-reddit:before{content:""}.bi-safe-fill:before{content:""}.bi-safe2-fill:before{content:""}.bi-safe2:before{content:""}.bi-sd-card-fill:before{content:""}.bi-sd-card:before{content:""}.bi-skype:before{content:""}.bi-slash-lg:before{content:""}.bi-translate:before{content:""}.bi-x-lg:before{content:""}.bi-safe:before{content:""}.bi-apple:before{content:""}.bi-microsoft:before{content:""}.bi-windows:before{content:""}.bi-behance:before{content:""}.bi-dribbble:before{content:""}.bi-line:before{content:""}.bi-medium:before{content:""}.bi-paypal:before{content:""}.bi-pinterest:before{content:""}.bi-signal:before{content:""}.bi-snapchat:before{content:""}.bi-spotify:before{content:""}.bi-stack-overflow:before{content:""}.bi-strava:before{content:""}.bi-wordpress:before{content:""}.bi-vimeo:before{content:""}.bi-activity:before{content:""}.bi-easel2-fill:before{content:""}.bi-easel2:before{content:""}.bi-easel3-fill:before{content:""}.bi-easel3:before{content:""}.bi-fan:before{content:""}.bi-fingerprint:before{content:""}.bi-graph-down-arrow:before{content:""}.bi-graph-up-arrow:before{content:""}.bi-hypnotize:before{content:""}.bi-magic:before{content:""}.bi-person-rolodex:before{content:""}.bi-person-video:before{content:""}.bi-person-video2:before{content:""}.bi-person-video3:before{content:""}.bi-person-workspace:before{content:""}.bi-radioactive:before{content:""}.bi-webcam-fill:before{content:""}.bi-webcam:before{content:""}.bi-yin-yang:before{content:""}.bi-bandaid-fill:before{content:""}.bi-bandaid:before{content:""}.bi-bluetooth:before{content:""}.bi-body-text:before{content:""}.bi-boombox:before{content:""}.bi-boxes:before{content:""}.bi-dpad-fill:before{content:""}.bi-dpad:before{content:""}.bi-ear-fill:before{content:""}.bi-ear:before{content:""}.bi-envelope-check-fill:before{content:""}.bi-envelope-check:before{content:""}.bi-envelope-dash-fill:before{content:""}.bi-envelope-dash:before{content:""}.bi-envelope-exclamation-fill:before{content:""}.bi-envelope-exclamation:before{content:""}.bi-envelope-plus-fill:before{content:""}.bi-envelope-plus:before{content:""}.bi-envelope-slash-fill:before{content:""}.bi-envelope-slash:before{content:""}.bi-envelope-x-fill:before{content:""}.bi-envelope-x:before{content:""}.bi-explicit-fill:before{content:""}.bi-explicit:before{content:""}.bi-git:before{content:""}.bi-infinity:before{content:""}.bi-list-columns-reverse:before{content:""}.bi-list-columns:before{content:""}.bi-meta:before{content:""}.bi-nintendo-switch:before{content:""}.bi-pc-display-horizontal:before{content:""}.bi-pc-display:before{content:""}.bi-pc-horizontal:before{content:""}.bi-pc:before{content:""}.bi-playstation:before{content:""}.bi-plus-slash-minus:before{content:""}.bi-projector-fill:before{content:""}.bi-projector:before{content:""}.bi-qr-code-scan:before{content:""}.bi-qr-code:before{content:""}.bi-quora:before{content:""}.bi-quote:before{content:""}.bi-robot:before{content:""}.bi-send-check-fill:before{content:""}.bi-send-check:before{content:""}.bi-send-dash-fill:before{content:""}.bi-send-dash:before{content:""}.bi-send-exclamation-fill:before{content:""}.bi-send-exclamation:before{content:""}.bi-send-fill:before{content:""}.bi-send-plus-fill:before{content:""}.bi-send-plus:before{content:""}.bi-send-slash-fill:before{content:""}.bi-send-slash:before{content:""}.bi-send-x-fill:before{content:""}.bi-send-x:before{content:""}.bi-send:before{content:""}.bi-steam:before{content:""}.bi-terminal-dash:before{content:""}.bi-terminal-plus:before{content:""}.bi-terminal-split:before{content:""}.bi-ticket-detailed-fill:before{content:""}.bi-ticket-detailed:before{content:""}.bi-ticket-fill:before{content:""}.bi-ticket-perforated-fill:before{content:""}.bi-ticket-perforated:before{content:""}.bi-ticket:before{content:""}.bi-tiktok:before{content:""}.bi-window-dash:before{content:""}.bi-window-desktop:before{content:""}.bi-window-fullscreen:before{content:""}.bi-window-plus:before{content:""}.bi-window-split:before{content:""}.bi-window-stack:before{content:""}.bi-window-x:before{content:""}.bi-xbox:before{content:""}.bi-ethernet:before{content:""}.bi-hdmi-fill:before{content:""}.bi-hdmi:before{content:""}.bi-usb-c-fill:before{content:""}.bi-usb-c:before{content:""}.bi-usb-fill:before{content:""}.bi-usb-plug-fill:before{content:""}.bi-usb-plug:before{content:""}.bi-usb-symbol:before{content:""}.bi-usb:before{content:""}.bi-boombox-fill:before{content:""}.bi-displayport:before{content:""}.bi-gpu-card:before{content:""}.bi-memory:before{content:""}.bi-modem-fill:before{content:""}.bi-modem:before{content:""}.bi-motherboard-fill:before{content:""}.bi-motherboard:before{content:""}.bi-optical-audio-fill:before{content:""}.bi-optical-audio:before{content:""}.bi-pci-card:before{content:""}.bi-router-fill:before{content:""}.bi-router:before{content:""}.bi-thunderbolt-fill:before{content:""}.bi-thunderbolt:before{content:""}.bi-usb-drive-fill:before{content:""}.bi-usb-drive:before{content:""}.bi-usb-micro-fill:before{content:""}.bi-usb-micro:before{content:""}.bi-usb-mini-fill:before{content:""}.bi-usb-mini:before{content:""}.bi-cloud-haze2:before{content:""}.bi-device-hdd-fill:before{content:""}.bi-device-hdd:before{content:""}.bi-device-ssd-fill:before{content:""}.bi-device-ssd:before{content:""}.bi-displayport-fill:before{content:""}.bi-mortarboard-fill:before{content:""}.bi-mortarboard:before{content:""}.bi-terminal-x:before{content:""}.bi-arrow-through-heart-fill:before{content:""}.bi-arrow-through-heart:before{content:""}.bi-badge-sd-fill:before{content:""}.bi-badge-sd:before{content:""}.bi-bag-heart-fill:before{content:""}.bi-bag-heart:before{content:""}.bi-balloon-fill:before{content:""}.bi-balloon-heart-fill:before{content:""}.bi-balloon-heart:before{content:""}.bi-balloon:before{content:""}.bi-box2-fill:before{content:""}.bi-box2-heart-fill:before{content:""}.bi-box2-heart:before{content:""}.bi-box2:before{content:""}.bi-braces-asterisk:before{content:""}.bi-calendar-heart-fill:before{content:""}.bi-calendar-heart:before{content:""}.bi-calendar2-heart-fill:before{content:""}.bi-calendar2-heart:before{content:""}.bi-chat-heart-fill:before{content:""}.bi-chat-heart:before{content:""}.bi-chat-left-heart-fill:before{content:""}.bi-chat-left-heart:before{content:""}.bi-chat-right-heart-fill:before{content:""}.bi-chat-right-heart:before{content:""}.bi-chat-square-heart-fill:before{content:""}.bi-chat-square-heart:before{content:""}.bi-clipboard-check-fill:before{content:""}.bi-clipboard-data-fill:before{content:""}.bi-clipboard-fill:before{content:""}.bi-clipboard-heart-fill:before{content:""}.bi-clipboard-heart:before{content:""}.bi-clipboard-minus-fill:before{content:""}.bi-clipboard-plus-fill:before{content:""}.bi-clipboard-pulse:before{content:""}.bi-clipboard-x-fill:before{content:""}.bi-clipboard2-check-fill:before{content:""}.bi-clipboard2-check:before{content:""}.bi-clipboard2-data-fill:before{content:""}.bi-clipboard2-data:before{content:""}.bi-clipboard2-fill:before{content:""}.bi-clipboard2-heart-fill:before{content:""}.bi-clipboard2-heart:before{content:""}.bi-clipboard2-minus-fill:before{content:""}.bi-clipboard2-minus:before{content:""}.bi-clipboard2-plus-fill:before{content:""}.bi-clipboard2-plus:before{content:""}.bi-clipboard2-pulse-fill:before{content:""}.bi-clipboard2-pulse:before{content:""}.bi-clipboard2-x-fill:before{content:""}.bi-clipboard2-x:before{content:""}.bi-clipboard2:before{content:""}.bi-emoji-kiss-fill:before{content:""}.bi-emoji-kiss:before{content:""}.bi-envelope-heart-fill:before{content:""}.bi-envelope-heart:before{content:""}.bi-envelope-open-heart-fill:before{content:""}.bi-envelope-open-heart:before{content:""}.bi-envelope-paper-fill:before{content:""}.bi-envelope-paper-heart-fill:before{content:""}.bi-envelope-paper-heart:before{content:""}.bi-envelope-paper:before{content:""}.bi-filetype-aac:before{content:""}.bi-filetype-ai:before{content:""}.bi-filetype-bmp:before{content:""}.bi-filetype-cs:before{content:""}.bi-filetype-css:before{content:""}.bi-filetype-csv:before{content:""}.bi-filetype-doc:before{content:""}.bi-filetype-docx:before{content:""}.bi-filetype-exe:before{content:""}.bi-filetype-gif:before{content:""}.bi-filetype-heic:before{content:""}.bi-filetype-html:before{content:""}.bi-filetype-java:before{content:""}.bi-filetype-jpg:before{content:""}.bi-filetype-js:before{content:""}.bi-filetype-jsx:before{content:""}.bi-filetype-key:before{content:""}.bi-filetype-m4p:before{content:""}.bi-filetype-md:before{content:""}.bi-filetype-mdx:before{content:""}.bi-filetype-mov:before{content:""}.bi-filetype-mp3:before{content:""}.bi-filetype-mp4:before{content:""}.bi-filetype-otf:before{content:""}.bi-filetype-pdf:before{content:""}.bi-filetype-php:before{content:""}.bi-filetype-png:before{content:""}.bi-filetype-ppt:before{content:""}.bi-filetype-psd:before{content:""}.bi-filetype-py:before{content:""}.bi-filetype-raw:before{content:""}.bi-filetype-rb:before{content:""}.bi-filetype-sass:before{content:""}.bi-filetype-scss:before{content:""}.bi-filetype-sh:before{content:""}.bi-filetype-svg:before{content:""}.bi-filetype-tiff:before{content:""}.bi-filetype-tsx:before{content:""}.bi-filetype-ttf:before{content:""}.bi-filetype-txt:before{content:""}.bi-filetype-wav:before{content:""}.bi-filetype-woff:before{content:""}.bi-filetype-xls:before{content:""}.bi-filetype-xml:before{content:""}.bi-filetype-yml:before{content:""}.bi-heart-arrow:before{content:""}.bi-heart-pulse-fill:before{content:""}.bi-heart-pulse:before{content:""}.bi-heartbreak-fill:before{content:""}.bi-heartbreak:before{content:""}.bi-hearts:before{content:""}.bi-hospital-fill:before{content:""}.bi-hospital:before{content:""}.bi-house-heart-fill:before{content:""}.bi-house-heart:before{content:""}.bi-incognito:before{content:""}.bi-magnet-fill:before{content:""}.bi-magnet:before{content:""}.bi-person-heart:before{content:""}.bi-person-hearts:before{content:""}.bi-phone-flip:before{content:""}.bi-plugin:before{content:""}.bi-postage-fill:before{content:""}.bi-postage-heart-fill:before{content:""}.bi-postage-heart:before{content:""}.bi-postage:before{content:""}.bi-postcard-fill:before{content:""}.bi-postcard-heart-fill:before{content:""}.bi-postcard-heart:before{content:""}.bi-postcard:before{content:""}.bi-search-heart-fill:before{content:""}.bi-search-heart:before{content:""}.bi-sliders2-vertical:before{content:""}.bi-sliders2:before{content:""}.bi-trash3-fill:before{content:""}.bi-trash3:before{content:""}.bi-valentine:before{content:""}.bi-valentine2:before{content:""}.bi-wrench-adjustable-circle-fill:before{content:""}.bi-wrench-adjustable-circle:before{content:""}.bi-wrench-adjustable:before{content:""}.bi-filetype-json:before{content:""}.bi-filetype-pptx:before{content:""}.bi-filetype-xlsx:before{content:""}.bi-1-circle-fill:before{content:""}.bi-1-circle:before{content:""}.bi-1-square-fill:before{content:""}.bi-1-square:before{content:""}.bi-2-circle-fill:before{content:""}.bi-2-circle:before{content:""}.bi-2-square-fill:before{content:""}.bi-2-square:before{content:""}.bi-3-circle-fill:before{content:""}.bi-3-circle:before{content:""}.bi-3-square-fill:before{content:""}.bi-3-square:before{content:""}.bi-4-circle-fill:before{content:""}.bi-4-circle:before{content:""}.bi-4-square-fill:before{content:""}.bi-4-square:before{content:""}.bi-5-circle-fill:before{content:""}.bi-5-circle:before{content:""}.bi-5-square-fill:before{content:""}.bi-5-square:before{content:""}.bi-6-circle-fill:before{content:""}.bi-6-circle:before{content:""}.bi-6-square-fill:before{content:""}.bi-6-square:before{content:""}.bi-7-circle-fill:before{content:""}.bi-7-circle:before{content:""}.bi-7-square-fill:before{content:""}.bi-7-square:before{content:""}.bi-8-circle-fill:before{content:""}.bi-8-circle:before{content:""}.bi-8-square-fill:before{content:""}.bi-8-square:before{content:""}.bi-9-circle-fill:before{content:""}.bi-9-circle:before{content:""}.bi-9-square-fill:before{content:""}.bi-9-square:before{content:""}.bi-airplane-engines-fill:before{content:""}.bi-airplane-engines:before{content:""}.bi-airplane-fill:before{content:""}.bi-airplane:before{content:""}.bi-alexa:before{content:""}.bi-alipay:before{content:""}.bi-android:before{content:""}.bi-android2:before{content:""}.bi-box-fill:before{content:""}.bi-box-seam-fill:before{content:""}.bi-browser-chrome:before{content:""}.bi-browser-edge:before{content:""}.bi-browser-firefox:before{content:""}.bi-browser-safari:before{content:""}.bi-c-circle-fill:before{content:""}.bi-c-circle:before{content:""}.bi-c-square-fill:before{content:""}.bi-c-square:before{content:""}.bi-capsule-pill:before{content:""}.bi-capsule:before{content:""}.bi-car-front-fill:before{content:""}.bi-car-front:before{content:""}.bi-cassette-fill:before{content:""}.bi-cassette:before{content:""}.bi-cc-circle-fill:before{content:""}.bi-cc-circle:before{content:""}.bi-cc-square-fill:before{content:""}.bi-cc-square:before{content:""}.bi-cup-hot-fill:before{content:""}.bi-cup-hot:before{content:""}.bi-currency-rupee:before{content:""}.bi-dropbox:before{content:""}.bi-escape:before{content:""}.bi-fast-forward-btn-fill:before{content:""}.bi-fast-forward-btn:before{content:""}.bi-fast-forward-circle-fill:before{content:""}.bi-fast-forward-circle:before{content:""}.bi-fast-forward-fill:before{content:""}.bi-fast-forward:before{content:""}.bi-filetype-sql:before{content:""}.bi-fire:before{content:""}.bi-google-play:before{content:""}.bi-h-circle-fill:before{content:""}.bi-h-circle:before{content:""}.bi-h-square-fill:before{content:""}.bi-h-square:before{content:""}.bi-indent:before{content:""}.bi-lungs-fill:before{content:""}.bi-lungs:before{content:""}.bi-microsoft-teams:before{content:""}.bi-p-circle-fill:before{content:""}.bi-p-circle:before{content:""}.bi-p-square-fill:before{content:""}.bi-p-square:before{content:""}.bi-pass-fill:before{content:""}.bi-pass:before{content:""}.bi-prescription:before{content:""}.bi-prescription2:before{content:""}.bi-r-circle-fill:before{content:""}.bi-r-circle:before{content:""}.bi-r-square-fill:before{content:""}.bi-r-square:before{content:""}.bi-repeat-1:before{content:""}.bi-repeat:before{content:""}.bi-rewind-btn-fill:before{content:""}.bi-rewind-btn:before{content:""}.bi-rewind-circle-fill:before{content:""}.bi-rewind-circle:before{content:""}.bi-rewind-fill:before{content:""}.bi-rewind:before{content:""}.bi-train-freight-front-fill:before{content:""}.bi-train-freight-front:before{content:""}.bi-train-front-fill:before{content:""}.bi-train-front:before{content:""}.bi-train-lightrail-front-fill:before{content:""}.bi-train-lightrail-front:before{content:""}.bi-truck-front-fill:before{content:""}.bi-truck-front:before{content:""}.bi-ubuntu:before{content:""}.bi-unindent:before{content:""}.bi-unity:before{content:""}.bi-universal-access-circle:before{content:""}.bi-universal-access:before{content:""}.bi-virus:before{content:""}.bi-virus2:before{content:""}.bi-wechat:before{content:""}.bi-yelp:before{content:""}.bi-sign-stop-fill:before{content:""}.bi-sign-stop-lights-fill:before{content:""}.bi-sign-stop-lights:before{content:""}.bi-sign-stop:before{content:""}.bi-sign-turn-left-fill:before{content:""}.bi-sign-turn-left:before{content:""}.bi-sign-turn-right-fill:before{content:""}.bi-sign-turn-right:before{content:""}.bi-sign-turn-slight-left-fill:before{content:""}.bi-sign-turn-slight-left:before{content:""}.bi-sign-turn-slight-right-fill:before{content:""}.bi-sign-turn-slight-right:before{content:""}.bi-sign-yield-fill:before{content:""}.bi-sign-yield:before{content:""}.bi-ev-station-fill:before{content:""}.bi-ev-station:before{content:""}.bi-fuel-pump-diesel-fill:before{content:""}.bi-fuel-pump-diesel:before{content:""}.bi-fuel-pump-fill:before{content:""}.bi-fuel-pump:before{content:""}.bi-0-circle-fill:before{content:""}.bi-0-circle:before{content:""}.bi-0-square-fill:before{content:""}.bi-0-square:before{content:""}.bi-rocket-fill:before{content:""}.bi-rocket-takeoff-fill:before{content:""}.bi-rocket-takeoff:before{content:""}.bi-rocket:before{content:""}.bi-stripe:before{content:""}.bi-subscript:before{content:""}.bi-superscript:before{content:""}.bi-trello:before{content:""}.bi-envelope-at-fill:before{content:""}.bi-envelope-at:before{content:""}.bi-regex:before{content:""}.bi-text-wrap:before{content:""}.bi-sign-dead-end-fill:before{content:""}.bi-sign-dead-end:before{content:""}.bi-sign-do-not-enter-fill:before{content:""}.bi-sign-do-not-enter:before{content:""}.bi-sign-intersection-fill:before{content:""}.bi-sign-intersection-side-fill:before{content:""}.bi-sign-intersection-side:before{content:""}.bi-sign-intersection-t-fill:before{content:""}.bi-sign-intersection-t:before{content:""}.bi-sign-intersection-y-fill:before{content:""}.bi-sign-intersection-y:before{content:""}.bi-sign-intersection:before{content:""}.bi-sign-merge-left-fill:before{content:""}.bi-sign-merge-left:before{content:""}.bi-sign-merge-right-fill:before{content:""}.bi-sign-merge-right:before{content:""}.bi-sign-no-left-turn-fill:before{content:""}.bi-sign-no-left-turn:before{content:""}.bi-sign-no-parking-fill:before{content:""}.bi-sign-no-parking:before{content:""}.bi-sign-no-right-turn-fill:before{content:""}.bi-sign-no-right-turn:before{content:""}.bi-sign-railroad-fill:before{content:""}.bi-sign-railroad:before{content:""}.bi-building-add:before{content:""}.bi-building-check:before{content:""}.bi-building-dash:before{content:""}.bi-building-down:before{content:""}.bi-building-exclamation:before{content:""}.bi-building-fill-add:before{content:""}.bi-building-fill-check:before{content:""}.bi-building-fill-dash:before{content:""}.bi-building-fill-down:before{content:""}.bi-building-fill-exclamation:before{content:""}.bi-building-fill-gear:before{content:""}.bi-building-fill-lock:before{content:""}.bi-building-fill-slash:before{content:""}.bi-building-fill-up:before{content:""}.bi-building-fill-x:before{content:""}.bi-building-fill:before{content:""}.bi-building-gear:before{content:""}.bi-building-lock:before{content:""}.bi-building-slash:before{content:""}.bi-building-up:before{content:""}.bi-building-x:before{content:""}.bi-buildings-fill:before{content:""}.bi-buildings:before{content:""}.bi-bus-front-fill:before{content:""}.bi-bus-front:before{content:""}.bi-ev-front-fill:before{content:""}.bi-ev-front:before{content:""}.bi-globe-americas:before{content:""}.bi-globe-asia-australia:before{content:""}.bi-globe-central-south-asia:before{content:""}.bi-globe-europe-africa:before{content:""}.bi-house-add-fill:before{content:""}.bi-house-add:before{content:""}.bi-house-check-fill:before{content:""}.bi-house-check:before{content:""}.bi-house-dash-fill:before{content:""}.bi-house-dash:before{content:""}.bi-house-down-fill:before{content:""}.bi-house-down:before{content:""}.bi-house-exclamation-fill:before{content:""}.bi-house-exclamation:before{content:""}.bi-house-gear-fill:before{content:""}.bi-house-gear:before{content:""}.bi-house-lock-fill:before{content:""}.bi-house-lock:before{content:""}.bi-house-slash-fill:before{content:""}.bi-house-slash:before{content:""}.bi-house-up-fill:before{content:""}.bi-house-up:before{content:""}.bi-house-x-fill:before{content:""}.bi-house-x:before{content:""}.bi-person-add:before{content:""}.bi-person-down:before{content:""}.bi-person-exclamation:before{content:""}.bi-person-fill-add:before{content:""}.bi-person-fill-check:before{content:""}.bi-person-fill-dash:before{content:""}.bi-person-fill-down:before{content:""}.bi-person-fill-exclamation:before{content:""}.bi-person-fill-gear:before{content:""}.bi-person-fill-lock:before{content:""}.bi-person-fill-slash:before{content:""}.bi-person-fill-up:before{content:""}.bi-person-fill-x:before{content:""}.bi-person-gear:before{content:""}.bi-person-lock:before{content:""}.bi-person-slash:before{content:""}.bi-person-up:before{content:""}.bi-scooter:before{content:""}.bi-taxi-front-fill:before{content:""}.bi-taxi-front:before{content:""}.bi-amd:before{content:""}.bi-database-add:before{content:""}.bi-database-check:before{content:""}.bi-database-dash:before{content:""}.bi-database-down:before{content:""}.bi-database-exclamation:before{content:""}.bi-database-fill-add:before{content:""}.bi-database-fill-check:before{content:""}.bi-database-fill-dash:before{content:""}.bi-database-fill-down:before{content:""}.bi-database-fill-exclamation:before{content:""}.bi-database-fill-gear:before{content:""}.bi-database-fill-lock:before{content:""}.bi-database-fill-slash:before{content:""}.bi-database-fill-up:before{content:""}.bi-database-fill-x:before{content:""}.bi-database-fill:before{content:""}.bi-database-gear:before{content:""}.bi-database-lock:before{content:""}.bi-database-slash:before{content:""}.bi-database-up:before{content:""}.bi-database-x:before{content:""}.bi-database:before{content:""}.bi-houses-fill:before{content:""}.bi-houses:before{content:""}.bi-nvidia:before{content:""}.bi-person-vcard-fill:before{content:""}.bi-person-vcard:before{content:""}.bi-sina-weibo:before{content:""}.bi-tencent-qq:before{content:""}.bi-wikipedia:before{content:""}.bi-alphabet-uppercase:before{content:""}.bi-alphabet:before{content:""}.bi-amazon:before{content:""}.bi-arrows-collapse-vertical:before{content:""}.bi-arrows-expand-vertical:before{content:""}.bi-arrows-vertical:before{content:""}.bi-arrows:before{content:""}.bi-ban-fill:before{content:""}.bi-ban:before{content:""}.bi-bing:before{content:""}.bi-cake:before{content:""}.bi-cake2:before{content:""}.bi-cookie:before{content:""}.bi-copy:before{content:""}.bi-crosshair:before{content:""}.bi-crosshair2:before{content:""}.bi-emoji-astonished-fill:before{content:""}.bi-emoji-astonished:before{content:""}.bi-emoji-grimace-fill:before{content:""}.bi-emoji-grimace:before{content:""}.bi-emoji-grin-fill:before{content:""}.bi-emoji-grin:before{content:""}.bi-emoji-surprise-fill:before{content:""}.bi-emoji-surprise:before{content:""}.bi-emoji-tear-fill:before{content:""}.bi-emoji-tear:before{content:""}.bi-envelope-arrow-down-fill:before{content:""}.bi-envelope-arrow-down:before{content:""}.bi-envelope-arrow-up-fill:before{content:""}.bi-envelope-arrow-up:before{content:""}.bi-feather:before{content:""}.bi-feather2:before{content:""}.bi-floppy-fill:before{content:""}.bi-floppy:before{content:""}.bi-floppy2-fill:before{content:""}.bi-floppy2:before{content:""}.bi-gitlab:before{content:""}.bi-highlighter:before{content:""}.bi-marker-tip:before{content:""}.bi-nvme-fill:before{content:""}.bi-nvme:before{content:""}.bi-opencollective:before{content:""}.bi-pci-card-network:before{content:""}.bi-pci-card-sound:before{content:""}.bi-radar:before{content:""}.bi-send-arrow-down-fill:before{content:""}.bi-send-arrow-down:before{content:""}.bi-send-arrow-up-fill:before{content:""}.bi-send-arrow-up:before{content:""}.bi-sim-slash-fill:before{content:""}.bi-sim-slash:before{content:""}.bi-sourceforge:before{content:""}.bi-substack:before{content:""}.bi-threads-fill:before{content:""}.bi-threads:before{content:""}.bi-transparency:before{content:""}.bi-twitter-x:before{content:""}.bi-type-h4:before{content:""}.bi-type-h5:before{content:""}.bi-type-h6:before{content:""}.bi-backpack-fill:before{content:""}.bi-backpack:before{content:""}.bi-backpack2-fill:before{content:""}.bi-backpack2:before{content:""}.bi-backpack3-fill:before{content:""}.bi-backpack3:before{content:""}.bi-backpack4-fill:before{content:""}.bi-backpack4:before{content:""}.bi-brilliance:before{content:""}.bi-cake-fill:before{content:""}.bi-cake2-fill:before{content:""}.bi-duffle-fill:before{content:""}.bi-duffle:before{content:""}.bi-exposure:before{content:""}.bi-gender-neuter:before{content:""}.bi-highlights:before{content:""}.bi-luggage-fill:before{content:""}.bi-luggage:before{content:""}.bi-mailbox-flag:before{content:""}.bi-mailbox2-flag:before{content:""}.bi-noise-reduction:before{content:""}.bi-passport-fill:before{content:""}.bi-passport:before{content:""}.bi-person-arms-up:before{content:""}.bi-person-raised-hand:before{content:""}.bi-person-standing-dress:before{content:""}.bi-person-standing:before{content:""}.bi-person-walking:before{content:""}.bi-person-wheelchair:before{content:""}.bi-shadows:before{content:""}.bi-suitcase-fill:before{content:""}.bi-suitcase-lg-fill:before{content:""}.bi-suitcase-lg:before{content:""}.bi-suitcase:before{content:"豈"}.bi-suitcase2-fill:before{content:"更"}.bi-suitcase2:before{content:"車"}.bi-vignette:before{content:"賈"}:root{--animate-duration:1s;--animate-delay:1s;--animate-repeat:1}.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.repeat-1{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-iteration-count:var(--animate-repeat);animation-iteration-count:var(--animate-repeat)}.animated.repeat-2{-webkit-animation-iteration-count:2;animation-iteration-count:2;-webkit-animation-iteration-count:calc(var(--animate-repeat)*2);animation-iteration-count:calc(var(--animate-repeat)*2)}.animated.repeat-3{-webkit-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-iteration-count:calc(var(--animate-repeat)*3);animation-iteration-count:calc(var(--animate-repeat)*3)}.animated.delay-1s{-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-delay:var(--animate-delay);animation-delay:var(--animate-delay)}.animated.delay-2s{-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-delay:calc(var(--animate-delay)*2);animation-delay:calc(var(--animate-delay)*2)}.animated.delay-3s{-webkit-animation-delay:3s;animation-delay:3s;-webkit-animation-delay:calc(var(--animate-delay)*3);animation-delay:calc(var(--animate-delay)*3)}.animated.delay-4s{-webkit-animation-delay:4s;animation-delay:4s;-webkit-animation-delay:calc(var(--animate-delay)*4);animation-delay:calc(var(--animate-delay)*4)}.animated.delay-5s{-webkit-animation-delay:5s;animation-delay:5s;-webkit-animation-delay:calc(var(--animate-delay)*5);animation-delay:calc(var(--animate-delay)*5)}.animated.faster{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-duration:calc(var(--animate-duration)/2);animation-duration:calc(var(--animate-duration)/2)}.animated.fast{-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-duration:calc(var(--animate-duration)*.8);animation-duration:calc(var(--animate-duration)*.8)}.animated.slow{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration)*2);animation-duration:calc(var(--animate-duration)*2)}.animated.slower{-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-duration:calc(var(--animate-duration)*3);animation-duration:calc(var(--animate-duration)*3)}@media (prefers-reduced-motion:reduce),print{.animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;-webkit-transition-duration:1ms!important;transition-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}.animated[class*=Out]{opacity:0}}@-webkit-keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}.bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes pulse{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes rubberBand{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes rubberBand{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shakeX{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shakeX{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.shakeX{-webkit-animation-name:shakeX;animation-name:shakeX}@-webkit-keyframes shakeY{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}@keyframes shakeY{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}.shakeY{-webkit-animation-name:shakeY;animation-name:shakeY}.headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headShake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0)}}@keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0)}}.swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate(-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes tada{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate(-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate(-5deg);transform:translate3d(-25%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate(3deg);transform:translate3d(20%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate(-3deg);transform:translate3d(-15%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate(2deg);transform:translate3d(10%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate(-1deg);transform:translate3d(-5%,0,0) rotate(-1deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate(-5deg);transform:translate3d(-25%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate(3deg);transform:translate3d(20%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate(-3deg);transform:translate3d(-15%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate(2deg);transform:translate3d(10%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate(-1deg);transform:translate3d(-5%,0,0) rotate(-1deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}.heartBeat{-webkit-animation-name:heartBeat;animation-name:heartBeat;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-duration:calc(var(--animate-duration)*1.3);animation-duration:calc(var(--animate-duration)*1.3);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInDown{-webkit-animation-name:backInDown;animation-name:backInDown}@-webkit-keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInLeft{-webkit-animation-name:backInLeft;animation-name:backInLeft}@-webkit-keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInRight{-webkit-animation-name:backInRight;animation-name:backInRight}@-webkit-keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInUp{-webkit-animation-name:backInUp;animation-name:backInUp}@-webkit-keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}.backOutDown{-webkit-animation-name:backOutDown;animation-name:backOutDown}@-webkit-keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}.backOutLeft{-webkit-animation-name:backOutLeft;animation-name:backOutLeft}@-webkit-keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}.backOutRight{-webkit-animation-name:backOutRight;animation-name:backOutRight}@-webkit-keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}.backOutUp{-webkit-animation-name:backOutUp;animation-name:backOutUp}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}}.bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}.bounceOut{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:bounceOut;animation-name:bounceOut}.bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}.bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}.bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}.bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInTopLeft{-webkit-animation-name:fadeInTopLeft;animation-name:fadeInTopLeft}@-webkit-keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInTopRight{-webkit-animation-name:fadeInTopRight;animation-name:fadeInTopRight}@-webkit-keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInBottomLeft{-webkit-animation-name:fadeInBottomLeft;animation-name:fadeInBottomLeft}@-webkit-keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInBottomRight{-webkit-animation-name:fadeInBottomRight;animation-name:fadeInBottomRight}.fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}.fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}.fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}.fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}.fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}.fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}.fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}.fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}.fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}.fadeOutTopLeft{-webkit-animation-name:fadeOutTopLeft;animation-name:fadeOutTopLeft}@-webkit-keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}.fadeOutTopRight{-webkit-animation-name:fadeOutTopRight;animation-name:fadeOutTopRight}@-webkit-keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}.fadeOutBottomRight{-webkit-animation-name:fadeOutBottomRight;animation-name:fadeOutBottomRight}@-webkit-keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}.fadeOutBottomLeft{-webkit-animation-name:fadeOutBottomLeft;animation-name:fadeOutBottomLeft}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animated.flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.flipOutX{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateY(-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateY(-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.lightSpeedInRight{-webkit-animation-name:lightSpeedInRight;animation-name:lightSpeedInRight;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.lightSpeedInLeft{-webkit-animation-name:lightSpeedInLeft;animation-name:lightSpeedInLeft;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}.lightSpeedOutRight{-webkit-animation-name:lightSpeedOutRight;animation-name:lightSpeedOutRight;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}.lightSpeedOutLeft{-webkit-animation-name:lightSpeedOutLeft;animation-name:lightSpeedOutLeft;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate(200deg);transform:rotate(200deg);opacity:0}}@keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate(200deg);transform:rotate(200deg);opacity:0}}.rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}.rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}.rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}.rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}.rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate(80deg);transform:rotate(80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate(80deg);transform:rotate(80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.hinge{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration)*2);animation-duration:calc(var(--animate-duration)*2);-webkit-animation-name:hinge;animation-name:hinge;-webkit-transform-origin:top left;transform-origin:top left}.jackInTheBox{-webkit-animation-name:jackInTheBox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate(-120deg);transform:translate3d(-100%,0,0) rotate(-120deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate(-120deg);transform:translate3d(-100%,0,0) rotate(-120deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate(120deg);transform:translate3d(100%,0,0) rotate(120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate(120deg);transform:translate3d(100%,0,0) rotate(120deg)}}.rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}.zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}.zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}.zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}.zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}.zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}.zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}.zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown;-webkit-transform-origin:center bottom;transform-origin:center bottom}.zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft;-webkit-transform-origin:left center;transform-origin:left center}.zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight;-webkit-transform-origin:right center;transform-origin:right center}.zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}.dp__input_wrap{position:relative;width:100%;box-sizing:unset}.dp__input_wrap:focus{border-color:var(--dp-border-color-hover);outline:none}.dp__input_valid{box-shadow:0 0 var(--dp-border-radius) var(--dp-success-color);border-color:var(--dp-success-color)}.dp__input_valid:hover{border-color:var(--dp-success-color)}.dp__input_invalid{box-shadow:0 0 var(--dp-border-radius) var(--dp-danger-color);border-color:var(--dp-danger-color)}.dp__input_invalid:hover{border-color:var(--dp-danger-color)}.dp__input{background-color:var(--dp-background-color);border-radius:var(--dp-border-radius);font-family:var(--dp-font-family);border:1px solid var(--dp-border-color);outline:none;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%;font-size:var(--dp-font-size);line-height:calc(var(--dp-font-size)*1.5);padding:var(--dp-input-padding);color:var(--dp-text-color);box-sizing:border-box}.dp__input::placeholder{opacity:.7}.dp__input:hover:not(.dp__input_focus){border-color:var(--dp-border-color-hover)}.dp__input_reg{caret-color:#0000}.dp__input_focus{border-color:var(--dp-border-color-focus)}.dp__disabled{background:var(--dp-disabled-color)}.dp__disabled::placeholder{color:var(--dp-disabled-color-text)}.dp__input_icons{display:inline-block;width:var(--dp-font-size);height:var(--dp-font-size);stroke-width:0;font-size:var(--dp-font-size);line-height:calc(var(--dp-font-size)*1.5);padding:6px 12px;color:var(--dp-icon-color);box-sizing:content-box}.dp__input_icon{cursor:pointer;position:absolute;top:50%;inset-inline-start:0;transform:translateY(-50%);color:var(--dp-icon-color)}.dp--clear-btn{position:absolute;top:50%;inset-inline-end:0;transform:translateY(-50%);cursor:pointer;color:var(--dp-icon-color);background:#0000;border:none;display:inline-flex;align-items:center;padding:0;margin:0}.dp__input_icon_pad{padding-inline-start:var(--dp-input-icon-padding)}.dp__menu{background:var(--dp-background-color);border-radius:var(--dp-border-radius);min-width:var(--dp-menu-min-width);font-family:var(--dp-font-family);font-size:var(--dp-font-size);user-select:none;border:1px solid var(--dp-menu-border-color);box-sizing:border-box}.dp__menu:after{box-sizing:border-box}.dp__menu:before{box-sizing:border-box}.dp__menu:focus{border:1px solid var(--dp-menu-border-color);outline:none}.dp--menu-wrapper{position:absolute;z-index:99999}.dp__menu_inner{padding:var(--dp-menu-padding)}.dp--menu--inner-stretched{padding:6px 0}.dp__menu_index{z-index:99999}.dp-menu-loading,.dp__menu_readonly,.dp__menu_disabled{position:absolute;inset:0;z-index:999999}.dp__menu_disabled{background:#ffffff80;cursor:not-allowed}.dp__menu_readonly{background:#0000;cursor:default}.dp-menu-loading{background:#ffffff80;cursor:default}.dp--menu-load-container{display:flex;height:100%;width:100%;justify-content:center;align-items:center}.dp--menu-loader{width:48px;height:48px;border:var(--dp-loader);border-bottom-color:#0000;border-radius:50%;display:inline-block;box-sizing:border-box;animation:dp-load-rotation 1s linear infinite;position:absolute}@keyframes dp-load-rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dp__arrow_top{left:var(--dp-arrow-left);top:0;height:12px;width:12px;background-color:var(--dp-background-color);position:absolute;border-inline-end:1px solid var(--dp-menu-border-color);border-top:1px solid var(--dp-menu-border-color);transform:translate(-50%,-50%) rotate(-45deg)}.dp__arrow_bottom{left:var(--dp-arrow-left);bottom:0;height:12px;width:12px;background-color:var(--dp-background-color);position:absolute;border-inline-end:1px solid var(--dp-menu-border-color);border-bottom:1px solid var(--dp-menu-border-color);transform:translate(-50%,50%) rotate(45deg)}.dp__action_extra{text-align:center;padding:2px 0}.dp--preset-dates{padding:5px;border-inline-end:1px solid var(--dp-border-color)}@media only screen and (width <= 600px){.dp--preset-dates{display:flex;align-self:center;border:none;overflow-x:auto;max-width:calc(var(--dp-menu-width) - var(--dp-action-row-padding)*2)}}.dp--preset-dates-collapsed{display:flex;align-self:center;border:none;overflow-x:auto;max-width:calc(var(--dp-menu-width) - var(--dp-action-row-padding)*2)}.dp__sidebar_left{padding:5px;border-inline-end:1px solid var(--dp-border-color)}.dp__sidebar_right{padding:5px;margin-inline-end:1px solid var(--dp-border-color)}.dp--preset-range{display:block;width:100%;padding:5px;text-align:left;white-space:nowrap;color:var(--dp-text-color);border-radius:var(--dp-border-radius);transition:var(--dp-common-transition)}.dp--preset-range:hover{background-color:var(--dp-hover-color);color:var(--dp-hover-text-color);cursor:pointer}@media only screen and (width <= 600px){.dp--preset-range{border:1px solid var(--dp-border-color);margin:0 3px}.dp--preset-range:first-child{margin-left:0}.dp--preset-range:last-child{margin-right:0}}.dp--preset-range-collapsed{border:1px solid var(--dp-border-color);margin:0 3px}.dp--preset-range-collapsed:first-child{margin-left:0}.dp--preset-range-collapsed:last-child{margin-right:0}.dp__menu_content_wrapper{display:flex}@media only screen and (width <= 600px){.dp__menu_content_wrapper{flex-direction:column-reverse}}.dp--menu-content-wrapper-collapsed{flex-direction:column-reverse}.dp__calendar_header{position:relative;display:flex;justify-content:center;align-items:center;color:var(--dp-text-color);white-space:nowrap;font-weight:700}.dp__calendar_header_item{text-align:center;flex-grow:1;height:var(--dp-cell-size);padding:var(--dp-cell-padding);width:var(--dp-cell-size);box-sizing:border-box}.dp__calendar_row{display:flex;justify-content:center;align-items:center;margin:var(--dp-row-margin)}.dp__calendar_item{text-align:center;flex-grow:1;box-sizing:border-box;color:var(--dp-text-color)}.dp__calendar{position:relative}.dp__calendar_header_cell{border-bottom:thin solid var(--dp-border-color);padding:var(--dp-calendar-header-cell-padding)}.dp__cell_inner{display:flex;align-items:center;text-align:center;justify-content:center;border-radius:var(--dp-cell-border-radius);height:var(--dp-cell-size);padding:var(--dp-cell-padding);width:var(--dp-cell-size);border:1px solid rgba(0,0,0,0);box-sizing:border-box;position:relative}.dp__cell_inner:hover{transition:all .2s}.dp__cell_auto_range_start,.dp__date_hover_start:hover,.dp__range_start{border-end-end-radius:0;border-start-end-radius:0}.dp__cell_auto_range_end,.dp__date_hover_end:hover,.dp__range_end{border-end-start-radius:0;border-start-start-radius:0}.dp__range_end,.dp__range_start,.dp__active_date{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__date_hover_end:hover,.dp__date_hover_start:hover,.dp__date_hover:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__cell_offset{color:var(--dp-secondary-color)}.dp__cell_disabled{color:var(--dp-secondary-color);cursor:not-allowed}.dp__range_between{background:var(--dp-range-between-dates-background-color);color:var(--dp-range-between-dates-text-color);border-radius:0;border:1px solid var(--dp-range-between-border-color)}.dp__range_between_week{background:var(--dp-primary-color);color:var(--dp-primary-text-color);border-radius:0;border-top:1px solid var(--dp-primary-color);border-bottom:1px solid var(--dp-primary-color)}.dp__today{border:1px solid var(--dp-primary-color)}.dp__week_num{color:var(--dp-secondary-color);text-align:center}.dp__cell_auto_range{border-radius:0;border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color)}.dp__cell_auto_range_start{border-start-start-radius:var(--dp-cell-border-radius);border-end-start-radius:var(--dp-cell-border-radius);border-inline-start:1px dashed var(--dp-primary-color);border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color)}.dp__cell_auto_range_end{border-start-end-radius:var(--dp-cell-border-radius);border-end-end-radius:var(--dp-cell-border-radius);border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color);border-inline-end:1px dashed var(--dp-primary-color)}.dp__calendar_header_separator{width:100%;height:1px;background:var(--dp-border-color)}.dp__calendar_next{margin-inline-start:var(--dp-multi-calendars-spacing)}.dp__marker_line,.dp__marker_dot{height:5px;background-color:var(--dp-marker-color);position:absolute;bottom:0}.dp__marker_dot{width:5px;border-radius:50%;left:50%;transform:translate(-50%)}.dp__marker_line{width:100%;left:0}.dp__marker_tooltip{position:absolute;border-radius:var(--dp-border-radius);background-color:var(--dp-tooltip-color);padding:5px;border:1px solid var(--dp-border-color);z-index:99999;box-sizing:border-box;cursor:default}.dp__tooltip_content{white-space:nowrap}.dp__tooltip_text{display:flex;align-items:center;flex-flow:row nowrap;color:var(--dp-text-color)}.dp__tooltip_mark{height:5px;width:5px;border-radius:50%;background-color:var(--dp-text-color);color:var(--dp-text-color);margin-inline-end:5px}.dp__arrow_bottom_tp{bottom:0;height:8px;width:8px;background-color:var(--dp-tooltip-color);position:absolute;border-inline-end:1px solid var(--dp-border-color);border-bottom:1px solid var(--dp-border-color);transform:translate(-50%,50%) rotate(45deg)}.dp__instance_calendar{position:relative;width:100%}@media only screen and (width <= 600px){.dp__flex_display{flex-direction:column}}.dp--flex-display-collapsed{flex-direction:column}.dp__cell_highlight{background-color:var(--dp-highlight-color)}.dp__month_year_row{display:flex;align-items:center;height:var(--dp-month-year-row-height);color:var(--dp-text-color);box-sizing:border-box}.dp__inner_nav{display:flex;align-items:center;justify-content:center;cursor:pointer;height:var(--dp-month-year-row-button-size);width:var(--dp-month-year-row-button-size);color:var(--dp-icon-color);text-align:center;border-radius:50%}.dp__inner_nav svg{height:var(--dp-button-icon-height);width:var(--dp-button-icon-height)}.dp__inner_nav:hover{background:var(--dp-hover-color);color:var(--dp-hover-icon-color)}[dir=rtl] .dp__inner_nav{transform:rotate(180deg)}.dp__inner_nav_disabled:hover,.dp__inner_nav_disabled{background:var(--dp-disabled-color);color:var(--dp-disabled-color-text);cursor:not-allowed}.dp--year-select,.dp__month_year_select{text-align:center;cursor:pointer;height:var(--dp-month-year-row-height);display:flex;align-items:center;justify-content:center;border-radius:var(--dp-border-radius);box-sizing:border-box;color:var(--dp-text-color)}.dp--year-select:hover,.dp__month_year_select:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp__month_year_select{width:50%}.dp--year-select{width:100%}.dp__month_year_wrap{display:flex;flex-direction:row;width:100%}.dp__year_disable_select{justify-content:space-around}.dp--header-wrap{display:flex;width:100%;flex-direction:column}.dp__overlay{width:100%;background:var(--dp-background-color);transition:opacity 1s ease-out;z-index:99999;font-family:var(--dp-font-family);color:var(--dp-text-color);box-sizing:border-box}.dp--overlay-absolute{position:absolute;height:100%;top:0;left:0}.dp--overlay-relative{position:relative}.dp__overlay_container::-webkit-scrollbar-track{box-shadow:var(--dp-scroll-bar-background);background-color:var(--dp-scroll-bar-background)}.dp__overlay_container::-webkit-scrollbar{width:5px;background-color:var(--dp-scroll-bar-background)}.dp__overlay_container::-webkit-scrollbar-thumb{background-color:var(--dp-scroll-bar-color);border-radius:10px}.dp__overlay:focus{border:none;outline:none}.dp__container_flex{display:flex}.dp__container_block{display:block}.dp__overlay_container{flex-direction:column;overflow-y:auto;height:var(--dp-overlay-height)}.dp__time_picker_overlay_container{height:100%}.dp__overlay_row{padding:0;box-sizing:border-box;display:flex;margin-inline:auto auto;flex-wrap:wrap;max-width:100%;width:100%;align-items:center}.dp__flex_row{flex:1}.dp__overlay_col{box-sizing:border-box;width:33%;padding:var(--dp-overlay-col-padding);white-space:nowrap}.dp__overlay_cell_pad{padding:var(--dp-common-padding) 0}.dp__overlay_cell_active{cursor:pointer;border-radius:var(--dp-border-radius);text-align:center;background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__overlay_cell{cursor:pointer;border-radius:var(--dp-border-radius);text-align:center}.dp__overlay_cell:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp__cell_in_between{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__over_action_scroll{right:5px;box-sizing:border-box}.dp__overlay_cell_disabled{cursor:not-allowed;background:var(--dp-disabled-color)}.dp__overlay_cell_disabled:hover{background:var(--dp-disabled-color)}.dp__overlay_cell_active_disabled{cursor:not-allowed;background:var(--dp-primary-disabled-color)}.dp__overlay_cell_active_disabled:hover{background:var(--dp-primary-disabled-color)}.dp__btn,.dp--qr-btn,.dp--time-invalid,.dp--time-overlay-btn{border:none;font:inherit;transition:var(--dp-common-transition);line-height:normal}.dp--tp-wrap{max-width:var(--dp-menu-min-width)}.dp__time_input{width:100%;display:flex;align-items:center;justify-content:center;user-select:none;font-family:var(--dp-font-family);color:var(--dp-text-color)}.dp__time_col_reg_block{padding:0 20px}.dp__time_col_reg_inline{padding:0 10px}.dp__time_col_reg_with_button{padding:0 15px}.dp__time_col_sec{padding:0 10px}.dp__time_col_sec_with_button{padding:0 5px}.dp__time_col{text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column}.dp__time_col_block{font-size:var(--dp-time-font-size)}.dp__time_display_block{padding:0 3px}.dp__time_display_inline{padding:5px}.dp__time_picker_inline_container{display:flex;width:100%;justify-content:center}.dp__inc_dec_button{padding:5px;margin:0;height:var(--dp-time-inc-dec-button-size);width:var(--dp-time-inc-dec-button-size);display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:50%;color:var(--dp-icon-color);box-sizing:border-box}.dp__inc_dec_button svg{height:var(--dp-time-inc-dec-button-size);width:var(--dp-time-inc-dec-button-size)}.dp__inc_dec_button:hover{background:var(--dp-hover-color);color:var(--dp-primary-color)}.dp__time_display{cursor:pointer;color:var(--dp-text-color);border-radius:var(--dp-border-radius);display:flex;align-items:center;justify-content:center}.dp__time_display:hover:enabled{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__inc_dec_button_inline{width:100%;padding:0;height:8px;cursor:pointer;display:flex;align-items:center}.dp__inc_dec_button_disabled,.dp__inc_dec_button_disabled:hover{background:var(--dp-disabled-color);color:var(--dp-disabled-color-text);cursor:not-allowed}.dp__pm_am_button{background:var(--dp-primary-color);color:var(--dp-primary-text-color);border:none;padding:var(--dp-common-padding);border-radius:var(--dp-border-radius);cursor:pointer}.dp__tp_inline_btn_bar{width:100%;height:4px;background-color:var(--dp-secondary-color);transition:var(--dp-common-transition);border-collapse:collapse}.dp__tp_inline_btn_top:hover .dp__tp_btn_in_r{background-color:var(--dp-primary-color);transform:rotate(12deg) scale(1.15) translateY(-2px)}.dp__tp_inline_btn_top:hover .dp__tp_btn_in_l,.dp__tp_inline_btn_bottom:hover .dp__tp_btn_in_r{background-color:var(--dp-primary-color);transform:rotate(-12deg) scale(1.15) translateY(-2px)}.dp__tp_inline_btn_bottom:hover .dp__tp_btn_in_l{background-color:var(--dp-primary-color);transform:rotate(12deg) scale(1.15) translateY(-2px)}.dp--time-overlay-btn{background:none}.dp--time-invalid{background-color:var(--dp-disabled-color)}.dp__action_row{display:flex;align-items:center;width:100%;padding:var(--dp-action-row-padding);box-sizing:border-box;color:var(--dp-text-color);flex-flow:row nowrap}.dp__action_row svg{height:var(--dp-button-icon-height);width:auto}.dp__selection_preview{display:block;color:var(--dp-text-color);font-size:var(--dp-preview-font-size);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dp__action_buttons{display:flex;flex:0;white-space:nowrap;align-items:center;justify-content:flex-end;margin-inline-start:auto}.dp__action_button{display:inline-flex;align-items:center;background:#0000;border:1px solid rgba(0,0,0,0);padding:var(--dp-action-buttons-padding);line-height:var(--dp-action-button-height);margin-inline-start:3px;height:var(--dp-action-button-height);cursor:pointer;border-radius:var(--dp-border-radius);font-size:var(--dp-preview-font-size);font-family:var(--dp-font-family)}.dp__action_cancel{color:var(--dp-text-color);border:1px solid var(--dp-border-color)}.dp__action_cancel:hover{border-color:var(--dp-primary-color);transition:var(--dp-action-row-transtion)}.dp__action_buttons .dp__action_select{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__action_buttons .dp__action_select:hover{background:var(--dp-primary-color);transition:var(--dp-action-row-transtion)}.dp__action_buttons .dp__action_select:disabled{background:var(--dp-primary-disabled-color);cursor:not-allowed}.dp-quarter-picker-wrap{display:flex;flex-direction:column;height:100%;min-width:var(--dp-menu-min-width)}.dp--qr-btn-disabled{cursor:not-allowed;background:var(--dp-disabled-color)}.dp--qr-btn-disabled:hover{background:var(--dp-disabled-color)}.dp--qr-btn{width:100%;padding:var(--dp-common-padding)}.dp--qr-btn:not(.dp--highlighted,.dp--qr-btn-active,.dp--qr-btn-disabled,.dp--qr-btn-between){background:none}.dp--qr-btn:hover:not(.dp--qr-btn-active,.dp--qr-btn-disabled){background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp--quarter-items{display:flex;flex-direction:column;flex:1;width:100%;height:100%;justify-content:space-evenly}.dp--qr-btn-active{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp--qr-btn-between{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__btn,.dp--time-overlay-btn,.dp--time-invalid,.dp--qr-btn{border:none;font:inherit;transition:var(--dp-common-transition);line-height:normal}.dp--year-mode-picker{display:flex;width:100%;align-items:center;justify-content:space-between;height:var(--dp-cell-size)}:root{--dp-common-transition: all .1s ease-in;--dp-menu-padding: 6px 8px;--dp-animation-duration: .1s;--dp-menu-appear-transition-timing: cubic-bezier(.4, 0, 1, 1);--dp-transition-timing: ease-out;--dp-action-row-transtion: all .2s ease-in;--dp-font-family: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen, ubuntu, cantarell, "Open Sans", "Helvetica Neue", sans-serif;--dp-border-radius: 4px;--dp-cell-border-radius: 4px;--dp-transition-length: 22px;--dp-transition-timing-general: .1s;--dp-button-height: 35px;--dp-month-year-row-height: 35px;--dp-month-year-row-button-size: 25px;--dp-button-icon-height: 20px;--dp-calendar-wrap-padding: 0 5px;--dp-cell-size: 35px;--dp-cell-padding: 5px;--dp-common-padding: 10px;--dp-input-icon-padding: 35px;--dp-input-padding: 6px 30px 6px 12px;--dp-menu-min-width: 260px;--dp-action-buttons-padding: 1px 6px;--dp-row-margin: 5px 0;--dp-calendar-header-cell-padding: .5rem;--dp-multi-calendars-spacing: 10px;--dp-overlay-col-padding: 3px;--dp-time-inc-dec-button-size: 32px;--dp-font-size: 1rem;--dp-preview-font-size: .8rem;--dp-time-font-size: 2rem;--dp-action-button-height: 22px;--dp-action-row-padding: 8px;--dp-direction: ltr}.dp__theme_dark{--dp-background-color: #212121;--dp-text-color: #fff;--dp-hover-color: #484848;--dp-hover-text-color: #fff;--dp-hover-icon-color: #959595;--dp-primary-color: #005cb2;--dp-primary-disabled-color: #61a8ea;--dp-primary-text-color: #fff;--dp-secondary-color: #a9a9a9;--dp-border-color: #2d2d2d;--dp-menu-border-color: #2d2d2d;--dp-border-color-hover: #aaaeb7;--dp-border-color-focus: #aaaeb7;--dp-disabled-color: #737373;--dp-disabled-color-text: #d0d0d0;--dp-scroll-bar-background: #212121;--dp-scroll-bar-color: #484848;--dp-success-color: #00701a;--dp-success-color-disabled: #428f59;--dp-icon-color: #959595;--dp-danger-color: #e53935;--dp-marker-color: #e53935;--dp-tooltip-color: #3e3e3e;--dp-highlight-color: rgb(0 92 178 / 20%);--dp-range-between-dates-background-color: var(--dp-hover-color, #484848);--dp-range-between-dates-text-color: var(--dp-hover-text-color, #fff);--dp-range-between-border-color: var(--dp-hover-color, #fff);--dp-loader: 5px solid #005cb2}.dp__theme_light{--dp-background-color: #fff;--dp-text-color: #212121;--dp-hover-color: #f3f3f3;--dp-hover-text-color: #212121;--dp-hover-icon-color: #959595;--dp-primary-color: #1976d2;--dp-primary-disabled-color: #6bacea;--dp-primary-text-color: #fff;--dp-secondary-color: #c0c4cc;--dp-border-color: #ddd;--dp-menu-border-color: #ddd;--dp-border-color-hover: #aaaeb7;--dp-border-color-focus: #aaaeb7;--dp-disabled-color: #f6f6f6;--dp-scroll-bar-background: #f3f3f3;--dp-scroll-bar-color: #959595;--dp-success-color: #76d275;--dp-success-color-disabled: #a3d9b1;--dp-icon-color: #959595;--dp-danger-color: #ff6f60;--dp-marker-color: #ff6f60;--dp-tooltip-color: #fafafa;--dp-disabled-color-text: #8e8e8e;--dp-highlight-color: rgb(25 118 210 / 10%);--dp-range-between-dates-background-color: var(--dp-hover-color, #f3f3f3);--dp-range-between-dates-text-color: var(--dp-hover-text-color, #212121);--dp-range-between-border-color: var(--dp-hover-color, #f3f3f3);--dp-loader: 5px solid #1976d2}.dp__flex{display:flex;align-items:center}.dp__btn{background:none}.dp__main{font-family:var(--dp-font-family);user-select:none;box-sizing:border-box;position:relative;width:100%}.dp__main *{direction:var(--dp-direction, ltr)}.dp__pointer{cursor:pointer}.dp__icon{stroke:currentcolor;fill:currentcolor}.dp__button{width:100%;text-align:center;color:var(--dp-icon-color);cursor:pointer;display:flex;align-items:center;place-content:center center;padding:var(--dp-common-padding);box-sizing:border-box;height:var(--dp-button-height)}.dp__button.dp__overlay_action{position:absolute;bottom:0}.dp__button:hover{background:var(--dp-hover-color);color:var(--dp-hover-icon-color)}.dp__button svg{height:var(--dp-button-icon-height);width:auto}.dp__button_bottom{border-bottom-left-radius:var(--dp-border-radius);border-bottom-right-radius:var(--dp-border-radius)}.dp__flex_display{display:flex}.dp__flex_display_with_input{flex-direction:column;align-items:flex-start}.dp__relative{position:relative}.calendar-next-enter-active,.calendar-next-leave-active,.calendar-prev-enter-active,.calendar-prev-leave-active{transition:all var(--dp-transition-timing-general) ease-out}.calendar-next-enter-from{opacity:0;transform:translate(var(--dp-transition-length))}.calendar-next-leave-to,.calendar-prev-enter-from{opacity:0;transform:translate(calc(var(--dp-transition-length) * -1))}.calendar-prev-leave-to{opacity:0;transform:translate(var(--dp-transition-length))}.dp-menu-appear-bottom-enter-active,.dp-menu-appear-bottom-leave-active,.dp-menu-appear-top-enter-active,.dp-menu-appear-top-leave-active,.dp-slide-up-enter-active,.dp-slide-up-leave-active,.dp-slide-down-enter-active,.dp-slide-down-leave-active{transition:all var(--dp-animation-duration) var(--dp-transition-timing)}.dp-menu-appear-top-enter-from,.dp-menu-appear-top-leave-to,.dp-slide-down-leave-to,.dp-slide-up-enter-from{opacity:0;transform:translateY(var(--dp-transition-length))}.dp-menu-appear-bottom-enter-from,.dp-menu-appear-bottom-leave-to,.dp-slide-down-enter-from,.dp-slide-up-leave-to{opacity:0;transform:translateY(calc(var(--dp-transition-length) * -1))}.dp--arrow-btn-nav{transition:var(--dp-common-transition)}.dp--highlighted{background-color:var(--dp-highlight-color)}.dp--hidden-el{visibility:hidden}@media screen and (max-width: 768px){.navbar-container[data-v-461d2bae]{position:absolute;z-index:1000;animation-duration:.4s;animation-fill-mode:both;display:none;animation-timing-function:cubic-bezier(.82,.58,.17,.9)}.navbar-container.active[data-v-461d2bae]{animation-direction:normal;display:block!important;animation-name:zoomInFade-461d2bae}}.navbar-container[data-v-461d2bae]{height:100vh}@supports (height: 100dvh){@media screen and (max-width: 768px){.navbar-container[data-v-461d2bae]{height:calc(100dvh - 50px)}}}@keyframes zoomInFade-461d2bae{0%{opacity:0;transform:translateY(60px);filter:blur(3px)}to{opacity:1;transform:translateY(0);filter:blur(0px)}}.message[data-v-f50b8f0c]{width:100%}@media screen and (min-width: 576px){.message[data-v-f50b8f0c]{width:400px}}.messageCentre[data-v-93734089]{top:1rem;right:1rem;width:calc(100% - 2rem)}main[data-v-93734089]{height:100vh}@supports (height: 100dvh){@media screen and (max-width: 768px){main[data-v-93734089]{height:calc(100dvh - 50px)}}}.dot.inactive[data-v-ed7817c7]{background-color:#dc3545;box-shadow:0 0 0 .2rem #dc354545}.spin[data-v-ed7817c7]{animation:spin-ed7817c7 1s infinite cubic-bezier(.82,.58,.17,.9)}@keyframes spin-ed7817c7{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media screen and (max-width: 768px){.remoteServerContainer[data-v-ed7817c7]{flex-direction:column}.remoteServerContainer .button-group button[data-v-ed7817c7]{width:100%}}@media screen and (max-width: 768px){.login-box[data-v-95530d22]{width:100%!important}.login-box div[data-v-95530d22]{width:auto!important}}.fade-enter-active[data-v-a85a04a5]{transition-delay:var(--1d5189b2)!important}.configurationListTitle{.btn[data-v-b9c1bda1]{border-radius:50%!important}}@media screen and (max-width: 768px){.configurationListTitle{&[data-v-b9c1bda1]{flex-direction:column;gap:.5rem}h3 span[data-v-b9c1bda1]{margin-left:auto!important}.btn[data-v-b9c1bda1]{width:100%}}}@media screen and (max-width: 992px){.apiKey-card-body{&[data-v-a76253c8]{flex-direction:column!important;align-items:start!important}div.ms-auto[data-v-a76253c8]{margin-left:0!important}div[data-v-a76253c8]{width:100%;align-items:start!important}small[data-v-a76253c8]{margin-right:auto}}}.apiKey-move[data-v-3d3ef755],.apiKey-enter-active[data-v-3d3ef755],.apiKey-leave-active[data-v-3d3ef755]{transition:all .5s ease}.apiKey-enter-from[data-v-3d3ef755],.apiKey-leave-to[data-v-3d3ef755]{opacity:0;transform:translateY(30px) scale(.9)}.apiKey-leave-active[data-v-3d3ef755]{position:absolute;width:100%}.dropdown-menu[data-v-08b165a8]{width:100%}.list-group{&[data-v-c1f65888]:first-child{border-top-left-radius:var(--bs-border-radius-lg);border-top-right-radius:var(--bs-border-radius-lg)}&[data-v-c1f65888]:last-child{border-bottom-left-radius:var(--bs-border-radius-lg);border-bottom-right-radius:var(--bs-border-radius-lg)}}.animation__fadeInDropdown[data-v-aaa147c4]{animation-name:fadeInDropdown-aaa147c4;animation-duration:.2s;animation-timing-function:cubic-bezier(.82,.58,.17,.9)}@keyframes fadeInDropdown-aaa147c4{0%{opacity:0;filter:blur(3px);transform:translateY(-60px)}to{opacity:1;filter:blur(0px);transform:translateY(-40px)}}.displayModal .dashboardModal[data-v-aaa147c4]{width:400px!important}@media screen and (max-width: 768px){.peerSearchContainer[data-v-aaa147c4]{flex-direction:column}.peerSettingContainer .dashboardModal[data-v-aaa147c4]{width:100%!important}}/*! * animate.css - https://animate.style/ * Version - 4.1.1 * Licensed under the MIT license - http://opensource.org/licenses/MIT * * Copyright (c) 2020 Animate.css - */:root{--animate-duration: 1s;--animate-delay: 1s;--animate-repeat: 1}.animate__animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animate__animated.animate__infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animate__animated.animate__repeat-1{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-iteration-count:var(--animate-repeat);animation-iteration-count:var(--animate-repeat)}.animate__animated.animate__repeat-2{-webkit-animation-iteration-count:2;animation-iteration-count:2;-webkit-animation-iteration-count:calc(var(--animate-repeat) * 2);animation-iteration-count:calc(var(--animate-repeat) * 2)}.animate__animated.animate__repeat-3{-webkit-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-iteration-count:calc(var(--animate-repeat) * 3);animation-iteration-count:calc(var(--animate-repeat) * 3)}.animate__animated.animate__delay-1s{-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-delay:var(--animate-delay);animation-delay:var(--animate-delay)}.animate__animated.animate__delay-2s{-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-delay:calc(var(--animate-delay) * 2);animation-delay:calc(var(--animate-delay) * 2)}.animate__animated.animate__delay-3s{-webkit-animation-delay:3s;animation-delay:3s;-webkit-animation-delay:calc(var(--animate-delay) * 3);animation-delay:calc(var(--animate-delay) * 3)}.animate__animated.animate__delay-4s{-webkit-animation-delay:4s;animation-delay:4s;-webkit-animation-delay:calc(var(--animate-delay) * 4);animation-delay:calc(var(--animate-delay) * 4)}.animate__animated.animate__delay-5s{-webkit-animation-delay:5s;animation-delay:5s;-webkit-animation-delay:calc(var(--animate-delay) * 5);animation-delay:calc(var(--animate-delay) * 5)}.animate__animated.animate__faster{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-duration:calc(var(--animate-duration) / 2);animation-duration:calc(var(--animate-duration) / 2)}.animate__animated.animate__fast{-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-duration:calc(var(--animate-duration) * .8);animation-duration:calc(var(--animate-duration) * .8)}.animate__animated.animate__slow{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2)}.animate__animated.animate__slower{-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-duration:calc(var(--animate-duration) * 3);animation-duration:calc(var(--animate-duration) * 3)}@media print,(prefers-reduced-motion: reduce){.animate__animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;-webkit-transition-duration:1ms!important;transition-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}.animate__animated[class*=Out]{opacity:0}}@-webkit-keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}.animate__bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}.animate__flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__pulse{-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.animate__shakeX{-webkit-animation-name:shakeX;animation-name:shakeX}@-webkit-keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}@keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}.animate__shakeY{-webkit-animation-name:shakeY;animation-name:shakeY}@-webkit-keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}@keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}.animate__headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headShake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}@keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}.animate__swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.animate__jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}.animate__heartBeat{-webkit-animation-name:heartBeat;animation-name:heartBeat;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-duration:calc(var(--animate-duration) * 1.3);animation-duration:calc(var(--animate-duration) * 1.3);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInDown{-webkit-animation-name:backInDown;animation-name:backInDown}@-webkit-keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInLeft{-webkit-animation-name:backInLeft;animation-name:backInLeft}@-webkit-keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInRight{-webkit-animation-name:backInRight;animation-name:backInRight}@-webkit-keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInUp{-webkit-animation-name:backInUp;animation-name:backInUp}@-webkit-keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}.animate__backOutDown{-webkit-animation-name:backOutDown;animation-name:backOutDown}@-webkit-keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}.animate__backOutLeft{-webkit-animation-name:backOutLeft;animation-name:backOutLeft}@-webkit-keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}.animate__backOutRight{-webkit-animation-name:backOutRight;animation-name:backOutRight}@-webkit-keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}.animate__backOutUp{-webkit-animation-name:backOutUp;animation-name:backOutUp}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}.animate__bounceOut{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceOut;animation-name:bounceOut}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}.animate__bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}.animate__bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}.animate__bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}.animate__bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.animate__fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInTopLeft{-webkit-animation-name:fadeInTopLeft;animation-name:fadeInTopLeft}@-webkit-keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInTopRight{-webkit-animation-name:fadeInTopRight;animation-name:fadeInTopRight}@-webkit-keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInBottomLeft{-webkit-animation-name:fadeInBottomLeft;animation-name:fadeInBottomLeft}@-webkit-keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInBottomRight{-webkit-animation-name:fadeInBottomRight;animation-name:fadeInBottomRight}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.animate__fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.animate__fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.animate__fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.animate__fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.animate__fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}.animate__fadeOutTopLeft{-webkit-animation-name:fadeOutTopLeft;animation-name:fadeOutTopLeft}@-webkit-keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}.animate__fadeOutTopRight{-webkit-animation-name:fadeOutTopRight;animation-name:fadeOutTopRight}@-webkit-keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}.animate__fadeOutBottomRight{-webkit-animation-name:fadeOutBottomRight;animation-name:fadeOutBottomRight}@-webkit-keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}.animate__fadeOutBottomLeft{-webkit-animation-name:fadeOutBottomLeft;animation-name:fadeOutBottomLeft}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animate__animated.animate__flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.animate__flipOutX{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.animate__flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__lightSpeedInRight{-webkit-animation-name:lightSpeedInRight;animation-name:lightSpeedInRight;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__lightSpeedInLeft{-webkit-animation-name:lightSpeedInLeft;animation-name:lightSpeedInLeft;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}.animate__lightSpeedOutRight{-webkit-animation-name:lightSpeedOutRight;animation-name:lightSpeedOutRight;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}.animate__lightSpeedOutLeft{-webkit-animation-name:lightSpeedOutLeft;animation-name:lightSpeedOutLeft;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}.animate__rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}.animate__rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.animate__rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.animate__rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}.animate__rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.animate__hinge{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2);-webkit-animation-name:hinge;animation-name:hinge;-webkit-transform-origin:top left;transform-origin:top left}@-webkit-keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.animate__jackInTheBox{-webkit-animation-name:jackInTheBox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}.animate__rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.animate__zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}.animate__zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}.animate__zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft;-webkit-transform-origin:left center;transform-origin:left center}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}.animate__zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight;-webkit-transform-origin:right center;transform-origin:right center}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}.dropdown-menu[data-v-3fa1c090]{right:1rem;min-width:200px}.dropdown-item.disabled[data-v-3fa1c090],.dropdown-item[data-v-3fa1c090]:disabled{opacity:.7}.confirmDelete[data-v-3fa1c090]{padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x)}.slide-fade-leave-active[data-v-116e739e],.slide-fade-enter-active[data-v-116e739e]{transition:all .2s cubic-bezier(.82,.58,.17,1.3)}.slide-fade-enter-from[data-v-116e739e],.slide-fade-leave-to[data-v-116e739e]{transform:translateY(20px);opacity:0;filter:blur(3px)}.subMenuBtn.active[data-v-116e739e]{background-color:#ffffff20}.peerCard[data-v-116e739e]{transition:box-shadow .1s cubic-bezier(.82,.58,.17,.9)}.peerCard[data-v-116e739e]:hover{box-shadow:var(--bs-box-shadow)!important}.toggleShowKey[data-v-a63ae8cb]{position:absolute;top:35px;right:12px}.list-move[data-v-6d5fc831],.list-enter-active[data-v-6d5fc831],.list-leave-active[data-v-6d5fc831]{transition:all .3s ease}.list-enter-from[data-v-6d5fc831],.list-leave-to[data-v-6d5fc831]{opacity:0;transform:translateY(10px)}.list-leave-active[data-v-6d5fc831]{position:absolute}.peerSettingContainer[data-v-17eb547c]{background-color:#00000060;z-index:9998}div[data-v-17eb547c]{transition:.2s ease-in-out}.inactiveField[data-v-17eb547c]{opacity:.4}.card[data-v-17eb547c]{max-height:100%}.btn.disabled[data-v-6a5aba2a]{opacity:1;background-color:#0d6efd17;border-color:transparent}[data-v-8f3f1b93]{font-size:.875rem}input[data-v-8f3f1b93]{padding:.1rem .4rem}input[data-v-8f3f1b93]:disabled{border-color:transparent;background-color:#0d6efd17;color:#0d6efd}.dp__main[data-v-8f3f1b93]{width:auto;flex-grow:1;--dp-input-padding: 2.5px 30px 2.5px 12px;--dp-border-radius: .5rem}.schedulePeerJobTransition-move[data-v-5bbdd42b],.schedulePeerJobTransition-enter-active[data-v-5bbdd42b],.schedulePeerJobTransition-leave-active[data-v-5bbdd42b]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.schedulePeerJobTransition-enter-from[data-v-5bbdd42b],.schedulePeerJobTransition-leave-to[data-v-5bbdd42b]{opacity:0;transform:scale(.9)}.schedulePeerJobTransition-leave-active[data-v-5bbdd42b]{position:absolute;width:100%}.card[data-v-8e40593b]{height:100%}.dashboardModal[data-v-8e40593b]{height:calc(100% - 1rem)!important}@media screen and (min-height: 700px){.card[data-v-8e40593b]{height:700px}}.peerBtn[data-v-8e40593b]{border:var(--bs-border-width) solid var(--bs-border-color)}.peerBtn.active[data-v-8e40593b]{border:var(--bs-border-width) solid var(--bs-body-color)}.confirmationContainer[data-v-61688b74]{background-color:#00000087;z-index:9999;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}.list1-enter-active[data-v-61688b74]{transition-delay:var(--df360394)!important}.card[data-v-b454707b],.title[data-v-b454707b]{width:100%}@media screen and (min-width: 700px){.card[data-v-b454707b],.title[data-v-b454707b]{width:700px}}.animate__fadeInUp[data-v-b454707b]{animation-timing-function:cubic-bezier(.42,0,.22,1)}.list1-move[data-v-b454707b],.list1-enter-active[data-v-b454707b],.list1-leave-active[data-v-b454707b]{transition:all .5s cubic-bezier(.42,0,.22,1)}.list1-enter-from[data-v-b454707b],.list1-leave-to[data-v-b454707b]{opacity:0;transform:translateY(30px)}.list1-leave-active[data-v-b454707b]{width:100%;position:absolute}.peerNav .nav-link{&.active[data-v-49de95e7]{background-color:#efefef}}:root,:host{--ol-background-color: white;--ol-accent-background-color: #F5F5F5;--ol-subtle-background-color: rgba(128, 128, 128, .25);--ol-partial-background-color: rgba(255, 255, 255, .75);--ol-foreground-color: #333333;--ol-subtle-foreground-color: #666666;--ol-brand-color: #00AAFF}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:10px;z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{position:absolute;font-size:12px;text-align:center;bottom:25px;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset;overflow:hidden}.ol-viewport{touch-action:pan-x pan-y}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.ol-overviewmap .ol-viewport:hover{cursor:pointer}.ol-layer canvas{border-radius:var(--bs-border-radius-lg)!important}#map{height:300px}.pingPlaceholder[data-v-f5cd36ce]{width:100%;height:79.98px}.ping-move[data-v-f5cd36ce],.ping-enter-active[data-v-f5cd36ce],.ping-leave-active[data-v-f5cd36ce]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.ping-leave-active[data-v-f5cd36ce]{position:absolute;width:100%}.ping-enter-from[data-v-f5cd36ce],.ping-leave-to[data-v-f5cd36ce]{opacity:0;//transform: scale(1.1);filter:blur(3px)}.pingPlaceholder[data-v-6d6cffc9]{width:100%;height:40px}.ping-leave-active[data-v-6d6cffc9]{position:absolute}table th[data-v-6d6cffc9],table td[data-v-6d6cffc9]{padding:.5rem}.table[data-v-6d6cffc9]>:not(caption)>*>*{background-color:transparent!important}.ping-move[data-v-6d6cffc9],.ping-enter-active[data-v-6d6cffc9],.ping-leave-active[data-v-6d6cffc9]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.ping-leave-active[data-v-6d6cffc9]{position:absolute;width:100%}.ping-enter-from[data-v-6d6cffc9],.ping-leave-to[data-v-6d6cffc9]{opacity:0;//transform: scale(1.1);filter:blur(3px)}.animate__fadeInUp[data-v-1b44aacd]{animation-timing-function:cubic-bezier(.42,0,.22,1)}.dropdownIcon[data-v-35612fa2]{transition:all .2s ease-in-out}.dropdownIcon.active[data-v-35612fa2]{transform:rotate(180deg)}.steps{&[data-v-1dc71439]{transition:all .3s ease-in-out;opacity:.3}&.active[data-v-1dc71439]{opacity:1}}.app-enter-active[data-v-ca898237],.app-leave-active[data-v-ca898237]{transition:all .7s cubic-bezier(.82,.58,.17,1)}.app-enter-from[data-v-ca898237],.app-leave-to[data-v-ca898237]{opacity:0;transform:scale(1.1)}@media screen and (min-width: 768px){.navbar[data-v-ca898237]{display:none}} + */:root{--animate-duration: 1s;--animate-delay: 1s;--animate-repeat: 1}.animate__animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animate__animated.animate__infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animate__animated.animate__repeat-1{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-iteration-count:var(--animate-repeat);animation-iteration-count:var(--animate-repeat)}.animate__animated.animate__repeat-2{-webkit-animation-iteration-count:2;animation-iteration-count:2;-webkit-animation-iteration-count:calc(var(--animate-repeat) * 2);animation-iteration-count:calc(var(--animate-repeat) * 2)}.animate__animated.animate__repeat-3{-webkit-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-iteration-count:calc(var(--animate-repeat) * 3);animation-iteration-count:calc(var(--animate-repeat) * 3)}.animate__animated.animate__delay-1s{-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-delay:var(--animate-delay);animation-delay:var(--animate-delay)}.animate__animated.animate__delay-2s{-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-delay:calc(var(--animate-delay) * 2);animation-delay:calc(var(--animate-delay) * 2)}.animate__animated.animate__delay-3s{-webkit-animation-delay:3s;animation-delay:3s;-webkit-animation-delay:calc(var(--animate-delay) * 3);animation-delay:calc(var(--animate-delay) * 3)}.animate__animated.animate__delay-4s{-webkit-animation-delay:4s;animation-delay:4s;-webkit-animation-delay:calc(var(--animate-delay) * 4);animation-delay:calc(var(--animate-delay) * 4)}.animate__animated.animate__delay-5s{-webkit-animation-delay:5s;animation-delay:5s;-webkit-animation-delay:calc(var(--animate-delay) * 5);animation-delay:calc(var(--animate-delay) * 5)}.animate__animated.animate__faster{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-duration:calc(var(--animate-duration) / 2);animation-duration:calc(var(--animate-duration) / 2)}.animate__animated.animate__fast{-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-duration:calc(var(--animate-duration) * .8);animation-duration:calc(var(--animate-duration) * .8)}.animate__animated.animate__slow{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2)}.animate__animated.animate__slower{-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-duration:calc(var(--animate-duration) * 3);animation-duration:calc(var(--animate-duration) * 3)}@media print,(prefers-reduced-motion: reduce){.animate__animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;-webkit-transition-duration:1ms!important;transition-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}.animate__animated[class*=Out]{opacity:0}}@-webkit-keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}.animate__bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}.animate__flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__pulse{-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.animate__shakeX{-webkit-animation-name:shakeX;animation-name:shakeX}@-webkit-keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}@keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}.animate__shakeY{-webkit-animation-name:shakeY;animation-name:shakeY}@-webkit-keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}@keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}.animate__headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headShake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}@keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}.animate__swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.animate__jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}.animate__heartBeat{-webkit-animation-name:heartBeat;animation-name:heartBeat;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-duration:calc(var(--animate-duration) * 1.3);animation-duration:calc(var(--animate-duration) * 1.3);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInDown{-webkit-animation-name:backInDown;animation-name:backInDown}@-webkit-keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInLeft{-webkit-animation-name:backInLeft;animation-name:backInLeft}@-webkit-keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInRight{-webkit-animation-name:backInRight;animation-name:backInRight}@-webkit-keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInUp{-webkit-animation-name:backInUp;animation-name:backInUp}@-webkit-keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}.animate__backOutDown{-webkit-animation-name:backOutDown;animation-name:backOutDown}@-webkit-keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}.animate__backOutLeft{-webkit-animation-name:backOutLeft;animation-name:backOutLeft}@-webkit-keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}.animate__backOutRight{-webkit-animation-name:backOutRight;animation-name:backOutRight}@-webkit-keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}.animate__backOutUp{-webkit-animation-name:backOutUp;animation-name:backOutUp}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}.animate__bounceOut{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceOut;animation-name:bounceOut}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}.animate__bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}.animate__bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}.animate__bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}.animate__bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.animate__fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInTopLeft{-webkit-animation-name:fadeInTopLeft;animation-name:fadeInTopLeft}@-webkit-keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInTopRight{-webkit-animation-name:fadeInTopRight;animation-name:fadeInTopRight}@-webkit-keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInBottomLeft{-webkit-animation-name:fadeInBottomLeft;animation-name:fadeInBottomLeft}@-webkit-keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInBottomRight{-webkit-animation-name:fadeInBottomRight;animation-name:fadeInBottomRight}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.animate__fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.animate__fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.animate__fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.animate__fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.animate__fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}.animate__fadeOutTopLeft{-webkit-animation-name:fadeOutTopLeft;animation-name:fadeOutTopLeft}@-webkit-keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}.animate__fadeOutTopRight{-webkit-animation-name:fadeOutTopRight;animation-name:fadeOutTopRight}@-webkit-keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}.animate__fadeOutBottomRight{-webkit-animation-name:fadeOutBottomRight;animation-name:fadeOutBottomRight}@-webkit-keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}.animate__fadeOutBottomLeft{-webkit-animation-name:fadeOutBottomLeft;animation-name:fadeOutBottomLeft}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animate__animated.animate__flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.animate__flipOutX{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.animate__flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__lightSpeedInRight{-webkit-animation-name:lightSpeedInRight;animation-name:lightSpeedInRight;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__lightSpeedInLeft{-webkit-animation-name:lightSpeedInLeft;animation-name:lightSpeedInLeft;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}.animate__lightSpeedOutRight{-webkit-animation-name:lightSpeedOutRight;animation-name:lightSpeedOutRight;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}.animate__lightSpeedOutLeft{-webkit-animation-name:lightSpeedOutLeft;animation-name:lightSpeedOutLeft;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}.animate__rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}.animate__rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.animate__rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.animate__rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}.animate__rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.animate__hinge{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2);-webkit-animation-name:hinge;animation-name:hinge;-webkit-transform-origin:top left;transform-origin:top left}@-webkit-keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.animate__jackInTheBox{-webkit-animation-name:jackInTheBox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}.animate__rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.animate__zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}.animate__zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}.animate__zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft;-webkit-transform-origin:left center;transform-origin:left center}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}.animate__zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight;-webkit-transform-origin:right center;transform-origin:right center}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}.dropdown-menu[data-v-3fa1c090]{right:1rem;min-width:200px}.dropdown-item.disabled[data-v-3fa1c090],.dropdown-item[data-v-3fa1c090]:disabled{opacity:.7}.confirmDelete[data-v-3fa1c090]{padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x)}.slide-fade-leave-active[data-v-116e739e],.slide-fade-enter-active[data-v-116e739e]{transition:all .2s cubic-bezier(.82,.58,.17,1.3)}.slide-fade-enter-from[data-v-116e739e],.slide-fade-leave-to[data-v-116e739e]{transform:translateY(20px);opacity:0;filter:blur(3px)}.subMenuBtn.active[data-v-116e739e]{background-color:#ffffff20}.peerCard[data-v-116e739e]{transition:box-shadow .1s cubic-bezier(.82,.58,.17,.9)}.peerCard[data-v-116e739e]:hover{box-shadow:var(--bs-box-shadow)!important}.toggleShowKey[data-v-a63ae8cb]{position:absolute;top:35px;right:12px}.list-move[data-v-6d5fc831],.list-enter-active[data-v-6d5fc831],.list-leave-active[data-v-6d5fc831]{transition:all .3s ease}.list-enter-from[data-v-6d5fc831],.list-leave-to[data-v-6d5fc831]{opacity:0;transform:translateY(10px)}.list-leave-active[data-v-6d5fc831]{position:absolute}.peerSettingContainer[data-v-17eb547c]{background-color:#00000060;z-index:9998}div[data-v-17eb547c]{transition:.2s ease-in-out}.inactiveField[data-v-17eb547c]{opacity:.4}.card[data-v-17eb547c]{max-height:100%}.btn.disabled[data-v-6a5aba2a]{opacity:1;background-color:#0d6efd17;border-color:transparent}[data-v-8f3f1b93]{font-size:.875rem}input[data-v-8f3f1b93]{padding:.1rem .4rem}input[data-v-8f3f1b93]:disabled{border-color:transparent;background-color:#0d6efd17;color:#0d6efd}.dp__main[data-v-8f3f1b93]{width:auto;flex-grow:1;--dp-input-padding: 2.5px 30px 2.5px 12px;--dp-border-radius: .5rem}.schedulePeerJobTransition-move[data-v-5bbdd42b],.schedulePeerJobTransition-enter-active[data-v-5bbdd42b],.schedulePeerJobTransition-leave-active[data-v-5bbdd42b]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.schedulePeerJobTransition-enter-from[data-v-5bbdd42b],.schedulePeerJobTransition-leave-to[data-v-5bbdd42b]{opacity:0;transform:scale(.9)}.schedulePeerJobTransition-leave-active[data-v-5bbdd42b]{position:absolute;width:100%}.card[data-v-8e40593b]{height:100%}.dashboardModal[data-v-8e40593b]{height:calc(100% - 1rem)!important}@media screen and (min-height: 700px){.card[data-v-8e40593b]{height:700px}}.peerBtn[data-v-8e40593b]{border:var(--bs-border-width) solid var(--bs-border-color)}.peerBtn.active[data-v-8e40593b]{border:var(--bs-border-width) solid var(--bs-body-color)}.confirmationContainer[data-v-61688b74]{background-color:#00000087;z-index:9999;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}.list1-enter-active[data-v-61688b74]{transition-delay:var(--df360394)!important}.card[data-v-b454707b],.title[data-v-b454707b]{width:100%}@media screen and (min-width: 700px){.card[data-v-b454707b],.title[data-v-b454707b]{width:700px}}.animate__fadeInUp[data-v-b454707b]{animation-timing-function:cubic-bezier(.42,0,.22,1)}.list1-move[data-v-b454707b],.list1-enter-active[data-v-b454707b],.list1-leave-active[data-v-b454707b]{transition:all .5s cubic-bezier(.42,0,.22,1)}.list1-enter-from[data-v-b454707b],.list1-leave-to[data-v-b454707b]{opacity:0;transform:translateY(30px)}.list1-leave-active[data-v-b454707b]{width:100%;position:absolute}.peerNav .nav-link{&.active[data-v-7a0360ac]{background-color:#efefef}}:root,:host{--ol-background-color: white;--ol-accent-background-color: #F5F5F5;--ol-subtle-background-color: rgba(128, 128, 128, .25);--ol-partial-background-color: rgba(255, 255, 255, .75);--ol-foreground-color: #333333;--ol-subtle-foreground-color: #666666;--ol-brand-color: #00AAFF}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:10px;z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{position:absolute;font-size:12px;text-align:center;bottom:25px;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset;overflow:hidden}.ol-viewport{touch-action:pan-x pan-y}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.ol-overviewmap .ol-viewport:hover{cursor:pointer}.ol-layer canvas{border-radius:var(--bs-border-radius-lg)!important}#map{height:300px}.pingPlaceholder[data-v-f5cd36ce]{width:100%;height:79.98px}.ping-move[data-v-f5cd36ce],.ping-enter-active[data-v-f5cd36ce],.ping-leave-active[data-v-f5cd36ce]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.ping-leave-active[data-v-f5cd36ce]{position:absolute;width:100%}.ping-enter-from[data-v-f5cd36ce],.ping-leave-to[data-v-f5cd36ce]{opacity:0;//transform: scale(1.1);filter:blur(3px)}.pingPlaceholder[data-v-6d6cffc9]{width:100%;height:40px}.ping-leave-active[data-v-6d6cffc9]{position:absolute}table th[data-v-6d6cffc9],table td[data-v-6d6cffc9]{padding:.5rem}.table[data-v-6d6cffc9]>:not(caption)>*>*{background-color:transparent!important}.ping-move[data-v-6d6cffc9],.ping-enter-active[data-v-6d6cffc9],.ping-leave-active[data-v-6d6cffc9]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.ping-leave-active[data-v-6d6cffc9]{position:absolute;width:100%}.ping-enter-from[data-v-6d6cffc9],.ping-leave-to[data-v-6d6cffc9]{opacity:0;//transform: scale(1.1);filter:blur(3px)}.animate__fadeInUp[data-v-1b44aacd]{animation-timing-function:cubic-bezier(.42,0,.22,1)}.dropdownIcon[data-v-35612fa2]{transition:all .2s ease-in-out}.dropdownIcon.active[data-v-35612fa2]{transform:rotate(180deg)}.steps{&[data-v-1dc71439]{transition:all .3s ease-in-out;opacity:.3}&.active[data-v-1dc71439]{opacity:1}}.app-enter-active[data-v-ca898237],.app-leave-active[data-v-ca898237]{transition:all .7s cubic-bezier(.82,.58,.17,1)}.app-enter-from[data-v-ca898237],.app-leave-to[data-v-ca898237]{opacity:0;transform:scale(1.1)}@media screen and (min-width: 768px){.navbar[data-v-ca898237]{display:none}} diff --git a/src/static/app/dist/assets/index.js b/src/static/app/dist/assets/index.js index ba640a7..c841125 100644 --- a/src/static/app/dist/assets/index.js +++ b/src/static/app/dist/assets/index.js @@ -37,7 +37,7 @@ (?:${_n}:){1}(?:(?::${_n}){0,4}:${ns}|(?::${_n}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4 (?::(?:(?::${_n}){0,5}:${ns}|(?::${_n}){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4 )(?:%[0-9a-zA-Z]{1,})? // %eth0 %1 -`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),yL=new RegExp(`(?:^${ns}$)|(?:^${wf}$)`),bL=new RegExp(`^${ns}$`),wL=new RegExp(`^${wf}$`),xf=t=>t&&t.exact?yL:new RegExp(`(?:${jr(t)}${ns}${jr(t)})|(?:${jr(t)}${wf}${jr(t)})`,"g");xf.v4=t=>t&&t.exact?bL:new RegExp(`${jr(t)}${ns}${jr(t)}`,"g");xf.v6=t=>t&&t.exact?wL:new RegExp(`${jr(t)}${wf}${jr(t)}`,"g");const DC={exact:!1},RC=`${xf.v4().source}\\/(3[0-2]|[12]?[0-9])`,$C=`${xf.v6().source}\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])`,xL=new RegExp(`^${RC}$`),EL=new RegExp(`^${$C}$`),CL=({exact:t}=DC)=>t?xL:new RegExp(RC,"g"),SL=({exact:t}=DC)=>t?EL:new RegExp($C,"g"),LC=CL({exact:!0}),OC=SL({exact:!0}),k_=t=>LC.test(t)?4:OC.test(t)?6:0;k_.v4=t=>LC.test(t);k_.v6=t=>OC.test(t);const At=t=>{const e=Xe();if(e.Locale===null)return t;const i=Object.keys(e.Locale).filter(s=>t.match(new RegExp("^"+s+"$","gi"))!==null);return i.length===0||i.length>1?t:t.replace(new RegExp(i[0],"gi"),e.Locale[i[0]])},$n=_C("WireguardConfigurationsStore",{state:()=>({Configurations:void 0,searchString:"",ConfigurationListInterval:void 0,PeerScheduleJobs:{dropdowns:{Field:[{display:At("Total Received"),value:"total_receive",unit:"GB",type:"number"},{display:At("Total Sent"),value:"total_sent",unit:"GB",type:"number"},{display:At("Total Usage"),value:"total_data",unit:"GB",type:"number"},{display:At("Date"),value:"date",type:"date"}],Operator:[{display:At("larger than"),value:"lgt"}],Action:[{display:At("Restrict Peer"),value:"restrict"},{display:At("Delete Peer"),value:"delete"}]}}}),actions:{async getConfigurations(){await Pt("/api/getWireguardConfigurations",{},t=>{t.status&&(this.Configurations=t.data)})},regexCheckIP(t){return/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/.test(t)},checkCIDR(t){return k_(t)!==0},checkWGKeyLength(t){return console.log(t),/^[A-Za-z0-9+/]{43}=?=?$/.test(t)}}}),ze=(t,e)=>{const n=t.__vccOpts||t;for(const[i,s]of e)n[i]=s;return n},kL={name:"localeText",props:{t:""},computed:{getLocaleText(){return At(this.t)}}};function TL(t,e,n,i,s,r){return pe(this.getLocaleText)}const Le=ze(kL,[["render",TL]]),AL={name:"navbar",components:{LocaleText:Le},setup(){const t=$n(),e=Xe();return{wireguardConfigurationsStore:t,dashboardConfigurationStore:e}},data(){return{updateAvailable:!1,updateMessage:"Checking for update...",updateUrl:""}},mounted(){Pt("/api/getDashboardUpdate",{},t=>{t.status?(t.data&&(this.updateAvailable=!0,this.updateUrl=t.data),this.updateMessage=t.message):(this.updateMessage=At("Failed to check available update"),console.log(`Failed to get update: ${t.message}`))})}},PL=["data-bs-theme"],ML={id:"sidebarMenu",class:"bg-body-tertiary sidebar border h-100 rounded-3 shadow overflow-y-scroll"},IL={class:"sidebar-sticky"},DL={class:"nav flex-column px-2"},RL={class:"nav-item"},$L={class:"nav-item"},LL={class:"nav-item"},OL={class:"nav-link rounded-3",target:"_blank",href:"https://donaldzou.github.io/WGDashboard-Documentation/user-guides.html"},NL={class:"sidebar-heading px-3 mt-4 mb-1 text-muted text-center"},FL={class:"nav flex-column px-2"},BL={class:"nav-item"},VL={class:"sidebar-heading px-3 mt-4 mb-1 text-muted text-center"},WL={class:"nav flex-column px-2"},zL={class:"nav-item"},YL={class:"nav-item"},HL={class:"nav flex-column px-2 mb-3"},jL={class:"nav-item"},KL={class:"nav-item",style:{"font-size":"0.8rem"}},UL=["href"],GL={class:"nav-link text-muted rounded-3"},XL={key:1,class:"nav-link text-muted rounded-3"};function qL(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("RouterLink");return P(),F("div",{class:Ee(["col-md-3 col-lg-2 d-md-block p-2 navbar-container",{active:this.dashboardConfigurationStore.ShowNavBar}]),"data-bs-theme":i.dashboardConfigurationStore.Configuration.Server.dashboard_theme},[h("nav",ML,[h("div",IL,[e[8]||(e[8]=h("h5",{class:"text-white text-center m-0 py-3 mb-3 btn-brand"},"WGDashboard",-1)),h("ul",DL,[h("li",RL,[$(a,{class:"nav-link rounded-3",to:"/","exact-active-class":"active"},{default:Pe(()=>[e[1]||(e[1]=h("i",{class:"bi bi-house me-2"},null,-1)),$(o,{t:"Home"})]),_:1})]),h("li",$L,[$(a,{class:"nav-link rounded-3",to:"/settings","exact-active-class":"active"},{default:Pe(()=>[e[2]||(e[2]=h("i",{class:"bi bi-gear me-2"},null,-1)),$(o,{t:"Settings"})]),_:1})]),h("li",LL,[h("a",OL,[e[3]||(e[3]=h("i",{class:"bi bi-question-circle me-2"},null,-1)),$(o,{t:"Help"})])])]),e[9]||(e[9]=h("hr",{class:"text-body"},null,-1)),h("h6",NL,[e[4]||(e[4]=h("i",{class:"bi bi-body-text me-2"},null,-1)),$(o,{t:"WireGuard Configurations"})]),h("ul",FL,[(P(!0),F(Ie,null,Ge(this.wireguardConfigurationsStore.Configurations,l=>(P(),F("li",BL,[$(a,{to:"/configuration/"+l.Name+"/peers",class:"nav-link nav-conf-link rounded-3","active-class":"active"},{default:Pe(()=>[h("span",{class:Ee(["dot me-2",{active:l.Status}])},null,2),Be(" "+pe(l.Name),1)]),_:2},1032,["to"])]))),256))]),e[10]||(e[10]=h("hr",{class:"text-body"},null,-1)),h("h6",VL,[e[5]||(e[5]=h("i",{class:"bi bi-tools me-2"},null,-1)),$(o,{t:"Tools"})]),h("ul",WL,[h("li",zL,[$(a,{to:"/ping",class:"nav-link rounded-3","active-class":"active"},{default:Pe(()=>[$(o,{t:"Ping"})]),_:1})]),h("li",YL,[$(a,{to:"/traceroute",class:"nav-link rounded-3","active-class":"active"},{default:Pe(()=>[$(o,{t:"Traceroute"})]),_:1})])]),e[11]||(e[11]=h("hr",{class:"text-body"},null,-1)),h("ul",HL,[h("li",jL,[h("a",{class:"nav-link text-danger rounded-3",onClick:e[0]||(e[0]=l=>this.dashboardConfigurationStore.signOut()),role:"button",style:{"font-weight":"bold"}},[e[6]||(e[6]=h("i",{class:"bi bi-box-arrow-left me-2"},null,-1)),$(o,{t:"Sign Out"})])]),h("li",KL,[this.updateAvailable?(P(),F("a",{key:0,href:this.updateUrl,class:"text-decoration-none rounded-3",target:"_blank"},[h("small",GL,[$(o,{t:this.updateMessage},null,8,["t"]),e[7]||(e[7]=Be(" (")),$(o,{t:"Current Version:"}),Be(" "+pe(i.dashboardConfigurationStore.Configuration.Server.version)+") ",1)])],8,UL)):(P(),F("small",XL,[$(o,{t:this.updateMessage},null,8,["t"]),Be(" ("+pe(i.dashboardConfigurationStore.Configuration.Server.version)+") ",1)]))])])])])],10,PL)}const ZL=ze(AL,[["render",qL],["__scopeId","data-v-80971158"]]);var NC={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(sx,function(){var n=1e3,i=6e4,s=36e5,r="millisecond",o="second",a="minute",l="hour",c="day",u="week",d="month",f="quarter",g="year",p="date",m="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,x={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(N){var B=["th","st","nd","rd"],R=N%100;return"["+N+(B[(R-20)%10]||B[R]||B[0])+"]"}},E=function(N,B,R){var W=String(N);return!W||W.length>=B?N:""+Array(B+1-W.length).join(R)+N},w={s:E,z:function(N){var B=-N.utcOffset(),R=Math.abs(B),W=Math.floor(R/60),X=R%60;return(B<=0?"+":"-")+E(W,2,"0")+":"+E(X,2,"0")},m:function N(B,R){if(B.date()1)return N(H[0])}else{var ce=B.name;C[ce]=B,X=ce}return!W&&X&&(b=X),X||!W&&b},I=function(N,B){if(T(N))return N.clone();var R=typeof B=="object"?B:{};return R.date=N,R.args=arguments,new Y(R)},V=w;V.l=A,V.i=T,V.w=function(N,B){return I(N,{locale:B.$L,utc:B.$u,x:B.$x,$offset:B.$offset})};var Y=function(){function N(R){this.$L=A(R.locale,null,!0),this.parse(R),this.$x=this.$x||R.x||{},this[k]=!0}var B=N.prototype;return B.parse=function(R){this.$d=function(W){var X=W.date,J=W.utc;if(X===null)return new Date(NaN);if(V.u(X))return new Date;if(X instanceof Date)return new Date(X);if(typeof X=="string"&&!/Z$/i.test(X)){var H=X.match(v);if(H){var ce=H[2]-1||0,ie=(H[7]||"0").substring(0,3);return J?new Date(Date.UTC(H[1],ce,H[3]||1,H[4]||0,H[5]||0,H[6]||0,ie)):new Date(H[1],ce,H[3]||1,H[4]||0,H[5]||0,H[6]||0,ie)}}return new Date(X)}(R),this.init()},B.init=function(){var R=this.$d;this.$y=R.getFullYear(),this.$M=R.getMonth(),this.$D=R.getDate(),this.$W=R.getDay(),this.$H=R.getHours(),this.$m=R.getMinutes(),this.$s=R.getSeconds(),this.$ms=R.getMilliseconds()},B.$utils=function(){return V},B.isValid=function(){return this.$d.toString()!==m},B.isSame=function(R,W){var X=I(R);return this.startOf(W)<=X&&X<=this.endOf(W)},B.isAfter=function(R,W){return I(R){this.message.show=!1},5e3)}},eO=["id"],tO={class:"card-body"},nO={class:"d-flex"},iO={class:"fw-bold d-block",style:{"text-transform":"uppercase"}},sO={class:"ms-auto"};function rO(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",{class:Ee(["card shadow rounded-3 position-relative message ms-auto",{"text-bg-danger":this.message.type==="danger","text-bg-success":this.message.type==="success","text-bg-warning":this.message.type==="warning"}]),id:this.message.id},[h("div",tO,[h("div",nO,[h("small",iO,[$(o,{t:"FROM "}),Be(" "+pe(this.message.from),1)]),h("small",sO,pe(r.dayjs().format("hh:mm A")),1)]),Be(" "+pe(this.message.content),1)])],10,eO)}const FC=ze(QL,[["render",rO],["__scopeId","data-v-f50b8f0c"]]),oO={name:"index",components:{Message:FC,Navbar:ZL},async setup(){return{dashboardConfigurationStore:Xe()}},computed:{getMessages(){return this.dashboardConfigurationStore.Messages.filter(t=>t.show)}}},aO=["data-bs-theme"],lO={class:"row h-100"},cO={class:"col-md-9 ml-sm-auto col-lg-10 px-md-4 overflow-y-scroll mb-0"},uO={class:"messageCentre text-body position-fixed d-flex"};function dO(t,e,n,i,s,r){const o=Se("Navbar"),a=Se("RouterView"),l=Se("Message");return P(),F("div",{class:"container-fluid flex-grow-1 main","data-bs-theme":this.dashboardConfigurationStore.Configuration.Server.dashboard_theme},[h("div",lO,[$(o),h("main",cO,[(P(),Ce(x_,null,{default:Pe(()=>[$(a,null,{default:Pe(({Component:c})=>[$(vt,{name:"fade2",mode:"out-in",appear:""},{default:Pe(()=>[(P(),Ce(_a(c)))]),_:2},1024)]),_:1})]),_:1})),h("div",uO,[$(vo,{name:"message",tag:"div",class:"position-relative flex-sm-grow-0 flex-grow-1 d-flex align-items-end ms-sm-auto flex-column gap-2"},{default:Pe(()=>[(P(!0),F(Ie,null,Ge(r.getMessages.slice().reverse(),c=>(P(),Ce(l,{message:c,key:c.id},null,8,["message"]))),128))]),_:1})])])])],8,aO)}const hO=ze(oO,[["render",dO],["__scopeId","data-v-5627c522"]]),fO={name:"RemoteServer",props:{server:Object},data(){return{active:!1,startTime:void 0,endTime:void 0,errorMsg:"",refreshing:!1}},methods:{async handshake(){this.active=!1,this.server.host&&this.server.apiKey&&(this.refreshing=!0,this.startTime=void 0,this.endTime=void 0,this.startTime=Fn(),await fetch(`${this.server.host}/api/handshake`,{headers:{"content-type":"application/json","wg-dashboard-apikey":this.server.apiKey},method:"GET",signal:AbortSignal.timeout(5e3)}).then(t=>{if(t.status===200)return t.json();throw new Error(t.statusText)}).then(()=>{this.endTime=Fn(),this.active=!0}).catch(t=>{this.active=!1,this.errorMsg=t}),this.refreshing=!1)},async connect(){await fetch(`${this.server.host}/api/authenticate`,{headers:{"content-type":"application/json","wg-dashboard-apikey":this.server.apiKey},body:JSON.stringify({host:window.location.hostname}),method:"POST",signal:AbortSignal.timeout(5e3)}).then(t=>t.json()).then(t=>{this.$emit("setActiveServer"),this.$router.push("/")})}},mounted(){this.handshake()},computed:{getHandshakeTime(){return this.startTime&&this.endTime?`${Fn().subtract(this.startTime).millisecond()}ms`:this.refreshing?At("Pinging..."):this.errorMsg?this.errorMsg:"N/A"}}},gO={class:"card rounded-3"},pO={class:"card-body"},mO={class:"d-flex gap-3 w-100 remoteServerContainer"},_O={class:"d-flex gap-3 align-items-center flex-grow-1"},vO={class:"d-flex gap-3 align-items-center flex-grow-1"},yO={class:"d-flex gap-2 button-group"},bO={class:"card-footer gap-2 d-flex align-items-center"},wO={key:0,class:"spin ms-auto text-primary-emphasis"};function xO(t,e,n,i,s,r){return P(),F("div",gO,[h("div",pO,[h("div",mO,[h("div",_O,[e[7]||(e[7]=h("i",{class:"bi bi-server"},null,-1)),Re(h("input",{class:"form-control form-control-sm",onBlur:e[0]||(e[0]=o=>this.handshake()),"onUpdate:modelValue":e[1]||(e[1]=o=>this.server.host=o),type:"url"},null,544),[[We,this.server.host]])]),h("div",vO,[e[8]||(e[8]=h("i",{class:"bi bi-key-fill"},null,-1)),Re(h("input",{class:"form-control form-control-sm",onBlur:e[2]||(e[2]=o=>this.handshake()),"onUpdate:modelValue":e[3]||(e[3]=o=>this.server.apiKey=o),type:"text"},null,544),[[We,this.server.apiKey]])]),h("div",yO,[h("button",{onClick:e[4]||(e[4]=o=>this.$emit("delete")),class:"ms-auto btn btn-sm bg-danger-subtle text-danger-emphasis border-1 border-danger-subtle"},e[9]||(e[9]=[h("i",{class:"bi bi-trash"},null,-1)])),h("button",{onClick:e[5]||(e[5]=o=>this.connect()),class:Ee([{disabled:!this.active},"ms-auto btn btn-sm bg-success-subtle text-success-emphasis border-1 border-success-subtle"])},e[10]||(e[10]=[h("i",{class:"bi bi-arrow-right-circle"},null,-1)]),2)])])]),h("div",bO,[h("span",{class:Ee(["dot ms-0 me-2",[this.active?"active":"inactive"]])},null,2),h("small",null,pe(this.getHandshakeTime),1),this.refreshing?(P(),F("div",wO,e[11]||(e[11]=[h("i",{class:"bi bi-arrow-clockwise"},null,-1)]))):(P(),F("a",{key:1,role:"button",onClick:e[6]||(e[6]=o=>this.handshake()),class:"text-primary-emphasis text-decoration-none ms-auto disabled"},e[12]||(e[12]=[h("i",{class:"bi bi-arrow-clockwise me"},null,-1)])))])])}const EO=ze(fO,[["render",xO],["__scopeId","data-v-ed7817c7"]]),CO={name:"RemoteServerList",setup(){return{store:Xe()}},components:{LocaleText:Le,RemoteServer:EO}},SO={class:"w-100 mt-3"},kO={class:"d-flex align-items-center mb-3"},TO={class:"mb-0"},AO={class:"w-100 d-flex gap-3 flex-column p-3 border border-1 border-secondary-subtle rounded-3",style:{height:"400px","overflow-y":"scroll"}},PO={key:0,class:"text-muted m-auto"};function MO(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("RemoteServer");return P(),F("div",SO,[h("div",kO,[h("h5",TO,[$(o,{t:"Server List"})]),h("button",{onClick:e[0]||(e[0]=l=>this.store.addCrossServerConfiguration()),class:"btn bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle shadow-sm ms-auto"},[e[1]||(e[1]=h("i",{class:"bi bi-plus-circle-fill me-2"},null,-1)),$(o,{t:"Server"})])]),h("div",AO,[(P(!0),F(Ie,null,Ge(this.store.CrossServerConfiguration.ServerList,(l,c)=>(P(),Ce(a,{onSetActiveServer:u=>this.store.setActiveCrossServer(c),onDelete:u=>this.store.deleteCrossServerConfiguration(c),key:c,server:l},null,8,["onSetActiveServer","onDelete","server"]))),128)),Object.keys(this.store.CrossServerConfiguration.ServerList).length===0?(P(),F("h6",PO,[$(o,{t:"Click"}),e[2]||(e[2]=h("i",{class:"bi bi-plus-circle-fill mx-1"},null,-1)),$(o,{t:"to add your server"})])):se("",!0)])])}const IO=ze(CO,[["render",MO]]),DO={name:"signInInput",methods:{GetLocale:At},props:{id:"",data:"",type:"",placeholder:""},computed:{getLocaleText(){return At(this.placeholder)}}},RO=["type","id","name","placeholder"];function $O(t,e,n,i,s,r){return Re((P(),F("input",{type:n.type,"onUpdate:modelValue":e[0]||(e[0]=o=>this.data[this.id]=o),class:"form-control",id:this.id,name:this.id,autocomplete:"on",placeholder:this.getLocaleText,required:""},null,8,RO)),[[uC,this.data[this.id]]])}const LO=ze(DO,[["render",$O]]),OO={name:"signInTOTP",methods:{GetLocale:At},props:{data:""},computed:{getLocaleText(){return At("OTP from your authenticator")}}},NO=["placeholder"];function FO(t,e,n,i,s,r){return Re((P(),F("input",{class:"form-control totp",required:"",id:"totp",maxlength:"6",type:"text",inputmode:"numeric",autocomplete:"one-time-code",placeholder:this.getLocaleText,"onUpdate:modelValue":e[0]||(e[0]=o=>this.data.totp=o)},null,8,NO)),[[We,this.data.totp]])}const BO=ze(OO,[["render",FO]]),VO={name:"signin",components:{SignInTOTP:BO,SignInInput:LO,LocaleText:Le,RemoteServerList:IO,Message:FC},async setup(){const t=Xe();let e="dark",n=!1,i;return t.IsElectronApp||await Promise.all([Pt("/api/getDashboardTheme",{},s=>{e=s.data}),Pt("/api/isTotpEnabled",{},s=>{n=s.data}),Pt("/api/getDashboardVersion",{},s=>{i=s.data})]),t.removeActiveCrossServer(),{store:t,theme:e,totpEnabled:n,version:i}},data(){return{data:{username:"",password:"",totp:""},loginError:!1,loginErrorMessage:"",loading:!1}},computed:{getMessages(){return this.store.Messages.filter(t=>t.show)},applyLocale(t){return At(t)}},methods:{GetLocale:At,async auth(){this.data.username&&this.data.password&&(this.totpEnabled&&this.data.totp||!this.totpEnabled)?(this.loading=!0,await dt("/api/authenticate",this.data,t=>{t.status?(this.loginError=!1,this.$refs.signInBtn.classList.add("signedIn"),t.message?this.$router.push("/welcome"):this.store.Redirect!==void 0?this.$router.push(this.store.Redirect):this.$router.push("/")):(this.loginError=!0,this.loginErrorMessage=t.message,document.querySelectorAll("input[required]").forEach(e=>{e.classList.remove("is-valid"),e.classList.add("is-invalid")}),this.loading=!1)})):document.querySelectorAll("input[required]").forEach(t=>{t.value.length===0?(t.classList.remove("is-valid"),t.classList.add("is-invalid")):(t.classList.remove("is-invalid"),t.classList.add("is-valid"))})}}},WO=["data-bs-theme"],zO={class:"login-box m-auto"},YO={class:"m-auto",style:{width:"700px"}},HO={class:"mb-0 text-body"},jO={key:0,class:"alert alert-danger mt-2 mb-0",role:"alert"},KO={class:"form-group text-body"},UO={class:"form-group text-body"},GO={key:0,class:"form-group text-body"},XO={class:"btn btn-lg btn-dark ms-auto mt-4 w-100 d-flex btn-brand signInBtn",ref:"signInBtn"},qO={key:0,class:"d-flex w-100"},ZO={key:1,class:"d-flex w-100 align-items-center"},JO={key:3,class:"d-flex mt-3"},QO={class:"form-check form-switch ms-auto"},e3={class:"form-check-label",for:"flexSwitchCheckChecked"},t3={class:"text-muted pb-3 d-block w-100 text-center mt-3"},n3={class:"messageCentre text-body position-absolute end-0 m-3"};function i3(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("SignInInput"),l=Se("SignInTOTP"),c=Se("RemoteServerList"),u=Se("Message");return P(),F("div",{class:"container-fluid login-container-fluid d-flex main flex-column py-4 text-body",style:{"overflow-y":"scroll"},"data-bs-theme":this.theme},[h("div",zO,[h("div",YO,[h("h4",HO,[$(o,{t:"Welcome to"})]),e[7]||(e[7]=h("span",{class:"dashboardLogo display-3"},[h("strong",null,"WGDashboard")],-1)),s.loginError?(P(),F("div",jO,[$(o,{t:this.loginErrorMessage},null,8,["t"])])):se("",!0),this.store.CrossServerConfiguration.Enable?(P(),Ce(c,{key:2})):(P(),F("form",{key:1,onSubmit:e[0]||(e[0]=d=>{d.preventDefault(),this.auth()})},[h("div",KO,[e[2]||(e[2]=h("label",{for:"username",class:"text-left",style:{"font-size":"1rem"}},[h("i",{class:"bi bi-person-circle"})],-1)),$(a,{id:"username",data:this.data,type:"text",placeholder:"Username"},null,8,["data"])]),h("div",UO,[e[3]||(e[3]=h("label",{for:"password",class:"text-left",style:{"font-size":"1rem"}},[h("i",{class:"bi bi-key-fill"})],-1)),$(a,{id:"password",data:this.data,type:"password",placeholder:"Password"},null,8,["data"])]),i.totpEnabled?(P(),F("div",GO,[e[4]||(e[4]=h("label",{for:"totp",class:"text-left",style:{"font-size":"1rem"}},[h("i",{class:"bi bi-lock-fill"})],-1)),$(l,{data:this.data},null,8,["data"])])):se("",!0),h("button",XO,[this.loading?(P(),F("span",ZO,[$(o,{t:"Signing In..."}),e[6]||(e[6]=h("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},null,-1))])):(P(),F("span",qO,[$(o,{t:"Sign In"}),e[5]||(e[5]=h("i",{class:"ms-auto bi bi-chevron-right"},null,-1))]))],512)],32)),this.store.IsElectronApp?se("",!0):(P(),F("div",JO,[h("div",QO,[Re(h("input",{"onUpdate:modelValue":e[1]||(e[1]=d=>this.store.CrossServerConfiguration.Enable=d),class:"form-check-input",type:"checkbox",role:"switch",id:"flexSwitchCheckChecked"},null,512),[[Gn,this.store.CrossServerConfiguration.Enable]]),h("label",e3,[$(o,{t:"Access Remote Server"})])])]))])]),h("small",t3,[Be(" WGDashboard "+pe(this.version)+" | Developed with ❤️ by ",1),e[8]||(e[8]=h("a",{href:"https://github.com/donaldzou",target:"_blank"},[h("strong",null,"Donald Zou")],-1))]),h("div",n3,[$(vo,{name:"message",tag:"div",class:"position-relative"},{default:Pe(()=>[(P(!0),F(Ie,null,Ge(r.getMessages.slice().reverse(),d=>(P(),Ce(u,{message:d,key:d.id},null,8,["message"]))),128))]),_:1})])],8,WO)}const s3=ze(VO,[["render",i3],["__scopeId","data-v-95530d22"]]),T_={name:"configurationCard",components:{LocaleText:Le},props:{c:{Name:String,Status:Boolean,PublicKey:String,PrivateKey:String},delay:String},data(){return{configurationToggling:!1}},setup(){return{dashboardConfigurationStore:Xe()}},methods:{toggle(){this.configurationToggling=!0,Pt("/api/toggleWireguardConfiguration/",{configurationName:this.c.Name},t=>{t.status?this.dashboardConfigurationStore.newMessage("Server",`${this.c.Name} ${t.data?"is on":"is off"}`):this.dashboardConfigurationStore.newMessage("Server",t.message,"danger"),this.c.Status=t.data,this.configurationToggling=!1})}}},r0=()=>{oC(t=>({"1d5189b2":t.delay}))},o0=T_.setup;T_.setup=o0?(t,e)=>(r0(),o0(t,e)):r0;const r3={class:"card conf_card rounded-3 shadow text-decoration-none"},o3={class:"mb-0"},a3={class:"card-title mb-0"},l3={class:"card-footer d-flex gap-2 flex-column"},c3={class:"row"},u3={class:"col-6 col-md-3"},d3={class:"text-primary-emphasis col-6 col-md-3"},h3={class:"text-success-emphasis col-6 col-md-3"},f3={class:"text-md-end col-6 col-md-3"},g3={class:"d-flex align-items-center gap-2"},p3={class:"text-muted"},m3={style:{"word-break":"keep-all"}},_3={class:"mb-0 d-block d-lg-inline-block"},v3={style:{"line-break":"anywhere"}},y3={class:"form-check form-switch ms-auto"},b3=["for"],w3={key:4,class:"spinner-border spinner-border-sm ms-2","aria-hidden":"true"},x3=["disabled","id"];function E3(t,e,n,i,s,r){const o=Se("RouterLink"),a=Se("LocaleText");return P(),F("div",r3,[$(o,{to:"/configuration/"+n.c.Name+"/peers",class:"card-body d-flex align-items-center gap-3 flex-wrap text-decoration-none"},{default:Pe(()=>[h("h6",o3,[h("span",{class:Ee(["dot",{active:n.c.Status}])},null,2)]),h("h6",a3,[h("samp",null,pe(n.c.Name),1)]),e[2]||(e[2]=h("h6",{class:"mb-0 ms-auto"},[h("i",{class:"bi bi-chevron-right"})],-1))]),_:1},8,["to"]),h("div",l3,[h("div",c3,[h("small",u3,[e[3]||(e[3]=h("i",{class:"bi bi-arrow-down-up me-2"},null,-1)),Be(pe(n.c.DataUsage.Total>0?n.c.DataUsage.Total.toFixed(4):0)+" GB ",1)]),h("small",d3,[e[4]||(e[4]=h("i",{class:"bi bi-arrow-down me-2"},null,-1)),Be(pe(n.c.DataUsage.Receive>0?n.c.DataUsage.Receive.toFixed(4):0)+" GB ",1)]),h("small",h3,[e[5]||(e[5]=h("i",{class:"bi bi-arrow-up me-2"},null,-1)),Be(pe(n.c.DataUsage.Sent>0?n.c.DataUsage.Sent.toFixed(4):0)+" GB ",1)]),h("small",f3,[h("span",{class:Ee(["dot me-2",{active:n.c.ConnectedPeers>0}])},null,2),Be(" "+pe(n.c.ConnectedPeers)+" / "+pe(n.c.TotalPeers)+" ",1),$(a,{t:"Peers"})])]),h("div",g3,[h("small",p3,[h("strong",m3,[$(a,{t:"Public Key"})])]),h("small",_3,[h("samp",v3,pe(n.c.PublicKey),1)]),h("div",y3,[h("label",{class:"form-check-label",style:{cursor:"pointer"},for:"switch"+n.c.PrivateKey},[!n.c.Status&&this.configurationToggling?(P(),Ce(a,{key:0,t:"Turning Off..."})):n.c.Status&&this.configurationToggling?(P(),Ce(a,{key:1,t:"Turning On..."})):n.c.Status&&!this.configurationToggling?(P(),Ce(a,{key:2,t:"On"})):!n.c.Status&&!this.configurationToggling?(P(),Ce(a,{key:3,t:"Off"})):se("",!0),this.configurationToggling?(P(),F("span",w3)):se("",!0)],8,b3),Re(h("input",{class:"form-check-input",style:{cursor:"pointer"},disabled:this.configurationToggling,type:"checkbox",role:"switch",id:"switch"+n.c.PrivateKey,onChange:e[0]||(e[0]=l=>this.toggle()),"onUpdate:modelValue":e[1]||(e[1]=l=>n.c.Status=l)},null,40,x3),[[Gn,n.c.Status]])])])])])}const C3=ze(T_,[["render",E3],["__scopeId","data-v-a85a04a5"]]),S3={name:"configurationList",components:{LocaleText:Le,ConfigurationCard:C3},async setup(){return{wireguardConfigurationsStore:$n()}},data(){return{configurationLoaded:!1}},async mounted(){await this.wireguardConfigurationsStore.getConfigurations(),this.configurationLoaded=!0,this.wireguardConfigurationsStore.ConfigurationListInterval=setInterval(()=>{this.wireguardConfigurationsStore.getConfigurations()},1e4)},beforeUnmount(){clearInterval(this.wireguardConfigurationsStore.ConfigurationListInterval)}},k3={class:"mt-md-5 mt-3"},T3={class:"container-md"},A3={class:"d-flex mb-4 configurationListTitle align-items-center gap-3"},P3={class:"text-body d-flex"},M3={class:"text-muted",key:"noConfiguration"};function I3(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("RouterLink"),l=Se("ConfigurationCard");return P(),F("div",k3,[h("div",T3,[h("div",A3,[h("h2",P3,[h("span",null,[$(o,{t:"WireGuard Configurations"})])]),$(a,{to:"/new_configuration",class:"btn btn-dark btn-brand rounded-3 p-2 shadow ms-auto rounded-3"},{default:Pe(()=>e[0]||(e[0]=[h("h2",{class:"mb-0",style:{"line-height":"0"}},[h("i",{class:"bi bi-plus-circle"})],-1)])),_:1})]),$(vo,{name:"fade",tag:"div",class:"d-flex flex-column gap-3 mb-4"},{default:Pe(()=>[this.configurationLoaded&&this.wireguardConfigurationsStore.Configurations.length===0?(P(),F("p",M3,[$(o,{t:"You don't have any WireGuard configurations yet. Please check the configuration folder or change it in Settings. By default the folder is /etc/wireguard."})])):this.configurationLoaded?(P(!0),F(Ie,{key:1},Ge(this.wireguardConfigurationsStore.Configurations,(c,u)=>(P(),Ce(l,{delay:u*.05+"s",key:c.Name,c},null,8,["delay","c"]))),128)):se("",!0)]),_:1})])])}const D3=ze(S3,[["render",I3],["__scopeId","data-v-b9c1bda1"]]);let Sd;const R3=new Uint8Array(16);function $3(){if(!Sd&&(Sd=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Sd))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Sd(R3)}const Ln=[];for(let t=0;t<256;++t)Ln.push((t+256).toString(16).slice(1));function L3(t,e=0){return Ln[t[e+0]]+Ln[t[e+1]]+Ln[t[e+2]]+Ln[t[e+3]]+"-"+Ln[t[e+4]]+Ln[t[e+5]]+"-"+Ln[t[e+6]]+Ln[t[e+7]]+"-"+Ln[t[e+8]]+Ln[t[e+9]]+"-"+Ln[t[e+10]]+Ln[t[e+11]]+Ln[t[e+12]]+Ln[t[e+13]]+Ln[t[e+14]]+Ln[t[e+15]]}const O3=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),a0={randomUUID:O3};function Bs(t,e,n){if(a0.randomUUID&&!e&&!t)return a0.randomUUID();t=t||{};const i=t.random||(t.rng||$3)();return i[6]=i[6]&15|64,i[8]=i[8]&63|128,L3(i)}const N3={components:{LocaleText:Le},props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const t=Xe(),e=`input_${Bs()}`;return{store:t,uuid:e}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Peers[this.targetData]},methods:{async useValidation(){this.changed&&await dt("/api/updateDashboardConfigurationItem",{section:"Peers",key:this.targetData,value:this.value},t=>{t.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Peers[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message),this.changed=!1,this.updating=!1})}}},F3={class:"form-group mb-2"},B3=["for"],V3=["id","disabled"],W3={class:"invalid-feedback"},z3={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1"};function Y3(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",F3,[h("label",{for:this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,[$(o,{t:this.title},null,8,["t"])])])],8,B3),Re(h("input",{type:"text",class:Ee(["form-control",{"is-invalid":s.showInvalidFeedback,"is-valid":s.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=a=>this.value=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),onBlur:e[2]||(e[2]=a=>r.useValidation()),disabled:this.updating},null,42,V3),[[We,this.value]]),h("div",W3,pe(this.invalidFeedback),1),n.warning?(P(),F("div",z3,[h("small",null,[e[3]||(e[3]=h("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1)),$(o,{t:n.warningText},null,8,["t"])])])):se("",!0)])}const H3=ze(N3,[["render",Y3]]),j3=t=>{},K3={name:"accountSettingsInputUsername",components:{LocaleText:Le},props:{targetData:String,title:String},setup(){const t=Xe(),e=`input_${Bs()}`;return{store:t,uuid:e}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Account[this.targetData]},methods:{async useValidation(t){this.changed&&(this.updating=!0,await dt("/api/updateDashboardConfigurationItem",{section:"Account",key:this.targetData,value:this.value},e=>{e.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=e.message),this.changed=!1,this.updating=!1}))}}},U3={class:"form-group mb-2"},G3=["for"],X3=["id","disabled"],q3={class:"invalid-feedback"};function Z3(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",U3,[h("label",{for:this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,[$(o,{t:this.title},null,8,["t"])])])],8,G3),Re(h("input",{type:"text",class:Ee(["form-control",{"is-invalid":s.showInvalidFeedback,"is-valid":s.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=a=>this.value=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),onBlur:e[2]||(e[2]=a=>r.useValidation()),disabled:this.updating},null,42,X3),[[We,this.value]]),h("div",q3,pe(this.invalidFeedback),1)])}const J3=ze(K3,[["render",Z3]]),Q3={name:"accountSettingsInputPassword",components:{LocaleText:Le},props:{targetData:String,warning:!1,warningText:""},setup(){const t=Xe(),e=`input_${Bs()}`;return{store:t,uuid:e}},data(){return{value:{currentPassword:"",newPassword:"",repeatNewPassword:""},invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0}},methods:{async useValidation(){Object.values(this.value).find(t=>t.length===0)===void 0?this.value.newPassword===this.value.repeatNewPassword?await dt("/api/updateDashboardConfigurationItem",{section:"Account",key:this.targetData,value:this.value},t=>{t.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.isValid=!1,this.value={currentPassword:"",newPassword:"",repeatNewPassword:""}},5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message)}):(this.showInvalidFeedback=!0,this.invalidFeedback="New passwords does not match"):(this.showInvalidFeedback=!0,this.invalidFeedback="Please fill in all required fields.")}},computed:{passwordValid(){return Object.values(this.value).find(t=>t.length===0)===void 0&&this.value.newPassword===this.value.repeatNewPassword}}},eN={class:"d-flex flex-column gap-2"},tN={class:"row g-2"},nN={class:"col-sm"},iN={class:"form-group"},sN=["for"],rN=["id"],oN={key:0,class:"invalid-feedback d-block"},aN={class:"col-sm"},lN={class:"form-group"},cN=["for"],uN=["id"],dN={class:"col-sm"},hN={class:"form-group"},fN=["for"],gN=["id"],pN=["disabled"];function mN(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",eN,[h("div",tN,[h("div",nN,[h("div",iN,[h("label",{for:"currentPassword_"+this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,[$(o,{t:"Current Password"})])])],8,sN),Re(h("input",{type:"password",class:Ee(["form-control",{"is-invalid":s.showInvalidFeedback,"is-valid":s.isValid}]),"onUpdate:modelValue":e[0]||(e[0]=a=>this.value.currentPassword=a),id:"currentPassword_"+this.uuid},null,10,rN),[[We,this.value.currentPassword]]),s.showInvalidFeedback?(P(),F("div",oN,pe(this.invalidFeedback),1)):se("",!0)])]),h("div",aN,[h("div",lN,[h("label",{for:"newPassword_"+this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,[$(o,{t:"New Password"})])])],8,cN),Re(h("input",{type:"password",class:Ee(["form-control",{"is-invalid":s.showInvalidFeedback,"is-valid":s.isValid}]),"onUpdate:modelValue":e[1]||(e[1]=a=>this.value.newPassword=a),id:"newPassword_"+this.uuid},null,10,uN),[[We,this.value.newPassword]])])]),h("div",dN,[h("div",hN,[h("label",{for:"repeatNewPassword_"+this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,[$(o,{t:"Repeat New Password"})])])],8,fN),Re(h("input",{type:"password",class:Ee(["form-control",{"is-invalid":s.showInvalidFeedback,"is-valid":s.isValid}]),"onUpdate:modelValue":e[2]||(e[2]=a=>this.value.repeatNewPassword=a),id:"repeatNewPassword_"+this.uuid},null,10,gN),[[We,this.value.repeatNewPassword]])])])]),h("button",{disabled:!this.passwordValid,class:"ms-auto btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm",onClick:e[3]||(e[3]=a=>this.useValidation())},[e[4]||(e[4]=h("i",{class:"bi bi-save2-fill me-2"},null,-1)),$(o,{t:"Update Password"})],8,pN)])}const _N=ze(Q3,[["render",mN]]),vN={name:"dashboardSettingsInputWireguardConfigurationPath",components:{LocaleText:Le},props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const t=Xe(),e=$n(),n=`input_${Bs()}`;return{store:t,uuid:n,WireguardConfigurationStore:e}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Server[this.targetData]},methods:{async useValidation(){this.changed&&(this.updating=!0,await dt("/api/updateDashboardConfigurationItem",{section:"Server",key:this.targetData,value:this.value},t=>{t.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3),this.WireguardConfigurationStore.getConfigurations(),this.store.newMessage("Server","WireGuard configuration path saved","success")):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message),this.changed=!1,this.updating=!1}))}}},yN={class:"card"},bN={class:"card-header"},wN={class:"my-2"},xN={class:"card-body"},EN={class:"form-group"},CN=["for"],SN={class:"d-flex gap-2 align-items-start"},kN={class:"flex-grow-1"},TN=["id","disabled"],AN={class:"invalid-feedback fw-bold"},PN=["disabled"],MN={key:0,class:"bi bi-save2-fill"},IN={key:1,class:"spinner-border spinner-border-sm"},DN={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1 mb-2"};function RN(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",yN,[h("div",bN,[h("h6",wN,[$(o,{t:"Path"})])]),h("div",xN,[h("div",EN,[h("label",{for:this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,[$(o,{t:this.title},null,8,["t"])])])],8,CN),h("div",SN,[h("div",kN,[Re(h("input",{type:"text",class:Ee(["form-control rounded-3",{"is-invalid":this.showInvalidFeedback,"is-valid":this.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=a=>this.value=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),disabled:this.updating},null,42,TN),[[We,this.value]]),h("div",AN,pe(this.invalidFeedback),1)]),h("button",{onClick:e[2]||(e[2]=a=>this.useValidation()),disabled:!this.changed,class:"ms-auto btn rounded-3 border-success-subtle bg-success-subtle text-success-emphasis"},[this.updating?(P(),F("span",IN)):(P(),F("i",MN))],8,PN)]),n.warning?(P(),F("div",DN,[h("small",null,[e[3]||(e[3]=h("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1)),$(o,{t:n.warningText},null,8,["t"])])])):se("",!0)])])])}const $N=ze(vN,[["render",RN]]),LN={name:"dashboardTheme",components:{LocaleText:Le},setup(){return{dashboardConfigurationStore:Xe()}},methods:{async switchTheme(t){await dt("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_theme",value:t},e=>{e.status&&(this.dashboardConfigurationStore.Configuration.Server.dashboard_theme=t)})}}},ON={class:"text-muted mb-1 d-block"},NN={class:"d-flex gap-1"};function FN(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("small",ON,[h("strong",null,[$(o,{t:"Theme"})])]),h("div",NN,[h("button",{class:Ee(["btn bg-primary-subtle text-primary-emphasis flex-grow-1",{active:this.dashboardConfigurationStore.Configuration.Server.dashboard_theme==="light"}]),onClick:e[0]||(e[0]=a=>this.switchTheme("light"))},[e[2]||(e[2]=h("i",{class:"bi bi-sun-fill me-2"},null,-1)),$(o,{t:"Light"})],2),h("button",{class:Ee(["btn bg-primary-subtle text-primary-emphasis flex-grow-1",{active:this.dashboardConfigurationStore.Configuration.Server.dashboard_theme==="dark"}]),onClick:e[1]||(e[1]=a=>this.switchTheme("dark"))},[e[3]||(e[3]=h("i",{class:"bi bi-moon-fill me-2"},null,-1)),$(o,{t:"Dark"})],2)])])}const BN=ze(LN,[["render",FN]]),VN={name:"dashboardSettingsInputIPAddressAndPort",props:{},setup(){const t=Xe(),e=`input_${Bs()}`;return{store:t,uuid:e}},data(){return{app_ip:"",app_port:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.app_ip=this.store.Configuration.Server.app_ip,this.app_port=this.store.Configuration.Server.app_port},methods:{async useValidation(){this.changed&&await dt("/api/updateDashboardConfigurationItem",{section:"Server",key:this.targetData,value:this.value},t=>{t.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message)})}}},WN={class:"invalid-feedback d-block mt-0"},zN={class:"row"},YN={class:"form-group mb-2 col-sm"},HN=["for"],jN=["id"],KN={class:"form-group col-sm"},UN=["for"],GN=["id"];function XN(t,e,n,i,s,r){return P(),F("div",null,[h("div",WN,pe(this.invalidFeedback),1),h("div",zN,[h("div",YN,[h("label",{for:"app_ip_"+this.uuid,class:"text-muted mb-1"},e[2]||(e[2]=[h("strong",null,[h("small",null,"Dashboard IP Address")],-1)]),8,HN),Re(h("input",{type:"text",class:"form-control mb-2",id:"app_ip_"+this.uuid,"onUpdate:modelValue":e[0]||(e[0]=o=>this.app_ip=o)},null,8,jN),[[We,this.app_ip]]),e[3]||(e[3]=h("div",{class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block"},[h("small",null,[h("i",{class:"bi bi-exclamation-triangle-fill me-2"}),h("code",null,"0.0.0.0"),Be(" means it can be access by anyone with your server IP Address.")])],-1))]),h("div",KN,[h("label",{for:"app_port_"+this.uuid,class:"text-muted mb-1"},e[4]||(e[4]=[h("strong",null,[h("small",null,"Dashboard Port")],-1)]),8,UN),Re(h("input",{type:"text",class:"form-control mb-2",id:"app_port_"+this.uuid,"onUpdate:modelValue":e[1]||(e[1]=o=>this.app_port=o)},null,8,GN),[[We,this.app_port]])])]),e[5]||(e[5]=h("button",{class:"btn btn-success btn-sm fw-bold rounded-3"},[h("i",{class:"bi bi-floppy-fill me-2"}),Be("Update Dashboard Settings & Restart ")],-1))])}const qN=ze(VN,[["render",XN]]);function He(t){const e=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&e==="[object Date]"?new t.constructor(+t):typeof t=="number"||e==="[object Number]"||typeof t=="string"||e==="[object String]"?new Date(t):new Date(NaN)}function yt(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}function rs(t,e){const n=He(t);return isNaN(e)?yt(t,NaN):(e&&n.setDate(n.getDate()+e),n)}function ds(t,e){const n=He(t);if(isNaN(e))return yt(t,NaN);if(!e)return n;const i=n.getDate(),s=yt(t,n.getTime());s.setMonth(n.getMonth()+e+1,0);const r=s.getDate();return i>=r?s:(n.setFullYear(s.getFullYear(),s.getMonth(),i),n)}function BC(t,e){const{years:n=0,months:i=0,weeks:s=0,days:r=0,hours:o=0,minutes:a=0,seconds:l=0}=e,c=He(t),u=i||n?ds(c,i+n*12):c,d=r||s?rs(u,r+s*7):u,f=a+o*60,p=(l+f*60)*1e3;return yt(t,d.getTime()+p)}function ZN(t,e){const n=+He(t);return yt(t,n+e)}const VC=6048e5,JN=864e5,QN=6e4,WC=36e5,eF=1e3;function tF(t,e){return ZN(t,e*WC)}let nF={};function ya(){return nF}function ps(t,e){const n=ya(),i=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,s=He(t),r=s.getDay(),o=(r=s.getTime()?n+1:e.getTime()>=o.getTime()?n:n-1}function l0(t){const e=He(t);return e.setHours(0,0,0,0),e}function Sh(t){const e=He(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function YC(t,e){const n=l0(t),i=l0(e),s=+n-Sh(n),r=+i-Sh(i);return Math.round((s-r)/JN)}function iF(t){const e=zC(t),n=yt(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),Sl(n)}function sF(t,e){const n=e*3;return ds(t,n)}function A_(t,e){return ds(t,e*12)}function c0(t,e){const n=He(t),i=He(e),s=n.getTime()-i.getTime();return s<0?-1:s>0?1:s}function HC(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function Hc(t){if(!HC(t)&&typeof t!="number")return!1;const e=He(t);return!isNaN(Number(e))}function u0(t){const e=He(t);return Math.trunc(e.getMonth()/3)+1}function rF(t,e){const n=He(t),i=He(e);return n.getFullYear()-i.getFullYear()}function oF(t,e){const n=He(t),i=He(e),s=c0(n,i),r=Math.abs(rF(n,i));n.setFullYear(1584),i.setFullYear(1584);const o=c0(n,i)===-s,a=s*(r-+o);return a===0?0:a}function jC(t,e){const n=He(t.start),i=He(t.end);let s=+n>+i;const r=s?+n:+i,o=s?i:n;o.setHours(0,0,0,0);let a=1;const l=[];for(;+o<=r;)l.push(He(o)),o.setDate(o.getDate()+a),o.setHours(0,0,0,0);return s?l.reverse():l}function Xo(t){const e=He(t),n=e.getMonth(),i=n-n%3;return e.setMonth(i,1),e.setHours(0,0,0,0),e}function aF(t,e){const n=He(t.start),i=He(t.end);let s=+n>+i;const r=s?+Xo(n):+Xo(i);let o=Xo(s?i:n),a=1;const l=[];for(;+o<=r;)l.push(He(o)),o=sF(o,a);return s?l.reverse():l}function lF(t){const e=He(t);return e.setDate(1),e.setHours(0,0,0,0),e}function KC(t){const e=He(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function lu(t){const e=He(t),n=yt(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function UC(t,e){const n=ya(),i=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,s=He(t),r=s.getDay(),o=(r{let i;const s=cF[t];return typeof s=="string"?i=s:e===1?i=s.one:i=s.other.replace("{{count}}",e.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function $g(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const dF={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},hF={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},fF={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},gF={date:$g({formats:dF,defaultWidth:"full"}),time:$g({formats:hF,defaultWidth:"full"}),dateTime:$g({formats:fF,defaultWidth:"full"})},pF={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},mF=(t,e,n,i)=>pF[t];function cc(t){return(e,n)=>{const i=n?.context?String(n.context):"standalone";let s;if(i==="formatting"&&t.formattingValues){const o=t.defaultFormattingWidth||t.defaultWidth,a=n?.width?String(n.width):o;s=t.formattingValues[a]||t.formattingValues[o]}else{const o=t.defaultWidth,a=n?.width?String(n.width):t.defaultWidth;s=t.values[a]||t.values[o]}const r=t.argumentCallback?t.argumentCallback(e):e;return s[r]}}const _F={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},vF={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},yF={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},bF={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},wF={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},xF={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},EF=(t,e)=>{const n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},CF={ordinalNumber:EF,era:cc({values:_F,defaultWidth:"wide"}),quarter:cc({values:vF,defaultWidth:"wide",argumentCallback:t=>t-1}),month:cc({values:yF,defaultWidth:"wide"}),day:cc({values:bF,defaultWidth:"wide"}),dayPeriod:cc({values:wF,defaultWidth:"wide",formattingValues:xF,defaultFormattingWidth:"wide"})};function uc(t){return(e,n={})=>{const i=n.width,s=i&&t.matchPatterns[i]||t.matchPatterns[t.defaultMatchWidth],r=e.match(s);if(!r)return null;const o=r[0],a=i&&t.parsePatterns[i]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(a)?kF(a,d=>d.test(o)):SF(a,d=>d.test(o));let c;c=t.valueCallback?t.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const u=e.slice(o.length);return{value:c,rest:u}}}function SF(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function kF(t,e){for(let n=0;n{const i=e.match(t.matchPattern);if(!i)return null;const s=i[0],r=e.match(t.parsePattern);if(!r)return null;let o=t.valueCallback?t.valueCallback(r[0]):r[0];o=n.valueCallback?n.valueCallback(o):o;const a=e.slice(s.length);return{value:o,rest:a}}}const AF=/^(\d+)(th|st|nd|rd)?/i,PF=/\d+/i,MF={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},IF={any:[/^b/i,/^(a|c)/i]},DF={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},RF={any:[/1/i,/2/i,/3/i,/4/i]},$F={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},LF={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},OF={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},NF={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},FF={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},BF={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},VF={ordinalNumber:TF({matchPattern:AF,parsePattern:PF,valueCallback:t=>parseInt(t,10)}),era:uc({matchPatterns:MF,defaultMatchWidth:"wide",parsePatterns:IF,defaultParseWidth:"any"}),quarter:uc({matchPatterns:DF,defaultMatchWidth:"wide",parsePatterns:RF,defaultParseWidth:"any",valueCallback:t=>t+1}),month:uc({matchPatterns:$F,defaultMatchWidth:"wide",parsePatterns:LF,defaultParseWidth:"any"}),day:uc({matchPatterns:OF,defaultMatchWidth:"wide",parsePatterns:NF,defaultParseWidth:"any"}),dayPeriod:uc({matchPatterns:FF,defaultMatchWidth:"any",parsePatterns:BF,defaultParseWidth:"any"})},GC={code:"en-US",formatDistance:uF,formatLong:gF,formatRelative:mF,localize:CF,match:VF,options:{weekStartsOn:0,firstWeekContainsDate:1}};function WF(t){const e=He(t);return YC(e,lu(e))+1}function P_(t){const e=He(t),n=+Sl(e)-+iF(e);return Math.round(n/VC)+1}function M_(t,e){const n=He(t),i=n.getFullYear(),s=ya(),r=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,o=yt(t,0);o.setFullYear(i+1,0,r),o.setHours(0,0,0,0);const a=ps(o,e),l=yt(t,0);l.setFullYear(i,0,r),l.setHours(0,0,0,0);const c=ps(l,e);return n.getTime()>=a.getTime()?i+1:n.getTime()>=c.getTime()?i:i-1}function zF(t,e){const n=ya(),i=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,s=M_(t,e),r=yt(t,0);return r.setFullYear(s,0,i),r.setHours(0,0,0,0),ps(r,e)}function I_(t,e){const n=He(t),i=+ps(n,e)-+zF(n,e);return Math.round(i/VC)+1}function St(t,e){const n=t<0?"-":"",i=Math.abs(t).toString().padStart(e,"0");return n+i}const Pr={y(t,e){const n=t.getFullYear(),i=n>0?n:1-n;return St(e==="yy"?i%100:i,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):St(n+1,2)},d(t,e){return St(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,e){return St(t.getHours()%12||12,e.length)},H(t,e){return St(t.getHours(),e.length)},m(t,e){return St(t.getMinutes(),e.length)},s(t,e){return St(t.getSeconds(),e.length)},S(t,e){const n=e.length,i=t.getMilliseconds(),s=Math.trunc(i*Math.pow(10,n-3));return St(s,e.length)}},$a={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},h0={G:function(t,e,n){const i=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const i=t.getFullYear(),s=i>0?i:1-i;return n.ordinalNumber(s,{unit:"year"})}return Pr.y(t,e)},Y:function(t,e,n,i){const s=M_(t,i),r=s>0?s:1-s;if(e==="YY"){const o=r%100;return St(o,2)}return e==="Yo"?n.ordinalNumber(r,{unit:"year"}):St(r,e.length)},R:function(t,e){const n=zC(t);return St(n,e.length)},u:function(t,e){const n=t.getFullYear();return St(n,e.length)},Q:function(t,e,n){const i=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(i);case"QQ":return St(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,e,n){const i=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(i);case"qq":return St(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,e,n){const i=t.getMonth();switch(e){case"M":case"MM":return Pr.M(t,e);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,e,n){const i=t.getMonth();switch(e){case"L":return String(i+1);case"LL":return St(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,e,n,i){const s=I_(t,i);return e==="wo"?n.ordinalNumber(s,{unit:"week"}):St(s,e.length)},I:function(t,e,n){const i=P_(t);return e==="Io"?n.ordinalNumber(i,{unit:"week"}):St(i,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):Pr.d(t,e)},D:function(t,e,n){const i=WF(t);return e==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):St(i,e.length)},E:function(t,e,n){const i=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,e,n,i){const s=t.getDay(),r=(s-i.weekStartsOn+8)%7||7;switch(e){case"e":return String(r);case"ee":return St(r,2);case"eo":return n.ordinalNumber(r,{unit:"day"});case"eee":return n.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(s,{width:"short",context:"formatting"});case"eeee":default:return n.day(s,{width:"wide",context:"formatting"})}},c:function(t,e,n,i){const s=t.getDay(),r=(s-i.weekStartsOn+8)%7||7;switch(e){case"c":return String(r);case"cc":return St(r,e.length);case"co":return n.ordinalNumber(r,{unit:"day"});case"ccc":return n.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(s,{width:"narrow",context:"standalone"});case"cccccc":return n.day(s,{width:"short",context:"standalone"});case"cccc":default:return n.day(s,{width:"wide",context:"standalone"})}},i:function(t,e,n){const i=t.getDay(),s=i===0?7:i;switch(e){case"i":return String(s);case"ii":return St(s,e.length);case"io":return n.ordinalNumber(s,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,e,n){const s=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(t,e,n){const i=t.getHours();let s;switch(i===12?s=$a.noon:i===0?s=$a.midnight:s=i/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(t,e,n){const i=t.getHours();let s;switch(i>=17?s=$a.evening:i>=12?s=$a.afternoon:i>=4?s=$a.morning:s=$a.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let i=t.getHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return Pr.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):Pr.H(t,e)},K:function(t,e,n){const i=t.getHours()%12;return e==="Ko"?n.ordinalNumber(i,{unit:"hour"}):St(i,e.length)},k:function(t,e,n){let i=t.getHours();return i===0&&(i=24),e==="ko"?n.ordinalNumber(i,{unit:"hour"}):St(i,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):Pr.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):Pr.s(t,e)},S:function(t,e){return Pr.S(t,e)},X:function(t,e,n){const i=t.getTimezoneOffset();if(i===0)return"Z";switch(e){case"X":return g0(i);case"XXXX":case"XX":return Yo(i);case"XXXXX":case"XXX":default:return Yo(i,":")}},x:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"x":return g0(i);case"xxxx":case"xx":return Yo(i);case"xxxxx":case"xxx":default:return Yo(i,":")}},O:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+f0(i,":");case"OOOO":default:return"GMT"+Yo(i,":")}},z:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+f0(i,":");case"zzzz":default:return"GMT"+Yo(i,":")}},t:function(t,e,n){const i=Math.trunc(t.getTime()/1e3);return St(i,e.length)},T:function(t,e,n){const i=t.getTime();return St(i,e.length)}};function f0(t,e=""){const n=t>0?"-":"+",i=Math.abs(t),s=Math.trunc(i/60),r=i%60;return r===0?n+String(s):n+String(s)+e+St(r,2)}function g0(t,e){return t%60===0?(t>0?"-":"+")+St(Math.abs(t)/60,2):Yo(t,e)}function Yo(t,e=""){const n=t>0?"-":"+",i=Math.abs(t),s=St(Math.trunc(i/60),2),r=St(i%60,2);return n+s+e+r}const p0=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},XC=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},YF=(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],i=n[1],s=n[2];if(!s)return p0(t,e);let r;switch(i){case"P":r=e.dateTime({width:"short"});break;case"PP":r=e.dateTime({width:"medium"});break;case"PPP":r=e.dateTime({width:"long"});break;case"PPPP":default:r=e.dateTime({width:"full"});break}return r.replace("{{date}}",p0(i,e)).replace("{{time}}",XC(s,e))},tm={p:XC,P:YF},HF=/^D+$/,jF=/^Y+$/,KF=["D","DD","YY","YYYY"];function qC(t){return HF.test(t)}function ZC(t){return jF.test(t)}function nm(t,e,n){const i=UF(t,e,n);if(console.warn(i),KF.includes(t))throw new RangeError(i)}function UF(t,e,n){const i=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${i} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const GF=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,XF=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,qF=/^'([^]*?)'?$/,ZF=/''/g,JF=/[a-zA-Z]/;function Ls(t,e,n){const i=ya(),s=n?.locale??i.locale??GC,r=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,a=He(t);if(!Hc(a))throw new RangeError("Invalid time value");let l=e.match(XF).map(u=>{const d=u[0];if(d==="p"||d==="P"){const f=tm[d];return f(u,s.formatLong)}return u}).join("").match(GF).map(u=>{if(u==="''")return{isToken:!1,value:"'"};const d=u[0];if(d==="'")return{isToken:!1,value:QF(u)};if(h0[d])return{isToken:!0,value:u};if(d.match(JF))throw new RangeError("Format string contains an unescaped latin alphabet character `"+d+"`");return{isToken:!1,value:u}});s.localize.preprocessor&&(l=s.localize.preprocessor(a,l));const c={firstWeekContainsDate:r,weekStartsOn:o,locale:s};return l.map(u=>{if(!u.isToken)return u.value;const d=u.value;(!n?.useAdditionalWeekYearTokens&&ZC(d)||!n?.useAdditionalDayOfYearTokens&&qC(d))&&nm(d,e,String(t));const f=h0[d[0]];return f(a,d,s.localize,c)}).join("")}function QF(t){const e=t.match(qF);return e?e[1].replace(ZF,"'"):t}function e5(t){return He(t).getDay()}function t5(t){const e=He(t),n=e.getFullYear(),i=e.getMonth(),s=yt(t,0);return s.setFullYear(n,i+1,0),s.setHours(0,0,0,0),s.getDate()}function n5(){return Object.assign({},ya())}function vr(t){return He(t).getHours()}function i5(t){let n=He(t).getDay();return n===0&&(n=7),n}function ao(t){return He(t).getMinutes()}function at(t){return He(t).getMonth()}function kl(t){return He(t).getSeconds()}function Ze(t){return He(t).getFullYear()}function Tl(t,e){const n=He(t),i=He(e);return n.getTime()>i.getTime()}function cu(t,e){const n=He(t),i=He(e);return+n<+i}function tl(t,e){const n=He(t),i=He(e);return+n==+i}function s5(t,e){const n=e instanceof Date?yt(e,0):new e(0);return n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),n}const r5=10;class JC{subPriority=0;validate(e,n){return!0}}class o5 extends JC{constructor(e,n,i,s,r){super(),this.value=e,this.validateValue=n,this.setValue=i,this.priority=s,r&&(this.subPriority=r)}validate(e,n){return this.validateValue(e,this.value,n)}set(e,n,i){return this.setValue(e,n,this.value,i)}}class a5 extends JC{priority=r5;subPriority=-1;set(e,n){return n.timestampIsSet?e:yt(e,s5(e,Date))}}class wt{run(e,n,i,s){const r=this.parse(e,n,i,s);return r?{setter:new o5(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(e,n,i){return!0}}class l5 extends wt{priority=140;parse(e,n,i){switch(n){case"G":case"GG":case"GGG":return i.era(e,{width:"abbreviated"})||i.era(e,{width:"narrow"});case"GGGGG":return i.era(e,{width:"narrow"});case"GGGG":default:return i.era(e,{width:"wide"})||i.era(e,{width:"abbreviated"})||i.era(e,{width:"narrow"})}}set(e,n,i){return n.era=i,e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]}const cn={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Cs={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function un(t,e){return t&&{value:e(t.value),rest:t.rest}}function Zt(t,e){const n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function Ss(t,e){const n=e.match(t);if(!n)return null;if(n[0]==="Z")return{value:0,rest:e.slice(1)};const i=n[1]==="+"?1:-1,s=n[2]?parseInt(n[2],10):0,r=n[3]?parseInt(n[3],10):0,o=n[5]?parseInt(n[5],10):0;return{value:i*(s*WC+r*QN+o*eF),rest:e.slice(n[0].length)}}function QC(t){return Zt(cn.anyDigitsSigned,t)}function on(t,e){switch(t){case 1:return Zt(cn.singleDigit,e);case 2:return Zt(cn.twoDigits,e);case 3:return Zt(cn.threeDigits,e);case 4:return Zt(cn.fourDigits,e);default:return Zt(new RegExp("^\\d{1,"+t+"}"),e)}}function kh(t,e){switch(t){case 1:return Zt(cn.singleDigitSigned,e);case 2:return Zt(cn.twoDigitsSigned,e);case 3:return Zt(cn.threeDigitsSigned,e);case 4:return Zt(cn.fourDigitsSigned,e);default:return Zt(new RegExp("^-?\\d{1,"+t+"}"),e)}}function D_(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function eS(t,e){const n=e>0,i=n?e:1-e;let s;if(i<=50)s=t||100;else{const r=i+50,o=Math.trunc(r/100)*100,a=t>=r%100;s=t+o-(a?100:0)}return n?s:1-s}function tS(t){return t%400===0||t%4===0&&t%100!==0}class c5 extends wt{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,n,i){const s=r=>({year:r,isTwoDigitYear:n==="yy"});switch(n){case"y":return un(on(4,e),s);case"yo":return un(i.ordinalNumber(e,{unit:"year"}),s);default:return un(on(n.length,e),s)}}validate(e,n){return n.isTwoDigitYear||n.year>0}set(e,n,i){const s=e.getFullYear();if(i.isTwoDigitYear){const o=eS(i.year,s);return e.setFullYear(o,0,1),e.setHours(0,0,0,0),e}const r=!("era"in n)||n.era===1?i.year:1-i.year;return e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}}class u5 extends wt{priority=130;parse(e,n,i){const s=r=>({year:r,isTwoDigitYear:n==="YY"});switch(n){case"Y":return un(on(4,e),s);case"Yo":return un(i.ordinalNumber(e,{unit:"year"}),s);default:return un(on(n.length,e),s)}}validate(e,n){return n.isTwoDigitYear||n.year>0}set(e,n,i,s){const r=M_(e,s);if(i.isTwoDigitYear){const a=eS(i.year,r);return e.setFullYear(a,0,s.firstWeekContainsDate),e.setHours(0,0,0,0),ps(e,s)}const o=!("era"in n)||n.era===1?i.year:1-i.year;return e.setFullYear(o,0,s.firstWeekContainsDate),e.setHours(0,0,0,0),ps(e,s)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}class d5 extends wt{priority=130;parse(e,n){return kh(n==="R"?4:n.length,e)}set(e,n,i){const s=yt(e,0);return s.setFullYear(i,0,4),s.setHours(0,0,0,0),Sl(s)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class h5 extends wt{priority=130;parse(e,n){return kh(n==="u"?4:n.length,e)}set(e,n,i){return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}class f5 extends wt{priority=120;parse(e,n,i){switch(n){case"Q":case"QQ":return on(n.length,e);case"Qo":return i.ordinalNumber(e,{unit:"quarter"});case"QQQ":return i.quarter(e,{width:"abbreviated",context:"formatting"})||i.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(e,{width:"wide",context:"formatting"})||i.quarter(e,{width:"abbreviated",context:"formatting"})||i.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=1&&n<=4}set(e,n,i){return e.setMonth((i-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}class g5 extends wt{priority=120;parse(e,n,i){switch(n){case"q":case"qq":return on(n.length,e);case"qo":return i.ordinalNumber(e,{unit:"quarter"});case"qqq":return i.quarter(e,{width:"abbreviated",context:"standalone"})||i.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(e,{width:"wide",context:"standalone"})||i.quarter(e,{width:"abbreviated",context:"standalone"})||i.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,n){return n>=1&&n<=4}set(e,n,i){return e.setMonth((i-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}class p5 extends wt{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,n,i){const s=r=>r-1;switch(n){case"M":return un(Zt(cn.month,e),s);case"MM":return un(on(2,e),s);case"Mo":return un(i.ordinalNumber(e,{unit:"month"}),s);case"MMM":return i.month(e,{width:"abbreviated",context:"formatting"})||i.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(e,{width:"wide",context:"formatting"})||i.month(e,{width:"abbreviated",context:"formatting"})||i.month(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=0&&n<=11}set(e,n,i){return e.setMonth(i,1),e.setHours(0,0,0,0),e}}class m5 extends wt{priority=110;parse(e,n,i){const s=r=>r-1;switch(n){case"L":return un(Zt(cn.month,e),s);case"LL":return un(on(2,e),s);case"Lo":return un(i.ordinalNumber(e,{unit:"month"}),s);case"LLL":return i.month(e,{width:"abbreviated",context:"standalone"})||i.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(e,{width:"wide",context:"standalone"})||i.month(e,{width:"abbreviated",context:"standalone"})||i.month(e,{width:"narrow",context:"standalone"})}}validate(e,n){return n>=0&&n<=11}set(e,n,i){return e.setMonth(i,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}function _5(t,e,n){const i=He(t),s=I_(i,n)-e;return i.setDate(i.getDate()-s*7),i}class v5 extends wt{priority=100;parse(e,n,i){switch(n){case"w":return Zt(cn.week,e);case"wo":return i.ordinalNumber(e,{unit:"week"});default:return on(n.length,e)}}validate(e,n){return n>=1&&n<=53}set(e,n,i,s){return ps(_5(e,i,s),s)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}function y5(t,e){const n=He(t),i=P_(n)-e;return n.setDate(n.getDate()-i*7),n}class b5 extends wt{priority=100;parse(e,n,i){switch(n){case"I":return Zt(cn.week,e);case"Io":return i.ordinalNumber(e,{unit:"week"});default:return on(n.length,e)}}validate(e,n){return n>=1&&n<=53}set(e,n,i){return Sl(y5(e,i))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}const w5=[31,28,31,30,31,30,31,31,30,31,30,31],x5=[31,29,31,30,31,30,31,31,30,31,30,31];class E5 extends wt{priority=90;subPriority=1;parse(e,n,i){switch(n){case"d":return Zt(cn.date,e);case"do":return i.ordinalNumber(e,{unit:"date"});default:return on(n.length,e)}}validate(e,n){const i=e.getFullYear(),s=tS(i),r=e.getMonth();return s?n>=1&&n<=x5[r]:n>=1&&n<=w5[r]}set(e,n,i){return e.setDate(i),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}class C5 extends wt{priority=90;subpriority=1;parse(e,n,i){switch(n){case"D":case"DD":return Zt(cn.dayOfYear,e);case"Do":return i.ordinalNumber(e,{unit:"date"});default:return on(n.length,e)}}validate(e,n){const i=e.getFullYear();return tS(i)?n>=1&&n<=366:n>=1&&n<=365}set(e,n,i){return e.setMonth(0,i),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}function R_(t,e,n){const i=ya(),s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,r=He(t),o=r.getDay(),l=(e%7+7)%7,c=7-s,u=e<0||e>6?e-(o+c)%7:(l+c)%7-(o+c)%7;return rs(r,u)}class S5 extends wt{priority=90;parse(e,n,i){switch(n){case"E":case"EE":case"EEE":return i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=0&&n<=6}set(e,n,i,s){return e=R_(e,i,s),e.setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]}class k5 extends wt{priority=90;parse(e,n,i,s){const r=o=>{const a=Math.floor((o-1)/7)*7;return(o+s.weekStartsOn+6)%7+a};switch(n){case"e":case"ee":return un(on(n.length,e),r);case"eo":return un(i.ordinalNumber(e,{unit:"day"}),r);case"eee":return i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});case"eeeee":return i.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=0&&n<=6}set(e,n,i,s){return e=R_(e,i,s),e.setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}class T5 extends wt{priority=90;parse(e,n,i,s){const r=o=>{const a=Math.floor((o-1)/7)*7;return(o+s.weekStartsOn+6)%7+a};switch(n){case"c":case"cc":return un(on(n.length,e),r);case"co":return un(i.ordinalNumber(e,{unit:"day"}),r);case"ccc":return i.day(e,{width:"abbreviated",context:"standalone"})||i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"});case"ccccc":return i.day(e,{width:"narrow",context:"standalone"});case"cccccc":return i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return i.day(e,{width:"wide",context:"standalone"})||i.day(e,{width:"abbreviated",context:"standalone"})||i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"})}}validate(e,n){return n>=0&&n<=6}set(e,n,i,s){return e=R_(e,i,s),e.setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}function A5(t,e){const n=He(t),i=i5(n),s=e-i;return rs(n,s)}class P5 extends wt{priority=90;parse(e,n,i){const s=r=>r===0?7:r;switch(n){case"i":case"ii":return on(n.length,e);case"io":return i.ordinalNumber(e,{unit:"day"});case"iii":return un(i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),s);case"iiiii":return un(i.day(e,{width:"narrow",context:"formatting"}),s);case"iiiiii":return un(i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),s);case"iiii":default:return un(i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),s)}}validate(e,n){return n>=1&&n<=7}set(e,n,i){return e=A5(e,i),e.setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}class M5 extends wt{priority=80;parse(e,n,i){switch(n){case"a":case"aa":case"aaa":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,n,i){return e.setHours(D_(i),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]}class I5 extends wt{priority=80;parse(e,n,i){switch(n){case"b":case"bb":case"bbb":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,n,i){return e.setHours(D_(i),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]}class D5 extends wt{priority=80;parse(e,n,i){switch(n){case"B":case"BB":case"BBB":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,n,i){return e.setHours(D_(i),0,0,0),e}incompatibleTokens=["a","b","t","T"]}class R5 extends wt{priority=70;parse(e,n,i){switch(n){case"h":return Zt(cn.hour12h,e);case"ho":return i.ordinalNumber(e,{unit:"hour"});default:return on(n.length,e)}}validate(e,n){return n>=1&&n<=12}set(e,n,i){const s=e.getHours()>=12;return s&&i<12?e.setHours(i+12,0,0,0):!s&&i===12?e.setHours(0,0,0,0):e.setHours(i,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]}class $5 extends wt{priority=70;parse(e,n,i){switch(n){case"H":return Zt(cn.hour23h,e);case"Ho":return i.ordinalNumber(e,{unit:"hour"});default:return on(n.length,e)}}validate(e,n){return n>=0&&n<=23}set(e,n,i){return e.setHours(i,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]}class L5 extends wt{priority=70;parse(e,n,i){switch(n){case"K":return Zt(cn.hour11h,e);case"Ko":return i.ordinalNumber(e,{unit:"hour"});default:return on(n.length,e)}}validate(e,n){return n>=0&&n<=11}set(e,n,i){return e.getHours()>=12&&i<12?e.setHours(i+12,0,0,0):e.setHours(i,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]}class O5 extends wt{priority=70;parse(e,n,i){switch(n){case"k":return Zt(cn.hour24h,e);case"ko":return i.ordinalNumber(e,{unit:"hour"});default:return on(n.length,e)}}validate(e,n){return n>=1&&n<=24}set(e,n,i){const s=i<=24?i%24:i;return e.setHours(s,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]}class N5 extends wt{priority=60;parse(e,n,i){switch(n){case"m":return Zt(cn.minute,e);case"mo":return i.ordinalNumber(e,{unit:"minute"});default:return on(n.length,e)}}validate(e,n){return n>=0&&n<=59}set(e,n,i){return e.setMinutes(i,0,0),e}incompatibleTokens=["t","T"]}class F5 extends wt{priority=50;parse(e,n,i){switch(n){case"s":return Zt(cn.second,e);case"so":return i.ordinalNumber(e,{unit:"second"});default:return on(n.length,e)}}validate(e,n){return n>=0&&n<=59}set(e,n,i){return e.setSeconds(i,0),e}incompatibleTokens=["t","T"]}class B5 extends wt{priority=30;parse(e,n){const i=s=>Math.trunc(s*Math.pow(10,-n.length+3));return un(on(n.length,e),i)}set(e,n,i){return e.setMilliseconds(i),e}incompatibleTokens=["t","T"]}class V5 extends wt{priority=10;parse(e,n){switch(n){case"X":return Ss(Cs.basicOptionalMinutes,e);case"XX":return Ss(Cs.basic,e);case"XXXX":return Ss(Cs.basicOptionalSeconds,e);case"XXXXX":return Ss(Cs.extendedOptionalSeconds,e);case"XXX":default:return Ss(Cs.extended,e)}}set(e,n,i){return n.timestampIsSet?e:yt(e,e.getTime()-Sh(e)-i)}incompatibleTokens=["t","T","x"]}class W5 extends wt{priority=10;parse(e,n){switch(n){case"x":return Ss(Cs.basicOptionalMinutes,e);case"xx":return Ss(Cs.basic,e);case"xxxx":return Ss(Cs.basicOptionalSeconds,e);case"xxxxx":return Ss(Cs.extendedOptionalSeconds,e);case"xxx":default:return Ss(Cs.extended,e)}}set(e,n,i){return n.timestampIsSet?e:yt(e,e.getTime()-Sh(e)-i)}incompatibleTokens=["t","T","X"]}class z5 extends wt{priority=40;parse(e){return QC(e)}set(e,n,i){return[yt(e,i*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}class Y5 extends wt{priority=20;parse(e){return QC(e)}set(e,n,i){return[yt(e,i),{timestampIsSet:!0}]}incompatibleTokens="*"}const H5={G:new l5,y:new c5,Y:new u5,R:new d5,u:new h5,Q:new f5,q:new g5,M:new p5,L:new m5,w:new v5,I:new b5,d:new E5,D:new C5,E:new S5,e:new k5,c:new T5,i:new P5,a:new M5,b:new I5,B:new D5,h:new R5,H:new $5,K:new L5,k:new O5,m:new N5,s:new F5,S:new B5,X:new V5,x:new W5,t:new z5,T:new Y5},j5=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,K5=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,U5=/^'([^]*?)'?$/,G5=/''/g,X5=/\S/,q5=/[a-zA-Z]/;function im(t,e,n,i){const s=n5(),r=i?.locale??s.locale??GC,o=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,a=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??s.weekStartsOn??s.locale?.options?.weekStartsOn??0;if(e==="")return t===""?He(n):yt(n,NaN);const l={firstWeekContainsDate:o,weekStartsOn:a,locale:r},c=[new a5],u=e.match(K5).map(m=>{const v=m[0];if(v in tm){const y=tm[v];return y(m,r.formatLong)}return m}).join("").match(j5),d=[];for(let m of u){!i?.useAdditionalWeekYearTokens&&ZC(m)&&nm(m,e,t),!i?.useAdditionalDayOfYearTokens&&qC(m)&&nm(m,e,t);const v=m[0],y=H5[v];if(y){const{incompatibleTokens:x}=y;if(Array.isArray(x)){const w=d.find(b=>x.includes(b.token)||b.token===v);if(w)throw new RangeError(`The format string mustn't contain \`${w.fullToken}\` and \`${m}\` at the same time`)}else if(y.incompatibleTokens==="*"&&d.length>0)throw new RangeError(`The format string mustn't contain \`${m}\` and any other token at the same time`);d.push({token:v,fullToken:m});const E=y.run(t,m,r.match,l);if(!E)return yt(n,NaN);c.push(E.setter),t=E.rest}else{if(v.match(q5))throw new RangeError("Format string contains an unescaped latin alphabet character `"+v+"`");if(m==="''"?m="'":v==="'"&&(m=Z5(m)),t.indexOf(m)===0)t=t.slice(m.length);else return yt(n,NaN)}}if(t.length>0&&X5.test(t))return yt(n,NaN);const f=c.map(m=>m.priority).sort((m,v)=>v-m).filter((m,v,y)=>y.indexOf(m)===v).map(m=>c.filter(v=>v.priority===m).sort((v,y)=>y.subPriority-v.subPriority)).map(m=>m[0]);let g=He(n);if(isNaN(g.getTime()))return yt(n,NaN);const p={};for(const m of f){if(!m.validate(g,l))return yt(n,NaN);const v=m.set(g,p,l);Array.isArray(v)?(g=v[0],Object.assign(p,v[1])):g=v}return yt(n,g)}function Z5(t){return t.match(U5)[1].replace(G5,"'")}function m0(t,e){const n=Xo(t),i=Xo(e);return+n==+i}function J5(t,e){return rs(t,-e)}function nS(t,e){const n=He(t),i=n.getFullYear(),s=n.getDate(),r=yt(t,0);r.setFullYear(i,e,15),r.setHours(0,0,0,0);const o=t5(r);return n.setMonth(e,Math.min(s,o)),n}function Dt(t,e){let n=He(t);return isNaN(+n)?yt(t,NaN):(e.year!=null&&n.setFullYear(e.year),e.month!=null&&(n=nS(n,e.month)),e.date!=null&&n.setDate(e.date),e.hours!=null&&n.setHours(e.hours),e.minutes!=null&&n.setMinutes(e.minutes),e.seconds!=null&&n.setSeconds(e.seconds),e.milliseconds!=null&&n.setMilliseconds(e.milliseconds),n)}function Q5(t,e){const n=He(t);return n.setHours(e),n}function iS(t,e){const n=He(t);return n.setMilliseconds(e),n}function e4(t,e){const n=He(t);return n.setMinutes(e),n}function sS(t,e){const n=He(t);return n.setSeconds(e),n}function As(t,e){const n=He(t);return isNaN(+n)?yt(t,NaN):(n.setFullYear(e),n)}function Al(t,e){return ds(t,-e)}function t4(t,e){const{years:n=0,months:i=0,weeks:s=0,days:r=0,hours:o=0,minutes:a=0,seconds:l=0}=e,c=Al(t,i+n*12),u=J5(c,r+s*7),d=a+o*60,g=(l+d*60)*1e3;return yt(t,u.getTime()-g)}function rS(t,e){return A_(t,-e)}function Gl(){const t=ND();return P(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...t},[h("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),h("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),h("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),h("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}Gl.compatConfig={MODE:3};function oS(){return P(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),h("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}oS.compatConfig={MODE:3};function $_(){return P(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}$_.compatConfig={MODE:3};function L_(){return P(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}L_.compatConfig={MODE:3};function O_(){return P(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),h("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}O_.compatConfig={MODE:3};function N_(){return P(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}N_.compatConfig={MODE:3};function F_(){return P(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}F_.compatConfig={MODE:3};const xi=(t,e)=>e?new Date(t.toLocaleString("en-US",{timeZone:e})):new Date(t),B_=(t,e,n)=>sm(t,e,n)||ke(),n4=(t,e,n)=>{const i=e.dateInTz?xi(new Date(t),e.dateInTz):ke(t);return n?ai(i,!0):i},sm=(t,e,n)=>{if(!t)return null;const i=n?ai(ke(t),!0):ke(t);return e?e.exactMatch?n4(t,e,n):xi(i,e.timezone):i},i4=t=>{if(!t)return 0;const e=new Date,n=new Date(e.toLocaleString("en-US",{timeZone:"UTC"})),i=new Date(e.toLocaleString("en-US",{timeZone:t})),s=i.getTimezoneOffset()/60;return(+n-+i)/(1e3*60*60)-s};var ts=(t=>(t.month="month",t.year="year",t))(ts||{}),Ho=(t=>(t.top="top",t.bottom="bottom",t))(Ho||{}),ia=(t=>(t.header="header",t.calendar="calendar",t.timePicker="timePicker",t))(ia||{}),jn=(t=>(t.month="month",t.year="year",t.calendar="calendar",t.time="time",t.minutes="minutes",t.hours="hours",t.seconds="seconds",t))(jn||{});const s4=["timestamp","date","iso"];var Qn=(t=>(t.up="up",t.down="down",t.left="left",t.right="right",t))(Qn||{}),Nt=(t=>(t.arrowUp="ArrowUp",t.arrowDown="ArrowDown",t.arrowLeft="ArrowLeft",t.arrowRight="ArrowRight",t.enter="Enter",t.space=" ",t.esc="Escape",t.tab="Tab",t.home="Home",t.end="End",t.pageUp="PageUp",t.pageDown="PageDown",t))(Nt||{});function _0(t){return e=>new Intl.DateTimeFormat(t,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${e}T00:00:00+00:00`)).slice(0,2)}function r4(t){return e=>Ls(xi(new Date(`2017-01-0${e}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:t})}const o4=(t,e,n)=>{const i=[1,2,3,4,5,6,7];let s;if(t!==null)try{s=i.map(r4(t))}catch{s=i.map(_0(e))}else s=i.map(_0(e));const r=s.slice(0,n),o=s.slice(n+1,s.length);return[s[n]].concat(...o).concat(...r)},V_=(t,e,n)=>{const i=[];for(let s=+t[0];s<=+t[1];s++)i.push({value:+s,text:uS(s,e)});return n?i.reverse():i},aS=(t,e,n)=>{const i=[1,2,3,4,5,6,7,8,9,10,11,12].map(r=>{const o=r<10?`0${r}`:r;return new Date(`2017-${o}-01T00:00:00+00:00`)});if(t!==null)try{const r=n==="long"?"LLLL":"LLL";return i.map((o,a)=>{const l=Ls(xi(o,"UTC"),r,{locale:t});return{text:l.charAt(0).toUpperCase()+l.substring(1),value:a}})}catch{}const s=new Intl.DateTimeFormat(e,{month:n,timeZone:"UTC"});return i.map((r,o)=>{const a=s.format(r);return{text:a.charAt(0).toUpperCase()+a.substring(1),value:o}})},a4=t=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][t],bn=t=>{const e=Z(t);return e!=null&&e.$el?e?.$el:e},l4=t=>({type:"dot",...t??{}}),lS=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,W_={prop:t=>`"${t}" prop must be enabled!`,dateArr:t=>`You need to use array as "model-value" binding in order to support "${t}"`},Tn=t=>t,v0=t=>t===0?t:!t||isNaN(+t)?null:+t,y0=t=>t===null,cS=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},c4=t=>{const e=[],n=i=>i.filter(s=>s);for(let i=0;i{const i=n!=null,s=e!=null;if(!i&&!s)return!1;const r=+n,o=+e;return i&&s?+t>r||+tr:s?+tc4(t).map(n=>n.map(i=>{const{active:s,disabled:r,isBetween:o,highlighted:a}=e(i);return{...i,active:s,disabled:r,className:{dp__overlay_cell_active:s,dp__overlay_cell:!s,dp__overlay_cell_disabled:r,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:r&&s,dp__cell_in_between:o,"dp--highlighted":a}}})),eo=(t,e,n=!1)=>{t&&e.allowStopPropagation&&(n&&t.stopImmediatePropagation(),t.stopPropagation())},u4=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function d4(t,e){let n=[...document.querySelectorAll(u4())];n=n.filter(s=>!t.contains(s)||s.hasAttribute("data-datepicker-instance"));const i=n.indexOf(t);if(i>=0&&(e?i-1>=0:i+1<=n.length))return n[i+(e?-1:1)]}const rm=(t,e)=>t?.querySelector(`[data-dp-element="${e}"]`),uS=(t,e)=>new Intl.NumberFormat(e,{useGrouping:!1,style:"decimal"}).format(t),z_=t=>Ls(t,"dd-MM-yyyy"),Lg=t=>Array.isArray(t),Th=(t,e)=>e.get(z_(t)),h4=(t,e)=>t?e?e instanceof Map?!!Th(t,e):e(ke(t)):!1:!0,si=(t,e,n=!1,i)=>{if(t.key===Nt.enter||t.key===Nt.space)return n&&t.preventDefault(),e();if(i)return i(t)},b0=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(t=>navigator.userAgent.includes(t))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,w0=(t,e,n,i,s,r)=>{const o=im(t,e.slice(0,t.length),new Date,{locale:r});return Hc(o)&&HC(o)?i||s?o:Dt(o,{hours:+n.hours,minutes:+n?.minutes,seconds:+n?.seconds,milliseconds:0}):null},f4=(t,e,n,i,s,r)=>{const o=Array.isArray(n)?n[0]:n;if(typeof e=="string")return w0(t,e,o,i,s,r);if(Array.isArray(e)){let a=null;for(const l of e)if(a=w0(t,l,o,i,s,r),a)break;return a}return typeof e=="function"?e(t):null},ke=t=>t?new Date(t):new Date,g4=(t,e,n)=>{if(e){const s=(t.getMonth()+1).toString().padStart(2,"0"),r=t.getDate().toString().padStart(2,"0"),o=t.getHours().toString().padStart(2,"0"),a=t.getMinutes().toString().padStart(2,"0"),l=n?t.getSeconds().toString().padStart(2,"0"):"00";return`${t.getFullYear()}-${s}-${r}T${o}:${a}:${l}.000Z`}const i=Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds());return new Date(i).toISOString()},ai=(t,e)=>{const n=ke(JSON.parse(JSON.stringify(t))),i=Dt(n,{hours:0,minutes:0,seconds:0,milliseconds:0});return e?lF(i):i},to=(t,e,n,i)=>{let s=t?ke(t):ke();return(e||e===0)&&(s=Q5(s,+e)),(n||n===0)&&(s=e4(s,+n)),(i||i===0)&&(s=sS(s,+i)),iS(s,0)},tn=(t,e)=>!t||!e?!1:cu(ai(t),ai(e)),ct=(t,e)=>!t||!e?!1:tl(ai(t),ai(e)),ln=(t,e)=>!t||!e?!1:Tl(ai(t),ai(e)),Ef=(t,e,n)=>t!=null&&t[0]&&t!=null&&t[1]?ln(n,t[0])&&tn(n,t[1]):t!=null&&t[0]&&e?ln(n,t[0])&&tn(n,e)||tn(n,t[0])&&ln(n,e):!1,os=t=>{const e=Dt(new Date(t),{date:1});return ai(e)},Og=(t,e,n)=>e&&(n||n===0)?Object.fromEntries(["hours","minutes","seconds"].map(i=>i===e?[i,n]:[i,isNaN(+t[i])?void 0:+t[i]])):{hours:isNaN(+t.hours)?void 0:+t.hours,minutes:isNaN(+t.minutes)?void 0:+t.minutes,seconds:isNaN(+t.seconds)?void 0:+t.seconds},sa=t=>({hours:vr(t),minutes:ao(t),seconds:kl(t)}),dS=(t,e)=>{if(e){const n=Ze(ke(e));if(n>t)return 12;if(n===t)return at(ke(e))}},hS=(t,e)=>{if(e){const n=Ze(ke(e));return n{if(t)return Ze(ke(t))},fS=(t,e)=>{const n=ln(t,e)?e:t,i=ln(e,t)?e:t;return jC({start:n,end:i})},p4=t=>{const e=ds(t,1);return{month:at(e),year:Ze(e)}},nr=(t,e)=>{const n=ps(t,{weekStartsOn:+e}),i=UC(t,{weekStartsOn:+e});return[n,i]},gS=(t,e)=>{const n={hours:vr(ke()),minutes:ao(ke()),seconds:e?kl(ke()):0};return Object.assign(n,t)},Kr=(t,e,n)=>[Dt(ke(t),{date:1}),Dt(ke(),{month:e,year:n,date:1})],ar=(t,e,n)=>{let i=t?ke(t):ke();return(e||e===0)&&(i=nS(i,e)),n&&(i=As(i,n)),i},pS=(t,e,n,i,s)=>{if(!i||s&&!e||!s&&!n)return!1;const r=s?ds(t,1):Al(t,1),o=[at(r),Ze(r)];return s?!_4(...o,e):!m4(...o,n)},m4=(t,e,n)=>tn(...Kr(n,t,e))||ct(...Kr(n,t,e)),_4=(t,e,n)=>ln(...Kr(n,t,e))||ct(...Kr(n,t,e)),mS=(t,e,n,i,s,r,o)=>{if(typeof e=="function"&&!o)return e(t);const a=n?{locale:n}:void 0;return Array.isArray(t)?`${Ls(t[0],r,a)}${s&&!t[1]?"":i}${t[1]?Ls(t[1],r,a):""}`:Ls(t,r,a)},La=t=>{if(t)return null;throw new Error(W_.prop("partial-range"))},kd=(t,e)=>{if(e)return t();throw new Error(W_.prop("range"))},om=t=>Array.isArray(t)?Hc(t[0])&&(t[1]?Hc(t[1]):!0):t?Hc(t):!1,v4=(t,e)=>Dt(e??ke(),{hours:+t.hours||0,minutes:+t.minutes||0,seconds:+t.seconds||0}),Ng=(t,e,n,i)=>{if(!t)return!0;if(i){const s=n==="max"?cu(t,e):Tl(t,e),r={seconds:0,milliseconds:0};return s||tl(Dt(t,r),Dt(e,r))}return n==="max"?t.getTime()<=e.getTime():t.getTime()>=e.getTime()},Fg=(t,e,n)=>t?v4(t,e):ke(n??e),x0=(t,e,n,i,s)=>{if(Array.isArray(i)){const o=Fg(t,i[0],e),a=Fg(t,i[1],e);return Ng(i[0],o,n,!!e)&&Ng(i[1],a,n,!!e)&&s}const r=Fg(t,i,e);return Ng(i,r,n,!!e)&&s},Bg=t=>Dt(ke(),sa(t)),y4=(t,e)=>t instanceof Map?Array.from(t.values()).filter(n=>Ze(ke(n))===e).map(n=>at(n)):[],_S=(t,e,n)=>typeof t=="function"?t({month:e,year:n}):!!t.months.find(i=>i.month===e&&i.year===n),Y_=(t,e)=>typeof t=="function"?t(e):t.years.includes(e),vS=t=>Ls(t,"yyyy-MM-dd"),dc=Ei({menuFocused:!1,shiftKeyInMenu:!1}),yS=()=>{const t=n=>{dc.menuFocused=n},e=n=>{dc.shiftKeyInMenu!==n&&(dc.shiftKeyInMenu=n)};return{control:ve(()=>({shiftKeyInMenu:dc.shiftKeyInMenu,menuFocused:dc.menuFocused})),setMenuFocused:t,setShiftKey:e}},Ot=Ei({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),Vg=me(null),Td=me(!1),Wg=me(!1),zg=me(!1),Yg=me(!1),Wn=me(0),an=me(0),yo=()=>{const t=ve(()=>Td.value?[...Ot.selectionGrid,Ot.actionRow].filter(d=>d.length):Wg.value?[...Ot.timePicker[0],...Ot.timePicker[1],Yg.value?[]:[Vg.value],Ot.actionRow].filter(d=>d.length):zg.value?[...Ot.monthPicker,Ot.actionRow]:[Ot.monthYear,...Ot.calendar,Ot.time,Ot.actionRow].filter(d=>d.length)),e=d=>{Wn.value=d?Wn.value+1:Wn.value-1;let f=null;t.value[an.value]&&(f=t.value[an.value][Wn.value]),!f&&t.value[an.value+(d?1:-1)]?(an.value=an.value+(d?1:-1),Wn.value=d?0:t.value[an.value].length-1):f||(Wn.value=d?Wn.value-1:Wn.value+1)},n=d=>{an.value===0&&!d||an.value===t.value.length&&d||(an.value=d?an.value+1:an.value-1,t.value[an.value]?t.value[an.value]&&!t.value[an.value][Wn.value]&&Wn.value!==0&&(Wn.value=t.value[an.value].length-1):an.value=d?an.value-1:an.value+1)},i=d=>{let f=null;t.value[an.value]&&(f=t.value[an.value][Wn.value]),f?f.focus({preventScroll:!Td.value}):Wn.value=d?Wn.value-1:Wn.value+1},s=()=>{e(!0),i(!0)},r=()=>{e(!1),i(!1)},o=()=>{n(!1),i(!0)},a=()=>{n(!0),i(!0)},l=(d,f)=>{Ot[f]=d},c=(d,f)=>{Ot[f]=d},u=()=>{Wn.value=0,an.value=0};return{buildMatrix:l,buildMultiLevelMatrix:c,setTimePickerBackRef:d=>{Vg.value=d},setSelectionGrid:d=>{Td.value=d,u(),d||(Ot.selectionGrid=[])},setTimePicker:(d,f=!1)=>{Wg.value=d,Yg.value=f,u(),d||(Ot.timePicker[0]=[],Ot.timePicker[1]=[])},setTimePickerElements:(d,f=0)=>{Ot.timePicker[f]=d},arrowRight:s,arrowLeft:r,arrowUp:o,arrowDown:a,clearArrowNav:()=>{Ot.monthYear=[],Ot.calendar=[],Ot.time=[],Ot.actionRow=[],Ot.selectionGrid=[],Ot.timePicker[0]=[],Ot.timePicker[1]=[],Td.value=!1,Wg.value=!1,Yg.value=!1,zg.value=!1,u(),Vg.value=null},setMonthPicker:d=>{zg.value=d,u()},refSets:Ot}},E0=t=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...t??{}}),b4=t=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:e=>`Increment ${e}`,decrementValue:e=>`Decrement ${e}`,openTpOverlay:e=>`Open ${e} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,clearInput:"Clear value",calendarIcon:"Calendar icon",timePicker:"Time picker",monthPicker:e=>`Month picker${e?" overlay":""}`,yearPicker:e=>`Year picker${e?" overlay":""}`,timeOverlay:e=>`${e} overlay`,...t??{}}),C0=t=>t?typeof t=="boolean"?t?2:0:+t>=2?+t:2:0,w4=t=>{const e=typeof t=="object"&&t,n={static:!0,solo:!1};if(!t)return{...n,count:C0(!1)};const i=e?t:{},s=e?i.count??!0:t,r=C0(s);return Object.assign(n,i,{count:r})},x4=(t,e,n)=>t||(typeof n=="string"?n:e),E4=t=>typeof t=="boolean"?t?E0({}):!1:E0(t),C4=t=>{const e={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - "};return typeof t=="object"?{...e,...t??{},enabled:!0}:{...e,enabled:t}},S4=t=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...t??{}}),k4=t=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...t??{}}),T4=t=>{const e={input:!1};return typeof t=="object"?{...e,...t??{},enabled:!0}:{enabled:t,...e}},A4=t=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,arrowLeft:void 0,keepViewOnOffsetClick:!1,timeArrowHoldThreshold:0,shadowDom:!1,...t??{}}),P4=t=>{const e={dates:Array.isArray(t)?t.map(n=>ke(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof t=="function"?t:{...e,...t??{}}},M4=t=>typeof t=="object"?{type:t?.type??"local",hideOnOffsetDates:t?.hideOnOffsetDates??!1}:{type:t,hideOnOffsetDates:!1},I4=t=>{const e={noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1};return typeof t=="object"?{enabled:!0,...e,...t}:{enabled:t,...e}},D4=t=>t?typeof t=="string"?{timezone:t,exactMatch:!1,dateInTz:void 0,emitTimezone:void 0,convertModel:!0}:{timezone:t.timezone,exactMatch:t.exactMatch??!1,dateInTz:t.dateInTz??void 0,emitTimezone:t.emitTimezone??void 0,convertModel:t.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:void 0},Hg=(t,e,n)=>new Map(t.map(i=>{const s=B_(i,e,n);return[z_(s),s]})),R4=(t,e)=>t.length?new Map(t.map(n=>{const i=B_(n.date,e);return[z_(i),n]})):null,$4=t=>{var e;return{minDate:sm(t.minDate,t.timezone,t.isSpecific),maxDate:sm(t.maxDate,t.timezone,t.isSpecific),disabledDates:Lg(t.disabledDates)?Hg(t.disabledDates,t.timezone,t.isSpecific):t.disabledDates,allowedDates:Lg(t.allowedDates)?Hg(t.allowedDates,t.timezone,t.isSpecific):null,highlight:typeof t.highlight=="object"&&Lg((e=t.highlight)==null?void 0:e.dates)?Hg(t.highlight.dates,t.timezone):t.highlight,markers:R4(t.markers,t.timezone)}},L4=t=>typeof t=="boolean"?{enabled:t,dragSelect:!0,limit:null}:{enabled:!!t,limit:t.limit?+t.limit:null,dragSelect:t.dragSelect??!0},O4=t=>({...Object.fromEntries(Object.keys(t).map(e=>{const n=e,i=t[n],s=typeof t[n]=="string"?{[i]:!0}:Object.fromEntries(i.map(r=>[r,!0]));return[e,s]}))}),Ut=t=>{const e=()=>{const C=t.enableSeconds?":ss":"",k=t.enableMinutes?":mm":"";return t.is24?`HH${k}${C}`:`hh${k}${C} aa`},n=()=>{var C;return t.format?t.format:t.monthPicker?"MM/yyyy":t.timePicker?e():t.weekPicker?`${((C=v.value)==null?void 0:C.type)==="iso"?"RR":"ww"}-yyyy`:t.yearPicker?"yyyy":t.quarterPicker?"QQQ/yyyy":t.enableTimePicker?`MM/dd/yyyy, ${e()}`:"MM/dd/yyyy"},i=C=>gS(C,t.enableSeconds),s=()=>w.value.enabled?t.startTime&&Array.isArray(t.startTime)?[i(t.startTime[0]),i(t.startTime[1])]:null:t.startTime&&!Array.isArray(t.startTime)?i(t.startTime):null,r=ve(()=>w4(t.multiCalendars)),o=ve(()=>s()),a=ve(()=>b4(t.ariaLabels)),l=ve(()=>S4(t.filters)),c=ve(()=>E4(t.transitions)),u=ve(()=>k4(t.actionRow)),d=ve(()=>x4(t.previewFormat,t.format,n())),f=ve(()=>C4(t.textInput)),g=ve(()=>T4(t.inline)),p=ve(()=>A4(t.config)),m=ve(()=>P4(t.highlight)),v=ve(()=>M4(t.weekNumbers)),y=ve(()=>D4(t.timezone)),x=ve(()=>L4(t.multiDates)),E=ve(()=>$4({minDate:t.minDate,maxDate:t.maxDate,disabledDates:t.disabledDates,allowedDates:t.allowedDates,highlight:m.value,markers:t.markers,timezone:y.value,isSpecific:t.monthPicker||t.yearPicker||t.quarterPicker})),w=ve(()=>I4(t.range)),b=ve(()=>O4(t.ui));return{defaultedTransitions:c,defaultedMultiCalendars:r,defaultedStartTime:o,defaultedAriaLabels:a,defaultedFilters:l,defaultedActionRow:u,defaultedPreviewFormat:d,defaultedTextInput:f,defaultedInline:g,defaultedConfig:p,defaultedHighlight:m,defaultedWeekNumbers:v,defaultedRange:w,propDates:E,defaultedTz:y,defaultedMultiDates:x,defaultedUI:b,getDefaultPattern:n,getDefaultStartTime:s}},N4=(t,e,n)=>{const i=me(),{defaultedTextInput:s,defaultedRange:r,defaultedTz:o,defaultedMultiDates:a,getDefaultPattern:l}=Ut(e),c=me(""),u=tu(e,"format"),d=tu(e,"formatLocale");jt(i,()=>{typeof e.onInternalModelChange=="function"&&t("internal-model-change",i.value,ue(!0))},{deep:!0}),jt(r,(L,le)=>{L.enabled!==le.enabled&&(i.value=null)}),jt(u,()=>{X()});const f=L=>o.value.timezone&&o.value.convertModel?xi(L,o.value.timezone):L,g=L=>{if(o.value.timezone&&o.value.convertModel){const le=i4(o.value.timezone);return tF(L,le)}return L},p=(L,le,de=!1)=>mS(L,e.format,e.formatLocale,s.value.rangeSeparator,e.modelAuto,le??l(),de),m=L=>L?e.modelType?H(L):{hours:vr(L),minutes:ao(L),seconds:e.enableSeconds?kl(L):0}:null,v=L=>e.modelType?H(L):{month:at(L),year:Ze(L)},y=L=>Array.isArray(L)?a.value.enabled?L.map(le=>x(le,As(ke(),le))):kd(()=>[As(ke(),L[0]),L[1]?As(ke(),L[1]):La(r.value.partialRange)],r.value.enabled):As(ke(),+L),x=(L,le)=>(typeof L=="string"||typeof L=="number")&&e.modelType?J(L):le,E=L=>Array.isArray(L)?[x(L[0],to(null,+L[0].hours,+L[0].minutes,L[0].seconds)),x(L[1],to(null,+L[1].hours,+L[1].minutes,L[1].seconds))]:x(L,to(null,L.hours,L.minutes,L.seconds)),w=L=>{const le=Dt(ke(),{date:1});return Array.isArray(L)?a.value.enabled?L.map(de=>x(de,ar(le,+de.month,+de.year))):kd(()=>[x(L[0],ar(le,+L[0].month,+L[0].year)),x(L[1],L[1]?ar(le,+L[1].month,+L[1].year):La(r.value.partialRange))],r.value.enabled):x(L,ar(le,+L.month,+L.year))},b=L=>{if(Array.isArray(L))return L.map(le=>J(le));throw new Error(W_.dateArr("multi-dates"))},C=L=>{if(Array.isArray(L)&&r.value.enabled){const le=L[0],de=L[1];return[ke(Array.isArray(le)?le[0]:null),Array.isArray(de)&&de.length?ke(de[0]):null]}return ke(L[0])},k=L=>e.modelAuto?Array.isArray(L)?[J(L[0]),J(L[1])]:e.autoApply?[J(L)]:[J(L),null]:Array.isArray(L)?kd(()=>L[1]?[J(L[0]),L[1]?J(L[1]):La(r.value.partialRange)]:[J(L[0])],r.value.enabled):J(L),T=()=>{Array.isArray(i.value)&&r.value.enabled&&i.value.length===1&&i.value.push(La(r.value.partialRange))},A=()=>{const L=i.value;return[H(L[0]),L[1]?H(L[1]):La(r.value.partialRange)]},I=()=>i.value[1]?A():H(Tn(i.value[0])),V=()=>(i.value||[]).map(L=>H(L)),Y=(L=!1)=>(L||T(),e.modelAuto?I():a.value.enabled?V():Array.isArray(i.value)?kd(()=>A(),r.value.enabled):H(Tn(i.value))),ne=L=>!L||Array.isArray(L)&&!L.length?null:e.timePicker?E(Tn(L)):e.monthPicker?w(Tn(L)):e.yearPicker?y(Tn(L)):a.value.enabled?b(Tn(L)):e.weekPicker?C(Tn(L)):k(Tn(L)),N=L=>{const le=ne(L);om(Tn(le))?(i.value=Tn(le),X()):(i.value=null,c.value="")},B=()=>{const L=le=>Ls(le,s.value.format);return`${L(i.value[0])} ${s.value.rangeSeparator} ${i.value[1]?L(i.value[1]):""}`},R=()=>n.value&&i.value?Array.isArray(i.value)?B():Ls(i.value,s.value.format):p(i.value),W=()=>i.value?a.value.enabled?i.value.map(L=>p(L)).join("; "):s.value.enabled&&typeof s.value.format=="string"?R():p(i.value):"",X=()=>{!e.format||typeof e.format=="string"||s.value.enabled&&typeof s.value.format=="string"?c.value=W():c.value=e.format(i.value)},J=L=>{if(e.utc){const le=new Date(L);return e.utc==="preserve"?new Date(le.getTime()+le.getTimezoneOffset()*6e4):le}return e.modelType?s4.includes(e.modelType)?f(new Date(L)):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?f(im(L,l(),new Date,{locale:d.value})):f(im(L,e.modelType,new Date,{locale:d.value})):f(new Date(L))},H=L=>L?e.utc?g4(L,e.utc==="preserve",e.enableSeconds):e.modelType?e.modelType==="timestamp"?+g(L):e.modelType==="iso"?g(L).toISOString():e.modelType==="format"&&(typeof e.format=="string"||!e.format)?p(g(L)):p(g(L),e.modelType,!0):g(L):"",ce=(L,le=!1,de=!1)=>{if(de)return L;if(t("update:model-value",L),o.value.emitTimezone&&le){const xe=Array.isArray(L)?L.map(z=>xi(Tn(z),o.value.emitTimezone)):xi(Tn(L),o.value.emitTimezone);t("update:model-timezone-value",xe)}},ie=L=>Array.isArray(i.value)?a.value.enabled?i.value.map(le=>L(le)):[L(i.value[0]),i.value[1]?L(i.value[1]):La(r.value.partialRange)]:L(Tn(i.value)),te=()=>{if(Array.isArray(i.value)){const L=nr(i.value[0],e.weekStart),le=i.value[1]?nr(i.value[1],e.weekStart):[];return[L.map(de=>ke(de)),le.map(de=>ke(de))]}return nr(i.value,e.weekStart).map(L=>ke(L))},D=(L,le)=>ce(Tn(ie(L)),!1,le),ee=L=>{const le=te();return L?le:t("update:model-value",te())},ue=(L=!1)=>(L||X(),e.monthPicker?D(v,L):e.timePicker?D(m,L):e.yearPicker?D(Ze,L):e.weekPicker?ee(L):ce(Y(L),!0,L));return{inputValue:c,internalModelValue:i,checkBeforeEmit:()=>i.value?r.value.enabled?r.value.partialRange?i.value.length>=1:i.value.length===2:!!i.value:!1,parseExternalModelValue:N,formatInputValue:X,emitModelValue:ue}},F4=(t,e)=>{const{defaultedFilters:n,propDates:i}=Ut(t),{validateMonthYearInRange:s}=bo(t),r=(u,d)=>{let f=u;return n.value.months.includes(at(f))?(f=d?ds(u,1):Al(u,1),r(f,d)):f},o=(u,d)=>{let f=u;return n.value.years.includes(Ze(f))?(f=d?A_(u,1):rS(u,1),o(f,d)):f},a=(u,d=!1)=>{const f=Dt(ke(),{month:t.month,year:t.year});let g=u?ds(f,1):Al(f,1);t.disableYearSelect&&(g=As(g,t.year));let p=at(g),m=Ze(g);n.value.months.includes(p)&&(g=r(g,u),p=at(g),m=Ze(g)),n.value.years.includes(m)&&(g=o(g,u),m=Ze(g)),s(p,m,u,t.preventMinMaxNavigation)&&l(p,m,d)},l=(u,d,f)=>{e("update-month-year",{month:u,year:d,fromNav:f})},c=ve(()=>u=>pS(Dt(ke(),{month:t.month,year:t.year}),i.value.maxDate,i.value.minDate,t.preventMinMaxNavigation,u));return{handleMonthYearChange:a,isDisabled:c,updateMonthYear:l}},Cf={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[Boolean,String,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},onInternalModelChange:{type:[Function,Object],default:null},enableMinutes:{type:Boolean,default:!0},ui:{type:Object,default:()=>({})}},_s={...Cf,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},B4=["title"],V4=["disabled"],W4=fn({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},..._s},emits:["close-picker","select-date","select-now","invalid-select"],setup(t,{emit:e}){const n=e,i=t,{defaultedActionRow:s,defaultedPreviewFormat:r,defaultedMultiCalendars:o,defaultedTextInput:a,defaultedInline:l,defaultedRange:c,defaultedMultiDates:u}=Ut(i),{isTimeValid:d,isMonthValid:f}=bo(i),{buildMatrix:g}=yo(),p=me(null),m=me(null),v=me(!1),y=me({}),x=me(null),E=me(null);Vt(()=>{i.arrowNavigation&&g([bn(p),bn(m)],"actionRow"),w(),window.addEventListener("resize",w)}),_o(()=>{window.removeEventListener("resize",w)});const w=()=>{v.value=!1,setTimeout(()=>{var N,B;const R=(N=x.value)==null?void 0:N.getBoundingClientRect(),W=(B=E.value)==null?void 0:B.getBoundingClientRect();R&&W&&(y.value.maxWidth=`${W.width-R.width-20}px`),v.value=!0},0)},b=ve(()=>c.value.enabled&&!c.value.partialRange&&i.internalModelValue?i.internalModelValue.length===2:!0),C=ve(()=>!d.value(i.internalModelValue)||!f.value(i.internalModelValue)||!b.value),k=()=>{const N=r.value;return i.timePicker||i.monthPicker,N(Tn(i.internalModelValue))},T=()=>{const N=i.internalModelValue;return o.value.count>0?`${A(N[0])} - ${A(N[1])}`:[A(N[0]),A(N[1])]},A=N=>mS(N,r.value,i.formatLocale,a.value.rangeSeparator,i.modelAuto,r.value),I=ve(()=>!i.internalModelValue||!i.menuMount?"":typeof r.value=="string"?Array.isArray(i.internalModelValue)?i.internalModelValue.length===2&&i.internalModelValue[1]?T():u.value.enabled?i.internalModelValue.map(N=>`${A(N)}`):i.modelAuto?`${A(i.internalModelValue[0])}`:`${A(i.internalModelValue[0])} -`:A(i.internalModelValue):k()),V=()=>u.value.enabled?"; ":" - ",Y=ve(()=>Array.isArray(I.value)?I.value.join(V()):I.value),ne=()=>{d.value(i.internalModelValue)&&f.value(i.internalModelValue)&&b.value?n("select-date"):n("invalid-select")};return(N,B)=>(P(),F("div",{ref_key:"actionRowRef",ref:E,class:"dp__action_row"},[N.$slots["action-row"]?Fe(N.$slots,"action-row",In(xn({key:0},{internalModelValue:N.internalModelValue,disabled:C.value,selectDate:()=>N.$emit("select-date"),closePicker:()=>N.$emit("close-picker")}))):(P(),F(Ie,{key:1},[Z(s).showPreview?(P(),F("div",{key:0,class:"dp__selection_preview",title:Y.value,style:Mn(y.value)},[N.$slots["action-preview"]&&v.value?Fe(N.$slots,"action-preview",{key:0,value:N.internalModelValue}):se("",!0),!N.$slots["action-preview"]&&v.value?(P(),F(Ie,{key:1},[Be(pe(Y.value),1)],64)):se("",!0)],12,B4)):se("",!0),h("div",{ref_key:"actionBtnContainer",ref:x,class:"dp__action_buttons","data-dp-element":"action-row"},[N.$slots["action-buttons"]?Fe(N.$slots,"action-buttons",{key:0,value:N.internalModelValue}):se("",!0),N.$slots["action-buttons"]?se("",!0):(P(),F(Ie,{key:1},[!Z(l).enabled&&Z(s).showCancel?(P(),F("button",{key:0,ref_key:"cancelButtonRef",ref:p,type:"button",class:"dp__action_button dp__action_cancel",onClick:B[0]||(B[0]=R=>N.$emit("close-picker")),onKeydown:B[1]||(B[1]=R=>Z(si)(R,()=>N.$emit("close-picker")))},pe(N.cancelText),545)):se("",!0),Z(s).showNow?(P(),F("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:B[2]||(B[2]=R=>N.$emit("select-now")),onKeydown:B[3]||(B[3]=R=>Z(si)(R,()=>N.$emit("select-now")))},pe(N.nowButtonLabel),33)):se("",!0),Z(s).showSelect?(P(),F("button",{key:2,ref_key:"selectButtonRef",ref:m,type:"button",class:"dp__action_button dp__action_select",disabled:C.value,"data-test":"select-button",onKeydown:B[4]||(B[4]=R=>Z(si)(R,()=>ne())),onClick:ne},pe(N.selectText),41,V4)):se("",!0)],64))],512)],64))],512))}}),z4=["role","aria-label","tabindex"],Y4={class:"dp__selection_grid_header"},H4=["aria-selected","aria-disabled","data-test","onClick","onKeydown","onMouseover"],j4=["aria-label"],zu=fn({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{},overlayLabel:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(t,{expose:e,emit:n}){const{setSelectionGrid:i,buildMultiLevelMatrix:s,setMonthPicker:r}=yo(),o=n,a=t,{defaultedAriaLabels:l,defaultedTextInput:c,defaultedConfig:u}=Ut(a),{hideNavigationButtons:d}=Tf(),f=me(!1),g=me(null),p=me(null),m=me([]),v=me(),y=me(null),x=me(0),E=me(null);wE(()=>{g.value=null}),Vt(()=>{Rn().then(()=>V()),a.noOverlayFocus||b(),w(!0)}),_o(()=>w(!1));const w=ie=>{var te;a.arrowNavigation&&((te=a.headerRefs)!=null&&te.length?r(ie):i(ie))},b=()=>{var ie;const te=bn(p);te&&(c.value.enabled||(g.value?(ie=g.value)==null||ie.focus({preventScroll:!0}):te.focus({preventScroll:!0})),f.value=te.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!a.useRelative,"dp--overlay-relative":a.useRelative})),k=ve(()=>a.useRelative?{height:`${a.height}px`,width:"var(--dp-menu-min-width)"}:void 0),T=ve(()=>({dp__overlay_col:!0})),A=ve(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:f.value,dp__button_bottom:a.isLast})),I=ve(()=>{var ie,te;return{dp__overlay_container:!0,dp__container_flex:((ie=a.items)==null?void 0:ie.length)<=6,dp__container_block:((te=a.items)==null?void 0:te.length)>6}});jt(()=>a.items,()=>V(!1),{deep:!0});const V=(ie=!0)=>{Rn().then(()=>{const te=bn(g),D=bn(p),ee=bn(y),ue=bn(E),L=ee?ee.getBoundingClientRect().height:0;D&&(D.getBoundingClientRect().height?x.value=D.getBoundingClientRect().height-L:x.value=u.value.modeHeight-L),te&&ue&&ie&&(ue.scrollTop=te.offsetTop-ue.offsetTop-(x.value/2-te.getBoundingClientRect().height)-L)})},Y=ie=>{ie.disabled||o("selected",ie.value)},ne=()=>{o("toggle"),o("reset-flow")},N=()=>{a.escClose&&ne()},B=(ie,te,D,ee)=>{ie&&((te.active||te.value===a.focusValue)&&(g.value=ie),a.arrowNavigation&&(Array.isArray(m.value[D])?m.value[D][ee]=ie:m.value[D]=[ie],R()))},R=()=>{var ie,te;const D=(ie=a.headerRefs)!=null&&ie.length?[a.headerRefs].concat(m.value):m.value.concat([a.skipButtonRef?[]:[y.value]]);s(Tn(D),(te=a.headerRefs)!=null&&te.length?"monthPicker":"selectionGrid")},W=ie=>{a.arrowNavigation||eo(ie,u.value,!0)},X=ie=>{v.value=ie,o("hover-value",ie)},J=()=>{if(ne(),!a.isLast){const ie=rm(a.menuWrapRef??null,"action-row");if(ie){const te=cS(ie);te?.focus()}}},H=ie=>{switch(ie.key){case Nt.esc:return N();case Nt.arrowLeft:return W(ie);case Nt.arrowRight:return W(ie);case Nt.arrowUp:return W(ie);case Nt.arrowDown:return W(ie);default:return}},ce=ie=>{if(ie.key===Nt.enter)return ne();if(ie.key===Nt.tab)return J()};return e({focusGrid:b}),(ie,te)=>{var D;return P(),F("div",{ref_key:"gridWrapRef",ref:p,class:Ee(C.value),style:Mn(k.value),role:ie.useRelative?void 0:"dialog","aria-label":ie.overlayLabel,tabindex:ie.useRelative?void 0:"0",onKeydown:H,onClick:te[0]||(te[0]=ru(()=>{},["prevent"]))},[h("div",{ref_key:"containerRef",ref:E,class:Ee(I.value),style:Mn({"--dp-overlay-height":`${x.value}px`}),role:"grid"},[h("div",Y4,[Fe(ie.$slots,"header")]),ie.$slots.overlay?Fe(ie.$slots,"overlay",{key:0}):(P(!0),F(Ie,{key:1},Ge(ie.items,(ee,ue)=>(P(),F("div",{key:ue,class:Ee(["dp__overlay_row",{dp__flex_row:ie.items.length>=3}]),role:"row"},[(P(!0),F(Ie,null,Ge(ee,(L,le)=>(P(),F("div",{key:L.value,ref_for:!0,ref:de=>B(de,L,ue,le),role:"gridcell",class:Ee(T.value),"aria-selected":L.active||void 0,"aria-disabled":L.disabled||void 0,tabindex:"0","data-test":L.text,onClick:ru(de=>Y(L),["prevent"]),onKeydown:de=>Z(si)(de,()=>Y(L),!0),onMouseover:de=>X(L.value)},[h("div",{class:Ee(L.className)},[ie.$slots.item?Fe(ie.$slots,"item",{key:0,item:L}):se("",!0),ie.$slots.item?se("",!0):(P(),F(Ie,{key:1},[Be(pe(L.text),1)],64))],2)],42,H4))),128))],2))),128))],6),ie.$slots["button-icon"]?Re((P(),F("button",{key:0,ref_key:"toggleButton",ref:y,type:"button","aria-label":(D=Z(l))==null?void 0:D.toggleOverlay,class:Ee(A.value),tabindex:"0",onClick:ne,onKeydown:ce},[Fe(ie.$slots,"button-icon")],42,j4)),[[ah,!Z(d)(ie.hideNavigation,ie.type)]]):se("",!0)],46,z4)}}}),Sf=fn({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(t){const e=t,n=ve(()=>e.multiCalendars>0?[...Array(e.multiCalendars).keys()]:[0]),i=ve(()=>({dp__instance_calendar:e.multiCalendars>0}));return(s,r)=>(P(),F("div",{class:Ee({dp__menu_inner:!s.stretch,"dp--menu--inner-stretched":s.stretch,dp__flex_display:s.multiCalendars>0,"dp--flex-display-collapsed":s.collapse})},[(P(!0),F(Ie,null,Ge(n.value,(o,a)=>(P(),F("div",{key:o,class:Ee(i.value)},[Fe(s.$slots,"default",{instance:o,index:a})],2))),128))],2))}}),K4=["data-dp-element","aria-label","aria-disabled"],jc=fn({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(t,{emit:e}){const n=e,i=me(null);return Vt(()=>n("set-ref",i)),(s,r)=>(P(),F("button",{ref_key:"elRef",ref:i,type:"button","data-dp-element":s.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":s.ariaLabel,"aria-disabled":s.disabled||void 0,onClick:r[0]||(r[0]=o=>s.$emit("activate")),onKeydown:r[1]||(r[1]=o=>Z(si)(o,()=>s.$emit("activate"),!0))},[h("span",{class:Ee(["dp__inner_nav",{dp__inner_nav_disabled:s.disabled}])},[Fe(s.$slots,"default")],2)],40,K4))}}),U4=["aria-label","data-test"],bS=fn({__name:"YearModePicker",props:{..._s,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(t,{emit:e}){const n=e,i=t,{showRightIcon:s,showLeftIcon:r}=Tf(),{defaultedConfig:o,defaultedMultiCalendars:a,defaultedAriaLabels:l,defaultedTransitions:c,defaultedUI:u}=Ut(i),{showTransition:d,transitionName:f}=Yu(c),g=me(!1),p=(y=!1,x)=>{g.value=!g.value,n("toggle-year-picker",{flow:y,show:x})},m=y=>{g.value=!1,n("year-select",y)},v=(y=!1)=>{n("handle-year",y)};return(y,x)=>{var E,w,b,C,k;return P(),F(Ie,null,[h("div",{class:Ee(["dp--year-mode-picker",{"dp--hidden-el":g.value}])},[Z(r)(Z(a),t.instance)?(P(),Ce(jc,{key:0,ref:"mpPrevIconRef","aria-label":(E=Z(l))==null?void 0:E.prevYear,disabled:t.isDisabled(!1),class:Ee((w=Z(u))==null?void 0:w.navBtnPrev),onActivate:x[0]||(x[0]=T=>v(!1))},{default:Pe(()=>[y.$slots["arrow-left"]?Fe(y.$slots,"arrow-left",{key:0}):se("",!0),y.$slots["arrow-left"]?se("",!0):(P(),Ce(Z($_),{key:1}))]),_:3},8,["aria-label","disabled","class"])):se("",!0),h("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${t.year}-${(b=Z(l))==null?void 0:b.openYearsOverlay}`,"data-test":`year-mode-btn-${t.instance}`,onClick:x[1]||(x[1]=()=>p(!1)),onKeydown:x[2]||(x[2]=dC(()=>p(!1),["enter"]))},[y.$slots.year?Fe(y.$slots,"year",{key:0,year:t.year}):se("",!0),y.$slots.year?se("",!0):(P(),F(Ie,{key:1},[Be(pe(t.year),1)],64))],40,U4),Z(s)(Z(a),t.instance)?(P(),Ce(jc,{key:1,ref:"mpNextIconRef","aria-label":(C=Z(l))==null?void 0:C.nextYear,disabled:t.isDisabled(!0),class:Ee((k=Z(u))==null?void 0:k.navBtnNext),onActivate:x[3]||(x[3]=T=>v(!0))},{default:Pe(()=>[y.$slots["arrow-right"]?Fe(y.$slots,"arrow-right",{key:0}):se("",!0),y.$slots["arrow-right"]?se("",!0):(P(),Ce(Z(L_),{key:1}))]),_:3},8,["aria-label","disabled","class"])):se("",!0)],2),$(vt,{name:Z(f)(t.showYearPicker),css:Z(d)},{default:Pe(()=>{var T,A;return[t.showYearPicker?(P(),Ce(zu,{key:0,items:t.items,"text-input":y.textInput,"esc-close":y.escClose,config:y.config,"is-last":y.autoApply&&!Z(o).keepActionRow,"hide-navigation":y.hideNavigation,"aria-labels":y.ariaLabels,"overlay-label":(A=(T=Z(l))==null?void 0:T.yearPicker)==null?void 0:A.call(T,!0),type:"year",onToggle:p,onSelected:x[4]||(x[4]=I=>m(I))},Xn({"button-icon":Pe(()=>[y.$slots["calendar-icon"]?Fe(y.$slots,"calendar-icon",{key:0}):se("",!0),y.$slots["calendar-icon"]?se("",!0):(P(),Ce(Z(Gl),{key:1}))]),_:2},[y.$slots["year-overlay-value"]?{name:"item",fn:Pe(({item:I})=>[Fe(y.$slots,"year-overlay-value",{text:I.text,value:I.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):se("",!0)]}),_:3},8,["name","css"])],64)}}}),H_=(t,e,n)=>{if(e.value&&Array.isArray(e.value))if(e.value.some(i=>ct(t,i))){const i=e.value.filter(s=>!ct(s,t));e.value=i.length?i:null}else(n&&+n>e.value.length||!n)&&e.value.push(t);else e.value=[t]},j_=(t,e,n)=>{let i=t.value?t.value.slice():[];return i.length===2&&i[1]!==null&&(i=[]),i.length?tn(e,i[0])?(i.unshift(e),n("range-start",i[0]),n("range-start",i[1])):(i[1]=e,n("range-end",e)):(i=[e],n("range-start",e)),i},kf=(t,e,n,i)=>{t&&(t[0]&&t[1]&&n&&e("auto-apply"),t[0]&&!t[1]&&i&&n&&e("auto-apply"))},wS=t=>{Array.isArray(t.value)&&t.value.length<=2&&t.range?t.modelValue.value=t.value.map(e=>xi(ke(e),t.timezone)):Array.isArray(t.value)||(t.modelValue.value=xi(ke(t.value),t.timezone))},xS=(t,e,n,i)=>Array.isArray(e.value)&&(e.value.length===2||e.value.length===1&&i.value.partialRange)?i.value.fixedStart&&(ln(t,e.value[0])||ct(t,e.value[0]))?[e.value[0],t]:i.value.fixedEnd&&(tn(t,e.value[1])||ct(t,e.value[1]))?[t,e.value[1]]:(n("invalid-fixed-range",t),e.value):[],ES=({multiCalendars:t,range:e,highlight:n,propDates:i,calendars:s,modelValue:r,props:o,filters:a,year:l,month:c,emit:u})=>{const d=ve(()=>V_(o.yearRange,o.locale,o.reverseYears)),f=me([!1]),g=ve(()=>(I,V)=>{const Y=Dt(os(new Date),{month:c.value(I),year:l.value(I)}),ne=V?KC(Y):lu(Y);return pS(ne,i.value.maxDate,i.value.minDate,o.preventMinMaxNavigation,V)}),p=()=>Array.isArray(r.value)&&t.value.solo&&r.value[1],m=()=>{for(let I=0;I{if(!I)return m();const V=Dt(ke(),s.value[I]);return s.value[0].year=Ze(rS(V,t.value.count-1)),m()},y=(I,V)=>{const Y=oF(V,I);return e.value.showLastInRange&&Y>1?V:I},x=I=>o.focusStartDate||t.value.solo?I[0]:I[1]?y(I[0],I[1]):I[0],E=()=>{if(r.value){const I=Array.isArray(r.value)?x(r.value):r.value;s.value[0]={month:at(I),year:Ze(I)}}},w=()=>{E(),t.value.count&&m()};jt(r,(I,V)=>{o.isTextInputDate&&JSON.stringify(I??{})!==JSON.stringify(V??{})&&w()}),Vt(()=>{w()});const b=(I,V)=>{s.value[V].year=I,u("update-month-year",{instance:V,year:I,month:s.value[V].month}),t.value.count&&!t.value.solo&&v(V)},C=ve(()=>I=>Pl(d.value,V=>{var Y;const ne=l.value(I)===V.value,N=uu(V.value,Ml(i.value.minDate),Ml(i.value.maxDate))||((Y=a.value.years)==null?void 0:Y.includes(l.value(I))),B=Y_(n.value,V.value);return{active:ne,disabled:N,highlighted:B}})),k=(I,V)=>{b(I,V),A(V)},T=(I,V=!1)=>{if(!g.value(I,V)){const Y=V?l.value(I)+1:l.value(I)-1;b(Y,I)}},A=(I,V=!1,Y)=>{V||u("reset-flow"),Y!==void 0?f.value[I]=Y:f.value[I]=!f.value[I],f.value[I]?u("overlay-toggle",{open:!0,overlay:jn.year}):(u("overlay-closed"),u("overlay-toggle",{open:!1,overlay:jn.year}))};return{isDisabled:g,groupedYears:C,showYearPicker:f,selectYear:b,toggleYearPicker:A,handleYearSelect:k,handleYear:T}},G4=(t,e)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:i,defaultedTransitions:s,defaultedConfig:r,defaultedRange:o,defaultedHighlight:a,propDates:l,defaultedTz:c,defaultedFilters:u,defaultedMultiDates:d}=Ut(t),f=()=>{t.isTextInputDate&&w(Ze(ke(t.startDate)),0)},{modelValue:g,year:p,month:m,calendars:v}=Hu(t,e,f),y=ve(()=>aS(t.formatLocale,t.locale,t.monthNameFormat)),x=me(null),{checkMinMaxRange:E}=bo(t),{selectYear:w,groupedYears:b,showYearPicker:C,toggleYearPicker:k,handleYearSelect:T,handleYear:A,isDisabled:I}=ES({modelValue:g,multiCalendars:n,range:o,highlight:a,calendars:v,year:p,propDates:l,month:m,filters:u,props:t,emit:e});Vt(()=>{t.startDate&&(g.value&&t.focusStartDate||!g.value)&&w(Ze(ke(t.startDate)),0)});const V=D=>D?{month:at(D),year:Ze(D)}:{month:null,year:null},Y=()=>g.value?Array.isArray(g.value)?g.value.map(D=>V(D)):V(g.value):V(),ne=(D,ee)=>{const ue=v.value[D],L=Y();return Array.isArray(L)?L.some(le=>le.year===ue?.year&&le.month===ee):ue?.year===L.year&&ee===L.month},N=(D,ee,ue)=>{var L,le;const de=Y();return Array.isArray(de)?p.value(ee)===((L=de[ue])==null?void 0:L.year)&&D===((le=de[ue])==null?void 0:le.month):!1},B=(D,ee)=>{if(o.value.enabled){const ue=Y();if(Array.isArray(g.value)&&Array.isArray(ue)){const L=N(D,ee,0)||N(D,ee,1),le=ar(os(ke()),D,p.value(ee));return Ef(g.value,x.value,le)&&!L}return!1}return!1},R=ve(()=>D=>Pl(y.value,ee=>{var ue;const L=ne(D,ee.value),le=uu(ee.value,dS(p.value(D),l.value.minDate),hS(p.value(D),l.value.maxDate))||y4(l.value.disabledDates,p.value(D)).includes(ee.value)||((ue=u.value.months)==null?void 0:ue.includes(ee.value)),de=B(ee.value,D),xe=_S(a.value,ee.value,p.value(D));return{active:L,disabled:le,isBetween:de,highlighted:xe}})),W=(D,ee)=>ar(os(ke()),D,p.value(ee)),X=(D,ee)=>{const ue=g.value?g.value:os(new Date);g.value=ar(ue,D,p.value(ee)),e("auto-apply"),e("update-flow-step")},J=(D,ee)=>{const ue=W(D,ee);o.value.fixedEnd||o.value.fixedStart?g.value=xS(ue,g,e,o):g.value?E(ue,g.value)&&(g.value=j_(g,W(D,ee),e)):g.value=[W(D,ee)],Rn().then(()=>{kf(g.value,e,t.autoApply,t.modelAuto)})},H=(D,ee)=>{H_(W(D,ee),g,d.value.limit),e("auto-apply",!0)},ce=(D,ee)=>(v.value[ee].month=D,te(ee,v.value[ee].year,D),d.value.enabled?H(D,ee):o.value.enabled?J(D,ee):X(D,ee)),ie=(D,ee)=>{w(D,ee),te(ee,D,null)},te=(D,ee,ue)=>{let L=ue;if(!L&&L!==0){const le=Y();L=Array.isArray(le)?le[D].month:le.month}e("update-month-year",{instance:D,year:ee,month:L})};return{groupedMonths:R,groupedYears:b,year:p,isDisabled:I,defaultedMultiCalendars:n,defaultedAriaLabels:i,defaultedTransitions:s,defaultedConfig:r,showYearPicker:C,modelValue:g,presetDate:(D,ee)=>{wS({value:D,modelValue:g,range:o.value.enabled,timezone:ee?void 0:c.value.timezone}),e("auto-apply")},setHoverDate:(D,ee)=>{x.value=W(D,ee)},selectMonth:ce,selectYear:ie,toggleYearPicker:k,handleYearSelect:T,handleYear:A,getModelMonthYear:Y}},X4=fn({compatConfig:{MODE:3},__name:"MonthPicker",props:{..._s},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range","overlay-toggle"],setup(t,{expose:e,emit:n}){const i=n,s=va(),r=Pi(s,"yearMode"),o=t;Vt(()=>{o.shadow||i("mount",null)});const{groupedMonths:a,groupedYears:l,year:c,isDisabled:u,defaultedMultiCalendars:d,defaultedConfig:f,showYearPicker:g,modelValue:p,presetDate:m,setHoverDate:v,selectMonth:y,selectYear:x,toggleYearPicker:E,handleYearSelect:w,handleYear:b,getModelMonthYear:C}=G4(o,i);return e({getSidebarProps:()=>({modelValue:p,year:c,getModelMonthYear:C,selectMonth:y,selectYear:x,handleYear:b}),presetDate:m,toggleYearPicker:k=>E(0,k)}),(k,T)=>(P(),Ce(Sf,{"multi-calendars":Z(d).count,collapse:k.collapse,stretch:""},{default:Pe(({instance:A})=>[k.$slots["top-extra"]?Fe(k.$slots,"top-extra",{key:0,value:k.internalModelValue}):se("",!0),k.$slots["month-year"]?Fe(k.$slots,"month-year",In(xn({key:1},{year:Z(c),months:Z(a)(A),years:Z(l)(A),selectMonth:Z(y),selectYear:Z(x),instance:A}))):(P(),Ce(zu,{key:2,items:Z(a)(A),"arrow-navigation":k.arrowNavigation,"is-last":k.autoApply&&!Z(f).keepActionRow,"esc-close":k.escClose,height:Z(f).modeHeight,config:k.config,"no-overlay-focus":!!(k.noOverlayFocus||k.textInput),"use-relative":"",type:"month",onSelected:I=>Z(y)(I,A),onHoverValue:I=>Z(v)(I,A)},Xn({header:Pe(()=>[$(bS,xn(k.$props,{items:Z(l)(A),instance:A,"show-year-picker":Z(g)[A],year:Z(c)(A),"is-disabled":I=>Z(u)(A,I),onHandleYear:I=>Z(b)(A,I),onYearSelect:I=>Z(w)(I,A),onToggleYearPicker:I=>Z(E)(A,I?.flow,I?.show)}),Xn({_:2},[Ge(Z(r),(I,V)=>({name:I,fn:Pe(Y=>[Fe(k.$slots,I,In(ii(Y)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[k.$slots["month-overlay-value"]?{name:"item",fn:Pe(({item:I})=>[Fe(k.$slots,"month-overlay-value",{text:I.text,value:I.value})]),key:"0"}:void 0]),1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),q4=(t,e)=>{const n=()=>{t.isTextInputDate&&(u.value=Ze(ke(t.startDate)))},{modelValue:i}=Hu(t,e,n),s=me(null),{defaultedHighlight:r,defaultedMultiDates:o,defaultedFilters:a,defaultedRange:l,propDates:c}=Ut(t),u=me();Vt(()=>{t.startDate&&(i.value&&t.focusStartDate||!i.value)&&(u.value=Ze(ke(t.startDate)))});const d=m=>Array.isArray(i.value)?i.value.some(v=>Ze(v)===m):i.value?Ze(i.value)===m:!1,f=m=>l.value.enabled&&Array.isArray(i.value)?Ef(i.value,s.value,p(m)):!1,g=ve(()=>Pl(V_(t.yearRange,t.locale,t.reverseYears),m=>{const v=d(m.value),y=uu(m.value,Ml(c.value.minDate),Ml(c.value.maxDate))||a.value.years.includes(m.value),x=f(m.value)&&!v,E=Y_(r.value,m.value);return{active:v,disabled:y,isBetween:x,highlighted:E}})),p=m=>As(os(lu(new Date)),m);return{groupedYears:g,modelValue:i,focusYear:u,setHoverValue:m=>{s.value=As(os(new Date),m)},selectYear:m=>{var v;if(e("update-month-year",{instance:0,year:m}),o.value.enabled)return i.value?Array.isArray(i.value)&&(((v=i.value)==null?void 0:v.map(y=>Ze(y))).includes(m)?i.value=i.value.filter(y=>Ze(y)!==m):i.value.push(As(ai(ke()),m))):i.value=[As(ai(lu(ke())),m)],e("auto-apply",!0);l.value.enabled?(i.value=j_(i,p(m),e),Rn().then(()=>{kf(i.value,e,t.autoApply,t.modelAuto)})):(i.value=p(m),e("auto-apply"))}}},Z4=fn({compatConfig:{MODE:3},__name:"YearPicker",props:{..._s},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(t,{expose:e,emit:n}){const i=n,s=t,{groupedYears:r,modelValue:o,focusYear:a,selectYear:l,setHoverValue:c}=q4(s,i),{defaultedConfig:u}=Ut(s);return e({getSidebarProps:()=>({modelValue:o,selectYear:l})}),(d,f)=>(P(),F("div",null,[d.$slots["top-extra"]?Fe(d.$slots,"top-extra",{key:0,value:d.internalModelValue}):se("",!0),d.$slots["month-year"]?Fe(d.$slots,"month-year",In(xn({key:1},{years:Z(r),selectYear:Z(l)}))):(P(),Ce(zu,{key:2,items:Z(r),"is-last":d.autoApply&&!Z(u).keepActionRow,height:Z(u).modeHeight,config:d.config,"no-overlay-focus":!!(d.noOverlayFocus||d.textInput),"focus-value":Z(a),type:"year","use-relative":"",onSelected:Z(l),onHoverValue:Z(c)},Xn({_:2},[d.$slots["year-overlay-value"]?{name:"item",fn:Pe(({item:g})=>[Fe(d.$slots,"year-overlay-value",{text:g.text,value:g.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),J4={key:0,class:"dp__time_input"},Q4=["data-test","aria-label","onKeydown","onClick","onMousedown"],eB=["aria-label","disabled","data-test","onKeydown","onClick"],tB=["data-test","aria-label","onKeydown","onClick","onMousedown"],nB={key:0},iB=["aria-label"],sB=fn({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},..._s},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","overlay-opened","am-pm-change"],setup(t,{expose:e,emit:n}){const i=n,s=t,{setTimePickerElements:r,setTimePickerBackRef:o}=yo(),{defaultedAriaLabels:a,defaultedTransitions:l,defaultedFilters:c,defaultedConfig:u,defaultedRange:d}=Ut(s),{transitionName:f,showTransition:g}=Yu(l),p=Ei({hours:!1,minutes:!1,seconds:!1}),m=me("AM"),v=me(null),y=me([]),x=me(),E=me(!1);Vt(()=>{i("mounted")});const w=S=>Dt(new Date,{hours:S.hours,minutes:S.minutes,seconds:s.enableSeconds?S.seconds:0,milliseconds:0}),b=ve(()=>S=>W(S,s[S])||k(S,s[S])),C=ve(()=>({hours:s.hours,minutes:s.minutes,seconds:s.seconds})),k=(S,O)=>d.value.enabled&&!d.value.disableTimeRangeValidation?!s.validateTime(S,O):!1,T=(S,O)=>{if(d.value.enabled&&!d.value.disableTimeRangeValidation){const K=O?+s[`${S}Increment`]:-+s[`${S}Increment`],U=s[S]+K;return!s.validateTime(S,U)}return!1},A=ve(()=>S=>!ie(+s[S]+ +s[`${S}Increment`],S)||T(S,!0)),I=ve(()=>S=>!ie(+s[S]-+s[`${S}Increment`],S)||T(S,!1)),V=(S,O)=>BC(Dt(ke(),S),O),Y=(S,O)=>t4(Dt(ke(),S),O),ne=ve(()=>({dp__time_col:!0,dp__time_col_block:!s.timePickerInline,dp__time_col_reg_block:!s.enableSeconds&&s.is24&&!s.timePickerInline,dp__time_col_reg_inline:!s.enableSeconds&&s.is24&&s.timePickerInline,dp__time_col_reg_with_button:!s.enableSeconds&&!s.is24,dp__time_col_sec:s.enableSeconds&&s.is24,dp__time_col_sec_with_button:s.enableSeconds&&!s.is24})),N=ve(()=>{const S=[{type:"hours"}];return s.enableMinutes&&S.push({type:"",separator:!0},{type:"minutes"}),s.enableSeconds&&S.push({type:"",separator:!0},{type:"seconds"}),S}),B=ve(()=>N.value.filter(S=>!S.separator)),R=ve(()=>S=>{if(S==="hours"){const O=le(+s.hours);return{text:O<10?`0${O}`:`${O}`,value:O}}return{text:s[S]<10?`0${s[S]}`:`${s[S]}`,value:s[S]}}),W=(S,O)=>{var K;if(!s.disabledTimesConfig)return!1;const U=s.disabledTimesConfig(s.order,S==="hours"?O:void 0);return U[S]?!!((K=U[S])!=null&&K.includes(O)):!0},X=(S,O)=>O!=="hours"||m.value==="AM"?S:S+12,J=S=>{const O=s.is24?24:12,K=S==="hours"?O:60,U=+s[`${S}GridIncrement`],oe=S==="hours"&&!s.is24?U:0,j=[];for(let re=oe;re({active:!1,disabled:c.value.times[S].includes(re.value)||!ie(re.value,S)||W(S,re.value)||k(S,re.value)}))},H=S=>S>=0?S:59,ce=S=>S>=0?S:23,ie=(S,O)=>{const K=s.minTime?w(Og(s.minTime)):null,U=s.maxTime?w(Og(s.maxTime)):null,oe=w(Og(C.value,O,O==="minutes"||O==="seconds"?H(S):ce(S)));return K&&U?(cu(oe,U)||tl(oe,U))&&(Tl(oe,K)||tl(oe,K)):K?Tl(oe,K)||tl(oe,K):U?cu(oe,U)||tl(oe,U):!0},te=S=>s[`no${S[0].toUpperCase()+S.slice(1)}Overlay`],D=S=>{te(S)||(p[S]=!p[S],p[S]?(E.value=!0,i("overlay-opened",S)):(E.value=!1,i("overlay-closed",S)))},ee=S=>S==="hours"?vr:S==="minutes"?ao:kl,ue=()=>{x.value&&clearTimeout(x.value)},L=(S,O=!0,K)=>{const U=O?V:Y,oe=O?+s[`${S}Increment`]:-+s[`${S}Increment`];ie(+s[S]+oe,S)&&i(`update:${S}`,ee(S)(U({[S]:+s[S]},{[S]:+s[`${S}Increment`]}))),!(K!=null&&K.keyboard)&&u.value.timeArrowHoldThreshold&&(x.value=setTimeout(()=>{L(S,O)},u.value.timeArrowHoldThreshold))},le=S=>s.is24?S:(S>=12?m.value="PM":m.value="AM",a4(S)),de=()=>{m.value==="PM"?(m.value="AM",i("update:hours",s.hours-12)):(m.value="PM",i("update:hours",s.hours+12)),i("am-pm-change",m.value)},xe=S=>{p[S]=!0},z=(S,O,K)=>{if(S&&s.arrowNavigation){Array.isArray(y.value[O])?y.value[O][K]=S:y.value[O]=[S];const U=y.value.reduce((oe,j)=>j.map((re,Q)=>[...oe[Q]||[],j[Q]]),[]);o(s.closeTimePickerBtn),v.value&&(U[1]=U[1].concat(v.value)),r(U,s.order)}},fe=(S,O)=>(D(S),i(`update:${S}`,O));return e({openChildCmp:xe}),(S,O)=>{var K;return S.disabled?se("",!0):(P(),F("div",J4,[(P(!0),F(Ie,null,Ge(N.value,(U,oe)=>{var j,re,Q;return P(),F("div",{key:oe,class:Ee(ne.value)},[U.separator?(P(),F(Ie,{key:0},[E.value?se("",!0):(P(),F(Ie,{key:0},[Be(":")],64))],64)):(P(),F(Ie,{key:1},[h("button",{ref_for:!0,ref:ge=>z(ge,oe,0),type:"button",class:Ee({dp__btn:!0,dp__inc_dec_button:!S.timePickerInline,dp__inc_dec_button_inline:S.timePickerInline,dp__tp_inline_btn_top:S.timePickerInline,dp__inc_dec_button_disabled:A.value(U.type),"dp--hidden-el":E.value}),"data-test":`${U.type}-time-inc-btn-${s.order}`,"aria-label":(j=Z(a))==null?void 0:j.incrementValue(U.type),tabindex:"0",onKeydown:ge=>Z(si)(ge,()=>L(U.type,!0,{keyboard:!0}),!0),onClick:ge=>Z(u).timeArrowHoldThreshold?void 0:L(U.type,!0),onMousedown:ge=>Z(u).timeArrowHoldThreshold?L(U.type,!0):void 0,onMouseup:ue},[s.timePickerInline?(P(),F(Ie,{key:1},[S.$slots["tp-inline-arrow-up"]?Fe(S.$slots,"tp-inline-arrow-up",{key:0}):(P(),F(Ie,{key:1},[O[2]||(O[2]=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),O[3]||(O[3]=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(P(),F(Ie,{key:0},[S.$slots["arrow-up"]?Fe(S.$slots,"arrow-up",{key:0}):se("",!0),S.$slots["arrow-up"]?se("",!0):(P(),Ce(Z(N_),{key:1}))],64))],42,Q4),h("button",{ref_for:!0,ref:ge=>z(ge,oe,1),type:"button","aria-label":`${R.value(U.type).text}-${(re=Z(a))==null?void 0:re.openTpOverlay(U.type)}`,class:Ee({dp__time_display:!0,dp__time_display_block:!S.timePickerInline,dp__time_display_inline:S.timePickerInline,"dp--time-invalid":b.value(U.type),"dp--time-overlay-btn":!b.value(U.type),"dp--hidden-el":E.value}),disabled:te(U.type),tabindex:"0","data-test":`${U.type}-toggle-overlay-btn-${s.order}`,onKeydown:ge=>Z(si)(ge,()=>D(U.type),!0),onClick:ge=>D(U.type)},[S.$slots[U.type]?Fe(S.$slots,U.type,{key:0,text:R.value(U.type).text,value:R.value(U.type).value}):se("",!0),S.$slots[U.type]?se("",!0):(P(),F(Ie,{key:1},[Be(pe(R.value(U.type).text),1)],64))],42,eB),h("button",{ref_for:!0,ref:ge=>z(ge,oe,2),type:"button",class:Ee({dp__btn:!0,dp__inc_dec_button:!S.timePickerInline,dp__inc_dec_button_inline:S.timePickerInline,dp__tp_inline_btn_bottom:S.timePickerInline,dp__inc_dec_button_disabled:I.value(U.type),"dp--hidden-el":E.value}),"data-test":`${U.type}-time-dec-btn-${s.order}`,"aria-label":(Q=Z(a))==null?void 0:Q.decrementValue(U.type),tabindex:"0",onKeydown:ge=>Z(si)(ge,()=>L(U.type,!1,{keyboard:!0}),!0),onClick:ge=>Z(u).timeArrowHoldThreshold?void 0:L(U.type,!1),onMousedown:ge=>Z(u).timeArrowHoldThreshold?L(U.type,!1):void 0,onMouseup:ue},[s.timePickerInline?(P(),F(Ie,{key:1},[S.$slots["tp-inline-arrow-down"]?Fe(S.$slots,"tp-inline-arrow-down",{key:0}):(P(),F(Ie,{key:1},[O[4]||(O[4]=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),O[5]||(O[5]=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(P(),F(Ie,{key:0},[S.$slots["arrow-down"]?Fe(S.$slots,"arrow-down",{key:0}):se("",!0),S.$slots["arrow-down"]?se("",!0):(P(),Ce(Z(F_),{key:1}))],64))],42,tB)],64))],2)}),128)),S.is24?se("",!0):(P(),F("div",nB,[S.$slots["am-pm-button"]?Fe(S.$slots,"am-pm-button",{key:0,toggle:de,value:m.value}):se("",!0),S.$slots["am-pm-button"]?se("",!0):(P(),F("button",{key:1,ref_key:"amPmButton",ref:v,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(K=Z(a))==null?void 0:K.amPmButton,tabindex:"0",onClick:de,onKeydown:O[0]||(O[0]=U=>Z(si)(U,()=>de(),!0))},pe(m.value),41,iB))])),(P(!0),F(Ie,null,Ge(B.value,(U,oe)=>(P(),Ce(vt,{key:oe,name:Z(f)(p[U.type]),css:Z(g)},{default:Pe(()=>{var j,re;return[p[U.type]?(P(),Ce(zu,{key:0,items:J(U.type),"is-last":S.autoApply&&!Z(u).keepActionRow,"esc-close":S.escClose,type:U.type,"text-input":S.textInput,config:S.config,"arrow-navigation":S.arrowNavigation,"aria-labels":S.ariaLabels,"overlay-label":(re=(j=Z(a)).timeOverlay)==null?void 0:re.call(j,U.type),onSelected:Q=>fe(U.type,Q),onToggle:Q=>D(U.type),onResetFlow:O[1]||(O[1]=Q=>S.$emit("reset-flow"))},Xn({"button-icon":Pe(()=>[S.$slots["clock-icon"]?Fe(S.$slots,"clock-icon",{key:0}):se("",!0),S.$slots["clock-icon"]?se("",!0):(P(),Ce(_a(S.timePickerInline?Z(Gl):Z(O_)),{key:1}))]),_:2},[S.$slots[`${U.type}-overlay-value`]?{name:"item",fn:Pe(({item:Q})=>[Fe(S.$slots,`${U.type}-overlay-value`,{text:Q.text,value:Q.value})]),key:"0"}:void 0,S.$slots[`${U.type}-overlay-header`]?{name:"header",fn:Pe(()=>[Fe(S.$slots,`${U.type}-overlay-header`,{toggle:()=>D(U.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):se("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),rB={class:"dp--tp-wrap"},oB=["aria-label","tabindex"],aB=["role","aria-label","tabindex"],lB=["aria-label"],CS=fn({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},..._s},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(t,{expose:e,emit:n}){const i=n,s=t,{buildMatrix:r,setTimePicker:o}=yo(),a=va(),{defaultedTransitions:l,defaultedAriaLabels:c,defaultedTextInput:u,defaultedConfig:d,defaultedRange:f}=Ut(s),{transitionName:g,showTransition:p}=Yu(l),{hideNavigationButtons:m}=Tf(),v=me(null),y=me(null),x=me([]),E=me(null),w=me(!1);Vt(()=>{i("mount"),!s.timePicker&&s.arrowNavigation?r([bn(v.value)],"time"):o(!0,s.timePicker)});const b=ve(()=>f.value.enabled&&s.modelAuto?lS(s.internalModelValue):!0),C=me(!1),k=J=>({hours:Array.isArray(s.hours)?s.hours[J]:s.hours,minutes:Array.isArray(s.minutes)?s.minutes[J]:s.minutes,seconds:Array.isArray(s.seconds)?s.seconds[J]:s.seconds}),T=ve(()=>{const J=[];if(f.value.enabled)for(let H=0;H<2;H++)J.push(k(H));else J.push(k(0));return J}),A=(J,H=!1,ce="")=>{H||i("reset-flow"),C.value=J,i(J?"overlay-opened":"overlay-closed",jn.time),s.arrowNavigation&&o(J),Rn(()=>{ce!==""&&x.value[0]&&x.value[0].openChildCmp(ce)})},I=ve(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:s.autoApply&&!d.value.keepActionRow})),V=Pi(a,"timePicker"),Y=(J,H,ce)=>f.value.enabled?H===0?[J,T.value[1][ce]]:[T.value[0][ce],J]:J,ne=J=>{i("update:hours",J)},N=J=>{i("update:minutes",J)},B=J=>{i("update:seconds",J)},R=()=>{if(E.value&&!u.value.enabled&&!s.noOverlayFocus){const J=cS(E.value);J&&J.focus({preventScroll:!0})}},W=J=>{w.value=!1,i("overlay-closed",J)},X=J=>{w.value=!0,i("overlay-opened",J)};return e({toggleTimePicker:A}),(J,H)=>{var ce;return P(),F("div",rB,[!J.timePicker&&!J.timePickerInline?Re((P(),F("button",{key:0,ref_key:"openTimePickerBtn",ref:v,type:"button",class:Ee({...I.value,"dp--hidden-el":C.value}),"aria-label":(ce=Z(c))==null?void 0:ce.openTimePicker,tabindex:J.noOverlayFocus?void 0:0,"data-test":"open-time-picker-btn",onKeydown:H[0]||(H[0]=ie=>Z(si)(ie,()=>A(!0))),onClick:H[1]||(H[1]=ie=>A(!0))},[J.$slots["clock-icon"]?Fe(J.$slots,"clock-icon",{key:0}):se("",!0),J.$slots["clock-icon"]?se("",!0):(P(),Ce(Z(O_),{key:1}))],42,oB)),[[ah,!Z(m)(J.hideNavigation,"time")]]):se("",!0),$(vt,{name:Z(g)(C.value),css:Z(p)&&!J.timePickerInline},{default:Pe(()=>{var ie,te;return[C.value||J.timePicker||J.timePickerInline?(P(),F("div",{key:0,ref_key:"overlayRef",ref:E,role:J.timePickerInline?void 0:"dialog",class:Ee({dp__overlay:!J.timePickerInline,"dp--overlay-absolute":!s.timePicker&&!J.timePickerInline,"dp--overlay-relative":s.timePicker}),style:Mn(J.timePicker?{height:`${Z(d).modeHeight}px`}:void 0),"aria-label":(ie=Z(c))==null?void 0:ie.timePicker,tabindex:J.timePickerInline?void 0:0},[h("div",{class:Ee(J.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[J.$slots["time-picker-overlay"]?Fe(J.$slots,"time-picker-overlay",{key:0,hours:t.hours,minutes:t.minutes,seconds:t.seconds,setHours:ne,setMinutes:N,setSeconds:B}):se("",!0),J.$slots["time-picker-overlay"]?se("",!0):(P(),F("div",{key:1,class:Ee(J.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(P(!0),F(Ie,null,Ge(T.value,(D,ee)=>Re((P(),Ce(sB,xn({key:ee,ref_for:!0},{...J.$props,order:ee,hours:D.hours,minutes:D.minutes,seconds:D.seconds,closeTimePickerBtn:y.value,disabledTimesConfig:t.disabledTimesConfig,disabled:ee===0?Z(f).fixedStart:Z(f).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:x,"validate-time":(ue,L)=>t.validateTime(ue,Y(L,ee,ue)),"onUpdate:hours":ue=>ne(Y(ue,ee,"hours")),"onUpdate:minutes":ue=>N(Y(ue,ee,"minutes")),"onUpdate:seconds":ue=>B(Y(ue,ee,"seconds")),onMounted:R,onOverlayClosed:W,onOverlayOpened:X,onAmPmChange:H[2]||(H[2]=ue=>J.$emit("am-pm-change",ue))}),Xn({_:2},[Ge(Z(V),(ue,L)=>({name:ue,fn:Pe(le=>[Fe(J.$slots,ue,xn({ref_for:!0},le))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[ah,ee===0?!0:b.value]])),128))],2)),!J.timePicker&&!J.timePickerInline?Re((P(),F("button",{key:2,ref_key:"closeTimePickerBtn",ref:y,type:"button",class:Ee({...I.value,"dp--hidden-el":w.value}),"aria-label":(te=Z(c))==null?void 0:te.closeTimePicker,tabindex:"0",onKeydown:H[3]||(H[3]=D=>Z(si)(D,()=>A(!1))),onClick:H[4]||(H[4]=D=>A(!1))},[J.$slots["calendar-icon"]?Fe(J.$slots,"calendar-icon",{key:0}):se("",!0),J.$slots["calendar-icon"]?se("",!0):(P(),Ce(Z(Gl),{key:1}))],42,lB)),[[ah,!Z(m)(J.hideNavigation,"time")]]):se("",!0)],2)],14,aB)):se("",!0)]}),_:3},8,["name","css"])])}}}),SS=(t,e,n,i)=>{const{defaultedRange:s}=Ut(t),r=(E,w)=>Array.isArray(e[E])?e[E][w]:e[E],o=E=>t.enableSeconds?Array.isArray(e.seconds)?e.seconds[E]:e.seconds:0,a=(E,w)=>E?w!==void 0?to(E,r("hours",w),r("minutes",w),o(w)):to(E,e.hours,e.minutes,o()):sS(ke(),o(w)),l=(E,w)=>{e[E]=w},c=ve(()=>t.modelAuto&&s.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:s.value.enabled),u=(E,w)=>{const b=Object.fromEntries(Object.keys(e).map(C=>C===E?[C,w]:[C,e[C]].slice()));if(c.value&&!s.value.disableTimeRangeValidation){const C=T=>n.value?to(n.value[T],b.hours[T],b.minutes[T],b.seconds[T]):null,k=T=>iS(n.value[T],0);return!(ct(C(0),C(1))&&(Tl(C(0),k(1))||cu(C(1),k(0))))}return!0},d=(E,w)=>{u(E,w)&&(l(E,w),i&&i())},f=E=>{d("hours",E)},g=E=>{d("minutes",E)},p=E=>{d("seconds",E)},m=(E,w,b,C)=>{w&&f(E),!w&&!b&&g(E),b&&p(E),n.value&&C(n.value)},v=E=>{if(E){const w=Array.isArray(E),b=w?[+E[0].hours,+E[1].hours]:+E.hours,C=w?[+E[0].minutes,+E[1].minutes]:+E.minutes,k=w?[+E[0].seconds,+E[1].seconds]:+E.seconds;l("hours",b),l("minutes",C),t.enableSeconds&&l("seconds",k)}},y=(E,w)=>{const b={hours:Array.isArray(e.hours)?e.hours[E]:e.hours,disabledArr:[]};return(w||w===0)&&(b.hours=w),Array.isArray(t.disabledTimes)&&(b.disabledArr=s.value.enabled&&Array.isArray(t.disabledTimes[E])?t.disabledTimes[E]:t.disabledTimes),b},x=ve(()=>(E,w)=>{var b;if(Array.isArray(t.disabledTimes)){const{disabledArr:C,hours:k}=y(E,w),T=C.filter(A=>+A.hours===k);return((b=T[0])==null?void 0:b.minutes)==="*"?{hours:[k],minutes:void 0,seconds:void 0}:{hours:[],minutes:T?.map(A=>+A.minutes)??[],seconds:T?.map(A=>A.seconds?+A.seconds:void 0)??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:l,updateHours:f,updateMinutes:g,updateSeconds:p,getSetDateTime:a,updateTimeValues:m,getSecondsValue:o,assignStartTime:v,validateTime:u,disabledTimesConfig:x}},cB=(t,e)=>{const n=()=>{t.isTextInputDate&&w()},{modelValue:i,time:s}=Hu(t,e,n),{defaultedStartTime:r,defaultedRange:o,defaultedTz:a}=Ut(t),{updateTimeValues:l,getSetDateTime:c,setTime:u,assignStartTime:d,disabledTimesConfig:f,validateTime:g}=SS(t,s,i,p);function p(){e("update-flow-step")}const m=C=>{const{hours:k,minutes:T,seconds:A}=C;return{hours:+k,minutes:+T,seconds:A?+A:0}},v=()=>{if(t.startTime){if(Array.isArray(t.startTime)){const k=m(t.startTime[0]),T=m(t.startTime[1]);return[Dt(ke(),k),Dt(ke(),T)]}const C=m(t.startTime);return Dt(ke(),C)}return o.value.enabled?[null,null]:null},y=()=>{if(o.value.enabled){const[C,k]=v();i.value=[xi(c(C,0),a.value.timezone),xi(c(k,1),a.value.timezone)]}else i.value=xi(c(v()),a.value.timezone)},x=C=>Array.isArray(C)?[sa(ke(C[0])),sa(ke(C[1]))]:[sa(C??ke())],E=(C,k,T)=>{u("hours",C),u("minutes",k),u("seconds",t.enableSeconds?T:0)},w=()=>{const[C,k]=x(i.value);return o.value.enabled?E([C.hours,k.hours],[C.minutes,k.minutes],[C.seconds,k.seconds]):E(C.hours,C.minutes,C.seconds)};Vt(()=>{if(!t.shadow)return d(r.value),i.value?w():y()});const b=()=>{Array.isArray(i.value)?i.value=i.value.map((C,k)=>C&&c(C,k)):i.value=c(i.value),e("time-update")};return{modelValue:i,time:s,disabledTimesConfig:f,updateTime:(C,k=!0,T=!1)=>{l(C,k,T,b)},validateTime:g}},uB=fn({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{..._s},emits:["update:internal-model-value","time-update","am-pm-change","mount","reset-flow","update-flow-step","overlay-toggle"],setup(t,{expose:e,emit:n}){const i=n,s=t,r=va(),o=Pi(r,"timePicker"),a=me(null),{time:l,modelValue:c,disabledTimesConfig:u,updateTime:d,validateTime:f}=cB(s,i);return Vt(()=>{s.shadow||i("mount",null)}),e({getSidebarProps:()=>({modelValue:c,time:l,updateTime:d}),toggleTimePicker:(g,p=!1,m="")=>{var v;(v=a.value)==null||v.toggleTimePicker(g,p,m)}}),(g,p)=>(P(),Ce(Sf,{"multi-calendars":0,stretch:""},{default:Pe(()=>[$(CS,xn({ref_key:"tpRef",ref:a},g.$props,{hours:Z(l).hours,minutes:Z(l).minutes,seconds:Z(l).seconds,"internal-model-value":g.internalModelValue,"disabled-times-config":Z(u),"validate-time":Z(f),"onUpdate:hours":p[0]||(p[0]=m=>Z(d)(m)),"onUpdate:minutes":p[1]||(p[1]=m=>Z(d)(m,!1)),"onUpdate:seconds":p[2]||(p[2]=m=>Z(d)(m,!1,!0)),onAmPmChange:p[3]||(p[3]=m=>g.$emit("am-pm-change",m)),onResetFlow:p[4]||(p[4]=m=>g.$emit("reset-flow")),onOverlayClosed:p[5]||(p[5]=m=>g.$emit("overlay-toggle",{open:!1,overlay:m})),onOverlayOpened:p[6]||(p[6]=m=>g.$emit("overlay-toggle",{open:!0,overlay:m}))}),Xn({_:2},[Ge(Z(o),(m,v)=>({name:m,fn:Pe(y=>[Fe(g.$slots,m,In(ii(y)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),dB={class:"dp--header-wrap"},hB={key:0,class:"dp__month_year_wrap"},fB={key:0},gB={class:"dp__month_year_wrap"},pB=["data-dp-element","aria-label","data-test","onClick","onKeydown"],mB=fn({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},..._s},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(t,{expose:e,emit:n}){const i=n,s=t,{defaultedTransitions:r,defaultedAriaLabels:o,defaultedMultiCalendars:a,defaultedFilters:l,defaultedConfig:c,defaultedHighlight:u,propDates:d,defaultedUI:f}=Ut(s),{transitionName:g,showTransition:p}=Yu(r),{buildMatrix:m}=yo(),{handleMonthYearChange:v,isDisabled:y,updateMonthYear:x}=F4(s,i),{showLeftIcon:E,showRightIcon:w}=Tf(),b=me(!1),C=me(!1),k=me(!1),T=me([null,null,null,null]);Vt(()=>{i("mount")});const A=te=>({get:()=>s[te],set:D=>{const ee=te===ts.month?ts.year:ts.month;i("update-month-year",{[te]:D,[ee]:s[ee]}),te===ts.month?W(!0):X(!0)}}),I=ve(A(ts.month)),V=ve(A(ts.year)),Y=ve(()=>te=>({month:s.month,year:s.year,items:te===ts.month?s.months:s.years,instance:s.instance,updateMonthYear:x,toggle:te===ts.month?W:X})),ne=ve(()=>s.months.find(D=>D.value===s.month)||{text:"",value:0}),N=ve(()=>Pl(s.months,te=>{const D=s.month===te.value,ee=uu(te.value,dS(s.year,d.value.minDate),hS(s.year,d.value.maxDate))||l.value.months.includes(te.value),ue=_S(u.value,te.value,s.year);return{active:D,disabled:ee,highlighted:ue}})),B=ve(()=>Pl(s.years,te=>{const D=s.year===te.value,ee=uu(te.value,Ml(d.value.minDate),Ml(d.value.maxDate))||l.value.years.includes(te.value),ue=Y_(u.value,te.value);return{active:D,disabled:ee,highlighted:ue}})),R=(te,D,ee)=>{ee!==void 0?te.value=ee:te.value=!te.value,te.value?(k.value=!0,i("overlay-opened",D)):(k.value=!1,i("overlay-closed",D))},W=(te=!1,D)=>{J(te),R(b,jn.month,D)},X=(te=!1,D)=>{J(te),R(C,jn.year,D)},J=te=>{te||i("reset-flow")},H=(te,D)=>{s.arrowNavigation&&(T.value[D]=bn(te),m(T.value,"monthYear"))},ce=ve(()=>{var te,D,ee,ue,L,le;return[{type:ts.month,index:1,toggle:W,modelValue:I.value,updateModelValue:de=>I.value=de,text:ne.value.text,showSelectionGrid:b.value,items:N.value,ariaLabel:(te=o.value)==null?void 0:te.openMonthsOverlay,overlayLabel:((ee=(D=o.value).monthPicker)==null?void 0:ee.call(D,!0))??void 0},{type:ts.year,index:2,toggle:X,modelValue:V.value,updateModelValue:de=>V.value=de,text:uS(s.year,s.locale),showSelectionGrid:C.value,items:B.value,ariaLabel:(ue=o.value)==null?void 0:ue.openYearsOverlay,overlayLabel:((le=(L=o.value).yearPicker)==null?void 0:le.call(L,!0))??void 0}]}),ie=ve(()=>s.disableYearSelect?[ce.value[0]]:s.yearFirst?[...ce.value].reverse():ce.value);return e({toggleMonthPicker:W,toggleYearPicker:X,handleMonthYearChange:v}),(te,D)=>{var ee,ue,L,le,de,xe;return P(),F("div",dB,[te.$slots["month-year"]?(P(),F("div",hB,[Fe(te.$slots,"month-year",In(ii({month:t.month,year:t.year,months:t.months,years:t.years,updateMonthYear:Z(x),handleMonthYearChange:Z(v),instance:t.instance})))])):(P(),F(Ie,{key:1},[te.$slots["top-extra"]?(P(),F("div",fB,[Fe(te.$slots,"top-extra",{value:te.internalModelValue})])):se("",!0),h("div",gB,[Z(E)(Z(a),t.instance)&&!te.vertical?(P(),Ce(jc,{key:0,"aria-label":(ee=Z(o))==null?void 0:ee.prevMonth,disabled:Z(y)(!1),class:Ee((ue=Z(f))==null?void 0:ue.navBtnPrev),"el-name":"action-prev",onActivate:D[0]||(D[0]=z=>Z(v)(!1,!0)),onSetRef:D[1]||(D[1]=z=>H(z,0))},{default:Pe(()=>[te.$slots["arrow-left"]?Fe(te.$slots,"arrow-left",{key:0}):se("",!0),te.$slots["arrow-left"]?se("",!0):(P(),Ce(Z($_),{key:1}))]),_:3},8,["aria-label","disabled","class"])):se("",!0),h("div",{class:Ee(["dp__month_year_wrap",{dp__year_disable_select:te.disableYearSelect}])},[(P(!0),F(Ie,null,Ge(ie.value,(z,fe)=>(P(),F(Ie,{key:z.type},[h("button",{ref_for:!0,ref:S=>H(S,fe+1),type:"button","data-dp-element":`overlay-${z.type}`,class:Ee(["dp__btn dp__month_year_select",{"dp--hidden-el":k.value}]),"aria-label":`${z.text}-${z.ariaLabel}`,"data-test":`${z.type}-toggle-overlay-${t.instance}`,onClick:z.toggle,onKeydown:S=>Z(si)(S,()=>z.toggle(),!0)},[te.$slots[z.type]?Fe(te.$slots,z.type,{key:0,text:z.text,value:s[z.type]}):se("",!0),te.$slots[z.type]?se("",!0):(P(),F(Ie,{key:1},[Be(pe(z.text),1)],64))],42,pB),$(vt,{name:Z(g)(z.showSelectionGrid),css:Z(p)},{default:Pe(()=>[z.showSelectionGrid?(P(),Ce(zu,{key:0,items:z.items,"arrow-navigation":te.arrowNavigation,"hide-navigation":te.hideNavigation,"is-last":te.autoApply&&!Z(c).keepActionRow,"skip-button-ref":!1,config:te.config,type:z.type,"header-refs":[],"esc-close":te.escClose,"menu-wrap-ref":te.menuWrapRef,"text-input":te.textInput,"aria-labels":te.ariaLabels,"overlay-label":z.overlayLabel,onSelected:z.updateModelValue,onToggle:z.toggle},Xn({"button-icon":Pe(()=>[te.$slots["calendar-icon"]?Fe(te.$slots,"calendar-icon",{key:0}):se("",!0),te.$slots["calendar-icon"]?se("",!0):(P(),Ce(Z(Gl),{key:1}))]),_:2},[te.$slots[`${z.type}-overlay-value`]?{name:"item",fn:Pe(({item:S})=>[Fe(te.$slots,`${z.type}-overlay-value`,{text:S.text,value:S.value})]),key:"0"}:void 0,te.$slots[`${z.type}-overlay`]?{name:"overlay",fn:Pe(()=>[Fe(te.$slots,`${z.type}-overlay`,xn({ref_for:!0},Y.value(z.type)))]),key:"1"}:void 0,te.$slots[`${z.type}-overlay-header`]?{name:"header",fn:Pe(()=>[Fe(te.$slots,`${z.type}-overlay-header`,{toggle:z.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","overlay-label","onSelected","onToggle"])):se("",!0)]),_:2},1032,["name","css"])],64))),128))],2),Z(E)(Z(a),t.instance)&&te.vertical?(P(),Ce(jc,{key:1,"aria-label":(L=Z(o))==null?void 0:L.prevMonth,"el-name":"action-prev",disabled:Z(y)(!1),class:Ee((le=Z(f))==null?void 0:le.navBtnPrev),onActivate:D[2]||(D[2]=z=>Z(v)(!1,!0))},{default:Pe(()=>[te.$slots["arrow-up"]?Fe(te.$slots,"arrow-up",{key:0}):se("",!0),te.$slots["arrow-up"]?se("",!0):(P(),Ce(Z(N_),{key:1}))]),_:3},8,["aria-label","disabled","class"])):se("",!0),Z(w)(Z(a),t.instance)?(P(),Ce(jc,{key:2,ref:"rightIcon","el-name":"action-next",disabled:Z(y)(!0),"aria-label":(de=Z(o))==null?void 0:de.nextMonth,class:Ee((xe=Z(f))==null?void 0:xe.navBtnNext),onActivate:D[3]||(D[3]=z=>Z(v)(!0,!0)),onSetRef:D[4]||(D[4]=z=>H(z,te.disableYearSelect?2:3))},{default:Pe(()=>[te.$slots[te.vertical?"arrow-down":"arrow-right"]?Fe(te.$slots,te.vertical?"arrow-down":"arrow-right",{key:0}):se("",!0),te.$slots[te.vertical?"arrow-down":"arrow-right"]?se("",!0):(P(),Ce(_a(te.vertical?Z(F_):Z(L_)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):se("",!0)])],64))])}}}),_B={class:"dp__calendar_header",role:"row"},vB={key:0,class:"dp__calendar_header_item",role:"gridcell"},yB=["aria-label"],bB={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},wB={class:"dp__cell_inner"},xB=["id","aria-pressed","aria-disabled","aria-label","tabindex","data-test","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],EB=fn({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},..._s},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(t,{expose:e,emit:n}){const i=n,s=t,{buildMultiLevelMatrix:r}=yo(),{defaultedTransitions:o,defaultedConfig:a,defaultedAriaLabels:l,defaultedMultiCalendars:c,defaultedWeekNumbers:u,defaultedMultiDates:d,defaultedUI:f}=Ut(s),g=me(null),p=me({bottom:"",left:"",transform:""}),m=me([]),v=me(null),y=me(!0),x=me(""),E=me({startX:0,endX:0,startY:0,endY:0}),w=me([]),b=me({left:"50%"}),C=me(!1),k=ve(()=>s.calendar?s.calendar(s.mappedDates):s.mappedDates),T=ve(()=>s.dayNames?Array.isArray(s.dayNames)?s.dayNames:s.dayNames(s.locale,+s.weekStart):o4(s.formatLocale,s.locale,+s.weekStart));Vt(()=>{i("mount",{cmp:"calendar",refs:m}),a.value.noSwipe||v.value&&(v.value.addEventListener("touchstart",H,{passive:!1}),v.value.addEventListener("touchend",ce,{passive:!1}),v.value.addEventListener("touchmove",ie,{passive:!1})),s.monthChangeOnScroll&&v.value&&v.value.addEventListener("wheel",ee,{passive:!1})});const A=z=>z?s.vertical?"vNext":"next":s.vertical?"vPrevious":"previous",I=(z,fe)=>{if(s.transitions){const S=ai(ar(ke(),s.month,s.year));x.value=ln(ai(ar(ke(),z,fe)),S)?o.value[A(!0)]:o.value[A(!1)],y.value=!1,Rn(()=>{y.value=!0})}},V=ve(()=>({...f.value.calendar??{}})),Y=ve(()=>z=>{const fe=l4(z);return{dp__marker_dot:fe.type==="dot",dp__marker_line:fe.type==="line"}}),ne=ve(()=>z=>ct(z,g.value)),N=ve(()=>({dp__calendar:!0,dp__calendar_next:c.value.count>0&&s.instance!==0})),B=ve(()=>z=>s.hideOffsetDates?z.current:!0),R=async(z,fe)=>{const{width:S,height:O}=z.getBoundingClientRect();g.value=fe.value;let K={left:`${S/2}px`},U=-50;if(await Rn(),w.value[0]){const{left:oe,width:j}=w.value[0].getBoundingClientRect();oe<0&&(K={left:"0"},U=0,b.value.left=`${S/2}px`),window.innerWidth{var O,K,U;const oe=bn(m.value[fe][S]);oe&&((O=z.marker)!=null&&O.customPosition&&(U=(K=z.marker)==null?void 0:K.tooltip)!=null&&U.length?p.value=z.marker.customPosition(oe):await R(oe,z),i("tooltip-open",z.marker))},X=async(z,fe,S)=>{var O,K;if(C.value&&d.value.enabled&&d.value.dragSelect)return i("select-date",z);i("set-hover-date",z),(K=(O=z.marker)==null?void 0:O.tooltip)!=null&&K.length&&await W(z,fe,S)},J=z=>{g.value&&(g.value=null,p.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),i("tooltip-close",z.marker))},H=z=>{E.value.startX=z.changedTouches[0].screenX,E.value.startY=z.changedTouches[0].screenY},ce=z=>{E.value.endX=z.changedTouches[0].screenX,E.value.endY=z.changedTouches[0].screenY,te()},ie=z=>{s.vertical&&!s.inline&&z.preventDefault()},te=()=>{const z=s.vertical?"Y":"X";Math.abs(E.value[`start${z}`]-E.value[`end${z}`])>10&&i("handle-swipe",E.value[`start${z}`]>E.value[`end${z}`]?"right":"left")},D=(z,fe,S)=>{z&&(Array.isArray(m.value[fe])?m.value[fe][S]=z:m.value[fe]=[z]),s.arrowNavigation&&r(m.value,"calendar")},ee=z=>{s.monthChangeOnScroll&&(z.preventDefault(),i("handle-scroll",z))},ue=z=>u.value.type==="local"?I_(z.value,{weekStartsOn:+s.weekStart}):u.value.type==="iso"?P_(z.value):typeof u.value.type=="function"?u.value.type(z.value):"",L=z=>{const fe=z[0];return u.value.hideOnOffsetDates?z.some(S=>S.current)?ue(fe):"":ue(fe)},le=(z,fe,S=!0)=>{S&&b0()||!S&&!b0()||d.value.enabled||(eo(z,a.value),i("select-date",fe))},de=z=>{eo(z,a.value)},xe=z=>{d.value.enabled&&d.value.dragSelect?(C.value=!0,i("select-date",z)):d.value.enabled&&i("select-date",z)};return e({triggerTransition:I}),(z,fe)=>(P(),F("div",{class:Ee(N.value)},[h("div",{ref_key:"calendarWrapRef",ref:v,class:Ee(V.value),role:"grid"},[h("div",_B,[z.weekNumbers?(P(),F("div",vB,pe(z.weekNumName),1)):se("",!0),(P(!0),F(Ie,null,Ge(T.value,(S,O)=>{var K,U;return P(),F("div",{key:O,class:"dp__calendar_header_item",role:"gridcell","data-test":"calendar-header","aria-label":(U=(K=Z(l))==null?void 0:K.weekDay)==null?void 0:U.call(K,O)},[z.$slots["calendar-header"]?Fe(z.$slots,"calendar-header",{key:0,day:S,index:O}):se("",!0),z.$slots["calendar-header"]?se("",!0):(P(),F(Ie,{key:1},[Be(pe(S),1)],64))],8,yB)}),128))]),fe[2]||(fe[2]=h("div",{class:"dp__calendar_header_separator"},null,-1)),$(vt,{name:x.value,css:!!z.transitions},{default:Pe(()=>[y.value?(P(),F("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:fe[1]||(fe[1]=S=>C.value=!1)},[(P(!0),F(Ie,null,Ge(k.value,(S,O)=>(P(),F("div",{key:O,class:"dp__calendar_row",role:"row"},[z.weekNumbers?(P(),F("div",bB,[h("div",wB,pe(L(S.days)),1)])):se("",!0),(P(!0),F(Ie,null,Ge(S.days,(K,U)=>{var oe,j,re;return P(),F("div",{id:Z(vS)(K.value),ref_for:!0,ref:Q=>D(Q,O,U),key:U+O,role:"gridcell",class:"dp__calendar_item","aria-pressed":(K.classData.dp__active_date||K.classData.dp__range_start||K.classData.dp__range_start)??void 0,"aria-disabled":K.classData.dp__cell_disabled||void 0,"aria-label":(j=(oe=Z(l))==null?void 0:oe.day)==null?void 0:j.call(oe,K),tabindex:!K.current&&z.hideOffsetDates?void 0:0,"data-test":K.value,onClick:ru(Q=>le(Q,K),["prevent"]),onTouchend:Q=>le(Q,K,!1),onKeydown:Q=>Z(si)(Q,()=>z.$emit("select-date",K)),onMouseenter:Q=>X(K,O,U),onMouseleave:Q=>J(K),onMousedown:Q=>xe(K),onMouseup:fe[0]||(fe[0]=Q=>C.value=!1)},[h("div",{class:Ee(["dp__cell_inner",K.classData])},[z.$slots.day&&B.value(K)?Fe(z.$slots,"day",{key:0,day:+K.text,date:K.value}):se("",!0),z.$slots.day?se("",!0):(P(),F(Ie,{key:1},[Be(pe(K.text),1)],64)),K.marker&&B.value(K)?(P(),F(Ie,{key:2},[z.$slots.marker?Fe(z.$slots,"marker",{key:0,marker:K.marker,day:+K.text,date:K.value}):(P(),F("div",{key:1,class:Ee(Y.value(K.marker)),style:Mn(K.marker.color?{backgroundColor:K.marker.color}:{})},null,6))],64)):se("",!0),ne.value(K.value)?(P(),F("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:w,class:"dp__marker_tooltip",style:Mn(p.value)},[(re=K.marker)!=null&&re.tooltip?(P(),F("div",{key:0,class:"dp__tooltip_content",onClick:de},[(P(!0),F(Ie,null,Ge(K.marker.tooltip,(Q,ge)=>(P(),F("div",{key:ge,class:"dp__tooltip_text"},[z.$slots["marker-tooltip"]?Fe(z.$slots,"marker-tooltip",{key:0,tooltip:Q,day:K.value}):se("",!0),z.$slots["marker-tooltip"]?se("",!0):(P(),F(Ie,{key:1},[h("div",{class:"dp__tooltip_mark",style:Mn(Q.color?{backgroundColor:Q.color}:{})},null,4),h("div",null,pe(Q.text),1)],64))]))),128)),h("div",{class:"dp__arrow_bottom_tp",style:Mn(b.value)},null,4)])):se("",!0)],4)):se("",!0)],2)],40,xB)}),128))]))),128))],32)):se("",!0)]),_:3},8,["name","css"])],2)],2))}}),S0=t=>Array.isArray(t),CB=(t,e,n,i)=>{const s=me([]),r=me(new Date),o=me(),a=()=>H(t.isTextInputDate),{modelValue:l,calendars:c,time:u,today:d}=Hu(t,e,a),{defaultedMultiCalendars:f,defaultedStartTime:g,defaultedRange:p,defaultedConfig:m,defaultedTz:v,propDates:y,defaultedMultiDates:x}=Ut(t),{validateMonthYearInRange:E,isDisabled:w,isDateRangeAllowed:b,checkMinMaxRange:C}=bo(t),{updateTimeValues:k,getSetDateTime:T,setTime:A,assignStartTime:I,validateTime:V,disabledTimesConfig:Y}=SS(t,u,l,i),ne=ve(()=>ae=>c.value[ae]?c.value[ae].month:0),N=ve(()=>ae=>c.value[ae]?c.value[ae].year:0),B=ae=>!m.value.keepViewOnOffsetClick||ae?!0:!o.value,R=(ae,Te,he,Ae=!1)=>{var Ne,Xt;B(Ae)&&(c.value[ae]||(c.value[ae]={month:0,year:0}),c.value[ae].month=y0(Te)?(Ne=c.value[ae])==null?void 0:Ne.month:Te,c.value[ae].year=y0(he)?(Xt=c.value[ae])==null?void 0:Xt.year:he)},W=()=>{t.autoApply&&e("select-date")};Vt(()=>{t.shadow||(l.value||(z(),g.value&&I(g.value)),H(!0),t.focusStartDate&&t.startDate&&z())});const X=ve(()=>{var ae;return(ae=t.flow)!=null&&ae.length&&!t.partialFlow?t.flowStep===t.flow.length:!0}),J=()=>{t.autoApply&&X.value&&e("auto-apply",t.partialFlow?t.flowStep!==t.flow.length:!1)},H=(ae=!1)=>{if(l.value)return Array.isArray(l.value)?(s.value=l.value,L(ae)):te(l.value,ae);if(f.value.count&&ae&&!t.startDate)return ie(ke(),ae)},ce=()=>Array.isArray(l.value)&&p.value.enabled?at(l.value[0])===at(l.value[1]??l.value[0]):!1,ie=(ae=new Date,Te=!1)=>{if((!f.value.count||!f.value.static||Te)&&R(0,at(ae),Ze(ae)),f.value.count&&(!f.value.solo||!l.value||ce()))for(let he=1;he{ie(ae),A("hours",vr(ae)),A("minutes",ao(ae)),A("seconds",kl(ae)),f.value.count&&Te&&xe()},D=ae=>{if(f.value.count){if(f.value.solo)return 0;const Te=at(ae[0]),he=at(ae[1]);return Math.abs(he-Te){ae[1]&&p.value.showLastInRange?ie(ae[D(ae)],Te):ie(ae[0],Te);const he=(Ae,Ne)=>[Ae(ae[0]),ae[1]?Ae(ae[1]):u[Ne][1]];A("hours",he(vr,"hours")),A("minutes",he(ao,"minutes")),A("seconds",he(kl,"seconds"))},ue=(ae,Te)=>{if((p.value.enabled||t.weekPicker)&&!x.value.enabled)return ee(ae,Te);if(x.value.enabled&&Te){const he=ae[ae.length-1];return te(he,Te)}},L=ae=>{const Te=l.value;ue(Te,ae),f.value.count&&f.value.solo&&xe()},le=(ae,Te)=>{const he=Dt(ke(),{month:ne.value(Te),year:N.value(Te)}),Ae=ae<0?ds(he,1):Al(he,1);E(at(Ae),Ze(Ae),ae<0,t.preventMinMaxNavigation)&&(R(Te,at(Ae),Ze(Ae)),e("update-month-year",{instance:Te,month:at(Ae),year:Ze(Ae)}),f.value.count&&!f.value.solo&&de(Te),n())},de=ae=>{for(let Te=ae-1;Te>=0;Te--){const he=Al(Dt(ke(),{month:ne.value(Te+1),year:N.value(Te+1)}),1);R(Te,at(he),Ze(he))}for(let Te=ae+1;Te<=f.value.count-1;Te++){const he=ds(Dt(ke(),{month:ne.value(Te-1),year:N.value(Te-1)}),1);R(Te,at(he),Ze(he))}},xe=()=>{if(Array.isArray(l.value)&&l.value.length===2){const ae=ke(ke(l.value[1]?l.value[1]:ds(l.value[0],1))),[Te,he]=[at(l.value[0]),Ze(l.value[0])],[Ae,Ne]=[at(l.value[1]),Ze(l.value[1])];(Te!==Ae||Te===Ae&&he!==Ne)&&f.value.solo&&R(1,at(ae),Ze(ae))}else l.value&&!Array.isArray(l.value)&&(R(0,at(l.value),Ze(l.value)),ie(ke()))},z=()=>{t.startDate&&(R(0,at(ke(t.startDate)),Ze(ke(t.startDate))),f.value.count&&de(0))},fe=(ae,Te)=>{if(t.monthChangeOnScroll){const he=new Date().getTime()-r.value.getTime(),Ae=Math.abs(ae.deltaY);let Ne=500;Ae>1&&(Ne=100),Ae>100&&(Ne=0),he>Ne&&(r.value=new Date,le(t.monthChangeOnScroll!=="inverse"?-ae.deltaY:ae.deltaY,Te))}},S=(ae,Te,he=!1)=>{t.monthChangeOnArrows&&t.vertical===he&&O(ae,Te)},O=(ae,Te)=>{le(ae==="right"?-1:1,Te)},K=ae=>{if(y.value.markers)return Th(ae.value,y.value.markers)},U=(ae,Te)=>{switch(t.sixWeeks===!0?"append":t.sixWeeks){case"prepend":return[!0,!1];case"center":return[ae==0,!0];case"fair":return[ae==0||Te>ae,!0];case"append":return[!1,!1];default:return[!1,!1]}},oe=(ae,Te,he,Ae)=>{if(t.sixWeeks&&ae.length<6){const Ne=6-ae.length,Xt=(Te.getDay()+7-Ae)%7,pn=6-(he.getDay()+7-Ae)%7,[$i,zs]=U(Xt,pn);for(let mn=1;mn<=Ne;mn++)if(zs?!!(mn%2)==$i:$i){const Cn=ae[0].days[0],Sn=j(rs(Cn.value,-7),at(Te));ae.unshift({days:Sn})}else{const Cn=ae[ae.length-1],Sn=Cn.days[Cn.days.length-1],li=j(rs(Sn.value,1),at(Te));ae.push({days:li})}}return ae},j=(ae,Te)=>{const he=ke(ae),Ae=[];for(let Ne=0;Ne<7;Ne++){const Xt=rs(he,Ne),pn=at(Xt)!==Te;Ae.push({text:t.hideOffsetDates&&pn?"":Xt.getDate(),value:Xt,current:!pn,classData:{}})}return Ae},re=(ae,Te)=>{const he=[],Ae=new Date(Te,ae),Ne=new Date(Te,ae+1,0),Xt=t.weekStart,pn=ps(Ae,{weekStartsOn:Xt}),$i=zs=>{const mn=j(zs,ae);if(he.push({days:mn}),!he[he.length-1].days.some(Cn=>ct(ai(Cn.value),ai(Ne)))){const Cn=rs(zs,7);$i(Cn)}};return $i(pn),oe(he,Ae,Ne,Xt)},Q=ae=>{const Te=to(ke(ae.value),u.hours,u.minutes,je());e("date-update",Te),x.value.enabled?H_(Te,l,x.value.limit):l.value=Te,i(),Rn().then(()=>{J()})},ge=ae=>p.value.noDisabledRange?fS(s.value[0],ae).some(Te=>w(Te)):!1,be=()=>{s.value=l.value?l.value.slice():[],s.value.length===2&&!(p.value.fixedStart||p.value.fixedEnd)&&(s.value=[])},we=(ae,Te)=>{const he=[ke(ae.value),rs(ke(ae.value),+p.value.autoRange)];b(he)?(Te&&Me(ae.value),s.value=he):e("invalid-date",ae.value)},Me=ae=>{const Te=at(ke(ae)),he=Ze(ke(ae));if(R(0,Te,he),f.value.count>0)for(let Ae=1;Ae{if(ge(ae.value)||!C(ae.value,l.value,p.value.fixedStart?0:1))return e("invalid-date",ae.value);s.value=xS(ke(ae.value),l,e,p)},Ye=(ae,Te)=>{if(be(),p.value.autoRange)return we(ae,Te);if(p.value.fixedStart||p.value.fixedEnd)return De(ae);s.value[0]?C(ke(ae.value),l.value)&&!ge(ae.value)?tn(ke(ae.value),ke(s.value[0]))?(s.value.unshift(ke(ae.value)),e("range-end",s.value[0])):(s.value[1]=ke(ae.value),e("range-end",s.value[1])):(t.autoApply&&e("auto-apply-invalid",ae.value),e("invalid-date",ae.value)):(s.value[0]=ke(ae.value),e("range-start",s.value[0]))},je=(ae=!0)=>t.enableSeconds?Array.isArray(u.seconds)?ae?u.seconds[0]:u.seconds[1]:u.seconds:0,nt=ae=>{s.value[ae]=to(s.value[ae],u.hours[ae],u.minutes[ae],je(ae!==1))},et=()=>{var ae,Te;s.value[0]&&s.value[1]&&+((ae=s.value)==null?void 0:ae[0])>+((Te=s.value)==null?void 0:Te[1])&&(s.value.reverse(),e("range-start",s.value[0]),e("range-end",s.value[1]))},Jt=()=>{s.value.length&&(s.value[0]&&!s.value[1]?nt(0):(nt(0),nt(1),i()),et(),l.value=s.value.slice(),kf(s.value,e,t.autoApply,t.modelAuto))},Wt=(ae,Te=!1)=>{if(w(ae.value)||!ae.current&&t.hideOffsetDates)return e("invalid-date",ae.value);if(o.value=JSON.parse(JSON.stringify(ae)),!p.value.enabled)return Q(ae);S0(u.hours)&&S0(u.minutes)&&!x.value.enabled&&(Ye(ae,Te),Jt())},gn=(ae,Te)=>{var he;R(ae,Te.month,Te.year,!0),f.value.count&&!f.value.solo&&de(ae),e("update-month-year",{instance:ae,month:Te.month,year:Te.year}),n(f.value.solo?ae:void 0);const Ae=(he=t.flow)!=null&&he.length?t.flow[t.flowStep]:void 0;!Te.fromNav&&(Ae===jn.month||Ae===jn.year)&&i()},Gt=(ae,Te)=>{wS({value:ae,modelValue:l,range:p.value.enabled,timezone:Te?void 0:v.value.timezone}),W(),t.multiCalendars&&Rn().then(()=>H(!0))},Ci=()=>{const ae=B_(ke(),v.value);p.value.enabled?l.value&&Array.isArray(l.value)&&l.value[0]?l.value=tn(ae,l.value[0])?[ae,l.value[0]]:[l.value[0],ae]:l.value=[ae]:l.value=ae,W()},qi=()=>{if(Array.isArray(l.value))if(x.value.enabled){const ae=Qt();l.value[l.value.length-1]=T(ae)}else l.value=l.value.map((ae,Te)=>ae&&T(ae,Te));else l.value=T(l.value);e("time-update")},Qt=()=>Array.isArray(l.value)&&l.value.length?l.value[l.value.length-1]:null;return{calendars:c,modelValue:l,month:ne,year:N,time:u,disabledTimesConfig:Y,today:d,validateTime:V,getCalendarDays:re,getMarker:K,handleScroll:fe,handleSwipe:O,handleArrow:S,selectDate:Wt,updateMonthYear:gn,presetDate:Gt,selectCurrentDate:Ci,updateTime:(ae,Te=!0,he=!1)=>{k(ae,Te,he,qi)},assignMonthAndYear:ie}},SB={key:0},kB=fn({__name:"DatePicker",props:{..._s},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(t,{expose:e,emit:n}){const i=n,s=t,{calendars:r,month:o,year:a,modelValue:l,time:c,disabledTimesConfig:u,today:d,validateTime:f,getCalendarDays:g,getMarker:p,handleArrow:m,handleScroll:v,handleSwipe:y,selectDate:x,updateMonthYear:E,presetDate:w,selectCurrentDate:b,updateTime:C,assignMonthAndYear:k}=CB(s,i,ce,ie),T=va(),{setHoverDate:A,getDayClassData:I,clearHoverDate:V}=WB(l,s),{defaultedMultiCalendars:Y}=Ut(s),ne=me([]),N=me([]),B=me(null),R=Pi(T,"calendar"),W=Pi(T,"monthYear"),X=Pi(T,"timePicker"),J=fe=>{s.shadow||i("mount",fe)};jt(r,()=>{s.shadow||setTimeout(()=>{i("recalculate-position")},0)},{deep:!0}),jt(Y,(fe,S)=>{fe.count-S.count>0&&k()},{deep:!0});const H=ve(()=>fe=>g(o.value(fe),a.value(fe)).map(S=>({...S,days:S.days.map(O=>(O.marker=p(O),O.classData=I(O),O))})));function ce(fe){var S;fe||fe===0?(S=N.value[fe])==null||S.triggerTransition(o.value(fe),a.value(fe)):N.value.forEach((O,K)=>O.triggerTransition(o.value(K),a.value(K)))}function ie(){i("update-flow-step")}const te=(fe,S=!1)=>{x(fe,S),s.spaceConfirm&&i("select-date")},D=(fe,S,O=0)=>{var K;(K=ne.value[O])==null||K.toggleMonthPicker(fe,S)},ee=(fe,S,O=0)=>{var K;(K=ne.value[O])==null||K.toggleYearPicker(fe,S)},ue=(fe,S,O)=>{var K;(K=B.value)==null||K.toggleTimePicker(fe,S,O)},L=(fe,S)=>{var O;if(!s.range){const K=l.value?l.value:d,U=S?new Date(S):K,oe=fe?ps(U,{weekStartsOn:1}):UC(U,{weekStartsOn:1});x({value:oe,current:at(U)===o.value(0),text:"",classData:{}}),(O=document.getElementById(vS(oe)))==null||O.focus()}},le=fe=>{var S;(S=ne.value[0])==null||S.handleMonthYearChange(fe,!0)},de=fe=>{E(0,{month:o.value(0),year:a.value(0)+(fe?1:-1),fromNav:!0})},xe=(fe,S)=>{fe===jn.time&&i(`time-picker-${S?"open":"close"}`),i("overlay-toggle",{open:S,overlay:fe})},z=fe=>{i("overlay-toggle",{open:!1,overlay:fe}),i("focus-menu")};return e({clearHoverDate:V,presetDate:w,selectCurrentDate:b,toggleMonthPicker:D,toggleYearPicker:ee,toggleTimePicker:ue,handleArrow:m,updateMonthYear:E,getSidebarProps:()=>({modelValue:l,month:o,year:a,time:c,updateTime:C,updateMonthYear:E,selectDate:x,presetDate:w}),changeMonth:le,changeYear:de,selectWeekDate:L}),(fe,S)=>(P(),F(Ie,null,[$(Sf,{"multi-calendars":Z(Y).count,collapse:fe.collapse},{default:Pe(({instance:O,index:K})=>[fe.disableMonthYearSelect?se("",!0):(P(),Ce(mB,xn({key:0,ref:U=>{U&&(ne.value[K]=U)},months:Z(aS)(fe.formatLocale,fe.locale,fe.monthNameFormat),years:Z(V_)(fe.yearRange,fe.locale,fe.reverseYears),month:Z(o)(O),year:Z(a)(O),instance:O},fe.$props,{onMount:S[0]||(S[0]=U=>J(Z(ia).header)),onResetFlow:S[1]||(S[1]=U=>fe.$emit("reset-flow")),onUpdateMonthYear:U=>Z(E)(O,U),onOverlayClosed:z,onOverlayOpened:S[2]||(S[2]=U=>fe.$emit("overlay-toggle",{open:!0,overlay:U}))}),Xn({_:2},[Ge(Z(W),(U,oe)=>({name:U,fn:Pe(j=>[Fe(fe.$slots,U,In(ii(j)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),$(EB,xn({ref:U=>{U&&(N.value[K]=U)},"mapped-dates":H.value(O),month:Z(o)(O),year:Z(a)(O),instance:O},fe.$props,{onSelectDate:U=>Z(x)(U,O!==1),onHandleSpace:U=>te(U,O!==1),onSetHoverDate:S[3]||(S[3]=U=>Z(A)(U)),onHandleScroll:U=>Z(v)(U,O),onHandleSwipe:U=>Z(y)(U,O),onMount:S[4]||(S[4]=U=>J(Z(ia).calendar)),onResetFlow:S[5]||(S[5]=U=>fe.$emit("reset-flow")),onTooltipOpen:S[6]||(S[6]=U=>fe.$emit("tooltip-open",U)),onTooltipClose:S[7]||(S[7]=U=>fe.$emit("tooltip-close",U))}),Xn({_:2},[Ge(Z(R),(U,oe)=>({name:U,fn:Pe(j=>[Fe(fe.$slots,U,In(ii({...j})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),fe.enableTimePicker?(P(),F("div",SB,[fe.$slots["time-picker"]?Fe(fe.$slots,"time-picker",In(xn({key:0},{time:Z(c),updateTime:Z(C)}))):(P(),Ce(CS,xn({key:1,ref_key:"timePickerRef",ref:B},fe.$props,{hours:Z(c).hours,minutes:Z(c).minutes,seconds:Z(c).seconds,"internal-model-value":fe.internalModelValue,"disabled-times-config":Z(u),"validate-time":Z(f),onMount:S[8]||(S[8]=O=>J(Z(ia).timePicker)),"onUpdate:hours":S[9]||(S[9]=O=>Z(C)(O)),"onUpdate:minutes":S[10]||(S[10]=O=>Z(C)(O,!1)),"onUpdate:seconds":S[11]||(S[11]=O=>Z(C)(O,!1,!0)),onResetFlow:S[12]||(S[12]=O=>fe.$emit("reset-flow")),onOverlayClosed:S[13]||(S[13]=O=>xe(O,!1)),onOverlayOpened:S[14]||(S[14]=O=>xe(O,!0)),onAmPmChange:S[15]||(S[15]=O=>fe.$emit("am-pm-change",O))}),Xn({_:2},[Ge(Z(X),(O,K)=>({name:O,fn:Pe(U=>[Fe(fe.$slots,O,In(ii(U)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):se("",!0)],64))}}),TB=(t,e)=>{const n=me(),{defaultedMultiCalendars:i,defaultedConfig:s,defaultedHighlight:r,defaultedRange:o,propDates:a,defaultedFilters:l,defaultedMultiDates:c}=Ut(t),{modelValue:u,year:d,month:f,calendars:g}=Hu(t,e),{isDisabled:p}=bo(t),{selectYear:m,groupedYears:v,showYearPicker:y,isDisabled:x,toggleYearPicker:E,handleYearSelect:w,handleYear:b}=ES({modelValue:u,multiCalendars:i,range:o,highlight:r,calendars:g,propDates:a,month:f,year:d,filters:l,props:t,emit:e}),C=(B,R)=>[B,R].map(W=>Ls(W,"MMMM",{locale:t.formatLocale})).join("-"),k=ve(()=>B=>u.value?Array.isArray(u.value)?u.value.some(R=>m0(B,R)):m0(u.value,B):!1),T=B=>{if(o.value.enabled){if(Array.isArray(u.value)){const R=ct(B,u.value[0])||ct(B,u.value[1]);return Ef(u.value,n.value,B)&&!R}return!1}return!1},A=(B,R)=>B.quarter===u0(R)&&B.year===Ze(R),I=B=>typeof r.value=="function"?r.value({quarter:u0(B),year:Ze(B)}):!!r.value.quarters.find(R=>A(R,B)),V=ve(()=>B=>{const R=Dt(new Date,{year:d.value(B)});return aF({start:lu(R),end:KC(R)}).map(W=>{const X=Xo(W),J=d0(W),H=p(W),ce=T(X),ie=I(X);return{text:C(X,J),value:X,active:k.value(X),highlighted:ie,disabled:H,isBetween:ce}})}),Y=B=>{H_(B,u,c.value.limit),e("auto-apply",!0)},ne=B=>{u.value=j_(u,B,e),kf(u.value,e,t.autoApply,t.modelAuto)},N=B=>{u.value=B,e("auto-apply")};return{defaultedConfig:s,defaultedMultiCalendars:i,groupedYears:v,year:d,isDisabled:x,quarters:V,showYearPicker:y,modelValue:u,setHoverDate:B=>{n.value=B},selectYear:m,selectQuarter:(B,R,W)=>{if(!W)return g.value[R].month=at(d0(B)),c.value.enabled?Y(B):o.value.enabled?ne(B):N(B)},toggleYearPicker:E,handleYearSelect:w,handleYear:b}},AB={class:"dp--quarter-items"},PB=["data-test","disabled","onClick","onMouseover"],MB=fn({compatConfig:{MODE:3},__name:"QuarterPicker",props:{..._s},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end","overlay-toggle","update-month-year"],setup(t,{expose:e,emit:n}){const i=n,s=t,r=va(),o=Pi(r,"yearMode"),{defaultedMultiCalendars:a,defaultedConfig:l,groupedYears:c,year:u,isDisabled:d,quarters:f,modelValue:g,showYearPicker:p,setHoverDate:m,selectQuarter:v,toggleYearPicker:y,handleYearSelect:x,handleYear:E}=TB(s,i);return e({getSidebarProps:()=>({modelValue:g,year:u,selectQuarter:v,handleYearSelect:x,handleYear:E})}),(w,b)=>(P(),Ce(Sf,{"multi-calendars":Z(a).count,collapse:w.collapse,stretch:""},{default:Pe(({instance:C})=>[h("div",{class:"dp-quarter-picker-wrap",style:Mn({minHeight:`${Z(l).modeHeight}px`})},[w.$slots["top-extra"]?Fe(w.$slots,"top-extra",{key:0,value:w.internalModelValue}):se("",!0),h("div",null,[$(bS,xn(w.$props,{items:Z(c)(C),instance:C,"show-year-picker":Z(p)[C],year:Z(u)(C),"is-disabled":k=>Z(d)(C,k),onHandleYear:k=>Z(E)(C,k),onYearSelect:k=>Z(x)(k,C),onToggleYearPicker:k=>Z(y)(C,k?.flow,k?.show)}),Xn({_:2},[Ge(Z(o),(k,T)=>({name:k,fn:Pe(A=>[Fe(w.$slots,k,In(ii(A)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),h("div",AB,[(P(!0),F(Ie,null,Ge(Z(f)(C),(k,T)=>(P(),F("div",{key:T},[h("button",{type:"button",class:Ee(["dp--qr-btn",{"dp--qr-btn-active":k.active,"dp--qr-btn-between":k.isBetween,"dp--qr-btn-disabled":k.disabled,"dp--highlighted":k.highlighted}]),"data-test":k.value,disabled:k.disabled,onClick:A=>Z(v)(k.value,C,k.disabled),onMouseover:A=>Z(m)(k.value)},[w.$slots.quarter?Fe(w.$slots,"quarter",{key:0,value:k.value,text:k.text}):(P(),F(Ie,{key:1},[Be(pe(k.text),1)],64))],42,PB)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),IB=["id","tabindex","role","aria-label"],DB={key:0,class:"dp--menu-load-container"},RB={key:1,class:"dp--menu-header"},$B={key:0,class:"dp__sidebar_left"},LB=["data-test","onClick","onKeydown"],OB={key:2,class:"dp__sidebar_right"},NB={key:3,class:"dp__action_extra"},k0=fn({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Cf,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(t,{expose:e,emit:n}){const i=n,s=t,r=me(null),o=ve(()=>{const{openOnTop:j,...re}=s;return{...re,flowStep:A.value,collapse:s.collapse,noOverlayFocus:s.noOverlayFocus,menuWrapRef:r.value}}),{setMenuFocused:a,setShiftKey:l,control:c}=yS(),u=va(),{defaultedTextInput:d,defaultedInline:f,defaultedConfig:g,defaultedUI:p}=Ut(s),m=me(null),v=me(0),y=me(null),x=me(!1),E=me(null);Vt(()=>{if(!s.shadow){x.value=!0,w(),window.addEventListener("resize",w);const j=bn(r);if(j&&!d.value.enabled&&!f.value.enabled&&(a(!0),R()),j){const re=Q=>{g.value.allowPreventDefault&&Q.preventDefault(),eo(Q,g.value,!0)};j.addEventListener("pointerdown",re),j.addEventListener("mousedown",re)}}}),_o(()=>{window.removeEventListener("resize",w)});const w=()=>{const j=bn(y);j&&(v.value=j.getBoundingClientRect().width)},{arrowRight:b,arrowLeft:C,arrowDown:k,arrowUp:T}=yo(),{flowStep:A,updateFlowStep:I,childMount:V,resetFlow:Y,handleFlow:ne}=zB(s,i,E),N=ve(()=>s.monthPicker?X4:s.yearPicker?Z4:s.timePicker?uB:s.quarterPicker?MB:kB),B=ve(()=>{var j;if(g.value.arrowLeft)return g.value.arrowLeft;const re=(j=r.value)==null?void 0:j.getBoundingClientRect(),Q=s.getInputRect();return Q?.width=(re?.right??0)&&Q?.width{const j=bn(r);j&&j.focus({preventScroll:!0})},W=ve(()=>{var j;return((j=E.value)==null?void 0:j.getSidebarProps())||{}}),X=()=>{s.openOnTop&&i("recalculate-position")},J=Pi(u,"action"),H=ve(()=>s.monthPicker||s.yearPicker?Pi(u,"monthYear"):s.timePicker?Pi(u,"timePicker"):Pi(u,"shared")),ce=ve(()=>s.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),ie=ve(()=>({dp__menu_disabled:s.disabled,dp__menu_readonly:s.readonly,"dp-menu-loading":s.loading})),te=ve(()=>({dp__menu:!0,dp__menu_index:!f.value.enabled,dp__relative:f.value.enabled,...p.value.menu??{}})),D=j=>{eo(j,g.value,!0)},ee=()=>{s.escClose&&i("close-picker")},ue=j=>{if(s.arrowNavigation){if(j===Qn.up)return T();if(j===Qn.down)return k();if(j===Qn.left)return C();if(j===Qn.right)return b()}else j===Qn.left||j===Qn.up?z("handleArrow",Qn.left,0,j===Qn.up):z("handleArrow",Qn.right,0,j===Qn.down)},L=j=>{l(j.shiftKey),!s.disableMonthYearSelect&&j.code===Nt.tab&&j.target.classList.contains("dp__menu")&&c.value.shiftKeyInMenu&&(j.preventDefault(),eo(j,g.value,!0),i("close-picker"))},le=()=>{R(),i("time-picker-close")},de=j=>{var re,Q,ge;(re=E.value)==null||re.toggleTimePicker(!1,!1),(Q=E.value)==null||Q.toggleMonthPicker(!1,!1,j),(ge=E.value)==null||ge.toggleYearPicker(!1,!1,j)},xe=(j,re=0)=>{var Q,ge,be;return j==="month"?(Q=E.value)==null?void 0:Q.toggleMonthPicker(!1,!0,re):j==="year"?(ge=E.value)==null?void 0:ge.toggleYearPicker(!1,!0,re):j==="time"?(be=E.value)==null?void 0:be.toggleTimePicker(!0,!1):de(re)},z=(j,...re)=>{var Q,ge;(Q=E.value)!=null&&Q[j]&&((ge=E.value)==null||ge[j](...re))},fe=()=>{z("selectCurrentDate")},S=(j,re)=>{z("presetDate",j,re)},O=()=>{z("clearHoverDate")},K=(j,re)=>{z("updateMonthYear",j,re)},U=(j,re)=>{j.preventDefault(),ue(re)},oe=j=>{var re,Q,ge;if(L(j),j.key===Nt.home||j.key===Nt.end)return z("selectWeekDate",j.key===Nt.home,j.target.getAttribute("id"));switch((j.key===Nt.pageUp||j.key===Nt.pageDown)&&(j.shiftKey?(z("changeYear",j.key===Nt.pageUp),(re=rm(r.value,"overlay-year"))==null||re.focus()):(z("changeMonth",j.key===Nt.pageUp),(Q=rm(r.value,j.key===Nt.pageUp?"action-prev":"action-next"))==null||Q.focus()),j.target.getAttribute("id")&&((ge=r.value)==null||ge.focus({preventScroll:!0}))),j.key){case Nt.esc:return ee();case Nt.arrowLeft:return U(j,Qn.left);case Nt.arrowRight:return U(j,Qn.right);case Nt.arrowUp:return U(j,Qn.up);case Nt.arrowDown:return U(j,Qn.down);default:return}};return e({updateMonthYear:K,switchView:xe,handleFlow:ne}),(j,re)=>{var Q,ge,be;return P(),F("div",{id:j.uid?`dp-menu-${j.uid}`:void 0,ref_key:"dpMenuRef",ref:r,tabindex:Z(f).enabled?void 0:"0",role:Z(f).enabled?void 0:"dialog","aria-label":(Q=j.ariaLabels)==null?void 0:Q.menu,class:Ee(te.value),style:Mn({"--dp-arrow-left":B.value}),onMouseleave:O,onClick:D,onKeydown:oe},[(j.disabled||j.readonly)&&Z(f).enabled||j.loading?(P(),F("div",{key:0,class:Ee(ie.value)},[j.loading?(P(),F("div",DB,re[19]||(re[19]=[h("span",{class:"dp--menu-loader"},null,-1)]))):se("",!0)],2)):se("",!0),j.$slots["menu-header"]?(P(),F("div",RB,[Fe(j.$slots,"menu-header")])):se("",!0),!Z(f).enabled&&!j.teleportCenter?(P(),F("div",{key:2,class:Ee(ce.value)},null,2)):se("",!0),h("div",{ref_key:"innerMenuRef",ref:y,class:Ee({dp__menu_content_wrapper:((ge=j.presetDates)==null?void 0:ge.length)||!!j.$slots["left-sidebar"]||!!j.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":t.collapse&&(((be=j.presetDates)==null?void 0:be.length)||!!j.$slots["left-sidebar"]||!!j.$slots["right-sidebar"])}),style:Mn({"--dp-menu-width":`${v.value}px`})},[j.$slots["left-sidebar"]?(P(),F("div",$B,[Fe(j.$slots,"left-sidebar",In(ii(W.value)))])):se("",!0),j.presetDates.length?(P(),F("div",{key:1,class:Ee({"dp--preset-dates-collapsed":t.collapse,"dp--preset-dates":!0})},[(P(!0),F(Ie,null,Ge(j.presetDates,(we,Me)=>(P(),F(Ie,{key:Me},[we.slot?Fe(j.$slots,we.slot,{key:0,presetDate:S,label:we.label,value:we.value}):(P(),F("button",{key:1,type:"button",style:Mn(we.style||{}),class:Ee(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":t.collapse}]),"data-test":we.testId??void 0,onClick:ru(De=>S(we.value,we.noTz),["prevent"]),onKeydown:De=>Z(si)(De,()=>S(we.value,we.noTz),!0)},pe(we.label),47,LB))],64))),128))],2)):se("",!0),h("div",{ref_key:"calendarWrapperRef",ref:m,class:"dp__instance_calendar",role:"document"},[(P(),Ce(_a(N.value),xn({ref_key:"dynCmpRef",ref:E},o.value,{"flow-step":Z(A),onMount:Z(V),onUpdateFlowStep:Z(I),onResetFlow:Z(Y),onFocusMenu:R,onSelectDate:re[0]||(re[0]=we=>j.$emit("select-date")),onDateUpdate:re[1]||(re[1]=we=>j.$emit("date-update",we)),onTooltipOpen:re[2]||(re[2]=we=>j.$emit("tooltip-open",we)),onTooltipClose:re[3]||(re[3]=we=>j.$emit("tooltip-close",we)),onAutoApply:re[4]||(re[4]=we=>j.$emit("auto-apply",we)),onRangeStart:re[5]||(re[5]=we=>j.$emit("range-start",we)),onRangeEnd:re[6]||(re[6]=we=>j.$emit("range-end",we)),onInvalidFixedRange:re[7]||(re[7]=we=>j.$emit("invalid-fixed-range",we)),onTimeUpdate:re[8]||(re[8]=we=>j.$emit("time-update")),onAmPmChange:re[9]||(re[9]=we=>j.$emit("am-pm-change",we)),onTimePickerOpen:re[10]||(re[10]=we=>j.$emit("time-picker-open",we)),onTimePickerClose:le,onRecalculatePosition:X,onUpdateMonthYear:re[11]||(re[11]=we=>j.$emit("update-month-year",we)),onAutoApplyInvalid:re[12]||(re[12]=we=>j.$emit("auto-apply-invalid",we)),onInvalidDate:re[13]||(re[13]=we=>j.$emit("invalid-date",we)),onOverlayToggle:re[14]||(re[14]=we=>j.$emit("overlay-toggle",we)),"onUpdate:internalModelValue":re[15]||(re[15]=we=>j.$emit("update:internal-model-value",we))}),Xn({_:2},[Ge(H.value,(we,Me)=>({name:we,fn:Pe(De=>[Fe(j.$slots,we,In(ii({...De})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),j.$slots["right-sidebar"]?(P(),F("div",OB,[Fe(j.$slots,"right-sidebar",In(ii(W.value)))])):se("",!0),j.$slots["action-extra"]?(P(),F("div",NB,[j.$slots["action-extra"]?Fe(j.$slots,"action-extra",{key:0,selectCurrentDate:fe}):se("",!0)])):se("",!0)],6),!j.autoApply||Z(g).keepActionRow?(P(),Ce(W4,xn({key:3,"menu-mount":x.value},o.value,{"calendar-width":v.value,onClosePicker:re[16]||(re[16]=we=>j.$emit("close-picker")),onSelectDate:re[17]||(re[17]=we=>j.$emit("select-date")),onInvalidSelect:re[18]||(re[18]=we=>j.$emit("invalid-select")),onSelectNow:fe}),Xn({_:2},[Ge(Z(J),(we,Me)=>({name:we,fn:Pe(De=>[Fe(j.$slots,we,In(ii({...De})))])}))]),1040,["menu-mount","calendar-width"])):se("",!0)],46,IB)}}});var qa=(t=>(t.center="center",t.left="left",t.right="right",t))(qa||{});const FB=({menuRef:t,menuRefInner:e,inputRef:n,pickerWrapperRef:i,inline:s,emit:r,props:o,slots:a})=>{const{defaultedConfig:l}=Ut(o),c=me({}),u=me(!1),d=me({top:"0",left:"0"}),f=me(!1),g=tu(o,"teleportCenter");jt(g,()=>{d.value=JSON.parse(JSON.stringify({})),b()});const p=R=>{if(o.teleport){const W=R.getBoundingClientRect();return{left:W.left+window.scrollX,top:W.top+window.scrollY}}return{top:0,left:0}},m=(R,W)=>{d.value.left=`${R+W-c.value.width}px`},v=R=>{d.value.left=`${R}px`},y=(R,W)=>{o.position===qa.left&&v(R),o.position===qa.right&&m(R,W),o.position===qa.center&&(d.value.left=`${R+W/2-c.value.width/2}px`)},x=R=>{const{width:W,height:X}=R.getBoundingClientRect(),{top:J,left:H}=o.altPosition?o.altPosition(R):p(R);return{top:+J,left:+H,width:W,height:X}},E=()=>{d.value.left="50%",d.value.top="50%",d.value.transform="translate(-50%, -50%)",d.value.position="fixed",delete d.value.opacity},w=()=>{const R=bn(n),{top:W,left:X,transform:J}=o.altPosition(R);d.value={top:`${W}px`,left:`${X}px`,transform:J??""}},b=(R=!0)=>{var W;if(!s.value.enabled){if(g.value)return E();if(o.altPosition!==null)return w();if(R){const X=o.teleport?(W=e.value)==null?void 0:W.$el:t.value;X&&(c.value=X.getBoundingClientRect()),r("recalculate-position")}return Y()}},C=({inputEl:R,left:W,width:X})=>{window.screen.width>768&&!u.value&&y(W,X),A(R)},k=R=>{const{top:W,left:X,height:J,width:H}=x(R);d.value.top=`${J+W+ +o.offset}px`,f.value=!1,u.value||(d.value.left=`${X+H/2-c.value.width/2}px`),C({inputEl:R,left:X,width:H})},T=R=>{const{top:W,left:X,width:J}=x(R);d.value.top=`${W-+o.offset-c.value.height}px`,f.value=!0,C({inputEl:R,left:X,width:J})},A=R=>{if(o.autoPosition){const{left:W,width:X}=x(R),{left:J,right:H}=c.value;if(!u.value){if(Math.abs(J)!==Math.abs(H)){if(J<=0)return u.value=!0,v(W);if(H>=document.documentElement.clientWidth)return u.value=!0,m(W,X)}return y(W,X)}}},I=()=>{const R=bn(n);if(R){const{height:W}=c.value,{top:X,height:J}=R.getBoundingClientRect(),H=window.innerHeight-X-J,ce=X;return W<=H?Ho.bottom:W>H&&W<=ce?Ho.top:H>=ce?Ho.bottom:Ho.top}return Ho.bottom},V=R=>I()===Ho.bottom?k(R):T(R),Y=()=>{const R=bn(n);if(R)return o.autoPosition?V(R):k(R)},ne=function(R){if(R){const W=R.scrollHeight>R.clientHeight,X=window.getComputedStyle(R).overflowY.indexOf("hidden")!==-1;return W&&!X}return!0},N=function(R){return!R||R===document.body||R.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:ne(R)?R:N(R.assignedSlot&&l.value.shadowDom?R.assignedSlot.parentNode:R.parentNode)},B=R=>{if(R)switch(o.position){case qa.left:return{left:0,transform:"translateX(0)"};case qa.right:return{left:`${R.width}px`,transform:"translateX(-100%)"};default:return{left:`${R.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:f,menuStyle:d,xCorrect:u,setMenuPosition:b,getScrollableParent:N,shadowRender:(R,W)=>{var X,J,H;const ce=document.createElement("div"),ie=(X=bn(n))==null?void 0:X.getBoundingClientRect();ce.setAttribute("id","dp--temp-container");const te=(J=i.value)!=null&&J.clientWidth?i.value:document.body;te.append(ce);const D=B(ie),ee=l.value.shadowDom?Object.keys(a).filter(L=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(L)):Object.keys(a),ue=ha(R,{...W,shadow:!0,style:{opacity:0,position:"absolute",...D}},Object.fromEntries(ee.map(L=>[L,a[L]])));Fb(ue,ce),c.value=(H=ue.el)==null?void 0:H.getBoundingClientRect(),Fb(null,ce),te.removeChild(ce)}}},Mr=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"hours-overlay-header",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-header",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-header",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]},{name:"top-extra",use:["shared","month-year"]},{name:"tp-inline-arrow-up",use:["shared","time"]},{name:"tp-inline-arrow-down",use:["shared","time"]},{name:"menu-header",use:["menu"]}],BB=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],VB={all:()=>Mr,monthYear:()=>Mr.filter(t=>t.use.includes("month-year")),input:()=>BB,timePicker:()=>Mr.filter(t=>t.use.includes("time")),action:()=>Mr.filter(t=>t.use.includes("action")),calendar:()=>Mr.filter(t=>t.use.includes("calendar")),menu:()=>Mr.filter(t=>t.use.includes("menu")),shared:()=>Mr.filter(t=>t.use.includes("shared")),yearMode:()=>Mr.filter(t=>t.use.includes("year-mode"))},Pi=(t,e,n)=>{const i=[];return VB[e]().forEach(s=>{t[s.name]&&i.push(s.name)}),n!=null&&n.length&&n.forEach(s=>{s.slot&&i.push(s.slot)}),i},Yu=t=>{const e=ve(()=>i=>t.value?i?t.value.open:t.value.close:""),n=ve(()=>i=>t.value?i?t.value.menuAppearTop:t.value.menuAppearBottom:"");return{transitionName:e,showTransition:!!t.value,menuTransition:n}},Hu=(t,e,n)=>{const{defaultedRange:i,defaultedTz:s}=Ut(t),r=ke(xi(ke(),s.value.timezone)),o=me([{month:at(r),year:Ze(r)}]),a=f=>{const g={hours:vr(r),minutes:ao(r),seconds:0};return i.value.enabled?[g[f],g[f]]:g[f]},l=Ei({hours:a("hours"),minutes:a("minutes"),seconds:a("seconds")});jt(i,(f,g)=>{f.enabled!==g.enabled&&(l.hours=a("hours"),l.minutes=a("minutes"),l.seconds=a("seconds"))},{deep:!0});const c=ve({get:()=>t.internalModelValue,set:f=>{!t.readonly&&!t.disabled&&e("update:internal-model-value",f)}}),u=ve(()=>f=>o.value[f]?o.value[f].month:0),d=ve(()=>f=>o.value[f]?o.value[f].year:0);return jt(c,(f,g)=>{n&&JSON.stringify(f??{})!==JSON.stringify(g??{})&&n()},{deep:!0}),{calendars:o,time:l,modelValue:c,month:u,year:d,today:r}},WB=(t,e)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:i,defaultedUI:s,defaultedHighlight:r,defaultedTz:o,propDates:a,defaultedRange:l}=Ut(e),{isDisabled:c}=bo(e),u=me(null),d=me(xi(new Date,o.value.timezone)),f=D=>{!D.current&&e.hideOffsetDates||(u.value=D.value)},g=()=>{u.value=null},p=D=>Array.isArray(t.value)&&l.value.enabled&&t.value[0]&&u.value?D?ln(u.value,t.value[0]):tn(u.value,t.value[0]):!0,m=(D,ee)=>{const ue=()=>t.value?ee?t.value[0]||null:t.value[1]:null,L=t.value&&Array.isArray(t.value)?ue():null;return ct(ke(D.value),L)},v=D=>{const ee=Array.isArray(t.value)?t.value[0]:null;return D?!tn(u.value??null,ee):!0},y=(D,ee=!0)=>(l.value.enabled||e.weekPicker)&&Array.isArray(t.value)&&t.value.length===2?e.hideOffsetDates&&!D.current?!1:ct(ke(D.value),t.value[ee?0:1]):l.value.enabled?m(D,ee)&&v(ee)||ct(D.value,Array.isArray(t.value)?t.value[0]:null)&&p(ee):!1,x=(D,ee)=>{if(Array.isArray(t.value)&&t.value[0]&&t.value.length===1){const ue=ct(D.value,u.value);return ee?ln(t.value[0],D.value)&&ue:tn(t.value[0],D.value)&&ue}return!1},E=D=>!t.value||e.hideOffsetDates&&!D.current?!1:l.value.enabled?e.modelAuto&&Array.isArray(t.value)?ct(D.value,t.value[0]?t.value[0]:d.value):!1:i.value.enabled&&Array.isArray(t.value)?t.value.some(ee=>ct(ee,D.value)):ct(D.value,t.value?t.value:d.value),w=D=>{if(l.value.autoRange||e.weekPicker){if(u.value){if(e.hideOffsetDates&&!D.current)return!1;const ee=rs(u.value,+l.value.autoRange),ue=nr(ke(u.value),e.weekStart);return e.weekPicker?ct(ue[1],ke(D.value)):ct(ee,ke(D.value))}return!1}return!1},b=D=>{if(l.value.autoRange||e.weekPicker){if(u.value){const ee=rs(u.value,+l.value.autoRange);if(e.hideOffsetDates&&!D.current)return!1;const ue=nr(ke(u.value),e.weekStart);return e.weekPicker?ln(D.value,ue[0])&&tn(D.value,ue[1]):ln(D.value,u.value)&&tn(D.value,ee)}return!1}return!1},C=D=>{if(l.value.autoRange||e.weekPicker){if(u.value){if(e.hideOffsetDates&&!D.current)return!1;const ee=nr(ke(u.value),e.weekStart);return e.weekPicker?ct(ee[0],D.value):ct(u.value,D.value)}return!1}return!1},k=D=>Ef(t.value,u.value,D.value),T=()=>e.modelAuto&&Array.isArray(e.internalModelValue)?!!e.internalModelValue[0]:!1,A=()=>e.modelAuto?lS(e.internalModelValue):!0,I=D=>{if(e.weekPicker)return!1;const ee=l.value.enabled?!y(D)&&!y(D,!1):!0;return!c(D.value)&&!E(D)&&!(!D.current&&e.hideOffsetDates)&&ee},V=D=>l.value.enabled?e.modelAuto?T()&&E(D):!1:E(D),Y=D=>r.value?h4(D.value,a.value.highlight):!1,ne=D=>{const ee=c(D.value);return ee&&(typeof r.value=="function"?!r.value(D.value,ee):!r.value.options.highlightDisabled)},N=D=>{var ee;return typeof r.value=="function"?r.value(D.value):(ee=r.value.weekdays)==null?void 0:ee.includes(D.value.getDay())},B=D=>(l.value.enabled||e.weekPicker)&&(!(n.value.count>0)||D.current)&&A()&&!(!D.current&&e.hideOffsetDates)&&!E(D)?k(D):!1,R=D=>{const{isRangeStart:ee,isRangeEnd:ue}=H(D),L=l.value.enabled?ee||ue:!1;return{dp__cell_offset:!D.current,dp__pointer:!e.disabled&&!(!D.current&&e.hideOffsetDates)&&!c(D.value),dp__cell_disabled:c(D.value),dp__cell_highlight:!ne(D)&&(Y(D)||N(D))&&!V(D)&&!L&&!C(D)&&!(B(D)&&e.weekPicker)&&!ue,dp__cell_highlight_active:!ne(D)&&(Y(D)||N(D))&&V(D),dp__today:!e.noToday&&ct(D.value,d.value)&&D.current,"dp--past":tn(D.value,d.value),"dp--future":ln(D.value,d.value)}},W=D=>({dp__active_date:V(D),dp__date_hover:I(D)}),X=D=>{if(t.value&&!Array.isArray(t.value)){const ee=nr(t.value,e.weekStart);return{...ie(D),dp__range_start:ct(ee[0],D.value),dp__range_end:ct(ee[1],D.value),dp__range_between_week:ln(D.value,ee[0])&&tn(D.value,ee[1])}}return{...ie(D)}},J=D=>{if(t.value&&Array.isArray(t.value)){const ee=nr(t.value[0],e.weekStart),ue=t.value[1]?nr(t.value[1],e.weekStart):[];return{...ie(D),dp__range_start:ct(ee[0],D.value)||ct(ue[0],D.value),dp__range_end:ct(ee[1],D.value)||ct(ue[1],D.value),dp__range_between_week:ln(D.value,ee[0])&&tn(D.value,ee[1])||ln(D.value,ue[0])&&tn(D.value,ue[1]),dp__range_between:ln(D.value,ee[1])&&tn(D.value,ue[0])}}return{...ie(D)}},H=D=>{const ee=n.value.count>0?D.current&&y(D)&&A():y(D)&&A(),ue=n.value.count>0?D.current&&y(D,!1)&&A():y(D,!1)&&A();return{isRangeStart:ee,isRangeEnd:ue}},ce=D=>{const{isRangeStart:ee,isRangeEnd:ue}=H(D);return{dp__range_start:ee,dp__range_end:ue,dp__range_between:B(D),dp__date_hover:ct(D.value,u.value)&&!ee&&!ue&&!e.weekPicker,dp__date_hover_start:x(D,!0),dp__date_hover_end:x(D,!1)}},ie=D=>({...ce(D),dp__cell_auto_range:b(D),dp__cell_auto_range_start:C(D),dp__cell_auto_range_end:w(D)}),te=D=>l.value.enabled?l.value.autoRange?ie(D):e.modelAuto?{...W(D),...ce(D)}:e.weekPicker?J(D):ce(D):e.weekPicker?X(D):W(D);return{setHoverDate:f,clearHoverDate:g,getDayClassData:D=>e.hideOffsetDates&&!D.current?{}:{...R(D),...te(D),[e.dayClass?e.dayClass(D.value,e.internalModelValue):""]:!0,...s.value.calendarCell??{}}}},bo=t=>{const{defaultedFilters:e,defaultedRange:n,propDates:i,defaultedMultiDates:s}=Ut(t),r=N=>i.value.disabledDates?typeof i.value.disabledDates=="function"?i.value.disabledDates(ke(N)):!!Th(N,i.value.disabledDates):!1,o=N=>i.value.maxDate?t.yearPicker?Ze(N)>Ze(i.value.maxDate):ln(N,i.value.maxDate):!1,a=N=>i.value.minDate?t.yearPicker?Ze(N){const B=o(N),R=a(N),W=r(N),X=e.value.months.map(te=>+te).includes(at(N)),J=t.disabledWeekDays.length?t.disabledWeekDays.some(te=>+te===e5(N)):!1,H=g(N),ce=Ze(N),ie=ce<+t.yearRange[0]||ce>+t.yearRange[1];return!(B||R||W||X||ie||J||H)},c=(N,B)=>tn(...Kr(i.value.minDate,N,B))||ct(...Kr(i.value.minDate,N,B)),u=(N,B)=>ln(...Kr(i.value.maxDate,N,B))||ct(...Kr(i.value.maxDate,N,B)),d=(N,B,R)=>{let W=!1;return i.value.maxDate&&R&&u(N,B)&&(W=!0),i.value.minDate&&!R&&c(N,B)&&(W=!0),W},f=(N,B,R,W)=>{let X=!1;return W&&(i.value.minDate||i.value.maxDate)?i.value.minDate&&i.value.maxDate?X=d(N,B,R):(i.value.minDate&&c(N,B)||i.value.maxDate&&u(N,B))&&(X=!0):X=!0,X},g=N=>Array.isArray(i.value.allowedDates)&&!i.value.allowedDates.length?!0:i.value.allowedDates?!Th(N,i.value.allowedDates):!1,p=N=>!l(N),m=N=>n.value.noDisabledRange?!jC({start:N[0],end:N[1]}).some(B=>p(B)):!0,v=N=>{if(N){const B=Ze(N);return B>=+t.yearRange[0]&&B<=t.yearRange[1]}return!0},y=(N,B)=>!!(Array.isArray(N)&&N[B]&&(n.value.maxRange||n.value.minRange)&&v(N[B])),x=(N,B,R=0)=>{if(y(B,R)&&v(N)){const W=YC(N,B[R]),X=fS(B[R],N),J=X.length===1?0:X.filter(ce=>p(ce)).length,H=Math.abs(W)-(n.value.minMaxRawRange?0:J);if(n.value.minRange&&n.value.maxRange)return H>=+n.value.minRange&&H<=+n.value.maxRange;if(n.value.minRange)return H>=+n.value.minRange;if(n.value.maxRange)return H<=+n.value.maxRange}return!0},E=()=>!t.enableTimePicker||t.monthPicker||t.yearPicker||t.ignoreTimeValidation,w=N=>Array.isArray(N)?[N[0]?Bg(N[0]):null,N[1]?Bg(N[1]):null]:Bg(N),b=(N,B,R)=>N.find(W=>+W.hours===vr(B)&&W.minutes==="*"?!0:+W.minutes===ao(B)&&+W.hours===vr(B))&&R,C=(N,B,R)=>{const[W,X]=N,[J,H]=B;return!b(W,J,R)&&!b(X,H,R)&&R},k=(N,B)=>{const R=Array.isArray(B)?B:[B];return Array.isArray(t.disabledTimes)?Array.isArray(t.disabledTimes[0])?C(t.disabledTimes,R,N):!R.some(W=>b(t.disabledTimes,W,N)):N},T=(N,B)=>{const R=Array.isArray(B)?[sa(B[0]),B[1]?sa(B[1]):void 0]:sa(B),W=!t.disabledTimes(R);return N&&W},A=(N,B)=>t.disabledTimes?Array.isArray(t.disabledTimes)?k(B,N):T(B,N):B,I=N=>{let B=!0;if(!N||E())return!0;const R=!i.value.minDate&&!i.value.maxDate?w(N):N;return(t.maxTime||i.value.maxDate)&&(B=x0(t.maxTime,i.value.maxDate,"max",Tn(R),B)),(t.minTime||i.value.minDate)&&(B=x0(t.minTime,i.value.minDate,"min",Tn(R),B)),A(N,B)},V=N=>{if(!t.monthPicker)return!0;let B=!0;const R=ke(os(N));if(i.value.minDate&&i.value.maxDate){const W=ke(os(i.value.minDate)),X=ke(os(i.value.maxDate));return ln(R,W)&&tn(R,X)||ct(R,W)||ct(R,X)}if(i.value.minDate){const W=ke(os(i.value.minDate));B=ln(R,W)||ct(R,W)}if(i.value.maxDate){const W=ke(os(i.value.maxDate));B=tn(R,W)||ct(R,W)}return B},Y=ve(()=>N=>!t.enableTimePicker||t.ignoreTimeValidation?!0:I(N)),ne=ve(()=>N=>t.monthPicker?Array.isArray(N)&&(n.value.enabled||s.value.enabled)?!N.filter(B=>!V(B)).length:V(N):!0);return{isDisabled:p,validateDate:l,validateMonthYearInRange:f,isDateRangeAllowed:m,checkMinMaxRange:x,isValidTime:I,isTimeValid:Y,isMonthValid:ne}},Tf=()=>{const t=ve(()=>(i,s)=>i?.includes(s)),e=ve(()=>(i,s)=>i.count?i.solo?!0:s===0:!0),n=ve(()=>(i,s)=>i.count?i.solo?!0:s===i.count-1:!0);return{hideNavigationButtons:t,showLeftIcon:e,showRightIcon:n}},zB=(t,e,n)=>{const i=me(0),s=Ei({[ia.timePicker]:!t.enableTimePicker||t.timePicker||t.monthPicker,[ia.calendar]:!1,[ia.header]:!1}),r=ve(()=>t.monthPicker||t.timePicker),o=d=>{var f;if((f=t.flow)!=null&&f.length){if(!d&&r.value)return u();s[d]=!0,Object.keys(s).filter(g=>!s[g]).length||u()}},a=()=>{var d,f;(d=t.flow)!=null&&d.length&&i.value!==-1&&(i.value+=1,e("flow-step",i.value),u()),((f=t.flow)==null?void 0:f.length)===i.value&&Rn().then(()=>l())},l=()=>{i.value=-1},c=(d,f,...g)=>{var p,m;t.flow[i.value]===d&&n.value&&((m=(p=n.value)[f])==null||m.call(p,...g))},u=(d=0)=>{d&&(i.value+=d),c(jn.month,"toggleMonthPicker",!0),c(jn.year,"toggleYearPicker",!0),c(jn.calendar,"toggleTimePicker",!1,!0),c(jn.time,"toggleTimePicker",!0,!0);const f=t.flow[i.value];(f===jn.hours||f===jn.minutes||f===jn.seconds)&&c(f,"toggleTimePicker",!0,!0,f)};return{childMount:o,updateFlowStep:a,resetFlow:l,handleFlow:u,flowStep:i}},YB={key:1,class:"dp__input_wrap"},HB=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],jB={key:2,class:"dp--clear-btn"},KB=["aria-label"],UB=fn({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Cf},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur","text-input"],setup(t,{expose:e,emit:n}){const i=n,s=t,{defaultedTextInput:r,defaultedAriaLabels:o,defaultedInline:a,defaultedConfig:l,defaultedRange:c,defaultedMultiDates:u,defaultedUI:d,getDefaultPattern:f,getDefaultStartTime:g}=Ut(s),{checkMinMaxRange:p}=bo(s),m=me(),v=me(null),y=me(!1),x=me(!1),E=ve(()=>({dp__pointer:!s.disabled&&!s.readonly&&!r.value.enabled,dp__disabled:s.disabled,dp__input_readonly:!r.value.enabled,dp__input:!0,dp__input_icon_pad:!s.hideInputIcon,dp__input_valid:typeof s.state=="boolean"?s.state:!1,dp__input_invalid:typeof s.state=="boolean"?!s.state:!1,dp__input_focus:y.value||s.isMenuOpen,dp__input_reg:!r.value.enabled,...d.value.input??{}})),w=()=>{i("set-input-date",null),s.clearable&&s.autoApply&&(i("set-empty-date"),m.value=null)},b=H=>{const ce=g();return f4(H,r.value.format??f(),ce??gS({},s.enableSeconds),s.inputValue,x.value,s.formatLocale)},C=H=>{const{rangeSeparator:ce}=r.value,[ie,te]=H.split(`${ce}`);if(ie){const D=b(ie.trim()),ee=te?b(te.trim()):null;if(Tl(D,ee))return;const ue=D&&ee?[D,ee]:[D];p(ee,ue,0)&&(m.value=D?ue:null)}},k=()=>{x.value=!0},T=H=>{if(c.value.enabled)C(H);else if(u.value.enabled){const ce=H.split(";");m.value=ce.map(ie=>b(ie.trim())).filter(ie=>ie)}else m.value=b(H)},A=H=>{var ce;const ie=typeof H=="string"?H:(ce=H.target)==null?void 0:ce.value;ie!==""?(r.value.openMenu&&!s.isMenuOpen&&i("open"),T(ie),i("set-input-date",m.value)):w(),x.value=!1,i("update:input-value",ie),i("text-input",H,m.value)},I=H=>{r.value.enabled?(T(H.target.value),r.value.enterSubmit&&om(m.value)&&s.inputValue!==""?(i("set-input-date",m.value,!0),m.value=null):r.value.enterSubmit&&s.inputValue===""&&(m.value=null,i("clear"))):ne(H)},V=(H,ce)=>{r.value.enabled&&r.value.tabSubmit&&!ce&&T(H.target.value),r.value.tabSubmit&&om(m.value)&&s.inputValue!==""?(i("set-input-date",m.value,!0,!0),m.value=null):r.value.tabSubmit&&s.inputValue===""&&(m.value=null,i("clear",!0))},Y=()=>{y.value=!0,i("focus"),Rn().then(()=>{var H;r.value.enabled&&r.value.selectOnFocus&&((H=v.value)==null||H.select())})},ne=H=>{if(eo(H,l.value,!0),r.value.enabled&&r.value.openMenu&&!a.value.input){if(r.value.openMenu==="open"&&!s.isMenuOpen)return i("open");if(r.value.openMenu==="toggle")return i("toggle")}else r.value.enabled||i("toggle")},N=()=>{i("real-blur"),y.value=!1,(!s.isMenuOpen||a.value.enabled&&a.value.input)&&i("blur"),s.autoApply&&r.value.enabled&&m.value&&!s.isMenuOpen&&(i("set-input-date",m.value),i("select-date"),m.value=null)},B=H=>{eo(H,l.value,!0),i("clear")},R=H=>{if(H.key==="Tab"&&V(H),H.key==="Enter"&&I(H),!r.value.enabled){if(H.code==="Tab")return;H.preventDefault()}},W=()=>{var H;(H=v.value)==null||H.focus({preventScroll:!0})},X=H=>{m.value=H},J=H=>{H.key===Nt.tab&&V(H,!0)};return e({focusInput:W,setParsedDate:X}),(H,ce)=>{var ie,te,D;return P(),F("div",{onClick:ne},[H.$slots.trigger&&!H.$slots["dp-input"]&&!Z(a).enabled?Fe(H.$slots,"trigger",{key:0}):se("",!0),!H.$slots.trigger&&(!Z(a).enabled||Z(a).input)?(P(),F("div",YB,[H.$slots["dp-input"]&&!H.$slots.trigger&&(!Z(a).enabled||Z(a).enabled&&Z(a).input)?Fe(H.$slots,"dp-input",{key:0,value:t.inputValue,isMenuOpen:t.isMenuOpen,onInput:A,onEnter:I,onTab:V,onClear:B,onBlur:N,onKeypress:R,onPaste:k,onFocus:Y,openMenu:()=>H.$emit("open"),closeMenu:()=>H.$emit("close"),toggleMenu:()=>H.$emit("toggle")}):se("",!0),H.$slots["dp-input"]?se("",!0):(P(),F("input",{key:1,id:H.uid?`dp-input-${H.uid}`:void 0,ref_key:"inputRef",ref:v,"data-test":"dp-input",name:H.name,class:Ee(E.value),inputmode:Z(r).enabled?"text":"none",placeholder:H.placeholder,disabled:H.disabled,readonly:H.readonly,required:H.required,value:t.inputValue,autocomplete:H.autocomplete,"aria-label":(ie=Z(o))==null?void 0:ie.input,"aria-disabled":H.disabled||void 0,"aria-invalid":H.state===!1?!0:void 0,onInput:A,onBlur:N,onFocus:Y,onKeypress:R,onKeydown:ce[0]||(ce[0]=ee=>R(ee)),onPaste:k},null,42,HB)),h("div",{onClick:ce[3]||(ce[3]=ee=>i("toggle"))},[H.$slots["input-icon"]&&!H.hideInputIcon?(P(),F("span",{key:0,class:"dp__input_icon",onClick:ce[1]||(ce[1]=ee=>i("toggle"))},[Fe(H.$slots,"input-icon")])):se("",!0),!H.$slots["input-icon"]&&!H.hideInputIcon&&!H.$slots["dp-input"]?(P(),Ce(Z(Gl),{key:1,"aria-label":(te=Z(o))==null?void 0:te.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:ce[2]||(ce[2]=ee=>i("toggle"))},null,8,["aria-label"])):se("",!0)]),H.$slots["clear-icon"]&&t.inputValue&&H.clearable&&!H.disabled&&!H.readonly?(P(),F("span",jB,[Fe(H.$slots,"clear-icon",{clear:B})])):se("",!0),H.clearable&&!H.$slots["clear-icon"]&&t.inputValue&&!H.disabled&&!H.readonly?(P(),F("button",{key:3,"aria-label":(D=Z(o))==null?void 0:D.clearInput,class:"dp--clear-btn",type:"button",onKeydown:ce[4]||(ce[4]=ee=>Z(si)(ee,()=>B(ee),!0,J)),onClick:ce[5]||(ce[5]=ru(ee=>B(ee),["prevent"]))},[$(Z(oS),{class:"dp__input_icons","data-test":"clear-icon"})],40,KB)):se("",!0)])):se("",!0)])}}}),GB=typeof window<"u"?window:void 0,jg=()=>{},XB=t=>af()?(o_(t),!0):!1,qB=(t,e,n,i)=>{if(!t)return jg;let s=jg;const r=jt(()=>Z(t),a=>{s(),a&&(a.addEventListener(e,n,i),s=()=>{a.removeEventListener(e,n,i),s=jg})},{immediate:!0,flush:"post"}),o=()=>{r(),s()};return XB(o),o},ZB=(t,e,n,i={})=>{const{window:s=GB,event:r="pointerdown"}=i;return s?qB(s,r,o=>{const a=bn(t),l=bn(e);!a||!l||a===o.target||o.composedPath().includes(a)||o.composedPath().includes(l)||n(o)},{passive:!0}):void 0},JB=fn({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Cf},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date","overlay-toggle","text-input"],setup(t,{expose:e,emit:n}){const i=n,s=t,r=va(),o=me(!1),a=tu(s,"modelValue"),l=tu(s,"timezone"),c=me(null),u=me(null),d=me(null),f=me(!1),g=me(null),p=me(!1),m=me(!1),v=me(!1),y=me(!1),{setMenuFocused:x,setShiftKey:E}=yS(),{clearArrowNav:w}=yo(),{validateDate:b,isValidTime:C}=bo(s),{defaultedTransitions:k,defaultedTextInput:T,defaultedInline:A,defaultedConfig:I,defaultedRange:V,defaultedMultiDates:Y}=Ut(s),{menuTransition:ne,showTransition:N}=Yu(k);Vt(()=>{ee(s.modelValue),Rn().then(()=>{if(!A.value.enabled){const he=ce(g.value);he?.addEventListener("scroll",K),window?.addEventListener("resize",U)}}),A.value.enabled&&(o.value=!0),window?.addEventListener("keyup",oe),window?.addEventListener("keydown",j)}),_o(()=>{if(!A.value.enabled){const he=ce(g.value);he?.removeEventListener("scroll",K),window?.removeEventListener("resize",U)}window?.removeEventListener("keyup",oe),window?.removeEventListener("keydown",j)});const B=Pi(r,"all",s.presetDates),R=Pi(r,"input");jt([a,l],()=>{ee(a.value)},{deep:!0});const{openOnTop:W,menuStyle:X,xCorrect:J,setMenuPosition:H,getScrollableParent:ce,shadowRender:ie}=FB({menuRef:c,menuRefInner:u,inputRef:d,pickerWrapperRef:g,inline:A,emit:i,props:s,slots:r}),{inputValue:te,internalModelValue:D,parseExternalModelValue:ee,emitModelValue:ue,formatInputValue:L,checkBeforeEmit:le}=N4(i,s,f),de=ve(()=>({dp__main:!0,dp__theme_dark:s.dark,dp__theme_light:!s.dark,dp__flex_display:A.value.enabled,"dp--flex-display-collapsed":v.value,dp__flex_display_with_input:A.value.input})),xe=ve(()=>s.dark?"dp__theme_dark":"dp__theme_light"),z=ve(()=>s.teleport?{to:typeof s.teleport=="boolean"?"body":s.teleport,disabled:!s.teleport||A.value.enabled}:{}),fe=ve(()=>({class:"dp__outer_menu_wrap"})),S=ve(()=>A.value.enabled&&(s.timePicker||s.monthPicker||s.yearPicker||s.quarterPicker)),O=()=>{var he,Ae;return(Ae=(he=d.value)==null?void 0:he.$el)==null?void 0:Ae.getBoundingClientRect()},K=()=>{o.value&&(I.value.closeOnScroll?je():H())},U=()=>{var he;o.value&&H();const Ae=(he=u.value)==null?void 0:he.$el.getBoundingClientRect().width;v.value=document.body.offsetWidth<=Ae},oe=he=>{he.key==="Tab"&&!A.value.enabled&&!s.teleport&&I.value.tabOutClosesMenu&&(g.value.contains(document.activeElement)||je()),m.value=he.shiftKey},j=he=>{m.value=he.shiftKey},re=()=>{!s.disabled&&!s.readonly&&(ie(k0,s),H(!1),o.value=!0,o.value&&i("open"),o.value||Ye(),ee(s.modelValue))},Q=()=>{var he;te.value="",Ye(),(he=d.value)==null||he.setParsedDate(null),i("update:model-value",null),i("update:model-timezone-value",null),i("cleared"),I.value.closeOnClearValue&&je()},ge=()=>{const he=D.value;return!he||!Array.isArray(he)&&b(he)?!0:Array.isArray(he)?Y.value.enabled||he.length===2&&b(he[0])&&b(he[1])?!0:V.value.partialRange&&!s.timePicker?b(he[0]):!1:!1},be=()=>{le()&&ge()?(ue(),je()):i("invalid-select",D.value)},we=he=>{Me(),ue(),I.value.closeOnAutoApply&&!he&&je()},Me=()=>{d.value&&T.value.enabled&&d.value.setParsedDate(D.value)},De=(he=!1)=>{s.autoApply&&C(D.value)&&ge()&&(V.value.enabled&&Array.isArray(D.value)?(V.value.partialRange||D.value.length===2)&&we(he):we(he))},Ye=()=>{T.value.enabled||(D.value=null)},je=()=>{A.value.enabled||(o.value&&(o.value=!1,J.value=!1,x(!1),E(!1),w(),i("closed"),te.value&&ee(a.value)),Ye(),i("blur"))},nt=(he,Ae,Ne=!1)=>{if(!he){D.value=null;return}const Xt=Array.isArray(he)?!he.some($i=>!b($i)):b(he),pn=C(he);Xt&&pn?(y.value=!0,D.value=he,Ae&&(p.value=Ne,be(),i("text-submit")),Rn().then(()=>{y.value=!1})):i("invalid-date",he)},et=()=>{s.autoApply&&C(D.value)&&ue(),Me()},Jt=()=>o.value?je():re(),Wt=he=>{D.value=he},gn=()=>{T.value.enabled&&(f.value=!0,L()),i("focus")},Gt=()=>{if(T.value.enabled&&(f.value=!1,ee(s.modelValue),p.value)){const he=d4(g.value,m.value);he?.focus()}i("blur")},Ci=he=>{u.value&&u.value.updateMonthYear(0,{month:v0(he.month),year:v0(he.year)})},qi=he=>{ee(he??s.modelValue)},Qt=(he,Ae)=>{var Ne;(Ne=u.value)==null||Ne.switchView(he,Ae)},ae=he=>I.value.onClickOutside?I.value.onClickOutside(he):je(),Te=(he=0)=>{var Ae;(Ae=u.value)==null||Ae.handleFlow(he)};return ZB(c,d,()=>ae(ge)),e({closeMenu:je,selectDate:be,clearValue:Q,openMenu:re,onScroll:K,formatInputValue:L,updateInternalModelValue:Wt,setMonthYear:Ci,parseModel:qi,switchView:Qt,toggleMenu:Jt,handleFlow:Te,dpWrapMenuRef:c}),(he,Ae)=>(P(),F("div",{ref_key:"pickerWrapperRef",ref:g,class:Ee(de.value),"data-datepicker-instance":""},[$(UB,xn({ref_key:"inputRef",ref:d,"input-value":Z(te),"onUpdate:inputValue":Ae[0]||(Ae[0]=Ne=>Ht(te)?te.value=Ne:null),"is-menu-open":o.value},he.$props,{onClear:Q,onOpen:re,onSetInputDate:nt,onSetEmptyDate:Z(ue),onSelectDate:be,onToggle:Jt,onClose:je,onFocus:gn,onBlur:Gt,onRealBlur:Ae[1]||(Ae[1]=Ne=>f.value=!1),onTextInput:Ae[2]||(Ae[2]=Ne=>he.$emit("text-input",Ne))}),Xn({_:2},[Ge(Z(R),(Ne,Xt)=>({name:Ne,fn:Pe(pn=>[Fe(he.$slots,Ne,In(ii(pn)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(P(),Ce(_a(he.teleport?kD:"div"),In(ii(z.value)),{default:Pe(()=>[$(vt,{name:Z(ne)(Z(W)),css:Z(N)&&!Z(A).enabled},{default:Pe(()=>[o.value?(P(),F("div",xn({key:0,ref_key:"dpWrapMenuRef",ref:c},fe.value,{class:{"dp--menu-wrapper":!Z(A).enabled},style:Z(A).enabled?void 0:Z(X)}),[$(k0,xn({ref_key:"dpMenuRef",ref:u},he.$props,{"internal-model-value":Z(D),"onUpdate:internalModelValue":Ae[3]||(Ae[3]=Ne=>Ht(D)?D.value=Ne:null),class:{[xe.value]:!0,"dp--menu-wrapper":he.teleport},"open-on-top":Z(W),"no-overlay-focus":S.value,collapse:v.value,"get-input-rect":O,"is-text-input-date":y.value,onClosePicker:je,onSelectDate:be,onAutoApply:De,onTimeUpdate:et,onFlowStep:Ae[4]||(Ae[4]=Ne=>he.$emit("flow-step",Ne)),onUpdateMonthYear:Ae[5]||(Ae[5]=Ne=>he.$emit("update-month-year",Ne)),onInvalidSelect:Ae[6]||(Ae[6]=Ne=>he.$emit("invalid-select",Z(D))),onAutoApplyInvalid:Ae[7]||(Ae[7]=Ne=>he.$emit("invalid-select",Ne)),onInvalidFixedRange:Ae[8]||(Ae[8]=Ne=>he.$emit("invalid-fixed-range",Ne)),onRecalculatePosition:Z(H),onTooltipOpen:Ae[9]||(Ae[9]=Ne=>he.$emit("tooltip-open",Ne)),onTooltipClose:Ae[10]||(Ae[10]=Ne=>he.$emit("tooltip-close",Ne)),onTimePickerOpen:Ae[11]||(Ae[11]=Ne=>he.$emit("time-picker-open",Ne)),onTimePickerClose:Ae[12]||(Ae[12]=Ne=>he.$emit("time-picker-close",Ne)),onAmPmChange:Ae[13]||(Ae[13]=Ne=>he.$emit("am-pm-change",Ne)),onRangeStart:Ae[14]||(Ae[14]=Ne=>he.$emit("range-start",Ne)),onRangeEnd:Ae[15]||(Ae[15]=Ne=>he.$emit("range-end",Ne)),onDateUpdate:Ae[16]||(Ae[16]=Ne=>he.$emit("date-update",Ne)),onInvalidDate:Ae[17]||(Ae[17]=Ne=>he.$emit("invalid-date",Ne)),onOverlayToggle:Ae[18]||(Ae[18]=Ne=>he.$emit("overlay-toggle",Ne))}),Xn({_:2},[Ge(Z(B),(Ne,Xt)=>({name:Ne,fn:Pe(pn=>[Fe(he.$slots,Ne,In(ii({...pn})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):se("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),ju=(()=>{const t=JB;return t.install=e=>{e.component("Vue3DatePicker",t)},t})(),QB=Object.freeze(Object.defineProperty({__proto__:null,default:ju},Symbol.toStringTag,{value:"Module"}));Object.entries(QB).forEach(([t,e])=>{t!=="default"&&(ju[t]=e)});const eV={name:"newDashboardAPIKey",components:{LocaleText:Le,VueDatePicker:ju},data(){return{newKeyData:{ExpiredAt:Fn().add(7,"d").format("YYYY-MM-DD HH:mm:ss"),neverExpire:!1},submitting:!1}},setup(){return{store:Xe()}},mounted(){console.log(this.newKeyData.ExpiredAt)},methods:{submitNewAPIKey(){this.submitting=!0,dt("/api/newDashboardAPIKey",this.newKeyData,t=>{t.status?(this.$emit("created",t.data),this.store.newMessage("Server","API Key created","success"),this.$emit("close")):this.store.newMessage("Server",t.message,"danger"),this.submitting=!1})},fixDate(t){return console.log(Fn(t).format("YYYY-MM-DDTHH:mm:ss")),Fn(t).format("YYYY-MM-DDTHH:mm:ss")},parseTime(t){t?this.newKeyData.ExpiredAt=Fn(t).format("YYYY-MM-DD HH:mm:ss"):this.newKeyData.ExpiredAt=void 0}}},tV={class:"position-absolute w-100 h-100 top-0 start-0 rounded-bottom-3 p-3 d-flex",style:{"background-color":"#00000060","backdrop-filter":"blur(3px)"}},nV={class:"card m-auto rounded-3 mt-5"},iV={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},sV={class:"mb-0"},rV={class:"card-body d-flex gap-2 p-4 flex-column"},oV={class:"text-muted"},aV={class:"d-flex align-items-center gap-2"},lV={class:"form-check"},cV=["disabled"],uV={class:"form-check-label",for:"neverExpire"},dV={key:0,class:"bi bi-check-lg me-2"};function hV(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("VueDatePicker");return P(),F("div",tV,[h("div",nV,[h("div",iV,[h("h6",sV,[$(o,{t:"Create API Key"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=l=>this.$emit("close"))})]),h("div",rV,[h("small",oV,[$(o,{t:"When should this API Key expire?"})]),h("div",aV,[$(a,{is24:!0,"min-date":new Date,"model-value":this.newKeyData.ExpiredAt,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",clearable:!1,disabled:this.newKeyData.neverExpire||this.submitting,dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","disabled","dark"])]),h("div",lV,[Re(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[1]||(e[1]=l=>this.newKeyData.neverExpire=l),id:"neverExpire",disabled:this.submitting},null,8,cV),[[Gn,this.newKeyData.neverExpire]]),h("label",uV,[$(o,{t:"Never Expire"}),e[3]||(e[3]=Be(" (")),e[4]||(e[4]=h("i",{class:"bi bi-emoji-grimace-fill me-2"},null,-1)),$(o,{t:"Don't think that's a good idea"}),e[5]||(e[5]=Be(") "))])]),h("button",{class:Ee(["ms-auto btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm",{disabled:this.submitting}]),onClick:e[2]||(e[2]=l=>this.submitNewAPIKey())},[this.submitting?se("",!0):(P(),F("i",dV)),this.submitting?(P(),Ce(o,{key:1,t:"Creating..."})):(P(),Ce(o,{key:2,t:"Create"}))],2)])])])}const fV=ze(eV,[["render",hV]]),gV={name:"dashboardAPIKey",components:{LocaleText:Le},props:{apiKey:Object},setup(){return{store:Xe()}},data(){return{confirmDelete:!1}},methods:{deleteAPIKey(){dt("/api/deleteDashboardAPIKey",{Key:this.apiKey.Key},t=>{t.status?(this.$emit("deleted",t.data),this.store.newMessage("Server","API Key deleted","success")):this.store.newMessage("Server",t.message,"danger")})}}},pV={class:"card rounded-3 shadow-sm"},mV={key:0,class:"card-body d-flex gap-3 align-items-center apiKey-card-body"},_V={class:"d-flex align-items-center gap-2"},vV={class:"text-muted"},yV={style:{"word-break":"break-all"}},bV={class:"d-flex align-items-center gap-2 ms-auto"},wV={class:"text-muted"},xV={key:0,class:"card-body d-flex gap-3 align-items-center justify-content-end"};function EV(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",pV,[this.confirmDelete?(P(),F(Ie,{key:1},[this.store.getActiveCrossServer()?se("",!0):(P(),F("div",xV,[$(o,{t:"Are you sure to delete this API key?"}),h("a",{role:"button",class:"btn btn-sm bg-success-subtle text-success-emphasis rounded-3",onClick:e[1]||(e[1]=a=>this.deleteAPIKey())},e[4]||(e[4]=[h("i",{class:"bi bi-check-lg"},null,-1)])),h("a",{role:"button",class:"btn btn-sm bg-secondary-subtle text-secondary-emphasis rounded-3",onClick:e[2]||(e[2]=a=>this.confirmDelete=!1)},e[5]||(e[5]=[h("i",{class:"bi bi-x-lg"},null,-1)]))]))],64)):(P(),F("div",mV,[h("div",_V,[h("small",vV,[$(o,{t:"Key"})]),h("span",yV,pe(this.apiKey.Key),1)]),h("div",bV,[h("small",wV,[$(o,{t:"Expire At"})]),this.apiKey.ExpiredAt?se("",!0):(P(),Ce(o,{key:0,t:"Never Expire"})),h("span",null,pe(this.apiKey.ExpiredAt),1)]),this.store.getActiveCrossServer()?se("",!0):(P(),F("a",{key:0,role:"button",class:"btn btn-sm bg-danger-subtle text-danger-emphasis rounded-3",onClick:e[0]||(e[0]=a=>this.confirmDelete=!0)},e[3]||(e[3]=[h("i",{class:"bi bi-trash-fill"},null,-1)])))]))])}const CV=ze(gV,[["render",EV],["__scopeId","data-v-a76253c8"]]),SV={name:"dashboardAPIKeys",components:{LocaleText:Le,DashboardAPIKey:CV,NewDashboardAPIKey:fV},setup(){return{store:Xe()}},data(){return{value:this.store.Configuration.Server.dashboard_api_key,apiKeys:[],newDashboardAPIKey:!1}},methods:{async toggleDashboardAPIKeys(){await dt("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_api_key",value:this.value},t=>{t.status?(this.store.Configuration.Peers[this.targetData]=this.value,this.store.newMessage("Server",`API Keys function is successfully ${this.value?"enabled":"disabled"}`,"success")):(this.value=this.store.Configuration.Peers[this.targetData],this.store.newMessage("Server",`API Keys function is failed to ${this.value?"enabled":"disabled"}`,"danger"))})}},watch:{value:{immediate:!0,handler(t){t?Pt("/api/getDashboardAPIKeys",{},e=>{console.log(e),e.status?this.apiKeys=e.data:(this.apiKeys=[],this.store.newMessage("Server",e.message,"danger"))}):this.apiKeys=[]}}}},kV={class:"card rounded-3"},TV={class:"my-2"},AV={key:0,class:"form-check form-switch ms-auto"},PV={class:"form-check-label",for:"allowAPIKeysSwitch"},MV={key:0,class:"card-body position-relative d-flex flex-column gap-2"},IV={key:1,class:"card",style:{height:"300px"}},DV={class:"card-body d-flex text-muted"},RV={class:"m-auto"},$V={key:2,class:"d-flex flex-column gap-2 position-relative",style:{"min-height":"300px"}};function LV(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("DashboardAPIKey"),l=Se("NewDashboardAPIKey");return P(),F("div",kV,[h("div",{class:Ee(["card-header d-flex align-items-center",{"border-bottom-0 rounded-3":!this.value}])},[h("h6",TV,[$(o,{t:"API Keys"})]),this.store.getActiveCrossServer()?se("",!0):(P(),F("div",AV,[Re(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=c=>this.value=c),onChange:e[1]||(e[1]=c=>this.toggleDashboardAPIKeys()),role:"switch",id:"allowAPIKeysSwitch"},null,544),[[Gn,this.value]]),h("label",PV,[this.value?(P(),Ce(o,{key:0,t:"Enabled"})):(P(),Ce(o,{key:1,t:"Disabled"}))])]))],2),this.value?(P(),F("div",MV,[this.store.getActiveCrossServer()?se("",!0):(P(),F("button",{key:0,class:"btn bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle rounded-3 shadow-sm",onClick:e[2]||(e[2]=c=>this.newDashboardAPIKey=!0)},[e[6]||(e[6]=h("i",{class:"bi bi-plus-circle-fill me-2"},null,-1)),$(o,{t:"API Key"})])),this.apiKeys.length===0?(P(),F("div",IV,[h("div",DV,[h("span",RV,[$(o,{t:"No WGDashboard API Key"})])])])):(P(),F("div",$V,[$(vo,{name:"apiKey"},{default:Pe(()=>[(P(!0),F(Ie,null,Ge(this.apiKeys,c=>(P(),Ce(a,{apiKey:c,key:c.Key,onDeleted:e[3]||(e[3]=u=>this.apiKeys=u)},null,8,["apiKey"]))),128))]),_:1})])),$(vt,{name:"zoomReversed"},{default:Pe(()=>[this.newDashboardAPIKey?(P(),Ce(l,{key:0,onCreated:e[4]||(e[4]=c=>this.apiKeys=c),onClose:e[5]||(e[5]=c=>this.newDashboardAPIKey=!1)})):se("",!0)]),_:1})])):se("",!0)])}const OV=ze(SV,[["render",LV],["__scopeId","data-v-3d3ef755"]]),NV={name:"accountSettingsMFA",components:{LocaleText:Le},setup(){const t=Xe(),e=`input_${Bs()}`;return{store:t,uuid:e}},data(){return{status:!1}},mounted(){this.status=this.store.Configuration.Account.enable_totp},methods:{async resetMFA(){await dt("/api/updateDashboardConfigurationItem",{section:"Account",key:"totp_verified",value:"false"},async t=>{await dt("/api/updateDashboardConfigurationItem",{section:"Account",key:"enable_totp",value:"false"},e=>{e.status&&this.$router.push("/2FASetup")})})}}},FV={class:"d-flex align-items-center"},BV={class:"form-check form-switch"},VV={for:"allowMFAKeysSwitch"};function WV(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("div",FV,[h("div",BV,[Re(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=a=>this.status=a),role:"switch",id:"allowMFAKeysSwitch"},null,512),[[Gn,this.status]]),h("label",VV,[this.status?(P(),Ce(o,{key:0,t:"Enabled"})):(P(),Ce(o,{key:1,t:"Disabled"}))])]),this.status?(P(),F("button",{key:0,class:"btn bg-warning-subtle text-warning-emphasis border-1 border-warning-subtle ms-auto rounded-3 shadow-sm",onClick:e[1]||(e[1]=a=>this.resetMFA())},[e[2]||(e[2]=h("i",{class:"bi bi-shield-lock-fill me-2"},null,-1)),this.store.Configuration.Account.totp_verified?(P(),Ce(o,{key:0,t:"Reset"})):(P(),Ce(o,{key:1,t:"Setup"})),e[3]||(e[3]=Be(" MFA "))])):se("",!0)])])}const zV=ze(NV,[["render",WV]]),YV={name:"dashboardLanguage",components:{LocaleText:Le},setup(){return{store:Xe()}},data(){return{languages:void 0}},mounted(){Pt("/api/locale/available",{},t=>{this.languages=t.data})},methods:{changeLanguage(t){dt("/api/locale/update",{lang_id:t},e=>{e.status?(this.store.Configuration.Server.dashboard_language=t,this.store.Locale=e.data):this.store.newMessage("Server","Dashboard language update failed","danger")})}},computed:{currentLanguage(){let t=this.store.Configuration.Server.dashboard_language;return this.languages.find(e=>e.lang_id===t)}}},HV={class:"text-muted d-block mb-1"},jV={class:"d-flex gap-2"},KV={class:"dropdown w-100"},UV=["disabled"],GV={key:1},XV={class:"dropdown-menu rounded-3 shadow"},qV=["onClick"],ZV={class:"me-auto mb-0"},JV={class:"d-block",style:{"font-size":"0.8rem"}},QV={key:0,class:"bi bi-check text-primary fs-5"};function e6(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("small",HV,[h("strong",null,[$(o,{t:"Language"})])]),h("div",jV,[h("div",KV,[h("button",{class:"btn bg-primary-subtle text-primary-emphasis dropdown-toggle w-100 rounded-3",disabled:!this.languages,type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[this.languages?(P(),F("span",GV,pe(r.currentLanguage?.lang_name_localized),1)):(P(),Ce(o,{key:0,t:"Loading..."}))],8,UV),h("ul",XV,[(P(!0),F(Ie,null,Ge(this.languages,a=>(P(),F("li",null,[h("a",{class:"dropdown-item d-flex align-items-center",role:"button",onClick:l=>this.changeLanguage(a.lang_id)},[h("p",ZV,[Be(pe(a.lang_name_localized)+" ",1),h("small",JV,pe(a.lang_name),1)]),r.currentLanguage?.lang_id===a.lang_id?(P(),F("i",QV)):se("",!0)],8,qV)]))),256))])])])])}const t6=ze(YV,[["render",e6],["__scopeId","data-v-08b165a8"]]),n6={name:"dashboardIPPortInput",components:{LocaleText:Le},setup(){return{store:Xe()}},data(){return{ipAddress:"",port:0,invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.ipAddress=this.store.Configuration.Server.app_ip,this.port=this.store.Configuration.Server.app_port},methods:{async useValidation(t,e,n){this.changed&&(this.updating=!0,await dt("/api/updateDashboardConfigurationItem",{section:"Server",key:e,value:n},i=>{i.status?(t.target.classList.add("is-valid"),this.showInvalidFeedback=!1,this.store.Configuration.Server[e]=n,clearTimeout(this.timeout),this.timeout=setTimeout(()=>{t.target.classList.remove("is-valid")},5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=i.message),this.changed=!1,this.updating=!1}))}}},i6={class:"row g-2"},s6={class:"col-sm"},r6={class:"form-group"},o6={for:"input_dashboard_ip",class:"text-muted mb-1"},a6=["disabled"],l6={class:"invalid-feedback"},c6={class:"col-sm"},u6={class:"form-group"},d6={for:"input_dashboard_ip",class:"text-muted mb-1"},h6=["disabled"],f6={class:"invalid-feedback"},g6={class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mb-2 mt-2"};function p6(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("div",i6,[h("div",s6,[h("div",r6,[h("label",o6,[h("strong",null,[h("small",null,[$(o,{t:"IP Address / Hostname"})])])]),Re(h("input",{type:"text",class:Ee(["form-control",{"is-invalid":s.showInvalidFeedback,"is-valid":s.isValid}]),id:"input_dashboard_ip","onUpdate:modelValue":e[0]||(e[0]=a=>this.ipAddress=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),onBlur:e[2]||(e[2]=a=>r.useValidation(a,"app_ip",this.ipAddress)),disabled:this.updating},null,42,a6),[[We,this.ipAddress]]),h("div",l6,pe(this.invalidFeedback),1)])]),h("div",c6,[h("div",u6,[h("label",d6,[h("strong",null,[h("small",null,[$(o,{t:"Listen Port"})])])]),Re(h("input",{type:"number",class:Ee(["form-control",{"is-invalid":s.showInvalidFeedback,"is-valid":s.isValid}]),id:"input_dashboard_ip","onUpdate:modelValue":e[3]||(e[3]=a=>this.port=a),onKeydown:e[4]||(e[4]=a=>this.changed=!0),onBlur:e[5]||(e[5]=a=>r.useValidation(a,"app_port",this.port)),disabled:this.updating},null,42,h6),[[We,this.port]]),h("div",f6,pe(this.invalidFeedback),1)])])]),h("div",g6,[h("small",null,[e[6]||(e[6]=h("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1)),$(o,{t:"Manual restart of WGDashboard is needed to apply changes on IP Address and Listen Port"})])])])}const m6=ze(n6,[["render",p6]]),_6={class:"card rounded-3"},v6={class:"card-header"},y6={class:"my-2"},b6={class:"card-body d-flex gap-2"},w6={class:"list-group w-100"},x6=["onClick"],E6={__name:"dashboardSettingsWireguardConfigurationAutostart",setup(t){const e=Xe(),n=$n(),i=me(e.Configuration.WireGuardConfiguration.autostart),s=ve(()=>n.Configurations.map(a=>a.Name)),r=async()=>{console.log(i.value),await dt("/api/updateDashboardConfigurationItem",{section:"WireGuardConfiguration",key:"autostart",value:i.value},async a=>{console.log(a)})},o=a=>{i.value.includes(a)?i.value=i.value.filter(l=>l!==a):i.value.push(a)};return jt(i,()=>{r()}),(a,l)=>(P(),F("div",_6,[h("div",v6,[h("h6",y6,[$(Le,{t:"Toggle When Start Up"})])]),h("div",b6,[h("div",w6,[(P(!0),F(Ie,null,Ge(s.value,c=>(P(),F("button",{type:"button",key:c,onClick:u=>o(c),class:"list-group-item list-group-item-action py-2 w-100 d-flex align-items-center"},[h("samp",null,pe(c),1),h("i",{class:Ee(["ms-auto",[i.value.includes(c)?"bi-check-circle-fill":"bi-circle"]])},null,2)],8,x6))),128))])])]))}},C6=ze(E6,[["__scopeId","data-v-becb648c"]]),S6={name:"settings",methods:{ipV46RegexCheck:j3},components:{DashboardSettingsWireguardConfigurationAutostart:C6,DashboardIPPortInput:m6,DashboardLanguage:t6,LocaleText:Le,AccountSettingsMFA:zV,DashboardAPIKeys:OV,DashboardSettingsInputIPAddressAndPort:qN,DashboardTheme:BN,DashboardSettingsInputWireguardConfigurationPath:$N,AccountSettingsInputPassword:_N,AccountSettingsInputUsername:J3,PeersDefaultSettingsInput:H3},setup(){return{dashboardConfigurationStore:Xe()}},data(){return{activeTab:"WGDashboard"}}},k6={class:"mt-md-5 mt-3 text-body mb-3"},T6={class:"container-md d-flex flex-column gap-4"},A6={class:"nav nav-pills nav-justified align-items-center gap-2"},P6={class:"nav-item"},M6={class:"nav-item"},I6={class:"nav-item"},D6={key:0,class:"d-flex gap-3 flex-column"},R6={key:1,class:"d-flex gap-3 flex-column"},$6={class:"card rounded-3"},L6={class:"card-header"},O6={class:"my-2"},N6={class:"card-body"},F6={key:2,class:"d-flex gap-3 flex-column"},B6={class:"card rounded-3"},V6={class:"card-header"},W6={class:"my-2"},z6={class:"card-body"},Y6={class:"row g-2"},H6={class:"col-sm"},j6={class:"col-sm"},K6={class:"card"},U6={class:"card-header"},G6={class:"my-2"},X6={class:"card-body"},q6={class:"card"},Z6={class:"card-header"},J6={class:"my-2"},Q6={class:"card-body d-flex flex-column gap-3"},e8={class:"card"},t8={class:"card-header"},n8={class:"my-2"},i8={class:"card-body"};function s8(t,e,n,i,s,r){const o=Se("DashboardSettingsInputWireguardConfigurationPath"),a=Se("DashboardSettingsWireguardConfigurationAutostart"),l=Se("LocaleText"),c=Se("PeersDefaultSettingsInput"),u=Se("DashboardTheme"),d=Se("DashboardLanguage"),f=Se("DashboardIPPortInput"),g=Se("AccountSettingsInputUsername"),p=Se("AccountSettingsInputPassword"),m=Se("AccountSettingsMFA"),v=Se("DashboardAPIKeys");return P(),F("div",k6,[h("div",T6,[h("div",null,[h("ul",A6,[h("li",P6,[h("a",{class:Ee(["nav-link rounded-3",{active:this.activeTab==="WGDashboard"}]),onClick:e[0]||(e[0]=y=>this.activeTab="WGDashboard"),role:"button"},e[3]||(e[3]=[h("h6",{class:"my-2"}," WGDashboard Settings ",-1)]),2)]),h("li",M6,[h("a",{class:Ee(["nav-link rounded-3",{active:this.activeTab==="Peers"}]),onClick:e[1]||(e[1]=y=>this.activeTab="Peers"),role:"button"},e[4]||(e[4]=[h("h6",{class:"my-2"}," Peers Settings ",-1)]),2)]),h("li",I6,[h("a",{class:Ee(["nav-link rounded-3",{active:this.activeTab==="WireGuardConfiguration"}]),onClick:e[2]||(e[2]=y=>this.activeTab="WireGuardConfiguration"),role:"button"},e[5]||(e[5]=[h("h6",{class:"my-2"}," WireGuard Configuration Settings ",-1)]),2)])]),e[7]||(e[7]=h("hr",null,null,-1)),h("div",null,[$(vt,{name:"fade2",mode:"out-in"},{default:Pe(()=>[s.activeTab==="WireGuardConfiguration"?(P(),F("div",D6,[$(o,{targetData:"wg_conf_path",title:"Configurations Directory",warning:!0,"warning-text":"Remember to remove / at the end of your path. e.g /etc/wireguard"}),$(a)])):s.activeTab==="Peers"?(P(),F("div",R6,[h("div",$6,[h("div",L6,[h("h6",O6,[$(l,{t:"Peer Default Settings"})])]),h("div",N6,[h("div",null,[$(c,{targetData:"peer_global_dns",title:"DNS"}),$(c,{targetData:"peer_endpoint_allowed_ip",title:"Endpoint Allowed IPs"}),$(c,{targetData:"peer_mtu",title:"MTU"}),$(c,{targetData:"peer_keep_alive",title:"Persistent Keepalive"}),$(c,{targetData:"remote_endpoint",title:"Peer Remote Endpoint",warning:!0,warningText:"This will be changed globally, and will be apply to all peer's QR code and configuration file."})])])])])):s.activeTab==="WGDashboard"?(P(),F("div",F6,[h("div",B6,[h("div",V6,[h("h6",W6,[$(l,{t:"Appearance"})])]),h("div",z6,[h("div",Y6,[h("div",H6,[$(u)]),h("div",j6,[$(d)])])])]),h("div",K6,[h("div",U6,[h("h6",G6,[$(l,{t:"Dashboard IP Address & Listen Port"})])]),h("div",X6,[$(f)])]),h("div",q6,[h("div",Z6,[h("h6",J6,[$(l,{t:"Account Settings"})])]),h("div",Q6,[h("div",null,[$(g,{targetData:"username",title:"Username"})]),e[6]||(e[6]=h("hr",null,null,-1)),h("div",null,[$(p,{targetData:"password"})])])]),h("div",e8,[h("div",t8,[h("h6",n8,[$(l,{t:"Multi-Factor Authentication (MFA)"})])]),h("div",i8,[this.dashboardConfigurationStore.getActiveCrossServer()?se("",!0):(P(),Ce(m,{key:0}))])]),$(v)])):se("",!0)]),_:1})])])])])}const r8=ze(S6,[["render",s8]]),o8={name:"setup",components:{LocaleText:Le},setup(){return{store:Xe()}},data(){return{setup:{username:"",newPassword:"",repeatNewPassword:"",enable_totp:!0},loading:!1,errorMessage:"",done:!1}},computed:{goodToSubmit(){return this.setup.username&&this.setup.newPassword.length>=8&&this.setup.repeatNewPassword.length>=8&&this.setup.newPassword===this.setup.repeatNewPassword}},methods:{submit(){this.loading=!0,dt("/api/Welcome_Finish",this.setup,t=>{t.status?(this.done=!0,this.$router.push("/2FASetup")):(document.querySelectorAll("#createAccount input").forEach(e=>e.classList.add("is-invalid")),this.errorMessage=t.message,document.querySelector(".login-container-fluid").scrollTo({top:0,left:0,behavior:"smooth"})),this.loading=!1})}}},a8=["data-bs-theme"],l8={class:"m-auto text-body",style:{width:"500px"}},c8={class:"dashboardLogo display-4"},u8={class:"mb-5"},d8={key:0,class:"alert alert-danger"},h8={class:"d-flex flex-column gap-3"},f8={id:"createAccount",class:"d-flex flex-column gap-2"},g8={class:"form-group text-body"},p8={for:"username",class:"mb-1 text-muted"},m8={class:"form-group text-body"},_8={for:"password",class:"mb-1 text-muted"},v8={class:"form-group text-body"},y8={for:"confirmPassword",class:"mb-1 text-muted"},b8=["disabled"],w8={key:0,class:"d-flex align-items-center w-100"},x8={key:1,class:"d-flex align-items-center w-100"};function E8(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.store.Configuration.Server.dashboard_theme},[h("div",l8,[h("span",c8,[$(o,{t:"Nice to meet you!"})]),h("p",u8,[$(o,{t:"Please fill in the following fields to finish setup"}),e[4]||(e[4]=Be(" 😊"))]),h("div",null,[h("h3",null,[$(o,{t:"Create an account"})]),this.errorMessage?(P(),F("div",d8,pe(this.errorMessage),1)):se("",!0),h("div",h8,[h("form",f8,[h("div",g8,[h("label",p8,[h("small",null,[$(o,{t:"Enter an username you like"})])]),Re(h("input",{type:"text",autocomplete:"username","onUpdate:modelValue":e[0]||(e[0]=a=>this.setup.username=a),class:"form-control",id:"username",name:"username",required:""},null,512),[[We,this.setup.username]])]),h("div",m8,[h("label",_8,[h("small",null,[$(o,{t:"Enter a password"}),h("code",null,[$(o,{t:"(At least 8 characters and make sure is strong enough!)"})])])]),Re(h("input",{type:"password",autocomplete:"new-password","onUpdate:modelValue":e[1]||(e[1]=a=>this.setup.newPassword=a),class:"form-control",id:"password",name:"password",required:""},null,512),[[We,this.setup.newPassword]])]),h("div",v8,[h("label",y8,[h("small",null,[$(o,{t:"Confirm password"})])]),Re(h("input",{type:"password",autocomplete:"confirm-new-password","onUpdate:modelValue":e[2]||(e[2]=a=>this.setup.repeatNewPassword=a),class:"form-control",id:"confirmPassword",name:"confirmPassword",required:""},null,512),[[We,this.setup.repeatNewPassword]])])]),h("button",{class:"btn btn-dark btn-lg mb-5 d-flex btn-brand shadow align-items-center",ref:"signInBtn",disabled:!this.goodToSubmit||this.loading||this.done,onClick:e[3]||(e[3]=a=>this.submit())},[!this.loading&&!this.done?(P(),F("span",w8,[$(o,{t:"Next"}),e[5]||(e[5]=h("i",{class:"bi bi-chevron-right ms-auto"},null,-1))])):(P(),F("span",x8,[$(o,{t:"Saving..."}),e[6]||(e[6]=h("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},[h("span",{class:"visually-hidden"},"Loading...")],-1))]))],8,b8)])])])],8,a8)}const C8=ze(o8,[["render",E8]]);function K_(t){return t.includes(":")?6:t.includes(".")?4:0}function S8(t){const e=K_(t);if(!e)throw new Error(`Invalid IP address: ${t}`);let n=0n,i=0n;const s=Object.create(null);if(e===4)for(const r of t.split(".").map(BigInt).reverse())n+=r*2n**i,i+=8n;else{if(t.includes(".")&&(s.ipv4mapped=!0,t=t.split(":").map(a=>{if(a.includes(".")){const[l,c,u,d]=a.split(".").map(f=>Number(f).toString(16).padStart(2,"0"));return`${l}${c}:${u}${d}`}else return a}).join(":")),t.includes("%")){let a;[,t,a]=/(.+)%(.+)/.exec(t)||[],s.scopeid=a}const r=t.split(":"),o=r.indexOf("");if(o!==-1)for(;r.length<8;)r.splice(o,0,"");for(const a of r.map(l=>BigInt(parseInt(l||"0",16))).reverse())n+=a*2n**i,i+=16n}return s.number=n,s.version=e,s}const Kg={4:32,6:128},k8=t=>t.includes("/")?K_(t):0;function am(t){const e=k8(t),n=Object.create(null);if(e)n.cidr=t,n.version=e;else{const d=K_(t);if(d)n.cidr=`${t}/${Kg[d]}`,n.version=d;else throw new Error(`Network is not a CIDR or IP: ${t}`)}const[i,s]=n.cidr.split("/");if(!/^[0-9]+$/.test(s))throw new Error(`Network is not a CIDR or IP: ${t}`);n.prefix=s,n.single=s===String(Kg[n.version]);const{number:r,version:o}=S8(i),a=Kg[o],l=r.toString(2).padStart(a,"0"),c=Number(a-s),u=l.substring(0,a-c);return n.start=BigInt(`0b${u}${"0".repeat(c)}`),n.end=BigInt(`0b${u}${"1".repeat(c)}`),n}/*! SPDX-License-Identifier: GPL-2.0 +`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),yL=new RegExp(`(?:^${ns}$)|(?:^${wf}$)`),bL=new RegExp(`^${ns}$`),wL=new RegExp(`^${wf}$`),xf=t=>t&&t.exact?yL:new RegExp(`(?:${jr(t)}${ns}${jr(t)})|(?:${jr(t)}${wf}${jr(t)})`,"g");xf.v4=t=>t&&t.exact?bL:new RegExp(`${jr(t)}${ns}${jr(t)}`,"g");xf.v6=t=>t&&t.exact?wL:new RegExp(`${jr(t)}${wf}${jr(t)}`,"g");const DC={exact:!1},RC=`${xf.v4().source}\\/(3[0-2]|[12]?[0-9])`,$C=`${xf.v6().source}\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])`,xL=new RegExp(`^${RC}$`),EL=new RegExp(`^${$C}$`),CL=({exact:t}=DC)=>t?xL:new RegExp(RC,"g"),SL=({exact:t}=DC)=>t?EL:new RegExp($C,"g"),LC=CL({exact:!0}),OC=SL({exact:!0}),k_=t=>LC.test(t)?4:OC.test(t)?6:0;k_.v4=t=>LC.test(t);k_.v6=t=>OC.test(t);const At=t=>{const e=Xe();if(e.Locale===null)return t;const i=Object.keys(e.Locale).filter(s=>t.match(new RegExp("^"+s+"$","gi"))!==null);return i.length===0||i.length>1?t:t.replace(new RegExp(i[0],"gi"),e.Locale[i[0]])},$n=_C("WireguardConfigurationsStore",{state:()=>({Configurations:void 0,searchString:"",ConfigurationListInterval:void 0,PeerScheduleJobs:{dropdowns:{Field:[{display:At("Total Received"),value:"total_receive",unit:"GB",type:"number"},{display:At("Total Sent"),value:"total_sent",unit:"GB",type:"number"},{display:At("Total Usage"),value:"total_data",unit:"GB",type:"number"},{display:At("Date"),value:"date",type:"date"}],Operator:[{display:At("larger than"),value:"lgt"}],Action:[{display:At("Restrict Peer"),value:"restrict"},{display:At("Delete Peer"),value:"delete"}]}}}),actions:{async getConfigurations(){await Pt("/api/getWireguardConfigurations",{},t=>{t.status&&(this.Configurations=t.data)})},regexCheckIP(t){return/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/.test(t)},checkCIDR(t){return k_(t)!==0},checkWGKeyLength(t){return console.log(t),/^[A-Za-z0-9+/]{43}=?=?$/.test(t)}}}),ze=(t,e)=>{const n=t.__vccOpts||t;for(const[i,s]of e)n[i]=s;return n},kL={name:"localeText",props:{t:""},computed:{getLocaleText(){return At(this.t)}}};function TL(t,e,n,i,s,r){return pe(this.getLocaleText)}const Le=ze(kL,[["render",TL]]),AL={name:"navbar",components:{LocaleText:Le},setup(){const t=$n(),e=Xe();return{wireguardConfigurationsStore:t,dashboardConfigurationStore:e}},data(){return{updateAvailable:!1,updateMessage:"Checking for update...",updateUrl:""}},mounted(){Pt("/api/getDashboardUpdate",{},t=>{t.status?(t.data&&(this.updateAvailable=!0,this.updateUrl=t.data),this.updateMessage=t.message):(this.updateMessage=At("Failed to check available update"),console.log(`Failed to get update: ${t.message}`))})}},PL=["data-bs-theme"],ML={id:"sidebarMenu",class:"bg-body-tertiary sidebar border h-100 rounded-3 shadow overflow-y-scroll"},IL={class:"sidebar-sticky"},DL={class:"nav flex-column px-2"},RL={class:"nav-item"},$L={class:"nav-item"},LL={class:"nav-item"},OL={class:"nav-link rounded-3",target:"_blank",href:"https://donaldzou.github.io/WGDashboard-Documentation/user-guides.html"},NL={class:"sidebar-heading px-3 mt-4 mb-1 text-muted text-center"},FL={class:"nav flex-column px-2"},BL={class:"nav-item"},VL={class:"sidebar-heading px-3 mt-4 mb-1 text-muted text-center"},WL={class:"nav flex-column px-2"},zL={class:"nav-item"},YL={class:"nav-item"},HL={class:"nav flex-column px-2 mb-3"},jL={class:"nav-item"},KL={class:"nav-item",style:{"font-size":"0.8rem"}},UL=["href"],GL={class:"nav-link text-muted rounded-3"},XL={key:1,class:"nav-link text-muted rounded-3"};function qL(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("RouterLink");return P(),F("div",{class:Ee(["col-md-3 col-lg-2 d-md-block p-2 navbar-container",{active:this.dashboardConfigurationStore.ShowNavBar}]),"data-bs-theme":i.dashboardConfigurationStore.Configuration.Server.dashboard_theme},[h("nav",ML,[h("div",IL,[e[8]||(e[8]=h("h5",{class:"text-white text-center m-0 py-3 mb-3 btn-brand"},"WGDashboard",-1)),h("ul",DL,[h("li",RL,[$(a,{class:"nav-link rounded-3",to:"/","exact-active-class":"active"},{default:Pe(()=>[e[1]||(e[1]=h("i",{class:"bi bi-house me-2"},null,-1)),$(o,{t:"Home"})]),_:1})]),h("li",$L,[$(a,{class:"nav-link rounded-3",to:"/settings","exact-active-class":"active"},{default:Pe(()=>[e[2]||(e[2]=h("i",{class:"bi bi-gear me-2"},null,-1)),$(o,{t:"Settings"})]),_:1})]),h("li",LL,[h("a",OL,[e[3]||(e[3]=h("i",{class:"bi bi-question-circle me-2"},null,-1)),$(o,{t:"Help"})])])]),e[9]||(e[9]=h("hr",{class:"text-body"},null,-1)),h("h6",NL,[e[4]||(e[4]=h("i",{class:"bi bi-body-text me-2"},null,-1)),$(o,{t:"WireGuard Configurations"})]),h("ul",FL,[(P(!0),F(Ie,null,Ge(this.wireguardConfigurationsStore.Configurations,l=>(P(),F("li",BL,[$(a,{to:"/configuration/"+l.Name+"/peers",class:"nav-link nav-conf-link rounded-3","active-class":"active"},{default:Pe(()=>[h("span",{class:Ee(["dot me-2",{active:l.Status}])},null,2),Be(" "+pe(l.Name),1)]),_:2},1032,["to"])]))),256))]),e[10]||(e[10]=h("hr",{class:"text-body"},null,-1)),h("h6",VL,[e[5]||(e[5]=h("i",{class:"bi bi-tools me-2"},null,-1)),$(o,{t:"Tools"})]),h("ul",WL,[h("li",zL,[$(a,{to:"/ping",class:"nav-link rounded-3","active-class":"active"},{default:Pe(()=>[$(o,{t:"Ping"})]),_:1})]),h("li",YL,[$(a,{to:"/traceroute",class:"nav-link rounded-3","active-class":"active"},{default:Pe(()=>[$(o,{t:"Traceroute"})]),_:1})])]),e[11]||(e[11]=h("hr",{class:"text-body"},null,-1)),h("ul",HL,[h("li",jL,[h("a",{class:"nav-link text-danger rounded-3",onClick:e[0]||(e[0]=l=>this.dashboardConfigurationStore.signOut()),role:"button",style:{"font-weight":"bold"}},[e[6]||(e[6]=h("i",{class:"bi bi-box-arrow-left me-2"},null,-1)),$(o,{t:"Sign Out"})])]),h("li",KL,[this.updateAvailable?(P(),F("a",{key:0,href:this.updateUrl,class:"text-decoration-none rounded-3",target:"_blank"},[h("small",GL,[$(o,{t:this.updateMessage},null,8,["t"]),e[7]||(e[7]=Be(" (")),$(o,{t:"Current Version:"}),Be(" "+pe(i.dashboardConfigurationStore.Configuration.Server.version)+") ",1)])],8,UL)):(P(),F("small",XL,[$(o,{t:this.updateMessage},null,8,["t"]),Be(" ("+pe(i.dashboardConfigurationStore.Configuration.Server.version)+") ",1)]))])])])])],10,PL)}const ZL=ze(AL,[["render",qL],["__scopeId","data-v-461d2bae"]]);var NC={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(sx,function(){var n=1e3,i=6e4,s=36e5,r="millisecond",o="second",a="minute",l="hour",c="day",u="week",d="month",f="quarter",g="year",p="date",m="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,x={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(N){var B=["th","st","nd","rd"],R=N%100;return"["+N+(B[(R-20)%10]||B[R]||B[0])+"]"}},E=function(N,B,R){var W=String(N);return!W||W.length>=B?N:""+Array(B+1-W.length).join(R)+N},w={s:E,z:function(N){var B=-N.utcOffset(),R=Math.abs(B),W=Math.floor(R/60),X=R%60;return(B<=0?"+":"-")+E(W,2,"0")+":"+E(X,2,"0")},m:function N(B,R){if(B.date()1)return N(H[0])}else{var ce=B.name;C[ce]=B,X=ce}return!W&&X&&(b=X),X||!W&&b},I=function(N,B){if(T(N))return N.clone();var R=typeof B=="object"?B:{};return R.date=N,R.args=arguments,new Y(R)},V=w;V.l=A,V.i=T,V.w=function(N,B){return I(N,{locale:B.$L,utc:B.$u,x:B.$x,$offset:B.$offset})};var Y=function(){function N(R){this.$L=A(R.locale,null,!0),this.parse(R),this.$x=this.$x||R.x||{},this[k]=!0}var B=N.prototype;return B.parse=function(R){this.$d=function(W){var X=W.date,J=W.utc;if(X===null)return new Date(NaN);if(V.u(X))return new Date;if(X instanceof Date)return new Date(X);if(typeof X=="string"&&!/Z$/i.test(X)){var H=X.match(v);if(H){var ce=H[2]-1||0,ie=(H[7]||"0").substring(0,3);return J?new Date(Date.UTC(H[1],ce,H[3]||1,H[4]||0,H[5]||0,H[6]||0,ie)):new Date(H[1],ce,H[3]||1,H[4]||0,H[5]||0,H[6]||0,ie)}}return new Date(X)}(R),this.init()},B.init=function(){var R=this.$d;this.$y=R.getFullYear(),this.$M=R.getMonth(),this.$D=R.getDate(),this.$W=R.getDay(),this.$H=R.getHours(),this.$m=R.getMinutes(),this.$s=R.getSeconds(),this.$ms=R.getMilliseconds()},B.$utils=function(){return V},B.isValid=function(){return this.$d.toString()!==m},B.isSame=function(R,W){var X=I(R);return this.startOf(W)<=X&&X<=this.endOf(W)},B.isAfter=function(R,W){return I(R){this.message.show=!1},5e3)}},eO=["id"],tO={class:"card-body"},nO={class:"d-flex"},iO={class:"fw-bold d-block",style:{"text-transform":"uppercase"}},sO={class:"ms-auto"};function rO(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",{class:Ee(["card shadow rounded-3 position-relative message ms-auto",{"text-bg-danger":this.message.type==="danger","text-bg-success":this.message.type==="success","text-bg-warning":this.message.type==="warning"}]),id:this.message.id},[h("div",tO,[h("div",nO,[h("small",iO,[$(o,{t:"FROM "}),Be(" "+pe(this.message.from),1)]),h("small",sO,pe(r.dayjs().format("hh:mm A")),1)]),Be(" "+pe(this.message.content),1)])],10,eO)}const FC=ze(QL,[["render",rO],["__scopeId","data-v-f50b8f0c"]]),oO={name:"index",components:{Message:FC,Navbar:ZL},async setup(){return{dashboardConfigurationStore:Xe()}},computed:{getMessages(){return this.dashboardConfigurationStore.Messages.filter(t=>t.show)}}},aO=["data-bs-theme"],lO={class:"row h-100"},cO={class:"col-md-9 col-lg-10 overflow-y-scroll mb-0 pt-2"},uO={class:"messageCentre text-body position-fixed d-flex"};function dO(t,e,n,i,s,r){const o=Se("Navbar"),a=Se("RouterView"),l=Se("Message");return P(),F("div",{class:"container-fluid flex-grow-1 main","data-bs-theme":this.dashboardConfigurationStore.Configuration.Server.dashboard_theme},[h("div",lO,[$(o),h("main",cO,[(P(),Ce(x_,null,{default:Pe(()=>[$(a,null,{default:Pe(({Component:c})=>[$(vt,{name:"fade2",mode:"out-in",appear:""},{default:Pe(()=>[(P(),Ce(_a(c)))]),_:2},1024)]),_:1})]),_:1})),h("div",uO,[$(vo,{name:"message",tag:"div",class:"position-relative flex-sm-grow-0 flex-grow-1 d-flex align-items-end ms-sm-auto flex-column gap-2"},{default:Pe(()=>[(P(!0),F(Ie,null,Ge(r.getMessages.slice().reverse(),c=>(P(),Ce(l,{message:c,key:c.id},null,8,["message"]))),128))]),_:1})])])])],8,aO)}const hO=ze(oO,[["render",dO],["__scopeId","data-v-93734089"]]),fO={name:"RemoteServer",props:{server:Object},data(){return{active:!1,startTime:void 0,endTime:void 0,errorMsg:"",refreshing:!1}},methods:{async handshake(){this.active=!1,this.server.host&&this.server.apiKey&&(this.refreshing=!0,this.startTime=void 0,this.endTime=void 0,this.startTime=Fn(),await fetch(`${this.server.host}/api/handshake`,{headers:{"content-type":"application/json","wg-dashboard-apikey":this.server.apiKey},method:"GET",signal:AbortSignal.timeout(5e3)}).then(t=>{if(t.status===200)return t.json();throw new Error(t.statusText)}).then(()=>{this.endTime=Fn(),this.active=!0}).catch(t=>{this.active=!1,this.errorMsg=t}),this.refreshing=!1)},async connect(){await fetch(`${this.server.host}/api/authenticate`,{headers:{"content-type":"application/json","wg-dashboard-apikey":this.server.apiKey},body:JSON.stringify({host:window.location.hostname}),method:"POST",signal:AbortSignal.timeout(5e3)}).then(t=>t.json()).then(t=>{this.$emit("setActiveServer"),this.$router.push("/")})}},mounted(){this.handshake()},computed:{getHandshakeTime(){return this.startTime&&this.endTime?`${Fn().subtract(this.startTime).millisecond()}ms`:this.refreshing?At("Pinging..."):this.errorMsg?this.errorMsg:"N/A"}}},gO={class:"card rounded-3"},pO={class:"card-body"},mO={class:"d-flex gap-3 w-100 remoteServerContainer"},_O={class:"d-flex gap-3 align-items-center flex-grow-1"},vO={class:"d-flex gap-3 align-items-center flex-grow-1"},yO={class:"d-flex gap-2 button-group"},bO={class:"card-footer gap-2 d-flex align-items-center"},wO={key:0,class:"spin ms-auto text-primary-emphasis"};function xO(t,e,n,i,s,r){return P(),F("div",gO,[h("div",pO,[h("div",mO,[h("div",_O,[e[7]||(e[7]=h("i",{class:"bi bi-server"},null,-1)),Re(h("input",{class:"form-control form-control-sm",onBlur:e[0]||(e[0]=o=>this.handshake()),"onUpdate:modelValue":e[1]||(e[1]=o=>this.server.host=o),type:"url"},null,544),[[We,this.server.host]])]),h("div",vO,[e[8]||(e[8]=h("i",{class:"bi bi-key-fill"},null,-1)),Re(h("input",{class:"form-control form-control-sm",onBlur:e[2]||(e[2]=o=>this.handshake()),"onUpdate:modelValue":e[3]||(e[3]=o=>this.server.apiKey=o),type:"text"},null,544),[[We,this.server.apiKey]])]),h("div",yO,[h("button",{onClick:e[4]||(e[4]=o=>this.$emit("delete")),class:"ms-auto btn btn-sm bg-danger-subtle text-danger-emphasis border-1 border-danger-subtle"},e[9]||(e[9]=[h("i",{class:"bi bi-trash"},null,-1)])),h("button",{onClick:e[5]||(e[5]=o=>this.connect()),class:Ee([{disabled:!this.active},"ms-auto btn btn-sm bg-success-subtle text-success-emphasis border-1 border-success-subtle"])},e[10]||(e[10]=[h("i",{class:"bi bi-arrow-right-circle"},null,-1)]),2)])])]),h("div",bO,[h("span",{class:Ee(["dot ms-0 me-2",[this.active?"active":"inactive"]])},null,2),h("small",null,pe(this.getHandshakeTime),1),this.refreshing?(P(),F("div",wO,e[11]||(e[11]=[h("i",{class:"bi bi-arrow-clockwise"},null,-1)]))):(P(),F("a",{key:1,role:"button",onClick:e[6]||(e[6]=o=>this.handshake()),class:"text-primary-emphasis text-decoration-none ms-auto disabled"},e[12]||(e[12]=[h("i",{class:"bi bi-arrow-clockwise me"},null,-1)])))])])}const EO=ze(fO,[["render",xO],["__scopeId","data-v-ed7817c7"]]),CO={name:"RemoteServerList",setup(){return{store:Xe()}},components:{LocaleText:Le,RemoteServer:EO}},SO={class:"w-100 mt-3"},kO={class:"d-flex align-items-center mb-3"},TO={class:"mb-0"},AO={class:"w-100 d-flex gap-3 flex-column p-3 border border-1 border-secondary-subtle rounded-3",style:{height:"400px","overflow-y":"scroll"}},PO={key:0,class:"text-muted m-auto"};function MO(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("RemoteServer");return P(),F("div",SO,[h("div",kO,[h("h5",TO,[$(o,{t:"Server List"})]),h("button",{onClick:e[0]||(e[0]=l=>this.store.addCrossServerConfiguration()),class:"btn bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle shadow-sm ms-auto"},[e[1]||(e[1]=h("i",{class:"bi bi-plus-circle-fill me-2"},null,-1)),$(o,{t:"Server"})])]),h("div",AO,[(P(!0),F(Ie,null,Ge(this.store.CrossServerConfiguration.ServerList,(l,c)=>(P(),Ce(a,{onSetActiveServer:u=>this.store.setActiveCrossServer(c),onDelete:u=>this.store.deleteCrossServerConfiguration(c),key:c,server:l},null,8,["onSetActiveServer","onDelete","server"]))),128)),Object.keys(this.store.CrossServerConfiguration.ServerList).length===0?(P(),F("h6",PO,[$(o,{t:"Click"}),e[2]||(e[2]=h("i",{class:"bi bi-plus-circle-fill mx-1"},null,-1)),$(o,{t:"to add your server"})])):se("",!0)])])}const IO=ze(CO,[["render",MO]]),DO={name:"signInInput",methods:{GetLocale:At},props:{id:"",data:"",type:"",placeholder:""},computed:{getLocaleText(){return At(this.placeholder)}}},RO=["type","id","name","placeholder"];function $O(t,e,n,i,s,r){return Re((P(),F("input",{type:n.type,"onUpdate:modelValue":e[0]||(e[0]=o=>this.data[this.id]=o),class:"form-control",id:this.id,name:this.id,autocomplete:"on",placeholder:this.getLocaleText,required:""},null,8,RO)),[[uC,this.data[this.id]]])}const LO=ze(DO,[["render",$O]]),OO={name:"signInTOTP",methods:{GetLocale:At},props:{data:""},computed:{getLocaleText(){return At("OTP from your authenticator")}}},NO=["placeholder"];function FO(t,e,n,i,s,r){return Re((P(),F("input",{class:"form-control totp",required:"",id:"totp",maxlength:"6",type:"text",inputmode:"numeric",autocomplete:"one-time-code",placeholder:this.getLocaleText,"onUpdate:modelValue":e[0]||(e[0]=o=>this.data.totp=o)},null,8,NO)),[[We,this.data.totp]])}const BO=ze(OO,[["render",FO]]),VO={name:"signin",components:{SignInTOTP:BO,SignInInput:LO,LocaleText:Le,RemoteServerList:IO,Message:FC},async setup(){const t=Xe();let e="dark",n=!1,i;return t.IsElectronApp||await Promise.all([Pt("/api/getDashboardTheme",{},s=>{e=s.data}),Pt("/api/isTotpEnabled",{},s=>{n=s.data}),Pt("/api/getDashboardVersion",{},s=>{i=s.data})]),t.removeActiveCrossServer(),{store:t,theme:e,totpEnabled:n,version:i}},data(){return{data:{username:"",password:"",totp:""},loginError:!1,loginErrorMessage:"",loading:!1}},computed:{getMessages(){return this.store.Messages.filter(t=>t.show)},applyLocale(t){return At(t)}},methods:{GetLocale:At,async auth(){this.data.username&&this.data.password&&(this.totpEnabled&&this.data.totp||!this.totpEnabled)?(this.loading=!0,await dt("/api/authenticate",this.data,t=>{t.status?(this.loginError=!1,this.$refs.signInBtn.classList.add("signedIn"),t.message?this.$router.push("/welcome"):this.store.Redirect!==void 0?this.$router.push(this.store.Redirect):this.$router.push("/")):(this.loginError=!0,this.loginErrorMessage=t.message,document.querySelectorAll("input[required]").forEach(e=>{e.classList.remove("is-valid"),e.classList.add("is-invalid")}),this.loading=!1)})):document.querySelectorAll("input[required]").forEach(t=>{t.value.length===0?(t.classList.remove("is-valid"),t.classList.add("is-invalid")):(t.classList.remove("is-invalid"),t.classList.add("is-valid"))})}}},WO=["data-bs-theme"],zO={class:"login-box m-auto"},YO={class:"m-auto",style:{width:"700px"}},HO={class:"mb-0 text-body"},jO={key:0,class:"alert alert-danger mt-2 mb-0",role:"alert"},KO={class:"form-group text-body"},UO={class:"form-group text-body"},GO={key:0,class:"form-group text-body"},XO={class:"btn btn-lg btn-dark ms-auto mt-4 w-100 d-flex btn-brand signInBtn",ref:"signInBtn"},qO={key:0,class:"d-flex w-100"},ZO={key:1,class:"d-flex w-100 align-items-center"},JO={key:3,class:"d-flex mt-3"},QO={class:"form-check form-switch ms-auto"},e3={class:"form-check-label",for:"flexSwitchCheckChecked"},t3={class:"text-muted pb-3 d-block w-100 text-center mt-3"},n3={class:"messageCentre text-body position-absolute end-0 m-3"};function i3(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("SignInInput"),l=Se("SignInTOTP"),c=Se("RemoteServerList"),u=Se("Message");return P(),F("div",{class:"container-fluid login-container-fluid d-flex main flex-column py-4 text-body",style:{"overflow-y":"scroll"},"data-bs-theme":this.theme},[h("div",zO,[h("div",YO,[h("h4",HO,[$(o,{t:"Welcome to"})]),e[7]||(e[7]=h("span",{class:"dashboardLogo display-3"},[h("strong",null,"WGDashboard")],-1)),s.loginError?(P(),F("div",jO,[$(o,{t:this.loginErrorMessage},null,8,["t"])])):se("",!0),this.store.CrossServerConfiguration.Enable?(P(),Ce(c,{key:2})):(P(),F("form",{key:1,onSubmit:e[0]||(e[0]=d=>{d.preventDefault(),this.auth()})},[h("div",KO,[e[2]||(e[2]=h("label",{for:"username",class:"text-left",style:{"font-size":"1rem"}},[h("i",{class:"bi bi-person-circle"})],-1)),$(a,{id:"username",data:this.data,type:"text",placeholder:"Username"},null,8,["data"])]),h("div",UO,[e[3]||(e[3]=h("label",{for:"password",class:"text-left",style:{"font-size":"1rem"}},[h("i",{class:"bi bi-key-fill"})],-1)),$(a,{id:"password",data:this.data,type:"password",placeholder:"Password"},null,8,["data"])]),i.totpEnabled?(P(),F("div",GO,[e[4]||(e[4]=h("label",{for:"totp",class:"text-left",style:{"font-size":"1rem"}},[h("i",{class:"bi bi-lock-fill"})],-1)),$(l,{data:this.data},null,8,["data"])])):se("",!0),h("button",XO,[this.loading?(P(),F("span",ZO,[$(o,{t:"Signing In..."}),e[6]||(e[6]=h("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},null,-1))])):(P(),F("span",qO,[$(o,{t:"Sign In"}),e[5]||(e[5]=h("i",{class:"ms-auto bi bi-chevron-right"},null,-1))]))],512)],32)),this.store.IsElectronApp?se("",!0):(P(),F("div",JO,[h("div",QO,[Re(h("input",{"onUpdate:modelValue":e[1]||(e[1]=d=>this.store.CrossServerConfiguration.Enable=d),class:"form-check-input",type:"checkbox",role:"switch",id:"flexSwitchCheckChecked"},null,512),[[Gn,this.store.CrossServerConfiguration.Enable]]),h("label",e3,[$(o,{t:"Access Remote Server"})])])]))])]),h("small",t3,[Be(" WGDashboard "+pe(this.version)+" | Developed with ❤️ by ",1),e[8]||(e[8]=h("a",{href:"https://github.com/donaldzou",target:"_blank"},[h("strong",null,"Donald Zou")],-1))]),h("div",n3,[$(vo,{name:"message",tag:"div",class:"position-relative"},{default:Pe(()=>[(P(!0),F(Ie,null,Ge(r.getMessages.slice().reverse(),d=>(P(),Ce(u,{message:d,key:d.id},null,8,["message"]))),128))]),_:1})])],8,WO)}const s3=ze(VO,[["render",i3],["__scopeId","data-v-95530d22"]]),T_={name:"configurationCard",components:{LocaleText:Le},props:{c:{Name:String,Status:Boolean,PublicKey:String,PrivateKey:String},delay:String},data(){return{configurationToggling:!1}},setup(){return{dashboardConfigurationStore:Xe()}},methods:{toggle(){this.configurationToggling=!0,Pt("/api/toggleWireguardConfiguration/",{configurationName:this.c.Name},t=>{t.status?this.dashboardConfigurationStore.newMessage("Server",`${this.c.Name} ${t.data?"is on":"is off"}`):this.dashboardConfigurationStore.newMessage("Server",t.message,"danger"),this.c.Status=t.data,this.configurationToggling=!1})}}},r0=()=>{oC(t=>({"1d5189b2":t.delay}))},o0=T_.setup;T_.setup=o0?(t,e)=>(r0(),o0(t,e)):r0;const r3={class:"card conf_card rounded-3 shadow text-decoration-none"},o3={class:"mb-0"},a3={class:"card-title mb-0"},l3={class:"card-footer d-flex gap-2 flex-column"},c3={class:"row"},u3={class:"col-6 col-md-3"},d3={class:"text-primary-emphasis col-6 col-md-3"},h3={class:"text-success-emphasis col-6 col-md-3"},f3={class:"text-md-end col-6 col-md-3"},g3={class:"d-flex align-items-center gap-2"},p3={class:"text-muted"},m3={style:{"word-break":"keep-all"}},_3={class:"mb-0 d-block d-lg-inline-block"},v3={style:{"line-break":"anywhere"}},y3={class:"form-check form-switch ms-auto"},b3=["for"],w3={key:4,class:"spinner-border spinner-border-sm ms-2","aria-hidden":"true"},x3=["disabled","id"];function E3(t,e,n,i,s,r){const o=Se("RouterLink"),a=Se("LocaleText");return P(),F("div",r3,[$(o,{to:"/configuration/"+n.c.Name+"/peers",class:"card-body d-flex align-items-center gap-3 flex-wrap text-decoration-none"},{default:Pe(()=>[h("h6",o3,[h("span",{class:Ee(["dot",{active:n.c.Status}])},null,2)]),h("h6",a3,[h("samp",null,pe(n.c.Name),1)]),e[2]||(e[2]=h("h6",{class:"mb-0 ms-auto"},[h("i",{class:"bi bi-chevron-right"})],-1))]),_:1},8,["to"]),h("div",l3,[h("div",c3,[h("small",u3,[e[3]||(e[3]=h("i",{class:"bi bi-arrow-down-up me-2"},null,-1)),Be(pe(n.c.DataUsage.Total>0?n.c.DataUsage.Total.toFixed(4):0)+" GB ",1)]),h("small",d3,[e[4]||(e[4]=h("i",{class:"bi bi-arrow-down me-2"},null,-1)),Be(pe(n.c.DataUsage.Receive>0?n.c.DataUsage.Receive.toFixed(4):0)+" GB ",1)]),h("small",h3,[e[5]||(e[5]=h("i",{class:"bi bi-arrow-up me-2"},null,-1)),Be(pe(n.c.DataUsage.Sent>0?n.c.DataUsage.Sent.toFixed(4):0)+" GB ",1)]),h("small",f3,[h("span",{class:Ee(["dot me-2",{active:n.c.ConnectedPeers>0}])},null,2),Be(" "+pe(n.c.ConnectedPeers)+" / "+pe(n.c.TotalPeers)+" ",1),$(a,{t:"Peers"})])]),h("div",g3,[h("small",p3,[h("strong",m3,[$(a,{t:"Public Key"})])]),h("small",_3,[h("samp",v3,pe(n.c.PublicKey),1)]),h("div",y3,[h("label",{class:"form-check-label",style:{cursor:"pointer"},for:"switch"+n.c.PrivateKey},[!n.c.Status&&this.configurationToggling?(P(),Ce(a,{key:0,t:"Turning Off..."})):n.c.Status&&this.configurationToggling?(P(),Ce(a,{key:1,t:"Turning On..."})):n.c.Status&&!this.configurationToggling?(P(),Ce(a,{key:2,t:"On"})):!n.c.Status&&!this.configurationToggling?(P(),Ce(a,{key:3,t:"Off"})):se("",!0),this.configurationToggling?(P(),F("span",w3)):se("",!0)],8,b3),Re(h("input",{class:"form-check-input",style:{cursor:"pointer"},disabled:this.configurationToggling,type:"checkbox",role:"switch",id:"switch"+n.c.PrivateKey,onChange:e[0]||(e[0]=l=>this.toggle()),"onUpdate:modelValue":e[1]||(e[1]=l=>n.c.Status=l)},null,40,x3),[[Gn,n.c.Status]])])])])])}const C3=ze(T_,[["render",E3],["__scopeId","data-v-a85a04a5"]]),S3={name:"configurationList",components:{LocaleText:Le,ConfigurationCard:C3},async setup(){return{wireguardConfigurationsStore:$n()}},data(){return{configurationLoaded:!1}},async mounted(){await this.wireguardConfigurationsStore.getConfigurations(),this.configurationLoaded=!0,this.wireguardConfigurationsStore.ConfigurationListInterval=setInterval(()=>{this.wireguardConfigurationsStore.getConfigurations()},1e4)},beforeUnmount(){clearInterval(this.wireguardConfigurationsStore.ConfigurationListInterval)}},k3={class:"mt-md-5 mt-3"},T3={class:"container-md"},A3={class:"d-flex mb-4 configurationListTitle align-items-center gap-3"},P3={class:"text-body d-flex"},M3={class:"text-muted",key:"noConfiguration"};function I3(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("RouterLink"),l=Se("ConfigurationCard");return P(),F("div",k3,[h("div",T3,[h("div",A3,[h("h2",P3,[h("span",null,[$(o,{t:"WireGuard Configurations"})])]),$(a,{to:"/new_configuration",class:"btn btn-dark btn-brand rounded-3 p-2 shadow ms-auto rounded-3"},{default:Pe(()=>e[0]||(e[0]=[h("h2",{class:"mb-0",style:{"line-height":"0"}},[h("i",{class:"bi bi-plus-circle"})],-1)])),_:1})]),$(vo,{name:"fade",tag:"div",class:"d-flex flex-column gap-3 mb-4"},{default:Pe(()=>[this.configurationLoaded&&this.wireguardConfigurationsStore.Configurations.length===0?(P(),F("p",M3,[$(o,{t:"You don't have any WireGuard configurations yet. Please check the configuration folder or change it in Settings. By default the folder is /etc/wireguard."})])):this.configurationLoaded?(P(!0),F(Ie,{key:1},Ge(this.wireguardConfigurationsStore.Configurations,(c,u)=>(P(),Ce(l,{delay:u*.05+"s",key:c.Name,c},null,8,["delay","c"]))),128)):se("",!0)]),_:1})])])}const D3=ze(S3,[["render",I3],["__scopeId","data-v-b9c1bda1"]]);let Sd;const R3=new Uint8Array(16);function $3(){if(!Sd&&(Sd=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Sd))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Sd(R3)}const Ln=[];for(let t=0;t<256;++t)Ln.push((t+256).toString(16).slice(1));function L3(t,e=0){return Ln[t[e+0]]+Ln[t[e+1]]+Ln[t[e+2]]+Ln[t[e+3]]+"-"+Ln[t[e+4]]+Ln[t[e+5]]+"-"+Ln[t[e+6]]+Ln[t[e+7]]+"-"+Ln[t[e+8]]+Ln[t[e+9]]+"-"+Ln[t[e+10]]+Ln[t[e+11]]+Ln[t[e+12]]+Ln[t[e+13]]+Ln[t[e+14]]+Ln[t[e+15]]}const O3=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),a0={randomUUID:O3};function Bs(t,e,n){if(a0.randomUUID&&!e&&!t)return a0.randomUUID();t=t||{};const i=t.random||(t.rng||$3)();return i[6]=i[6]&15|64,i[8]=i[8]&63|128,L3(i)}const N3={components:{LocaleText:Le},props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const t=Xe(),e=`input_${Bs()}`;return{store:t,uuid:e}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Peers[this.targetData]},methods:{async useValidation(){this.changed&&await dt("/api/updateDashboardConfigurationItem",{section:"Peers",key:this.targetData,value:this.value},t=>{t.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Peers[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message),this.changed=!1,this.updating=!1})}}},F3={class:"form-group mb-2"},B3=["for"],V3=["id","disabled"],W3={class:"invalid-feedback"},z3={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1"};function Y3(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",F3,[h("label",{for:this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,[$(o,{t:this.title},null,8,["t"])])])],8,B3),Re(h("input",{type:"text",class:Ee(["form-control",{"is-invalid":s.showInvalidFeedback,"is-valid":s.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=a=>this.value=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),onBlur:e[2]||(e[2]=a=>r.useValidation()),disabled:this.updating},null,42,V3),[[We,this.value]]),h("div",W3,pe(this.invalidFeedback),1),n.warning?(P(),F("div",z3,[h("small",null,[e[3]||(e[3]=h("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1)),$(o,{t:n.warningText},null,8,["t"])])])):se("",!0)])}const H3=ze(N3,[["render",Y3]]),j3=t=>{},K3={name:"accountSettingsInputUsername",components:{LocaleText:Le},props:{targetData:String,title:String},setup(){const t=Xe(),e=`input_${Bs()}`;return{store:t,uuid:e}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Account[this.targetData]},methods:{async useValidation(t){this.changed&&(this.updating=!0,await dt("/api/updateDashboardConfigurationItem",{section:"Account",key:this.targetData,value:this.value},e=>{e.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=e.message),this.changed=!1,this.updating=!1}))}}},U3={class:"form-group mb-2"},G3=["for"],X3=["id","disabled"],q3={class:"invalid-feedback"};function Z3(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",U3,[h("label",{for:this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,[$(o,{t:this.title},null,8,["t"])])])],8,G3),Re(h("input",{type:"text",class:Ee(["form-control",{"is-invalid":s.showInvalidFeedback,"is-valid":s.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=a=>this.value=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),onBlur:e[2]||(e[2]=a=>r.useValidation()),disabled:this.updating},null,42,X3),[[We,this.value]]),h("div",q3,pe(this.invalidFeedback),1)])}const J3=ze(K3,[["render",Z3]]),Q3={name:"accountSettingsInputPassword",components:{LocaleText:Le},props:{targetData:String,warning:!1,warningText:""},setup(){const t=Xe(),e=`input_${Bs()}`;return{store:t,uuid:e}},data(){return{value:{currentPassword:"",newPassword:"",repeatNewPassword:""},invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0}},methods:{async useValidation(){Object.values(this.value).find(t=>t.length===0)===void 0?this.value.newPassword===this.value.repeatNewPassword?await dt("/api/updateDashboardConfigurationItem",{section:"Account",key:this.targetData,value:this.value},t=>{t.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.isValid=!1,this.value={currentPassword:"",newPassword:"",repeatNewPassword:""}},5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message)}):(this.showInvalidFeedback=!0,this.invalidFeedback="New passwords does not match"):(this.showInvalidFeedback=!0,this.invalidFeedback="Please fill in all required fields.")}},computed:{passwordValid(){return Object.values(this.value).find(t=>t.length===0)===void 0&&this.value.newPassword===this.value.repeatNewPassword}}},eN={class:"d-flex flex-column gap-2"},tN={class:"row g-2"},nN={class:"col-sm"},iN={class:"form-group"},sN=["for"],rN=["id"],oN={key:0,class:"invalid-feedback d-block"},aN={class:"col-sm"},lN={class:"form-group"},cN=["for"],uN=["id"],dN={class:"col-sm"},hN={class:"form-group"},fN=["for"],gN=["id"],pN=["disabled"];function mN(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",eN,[h("div",tN,[h("div",nN,[h("div",iN,[h("label",{for:"currentPassword_"+this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,[$(o,{t:"Current Password"})])])],8,sN),Re(h("input",{type:"password",class:Ee(["form-control",{"is-invalid":s.showInvalidFeedback,"is-valid":s.isValid}]),"onUpdate:modelValue":e[0]||(e[0]=a=>this.value.currentPassword=a),id:"currentPassword_"+this.uuid},null,10,rN),[[We,this.value.currentPassword]]),s.showInvalidFeedback?(P(),F("div",oN,pe(this.invalidFeedback),1)):se("",!0)])]),h("div",aN,[h("div",lN,[h("label",{for:"newPassword_"+this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,[$(o,{t:"New Password"})])])],8,cN),Re(h("input",{type:"password",class:Ee(["form-control",{"is-invalid":s.showInvalidFeedback,"is-valid":s.isValid}]),"onUpdate:modelValue":e[1]||(e[1]=a=>this.value.newPassword=a),id:"newPassword_"+this.uuid},null,10,uN),[[We,this.value.newPassword]])])]),h("div",dN,[h("div",hN,[h("label",{for:"repeatNewPassword_"+this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,[$(o,{t:"Repeat New Password"})])])],8,fN),Re(h("input",{type:"password",class:Ee(["form-control",{"is-invalid":s.showInvalidFeedback,"is-valid":s.isValid}]),"onUpdate:modelValue":e[2]||(e[2]=a=>this.value.repeatNewPassword=a),id:"repeatNewPassword_"+this.uuid},null,10,gN),[[We,this.value.repeatNewPassword]])])])]),h("button",{disabled:!this.passwordValid,class:"ms-auto btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm",onClick:e[3]||(e[3]=a=>this.useValidation())},[e[4]||(e[4]=h("i",{class:"bi bi-save2-fill me-2"},null,-1)),$(o,{t:"Update Password"})],8,pN)])}const _N=ze(Q3,[["render",mN]]),vN={name:"dashboardSettingsInputWireguardConfigurationPath",components:{LocaleText:Le},props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const t=Xe(),e=$n(),n=`input_${Bs()}`;return{store:t,uuid:n,WireguardConfigurationStore:e}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Server[this.targetData]},methods:{async useValidation(){this.changed&&(this.updating=!0,await dt("/api/updateDashboardConfigurationItem",{section:"Server",key:this.targetData,value:this.value},t=>{t.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3),this.WireguardConfigurationStore.getConfigurations(),this.store.newMessage("Server","WireGuard configuration path saved","success")):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message),this.changed=!1,this.updating=!1}))}}},yN={class:"card"},bN={class:"card-header"},wN={class:"my-2"},xN={class:"card-body"},EN={class:"form-group"},CN=["for"],SN={class:"d-flex gap-2 align-items-start"},kN={class:"flex-grow-1"},TN=["id","disabled"],AN={class:"invalid-feedback fw-bold"},PN=["disabled"],MN={key:0,class:"bi bi-save2-fill"},IN={key:1,class:"spinner-border spinner-border-sm"},DN={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1 mb-2"};function RN(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",yN,[h("div",bN,[h("h6",wN,[$(o,{t:"Path"})])]),h("div",xN,[h("div",EN,[h("label",{for:this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,[$(o,{t:this.title},null,8,["t"])])])],8,CN),h("div",SN,[h("div",kN,[Re(h("input",{type:"text",class:Ee(["form-control rounded-3",{"is-invalid":this.showInvalidFeedback,"is-valid":this.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=a=>this.value=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),disabled:this.updating},null,42,TN),[[We,this.value]]),h("div",AN,pe(this.invalidFeedback),1)]),h("button",{onClick:e[2]||(e[2]=a=>this.useValidation()),disabled:!this.changed,class:"ms-auto btn rounded-3 border-success-subtle bg-success-subtle text-success-emphasis"},[this.updating?(P(),F("span",IN)):(P(),F("i",MN))],8,PN)]),n.warning?(P(),F("div",DN,[h("small",null,[e[3]||(e[3]=h("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1)),$(o,{t:n.warningText},null,8,["t"])])])):se("",!0)])])])}const $N=ze(vN,[["render",RN]]),LN={name:"dashboardTheme",components:{LocaleText:Le},setup(){return{dashboardConfigurationStore:Xe()}},methods:{async switchTheme(t){await dt("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_theme",value:t},e=>{e.status&&(this.dashboardConfigurationStore.Configuration.Server.dashboard_theme=t)})}}},ON={class:"text-muted mb-1 d-block"},NN={class:"d-flex gap-1"};function FN(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("small",ON,[h("strong",null,[$(o,{t:"Theme"})])]),h("div",NN,[h("button",{class:Ee(["btn bg-primary-subtle text-primary-emphasis flex-grow-1",{active:this.dashboardConfigurationStore.Configuration.Server.dashboard_theme==="light"}]),onClick:e[0]||(e[0]=a=>this.switchTheme("light"))},[e[2]||(e[2]=h("i",{class:"bi bi-sun-fill me-2"},null,-1)),$(o,{t:"Light"})],2),h("button",{class:Ee(["btn bg-primary-subtle text-primary-emphasis flex-grow-1",{active:this.dashboardConfigurationStore.Configuration.Server.dashboard_theme==="dark"}]),onClick:e[1]||(e[1]=a=>this.switchTheme("dark"))},[e[3]||(e[3]=h("i",{class:"bi bi-moon-fill me-2"},null,-1)),$(o,{t:"Dark"})],2)])])}const BN=ze(LN,[["render",FN]]),VN={name:"dashboardSettingsInputIPAddressAndPort",props:{},setup(){const t=Xe(),e=`input_${Bs()}`;return{store:t,uuid:e}},data(){return{app_ip:"",app_port:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.app_ip=this.store.Configuration.Server.app_ip,this.app_port=this.store.Configuration.Server.app_port},methods:{async useValidation(){this.changed&&await dt("/api/updateDashboardConfigurationItem",{section:"Server",key:this.targetData,value:this.value},t=>{t.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message)})}}},WN={class:"invalid-feedback d-block mt-0"},zN={class:"row"},YN={class:"form-group mb-2 col-sm"},HN=["for"],jN=["id"],KN={class:"form-group col-sm"},UN=["for"],GN=["id"];function XN(t,e,n,i,s,r){return P(),F("div",null,[h("div",WN,pe(this.invalidFeedback),1),h("div",zN,[h("div",YN,[h("label",{for:"app_ip_"+this.uuid,class:"text-muted mb-1"},e[2]||(e[2]=[h("strong",null,[h("small",null,"Dashboard IP Address")],-1)]),8,HN),Re(h("input",{type:"text",class:"form-control mb-2",id:"app_ip_"+this.uuid,"onUpdate:modelValue":e[0]||(e[0]=o=>this.app_ip=o)},null,8,jN),[[We,this.app_ip]]),e[3]||(e[3]=h("div",{class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block"},[h("small",null,[h("i",{class:"bi bi-exclamation-triangle-fill me-2"}),h("code",null,"0.0.0.0"),Be(" means it can be access by anyone with your server IP Address.")])],-1))]),h("div",KN,[h("label",{for:"app_port_"+this.uuid,class:"text-muted mb-1"},e[4]||(e[4]=[h("strong",null,[h("small",null,"Dashboard Port")],-1)]),8,UN),Re(h("input",{type:"text",class:"form-control mb-2",id:"app_port_"+this.uuid,"onUpdate:modelValue":e[1]||(e[1]=o=>this.app_port=o)},null,8,GN),[[We,this.app_port]])])]),e[5]||(e[5]=h("button",{class:"btn btn-success btn-sm fw-bold rounded-3"},[h("i",{class:"bi bi-floppy-fill me-2"}),Be("Update Dashboard Settings & Restart ")],-1))])}const qN=ze(VN,[["render",XN]]);function He(t){const e=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&e==="[object Date]"?new t.constructor(+t):typeof t=="number"||e==="[object Number]"||typeof t=="string"||e==="[object String]"?new Date(t):new Date(NaN)}function yt(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}function rs(t,e){const n=He(t);return isNaN(e)?yt(t,NaN):(e&&n.setDate(n.getDate()+e),n)}function ds(t,e){const n=He(t);if(isNaN(e))return yt(t,NaN);if(!e)return n;const i=n.getDate(),s=yt(t,n.getTime());s.setMonth(n.getMonth()+e+1,0);const r=s.getDate();return i>=r?s:(n.setFullYear(s.getFullYear(),s.getMonth(),i),n)}function BC(t,e){const{years:n=0,months:i=0,weeks:s=0,days:r=0,hours:o=0,minutes:a=0,seconds:l=0}=e,c=He(t),u=i||n?ds(c,i+n*12):c,d=r||s?rs(u,r+s*7):u,f=a+o*60,p=(l+f*60)*1e3;return yt(t,d.getTime()+p)}function ZN(t,e){const n=+He(t);return yt(t,n+e)}const VC=6048e5,JN=864e5,QN=6e4,WC=36e5,eF=1e3;function tF(t,e){return ZN(t,e*WC)}let nF={};function ya(){return nF}function ps(t,e){const n=ya(),i=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,s=He(t),r=s.getDay(),o=(r=s.getTime()?n+1:e.getTime()>=o.getTime()?n:n-1}function l0(t){const e=He(t);return e.setHours(0,0,0,0),e}function Sh(t){const e=He(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function YC(t,e){const n=l0(t),i=l0(e),s=+n-Sh(n),r=+i-Sh(i);return Math.round((s-r)/JN)}function iF(t){const e=zC(t),n=yt(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),Sl(n)}function sF(t,e){const n=e*3;return ds(t,n)}function A_(t,e){return ds(t,e*12)}function c0(t,e){const n=He(t),i=He(e),s=n.getTime()-i.getTime();return s<0?-1:s>0?1:s}function HC(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function Hc(t){if(!HC(t)&&typeof t!="number")return!1;const e=He(t);return!isNaN(Number(e))}function u0(t){const e=He(t);return Math.trunc(e.getMonth()/3)+1}function rF(t,e){const n=He(t),i=He(e);return n.getFullYear()-i.getFullYear()}function oF(t,e){const n=He(t),i=He(e),s=c0(n,i),r=Math.abs(rF(n,i));n.setFullYear(1584),i.setFullYear(1584);const o=c0(n,i)===-s,a=s*(r-+o);return a===0?0:a}function jC(t,e){const n=He(t.start),i=He(t.end);let s=+n>+i;const r=s?+n:+i,o=s?i:n;o.setHours(0,0,0,0);let a=1;const l=[];for(;+o<=r;)l.push(He(o)),o.setDate(o.getDate()+a),o.setHours(0,0,0,0);return s?l.reverse():l}function Xo(t){const e=He(t),n=e.getMonth(),i=n-n%3;return e.setMonth(i,1),e.setHours(0,0,0,0),e}function aF(t,e){const n=He(t.start),i=He(t.end);let s=+n>+i;const r=s?+Xo(n):+Xo(i);let o=Xo(s?i:n),a=1;const l=[];for(;+o<=r;)l.push(He(o)),o=sF(o,a);return s?l.reverse():l}function lF(t){const e=He(t);return e.setDate(1),e.setHours(0,0,0,0),e}function KC(t){const e=He(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function lu(t){const e=He(t),n=yt(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function UC(t,e){const n=ya(),i=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,s=He(t),r=s.getDay(),o=(r{let i;const s=cF[t];return typeof s=="string"?i=s:e===1?i=s.one:i=s.other.replace("{{count}}",e.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function $g(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const dF={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},hF={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},fF={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},gF={date:$g({formats:dF,defaultWidth:"full"}),time:$g({formats:hF,defaultWidth:"full"}),dateTime:$g({formats:fF,defaultWidth:"full"})},pF={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},mF=(t,e,n,i)=>pF[t];function cc(t){return(e,n)=>{const i=n?.context?String(n.context):"standalone";let s;if(i==="formatting"&&t.formattingValues){const o=t.defaultFormattingWidth||t.defaultWidth,a=n?.width?String(n.width):o;s=t.formattingValues[a]||t.formattingValues[o]}else{const o=t.defaultWidth,a=n?.width?String(n.width):t.defaultWidth;s=t.values[a]||t.values[o]}const r=t.argumentCallback?t.argumentCallback(e):e;return s[r]}}const _F={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},vF={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},yF={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},bF={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},wF={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},xF={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},EF=(t,e)=>{const n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},CF={ordinalNumber:EF,era:cc({values:_F,defaultWidth:"wide"}),quarter:cc({values:vF,defaultWidth:"wide",argumentCallback:t=>t-1}),month:cc({values:yF,defaultWidth:"wide"}),day:cc({values:bF,defaultWidth:"wide"}),dayPeriod:cc({values:wF,defaultWidth:"wide",formattingValues:xF,defaultFormattingWidth:"wide"})};function uc(t){return(e,n={})=>{const i=n.width,s=i&&t.matchPatterns[i]||t.matchPatterns[t.defaultMatchWidth],r=e.match(s);if(!r)return null;const o=r[0],a=i&&t.parsePatterns[i]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(a)?kF(a,d=>d.test(o)):SF(a,d=>d.test(o));let c;c=t.valueCallback?t.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const u=e.slice(o.length);return{value:c,rest:u}}}function SF(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function kF(t,e){for(let n=0;n{const i=e.match(t.matchPattern);if(!i)return null;const s=i[0],r=e.match(t.parsePattern);if(!r)return null;let o=t.valueCallback?t.valueCallback(r[0]):r[0];o=n.valueCallback?n.valueCallback(o):o;const a=e.slice(s.length);return{value:o,rest:a}}}const AF=/^(\d+)(th|st|nd|rd)?/i,PF=/\d+/i,MF={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},IF={any:[/^b/i,/^(a|c)/i]},DF={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},RF={any:[/1/i,/2/i,/3/i,/4/i]},$F={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},LF={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},OF={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},NF={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},FF={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},BF={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},VF={ordinalNumber:TF({matchPattern:AF,parsePattern:PF,valueCallback:t=>parseInt(t,10)}),era:uc({matchPatterns:MF,defaultMatchWidth:"wide",parsePatterns:IF,defaultParseWidth:"any"}),quarter:uc({matchPatterns:DF,defaultMatchWidth:"wide",parsePatterns:RF,defaultParseWidth:"any",valueCallback:t=>t+1}),month:uc({matchPatterns:$F,defaultMatchWidth:"wide",parsePatterns:LF,defaultParseWidth:"any"}),day:uc({matchPatterns:OF,defaultMatchWidth:"wide",parsePatterns:NF,defaultParseWidth:"any"}),dayPeriod:uc({matchPatterns:FF,defaultMatchWidth:"any",parsePatterns:BF,defaultParseWidth:"any"})},GC={code:"en-US",formatDistance:uF,formatLong:gF,formatRelative:mF,localize:CF,match:VF,options:{weekStartsOn:0,firstWeekContainsDate:1}};function WF(t){const e=He(t);return YC(e,lu(e))+1}function P_(t){const e=He(t),n=+Sl(e)-+iF(e);return Math.round(n/VC)+1}function M_(t,e){const n=He(t),i=n.getFullYear(),s=ya(),r=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,o=yt(t,0);o.setFullYear(i+1,0,r),o.setHours(0,0,0,0);const a=ps(o,e),l=yt(t,0);l.setFullYear(i,0,r),l.setHours(0,0,0,0);const c=ps(l,e);return n.getTime()>=a.getTime()?i+1:n.getTime()>=c.getTime()?i:i-1}function zF(t,e){const n=ya(),i=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,s=M_(t,e),r=yt(t,0);return r.setFullYear(s,0,i),r.setHours(0,0,0,0),ps(r,e)}function I_(t,e){const n=He(t),i=+ps(n,e)-+zF(n,e);return Math.round(i/VC)+1}function St(t,e){const n=t<0?"-":"",i=Math.abs(t).toString().padStart(e,"0");return n+i}const Pr={y(t,e){const n=t.getFullYear(),i=n>0?n:1-n;return St(e==="yy"?i%100:i,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):St(n+1,2)},d(t,e){return St(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,e){return St(t.getHours()%12||12,e.length)},H(t,e){return St(t.getHours(),e.length)},m(t,e){return St(t.getMinutes(),e.length)},s(t,e){return St(t.getSeconds(),e.length)},S(t,e){const n=e.length,i=t.getMilliseconds(),s=Math.trunc(i*Math.pow(10,n-3));return St(s,e.length)}},$a={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},h0={G:function(t,e,n){const i=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const i=t.getFullYear(),s=i>0?i:1-i;return n.ordinalNumber(s,{unit:"year"})}return Pr.y(t,e)},Y:function(t,e,n,i){const s=M_(t,i),r=s>0?s:1-s;if(e==="YY"){const o=r%100;return St(o,2)}return e==="Yo"?n.ordinalNumber(r,{unit:"year"}):St(r,e.length)},R:function(t,e){const n=zC(t);return St(n,e.length)},u:function(t,e){const n=t.getFullYear();return St(n,e.length)},Q:function(t,e,n){const i=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(i);case"QQ":return St(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,e,n){const i=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(i);case"qq":return St(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,e,n){const i=t.getMonth();switch(e){case"M":case"MM":return Pr.M(t,e);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,e,n){const i=t.getMonth();switch(e){case"L":return String(i+1);case"LL":return St(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,e,n,i){const s=I_(t,i);return e==="wo"?n.ordinalNumber(s,{unit:"week"}):St(s,e.length)},I:function(t,e,n){const i=P_(t);return e==="Io"?n.ordinalNumber(i,{unit:"week"}):St(i,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):Pr.d(t,e)},D:function(t,e,n){const i=WF(t);return e==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):St(i,e.length)},E:function(t,e,n){const i=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,e,n,i){const s=t.getDay(),r=(s-i.weekStartsOn+8)%7||7;switch(e){case"e":return String(r);case"ee":return St(r,2);case"eo":return n.ordinalNumber(r,{unit:"day"});case"eee":return n.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(s,{width:"short",context:"formatting"});case"eeee":default:return n.day(s,{width:"wide",context:"formatting"})}},c:function(t,e,n,i){const s=t.getDay(),r=(s-i.weekStartsOn+8)%7||7;switch(e){case"c":return String(r);case"cc":return St(r,e.length);case"co":return n.ordinalNumber(r,{unit:"day"});case"ccc":return n.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(s,{width:"narrow",context:"standalone"});case"cccccc":return n.day(s,{width:"short",context:"standalone"});case"cccc":default:return n.day(s,{width:"wide",context:"standalone"})}},i:function(t,e,n){const i=t.getDay(),s=i===0?7:i;switch(e){case"i":return String(s);case"ii":return St(s,e.length);case"io":return n.ordinalNumber(s,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,e,n){const s=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(t,e,n){const i=t.getHours();let s;switch(i===12?s=$a.noon:i===0?s=$a.midnight:s=i/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(t,e,n){const i=t.getHours();let s;switch(i>=17?s=$a.evening:i>=12?s=$a.afternoon:i>=4?s=$a.morning:s=$a.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let i=t.getHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return Pr.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):Pr.H(t,e)},K:function(t,e,n){const i=t.getHours()%12;return e==="Ko"?n.ordinalNumber(i,{unit:"hour"}):St(i,e.length)},k:function(t,e,n){let i=t.getHours();return i===0&&(i=24),e==="ko"?n.ordinalNumber(i,{unit:"hour"}):St(i,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):Pr.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):Pr.s(t,e)},S:function(t,e){return Pr.S(t,e)},X:function(t,e,n){const i=t.getTimezoneOffset();if(i===0)return"Z";switch(e){case"X":return g0(i);case"XXXX":case"XX":return Yo(i);case"XXXXX":case"XXX":default:return Yo(i,":")}},x:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"x":return g0(i);case"xxxx":case"xx":return Yo(i);case"xxxxx":case"xxx":default:return Yo(i,":")}},O:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+f0(i,":");case"OOOO":default:return"GMT"+Yo(i,":")}},z:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+f0(i,":");case"zzzz":default:return"GMT"+Yo(i,":")}},t:function(t,e,n){const i=Math.trunc(t.getTime()/1e3);return St(i,e.length)},T:function(t,e,n){const i=t.getTime();return St(i,e.length)}};function f0(t,e=""){const n=t>0?"-":"+",i=Math.abs(t),s=Math.trunc(i/60),r=i%60;return r===0?n+String(s):n+String(s)+e+St(r,2)}function g0(t,e){return t%60===0?(t>0?"-":"+")+St(Math.abs(t)/60,2):Yo(t,e)}function Yo(t,e=""){const n=t>0?"-":"+",i=Math.abs(t),s=St(Math.trunc(i/60),2),r=St(i%60,2);return n+s+e+r}const p0=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},XC=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},YF=(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],i=n[1],s=n[2];if(!s)return p0(t,e);let r;switch(i){case"P":r=e.dateTime({width:"short"});break;case"PP":r=e.dateTime({width:"medium"});break;case"PPP":r=e.dateTime({width:"long"});break;case"PPPP":default:r=e.dateTime({width:"full"});break}return r.replace("{{date}}",p0(i,e)).replace("{{time}}",XC(s,e))},tm={p:XC,P:YF},HF=/^D+$/,jF=/^Y+$/,KF=["D","DD","YY","YYYY"];function qC(t){return HF.test(t)}function ZC(t){return jF.test(t)}function nm(t,e,n){const i=UF(t,e,n);if(console.warn(i),KF.includes(t))throw new RangeError(i)}function UF(t,e,n){const i=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${i} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const GF=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,XF=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,qF=/^'([^]*?)'?$/,ZF=/''/g,JF=/[a-zA-Z]/;function Ls(t,e,n){const i=ya(),s=n?.locale??i.locale??GC,r=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,a=He(t);if(!Hc(a))throw new RangeError("Invalid time value");let l=e.match(XF).map(u=>{const d=u[0];if(d==="p"||d==="P"){const f=tm[d];return f(u,s.formatLong)}return u}).join("").match(GF).map(u=>{if(u==="''")return{isToken:!1,value:"'"};const d=u[0];if(d==="'")return{isToken:!1,value:QF(u)};if(h0[d])return{isToken:!0,value:u};if(d.match(JF))throw new RangeError("Format string contains an unescaped latin alphabet character `"+d+"`");return{isToken:!1,value:u}});s.localize.preprocessor&&(l=s.localize.preprocessor(a,l));const c={firstWeekContainsDate:r,weekStartsOn:o,locale:s};return l.map(u=>{if(!u.isToken)return u.value;const d=u.value;(!n?.useAdditionalWeekYearTokens&&ZC(d)||!n?.useAdditionalDayOfYearTokens&&qC(d))&&nm(d,e,String(t));const f=h0[d[0]];return f(a,d,s.localize,c)}).join("")}function QF(t){const e=t.match(qF);return e?e[1].replace(ZF,"'"):t}function e5(t){return He(t).getDay()}function t5(t){const e=He(t),n=e.getFullYear(),i=e.getMonth(),s=yt(t,0);return s.setFullYear(n,i+1,0),s.setHours(0,0,0,0),s.getDate()}function n5(){return Object.assign({},ya())}function vr(t){return He(t).getHours()}function i5(t){let n=He(t).getDay();return n===0&&(n=7),n}function ao(t){return He(t).getMinutes()}function at(t){return He(t).getMonth()}function kl(t){return He(t).getSeconds()}function Ze(t){return He(t).getFullYear()}function Tl(t,e){const n=He(t),i=He(e);return n.getTime()>i.getTime()}function cu(t,e){const n=He(t),i=He(e);return+n<+i}function tl(t,e){const n=He(t),i=He(e);return+n==+i}function s5(t,e){const n=e instanceof Date?yt(e,0):new e(0);return n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),n}const r5=10;class JC{subPriority=0;validate(e,n){return!0}}class o5 extends JC{constructor(e,n,i,s,r){super(),this.value=e,this.validateValue=n,this.setValue=i,this.priority=s,r&&(this.subPriority=r)}validate(e,n){return this.validateValue(e,this.value,n)}set(e,n,i){return this.setValue(e,n,this.value,i)}}class a5 extends JC{priority=r5;subPriority=-1;set(e,n){return n.timestampIsSet?e:yt(e,s5(e,Date))}}class wt{run(e,n,i,s){const r=this.parse(e,n,i,s);return r?{setter:new o5(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(e,n,i){return!0}}class l5 extends wt{priority=140;parse(e,n,i){switch(n){case"G":case"GG":case"GGG":return i.era(e,{width:"abbreviated"})||i.era(e,{width:"narrow"});case"GGGGG":return i.era(e,{width:"narrow"});case"GGGG":default:return i.era(e,{width:"wide"})||i.era(e,{width:"abbreviated"})||i.era(e,{width:"narrow"})}}set(e,n,i){return n.era=i,e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]}const cn={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Cs={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function un(t,e){return t&&{value:e(t.value),rest:t.rest}}function Zt(t,e){const n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function Ss(t,e){const n=e.match(t);if(!n)return null;if(n[0]==="Z")return{value:0,rest:e.slice(1)};const i=n[1]==="+"?1:-1,s=n[2]?parseInt(n[2],10):0,r=n[3]?parseInt(n[3],10):0,o=n[5]?parseInt(n[5],10):0;return{value:i*(s*WC+r*QN+o*eF),rest:e.slice(n[0].length)}}function QC(t){return Zt(cn.anyDigitsSigned,t)}function on(t,e){switch(t){case 1:return Zt(cn.singleDigit,e);case 2:return Zt(cn.twoDigits,e);case 3:return Zt(cn.threeDigits,e);case 4:return Zt(cn.fourDigits,e);default:return Zt(new RegExp("^\\d{1,"+t+"}"),e)}}function kh(t,e){switch(t){case 1:return Zt(cn.singleDigitSigned,e);case 2:return Zt(cn.twoDigitsSigned,e);case 3:return Zt(cn.threeDigitsSigned,e);case 4:return Zt(cn.fourDigitsSigned,e);default:return Zt(new RegExp("^-?\\d{1,"+t+"}"),e)}}function D_(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function eS(t,e){const n=e>0,i=n?e:1-e;let s;if(i<=50)s=t||100;else{const r=i+50,o=Math.trunc(r/100)*100,a=t>=r%100;s=t+o-(a?100:0)}return n?s:1-s}function tS(t){return t%400===0||t%4===0&&t%100!==0}class c5 extends wt{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,n,i){const s=r=>({year:r,isTwoDigitYear:n==="yy"});switch(n){case"y":return un(on(4,e),s);case"yo":return un(i.ordinalNumber(e,{unit:"year"}),s);default:return un(on(n.length,e),s)}}validate(e,n){return n.isTwoDigitYear||n.year>0}set(e,n,i){const s=e.getFullYear();if(i.isTwoDigitYear){const o=eS(i.year,s);return e.setFullYear(o,0,1),e.setHours(0,0,0,0),e}const r=!("era"in n)||n.era===1?i.year:1-i.year;return e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}}class u5 extends wt{priority=130;parse(e,n,i){const s=r=>({year:r,isTwoDigitYear:n==="YY"});switch(n){case"Y":return un(on(4,e),s);case"Yo":return un(i.ordinalNumber(e,{unit:"year"}),s);default:return un(on(n.length,e),s)}}validate(e,n){return n.isTwoDigitYear||n.year>0}set(e,n,i,s){const r=M_(e,s);if(i.isTwoDigitYear){const a=eS(i.year,r);return e.setFullYear(a,0,s.firstWeekContainsDate),e.setHours(0,0,0,0),ps(e,s)}const o=!("era"in n)||n.era===1?i.year:1-i.year;return e.setFullYear(o,0,s.firstWeekContainsDate),e.setHours(0,0,0,0),ps(e,s)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}class d5 extends wt{priority=130;parse(e,n){return kh(n==="R"?4:n.length,e)}set(e,n,i){const s=yt(e,0);return s.setFullYear(i,0,4),s.setHours(0,0,0,0),Sl(s)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class h5 extends wt{priority=130;parse(e,n){return kh(n==="u"?4:n.length,e)}set(e,n,i){return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}class f5 extends wt{priority=120;parse(e,n,i){switch(n){case"Q":case"QQ":return on(n.length,e);case"Qo":return i.ordinalNumber(e,{unit:"quarter"});case"QQQ":return i.quarter(e,{width:"abbreviated",context:"formatting"})||i.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(e,{width:"wide",context:"formatting"})||i.quarter(e,{width:"abbreviated",context:"formatting"})||i.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=1&&n<=4}set(e,n,i){return e.setMonth((i-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}class g5 extends wt{priority=120;parse(e,n,i){switch(n){case"q":case"qq":return on(n.length,e);case"qo":return i.ordinalNumber(e,{unit:"quarter"});case"qqq":return i.quarter(e,{width:"abbreviated",context:"standalone"})||i.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(e,{width:"wide",context:"standalone"})||i.quarter(e,{width:"abbreviated",context:"standalone"})||i.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,n){return n>=1&&n<=4}set(e,n,i){return e.setMonth((i-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}class p5 extends wt{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,n,i){const s=r=>r-1;switch(n){case"M":return un(Zt(cn.month,e),s);case"MM":return un(on(2,e),s);case"Mo":return un(i.ordinalNumber(e,{unit:"month"}),s);case"MMM":return i.month(e,{width:"abbreviated",context:"formatting"})||i.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(e,{width:"wide",context:"formatting"})||i.month(e,{width:"abbreviated",context:"formatting"})||i.month(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=0&&n<=11}set(e,n,i){return e.setMonth(i,1),e.setHours(0,0,0,0),e}}class m5 extends wt{priority=110;parse(e,n,i){const s=r=>r-1;switch(n){case"L":return un(Zt(cn.month,e),s);case"LL":return un(on(2,e),s);case"Lo":return un(i.ordinalNumber(e,{unit:"month"}),s);case"LLL":return i.month(e,{width:"abbreviated",context:"standalone"})||i.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(e,{width:"wide",context:"standalone"})||i.month(e,{width:"abbreviated",context:"standalone"})||i.month(e,{width:"narrow",context:"standalone"})}}validate(e,n){return n>=0&&n<=11}set(e,n,i){return e.setMonth(i,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}function _5(t,e,n){const i=He(t),s=I_(i,n)-e;return i.setDate(i.getDate()-s*7),i}class v5 extends wt{priority=100;parse(e,n,i){switch(n){case"w":return Zt(cn.week,e);case"wo":return i.ordinalNumber(e,{unit:"week"});default:return on(n.length,e)}}validate(e,n){return n>=1&&n<=53}set(e,n,i,s){return ps(_5(e,i,s),s)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}function y5(t,e){const n=He(t),i=P_(n)-e;return n.setDate(n.getDate()-i*7),n}class b5 extends wt{priority=100;parse(e,n,i){switch(n){case"I":return Zt(cn.week,e);case"Io":return i.ordinalNumber(e,{unit:"week"});default:return on(n.length,e)}}validate(e,n){return n>=1&&n<=53}set(e,n,i){return Sl(y5(e,i))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}const w5=[31,28,31,30,31,30,31,31,30,31,30,31],x5=[31,29,31,30,31,30,31,31,30,31,30,31];class E5 extends wt{priority=90;subPriority=1;parse(e,n,i){switch(n){case"d":return Zt(cn.date,e);case"do":return i.ordinalNumber(e,{unit:"date"});default:return on(n.length,e)}}validate(e,n){const i=e.getFullYear(),s=tS(i),r=e.getMonth();return s?n>=1&&n<=x5[r]:n>=1&&n<=w5[r]}set(e,n,i){return e.setDate(i),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}class C5 extends wt{priority=90;subpriority=1;parse(e,n,i){switch(n){case"D":case"DD":return Zt(cn.dayOfYear,e);case"Do":return i.ordinalNumber(e,{unit:"date"});default:return on(n.length,e)}}validate(e,n){const i=e.getFullYear();return tS(i)?n>=1&&n<=366:n>=1&&n<=365}set(e,n,i){return e.setMonth(0,i),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}function R_(t,e,n){const i=ya(),s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,r=He(t),o=r.getDay(),l=(e%7+7)%7,c=7-s,u=e<0||e>6?e-(o+c)%7:(l+c)%7-(o+c)%7;return rs(r,u)}class S5 extends wt{priority=90;parse(e,n,i){switch(n){case"E":case"EE":case"EEE":return i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=0&&n<=6}set(e,n,i,s){return e=R_(e,i,s),e.setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]}class k5 extends wt{priority=90;parse(e,n,i,s){const r=o=>{const a=Math.floor((o-1)/7)*7;return(o+s.weekStartsOn+6)%7+a};switch(n){case"e":case"ee":return un(on(n.length,e),r);case"eo":return un(i.ordinalNumber(e,{unit:"day"}),r);case"eee":return i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});case"eeeee":return i.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=0&&n<=6}set(e,n,i,s){return e=R_(e,i,s),e.setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}class T5 extends wt{priority=90;parse(e,n,i,s){const r=o=>{const a=Math.floor((o-1)/7)*7;return(o+s.weekStartsOn+6)%7+a};switch(n){case"c":case"cc":return un(on(n.length,e),r);case"co":return un(i.ordinalNumber(e,{unit:"day"}),r);case"ccc":return i.day(e,{width:"abbreviated",context:"standalone"})||i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"});case"ccccc":return i.day(e,{width:"narrow",context:"standalone"});case"cccccc":return i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return i.day(e,{width:"wide",context:"standalone"})||i.day(e,{width:"abbreviated",context:"standalone"})||i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"})}}validate(e,n){return n>=0&&n<=6}set(e,n,i,s){return e=R_(e,i,s),e.setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}function A5(t,e){const n=He(t),i=i5(n),s=e-i;return rs(n,s)}class P5 extends wt{priority=90;parse(e,n,i){const s=r=>r===0?7:r;switch(n){case"i":case"ii":return on(n.length,e);case"io":return i.ordinalNumber(e,{unit:"day"});case"iii":return un(i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),s);case"iiiii":return un(i.day(e,{width:"narrow",context:"formatting"}),s);case"iiiiii":return un(i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),s);case"iiii":default:return un(i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),s)}}validate(e,n){return n>=1&&n<=7}set(e,n,i){return e=A5(e,i),e.setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}class M5 extends wt{priority=80;parse(e,n,i){switch(n){case"a":case"aa":case"aaa":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,n,i){return e.setHours(D_(i),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]}class I5 extends wt{priority=80;parse(e,n,i){switch(n){case"b":case"bb":case"bbb":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,n,i){return e.setHours(D_(i),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]}class D5 extends wt{priority=80;parse(e,n,i){switch(n){case"B":case"BB":case"BBB":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,n,i){return e.setHours(D_(i),0,0,0),e}incompatibleTokens=["a","b","t","T"]}class R5 extends wt{priority=70;parse(e,n,i){switch(n){case"h":return Zt(cn.hour12h,e);case"ho":return i.ordinalNumber(e,{unit:"hour"});default:return on(n.length,e)}}validate(e,n){return n>=1&&n<=12}set(e,n,i){const s=e.getHours()>=12;return s&&i<12?e.setHours(i+12,0,0,0):!s&&i===12?e.setHours(0,0,0,0):e.setHours(i,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]}class $5 extends wt{priority=70;parse(e,n,i){switch(n){case"H":return Zt(cn.hour23h,e);case"Ho":return i.ordinalNumber(e,{unit:"hour"});default:return on(n.length,e)}}validate(e,n){return n>=0&&n<=23}set(e,n,i){return e.setHours(i,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]}class L5 extends wt{priority=70;parse(e,n,i){switch(n){case"K":return Zt(cn.hour11h,e);case"Ko":return i.ordinalNumber(e,{unit:"hour"});default:return on(n.length,e)}}validate(e,n){return n>=0&&n<=11}set(e,n,i){return e.getHours()>=12&&i<12?e.setHours(i+12,0,0,0):e.setHours(i,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]}class O5 extends wt{priority=70;parse(e,n,i){switch(n){case"k":return Zt(cn.hour24h,e);case"ko":return i.ordinalNumber(e,{unit:"hour"});default:return on(n.length,e)}}validate(e,n){return n>=1&&n<=24}set(e,n,i){const s=i<=24?i%24:i;return e.setHours(s,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]}class N5 extends wt{priority=60;parse(e,n,i){switch(n){case"m":return Zt(cn.minute,e);case"mo":return i.ordinalNumber(e,{unit:"minute"});default:return on(n.length,e)}}validate(e,n){return n>=0&&n<=59}set(e,n,i){return e.setMinutes(i,0,0),e}incompatibleTokens=["t","T"]}class F5 extends wt{priority=50;parse(e,n,i){switch(n){case"s":return Zt(cn.second,e);case"so":return i.ordinalNumber(e,{unit:"second"});default:return on(n.length,e)}}validate(e,n){return n>=0&&n<=59}set(e,n,i){return e.setSeconds(i,0),e}incompatibleTokens=["t","T"]}class B5 extends wt{priority=30;parse(e,n){const i=s=>Math.trunc(s*Math.pow(10,-n.length+3));return un(on(n.length,e),i)}set(e,n,i){return e.setMilliseconds(i),e}incompatibleTokens=["t","T"]}class V5 extends wt{priority=10;parse(e,n){switch(n){case"X":return Ss(Cs.basicOptionalMinutes,e);case"XX":return Ss(Cs.basic,e);case"XXXX":return Ss(Cs.basicOptionalSeconds,e);case"XXXXX":return Ss(Cs.extendedOptionalSeconds,e);case"XXX":default:return Ss(Cs.extended,e)}}set(e,n,i){return n.timestampIsSet?e:yt(e,e.getTime()-Sh(e)-i)}incompatibleTokens=["t","T","x"]}class W5 extends wt{priority=10;parse(e,n){switch(n){case"x":return Ss(Cs.basicOptionalMinutes,e);case"xx":return Ss(Cs.basic,e);case"xxxx":return Ss(Cs.basicOptionalSeconds,e);case"xxxxx":return Ss(Cs.extendedOptionalSeconds,e);case"xxx":default:return Ss(Cs.extended,e)}}set(e,n,i){return n.timestampIsSet?e:yt(e,e.getTime()-Sh(e)-i)}incompatibleTokens=["t","T","X"]}class z5 extends wt{priority=40;parse(e){return QC(e)}set(e,n,i){return[yt(e,i*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}class Y5 extends wt{priority=20;parse(e){return QC(e)}set(e,n,i){return[yt(e,i),{timestampIsSet:!0}]}incompatibleTokens="*"}const H5={G:new l5,y:new c5,Y:new u5,R:new d5,u:new h5,Q:new f5,q:new g5,M:new p5,L:new m5,w:new v5,I:new b5,d:new E5,D:new C5,E:new S5,e:new k5,c:new T5,i:new P5,a:new M5,b:new I5,B:new D5,h:new R5,H:new $5,K:new L5,k:new O5,m:new N5,s:new F5,S:new B5,X:new V5,x:new W5,t:new z5,T:new Y5},j5=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,K5=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,U5=/^'([^]*?)'?$/,G5=/''/g,X5=/\S/,q5=/[a-zA-Z]/;function im(t,e,n,i){const s=n5(),r=i?.locale??s.locale??GC,o=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,a=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??s.weekStartsOn??s.locale?.options?.weekStartsOn??0;if(e==="")return t===""?He(n):yt(n,NaN);const l={firstWeekContainsDate:o,weekStartsOn:a,locale:r},c=[new a5],u=e.match(K5).map(m=>{const v=m[0];if(v in tm){const y=tm[v];return y(m,r.formatLong)}return m}).join("").match(j5),d=[];for(let m of u){!i?.useAdditionalWeekYearTokens&&ZC(m)&&nm(m,e,t),!i?.useAdditionalDayOfYearTokens&&qC(m)&&nm(m,e,t);const v=m[0],y=H5[v];if(y){const{incompatibleTokens:x}=y;if(Array.isArray(x)){const w=d.find(b=>x.includes(b.token)||b.token===v);if(w)throw new RangeError(`The format string mustn't contain \`${w.fullToken}\` and \`${m}\` at the same time`)}else if(y.incompatibleTokens==="*"&&d.length>0)throw new RangeError(`The format string mustn't contain \`${m}\` and any other token at the same time`);d.push({token:v,fullToken:m});const E=y.run(t,m,r.match,l);if(!E)return yt(n,NaN);c.push(E.setter),t=E.rest}else{if(v.match(q5))throw new RangeError("Format string contains an unescaped latin alphabet character `"+v+"`");if(m==="''"?m="'":v==="'"&&(m=Z5(m)),t.indexOf(m)===0)t=t.slice(m.length);else return yt(n,NaN)}}if(t.length>0&&X5.test(t))return yt(n,NaN);const f=c.map(m=>m.priority).sort((m,v)=>v-m).filter((m,v,y)=>y.indexOf(m)===v).map(m=>c.filter(v=>v.priority===m).sort((v,y)=>y.subPriority-v.subPriority)).map(m=>m[0]);let g=He(n);if(isNaN(g.getTime()))return yt(n,NaN);const p={};for(const m of f){if(!m.validate(g,l))return yt(n,NaN);const v=m.set(g,p,l);Array.isArray(v)?(g=v[0],Object.assign(p,v[1])):g=v}return yt(n,g)}function Z5(t){return t.match(U5)[1].replace(G5,"'")}function m0(t,e){const n=Xo(t),i=Xo(e);return+n==+i}function J5(t,e){return rs(t,-e)}function nS(t,e){const n=He(t),i=n.getFullYear(),s=n.getDate(),r=yt(t,0);r.setFullYear(i,e,15),r.setHours(0,0,0,0);const o=t5(r);return n.setMonth(e,Math.min(s,o)),n}function Dt(t,e){let n=He(t);return isNaN(+n)?yt(t,NaN):(e.year!=null&&n.setFullYear(e.year),e.month!=null&&(n=nS(n,e.month)),e.date!=null&&n.setDate(e.date),e.hours!=null&&n.setHours(e.hours),e.minutes!=null&&n.setMinutes(e.minutes),e.seconds!=null&&n.setSeconds(e.seconds),e.milliseconds!=null&&n.setMilliseconds(e.milliseconds),n)}function Q5(t,e){const n=He(t);return n.setHours(e),n}function iS(t,e){const n=He(t);return n.setMilliseconds(e),n}function e4(t,e){const n=He(t);return n.setMinutes(e),n}function sS(t,e){const n=He(t);return n.setSeconds(e),n}function As(t,e){const n=He(t);return isNaN(+n)?yt(t,NaN):(n.setFullYear(e),n)}function Al(t,e){return ds(t,-e)}function t4(t,e){const{years:n=0,months:i=0,weeks:s=0,days:r=0,hours:o=0,minutes:a=0,seconds:l=0}=e,c=Al(t,i+n*12),u=J5(c,r+s*7),d=a+o*60,g=(l+d*60)*1e3;return yt(t,u.getTime()-g)}function rS(t,e){return A_(t,-e)}function Gl(){const t=ND();return P(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...t},[h("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),h("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),h("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),h("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}Gl.compatConfig={MODE:3};function oS(){return P(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),h("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}oS.compatConfig={MODE:3};function $_(){return P(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}$_.compatConfig={MODE:3};function L_(){return P(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}L_.compatConfig={MODE:3};function O_(){return P(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),h("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}O_.compatConfig={MODE:3};function N_(){return P(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}N_.compatConfig={MODE:3};function F_(){return P(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}F_.compatConfig={MODE:3};const xi=(t,e)=>e?new Date(t.toLocaleString("en-US",{timeZone:e})):new Date(t),B_=(t,e,n)=>sm(t,e,n)||ke(),n4=(t,e,n)=>{const i=e.dateInTz?xi(new Date(t),e.dateInTz):ke(t);return n?ai(i,!0):i},sm=(t,e,n)=>{if(!t)return null;const i=n?ai(ke(t),!0):ke(t);return e?e.exactMatch?n4(t,e,n):xi(i,e.timezone):i},i4=t=>{if(!t)return 0;const e=new Date,n=new Date(e.toLocaleString("en-US",{timeZone:"UTC"})),i=new Date(e.toLocaleString("en-US",{timeZone:t})),s=i.getTimezoneOffset()/60;return(+n-+i)/(1e3*60*60)-s};var ts=(t=>(t.month="month",t.year="year",t))(ts||{}),Ho=(t=>(t.top="top",t.bottom="bottom",t))(Ho||{}),ia=(t=>(t.header="header",t.calendar="calendar",t.timePicker="timePicker",t))(ia||{}),jn=(t=>(t.month="month",t.year="year",t.calendar="calendar",t.time="time",t.minutes="minutes",t.hours="hours",t.seconds="seconds",t))(jn||{});const s4=["timestamp","date","iso"];var Qn=(t=>(t.up="up",t.down="down",t.left="left",t.right="right",t))(Qn||{}),Nt=(t=>(t.arrowUp="ArrowUp",t.arrowDown="ArrowDown",t.arrowLeft="ArrowLeft",t.arrowRight="ArrowRight",t.enter="Enter",t.space=" ",t.esc="Escape",t.tab="Tab",t.home="Home",t.end="End",t.pageUp="PageUp",t.pageDown="PageDown",t))(Nt||{});function _0(t){return e=>new Intl.DateTimeFormat(t,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${e}T00:00:00+00:00`)).slice(0,2)}function r4(t){return e=>Ls(xi(new Date(`2017-01-0${e}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:t})}const o4=(t,e,n)=>{const i=[1,2,3,4,5,6,7];let s;if(t!==null)try{s=i.map(r4(t))}catch{s=i.map(_0(e))}else s=i.map(_0(e));const r=s.slice(0,n),o=s.slice(n+1,s.length);return[s[n]].concat(...o).concat(...r)},V_=(t,e,n)=>{const i=[];for(let s=+t[0];s<=+t[1];s++)i.push({value:+s,text:uS(s,e)});return n?i.reverse():i},aS=(t,e,n)=>{const i=[1,2,3,4,5,6,7,8,9,10,11,12].map(r=>{const o=r<10?`0${r}`:r;return new Date(`2017-${o}-01T00:00:00+00:00`)});if(t!==null)try{const r=n==="long"?"LLLL":"LLL";return i.map((o,a)=>{const l=Ls(xi(o,"UTC"),r,{locale:t});return{text:l.charAt(0).toUpperCase()+l.substring(1),value:a}})}catch{}const s=new Intl.DateTimeFormat(e,{month:n,timeZone:"UTC"});return i.map((r,o)=>{const a=s.format(r);return{text:a.charAt(0).toUpperCase()+a.substring(1),value:o}})},a4=t=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][t],bn=t=>{const e=Z(t);return e!=null&&e.$el?e?.$el:e},l4=t=>({type:"dot",...t??{}}),lS=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,W_={prop:t=>`"${t}" prop must be enabled!`,dateArr:t=>`You need to use array as "model-value" binding in order to support "${t}"`},Tn=t=>t,v0=t=>t===0?t:!t||isNaN(+t)?null:+t,y0=t=>t===null,cS=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},c4=t=>{const e=[],n=i=>i.filter(s=>s);for(let i=0;i{const i=n!=null,s=e!=null;if(!i&&!s)return!1;const r=+n,o=+e;return i&&s?+t>r||+tr:s?+tc4(t).map(n=>n.map(i=>{const{active:s,disabled:r,isBetween:o,highlighted:a}=e(i);return{...i,active:s,disabled:r,className:{dp__overlay_cell_active:s,dp__overlay_cell:!s,dp__overlay_cell_disabled:r,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:r&&s,dp__cell_in_between:o,"dp--highlighted":a}}})),eo=(t,e,n=!1)=>{t&&e.allowStopPropagation&&(n&&t.stopImmediatePropagation(),t.stopPropagation())},u4=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function d4(t,e){let n=[...document.querySelectorAll(u4())];n=n.filter(s=>!t.contains(s)||s.hasAttribute("data-datepicker-instance"));const i=n.indexOf(t);if(i>=0&&(e?i-1>=0:i+1<=n.length))return n[i+(e?-1:1)]}const rm=(t,e)=>t?.querySelector(`[data-dp-element="${e}"]`),uS=(t,e)=>new Intl.NumberFormat(e,{useGrouping:!1,style:"decimal"}).format(t),z_=t=>Ls(t,"dd-MM-yyyy"),Lg=t=>Array.isArray(t),Th=(t,e)=>e.get(z_(t)),h4=(t,e)=>t?e?e instanceof Map?!!Th(t,e):e(ke(t)):!1:!0,si=(t,e,n=!1,i)=>{if(t.key===Nt.enter||t.key===Nt.space)return n&&t.preventDefault(),e();if(i)return i(t)},b0=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(t=>navigator.userAgent.includes(t))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,w0=(t,e,n,i,s,r)=>{const o=im(t,e.slice(0,t.length),new Date,{locale:r});return Hc(o)&&HC(o)?i||s?o:Dt(o,{hours:+n.hours,minutes:+n?.minutes,seconds:+n?.seconds,milliseconds:0}):null},f4=(t,e,n,i,s,r)=>{const o=Array.isArray(n)?n[0]:n;if(typeof e=="string")return w0(t,e,o,i,s,r);if(Array.isArray(e)){let a=null;for(const l of e)if(a=w0(t,l,o,i,s,r),a)break;return a}return typeof e=="function"?e(t):null},ke=t=>t?new Date(t):new Date,g4=(t,e,n)=>{if(e){const s=(t.getMonth()+1).toString().padStart(2,"0"),r=t.getDate().toString().padStart(2,"0"),o=t.getHours().toString().padStart(2,"0"),a=t.getMinutes().toString().padStart(2,"0"),l=n?t.getSeconds().toString().padStart(2,"0"):"00";return`${t.getFullYear()}-${s}-${r}T${o}:${a}:${l}.000Z`}const i=Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds());return new Date(i).toISOString()},ai=(t,e)=>{const n=ke(JSON.parse(JSON.stringify(t))),i=Dt(n,{hours:0,minutes:0,seconds:0,milliseconds:0});return e?lF(i):i},to=(t,e,n,i)=>{let s=t?ke(t):ke();return(e||e===0)&&(s=Q5(s,+e)),(n||n===0)&&(s=e4(s,+n)),(i||i===0)&&(s=sS(s,+i)),iS(s,0)},tn=(t,e)=>!t||!e?!1:cu(ai(t),ai(e)),ct=(t,e)=>!t||!e?!1:tl(ai(t),ai(e)),ln=(t,e)=>!t||!e?!1:Tl(ai(t),ai(e)),Ef=(t,e,n)=>t!=null&&t[0]&&t!=null&&t[1]?ln(n,t[0])&&tn(n,t[1]):t!=null&&t[0]&&e?ln(n,t[0])&&tn(n,e)||tn(n,t[0])&&ln(n,e):!1,os=t=>{const e=Dt(new Date(t),{date:1});return ai(e)},Og=(t,e,n)=>e&&(n||n===0)?Object.fromEntries(["hours","minutes","seconds"].map(i=>i===e?[i,n]:[i,isNaN(+t[i])?void 0:+t[i]])):{hours:isNaN(+t.hours)?void 0:+t.hours,minutes:isNaN(+t.minutes)?void 0:+t.minutes,seconds:isNaN(+t.seconds)?void 0:+t.seconds},sa=t=>({hours:vr(t),minutes:ao(t),seconds:kl(t)}),dS=(t,e)=>{if(e){const n=Ze(ke(e));if(n>t)return 12;if(n===t)return at(ke(e))}},hS=(t,e)=>{if(e){const n=Ze(ke(e));return n{if(t)return Ze(ke(t))},fS=(t,e)=>{const n=ln(t,e)?e:t,i=ln(e,t)?e:t;return jC({start:n,end:i})},p4=t=>{const e=ds(t,1);return{month:at(e),year:Ze(e)}},nr=(t,e)=>{const n=ps(t,{weekStartsOn:+e}),i=UC(t,{weekStartsOn:+e});return[n,i]},gS=(t,e)=>{const n={hours:vr(ke()),minutes:ao(ke()),seconds:e?kl(ke()):0};return Object.assign(n,t)},Kr=(t,e,n)=>[Dt(ke(t),{date:1}),Dt(ke(),{month:e,year:n,date:1})],ar=(t,e,n)=>{let i=t?ke(t):ke();return(e||e===0)&&(i=nS(i,e)),n&&(i=As(i,n)),i},pS=(t,e,n,i,s)=>{if(!i||s&&!e||!s&&!n)return!1;const r=s?ds(t,1):Al(t,1),o=[at(r),Ze(r)];return s?!_4(...o,e):!m4(...o,n)},m4=(t,e,n)=>tn(...Kr(n,t,e))||ct(...Kr(n,t,e)),_4=(t,e,n)=>ln(...Kr(n,t,e))||ct(...Kr(n,t,e)),mS=(t,e,n,i,s,r,o)=>{if(typeof e=="function"&&!o)return e(t);const a=n?{locale:n}:void 0;return Array.isArray(t)?`${Ls(t[0],r,a)}${s&&!t[1]?"":i}${t[1]?Ls(t[1],r,a):""}`:Ls(t,r,a)},La=t=>{if(t)return null;throw new Error(W_.prop("partial-range"))},kd=(t,e)=>{if(e)return t();throw new Error(W_.prop("range"))},om=t=>Array.isArray(t)?Hc(t[0])&&(t[1]?Hc(t[1]):!0):t?Hc(t):!1,v4=(t,e)=>Dt(e??ke(),{hours:+t.hours||0,minutes:+t.minutes||0,seconds:+t.seconds||0}),Ng=(t,e,n,i)=>{if(!t)return!0;if(i){const s=n==="max"?cu(t,e):Tl(t,e),r={seconds:0,milliseconds:0};return s||tl(Dt(t,r),Dt(e,r))}return n==="max"?t.getTime()<=e.getTime():t.getTime()>=e.getTime()},Fg=(t,e,n)=>t?v4(t,e):ke(n??e),x0=(t,e,n,i,s)=>{if(Array.isArray(i)){const o=Fg(t,i[0],e),a=Fg(t,i[1],e);return Ng(i[0],o,n,!!e)&&Ng(i[1],a,n,!!e)&&s}const r=Fg(t,i,e);return Ng(i,r,n,!!e)&&s},Bg=t=>Dt(ke(),sa(t)),y4=(t,e)=>t instanceof Map?Array.from(t.values()).filter(n=>Ze(ke(n))===e).map(n=>at(n)):[],_S=(t,e,n)=>typeof t=="function"?t({month:e,year:n}):!!t.months.find(i=>i.month===e&&i.year===n),Y_=(t,e)=>typeof t=="function"?t(e):t.years.includes(e),vS=t=>Ls(t,"yyyy-MM-dd"),dc=Ei({menuFocused:!1,shiftKeyInMenu:!1}),yS=()=>{const t=n=>{dc.menuFocused=n},e=n=>{dc.shiftKeyInMenu!==n&&(dc.shiftKeyInMenu=n)};return{control:ve(()=>({shiftKeyInMenu:dc.shiftKeyInMenu,menuFocused:dc.menuFocused})),setMenuFocused:t,setShiftKey:e}},Ot=Ei({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),Vg=me(null),Td=me(!1),Wg=me(!1),zg=me(!1),Yg=me(!1),Wn=me(0),an=me(0),yo=()=>{const t=ve(()=>Td.value?[...Ot.selectionGrid,Ot.actionRow].filter(d=>d.length):Wg.value?[...Ot.timePicker[0],...Ot.timePicker[1],Yg.value?[]:[Vg.value],Ot.actionRow].filter(d=>d.length):zg.value?[...Ot.monthPicker,Ot.actionRow]:[Ot.monthYear,...Ot.calendar,Ot.time,Ot.actionRow].filter(d=>d.length)),e=d=>{Wn.value=d?Wn.value+1:Wn.value-1;let f=null;t.value[an.value]&&(f=t.value[an.value][Wn.value]),!f&&t.value[an.value+(d?1:-1)]?(an.value=an.value+(d?1:-1),Wn.value=d?0:t.value[an.value].length-1):f||(Wn.value=d?Wn.value-1:Wn.value+1)},n=d=>{an.value===0&&!d||an.value===t.value.length&&d||(an.value=d?an.value+1:an.value-1,t.value[an.value]?t.value[an.value]&&!t.value[an.value][Wn.value]&&Wn.value!==0&&(Wn.value=t.value[an.value].length-1):an.value=d?an.value-1:an.value+1)},i=d=>{let f=null;t.value[an.value]&&(f=t.value[an.value][Wn.value]),f?f.focus({preventScroll:!Td.value}):Wn.value=d?Wn.value-1:Wn.value+1},s=()=>{e(!0),i(!0)},r=()=>{e(!1),i(!1)},o=()=>{n(!1),i(!0)},a=()=>{n(!0),i(!0)},l=(d,f)=>{Ot[f]=d},c=(d,f)=>{Ot[f]=d},u=()=>{Wn.value=0,an.value=0};return{buildMatrix:l,buildMultiLevelMatrix:c,setTimePickerBackRef:d=>{Vg.value=d},setSelectionGrid:d=>{Td.value=d,u(),d||(Ot.selectionGrid=[])},setTimePicker:(d,f=!1)=>{Wg.value=d,Yg.value=f,u(),d||(Ot.timePicker[0]=[],Ot.timePicker[1]=[])},setTimePickerElements:(d,f=0)=>{Ot.timePicker[f]=d},arrowRight:s,arrowLeft:r,arrowUp:o,arrowDown:a,clearArrowNav:()=>{Ot.monthYear=[],Ot.calendar=[],Ot.time=[],Ot.actionRow=[],Ot.selectionGrid=[],Ot.timePicker[0]=[],Ot.timePicker[1]=[],Td.value=!1,Wg.value=!1,Yg.value=!1,zg.value=!1,u(),Vg.value=null},setMonthPicker:d=>{zg.value=d,u()},refSets:Ot}},E0=t=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...t??{}}),b4=t=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:e=>`Increment ${e}`,decrementValue:e=>`Decrement ${e}`,openTpOverlay:e=>`Open ${e} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,clearInput:"Clear value",calendarIcon:"Calendar icon",timePicker:"Time picker",monthPicker:e=>`Month picker${e?" overlay":""}`,yearPicker:e=>`Year picker${e?" overlay":""}`,timeOverlay:e=>`${e} overlay`,...t??{}}),C0=t=>t?typeof t=="boolean"?t?2:0:+t>=2?+t:2:0,w4=t=>{const e=typeof t=="object"&&t,n={static:!0,solo:!1};if(!t)return{...n,count:C0(!1)};const i=e?t:{},s=e?i.count??!0:t,r=C0(s);return Object.assign(n,i,{count:r})},x4=(t,e,n)=>t||(typeof n=="string"?n:e),E4=t=>typeof t=="boolean"?t?E0({}):!1:E0(t),C4=t=>{const e={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - "};return typeof t=="object"?{...e,...t??{},enabled:!0}:{...e,enabled:t}},S4=t=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...t??{}}),k4=t=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...t??{}}),T4=t=>{const e={input:!1};return typeof t=="object"?{...e,...t??{},enabled:!0}:{enabled:t,...e}},A4=t=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,arrowLeft:void 0,keepViewOnOffsetClick:!1,timeArrowHoldThreshold:0,shadowDom:!1,...t??{}}),P4=t=>{const e={dates:Array.isArray(t)?t.map(n=>ke(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof t=="function"?t:{...e,...t??{}}},M4=t=>typeof t=="object"?{type:t?.type??"local",hideOnOffsetDates:t?.hideOnOffsetDates??!1}:{type:t,hideOnOffsetDates:!1},I4=t=>{const e={noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1};return typeof t=="object"?{enabled:!0,...e,...t}:{enabled:t,...e}},D4=t=>t?typeof t=="string"?{timezone:t,exactMatch:!1,dateInTz:void 0,emitTimezone:void 0,convertModel:!0}:{timezone:t.timezone,exactMatch:t.exactMatch??!1,dateInTz:t.dateInTz??void 0,emitTimezone:t.emitTimezone??void 0,convertModel:t.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:void 0},Hg=(t,e,n)=>new Map(t.map(i=>{const s=B_(i,e,n);return[z_(s),s]})),R4=(t,e)=>t.length?new Map(t.map(n=>{const i=B_(n.date,e);return[z_(i),n]})):null,$4=t=>{var e;return{minDate:sm(t.minDate,t.timezone,t.isSpecific),maxDate:sm(t.maxDate,t.timezone,t.isSpecific),disabledDates:Lg(t.disabledDates)?Hg(t.disabledDates,t.timezone,t.isSpecific):t.disabledDates,allowedDates:Lg(t.allowedDates)?Hg(t.allowedDates,t.timezone,t.isSpecific):null,highlight:typeof t.highlight=="object"&&Lg((e=t.highlight)==null?void 0:e.dates)?Hg(t.highlight.dates,t.timezone):t.highlight,markers:R4(t.markers,t.timezone)}},L4=t=>typeof t=="boolean"?{enabled:t,dragSelect:!0,limit:null}:{enabled:!!t,limit:t.limit?+t.limit:null,dragSelect:t.dragSelect??!0},O4=t=>({...Object.fromEntries(Object.keys(t).map(e=>{const n=e,i=t[n],s=typeof t[n]=="string"?{[i]:!0}:Object.fromEntries(i.map(r=>[r,!0]));return[e,s]}))}),Ut=t=>{const e=()=>{const C=t.enableSeconds?":ss":"",k=t.enableMinutes?":mm":"";return t.is24?`HH${k}${C}`:`hh${k}${C} aa`},n=()=>{var C;return t.format?t.format:t.monthPicker?"MM/yyyy":t.timePicker?e():t.weekPicker?`${((C=v.value)==null?void 0:C.type)==="iso"?"RR":"ww"}-yyyy`:t.yearPicker?"yyyy":t.quarterPicker?"QQQ/yyyy":t.enableTimePicker?`MM/dd/yyyy, ${e()}`:"MM/dd/yyyy"},i=C=>gS(C,t.enableSeconds),s=()=>w.value.enabled?t.startTime&&Array.isArray(t.startTime)?[i(t.startTime[0]),i(t.startTime[1])]:null:t.startTime&&!Array.isArray(t.startTime)?i(t.startTime):null,r=ve(()=>w4(t.multiCalendars)),o=ve(()=>s()),a=ve(()=>b4(t.ariaLabels)),l=ve(()=>S4(t.filters)),c=ve(()=>E4(t.transitions)),u=ve(()=>k4(t.actionRow)),d=ve(()=>x4(t.previewFormat,t.format,n())),f=ve(()=>C4(t.textInput)),g=ve(()=>T4(t.inline)),p=ve(()=>A4(t.config)),m=ve(()=>P4(t.highlight)),v=ve(()=>M4(t.weekNumbers)),y=ve(()=>D4(t.timezone)),x=ve(()=>L4(t.multiDates)),E=ve(()=>$4({minDate:t.minDate,maxDate:t.maxDate,disabledDates:t.disabledDates,allowedDates:t.allowedDates,highlight:m.value,markers:t.markers,timezone:y.value,isSpecific:t.monthPicker||t.yearPicker||t.quarterPicker})),w=ve(()=>I4(t.range)),b=ve(()=>O4(t.ui));return{defaultedTransitions:c,defaultedMultiCalendars:r,defaultedStartTime:o,defaultedAriaLabels:a,defaultedFilters:l,defaultedActionRow:u,defaultedPreviewFormat:d,defaultedTextInput:f,defaultedInline:g,defaultedConfig:p,defaultedHighlight:m,defaultedWeekNumbers:v,defaultedRange:w,propDates:E,defaultedTz:y,defaultedMultiDates:x,defaultedUI:b,getDefaultPattern:n,getDefaultStartTime:s}},N4=(t,e,n)=>{const i=me(),{defaultedTextInput:s,defaultedRange:r,defaultedTz:o,defaultedMultiDates:a,getDefaultPattern:l}=Ut(e),c=me(""),u=tu(e,"format"),d=tu(e,"formatLocale");jt(i,()=>{typeof e.onInternalModelChange=="function"&&t("internal-model-change",i.value,ue(!0))},{deep:!0}),jt(r,(L,le)=>{L.enabled!==le.enabled&&(i.value=null)}),jt(u,()=>{X()});const f=L=>o.value.timezone&&o.value.convertModel?xi(L,o.value.timezone):L,g=L=>{if(o.value.timezone&&o.value.convertModel){const le=i4(o.value.timezone);return tF(L,le)}return L},p=(L,le,de=!1)=>mS(L,e.format,e.formatLocale,s.value.rangeSeparator,e.modelAuto,le??l(),de),m=L=>L?e.modelType?H(L):{hours:vr(L),minutes:ao(L),seconds:e.enableSeconds?kl(L):0}:null,v=L=>e.modelType?H(L):{month:at(L),year:Ze(L)},y=L=>Array.isArray(L)?a.value.enabled?L.map(le=>x(le,As(ke(),le))):kd(()=>[As(ke(),L[0]),L[1]?As(ke(),L[1]):La(r.value.partialRange)],r.value.enabled):As(ke(),+L),x=(L,le)=>(typeof L=="string"||typeof L=="number")&&e.modelType?J(L):le,E=L=>Array.isArray(L)?[x(L[0],to(null,+L[0].hours,+L[0].minutes,L[0].seconds)),x(L[1],to(null,+L[1].hours,+L[1].minutes,L[1].seconds))]:x(L,to(null,L.hours,L.minutes,L.seconds)),w=L=>{const le=Dt(ke(),{date:1});return Array.isArray(L)?a.value.enabled?L.map(de=>x(de,ar(le,+de.month,+de.year))):kd(()=>[x(L[0],ar(le,+L[0].month,+L[0].year)),x(L[1],L[1]?ar(le,+L[1].month,+L[1].year):La(r.value.partialRange))],r.value.enabled):x(L,ar(le,+L.month,+L.year))},b=L=>{if(Array.isArray(L))return L.map(le=>J(le));throw new Error(W_.dateArr("multi-dates"))},C=L=>{if(Array.isArray(L)&&r.value.enabled){const le=L[0],de=L[1];return[ke(Array.isArray(le)?le[0]:null),Array.isArray(de)&&de.length?ke(de[0]):null]}return ke(L[0])},k=L=>e.modelAuto?Array.isArray(L)?[J(L[0]),J(L[1])]:e.autoApply?[J(L)]:[J(L),null]:Array.isArray(L)?kd(()=>L[1]?[J(L[0]),L[1]?J(L[1]):La(r.value.partialRange)]:[J(L[0])],r.value.enabled):J(L),T=()=>{Array.isArray(i.value)&&r.value.enabled&&i.value.length===1&&i.value.push(La(r.value.partialRange))},A=()=>{const L=i.value;return[H(L[0]),L[1]?H(L[1]):La(r.value.partialRange)]},I=()=>i.value[1]?A():H(Tn(i.value[0])),V=()=>(i.value||[]).map(L=>H(L)),Y=(L=!1)=>(L||T(),e.modelAuto?I():a.value.enabled?V():Array.isArray(i.value)?kd(()=>A(),r.value.enabled):H(Tn(i.value))),ne=L=>!L||Array.isArray(L)&&!L.length?null:e.timePicker?E(Tn(L)):e.monthPicker?w(Tn(L)):e.yearPicker?y(Tn(L)):a.value.enabled?b(Tn(L)):e.weekPicker?C(Tn(L)):k(Tn(L)),N=L=>{const le=ne(L);om(Tn(le))?(i.value=Tn(le),X()):(i.value=null,c.value="")},B=()=>{const L=le=>Ls(le,s.value.format);return`${L(i.value[0])} ${s.value.rangeSeparator} ${i.value[1]?L(i.value[1]):""}`},R=()=>n.value&&i.value?Array.isArray(i.value)?B():Ls(i.value,s.value.format):p(i.value),W=()=>i.value?a.value.enabled?i.value.map(L=>p(L)).join("; "):s.value.enabled&&typeof s.value.format=="string"?R():p(i.value):"",X=()=>{!e.format||typeof e.format=="string"||s.value.enabled&&typeof s.value.format=="string"?c.value=W():c.value=e.format(i.value)},J=L=>{if(e.utc){const le=new Date(L);return e.utc==="preserve"?new Date(le.getTime()+le.getTimezoneOffset()*6e4):le}return e.modelType?s4.includes(e.modelType)?f(new Date(L)):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?f(im(L,l(),new Date,{locale:d.value})):f(im(L,e.modelType,new Date,{locale:d.value})):f(new Date(L))},H=L=>L?e.utc?g4(L,e.utc==="preserve",e.enableSeconds):e.modelType?e.modelType==="timestamp"?+g(L):e.modelType==="iso"?g(L).toISOString():e.modelType==="format"&&(typeof e.format=="string"||!e.format)?p(g(L)):p(g(L),e.modelType,!0):g(L):"",ce=(L,le=!1,de=!1)=>{if(de)return L;if(t("update:model-value",L),o.value.emitTimezone&&le){const xe=Array.isArray(L)?L.map(z=>xi(Tn(z),o.value.emitTimezone)):xi(Tn(L),o.value.emitTimezone);t("update:model-timezone-value",xe)}},ie=L=>Array.isArray(i.value)?a.value.enabled?i.value.map(le=>L(le)):[L(i.value[0]),i.value[1]?L(i.value[1]):La(r.value.partialRange)]:L(Tn(i.value)),te=()=>{if(Array.isArray(i.value)){const L=nr(i.value[0],e.weekStart),le=i.value[1]?nr(i.value[1],e.weekStart):[];return[L.map(de=>ke(de)),le.map(de=>ke(de))]}return nr(i.value,e.weekStart).map(L=>ke(L))},D=(L,le)=>ce(Tn(ie(L)),!1,le),ee=L=>{const le=te();return L?le:t("update:model-value",te())},ue=(L=!1)=>(L||X(),e.monthPicker?D(v,L):e.timePicker?D(m,L):e.yearPicker?D(Ze,L):e.weekPicker?ee(L):ce(Y(L),!0,L));return{inputValue:c,internalModelValue:i,checkBeforeEmit:()=>i.value?r.value.enabled?r.value.partialRange?i.value.length>=1:i.value.length===2:!!i.value:!1,parseExternalModelValue:N,formatInputValue:X,emitModelValue:ue}},F4=(t,e)=>{const{defaultedFilters:n,propDates:i}=Ut(t),{validateMonthYearInRange:s}=bo(t),r=(u,d)=>{let f=u;return n.value.months.includes(at(f))?(f=d?ds(u,1):Al(u,1),r(f,d)):f},o=(u,d)=>{let f=u;return n.value.years.includes(Ze(f))?(f=d?A_(u,1):rS(u,1),o(f,d)):f},a=(u,d=!1)=>{const f=Dt(ke(),{month:t.month,year:t.year});let g=u?ds(f,1):Al(f,1);t.disableYearSelect&&(g=As(g,t.year));let p=at(g),m=Ze(g);n.value.months.includes(p)&&(g=r(g,u),p=at(g),m=Ze(g)),n.value.years.includes(m)&&(g=o(g,u),m=Ze(g)),s(p,m,u,t.preventMinMaxNavigation)&&l(p,m,d)},l=(u,d,f)=>{e("update-month-year",{month:u,year:d,fromNav:f})},c=ve(()=>u=>pS(Dt(ke(),{month:t.month,year:t.year}),i.value.maxDate,i.value.minDate,t.preventMinMaxNavigation,u));return{handleMonthYearChange:a,isDisabled:c,updateMonthYear:l}},Cf={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[Boolean,String,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},onInternalModelChange:{type:[Function,Object],default:null},enableMinutes:{type:Boolean,default:!0},ui:{type:Object,default:()=>({})}},_s={...Cf,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},B4=["title"],V4=["disabled"],W4=fn({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},..._s},emits:["close-picker","select-date","select-now","invalid-select"],setup(t,{emit:e}){const n=e,i=t,{defaultedActionRow:s,defaultedPreviewFormat:r,defaultedMultiCalendars:o,defaultedTextInput:a,defaultedInline:l,defaultedRange:c,defaultedMultiDates:u}=Ut(i),{isTimeValid:d,isMonthValid:f}=bo(i),{buildMatrix:g}=yo(),p=me(null),m=me(null),v=me(!1),y=me({}),x=me(null),E=me(null);Vt(()=>{i.arrowNavigation&&g([bn(p),bn(m)],"actionRow"),w(),window.addEventListener("resize",w)}),_o(()=>{window.removeEventListener("resize",w)});const w=()=>{v.value=!1,setTimeout(()=>{var N,B;const R=(N=x.value)==null?void 0:N.getBoundingClientRect(),W=(B=E.value)==null?void 0:B.getBoundingClientRect();R&&W&&(y.value.maxWidth=`${W.width-R.width-20}px`),v.value=!0},0)},b=ve(()=>c.value.enabled&&!c.value.partialRange&&i.internalModelValue?i.internalModelValue.length===2:!0),C=ve(()=>!d.value(i.internalModelValue)||!f.value(i.internalModelValue)||!b.value),k=()=>{const N=r.value;return i.timePicker||i.monthPicker,N(Tn(i.internalModelValue))},T=()=>{const N=i.internalModelValue;return o.value.count>0?`${A(N[0])} - ${A(N[1])}`:[A(N[0]),A(N[1])]},A=N=>mS(N,r.value,i.formatLocale,a.value.rangeSeparator,i.modelAuto,r.value),I=ve(()=>!i.internalModelValue||!i.menuMount?"":typeof r.value=="string"?Array.isArray(i.internalModelValue)?i.internalModelValue.length===2&&i.internalModelValue[1]?T():u.value.enabled?i.internalModelValue.map(N=>`${A(N)}`):i.modelAuto?`${A(i.internalModelValue[0])}`:`${A(i.internalModelValue[0])} -`:A(i.internalModelValue):k()),V=()=>u.value.enabled?"; ":" - ",Y=ve(()=>Array.isArray(I.value)?I.value.join(V()):I.value),ne=()=>{d.value(i.internalModelValue)&&f.value(i.internalModelValue)&&b.value?n("select-date"):n("invalid-select")};return(N,B)=>(P(),F("div",{ref_key:"actionRowRef",ref:E,class:"dp__action_row"},[N.$slots["action-row"]?Fe(N.$slots,"action-row",In(xn({key:0},{internalModelValue:N.internalModelValue,disabled:C.value,selectDate:()=>N.$emit("select-date"),closePicker:()=>N.$emit("close-picker")}))):(P(),F(Ie,{key:1},[Z(s).showPreview?(P(),F("div",{key:0,class:"dp__selection_preview",title:Y.value,style:Mn(y.value)},[N.$slots["action-preview"]&&v.value?Fe(N.$slots,"action-preview",{key:0,value:N.internalModelValue}):se("",!0),!N.$slots["action-preview"]&&v.value?(P(),F(Ie,{key:1},[Be(pe(Y.value),1)],64)):se("",!0)],12,B4)):se("",!0),h("div",{ref_key:"actionBtnContainer",ref:x,class:"dp__action_buttons","data-dp-element":"action-row"},[N.$slots["action-buttons"]?Fe(N.$slots,"action-buttons",{key:0,value:N.internalModelValue}):se("",!0),N.$slots["action-buttons"]?se("",!0):(P(),F(Ie,{key:1},[!Z(l).enabled&&Z(s).showCancel?(P(),F("button",{key:0,ref_key:"cancelButtonRef",ref:p,type:"button",class:"dp__action_button dp__action_cancel",onClick:B[0]||(B[0]=R=>N.$emit("close-picker")),onKeydown:B[1]||(B[1]=R=>Z(si)(R,()=>N.$emit("close-picker")))},pe(N.cancelText),545)):se("",!0),Z(s).showNow?(P(),F("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:B[2]||(B[2]=R=>N.$emit("select-now")),onKeydown:B[3]||(B[3]=R=>Z(si)(R,()=>N.$emit("select-now")))},pe(N.nowButtonLabel),33)):se("",!0),Z(s).showSelect?(P(),F("button",{key:2,ref_key:"selectButtonRef",ref:m,type:"button",class:"dp__action_button dp__action_select",disabled:C.value,"data-test":"select-button",onKeydown:B[4]||(B[4]=R=>Z(si)(R,()=>ne())),onClick:ne},pe(N.selectText),41,V4)):se("",!0)],64))],512)],64))],512))}}),z4=["role","aria-label","tabindex"],Y4={class:"dp__selection_grid_header"},H4=["aria-selected","aria-disabled","data-test","onClick","onKeydown","onMouseover"],j4=["aria-label"],zu=fn({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{},overlayLabel:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(t,{expose:e,emit:n}){const{setSelectionGrid:i,buildMultiLevelMatrix:s,setMonthPicker:r}=yo(),o=n,a=t,{defaultedAriaLabels:l,defaultedTextInput:c,defaultedConfig:u}=Ut(a),{hideNavigationButtons:d}=Tf(),f=me(!1),g=me(null),p=me(null),m=me([]),v=me(),y=me(null),x=me(0),E=me(null);wE(()=>{g.value=null}),Vt(()=>{Rn().then(()=>V()),a.noOverlayFocus||b(),w(!0)}),_o(()=>w(!1));const w=ie=>{var te;a.arrowNavigation&&((te=a.headerRefs)!=null&&te.length?r(ie):i(ie))},b=()=>{var ie;const te=bn(p);te&&(c.value.enabled||(g.value?(ie=g.value)==null||ie.focus({preventScroll:!0}):te.focus({preventScroll:!0})),f.value=te.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!a.useRelative,"dp--overlay-relative":a.useRelative})),k=ve(()=>a.useRelative?{height:`${a.height}px`,width:"var(--dp-menu-min-width)"}:void 0),T=ve(()=>({dp__overlay_col:!0})),A=ve(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:f.value,dp__button_bottom:a.isLast})),I=ve(()=>{var ie,te;return{dp__overlay_container:!0,dp__container_flex:((ie=a.items)==null?void 0:ie.length)<=6,dp__container_block:((te=a.items)==null?void 0:te.length)>6}});jt(()=>a.items,()=>V(!1),{deep:!0});const V=(ie=!0)=>{Rn().then(()=>{const te=bn(g),D=bn(p),ee=bn(y),ue=bn(E),L=ee?ee.getBoundingClientRect().height:0;D&&(D.getBoundingClientRect().height?x.value=D.getBoundingClientRect().height-L:x.value=u.value.modeHeight-L),te&&ue&&ie&&(ue.scrollTop=te.offsetTop-ue.offsetTop-(x.value/2-te.getBoundingClientRect().height)-L)})},Y=ie=>{ie.disabled||o("selected",ie.value)},ne=()=>{o("toggle"),o("reset-flow")},N=()=>{a.escClose&&ne()},B=(ie,te,D,ee)=>{ie&&((te.active||te.value===a.focusValue)&&(g.value=ie),a.arrowNavigation&&(Array.isArray(m.value[D])?m.value[D][ee]=ie:m.value[D]=[ie],R()))},R=()=>{var ie,te;const D=(ie=a.headerRefs)!=null&&ie.length?[a.headerRefs].concat(m.value):m.value.concat([a.skipButtonRef?[]:[y.value]]);s(Tn(D),(te=a.headerRefs)!=null&&te.length?"monthPicker":"selectionGrid")},W=ie=>{a.arrowNavigation||eo(ie,u.value,!0)},X=ie=>{v.value=ie,o("hover-value",ie)},J=()=>{if(ne(),!a.isLast){const ie=rm(a.menuWrapRef??null,"action-row");if(ie){const te=cS(ie);te?.focus()}}},H=ie=>{switch(ie.key){case Nt.esc:return N();case Nt.arrowLeft:return W(ie);case Nt.arrowRight:return W(ie);case Nt.arrowUp:return W(ie);case Nt.arrowDown:return W(ie);default:return}},ce=ie=>{if(ie.key===Nt.enter)return ne();if(ie.key===Nt.tab)return J()};return e({focusGrid:b}),(ie,te)=>{var D;return P(),F("div",{ref_key:"gridWrapRef",ref:p,class:Ee(C.value),style:Mn(k.value),role:ie.useRelative?void 0:"dialog","aria-label":ie.overlayLabel,tabindex:ie.useRelative?void 0:"0",onKeydown:H,onClick:te[0]||(te[0]=ru(()=>{},["prevent"]))},[h("div",{ref_key:"containerRef",ref:E,class:Ee(I.value),style:Mn({"--dp-overlay-height":`${x.value}px`}),role:"grid"},[h("div",Y4,[Fe(ie.$slots,"header")]),ie.$slots.overlay?Fe(ie.$slots,"overlay",{key:0}):(P(!0),F(Ie,{key:1},Ge(ie.items,(ee,ue)=>(P(),F("div",{key:ue,class:Ee(["dp__overlay_row",{dp__flex_row:ie.items.length>=3}]),role:"row"},[(P(!0),F(Ie,null,Ge(ee,(L,le)=>(P(),F("div",{key:L.value,ref_for:!0,ref:de=>B(de,L,ue,le),role:"gridcell",class:Ee(T.value),"aria-selected":L.active||void 0,"aria-disabled":L.disabled||void 0,tabindex:"0","data-test":L.text,onClick:ru(de=>Y(L),["prevent"]),onKeydown:de=>Z(si)(de,()=>Y(L),!0),onMouseover:de=>X(L.value)},[h("div",{class:Ee(L.className)},[ie.$slots.item?Fe(ie.$slots,"item",{key:0,item:L}):se("",!0),ie.$slots.item?se("",!0):(P(),F(Ie,{key:1},[Be(pe(L.text),1)],64))],2)],42,H4))),128))],2))),128))],6),ie.$slots["button-icon"]?Re((P(),F("button",{key:0,ref_key:"toggleButton",ref:y,type:"button","aria-label":(D=Z(l))==null?void 0:D.toggleOverlay,class:Ee(A.value),tabindex:"0",onClick:ne,onKeydown:ce},[Fe(ie.$slots,"button-icon")],42,j4)),[[ah,!Z(d)(ie.hideNavigation,ie.type)]]):se("",!0)],46,z4)}}}),Sf=fn({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(t){const e=t,n=ve(()=>e.multiCalendars>0?[...Array(e.multiCalendars).keys()]:[0]),i=ve(()=>({dp__instance_calendar:e.multiCalendars>0}));return(s,r)=>(P(),F("div",{class:Ee({dp__menu_inner:!s.stretch,"dp--menu--inner-stretched":s.stretch,dp__flex_display:s.multiCalendars>0,"dp--flex-display-collapsed":s.collapse})},[(P(!0),F(Ie,null,Ge(n.value,(o,a)=>(P(),F("div",{key:o,class:Ee(i.value)},[Fe(s.$slots,"default",{instance:o,index:a})],2))),128))],2))}}),K4=["data-dp-element","aria-label","aria-disabled"],jc=fn({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(t,{emit:e}){const n=e,i=me(null);return Vt(()=>n("set-ref",i)),(s,r)=>(P(),F("button",{ref_key:"elRef",ref:i,type:"button","data-dp-element":s.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":s.ariaLabel,"aria-disabled":s.disabled||void 0,onClick:r[0]||(r[0]=o=>s.$emit("activate")),onKeydown:r[1]||(r[1]=o=>Z(si)(o,()=>s.$emit("activate"),!0))},[h("span",{class:Ee(["dp__inner_nav",{dp__inner_nav_disabled:s.disabled}])},[Fe(s.$slots,"default")],2)],40,K4))}}),U4=["aria-label","data-test"],bS=fn({__name:"YearModePicker",props:{..._s,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(t,{emit:e}){const n=e,i=t,{showRightIcon:s,showLeftIcon:r}=Tf(),{defaultedConfig:o,defaultedMultiCalendars:a,defaultedAriaLabels:l,defaultedTransitions:c,defaultedUI:u}=Ut(i),{showTransition:d,transitionName:f}=Yu(c),g=me(!1),p=(y=!1,x)=>{g.value=!g.value,n("toggle-year-picker",{flow:y,show:x})},m=y=>{g.value=!1,n("year-select",y)},v=(y=!1)=>{n("handle-year",y)};return(y,x)=>{var E,w,b,C,k;return P(),F(Ie,null,[h("div",{class:Ee(["dp--year-mode-picker",{"dp--hidden-el":g.value}])},[Z(r)(Z(a),t.instance)?(P(),Ce(jc,{key:0,ref:"mpPrevIconRef","aria-label":(E=Z(l))==null?void 0:E.prevYear,disabled:t.isDisabled(!1),class:Ee((w=Z(u))==null?void 0:w.navBtnPrev),onActivate:x[0]||(x[0]=T=>v(!1))},{default:Pe(()=>[y.$slots["arrow-left"]?Fe(y.$slots,"arrow-left",{key:0}):se("",!0),y.$slots["arrow-left"]?se("",!0):(P(),Ce(Z($_),{key:1}))]),_:3},8,["aria-label","disabled","class"])):se("",!0),h("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${t.year}-${(b=Z(l))==null?void 0:b.openYearsOverlay}`,"data-test":`year-mode-btn-${t.instance}`,onClick:x[1]||(x[1]=()=>p(!1)),onKeydown:x[2]||(x[2]=dC(()=>p(!1),["enter"]))},[y.$slots.year?Fe(y.$slots,"year",{key:0,year:t.year}):se("",!0),y.$slots.year?se("",!0):(P(),F(Ie,{key:1},[Be(pe(t.year),1)],64))],40,U4),Z(s)(Z(a),t.instance)?(P(),Ce(jc,{key:1,ref:"mpNextIconRef","aria-label":(C=Z(l))==null?void 0:C.nextYear,disabled:t.isDisabled(!0),class:Ee((k=Z(u))==null?void 0:k.navBtnNext),onActivate:x[3]||(x[3]=T=>v(!0))},{default:Pe(()=>[y.$slots["arrow-right"]?Fe(y.$slots,"arrow-right",{key:0}):se("",!0),y.$slots["arrow-right"]?se("",!0):(P(),Ce(Z(L_),{key:1}))]),_:3},8,["aria-label","disabled","class"])):se("",!0)],2),$(vt,{name:Z(f)(t.showYearPicker),css:Z(d)},{default:Pe(()=>{var T,A;return[t.showYearPicker?(P(),Ce(zu,{key:0,items:t.items,"text-input":y.textInput,"esc-close":y.escClose,config:y.config,"is-last":y.autoApply&&!Z(o).keepActionRow,"hide-navigation":y.hideNavigation,"aria-labels":y.ariaLabels,"overlay-label":(A=(T=Z(l))==null?void 0:T.yearPicker)==null?void 0:A.call(T,!0),type:"year",onToggle:p,onSelected:x[4]||(x[4]=I=>m(I))},Xn({"button-icon":Pe(()=>[y.$slots["calendar-icon"]?Fe(y.$slots,"calendar-icon",{key:0}):se("",!0),y.$slots["calendar-icon"]?se("",!0):(P(),Ce(Z(Gl),{key:1}))]),_:2},[y.$slots["year-overlay-value"]?{name:"item",fn:Pe(({item:I})=>[Fe(y.$slots,"year-overlay-value",{text:I.text,value:I.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):se("",!0)]}),_:3},8,["name","css"])],64)}}}),H_=(t,e,n)=>{if(e.value&&Array.isArray(e.value))if(e.value.some(i=>ct(t,i))){const i=e.value.filter(s=>!ct(s,t));e.value=i.length?i:null}else(n&&+n>e.value.length||!n)&&e.value.push(t);else e.value=[t]},j_=(t,e,n)=>{let i=t.value?t.value.slice():[];return i.length===2&&i[1]!==null&&(i=[]),i.length?tn(e,i[0])?(i.unshift(e),n("range-start",i[0]),n("range-start",i[1])):(i[1]=e,n("range-end",e)):(i=[e],n("range-start",e)),i},kf=(t,e,n,i)=>{t&&(t[0]&&t[1]&&n&&e("auto-apply"),t[0]&&!t[1]&&i&&n&&e("auto-apply"))},wS=t=>{Array.isArray(t.value)&&t.value.length<=2&&t.range?t.modelValue.value=t.value.map(e=>xi(ke(e),t.timezone)):Array.isArray(t.value)||(t.modelValue.value=xi(ke(t.value),t.timezone))},xS=(t,e,n,i)=>Array.isArray(e.value)&&(e.value.length===2||e.value.length===1&&i.value.partialRange)?i.value.fixedStart&&(ln(t,e.value[0])||ct(t,e.value[0]))?[e.value[0],t]:i.value.fixedEnd&&(tn(t,e.value[1])||ct(t,e.value[1]))?[t,e.value[1]]:(n("invalid-fixed-range",t),e.value):[],ES=({multiCalendars:t,range:e,highlight:n,propDates:i,calendars:s,modelValue:r,props:o,filters:a,year:l,month:c,emit:u})=>{const d=ve(()=>V_(o.yearRange,o.locale,o.reverseYears)),f=me([!1]),g=ve(()=>(I,V)=>{const Y=Dt(os(new Date),{month:c.value(I),year:l.value(I)}),ne=V?KC(Y):lu(Y);return pS(ne,i.value.maxDate,i.value.minDate,o.preventMinMaxNavigation,V)}),p=()=>Array.isArray(r.value)&&t.value.solo&&r.value[1],m=()=>{for(let I=0;I{if(!I)return m();const V=Dt(ke(),s.value[I]);return s.value[0].year=Ze(rS(V,t.value.count-1)),m()},y=(I,V)=>{const Y=oF(V,I);return e.value.showLastInRange&&Y>1?V:I},x=I=>o.focusStartDate||t.value.solo?I[0]:I[1]?y(I[0],I[1]):I[0],E=()=>{if(r.value){const I=Array.isArray(r.value)?x(r.value):r.value;s.value[0]={month:at(I),year:Ze(I)}}},w=()=>{E(),t.value.count&&m()};jt(r,(I,V)=>{o.isTextInputDate&&JSON.stringify(I??{})!==JSON.stringify(V??{})&&w()}),Vt(()=>{w()});const b=(I,V)=>{s.value[V].year=I,u("update-month-year",{instance:V,year:I,month:s.value[V].month}),t.value.count&&!t.value.solo&&v(V)},C=ve(()=>I=>Pl(d.value,V=>{var Y;const ne=l.value(I)===V.value,N=uu(V.value,Ml(i.value.minDate),Ml(i.value.maxDate))||((Y=a.value.years)==null?void 0:Y.includes(l.value(I))),B=Y_(n.value,V.value);return{active:ne,disabled:N,highlighted:B}})),k=(I,V)=>{b(I,V),A(V)},T=(I,V=!1)=>{if(!g.value(I,V)){const Y=V?l.value(I)+1:l.value(I)-1;b(Y,I)}},A=(I,V=!1,Y)=>{V||u("reset-flow"),Y!==void 0?f.value[I]=Y:f.value[I]=!f.value[I],f.value[I]?u("overlay-toggle",{open:!0,overlay:jn.year}):(u("overlay-closed"),u("overlay-toggle",{open:!1,overlay:jn.year}))};return{isDisabled:g,groupedYears:C,showYearPicker:f,selectYear:b,toggleYearPicker:A,handleYearSelect:k,handleYear:T}},G4=(t,e)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:i,defaultedTransitions:s,defaultedConfig:r,defaultedRange:o,defaultedHighlight:a,propDates:l,defaultedTz:c,defaultedFilters:u,defaultedMultiDates:d}=Ut(t),f=()=>{t.isTextInputDate&&w(Ze(ke(t.startDate)),0)},{modelValue:g,year:p,month:m,calendars:v}=Hu(t,e,f),y=ve(()=>aS(t.formatLocale,t.locale,t.monthNameFormat)),x=me(null),{checkMinMaxRange:E}=bo(t),{selectYear:w,groupedYears:b,showYearPicker:C,toggleYearPicker:k,handleYearSelect:T,handleYear:A,isDisabled:I}=ES({modelValue:g,multiCalendars:n,range:o,highlight:a,calendars:v,year:p,propDates:l,month:m,filters:u,props:t,emit:e});Vt(()=>{t.startDate&&(g.value&&t.focusStartDate||!g.value)&&w(Ze(ke(t.startDate)),0)});const V=D=>D?{month:at(D),year:Ze(D)}:{month:null,year:null},Y=()=>g.value?Array.isArray(g.value)?g.value.map(D=>V(D)):V(g.value):V(),ne=(D,ee)=>{const ue=v.value[D],L=Y();return Array.isArray(L)?L.some(le=>le.year===ue?.year&&le.month===ee):ue?.year===L.year&&ee===L.month},N=(D,ee,ue)=>{var L,le;const de=Y();return Array.isArray(de)?p.value(ee)===((L=de[ue])==null?void 0:L.year)&&D===((le=de[ue])==null?void 0:le.month):!1},B=(D,ee)=>{if(o.value.enabled){const ue=Y();if(Array.isArray(g.value)&&Array.isArray(ue)){const L=N(D,ee,0)||N(D,ee,1),le=ar(os(ke()),D,p.value(ee));return Ef(g.value,x.value,le)&&!L}return!1}return!1},R=ve(()=>D=>Pl(y.value,ee=>{var ue;const L=ne(D,ee.value),le=uu(ee.value,dS(p.value(D),l.value.minDate),hS(p.value(D),l.value.maxDate))||y4(l.value.disabledDates,p.value(D)).includes(ee.value)||((ue=u.value.months)==null?void 0:ue.includes(ee.value)),de=B(ee.value,D),xe=_S(a.value,ee.value,p.value(D));return{active:L,disabled:le,isBetween:de,highlighted:xe}})),W=(D,ee)=>ar(os(ke()),D,p.value(ee)),X=(D,ee)=>{const ue=g.value?g.value:os(new Date);g.value=ar(ue,D,p.value(ee)),e("auto-apply"),e("update-flow-step")},J=(D,ee)=>{const ue=W(D,ee);o.value.fixedEnd||o.value.fixedStart?g.value=xS(ue,g,e,o):g.value?E(ue,g.value)&&(g.value=j_(g,W(D,ee),e)):g.value=[W(D,ee)],Rn().then(()=>{kf(g.value,e,t.autoApply,t.modelAuto)})},H=(D,ee)=>{H_(W(D,ee),g,d.value.limit),e("auto-apply",!0)},ce=(D,ee)=>(v.value[ee].month=D,te(ee,v.value[ee].year,D),d.value.enabled?H(D,ee):o.value.enabled?J(D,ee):X(D,ee)),ie=(D,ee)=>{w(D,ee),te(ee,D,null)},te=(D,ee,ue)=>{let L=ue;if(!L&&L!==0){const le=Y();L=Array.isArray(le)?le[D].month:le.month}e("update-month-year",{instance:D,year:ee,month:L})};return{groupedMonths:R,groupedYears:b,year:p,isDisabled:I,defaultedMultiCalendars:n,defaultedAriaLabels:i,defaultedTransitions:s,defaultedConfig:r,showYearPicker:C,modelValue:g,presetDate:(D,ee)=>{wS({value:D,modelValue:g,range:o.value.enabled,timezone:ee?void 0:c.value.timezone}),e("auto-apply")},setHoverDate:(D,ee)=>{x.value=W(D,ee)},selectMonth:ce,selectYear:ie,toggleYearPicker:k,handleYearSelect:T,handleYear:A,getModelMonthYear:Y}},X4=fn({compatConfig:{MODE:3},__name:"MonthPicker",props:{..._s},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range","overlay-toggle"],setup(t,{expose:e,emit:n}){const i=n,s=va(),r=Pi(s,"yearMode"),o=t;Vt(()=>{o.shadow||i("mount",null)});const{groupedMonths:a,groupedYears:l,year:c,isDisabled:u,defaultedMultiCalendars:d,defaultedConfig:f,showYearPicker:g,modelValue:p,presetDate:m,setHoverDate:v,selectMonth:y,selectYear:x,toggleYearPicker:E,handleYearSelect:w,handleYear:b,getModelMonthYear:C}=G4(o,i);return e({getSidebarProps:()=>({modelValue:p,year:c,getModelMonthYear:C,selectMonth:y,selectYear:x,handleYear:b}),presetDate:m,toggleYearPicker:k=>E(0,k)}),(k,T)=>(P(),Ce(Sf,{"multi-calendars":Z(d).count,collapse:k.collapse,stretch:""},{default:Pe(({instance:A})=>[k.$slots["top-extra"]?Fe(k.$slots,"top-extra",{key:0,value:k.internalModelValue}):se("",!0),k.$slots["month-year"]?Fe(k.$slots,"month-year",In(xn({key:1},{year:Z(c),months:Z(a)(A),years:Z(l)(A),selectMonth:Z(y),selectYear:Z(x),instance:A}))):(P(),Ce(zu,{key:2,items:Z(a)(A),"arrow-navigation":k.arrowNavigation,"is-last":k.autoApply&&!Z(f).keepActionRow,"esc-close":k.escClose,height:Z(f).modeHeight,config:k.config,"no-overlay-focus":!!(k.noOverlayFocus||k.textInput),"use-relative":"",type:"month",onSelected:I=>Z(y)(I,A),onHoverValue:I=>Z(v)(I,A)},Xn({header:Pe(()=>[$(bS,xn(k.$props,{items:Z(l)(A),instance:A,"show-year-picker":Z(g)[A],year:Z(c)(A),"is-disabled":I=>Z(u)(A,I),onHandleYear:I=>Z(b)(A,I),onYearSelect:I=>Z(w)(I,A),onToggleYearPicker:I=>Z(E)(A,I?.flow,I?.show)}),Xn({_:2},[Ge(Z(r),(I,V)=>({name:I,fn:Pe(Y=>[Fe(k.$slots,I,In(ii(Y)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[k.$slots["month-overlay-value"]?{name:"item",fn:Pe(({item:I})=>[Fe(k.$slots,"month-overlay-value",{text:I.text,value:I.value})]),key:"0"}:void 0]),1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),q4=(t,e)=>{const n=()=>{t.isTextInputDate&&(u.value=Ze(ke(t.startDate)))},{modelValue:i}=Hu(t,e,n),s=me(null),{defaultedHighlight:r,defaultedMultiDates:o,defaultedFilters:a,defaultedRange:l,propDates:c}=Ut(t),u=me();Vt(()=>{t.startDate&&(i.value&&t.focusStartDate||!i.value)&&(u.value=Ze(ke(t.startDate)))});const d=m=>Array.isArray(i.value)?i.value.some(v=>Ze(v)===m):i.value?Ze(i.value)===m:!1,f=m=>l.value.enabled&&Array.isArray(i.value)?Ef(i.value,s.value,p(m)):!1,g=ve(()=>Pl(V_(t.yearRange,t.locale,t.reverseYears),m=>{const v=d(m.value),y=uu(m.value,Ml(c.value.minDate),Ml(c.value.maxDate))||a.value.years.includes(m.value),x=f(m.value)&&!v,E=Y_(r.value,m.value);return{active:v,disabled:y,isBetween:x,highlighted:E}})),p=m=>As(os(lu(new Date)),m);return{groupedYears:g,modelValue:i,focusYear:u,setHoverValue:m=>{s.value=As(os(new Date),m)},selectYear:m=>{var v;if(e("update-month-year",{instance:0,year:m}),o.value.enabled)return i.value?Array.isArray(i.value)&&(((v=i.value)==null?void 0:v.map(y=>Ze(y))).includes(m)?i.value=i.value.filter(y=>Ze(y)!==m):i.value.push(As(ai(ke()),m))):i.value=[As(ai(lu(ke())),m)],e("auto-apply",!0);l.value.enabled?(i.value=j_(i,p(m),e),Rn().then(()=>{kf(i.value,e,t.autoApply,t.modelAuto)})):(i.value=p(m),e("auto-apply"))}}},Z4=fn({compatConfig:{MODE:3},__name:"YearPicker",props:{..._s},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(t,{expose:e,emit:n}){const i=n,s=t,{groupedYears:r,modelValue:o,focusYear:a,selectYear:l,setHoverValue:c}=q4(s,i),{defaultedConfig:u}=Ut(s);return e({getSidebarProps:()=>({modelValue:o,selectYear:l})}),(d,f)=>(P(),F("div",null,[d.$slots["top-extra"]?Fe(d.$slots,"top-extra",{key:0,value:d.internalModelValue}):se("",!0),d.$slots["month-year"]?Fe(d.$slots,"month-year",In(xn({key:1},{years:Z(r),selectYear:Z(l)}))):(P(),Ce(zu,{key:2,items:Z(r),"is-last":d.autoApply&&!Z(u).keepActionRow,height:Z(u).modeHeight,config:d.config,"no-overlay-focus":!!(d.noOverlayFocus||d.textInput),"focus-value":Z(a),type:"year","use-relative":"",onSelected:Z(l),onHoverValue:Z(c)},Xn({_:2},[d.$slots["year-overlay-value"]?{name:"item",fn:Pe(({item:g})=>[Fe(d.$slots,"year-overlay-value",{text:g.text,value:g.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),J4={key:0,class:"dp__time_input"},Q4=["data-test","aria-label","onKeydown","onClick","onMousedown"],eB=["aria-label","disabled","data-test","onKeydown","onClick"],tB=["data-test","aria-label","onKeydown","onClick","onMousedown"],nB={key:0},iB=["aria-label"],sB=fn({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},..._s},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","overlay-opened","am-pm-change"],setup(t,{expose:e,emit:n}){const i=n,s=t,{setTimePickerElements:r,setTimePickerBackRef:o}=yo(),{defaultedAriaLabels:a,defaultedTransitions:l,defaultedFilters:c,defaultedConfig:u,defaultedRange:d}=Ut(s),{transitionName:f,showTransition:g}=Yu(l),p=Ei({hours:!1,minutes:!1,seconds:!1}),m=me("AM"),v=me(null),y=me([]),x=me(),E=me(!1);Vt(()=>{i("mounted")});const w=S=>Dt(new Date,{hours:S.hours,minutes:S.minutes,seconds:s.enableSeconds?S.seconds:0,milliseconds:0}),b=ve(()=>S=>W(S,s[S])||k(S,s[S])),C=ve(()=>({hours:s.hours,minutes:s.minutes,seconds:s.seconds})),k=(S,O)=>d.value.enabled&&!d.value.disableTimeRangeValidation?!s.validateTime(S,O):!1,T=(S,O)=>{if(d.value.enabled&&!d.value.disableTimeRangeValidation){const K=O?+s[`${S}Increment`]:-+s[`${S}Increment`],U=s[S]+K;return!s.validateTime(S,U)}return!1},A=ve(()=>S=>!ie(+s[S]+ +s[`${S}Increment`],S)||T(S,!0)),I=ve(()=>S=>!ie(+s[S]-+s[`${S}Increment`],S)||T(S,!1)),V=(S,O)=>BC(Dt(ke(),S),O),Y=(S,O)=>t4(Dt(ke(),S),O),ne=ve(()=>({dp__time_col:!0,dp__time_col_block:!s.timePickerInline,dp__time_col_reg_block:!s.enableSeconds&&s.is24&&!s.timePickerInline,dp__time_col_reg_inline:!s.enableSeconds&&s.is24&&s.timePickerInline,dp__time_col_reg_with_button:!s.enableSeconds&&!s.is24,dp__time_col_sec:s.enableSeconds&&s.is24,dp__time_col_sec_with_button:s.enableSeconds&&!s.is24})),N=ve(()=>{const S=[{type:"hours"}];return s.enableMinutes&&S.push({type:"",separator:!0},{type:"minutes"}),s.enableSeconds&&S.push({type:"",separator:!0},{type:"seconds"}),S}),B=ve(()=>N.value.filter(S=>!S.separator)),R=ve(()=>S=>{if(S==="hours"){const O=le(+s.hours);return{text:O<10?`0${O}`:`${O}`,value:O}}return{text:s[S]<10?`0${s[S]}`:`${s[S]}`,value:s[S]}}),W=(S,O)=>{var K;if(!s.disabledTimesConfig)return!1;const U=s.disabledTimesConfig(s.order,S==="hours"?O:void 0);return U[S]?!!((K=U[S])!=null&&K.includes(O)):!0},X=(S,O)=>O!=="hours"||m.value==="AM"?S:S+12,J=S=>{const O=s.is24?24:12,K=S==="hours"?O:60,U=+s[`${S}GridIncrement`],oe=S==="hours"&&!s.is24?U:0,j=[];for(let re=oe;re({active:!1,disabled:c.value.times[S].includes(re.value)||!ie(re.value,S)||W(S,re.value)||k(S,re.value)}))},H=S=>S>=0?S:59,ce=S=>S>=0?S:23,ie=(S,O)=>{const K=s.minTime?w(Og(s.minTime)):null,U=s.maxTime?w(Og(s.maxTime)):null,oe=w(Og(C.value,O,O==="minutes"||O==="seconds"?H(S):ce(S)));return K&&U?(cu(oe,U)||tl(oe,U))&&(Tl(oe,K)||tl(oe,K)):K?Tl(oe,K)||tl(oe,K):U?cu(oe,U)||tl(oe,U):!0},te=S=>s[`no${S[0].toUpperCase()+S.slice(1)}Overlay`],D=S=>{te(S)||(p[S]=!p[S],p[S]?(E.value=!0,i("overlay-opened",S)):(E.value=!1,i("overlay-closed",S)))},ee=S=>S==="hours"?vr:S==="minutes"?ao:kl,ue=()=>{x.value&&clearTimeout(x.value)},L=(S,O=!0,K)=>{const U=O?V:Y,oe=O?+s[`${S}Increment`]:-+s[`${S}Increment`];ie(+s[S]+oe,S)&&i(`update:${S}`,ee(S)(U({[S]:+s[S]},{[S]:+s[`${S}Increment`]}))),!(K!=null&&K.keyboard)&&u.value.timeArrowHoldThreshold&&(x.value=setTimeout(()=>{L(S,O)},u.value.timeArrowHoldThreshold))},le=S=>s.is24?S:(S>=12?m.value="PM":m.value="AM",a4(S)),de=()=>{m.value==="PM"?(m.value="AM",i("update:hours",s.hours-12)):(m.value="PM",i("update:hours",s.hours+12)),i("am-pm-change",m.value)},xe=S=>{p[S]=!0},z=(S,O,K)=>{if(S&&s.arrowNavigation){Array.isArray(y.value[O])?y.value[O][K]=S:y.value[O]=[S];const U=y.value.reduce((oe,j)=>j.map((re,Q)=>[...oe[Q]||[],j[Q]]),[]);o(s.closeTimePickerBtn),v.value&&(U[1]=U[1].concat(v.value)),r(U,s.order)}},fe=(S,O)=>(D(S),i(`update:${S}`,O));return e({openChildCmp:xe}),(S,O)=>{var K;return S.disabled?se("",!0):(P(),F("div",J4,[(P(!0),F(Ie,null,Ge(N.value,(U,oe)=>{var j,re,Q;return P(),F("div",{key:oe,class:Ee(ne.value)},[U.separator?(P(),F(Ie,{key:0},[E.value?se("",!0):(P(),F(Ie,{key:0},[Be(":")],64))],64)):(P(),F(Ie,{key:1},[h("button",{ref_for:!0,ref:ge=>z(ge,oe,0),type:"button",class:Ee({dp__btn:!0,dp__inc_dec_button:!S.timePickerInline,dp__inc_dec_button_inline:S.timePickerInline,dp__tp_inline_btn_top:S.timePickerInline,dp__inc_dec_button_disabled:A.value(U.type),"dp--hidden-el":E.value}),"data-test":`${U.type}-time-inc-btn-${s.order}`,"aria-label":(j=Z(a))==null?void 0:j.incrementValue(U.type),tabindex:"0",onKeydown:ge=>Z(si)(ge,()=>L(U.type,!0,{keyboard:!0}),!0),onClick:ge=>Z(u).timeArrowHoldThreshold?void 0:L(U.type,!0),onMousedown:ge=>Z(u).timeArrowHoldThreshold?L(U.type,!0):void 0,onMouseup:ue},[s.timePickerInline?(P(),F(Ie,{key:1},[S.$slots["tp-inline-arrow-up"]?Fe(S.$slots,"tp-inline-arrow-up",{key:0}):(P(),F(Ie,{key:1},[O[2]||(O[2]=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),O[3]||(O[3]=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(P(),F(Ie,{key:0},[S.$slots["arrow-up"]?Fe(S.$slots,"arrow-up",{key:0}):se("",!0),S.$slots["arrow-up"]?se("",!0):(P(),Ce(Z(N_),{key:1}))],64))],42,Q4),h("button",{ref_for:!0,ref:ge=>z(ge,oe,1),type:"button","aria-label":`${R.value(U.type).text}-${(re=Z(a))==null?void 0:re.openTpOverlay(U.type)}`,class:Ee({dp__time_display:!0,dp__time_display_block:!S.timePickerInline,dp__time_display_inline:S.timePickerInline,"dp--time-invalid":b.value(U.type),"dp--time-overlay-btn":!b.value(U.type),"dp--hidden-el":E.value}),disabled:te(U.type),tabindex:"0","data-test":`${U.type}-toggle-overlay-btn-${s.order}`,onKeydown:ge=>Z(si)(ge,()=>D(U.type),!0),onClick:ge=>D(U.type)},[S.$slots[U.type]?Fe(S.$slots,U.type,{key:0,text:R.value(U.type).text,value:R.value(U.type).value}):se("",!0),S.$slots[U.type]?se("",!0):(P(),F(Ie,{key:1},[Be(pe(R.value(U.type).text),1)],64))],42,eB),h("button",{ref_for:!0,ref:ge=>z(ge,oe,2),type:"button",class:Ee({dp__btn:!0,dp__inc_dec_button:!S.timePickerInline,dp__inc_dec_button_inline:S.timePickerInline,dp__tp_inline_btn_bottom:S.timePickerInline,dp__inc_dec_button_disabled:I.value(U.type),"dp--hidden-el":E.value}),"data-test":`${U.type}-time-dec-btn-${s.order}`,"aria-label":(Q=Z(a))==null?void 0:Q.decrementValue(U.type),tabindex:"0",onKeydown:ge=>Z(si)(ge,()=>L(U.type,!1,{keyboard:!0}),!0),onClick:ge=>Z(u).timeArrowHoldThreshold?void 0:L(U.type,!1),onMousedown:ge=>Z(u).timeArrowHoldThreshold?L(U.type,!1):void 0,onMouseup:ue},[s.timePickerInline?(P(),F(Ie,{key:1},[S.$slots["tp-inline-arrow-down"]?Fe(S.$slots,"tp-inline-arrow-down",{key:0}):(P(),F(Ie,{key:1},[O[4]||(O[4]=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),O[5]||(O[5]=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(P(),F(Ie,{key:0},[S.$slots["arrow-down"]?Fe(S.$slots,"arrow-down",{key:0}):se("",!0),S.$slots["arrow-down"]?se("",!0):(P(),Ce(Z(F_),{key:1}))],64))],42,tB)],64))],2)}),128)),S.is24?se("",!0):(P(),F("div",nB,[S.$slots["am-pm-button"]?Fe(S.$slots,"am-pm-button",{key:0,toggle:de,value:m.value}):se("",!0),S.$slots["am-pm-button"]?se("",!0):(P(),F("button",{key:1,ref_key:"amPmButton",ref:v,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(K=Z(a))==null?void 0:K.amPmButton,tabindex:"0",onClick:de,onKeydown:O[0]||(O[0]=U=>Z(si)(U,()=>de(),!0))},pe(m.value),41,iB))])),(P(!0),F(Ie,null,Ge(B.value,(U,oe)=>(P(),Ce(vt,{key:oe,name:Z(f)(p[U.type]),css:Z(g)},{default:Pe(()=>{var j,re;return[p[U.type]?(P(),Ce(zu,{key:0,items:J(U.type),"is-last":S.autoApply&&!Z(u).keepActionRow,"esc-close":S.escClose,type:U.type,"text-input":S.textInput,config:S.config,"arrow-navigation":S.arrowNavigation,"aria-labels":S.ariaLabels,"overlay-label":(re=(j=Z(a)).timeOverlay)==null?void 0:re.call(j,U.type),onSelected:Q=>fe(U.type,Q),onToggle:Q=>D(U.type),onResetFlow:O[1]||(O[1]=Q=>S.$emit("reset-flow"))},Xn({"button-icon":Pe(()=>[S.$slots["clock-icon"]?Fe(S.$slots,"clock-icon",{key:0}):se("",!0),S.$slots["clock-icon"]?se("",!0):(P(),Ce(_a(S.timePickerInline?Z(Gl):Z(O_)),{key:1}))]),_:2},[S.$slots[`${U.type}-overlay-value`]?{name:"item",fn:Pe(({item:Q})=>[Fe(S.$slots,`${U.type}-overlay-value`,{text:Q.text,value:Q.value})]),key:"0"}:void 0,S.$slots[`${U.type}-overlay-header`]?{name:"header",fn:Pe(()=>[Fe(S.$slots,`${U.type}-overlay-header`,{toggle:()=>D(U.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):se("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),rB={class:"dp--tp-wrap"},oB=["aria-label","tabindex"],aB=["role","aria-label","tabindex"],lB=["aria-label"],CS=fn({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},..._s},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(t,{expose:e,emit:n}){const i=n,s=t,{buildMatrix:r,setTimePicker:o}=yo(),a=va(),{defaultedTransitions:l,defaultedAriaLabels:c,defaultedTextInput:u,defaultedConfig:d,defaultedRange:f}=Ut(s),{transitionName:g,showTransition:p}=Yu(l),{hideNavigationButtons:m}=Tf(),v=me(null),y=me(null),x=me([]),E=me(null),w=me(!1);Vt(()=>{i("mount"),!s.timePicker&&s.arrowNavigation?r([bn(v.value)],"time"):o(!0,s.timePicker)});const b=ve(()=>f.value.enabled&&s.modelAuto?lS(s.internalModelValue):!0),C=me(!1),k=J=>({hours:Array.isArray(s.hours)?s.hours[J]:s.hours,minutes:Array.isArray(s.minutes)?s.minutes[J]:s.minutes,seconds:Array.isArray(s.seconds)?s.seconds[J]:s.seconds}),T=ve(()=>{const J=[];if(f.value.enabled)for(let H=0;H<2;H++)J.push(k(H));else J.push(k(0));return J}),A=(J,H=!1,ce="")=>{H||i("reset-flow"),C.value=J,i(J?"overlay-opened":"overlay-closed",jn.time),s.arrowNavigation&&o(J),Rn(()=>{ce!==""&&x.value[0]&&x.value[0].openChildCmp(ce)})},I=ve(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:s.autoApply&&!d.value.keepActionRow})),V=Pi(a,"timePicker"),Y=(J,H,ce)=>f.value.enabled?H===0?[J,T.value[1][ce]]:[T.value[0][ce],J]:J,ne=J=>{i("update:hours",J)},N=J=>{i("update:minutes",J)},B=J=>{i("update:seconds",J)},R=()=>{if(E.value&&!u.value.enabled&&!s.noOverlayFocus){const J=cS(E.value);J&&J.focus({preventScroll:!0})}},W=J=>{w.value=!1,i("overlay-closed",J)},X=J=>{w.value=!0,i("overlay-opened",J)};return e({toggleTimePicker:A}),(J,H)=>{var ce;return P(),F("div",rB,[!J.timePicker&&!J.timePickerInline?Re((P(),F("button",{key:0,ref_key:"openTimePickerBtn",ref:v,type:"button",class:Ee({...I.value,"dp--hidden-el":C.value}),"aria-label":(ce=Z(c))==null?void 0:ce.openTimePicker,tabindex:J.noOverlayFocus?void 0:0,"data-test":"open-time-picker-btn",onKeydown:H[0]||(H[0]=ie=>Z(si)(ie,()=>A(!0))),onClick:H[1]||(H[1]=ie=>A(!0))},[J.$slots["clock-icon"]?Fe(J.$slots,"clock-icon",{key:0}):se("",!0),J.$slots["clock-icon"]?se("",!0):(P(),Ce(Z(O_),{key:1}))],42,oB)),[[ah,!Z(m)(J.hideNavigation,"time")]]):se("",!0),$(vt,{name:Z(g)(C.value),css:Z(p)&&!J.timePickerInline},{default:Pe(()=>{var ie,te;return[C.value||J.timePicker||J.timePickerInline?(P(),F("div",{key:0,ref_key:"overlayRef",ref:E,role:J.timePickerInline?void 0:"dialog",class:Ee({dp__overlay:!J.timePickerInline,"dp--overlay-absolute":!s.timePicker&&!J.timePickerInline,"dp--overlay-relative":s.timePicker}),style:Mn(J.timePicker?{height:`${Z(d).modeHeight}px`}:void 0),"aria-label":(ie=Z(c))==null?void 0:ie.timePicker,tabindex:J.timePickerInline?void 0:0},[h("div",{class:Ee(J.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[J.$slots["time-picker-overlay"]?Fe(J.$slots,"time-picker-overlay",{key:0,hours:t.hours,minutes:t.minutes,seconds:t.seconds,setHours:ne,setMinutes:N,setSeconds:B}):se("",!0),J.$slots["time-picker-overlay"]?se("",!0):(P(),F("div",{key:1,class:Ee(J.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(P(!0),F(Ie,null,Ge(T.value,(D,ee)=>Re((P(),Ce(sB,xn({key:ee,ref_for:!0},{...J.$props,order:ee,hours:D.hours,minutes:D.minutes,seconds:D.seconds,closeTimePickerBtn:y.value,disabledTimesConfig:t.disabledTimesConfig,disabled:ee===0?Z(f).fixedStart:Z(f).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:x,"validate-time":(ue,L)=>t.validateTime(ue,Y(L,ee,ue)),"onUpdate:hours":ue=>ne(Y(ue,ee,"hours")),"onUpdate:minutes":ue=>N(Y(ue,ee,"minutes")),"onUpdate:seconds":ue=>B(Y(ue,ee,"seconds")),onMounted:R,onOverlayClosed:W,onOverlayOpened:X,onAmPmChange:H[2]||(H[2]=ue=>J.$emit("am-pm-change",ue))}),Xn({_:2},[Ge(Z(V),(ue,L)=>({name:ue,fn:Pe(le=>[Fe(J.$slots,ue,xn({ref_for:!0},le))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[ah,ee===0?!0:b.value]])),128))],2)),!J.timePicker&&!J.timePickerInline?Re((P(),F("button",{key:2,ref_key:"closeTimePickerBtn",ref:y,type:"button",class:Ee({...I.value,"dp--hidden-el":w.value}),"aria-label":(te=Z(c))==null?void 0:te.closeTimePicker,tabindex:"0",onKeydown:H[3]||(H[3]=D=>Z(si)(D,()=>A(!1))),onClick:H[4]||(H[4]=D=>A(!1))},[J.$slots["calendar-icon"]?Fe(J.$slots,"calendar-icon",{key:0}):se("",!0),J.$slots["calendar-icon"]?se("",!0):(P(),Ce(Z(Gl),{key:1}))],42,lB)),[[ah,!Z(m)(J.hideNavigation,"time")]]):se("",!0)],2)],14,aB)):se("",!0)]}),_:3},8,["name","css"])])}}}),SS=(t,e,n,i)=>{const{defaultedRange:s}=Ut(t),r=(E,w)=>Array.isArray(e[E])?e[E][w]:e[E],o=E=>t.enableSeconds?Array.isArray(e.seconds)?e.seconds[E]:e.seconds:0,a=(E,w)=>E?w!==void 0?to(E,r("hours",w),r("minutes",w),o(w)):to(E,e.hours,e.minutes,o()):sS(ke(),o(w)),l=(E,w)=>{e[E]=w},c=ve(()=>t.modelAuto&&s.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:s.value.enabled),u=(E,w)=>{const b=Object.fromEntries(Object.keys(e).map(C=>C===E?[C,w]:[C,e[C]].slice()));if(c.value&&!s.value.disableTimeRangeValidation){const C=T=>n.value?to(n.value[T],b.hours[T],b.minutes[T],b.seconds[T]):null,k=T=>iS(n.value[T],0);return!(ct(C(0),C(1))&&(Tl(C(0),k(1))||cu(C(1),k(0))))}return!0},d=(E,w)=>{u(E,w)&&(l(E,w),i&&i())},f=E=>{d("hours",E)},g=E=>{d("minutes",E)},p=E=>{d("seconds",E)},m=(E,w,b,C)=>{w&&f(E),!w&&!b&&g(E),b&&p(E),n.value&&C(n.value)},v=E=>{if(E){const w=Array.isArray(E),b=w?[+E[0].hours,+E[1].hours]:+E.hours,C=w?[+E[0].minutes,+E[1].minutes]:+E.minutes,k=w?[+E[0].seconds,+E[1].seconds]:+E.seconds;l("hours",b),l("minutes",C),t.enableSeconds&&l("seconds",k)}},y=(E,w)=>{const b={hours:Array.isArray(e.hours)?e.hours[E]:e.hours,disabledArr:[]};return(w||w===0)&&(b.hours=w),Array.isArray(t.disabledTimes)&&(b.disabledArr=s.value.enabled&&Array.isArray(t.disabledTimes[E])?t.disabledTimes[E]:t.disabledTimes),b},x=ve(()=>(E,w)=>{var b;if(Array.isArray(t.disabledTimes)){const{disabledArr:C,hours:k}=y(E,w),T=C.filter(A=>+A.hours===k);return((b=T[0])==null?void 0:b.minutes)==="*"?{hours:[k],minutes:void 0,seconds:void 0}:{hours:[],minutes:T?.map(A=>+A.minutes)??[],seconds:T?.map(A=>A.seconds?+A.seconds:void 0)??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:l,updateHours:f,updateMinutes:g,updateSeconds:p,getSetDateTime:a,updateTimeValues:m,getSecondsValue:o,assignStartTime:v,validateTime:u,disabledTimesConfig:x}},cB=(t,e)=>{const n=()=>{t.isTextInputDate&&w()},{modelValue:i,time:s}=Hu(t,e,n),{defaultedStartTime:r,defaultedRange:o,defaultedTz:a}=Ut(t),{updateTimeValues:l,getSetDateTime:c,setTime:u,assignStartTime:d,disabledTimesConfig:f,validateTime:g}=SS(t,s,i,p);function p(){e("update-flow-step")}const m=C=>{const{hours:k,minutes:T,seconds:A}=C;return{hours:+k,minutes:+T,seconds:A?+A:0}},v=()=>{if(t.startTime){if(Array.isArray(t.startTime)){const k=m(t.startTime[0]),T=m(t.startTime[1]);return[Dt(ke(),k),Dt(ke(),T)]}const C=m(t.startTime);return Dt(ke(),C)}return o.value.enabled?[null,null]:null},y=()=>{if(o.value.enabled){const[C,k]=v();i.value=[xi(c(C,0),a.value.timezone),xi(c(k,1),a.value.timezone)]}else i.value=xi(c(v()),a.value.timezone)},x=C=>Array.isArray(C)?[sa(ke(C[0])),sa(ke(C[1]))]:[sa(C??ke())],E=(C,k,T)=>{u("hours",C),u("minutes",k),u("seconds",t.enableSeconds?T:0)},w=()=>{const[C,k]=x(i.value);return o.value.enabled?E([C.hours,k.hours],[C.minutes,k.minutes],[C.seconds,k.seconds]):E(C.hours,C.minutes,C.seconds)};Vt(()=>{if(!t.shadow)return d(r.value),i.value?w():y()});const b=()=>{Array.isArray(i.value)?i.value=i.value.map((C,k)=>C&&c(C,k)):i.value=c(i.value),e("time-update")};return{modelValue:i,time:s,disabledTimesConfig:f,updateTime:(C,k=!0,T=!1)=>{l(C,k,T,b)},validateTime:g}},uB=fn({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{..._s},emits:["update:internal-model-value","time-update","am-pm-change","mount","reset-flow","update-flow-step","overlay-toggle"],setup(t,{expose:e,emit:n}){const i=n,s=t,r=va(),o=Pi(r,"timePicker"),a=me(null),{time:l,modelValue:c,disabledTimesConfig:u,updateTime:d,validateTime:f}=cB(s,i);return Vt(()=>{s.shadow||i("mount",null)}),e({getSidebarProps:()=>({modelValue:c,time:l,updateTime:d}),toggleTimePicker:(g,p=!1,m="")=>{var v;(v=a.value)==null||v.toggleTimePicker(g,p,m)}}),(g,p)=>(P(),Ce(Sf,{"multi-calendars":0,stretch:""},{default:Pe(()=>[$(CS,xn({ref_key:"tpRef",ref:a},g.$props,{hours:Z(l).hours,minutes:Z(l).minutes,seconds:Z(l).seconds,"internal-model-value":g.internalModelValue,"disabled-times-config":Z(u),"validate-time":Z(f),"onUpdate:hours":p[0]||(p[0]=m=>Z(d)(m)),"onUpdate:minutes":p[1]||(p[1]=m=>Z(d)(m,!1)),"onUpdate:seconds":p[2]||(p[2]=m=>Z(d)(m,!1,!0)),onAmPmChange:p[3]||(p[3]=m=>g.$emit("am-pm-change",m)),onResetFlow:p[4]||(p[4]=m=>g.$emit("reset-flow")),onOverlayClosed:p[5]||(p[5]=m=>g.$emit("overlay-toggle",{open:!1,overlay:m})),onOverlayOpened:p[6]||(p[6]=m=>g.$emit("overlay-toggle",{open:!0,overlay:m}))}),Xn({_:2},[Ge(Z(o),(m,v)=>({name:m,fn:Pe(y=>[Fe(g.$slots,m,In(ii(y)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),dB={class:"dp--header-wrap"},hB={key:0,class:"dp__month_year_wrap"},fB={key:0},gB={class:"dp__month_year_wrap"},pB=["data-dp-element","aria-label","data-test","onClick","onKeydown"],mB=fn({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},..._s},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(t,{expose:e,emit:n}){const i=n,s=t,{defaultedTransitions:r,defaultedAriaLabels:o,defaultedMultiCalendars:a,defaultedFilters:l,defaultedConfig:c,defaultedHighlight:u,propDates:d,defaultedUI:f}=Ut(s),{transitionName:g,showTransition:p}=Yu(r),{buildMatrix:m}=yo(),{handleMonthYearChange:v,isDisabled:y,updateMonthYear:x}=F4(s,i),{showLeftIcon:E,showRightIcon:w}=Tf(),b=me(!1),C=me(!1),k=me(!1),T=me([null,null,null,null]);Vt(()=>{i("mount")});const A=te=>({get:()=>s[te],set:D=>{const ee=te===ts.month?ts.year:ts.month;i("update-month-year",{[te]:D,[ee]:s[ee]}),te===ts.month?W(!0):X(!0)}}),I=ve(A(ts.month)),V=ve(A(ts.year)),Y=ve(()=>te=>({month:s.month,year:s.year,items:te===ts.month?s.months:s.years,instance:s.instance,updateMonthYear:x,toggle:te===ts.month?W:X})),ne=ve(()=>s.months.find(D=>D.value===s.month)||{text:"",value:0}),N=ve(()=>Pl(s.months,te=>{const D=s.month===te.value,ee=uu(te.value,dS(s.year,d.value.minDate),hS(s.year,d.value.maxDate))||l.value.months.includes(te.value),ue=_S(u.value,te.value,s.year);return{active:D,disabled:ee,highlighted:ue}})),B=ve(()=>Pl(s.years,te=>{const D=s.year===te.value,ee=uu(te.value,Ml(d.value.minDate),Ml(d.value.maxDate))||l.value.years.includes(te.value),ue=Y_(u.value,te.value);return{active:D,disabled:ee,highlighted:ue}})),R=(te,D,ee)=>{ee!==void 0?te.value=ee:te.value=!te.value,te.value?(k.value=!0,i("overlay-opened",D)):(k.value=!1,i("overlay-closed",D))},W=(te=!1,D)=>{J(te),R(b,jn.month,D)},X=(te=!1,D)=>{J(te),R(C,jn.year,D)},J=te=>{te||i("reset-flow")},H=(te,D)=>{s.arrowNavigation&&(T.value[D]=bn(te),m(T.value,"monthYear"))},ce=ve(()=>{var te,D,ee,ue,L,le;return[{type:ts.month,index:1,toggle:W,modelValue:I.value,updateModelValue:de=>I.value=de,text:ne.value.text,showSelectionGrid:b.value,items:N.value,ariaLabel:(te=o.value)==null?void 0:te.openMonthsOverlay,overlayLabel:((ee=(D=o.value).monthPicker)==null?void 0:ee.call(D,!0))??void 0},{type:ts.year,index:2,toggle:X,modelValue:V.value,updateModelValue:de=>V.value=de,text:uS(s.year,s.locale),showSelectionGrid:C.value,items:B.value,ariaLabel:(ue=o.value)==null?void 0:ue.openYearsOverlay,overlayLabel:((le=(L=o.value).yearPicker)==null?void 0:le.call(L,!0))??void 0}]}),ie=ve(()=>s.disableYearSelect?[ce.value[0]]:s.yearFirst?[...ce.value].reverse():ce.value);return e({toggleMonthPicker:W,toggleYearPicker:X,handleMonthYearChange:v}),(te,D)=>{var ee,ue,L,le,de,xe;return P(),F("div",dB,[te.$slots["month-year"]?(P(),F("div",hB,[Fe(te.$slots,"month-year",In(ii({month:t.month,year:t.year,months:t.months,years:t.years,updateMonthYear:Z(x),handleMonthYearChange:Z(v),instance:t.instance})))])):(P(),F(Ie,{key:1},[te.$slots["top-extra"]?(P(),F("div",fB,[Fe(te.$slots,"top-extra",{value:te.internalModelValue})])):se("",!0),h("div",gB,[Z(E)(Z(a),t.instance)&&!te.vertical?(P(),Ce(jc,{key:0,"aria-label":(ee=Z(o))==null?void 0:ee.prevMonth,disabled:Z(y)(!1),class:Ee((ue=Z(f))==null?void 0:ue.navBtnPrev),"el-name":"action-prev",onActivate:D[0]||(D[0]=z=>Z(v)(!1,!0)),onSetRef:D[1]||(D[1]=z=>H(z,0))},{default:Pe(()=>[te.$slots["arrow-left"]?Fe(te.$slots,"arrow-left",{key:0}):se("",!0),te.$slots["arrow-left"]?se("",!0):(P(),Ce(Z($_),{key:1}))]),_:3},8,["aria-label","disabled","class"])):se("",!0),h("div",{class:Ee(["dp__month_year_wrap",{dp__year_disable_select:te.disableYearSelect}])},[(P(!0),F(Ie,null,Ge(ie.value,(z,fe)=>(P(),F(Ie,{key:z.type},[h("button",{ref_for:!0,ref:S=>H(S,fe+1),type:"button","data-dp-element":`overlay-${z.type}`,class:Ee(["dp__btn dp__month_year_select",{"dp--hidden-el":k.value}]),"aria-label":`${z.text}-${z.ariaLabel}`,"data-test":`${z.type}-toggle-overlay-${t.instance}`,onClick:z.toggle,onKeydown:S=>Z(si)(S,()=>z.toggle(),!0)},[te.$slots[z.type]?Fe(te.$slots,z.type,{key:0,text:z.text,value:s[z.type]}):se("",!0),te.$slots[z.type]?se("",!0):(P(),F(Ie,{key:1},[Be(pe(z.text),1)],64))],42,pB),$(vt,{name:Z(g)(z.showSelectionGrid),css:Z(p)},{default:Pe(()=>[z.showSelectionGrid?(P(),Ce(zu,{key:0,items:z.items,"arrow-navigation":te.arrowNavigation,"hide-navigation":te.hideNavigation,"is-last":te.autoApply&&!Z(c).keepActionRow,"skip-button-ref":!1,config:te.config,type:z.type,"header-refs":[],"esc-close":te.escClose,"menu-wrap-ref":te.menuWrapRef,"text-input":te.textInput,"aria-labels":te.ariaLabels,"overlay-label":z.overlayLabel,onSelected:z.updateModelValue,onToggle:z.toggle},Xn({"button-icon":Pe(()=>[te.$slots["calendar-icon"]?Fe(te.$slots,"calendar-icon",{key:0}):se("",!0),te.$slots["calendar-icon"]?se("",!0):(P(),Ce(Z(Gl),{key:1}))]),_:2},[te.$slots[`${z.type}-overlay-value`]?{name:"item",fn:Pe(({item:S})=>[Fe(te.$slots,`${z.type}-overlay-value`,{text:S.text,value:S.value})]),key:"0"}:void 0,te.$slots[`${z.type}-overlay`]?{name:"overlay",fn:Pe(()=>[Fe(te.$slots,`${z.type}-overlay`,xn({ref_for:!0},Y.value(z.type)))]),key:"1"}:void 0,te.$slots[`${z.type}-overlay-header`]?{name:"header",fn:Pe(()=>[Fe(te.$slots,`${z.type}-overlay-header`,{toggle:z.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","overlay-label","onSelected","onToggle"])):se("",!0)]),_:2},1032,["name","css"])],64))),128))],2),Z(E)(Z(a),t.instance)&&te.vertical?(P(),Ce(jc,{key:1,"aria-label":(L=Z(o))==null?void 0:L.prevMonth,"el-name":"action-prev",disabled:Z(y)(!1),class:Ee((le=Z(f))==null?void 0:le.navBtnPrev),onActivate:D[2]||(D[2]=z=>Z(v)(!1,!0))},{default:Pe(()=>[te.$slots["arrow-up"]?Fe(te.$slots,"arrow-up",{key:0}):se("",!0),te.$slots["arrow-up"]?se("",!0):(P(),Ce(Z(N_),{key:1}))]),_:3},8,["aria-label","disabled","class"])):se("",!0),Z(w)(Z(a),t.instance)?(P(),Ce(jc,{key:2,ref:"rightIcon","el-name":"action-next",disabled:Z(y)(!0),"aria-label":(de=Z(o))==null?void 0:de.nextMonth,class:Ee((xe=Z(f))==null?void 0:xe.navBtnNext),onActivate:D[3]||(D[3]=z=>Z(v)(!0,!0)),onSetRef:D[4]||(D[4]=z=>H(z,te.disableYearSelect?2:3))},{default:Pe(()=>[te.$slots[te.vertical?"arrow-down":"arrow-right"]?Fe(te.$slots,te.vertical?"arrow-down":"arrow-right",{key:0}):se("",!0),te.$slots[te.vertical?"arrow-down":"arrow-right"]?se("",!0):(P(),Ce(_a(te.vertical?Z(F_):Z(L_)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):se("",!0)])],64))])}}}),_B={class:"dp__calendar_header",role:"row"},vB={key:0,class:"dp__calendar_header_item",role:"gridcell"},yB=["aria-label"],bB={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},wB={class:"dp__cell_inner"},xB=["id","aria-pressed","aria-disabled","aria-label","tabindex","data-test","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],EB=fn({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},..._s},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(t,{expose:e,emit:n}){const i=n,s=t,{buildMultiLevelMatrix:r}=yo(),{defaultedTransitions:o,defaultedConfig:a,defaultedAriaLabels:l,defaultedMultiCalendars:c,defaultedWeekNumbers:u,defaultedMultiDates:d,defaultedUI:f}=Ut(s),g=me(null),p=me({bottom:"",left:"",transform:""}),m=me([]),v=me(null),y=me(!0),x=me(""),E=me({startX:0,endX:0,startY:0,endY:0}),w=me([]),b=me({left:"50%"}),C=me(!1),k=ve(()=>s.calendar?s.calendar(s.mappedDates):s.mappedDates),T=ve(()=>s.dayNames?Array.isArray(s.dayNames)?s.dayNames:s.dayNames(s.locale,+s.weekStart):o4(s.formatLocale,s.locale,+s.weekStart));Vt(()=>{i("mount",{cmp:"calendar",refs:m}),a.value.noSwipe||v.value&&(v.value.addEventListener("touchstart",H,{passive:!1}),v.value.addEventListener("touchend",ce,{passive:!1}),v.value.addEventListener("touchmove",ie,{passive:!1})),s.monthChangeOnScroll&&v.value&&v.value.addEventListener("wheel",ee,{passive:!1})});const A=z=>z?s.vertical?"vNext":"next":s.vertical?"vPrevious":"previous",I=(z,fe)=>{if(s.transitions){const S=ai(ar(ke(),s.month,s.year));x.value=ln(ai(ar(ke(),z,fe)),S)?o.value[A(!0)]:o.value[A(!1)],y.value=!1,Rn(()=>{y.value=!0})}},V=ve(()=>({...f.value.calendar??{}})),Y=ve(()=>z=>{const fe=l4(z);return{dp__marker_dot:fe.type==="dot",dp__marker_line:fe.type==="line"}}),ne=ve(()=>z=>ct(z,g.value)),N=ve(()=>({dp__calendar:!0,dp__calendar_next:c.value.count>0&&s.instance!==0})),B=ve(()=>z=>s.hideOffsetDates?z.current:!0),R=async(z,fe)=>{const{width:S,height:O}=z.getBoundingClientRect();g.value=fe.value;let K={left:`${S/2}px`},U=-50;if(await Rn(),w.value[0]){const{left:oe,width:j}=w.value[0].getBoundingClientRect();oe<0&&(K={left:"0"},U=0,b.value.left=`${S/2}px`),window.innerWidth{var O,K,U;const oe=bn(m.value[fe][S]);oe&&((O=z.marker)!=null&&O.customPosition&&(U=(K=z.marker)==null?void 0:K.tooltip)!=null&&U.length?p.value=z.marker.customPosition(oe):await R(oe,z),i("tooltip-open",z.marker))},X=async(z,fe,S)=>{var O,K;if(C.value&&d.value.enabled&&d.value.dragSelect)return i("select-date",z);i("set-hover-date",z),(K=(O=z.marker)==null?void 0:O.tooltip)!=null&&K.length&&await W(z,fe,S)},J=z=>{g.value&&(g.value=null,p.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),i("tooltip-close",z.marker))},H=z=>{E.value.startX=z.changedTouches[0].screenX,E.value.startY=z.changedTouches[0].screenY},ce=z=>{E.value.endX=z.changedTouches[0].screenX,E.value.endY=z.changedTouches[0].screenY,te()},ie=z=>{s.vertical&&!s.inline&&z.preventDefault()},te=()=>{const z=s.vertical?"Y":"X";Math.abs(E.value[`start${z}`]-E.value[`end${z}`])>10&&i("handle-swipe",E.value[`start${z}`]>E.value[`end${z}`]?"right":"left")},D=(z,fe,S)=>{z&&(Array.isArray(m.value[fe])?m.value[fe][S]=z:m.value[fe]=[z]),s.arrowNavigation&&r(m.value,"calendar")},ee=z=>{s.monthChangeOnScroll&&(z.preventDefault(),i("handle-scroll",z))},ue=z=>u.value.type==="local"?I_(z.value,{weekStartsOn:+s.weekStart}):u.value.type==="iso"?P_(z.value):typeof u.value.type=="function"?u.value.type(z.value):"",L=z=>{const fe=z[0];return u.value.hideOnOffsetDates?z.some(S=>S.current)?ue(fe):"":ue(fe)},le=(z,fe,S=!0)=>{S&&b0()||!S&&!b0()||d.value.enabled||(eo(z,a.value),i("select-date",fe))},de=z=>{eo(z,a.value)},xe=z=>{d.value.enabled&&d.value.dragSelect?(C.value=!0,i("select-date",z)):d.value.enabled&&i("select-date",z)};return e({triggerTransition:I}),(z,fe)=>(P(),F("div",{class:Ee(N.value)},[h("div",{ref_key:"calendarWrapRef",ref:v,class:Ee(V.value),role:"grid"},[h("div",_B,[z.weekNumbers?(P(),F("div",vB,pe(z.weekNumName),1)):se("",!0),(P(!0),F(Ie,null,Ge(T.value,(S,O)=>{var K,U;return P(),F("div",{key:O,class:"dp__calendar_header_item",role:"gridcell","data-test":"calendar-header","aria-label":(U=(K=Z(l))==null?void 0:K.weekDay)==null?void 0:U.call(K,O)},[z.$slots["calendar-header"]?Fe(z.$slots,"calendar-header",{key:0,day:S,index:O}):se("",!0),z.$slots["calendar-header"]?se("",!0):(P(),F(Ie,{key:1},[Be(pe(S),1)],64))],8,yB)}),128))]),fe[2]||(fe[2]=h("div",{class:"dp__calendar_header_separator"},null,-1)),$(vt,{name:x.value,css:!!z.transitions},{default:Pe(()=>[y.value?(P(),F("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:fe[1]||(fe[1]=S=>C.value=!1)},[(P(!0),F(Ie,null,Ge(k.value,(S,O)=>(P(),F("div",{key:O,class:"dp__calendar_row",role:"row"},[z.weekNumbers?(P(),F("div",bB,[h("div",wB,pe(L(S.days)),1)])):se("",!0),(P(!0),F(Ie,null,Ge(S.days,(K,U)=>{var oe,j,re;return P(),F("div",{id:Z(vS)(K.value),ref_for:!0,ref:Q=>D(Q,O,U),key:U+O,role:"gridcell",class:"dp__calendar_item","aria-pressed":(K.classData.dp__active_date||K.classData.dp__range_start||K.classData.dp__range_start)??void 0,"aria-disabled":K.classData.dp__cell_disabled||void 0,"aria-label":(j=(oe=Z(l))==null?void 0:oe.day)==null?void 0:j.call(oe,K),tabindex:!K.current&&z.hideOffsetDates?void 0:0,"data-test":K.value,onClick:ru(Q=>le(Q,K),["prevent"]),onTouchend:Q=>le(Q,K,!1),onKeydown:Q=>Z(si)(Q,()=>z.$emit("select-date",K)),onMouseenter:Q=>X(K,O,U),onMouseleave:Q=>J(K),onMousedown:Q=>xe(K),onMouseup:fe[0]||(fe[0]=Q=>C.value=!1)},[h("div",{class:Ee(["dp__cell_inner",K.classData])},[z.$slots.day&&B.value(K)?Fe(z.$slots,"day",{key:0,day:+K.text,date:K.value}):se("",!0),z.$slots.day?se("",!0):(P(),F(Ie,{key:1},[Be(pe(K.text),1)],64)),K.marker&&B.value(K)?(P(),F(Ie,{key:2},[z.$slots.marker?Fe(z.$slots,"marker",{key:0,marker:K.marker,day:+K.text,date:K.value}):(P(),F("div",{key:1,class:Ee(Y.value(K.marker)),style:Mn(K.marker.color?{backgroundColor:K.marker.color}:{})},null,6))],64)):se("",!0),ne.value(K.value)?(P(),F("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:w,class:"dp__marker_tooltip",style:Mn(p.value)},[(re=K.marker)!=null&&re.tooltip?(P(),F("div",{key:0,class:"dp__tooltip_content",onClick:de},[(P(!0),F(Ie,null,Ge(K.marker.tooltip,(Q,ge)=>(P(),F("div",{key:ge,class:"dp__tooltip_text"},[z.$slots["marker-tooltip"]?Fe(z.$slots,"marker-tooltip",{key:0,tooltip:Q,day:K.value}):se("",!0),z.$slots["marker-tooltip"]?se("",!0):(P(),F(Ie,{key:1},[h("div",{class:"dp__tooltip_mark",style:Mn(Q.color?{backgroundColor:Q.color}:{})},null,4),h("div",null,pe(Q.text),1)],64))]))),128)),h("div",{class:"dp__arrow_bottom_tp",style:Mn(b.value)},null,4)])):se("",!0)],4)):se("",!0)],2)],40,xB)}),128))]))),128))],32)):se("",!0)]),_:3},8,["name","css"])],2)],2))}}),S0=t=>Array.isArray(t),CB=(t,e,n,i)=>{const s=me([]),r=me(new Date),o=me(),a=()=>H(t.isTextInputDate),{modelValue:l,calendars:c,time:u,today:d}=Hu(t,e,a),{defaultedMultiCalendars:f,defaultedStartTime:g,defaultedRange:p,defaultedConfig:m,defaultedTz:v,propDates:y,defaultedMultiDates:x}=Ut(t),{validateMonthYearInRange:E,isDisabled:w,isDateRangeAllowed:b,checkMinMaxRange:C}=bo(t),{updateTimeValues:k,getSetDateTime:T,setTime:A,assignStartTime:I,validateTime:V,disabledTimesConfig:Y}=SS(t,u,l,i),ne=ve(()=>ae=>c.value[ae]?c.value[ae].month:0),N=ve(()=>ae=>c.value[ae]?c.value[ae].year:0),B=ae=>!m.value.keepViewOnOffsetClick||ae?!0:!o.value,R=(ae,Te,he,Ae=!1)=>{var Ne,Xt;B(Ae)&&(c.value[ae]||(c.value[ae]={month:0,year:0}),c.value[ae].month=y0(Te)?(Ne=c.value[ae])==null?void 0:Ne.month:Te,c.value[ae].year=y0(he)?(Xt=c.value[ae])==null?void 0:Xt.year:he)},W=()=>{t.autoApply&&e("select-date")};Vt(()=>{t.shadow||(l.value||(z(),g.value&&I(g.value)),H(!0),t.focusStartDate&&t.startDate&&z())});const X=ve(()=>{var ae;return(ae=t.flow)!=null&&ae.length&&!t.partialFlow?t.flowStep===t.flow.length:!0}),J=()=>{t.autoApply&&X.value&&e("auto-apply",t.partialFlow?t.flowStep!==t.flow.length:!1)},H=(ae=!1)=>{if(l.value)return Array.isArray(l.value)?(s.value=l.value,L(ae)):te(l.value,ae);if(f.value.count&&ae&&!t.startDate)return ie(ke(),ae)},ce=()=>Array.isArray(l.value)&&p.value.enabled?at(l.value[0])===at(l.value[1]??l.value[0]):!1,ie=(ae=new Date,Te=!1)=>{if((!f.value.count||!f.value.static||Te)&&R(0,at(ae),Ze(ae)),f.value.count&&(!f.value.solo||!l.value||ce()))for(let he=1;he{ie(ae),A("hours",vr(ae)),A("minutes",ao(ae)),A("seconds",kl(ae)),f.value.count&&Te&&xe()},D=ae=>{if(f.value.count){if(f.value.solo)return 0;const Te=at(ae[0]),he=at(ae[1]);return Math.abs(he-Te){ae[1]&&p.value.showLastInRange?ie(ae[D(ae)],Te):ie(ae[0],Te);const he=(Ae,Ne)=>[Ae(ae[0]),ae[1]?Ae(ae[1]):u[Ne][1]];A("hours",he(vr,"hours")),A("minutes",he(ao,"minutes")),A("seconds",he(kl,"seconds"))},ue=(ae,Te)=>{if((p.value.enabled||t.weekPicker)&&!x.value.enabled)return ee(ae,Te);if(x.value.enabled&&Te){const he=ae[ae.length-1];return te(he,Te)}},L=ae=>{const Te=l.value;ue(Te,ae),f.value.count&&f.value.solo&&xe()},le=(ae,Te)=>{const he=Dt(ke(),{month:ne.value(Te),year:N.value(Te)}),Ae=ae<0?ds(he,1):Al(he,1);E(at(Ae),Ze(Ae),ae<0,t.preventMinMaxNavigation)&&(R(Te,at(Ae),Ze(Ae)),e("update-month-year",{instance:Te,month:at(Ae),year:Ze(Ae)}),f.value.count&&!f.value.solo&&de(Te),n())},de=ae=>{for(let Te=ae-1;Te>=0;Te--){const he=Al(Dt(ke(),{month:ne.value(Te+1),year:N.value(Te+1)}),1);R(Te,at(he),Ze(he))}for(let Te=ae+1;Te<=f.value.count-1;Te++){const he=ds(Dt(ke(),{month:ne.value(Te-1),year:N.value(Te-1)}),1);R(Te,at(he),Ze(he))}},xe=()=>{if(Array.isArray(l.value)&&l.value.length===2){const ae=ke(ke(l.value[1]?l.value[1]:ds(l.value[0],1))),[Te,he]=[at(l.value[0]),Ze(l.value[0])],[Ae,Ne]=[at(l.value[1]),Ze(l.value[1])];(Te!==Ae||Te===Ae&&he!==Ne)&&f.value.solo&&R(1,at(ae),Ze(ae))}else l.value&&!Array.isArray(l.value)&&(R(0,at(l.value),Ze(l.value)),ie(ke()))},z=()=>{t.startDate&&(R(0,at(ke(t.startDate)),Ze(ke(t.startDate))),f.value.count&&de(0))},fe=(ae,Te)=>{if(t.monthChangeOnScroll){const he=new Date().getTime()-r.value.getTime(),Ae=Math.abs(ae.deltaY);let Ne=500;Ae>1&&(Ne=100),Ae>100&&(Ne=0),he>Ne&&(r.value=new Date,le(t.monthChangeOnScroll!=="inverse"?-ae.deltaY:ae.deltaY,Te))}},S=(ae,Te,he=!1)=>{t.monthChangeOnArrows&&t.vertical===he&&O(ae,Te)},O=(ae,Te)=>{le(ae==="right"?-1:1,Te)},K=ae=>{if(y.value.markers)return Th(ae.value,y.value.markers)},U=(ae,Te)=>{switch(t.sixWeeks===!0?"append":t.sixWeeks){case"prepend":return[!0,!1];case"center":return[ae==0,!0];case"fair":return[ae==0||Te>ae,!0];case"append":return[!1,!1];default:return[!1,!1]}},oe=(ae,Te,he,Ae)=>{if(t.sixWeeks&&ae.length<6){const Ne=6-ae.length,Xt=(Te.getDay()+7-Ae)%7,pn=6-(he.getDay()+7-Ae)%7,[$i,zs]=U(Xt,pn);for(let mn=1;mn<=Ne;mn++)if(zs?!!(mn%2)==$i:$i){const Cn=ae[0].days[0],Sn=j(rs(Cn.value,-7),at(Te));ae.unshift({days:Sn})}else{const Cn=ae[ae.length-1],Sn=Cn.days[Cn.days.length-1],li=j(rs(Sn.value,1),at(Te));ae.push({days:li})}}return ae},j=(ae,Te)=>{const he=ke(ae),Ae=[];for(let Ne=0;Ne<7;Ne++){const Xt=rs(he,Ne),pn=at(Xt)!==Te;Ae.push({text:t.hideOffsetDates&&pn?"":Xt.getDate(),value:Xt,current:!pn,classData:{}})}return Ae},re=(ae,Te)=>{const he=[],Ae=new Date(Te,ae),Ne=new Date(Te,ae+1,0),Xt=t.weekStart,pn=ps(Ae,{weekStartsOn:Xt}),$i=zs=>{const mn=j(zs,ae);if(he.push({days:mn}),!he[he.length-1].days.some(Cn=>ct(ai(Cn.value),ai(Ne)))){const Cn=rs(zs,7);$i(Cn)}};return $i(pn),oe(he,Ae,Ne,Xt)},Q=ae=>{const Te=to(ke(ae.value),u.hours,u.minutes,je());e("date-update",Te),x.value.enabled?H_(Te,l,x.value.limit):l.value=Te,i(),Rn().then(()=>{J()})},ge=ae=>p.value.noDisabledRange?fS(s.value[0],ae).some(Te=>w(Te)):!1,be=()=>{s.value=l.value?l.value.slice():[],s.value.length===2&&!(p.value.fixedStart||p.value.fixedEnd)&&(s.value=[])},we=(ae,Te)=>{const he=[ke(ae.value),rs(ke(ae.value),+p.value.autoRange)];b(he)?(Te&&Me(ae.value),s.value=he):e("invalid-date",ae.value)},Me=ae=>{const Te=at(ke(ae)),he=Ze(ke(ae));if(R(0,Te,he),f.value.count>0)for(let Ae=1;Ae{if(ge(ae.value)||!C(ae.value,l.value,p.value.fixedStart?0:1))return e("invalid-date",ae.value);s.value=xS(ke(ae.value),l,e,p)},Ye=(ae,Te)=>{if(be(),p.value.autoRange)return we(ae,Te);if(p.value.fixedStart||p.value.fixedEnd)return De(ae);s.value[0]?C(ke(ae.value),l.value)&&!ge(ae.value)?tn(ke(ae.value),ke(s.value[0]))?(s.value.unshift(ke(ae.value)),e("range-end",s.value[0])):(s.value[1]=ke(ae.value),e("range-end",s.value[1])):(t.autoApply&&e("auto-apply-invalid",ae.value),e("invalid-date",ae.value)):(s.value[0]=ke(ae.value),e("range-start",s.value[0]))},je=(ae=!0)=>t.enableSeconds?Array.isArray(u.seconds)?ae?u.seconds[0]:u.seconds[1]:u.seconds:0,nt=ae=>{s.value[ae]=to(s.value[ae],u.hours[ae],u.minutes[ae],je(ae!==1))},et=()=>{var ae,Te;s.value[0]&&s.value[1]&&+((ae=s.value)==null?void 0:ae[0])>+((Te=s.value)==null?void 0:Te[1])&&(s.value.reverse(),e("range-start",s.value[0]),e("range-end",s.value[1]))},Jt=()=>{s.value.length&&(s.value[0]&&!s.value[1]?nt(0):(nt(0),nt(1),i()),et(),l.value=s.value.slice(),kf(s.value,e,t.autoApply,t.modelAuto))},Wt=(ae,Te=!1)=>{if(w(ae.value)||!ae.current&&t.hideOffsetDates)return e("invalid-date",ae.value);if(o.value=JSON.parse(JSON.stringify(ae)),!p.value.enabled)return Q(ae);S0(u.hours)&&S0(u.minutes)&&!x.value.enabled&&(Ye(ae,Te),Jt())},gn=(ae,Te)=>{var he;R(ae,Te.month,Te.year,!0),f.value.count&&!f.value.solo&&de(ae),e("update-month-year",{instance:ae,month:Te.month,year:Te.year}),n(f.value.solo?ae:void 0);const Ae=(he=t.flow)!=null&&he.length?t.flow[t.flowStep]:void 0;!Te.fromNav&&(Ae===jn.month||Ae===jn.year)&&i()},Gt=(ae,Te)=>{wS({value:ae,modelValue:l,range:p.value.enabled,timezone:Te?void 0:v.value.timezone}),W(),t.multiCalendars&&Rn().then(()=>H(!0))},Ci=()=>{const ae=B_(ke(),v.value);p.value.enabled?l.value&&Array.isArray(l.value)&&l.value[0]?l.value=tn(ae,l.value[0])?[ae,l.value[0]]:[l.value[0],ae]:l.value=[ae]:l.value=ae,W()},qi=()=>{if(Array.isArray(l.value))if(x.value.enabled){const ae=Qt();l.value[l.value.length-1]=T(ae)}else l.value=l.value.map((ae,Te)=>ae&&T(ae,Te));else l.value=T(l.value);e("time-update")},Qt=()=>Array.isArray(l.value)&&l.value.length?l.value[l.value.length-1]:null;return{calendars:c,modelValue:l,month:ne,year:N,time:u,disabledTimesConfig:Y,today:d,validateTime:V,getCalendarDays:re,getMarker:K,handleScroll:fe,handleSwipe:O,handleArrow:S,selectDate:Wt,updateMonthYear:gn,presetDate:Gt,selectCurrentDate:Ci,updateTime:(ae,Te=!0,he=!1)=>{k(ae,Te,he,qi)},assignMonthAndYear:ie}},SB={key:0},kB=fn({__name:"DatePicker",props:{..._s},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(t,{expose:e,emit:n}){const i=n,s=t,{calendars:r,month:o,year:a,modelValue:l,time:c,disabledTimesConfig:u,today:d,validateTime:f,getCalendarDays:g,getMarker:p,handleArrow:m,handleScroll:v,handleSwipe:y,selectDate:x,updateMonthYear:E,presetDate:w,selectCurrentDate:b,updateTime:C,assignMonthAndYear:k}=CB(s,i,ce,ie),T=va(),{setHoverDate:A,getDayClassData:I,clearHoverDate:V}=WB(l,s),{defaultedMultiCalendars:Y}=Ut(s),ne=me([]),N=me([]),B=me(null),R=Pi(T,"calendar"),W=Pi(T,"monthYear"),X=Pi(T,"timePicker"),J=fe=>{s.shadow||i("mount",fe)};jt(r,()=>{s.shadow||setTimeout(()=>{i("recalculate-position")},0)},{deep:!0}),jt(Y,(fe,S)=>{fe.count-S.count>0&&k()},{deep:!0});const H=ve(()=>fe=>g(o.value(fe),a.value(fe)).map(S=>({...S,days:S.days.map(O=>(O.marker=p(O),O.classData=I(O),O))})));function ce(fe){var S;fe||fe===0?(S=N.value[fe])==null||S.triggerTransition(o.value(fe),a.value(fe)):N.value.forEach((O,K)=>O.triggerTransition(o.value(K),a.value(K)))}function ie(){i("update-flow-step")}const te=(fe,S=!1)=>{x(fe,S),s.spaceConfirm&&i("select-date")},D=(fe,S,O=0)=>{var K;(K=ne.value[O])==null||K.toggleMonthPicker(fe,S)},ee=(fe,S,O=0)=>{var K;(K=ne.value[O])==null||K.toggleYearPicker(fe,S)},ue=(fe,S,O)=>{var K;(K=B.value)==null||K.toggleTimePicker(fe,S,O)},L=(fe,S)=>{var O;if(!s.range){const K=l.value?l.value:d,U=S?new Date(S):K,oe=fe?ps(U,{weekStartsOn:1}):UC(U,{weekStartsOn:1});x({value:oe,current:at(U)===o.value(0),text:"",classData:{}}),(O=document.getElementById(vS(oe)))==null||O.focus()}},le=fe=>{var S;(S=ne.value[0])==null||S.handleMonthYearChange(fe,!0)},de=fe=>{E(0,{month:o.value(0),year:a.value(0)+(fe?1:-1),fromNav:!0})},xe=(fe,S)=>{fe===jn.time&&i(`time-picker-${S?"open":"close"}`),i("overlay-toggle",{open:S,overlay:fe})},z=fe=>{i("overlay-toggle",{open:!1,overlay:fe}),i("focus-menu")};return e({clearHoverDate:V,presetDate:w,selectCurrentDate:b,toggleMonthPicker:D,toggleYearPicker:ee,toggleTimePicker:ue,handleArrow:m,updateMonthYear:E,getSidebarProps:()=>({modelValue:l,month:o,year:a,time:c,updateTime:C,updateMonthYear:E,selectDate:x,presetDate:w}),changeMonth:le,changeYear:de,selectWeekDate:L}),(fe,S)=>(P(),F(Ie,null,[$(Sf,{"multi-calendars":Z(Y).count,collapse:fe.collapse},{default:Pe(({instance:O,index:K})=>[fe.disableMonthYearSelect?se("",!0):(P(),Ce(mB,xn({key:0,ref:U=>{U&&(ne.value[K]=U)},months:Z(aS)(fe.formatLocale,fe.locale,fe.monthNameFormat),years:Z(V_)(fe.yearRange,fe.locale,fe.reverseYears),month:Z(o)(O),year:Z(a)(O),instance:O},fe.$props,{onMount:S[0]||(S[0]=U=>J(Z(ia).header)),onResetFlow:S[1]||(S[1]=U=>fe.$emit("reset-flow")),onUpdateMonthYear:U=>Z(E)(O,U),onOverlayClosed:z,onOverlayOpened:S[2]||(S[2]=U=>fe.$emit("overlay-toggle",{open:!0,overlay:U}))}),Xn({_:2},[Ge(Z(W),(U,oe)=>({name:U,fn:Pe(j=>[Fe(fe.$slots,U,In(ii(j)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),$(EB,xn({ref:U=>{U&&(N.value[K]=U)},"mapped-dates":H.value(O),month:Z(o)(O),year:Z(a)(O),instance:O},fe.$props,{onSelectDate:U=>Z(x)(U,O!==1),onHandleSpace:U=>te(U,O!==1),onSetHoverDate:S[3]||(S[3]=U=>Z(A)(U)),onHandleScroll:U=>Z(v)(U,O),onHandleSwipe:U=>Z(y)(U,O),onMount:S[4]||(S[4]=U=>J(Z(ia).calendar)),onResetFlow:S[5]||(S[5]=U=>fe.$emit("reset-flow")),onTooltipOpen:S[6]||(S[6]=U=>fe.$emit("tooltip-open",U)),onTooltipClose:S[7]||(S[7]=U=>fe.$emit("tooltip-close",U))}),Xn({_:2},[Ge(Z(R),(U,oe)=>({name:U,fn:Pe(j=>[Fe(fe.$slots,U,In(ii({...j})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),fe.enableTimePicker?(P(),F("div",SB,[fe.$slots["time-picker"]?Fe(fe.$slots,"time-picker",In(xn({key:0},{time:Z(c),updateTime:Z(C)}))):(P(),Ce(CS,xn({key:1,ref_key:"timePickerRef",ref:B},fe.$props,{hours:Z(c).hours,minutes:Z(c).minutes,seconds:Z(c).seconds,"internal-model-value":fe.internalModelValue,"disabled-times-config":Z(u),"validate-time":Z(f),onMount:S[8]||(S[8]=O=>J(Z(ia).timePicker)),"onUpdate:hours":S[9]||(S[9]=O=>Z(C)(O)),"onUpdate:minutes":S[10]||(S[10]=O=>Z(C)(O,!1)),"onUpdate:seconds":S[11]||(S[11]=O=>Z(C)(O,!1,!0)),onResetFlow:S[12]||(S[12]=O=>fe.$emit("reset-flow")),onOverlayClosed:S[13]||(S[13]=O=>xe(O,!1)),onOverlayOpened:S[14]||(S[14]=O=>xe(O,!0)),onAmPmChange:S[15]||(S[15]=O=>fe.$emit("am-pm-change",O))}),Xn({_:2},[Ge(Z(X),(O,K)=>({name:O,fn:Pe(U=>[Fe(fe.$slots,O,In(ii(U)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):se("",!0)],64))}}),TB=(t,e)=>{const n=me(),{defaultedMultiCalendars:i,defaultedConfig:s,defaultedHighlight:r,defaultedRange:o,propDates:a,defaultedFilters:l,defaultedMultiDates:c}=Ut(t),{modelValue:u,year:d,month:f,calendars:g}=Hu(t,e),{isDisabled:p}=bo(t),{selectYear:m,groupedYears:v,showYearPicker:y,isDisabled:x,toggleYearPicker:E,handleYearSelect:w,handleYear:b}=ES({modelValue:u,multiCalendars:i,range:o,highlight:r,calendars:g,propDates:a,month:f,year:d,filters:l,props:t,emit:e}),C=(B,R)=>[B,R].map(W=>Ls(W,"MMMM",{locale:t.formatLocale})).join("-"),k=ve(()=>B=>u.value?Array.isArray(u.value)?u.value.some(R=>m0(B,R)):m0(u.value,B):!1),T=B=>{if(o.value.enabled){if(Array.isArray(u.value)){const R=ct(B,u.value[0])||ct(B,u.value[1]);return Ef(u.value,n.value,B)&&!R}return!1}return!1},A=(B,R)=>B.quarter===u0(R)&&B.year===Ze(R),I=B=>typeof r.value=="function"?r.value({quarter:u0(B),year:Ze(B)}):!!r.value.quarters.find(R=>A(R,B)),V=ve(()=>B=>{const R=Dt(new Date,{year:d.value(B)});return aF({start:lu(R),end:KC(R)}).map(W=>{const X=Xo(W),J=d0(W),H=p(W),ce=T(X),ie=I(X);return{text:C(X,J),value:X,active:k.value(X),highlighted:ie,disabled:H,isBetween:ce}})}),Y=B=>{H_(B,u,c.value.limit),e("auto-apply",!0)},ne=B=>{u.value=j_(u,B,e),kf(u.value,e,t.autoApply,t.modelAuto)},N=B=>{u.value=B,e("auto-apply")};return{defaultedConfig:s,defaultedMultiCalendars:i,groupedYears:v,year:d,isDisabled:x,quarters:V,showYearPicker:y,modelValue:u,setHoverDate:B=>{n.value=B},selectYear:m,selectQuarter:(B,R,W)=>{if(!W)return g.value[R].month=at(d0(B)),c.value.enabled?Y(B):o.value.enabled?ne(B):N(B)},toggleYearPicker:E,handleYearSelect:w,handleYear:b}},AB={class:"dp--quarter-items"},PB=["data-test","disabled","onClick","onMouseover"],MB=fn({compatConfig:{MODE:3},__name:"QuarterPicker",props:{..._s},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end","overlay-toggle","update-month-year"],setup(t,{expose:e,emit:n}){const i=n,s=t,r=va(),o=Pi(r,"yearMode"),{defaultedMultiCalendars:a,defaultedConfig:l,groupedYears:c,year:u,isDisabled:d,quarters:f,modelValue:g,showYearPicker:p,setHoverDate:m,selectQuarter:v,toggleYearPicker:y,handleYearSelect:x,handleYear:E}=TB(s,i);return e({getSidebarProps:()=>({modelValue:g,year:u,selectQuarter:v,handleYearSelect:x,handleYear:E})}),(w,b)=>(P(),Ce(Sf,{"multi-calendars":Z(a).count,collapse:w.collapse,stretch:""},{default:Pe(({instance:C})=>[h("div",{class:"dp-quarter-picker-wrap",style:Mn({minHeight:`${Z(l).modeHeight}px`})},[w.$slots["top-extra"]?Fe(w.$slots,"top-extra",{key:0,value:w.internalModelValue}):se("",!0),h("div",null,[$(bS,xn(w.$props,{items:Z(c)(C),instance:C,"show-year-picker":Z(p)[C],year:Z(u)(C),"is-disabled":k=>Z(d)(C,k),onHandleYear:k=>Z(E)(C,k),onYearSelect:k=>Z(x)(k,C),onToggleYearPicker:k=>Z(y)(C,k?.flow,k?.show)}),Xn({_:2},[Ge(Z(o),(k,T)=>({name:k,fn:Pe(A=>[Fe(w.$slots,k,In(ii(A)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),h("div",AB,[(P(!0),F(Ie,null,Ge(Z(f)(C),(k,T)=>(P(),F("div",{key:T},[h("button",{type:"button",class:Ee(["dp--qr-btn",{"dp--qr-btn-active":k.active,"dp--qr-btn-between":k.isBetween,"dp--qr-btn-disabled":k.disabled,"dp--highlighted":k.highlighted}]),"data-test":k.value,disabled:k.disabled,onClick:A=>Z(v)(k.value,C,k.disabled),onMouseover:A=>Z(m)(k.value)},[w.$slots.quarter?Fe(w.$slots,"quarter",{key:0,value:k.value,text:k.text}):(P(),F(Ie,{key:1},[Be(pe(k.text),1)],64))],42,PB)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),IB=["id","tabindex","role","aria-label"],DB={key:0,class:"dp--menu-load-container"},RB={key:1,class:"dp--menu-header"},$B={key:0,class:"dp__sidebar_left"},LB=["data-test","onClick","onKeydown"],OB={key:2,class:"dp__sidebar_right"},NB={key:3,class:"dp__action_extra"},k0=fn({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Cf,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(t,{expose:e,emit:n}){const i=n,s=t,r=me(null),o=ve(()=>{const{openOnTop:j,...re}=s;return{...re,flowStep:A.value,collapse:s.collapse,noOverlayFocus:s.noOverlayFocus,menuWrapRef:r.value}}),{setMenuFocused:a,setShiftKey:l,control:c}=yS(),u=va(),{defaultedTextInput:d,defaultedInline:f,defaultedConfig:g,defaultedUI:p}=Ut(s),m=me(null),v=me(0),y=me(null),x=me(!1),E=me(null);Vt(()=>{if(!s.shadow){x.value=!0,w(),window.addEventListener("resize",w);const j=bn(r);if(j&&!d.value.enabled&&!f.value.enabled&&(a(!0),R()),j){const re=Q=>{g.value.allowPreventDefault&&Q.preventDefault(),eo(Q,g.value,!0)};j.addEventListener("pointerdown",re),j.addEventListener("mousedown",re)}}}),_o(()=>{window.removeEventListener("resize",w)});const w=()=>{const j=bn(y);j&&(v.value=j.getBoundingClientRect().width)},{arrowRight:b,arrowLeft:C,arrowDown:k,arrowUp:T}=yo(),{flowStep:A,updateFlowStep:I,childMount:V,resetFlow:Y,handleFlow:ne}=zB(s,i,E),N=ve(()=>s.monthPicker?X4:s.yearPicker?Z4:s.timePicker?uB:s.quarterPicker?MB:kB),B=ve(()=>{var j;if(g.value.arrowLeft)return g.value.arrowLeft;const re=(j=r.value)==null?void 0:j.getBoundingClientRect(),Q=s.getInputRect();return Q?.width=(re?.right??0)&&Q?.width{const j=bn(r);j&&j.focus({preventScroll:!0})},W=ve(()=>{var j;return((j=E.value)==null?void 0:j.getSidebarProps())||{}}),X=()=>{s.openOnTop&&i("recalculate-position")},J=Pi(u,"action"),H=ve(()=>s.monthPicker||s.yearPicker?Pi(u,"monthYear"):s.timePicker?Pi(u,"timePicker"):Pi(u,"shared")),ce=ve(()=>s.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),ie=ve(()=>({dp__menu_disabled:s.disabled,dp__menu_readonly:s.readonly,"dp-menu-loading":s.loading})),te=ve(()=>({dp__menu:!0,dp__menu_index:!f.value.enabled,dp__relative:f.value.enabled,...p.value.menu??{}})),D=j=>{eo(j,g.value,!0)},ee=()=>{s.escClose&&i("close-picker")},ue=j=>{if(s.arrowNavigation){if(j===Qn.up)return T();if(j===Qn.down)return k();if(j===Qn.left)return C();if(j===Qn.right)return b()}else j===Qn.left||j===Qn.up?z("handleArrow",Qn.left,0,j===Qn.up):z("handleArrow",Qn.right,0,j===Qn.down)},L=j=>{l(j.shiftKey),!s.disableMonthYearSelect&&j.code===Nt.tab&&j.target.classList.contains("dp__menu")&&c.value.shiftKeyInMenu&&(j.preventDefault(),eo(j,g.value,!0),i("close-picker"))},le=()=>{R(),i("time-picker-close")},de=j=>{var re,Q,ge;(re=E.value)==null||re.toggleTimePicker(!1,!1),(Q=E.value)==null||Q.toggleMonthPicker(!1,!1,j),(ge=E.value)==null||ge.toggleYearPicker(!1,!1,j)},xe=(j,re=0)=>{var Q,ge,be;return j==="month"?(Q=E.value)==null?void 0:Q.toggleMonthPicker(!1,!0,re):j==="year"?(ge=E.value)==null?void 0:ge.toggleYearPicker(!1,!0,re):j==="time"?(be=E.value)==null?void 0:be.toggleTimePicker(!0,!1):de(re)},z=(j,...re)=>{var Q,ge;(Q=E.value)!=null&&Q[j]&&((ge=E.value)==null||ge[j](...re))},fe=()=>{z("selectCurrentDate")},S=(j,re)=>{z("presetDate",j,re)},O=()=>{z("clearHoverDate")},K=(j,re)=>{z("updateMonthYear",j,re)},U=(j,re)=>{j.preventDefault(),ue(re)},oe=j=>{var re,Q,ge;if(L(j),j.key===Nt.home||j.key===Nt.end)return z("selectWeekDate",j.key===Nt.home,j.target.getAttribute("id"));switch((j.key===Nt.pageUp||j.key===Nt.pageDown)&&(j.shiftKey?(z("changeYear",j.key===Nt.pageUp),(re=rm(r.value,"overlay-year"))==null||re.focus()):(z("changeMonth",j.key===Nt.pageUp),(Q=rm(r.value,j.key===Nt.pageUp?"action-prev":"action-next"))==null||Q.focus()),j.target.getAttribute("id")&&((ge=r.value)==null||ge.focus({preventScroll:!0}))),j.key){case Nt.esc:return ee();case Nt.arrowLeft:return U(j,Qn.left);case Nt.arrowRight:return U(j,Qn.right);case Nt.arrowUp:return U(j,Qn.up);case Nt.arrowDown:return U(j,Qn.down);default:return}};return e({updateMonthYear:K,switchView:xe,handleFlow:ne}),(j,re)=>{var Q,ge,be;return P(),F("div",{id:j.uid?`dp-menu-${j.uid}`:void 0,ref_key:"dpMenuRef",ref:r,tabindex:Z(f).enabled?void 0:"0",role:Z(f).enabled?void 0:"dialog","aria-label":(Q=j.ariaLabels)==null?void 0:Q.menu,class:Ee(te.value),style:Mn({"--dp-arrow-left":B.value}),onMouseleave:O,onClick:D,onKeydown:oe},[(j.disabled||j.readonly)&&Z(f).enabled||j.loading?(P(),F("div",{key:0,class:Ee(ie.value)},[j.loading?(P(),F("div",DB,re[19]||(re[19]=[h("span",{class:"dp--menu-loader"},null,-1)]))):se("",!0)],2)):se("",!0),j.$slots["menu-header"]?(P(),F("div",RB,[Fe(j.$slots,"menu-header")])):se("",!0),!Z(f).enabled&&!j.teleportCenter?(P(),F("div",{key:2,class:Ee(ce.value)},null,2)):se("",!0),h("div",{ref_key:"innerMenuRef",ref:y,class:Ee({dp__menu_content_wrapper:((ge=j.presetDates)==null?void 0:ge.length)||!!j.$slots["left-sidebar"]||!!j.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":t.collapse&&(((be=j.presetDates)==null?void 0:be.length)||!!j.$slots["left-sidebar"]||!!j.$slots["right-sidebar"])}),style:Mn({"--dp-menu-width":`${v.value}px`})},[j.$slots["left-sidebar"]?(P(),F("div",$B,[Fe(j.$slots,"left-sidebar",In(ii(W.value)))])):se("",!0),j.presetDates.length?(P(),F("div",{key:1,class:Ee({"dp--preset-dates-collapsed":t.collapse,"dp--preset-dates":!0})},[(P(!0),F(Ie,null,Ge(j.presetDates,(we,Me)=>(P(),F(Ie,{key:Me},[we.slot?Fe(j.$slots,we.slot,{key:0,presetDate:S,label:we.label,value:we.value}):(P(),F("button",{key:1,type:"button",style:Mn(we.style||{}),class:Ee(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":t.collapse}]),"data-test":we.testId??void 0,onClick:ru(De=>S(we.value,we.noTz),["prevent"]),onKeydown:De=>Z(si)(De,()=>S(we.value,we.noTz),!0)},pe(we.label),47,LB))],64))),128))],2)):se("",!0),h("div",{ref_key:"calendarWrapperRef",ref:m,class:"dp__instance_calendar",role:"document"},[(P(),Ce(_a(N.value),xn({ref_key:"dynCmpRef",ref:E},o.value,{"flow-step":Z(A),onMount:Z(V),onUpdateFlowStep:Z(I),onResetFlow:Z(Y),onFocusMenu:R,onSelectDate:re[0]||(re[0]=we=>j.$emit("select-date")),onDateUpdate:re[1]||(re[1]=we=>j.$emit("date-update",we)),onTooltipOpen:re[2]||(re[2]=we=>j.$emit("tooltip-open",we)),onTooltipClose:re[3]||(re[3]=we=>j.$emit("tooltip-close",we)),onAutoApply:re[4]||(re[4]=we=>j.$emit("auto-apply",we)),onRangeStart:re[5]||(re[5]=we=>j.$emit("range-start",we)),onRangeEnd:re[6]||(re[6]=we=>j.$emit("range-end",we)),onInvalidFixedRange:re[7]||(re[7]=we=>j.$emit("invalid-fixed-range",we)),onTimeUpdate:re[8]||(re[8]=we=>j.$emit("time-update")),onAmPmChange:re[9]||(re[9]=we=>j.$emit("am-pm-change",we)),onTimePickerOpen:re[10]||(re[10]=we=>j.$emit("time-picker-open",we)),onTimePickerClose:le,onRecalculatePosition:X,onUpdateMonthYear:re[11]||(re[11]=we=>j.$emit("update-month-year",we)),onAutoApplyInvalid:re[12]||(re[12]=we=>j.$emit("auto-apply-invalid",we)),onInvalidDate:re[13]||(re[13]=we=>j.$emit("invalid-date",we)),onOverlayToggle:re[14]||(re[14]=we=>j.$emit("overlay-toggle",we)),"onUpdate:internalModelValue":re[15]||(re[15]=we=>j.$emit("update:internal-model-value",we))}),Xn({_:2},[Ge(H.value,(we,Me)=>({name:we,fn:Pe(De=>[Fe(j.$slots,we,In(ii({...De})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),j.$slots["right-sidebar"]?(P(),F("div",OB,[Fe(j.$slots,"right-sidebar",In(ii(W.value)))])):se("",!0),j.$slots["action-extra"]?(P(),F("div",NB,[j.$slots["action-extra"]?Fe(j.$slots,"action-extra",{key:0,selectCurrentDate:fe}):se("",!0)])):se("",!0)],6),!j.autoApply||Z(g).keepActionRow?(P(),Ce(W4,xn({key:3,"menu-mount":x.value},o.value,{"calendar-width":v.value,onClosePicker:re[16]||(re[16]=we=>j.$emit("close-picker")),onSelectDate:re[17]||(re[17]=we=>j.$emit("select-date")),onInvalidSelect:re[18]||(re[18]=we=>j.$emit("invalid-select")),onSelectNow:fe}),Xn({_:2},[Ge(Z(J),(we,Me)=>({name:we,fn:Pe(De=>[Fe(j.$slots,we,In(ii({...De})))])}))]),1040,["menu-mount","calendar-width"])):se("",!0)],46,IB)}}});var qa=(t=>(t.center="center",t.left="left",t.right="right",t))(qa||{});const FB=({menuRef:t,menuRefInner:e,inputRef:n,pickerWrapperRef:i,inline:s,emit:r,props:o,slots:a})=>{const{defaultedConfig:l}=Ut(o),c=me({}),u=me(!1),d=me({top:"0",left:"0"}),f=me(!1),g=tu(o,"teleportCenter");jt(g,()=>{d.value=JSON.parse(JSON.stringify({})),b()});const p=R=>{if(o.teleport){const W=R.getBoundingClientRect();return{left:W.left+window.scrollX,top:W.top+window.scrollY}}return{top:0,left:0}},m=(R,W)=>{d.value.left=`${R+W-c.value.width}px`},v=R=>{d.value.left=`${R}px`},y=(R,W)=>{o.position===qa.left&&v(R),o.position===qa.right&&m(R,W),o.position===qa.center&&(d.value.left=`${R+W/2-c.value.width/2}px`)},x=R=>{const{width:W,height:X}=R.getBoundingClientRect(),{top:J,left:H}=o.altPosition?o.altPosition(R):p(R);return{top:+J,left:+H,width:W,height:X}},E=()=>{d.value.left="50%",d.value.top="50%",d.value.transform="translate(-50%, -50%)",d.value.position="fixed",delete d.value.opacity},w=()=>{const R=bn(n),{top:W,left:X,transform:J}=o.altPosition(R);d.value={top:`${W}px`,left:`${X}px`,transform:J??""}},b=(R=!0)=>{var W;if(!s.value.enabled){if(g.value)return E();if(o.altPosition!==null)return w();if(R){const X=o.teleport?(W=e.value)==null?void 0:W.$el:t.value;X&&(c.value=X.getBoundingClientRect()),r("recalculate-position")}return Y()}},C=({inputEl:R,left:W,width:X})=>{window.screen.width>768&&!u.value&&y(W,X),A(R)},k=R=>{const{top:W,left:X,height:J,width:H}=x(R);d.value.top=`${J+W+ +o.offset}px`,f.value=!1,u.value||(d.value.left=`${X+H/2-c.value.width/2}px`),C({inputEl:R,left:X,width:H})},T=R=>{const{top:W,left:X,width:J}=x(R);d.value.top=`${W-+o.offset-c.value.height}px`,f.value=!0,C({inputEl:R,left:X,width:J})},A=R=>{if(o.autoPosition){const{left:W,width:X}=x(R),{left:J,right:H}=c.value;if(!u.value){if(Math.abs(J)!==Math.abs(H)){if(J<=0)return u.value=!0,v(W);if(H>=document.documentElement.clientWidth)return u.value=!0,m(W,X)}return y(W,X)}}},I=()=>{const R=bn(n);if(R){const{height:W}=c.value,{top:X,height:J}=R.getBoundingClientRect(),H=window.innerHeight-X-J,ce=X;return W<=H?Ho.bottom:W>H&&W<=ce?Ho.top:H>=ce?Ho.bottom:Ho.top}return Ho.bottom},V=R=>I()===Ho.bottom?k(R):T(R),Y=()=>{const R=bn(n);if(R)return o.autoPosition?V(R):k(R)},ne=function(R){if(R){const W=R.scrollHeight>R.clientHeight,X=window.getComputedStyle(R).overflowY.indexOf("hidden")!==-1;return W&&!X}return!0},N=function(R){return!R||R===document.body||R.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:ne(R)?R:N(R.assignedSlot&&l.value.shadowDom?R.assignedSlot.parentNode:R.parentNode)},B=R=>{if(R)switch(o.position){case qa.left:return{left:0,transform:"translateX(0)"};case qa.right:return{left:`${R.width}px`,transform:"translateX(-100%)"};default:return{left:`${R.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:f,menuStyle:d,xCorrect:u,setMenuPosition:b,getScrollableParent:N,shadowRender:(R,W)=>{var X,J,H;const ce=document.createElement("div"),ie=(X=bn(n))==null?void 0:X.getBoundingClientRect();ce.setAttribute("id","dp--temp-container");const te=(J=i.value)!=null&&J.clientWidth?i.value:document.body;te.append(ce);const D=B(ie),ee=l.value.shadowDom?Object.keys(a).filter(L=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(L)):Object.keys(a),ue=ha(R,{...W,shadow:!0,style:{opacity:0,position:"absolute",...D}},Object.fromEntries(ee.map(L=>[L,a[L]])));Fb(ue,ce),c.value=(H=ue.el)==null?void 0:H.getBoundingClientRect(),Fb(null,ce),te.removeChild(ce)}}},Mr=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"hours-overlay-header",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-header",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-header",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]},{name:"top-extra",use:["shared","month-year"]},{name:"tp-inline-arrow-up",use:["shared","time"]},{name:"tp-inline-arrow-down",use:["shared","time"]},{name:"menu-header",use:["menu"]}],BB=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],VB={all:()=>Mr,monthYear:()=>Mr.filter(t=>t.use.includes("month-year")),input:()=>BB,timePicker:()=>Mr.filter(t=>t.use.includes("time")),action:()=>Mr.filter(t=>t.use.includes("action")),calendar:()=>Mr.filter(t=>t.use.includes("calendar")),menu:()=>Mr.filter(t=>t.use.includes("menu")),shared:()=>Mr.filter(t=>t.use.includes("shared")),yearMode:()=>Mr.filter(t=>t.use.includes("year-mode"))},Pi=(t,e,n)=>{const i=[];return VB[e]().forEach(s=>{t[s.name]&&i.push(s.name)}),n!=null&&n.length&&n.forEach(s=>{s.slot&&i.push(s.slot)}),i},Yu=t=>{const e=ve(()=>i=>t.value?i?t.value.open:t.value.close:""),n=ve(()=>i=>t.value?i?t.value.menuAppearTop:t.value.menuAppearBottom:"");return{transitionName:e,showTransition:!!t.value,menuTransition:n}},Hu=(t,e,n)=>{const{defaultedRange:i,defaultedTz:s}=Ut(t),r=ke(xi(ke(),s.value.timezone)),o=me([{month:at(r),year:Ze(r)}]),a=f=>{const g={hours:vr(r),minutes:ao(r),seconds:0};return i.value.enabled?[g[f],g[f]]:g[f]},l=Ei({hours:a("hours"),minutes:a("minutes"),seconds:a("seconds")});jt(i,(f,g)=>{f.enabled!==g.enabled&&(l.hours=a("hours"),l.minutes=a("minutes"),l.seconds=a("seconds"))},{deep:!0});const c=ve({get:()=>t.internalModelValue,set:f=>{!t.readonly&&!t.disabled&&e("update:internal-model-value",f)}}),u=ve(()=>f=>o.value[f]?o.value[f].month:0),d=ve(()=>f=>o.value[f]?o.value[f].year:0);return jt(c,(f,g)=>{n&&JSON.stringify(f??{})!==JSON.stringify(g??{})&&n()},{deep:!0}),{calendars:o,time:l,modelValue:c,month:u,year:d,today:r}},WB=(t,e)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:i,defaultedUI:s,defaultedHighlight:r,defaultedTz:o,propDates:a,defaultedRange:l}=Ut(e),{isDisabled:c}=bo(e),u=me(null),d=me(xi(new Date,o.value.timezone)),f=D=>{!D.current&&e.hideOffsetDates||(u.value=D.value)},g=()=>{u.value=null},p=D=>Array.isArray(t.value)&&l.value.enabled&&t.value[0]&&u.value?D?ln(u.value,t.value[0]):tn(u.value,t.value[0]):!0,m=(D,ee)=>{const ue=()=>t.value?ee?t.value[0]||null:t.value[1]:null,L=t.value&&Array.isArray(t.value)?ue():null;return ct(ke(D.value),L)},v=D=>{const ee=Array.isArray(t.value)?t.value[0]:null;return D?!tn(u.value??null,ee):!0},y=(D,ee=!0)=>(l.value.enabled||e.weekPicker)&&Array.isArray(t.value)&&t.value.length===2?e.hideOffsetDates&&!D.current?!1:ct(ke(D.value),t.value[ee?0:1]):l.value.enabled?m(D,ee)&&v(ee)||ct(D.value,Array.isArray(t.value)?t.value[0]:null)&&p(ee):!1,x=(D,ee)=>{if(Array.isArray(t.value)&&t.value[0]&&t.value.length===1){const ue=ct(D.value,u.value);return ee?ln(t.value[0],D.value)&&ue:tn(t.value[0],D.value)&&ue}return!1},E=D=>!t.value||e.hideOffsetDates&&!D.current?!1:l.value.enabled?e.modelAuto&&Array.isArray(t.value)?ct(D.value,t.value[0]?t.value[0]:d.value):!1:i.value.enabled&&Array.isArray(t.value)?t.value.some(ee=>ct(ee,D.value)):ct(D.value,t.value?t.value:d.value),w=D=>{if(l.value.autoRange||e.weekPicker){if(u.value){if(e.hideOffsetDates&&!D.current)return!1;const ee=rs(u.value,+l.value.autoRange),ue=nr(ke(u.value),e.weekStart);return e.weekPicker?ct(ue[1],ke(D.value)):ct(ee,ke(D.value))}return!1}return!1},b=D=>{if(l.value.autoRange||e.weekPicker){if(u.value){const ee=rs(u.value,+l.value.autoRange);if(e.hideOffsetDates&&!D.current)return!1;const ue=nr(ke(u.value),e.weekStart);return e.weekPicker?ln(D.value,ue[0])&&tn(D.value,ue[1]):ln(D.value,u.value)&&tn(D.value,ee)}return!1}return!1},C=D=>{if(l.value.autoRange||e.weekPicker){if(u.value){if(e.hideOffsetDates&&!D.current)return!1;const ee=nr(ke(u.value),e.weekStart);return e.weekPicker?ct(ee[0],D.value):ct(u.value,D.value)}return!1}return!1},k=D=>Ef(t.value,u.value,D.value),T=()=>e.modelAuto&&Array.isArray(e.internalModelValue)?!!e.internalModelValue[0]:!1,A=()=>e.modelAuto?lS(e.internalModelValue):!0,I=D=>{if(e.weekPicker)return!1;const ee=l.value.enabled?!y(D)&&!y(D,!1):!0;return!c(D.value)&&!E(D)&&!(!D.current&&e.hideOffsetDates)&&ee},V=D=>l.value.enabled?e.modelAuto?T()&&E(D):!1:E(D),Y=D=>r.value?h4(D.value,a.value.highlight):!1,ne=D=>{const ee=c(D.value);return ee&&(typeof r.value=="function"?!r.value(D.value,ee):!r.value.options.highlightDisabled)},N=D=>{var ee;return typeof r.value=="function"?r.value(D.value):(ee=r.value.weekdays)==null?void 0:ee.includes(D.value.getDay())},B=D=>(l.value.enabled||e.weekPicker)&&(!(n.value.count>0)||D.current)&&A()&&!(!D.current&&e.hideOffsetDates)&&!E(D)?k(D):!1,R=D=>{const{isRangeStart:ee,isRangeEnd:ue}=H(D),L=l.value.enabled?ee||ue:!1;return{dp__cell_offset:!D.current,dp__pointer:!e.disabled&&!(!D.current&&e.hideOffsetDates)&&!c(D.value),dp__cell_disabled:c(D.value),dp__cell_highlight:!ne(D)&&(Y(D)||N(D))&&!V(D)&&!L&&!C(D)&&!(B(D)&&e.weekPicker)&&!ue,dp__cell_highlight_active:!ne(D)&&(Y(D)||N(D))&&V(D),dp__today:!e.noToday&&ct(D.value,d.value)&&D.current,"dp--past":tn(D.value,d.value),"dp--future":ln(D.value,d.value)}},W=D=>({dp__active_date:V(D),dp__date_hover:I(D)}),X=D=>{if(t.value&&!Array.isArray(t.value)){const ee=nr(t.value,e.weekStart);return{...ie(D),dp__range_start:ct(ee[0],D.value),dp__range_end:ct(ee[1],D.value),dp__range_between_week:ln(D.value,ee[0])&&tn(D.value,ee[1])}}return{...ie(D)}},J=D=>{if(t.value&&Array.isArray(t.value)){const ee=nr(t.value[0],e.weekStart),ue=t.value[1]?nr(t.value[1],e.weekStart):[];return{...ie(D),dp__range_start:ct(ee[0],D.value)||ct(ue[0],D.value),dp__range_end:ct(ee[1],D.value)||ct(ue[1],D.value),dp__range_between_week:ln(D.value,ee[0])&&tn(D.value,ee[1])||ln(D.value,ue[0])&&tn(D.value,ue[1]),dp__range_between:ln(D.value,ee[1])&&tn(D.value,ue[0])}}return{...ie(D)}},H=D=>{const ee=n.value.count>0?D.current&&y(D)&&A():y(D)&&A(),ue=n.value.count>0?D.current&&y(D,!1)&&A():y(D,!1)&&A();return{isRangeStart:ee,isRangeEnd:ue}},ce=D=>{const{isRangeStart:ee,isRangeEnd:ue}=H(D);return{dp__range_start:ee,dp__range_end:ue,dp__range_between:B(D),dp__date_hover:ct(D.value,u.value)&&!ee&&!ue&&!e.weekPicker,dp__date_hover_start:x(D,!0),dp__date_hover_end:x(D,!1)}},ie=D=>({...ce(D),dp__cell_auto_range:b(D),dp__cell_auto_range_start:C(D),dp__cell_auto_range_end:w(D)}),te=D=>l.value.enabled?l.value.autoRange?ie(D):e.modelAuto?{...W(D),...ce(D)}:e.weekPicker?J(D):ce(D):e.weekPicker?X(D):W(D);return{setHoverDate:f,clearHoverDate:g,getDayClassData:D=>e.hideOffsetDates&&!D.current?{}:{...R(D),...te(D),[e.dayClass?e.dayClass(D.value,e.internalModelValue):""]:!0,...s.value.calendarCell??{}}}},bo=t=>{const{defaultedFilters:e,defaultedRange:n,propDates:i,defaultedMultiDates:s}=Ut(t),r=N=>i.value.disabledDates?typeof i.value.disabledDates=="function"?i.value.disabledDates(ke(N)):!!Th(N,i.value.disabledDates):!1,o=N=>i.value.maxDate?t.yearPicker?Ze(N)>Ze(i.value.maxDate):ln(N,i.value.maxDate):!1,a=N=>i.value.minDate?t.yearPicker?Ze(N){const B=o(N),R=a(N),W=r(N),X=e.value.months.map(te=>+te).includes(at(N)),J=t.disabledWeekDays.length?t.disabledWeekDays.some(te=>+te===e5(N)):!1,H=g(N),ce=Ze(N),ie=ce<+t.yearRange[0]||ce>+t.yearRange[1];return!(B||R||W||X||ie||J||H)},c=(N,B)=>tn(...Kr(i.value.minDate,N,B))||ct(...Kr(i.value.minDate,N,B)),u=(N,B)=>ln(...Kr(i.value.maxDate,N,B))||ct(...Kr(i.value.maxDate,N,B)),d=(N,B,R)=>{let W=!1;return i.value.maxDate&&R&&u(N,B)&&(W=!0),i.value.minDate&&!R&&c(N,B)&&(W=!0),W},f=(N,B,R,W)=>{let X=!1;return W&&(i.value.minDate||i.value.maxDate)?i.value.minDate&&i.value.maxDate?X=d(N,B,R):(i.value.minDate&&c(N,B)||i.value.maxDate&&u(N,B))&&(X=!0):X=!0,X},g=N=>Array.isArray(i.value.allowedDates)&&!i.value.allowedDates.length?!0:i.value.allowedDates?!Th(N,i.value.allowedDates):!1,p=N=>!l(N),m=N=>n.value.noDisabledRange?!jC({start:N[0],end:N[1]}).some(B=>p(B)):!0,v=N=>{if(N){const B=Ze(N);return B>=+t.yearRange[0]&&B<=t.yearRange[1]}return!0},y=(N,B)=>!!(Array.isArray(N)&&N[B]&&(n.value.maxRange||n.value.minRange)&&v(N[B])),x=(N,B,R=0)=>{if(y(B,R)&&v(N)){const W=YC(N,B[R]),X=fS(B[R],N),J=X.length===1?0:X.filter(ce=>p(ce)).length,H=Math.abs(W)-(n.value.minMaxRawRange?0:J);if(n.value.minRange&&n.value.maxRange)return H>=+n.value.minRange&&H<=+n.value.maxRange;if(n.value.minRange)return H>=+n.value.minRange;if(n.value.maxRange)return H<=+n.value.maxRange}return!0},E=()=>!t.enableTimePicker||t.monthPicker||t.yearPicker||t.ignoreTimeValidation,w=N=>Array.isArray(N)?[N[0]?Bg(N[0]):null,N[1]?Bg(N[1]):null]:Bg(N),b=(N,B,R)=>N.find(W=>+W.hours===vr(B)&&W.minutes==="*"?!0:+W.minutes===ao(B)&&+W.hours===vr(B))&&R,C=(N,B,R)=>{const[W,X]=N,[J,H]=B;return!b(W,J,R)&&!b(X,H,R)&&R},k=(N,B)=>{const R=Array.isArray(B)?B:[B];return Array.isArray(t.disabledTimes)?Array.isArray(t.disabledTimes[0])?C(t.disabledTimes,R,N):!R.some(W=>b(t.disabledTimes,W,N)):N},T=(N,B)=>{const R=Array.isArray(B)?[sa(B[0]),B[1]?sa(B[1]):void 0]:sa(B),W=!t.disabledTimes(R);return N&&W},A=(N,B)=>t.disabledTimes?Array.isArray(t.disabledTimes)?k(B,N):T(B,N):B,I=N=>{let B=!0;if(!N||E())return!0;const R=!i.value.minDate&&!i.value.maxDate?w(N):N;return(t.maxTime||i.value.maxDate)&&(B=x0(t.maxTime,i.value.maxDate,"max",Tn(R),B)),(t.minTime||i.value.minDate)&&(B=x0(t.minTime,i.value.minDate,"min",Tn(R),B)),A(N,B)},V=N=>{if(!t.monthPicker)return!0;let B=!0;const R=ke(os(N));if(i.value.minDate&&i.value.maxDate){const W=ke(os(i.value.minDate)),X=ke(os(i.value.maxDate));return ln(R,W)&&tn(R,X)||ct(R,W)||ct(R,X)}if(i.value.minDate){const W=ke(os(i.value.minDate));B=ln(R,W)||ct(R,W)}if(i.value.maxDate){const W=ke(os(i.value.maxDate));B=tn(R,W)||ct(R,W)}return B},Y=ve(()=>N=>!t.enableTimePicker||t.ignoreTimeValidation?!0:I(N)),ne=ve(()=>N=>t.monthPicker?Array.isArray(N)&&(n.value.enabled||s.value.enabled)?!N.filter(B=>!V(B)).length:V(N):!0);return{isDisabled:p,validateDate:l,validateMonthYearInRange:f,isDateRangeAllowed:m,checkMinMaxRange:x,isValidTime:I,isTimeValid:Y,isMonthValid:ne}},Tf=()=>{const t=ve(()=>(i,s)=>i?.includes(s)),e=ve(()=>(i,s)=>i.count?i.solo?!0:s===0:!0),n=ve(()=>(i,s)=>i.count?i.solo?!0:s===i.count-1:!0);return{hideNavigationButtons:t,showLeftIcon:e,showRightIcon:n}},zB=(t,e,n)=>{const i=me(0),s=Ei({[ia.timePicker]:!t.enableTimePicker||t.timePicker||t.monthPicker,[ia.calendar]:!1,[ia.header]:!1}),r=ve(()=>t.monthPicker||t.timePicker),o=d=>{var f;if((f=t.flow)!=null&&f.length){if(!d&&r.value)return u();s[d]=!0,Object.keys(s).filter(g=>!s[g]).length||u()}},a=()=>{var d,f;(d=t.flow)!=null&&d.length&&i.value!==-1&&(i.value+=1,e("flow-step",i.value),u()),((f=t.flow)==null?void 0:f.length)===i.value&&Rn().then(()=>l())},l=()=>{i.value=-1},c=(d,f,...g)=>{var p,m;t.flow[i.value]===d&&n.value&&((m=(p=n.value)[f])==null||m.call(p,...g))},u=(d=0)=>{d&&(i.value+=d),c(jn.month,"toggleMonthPicker",!0),c(jn.year,"toggleYearPicker",!0),c(jn.calendar,"toggleTimePicker",!1,!0),c(jn.time,"toggleTimePicker",!0,!0);const f=t.flow[i.value];(f===jn.hours||f===jn.minutes||f===jn.seconds)&&c(f,"toggleTimePicker",!0,!0,f)};return{childMount:o,updateFlowStep:a,resetFlow:l,handleFlow:u,flowStep:i}},YB={key:1,class:"dp__input_wrap"},HB=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],jB={key:2,class:"dp--clear-btn"},KB=["aria-label"],UB=fn({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Cf},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur","text-input"],setup(t,{expose:e,emit:n}){const i=n,s=t,{defaultedTextInput:r,defaultedAriaLabels:o,defaultedInline:a,defaultedConfig:l,defaultedRange:c,defaultedMultiDates:u,defaultedUI:d,getDefaultPattern:f,getDefaultStartTime:g}=Ut(s),{checkMinMaxRange:p}=bo(s),m=me(),v=me(null),y=me(!1),x=me(!1),E=ve(()=>({dp__pointer:!s.disabled&&!s.readonly&&!r.value.enabled,dp__disabled:s.disabled,dp__input_readonly:!r.value.enabled,dp__input:!0,dp__input_icon_pad:!s.hideInputIcon,dp__input_valid:typeof s.state=="boolean"?s.state:!1,dp__input_invalid:typeof s.state=="boolean"?!s.state:!1,dp__input_focus:y.value||s.isMenuOpen,dp__input_reg:!r.value.enabled,...d.value.input??{}})),w=()=>{i("set-input-date",null),s.clearable&&s.autoApply&&(i("set-empty-date"),m.value=null)},b=H=>{const ce=g();return f4(H,r.value.format??f(),ce??gS({},s.enableSeconds),s.inputValue,x.value,s.formatLocale)},C=H=>{const{rangeSeparator:ce}=r.value,[ie,te]=H.split(`${ce}`);if(ie){const D=b(ie.trim()),ee=te?b(te.trim()):null;if(Tl(D,ee))return;const ue=D&&ee?[D,ee]:[D];p(ee,ue,0)&&(m.value=D?ue:null)}},k=()=>{x.value=!0},T=H=>{if(c.value.enabled)C(H);else if(u.value.enabled){const ce=H.split(";");m.value=ce.map(ie=>b(ie.trim())).filter(ie=>ie)}else m.value=b(H)},A=H=>{var ce;const ie=typeof H=="string"?H:(ce=H.target)==null?void 0:ce.value;ie!==""?(r.value.openMenu&&!s.isMenuOpen&&i("open"),T(ie),i("set-input-date",m.value)):w(),x.value=!1,i("update:input-value",ie),i("text-input",H,m.value)},I=H=>{r.value.enabled?(T(H.target.value),r.value.enterSubmit&&om(m.value)&&s.inputValue!==""?(i("set-input-date",m.value,!0),m.value=null):r.value.enterSubmit&&s.inputValue===""&&(m.value=null,i("clear"))):ne(H)},V=(H,ce)=>{r.value.enabled&&r.value.tabSubmit&&!ce&&T(H.target.value),r.value.tabSubmit&&om(m.value)&&s.inputValue!==""?(i("set-input-date",m.value,!0,!0),m.value=null):r.value.tabSubmit&&s.inputValue===""&&(m.value=null,i("clear",!0))},Y=()=>{y.value=!0,i("focus"),Rn().then(()=>{var H;r.value.enabled&&r.value.selectOnFocus&&((H=v.value)==null||H.select())})},ne=H=>{if(eo(H,l.value,!0),r.value.enabled&&r.value.openMenu&&!a.value.input){if(r.value.openMenu==="open"&&!s.isMenuOpen)return i("open");if(r.value.openMenu==="toggle")return i("toggle")}else r.value.enabled||i("toggle")},N=()=>{i("real-blur"),y.value=!1,(!s.isMenuOpen||a.value.enabled&&a.value.input)&&i("blur"),s.autoApply&&r.value.enabled&&m.value&&!s.isMenuOpen&&(i("set-input-date",m.value),i("select-date"),m.value=null)},B=H=>{eo(H,l.value,!0),i("clear")},R=H=>{if(H.key==="Tab"&&V(H),H.key==="Enter"&&I(H),!r.value.enabled){if(H.code==="Tab")return;H.preventDefault()}},W=()=>{var H;(H=v.value)==null||H.focus({preventScroll:!0})},X=H=>{m.value=H},J=H=>{H.key===Nt.tab&&V(H,!0)};return e({focusInput:W,setParsedDate:X}),(H,ce)=>{var ie,te,D;return P(),F("div",{onClick:ne},[H.$slots.trigger&&!H.$slots["dp-input"]&&!Z(a).enabled?Fe(H.$slots,"trigger",{key:0}):se("",!0),!H.$slots.trigger&&(!Z(a).enabled||Z(a).input)?(P(),F("div",YB,[H.$slots["dp-input"]&&!H.$slots.trigger&&(!Z(a).enabled||Z(a).enabled&&Z(a).input)?Fe(H.$slots,"dp-input",{key:0,value:t.inputValue,isMenuOpen:t.isMenuOpen,onInput:A,onEnter:I,onTab:V,onClear:B,onBlur:N,onKeypress:R,onPaste:k,onFocus:Y,openMenu:()=>H.$emit("open"),closeMenu:()=>H.$emit("close"),toggleMenu:()=>H.$emit("toggle")}):se("",!0),H.$slots["dp-input"]?se("",!0):(P(),F("input",{key:1,id:H.uid?`dp-input-${H.uid}`:void 0,ref_key:"inputRef",ref:v,"data-test":"dp-input",name:H.name,class:Ee(E.value),inputmode:Z(r).enabled?"text":"none",placeholder:H.placeholder,disabled:H.disabled,readonly:H.readonly,required:H.required,value:t.inputValue,autocomplete:H.autocomplete,"aria-label":(ie=Z(o))==null?void 0:ie.input,"aria-disabled":H.disabled||void 0,"aria-invalid":H.state===!1?!0:void 0,onInput:A,onBlur:N,onFocus:Y,onKeypress:R,onKeydown:ce[0]||(ce[0]=ee=>R(ee)),onPaste:k},null,42,HB)),h("div",{onClick:ce[3]||(ce[3]=ee=>i("toggle"))},[H.$slots["input-icon"]&&!H.hideInputIcon?(P(),F("span",{key:0,class:"dp__input_icon",onClick:ce[1]||(ce[1]=ee=>i("toggle"))},[Fe(H.$slots,"input-icon")])):se("",!0),!H.$slots["input-icon"]&&!H.hideInputIcon&&!H.$slots["dp-input"]?(P(),Ce(Z(Gl),{key:1,"aria-label":(te=Z(o))==null?void 0:te.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:ce[2]||(ce[2]=ee=>i("toggle"))},null,8,["aria-label"])):se("",!0)]),H.$slots["clear-icon"]&&t.inputValue&&H.clearable&&!H.disabled&&!H.readonly?(P(),F("span",jB,[Fe(H.$slots,"clear-icon",{clear:B})])):se("",!0),H.clearable&&!H.$slots["clear-icon"]&&t.inputValue&&!H.disabled&&!H.readonly?(P(),F("button",{key:3,"aria-label":(D=Z(o))==null?void 0:D.clearInput,class:"dp--clear-btn",type:"button",onKeydown:ce[4]||(ce[4]=ee=>Z(si)(ee,()=>B(ee),!0,J)),onClick:ce[5]||(ce[5]=ru(ee=>B(ee),["prevent"]))},[$(Z(oS),{class:"dp__input_icons","data-test":"clear-icon"})],40,KB)):se("",!0)])):se("",!0)])}}}),GB=typeof window<"u"?window:void 0,jg=()=>{},XB=t=>af()?(o_(t),!0):!1,qB=(t,e,n,i)=>{if(!t)return jg;let s=jg;const r=jt(()=>Z(t),a=>{s(),a&&(a.addEventListener(e,n,i),s=()=>{a.removeEventListener(e,n,i),s=jg})},{immediate:!0,flush:"post"}),o=()=>{r(),s()};return XB(o),o},ZB=(t,e,n,i={})=>{const{window:s=GB,event:r="pointerdown"}=i;return s?qB(s,r,o=>{const a=bn(t),l=bn(e);!a||!l||a===o.target||o.composedPath().includes(a)||o.composedPath().includes(l)||n(o)},{passive:!0}):void 0},JB=fn({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Cf},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date","overlay-toggle","text-input"],setup(t,{expose:e,emit:n}){const i=n,s=t,r=va(),o=me(!1),a=tu(s,"modelValue"),l=tu(s,"timezone"),c=me(null),u=me(null),d=me(null),f=me(!1),g=me(null),p=me(!1),m=me(!1),v=me(!1),y=me(!1),{setMenuFocused:x,setShiftKey:E}=yS(),{clearArrowNav:w}=yo(),{validateDate:b,isValidTime:C}=bo(s),{defaultedTransitions:k,defaultedTextInput:T,defaultedInline:A,defaultedConfig:I,defaultedRange:V,defaultedMultiDates:Y}=Ut(s),{menuTransition:ne,showTransition:N}=Yu(k);Vt(()=>{ee(s.modelValue),Rn().then(()=>{if(!A.value.enabled){const he=ce(g.value);he?.addEventListener("scroll",K),window?.addEventListener("resize",U)}}),A.value.enabled&&(o.value=!0),window?.addEventListener("keyup",oe),window?.addEventListener("keydown",j)}),_o(()=>{if(!A.value.enabled){const he=ce(g.value);he?.removeEventListener("scroll",K),window?.removeEventListener("resize",U)}window?.removeEventListener("keyup",oe),window?.removeEventListener("keydown",j)});const B=Pi(r,"all",s.presetDates),R=Pi(r,"input");jt([a,l],()=>{ee(a.value)},{deep:!0});const{openOnTop:W,menuStyle:X,xCorrect:J,setMenuPosition:H,getScrollableParent:ce,shadowRender:ie}=FB({menuRef:c,menuRefInner:u,inputRef:d,pickerWrapperRef:g,inline:A,emit:i,props:s,slots:r}),{inputValue:te,internalModelValue:D,parseExternalModelValue:ee,emitModelValue:ue,formatInputValue:L,checkBeforeEmit:le}=N4(i,s,f),de=ve(()=>({dp__main:!0,dp__theme_dark:s.dark,dp__theme_light:!s.dark,dp__flex_display:A.value.enabled,"dp--flex-display-collapsed":v.value,dp__flex_display_with_input:A.value.input})),xe=ve(()=>s.dark?"dp__theme_dark":"dp__theme_light"),z=ve(()=>s.teleport?{to:typeof s.teleport=="boolean"?"body":s.teleport,disabled:!s.teleport||A.value.enabled}:{}),fe=ve(()=>({class:"dp__outer_menu_wrap"})),S=ve(()=>A.value.enabled&&(s.timePicker||s.monthPicker||s.yearPicker||s.quarterPicker)),O=()=>{var he,Ae;return(Ae=(he=d.value)==null?void 0:he.$el)==null?void 0:Ae.getBoundingClientRect()},K=()=>{o.value&&(I.value.closeOnScroll?je():H())},U=()=>{var he;o.value&&H();const Ae=(he=u.value)==null?void 0:he.$el.getBoundingClientRect().width;v.value=document.body.offsetWidth<=Ae},oe=he=>{he.key==="Tab"&&!A.value.enabled&&!s.teleport&&I.value.tabOutClosesMenu&&(g.value.contains(document.activeElement)||je()),m.value=he.shiftKey},j=he=>{m.value=he.shiftKey},re=()=>{!s.disabled&&!s.readonly&&(ie(k0,s),H(!1),o.value=!0,o.value&&i("open"),o.value||Ye(),ee(s.modelValue))},Q=()=>{var he;te.value="",Ye(),(he=d.value)==null||he.setParsedDate(null),i("update:model-value",null),i("update:model-timezone-value",null),i("cleared"),I.value.closeOnClearValue&&je()},ge=()=>{const he=D.value;return!he||!Array.isArray(he)&&b(he)?!0:Array.isArray(he)?Y.value.enabled||he.length===2&&b(he[0])&&b(he[1])?!0:V.value.partialRange&&!s.timePicker?b(he[0]):!1:!1},be=()=>{le()&&ge()?(ue(),je()):i("invalid-select",D.value)},we=he=>{Me(),ue(),I.value.closeOnAutoApply&&!he&&je()},Me=()=>{d.value&&T.value.enabled&&d.value.setParsedDate(D.value)},De=(he=!1)=>{s.autoApply&&C(D.value)&&ge()&&(V.value.enabled&&Array.isArray(D.value)?(V.value.partialRange||D.value.length===2)&&we(he):we(he))},Ye=()=>{T.value.enabled||(D.value=null)},je=()=>{A.value.enabled||(o.value&&(o.value=!1,J.value=!1,x(!1),E(!1),w(),i("closed"),te.value&&ee(a.value)),Ye(),i("blur"))},nt=(he,Ae,Ne=!1)=>{if(!he){D.value=null;return}const Xt=Array.isArray(he)?!he.some($i=>!b($i)):b(he),pn=C(he);Xt&&pn?(y.value=!0,D.value=he,Ae&&(p.value=Ne,be(),i("text-submit")),Rn().then(()=>{y.value=!1})):i("invalid-date",he)},et=()=>{s.autoApply&&C(D.value)&&ue(),Me()},Jt=()=>o.value?je():re(),Wt=he=>{D.value=he},gn=()=>{T.value.enabled&&(f.value=!0,L()),i("focus")},Gt=()=>{if(T.value.enabled&&(f.value=!1,ee(s.modelValue),p.value)){const he=d4(g.value,m.value);he?.focus()}i("blur")},Ci=he=>{u.value&&u.value.updateMonthYear(0,{month:v0(he.month),year:v0(he.year)})},qi=he=>{ee(he??s.modelValue)},Qt=(he,Ae)=>{var Ne;(Ne=u.value)==null||Ne.switchView(he,Ae)},ae=he=>I.value.onClickOutside?I.value.onClickOutside(he):je(),Te=(he=0)=>{var Ae;(Ae=u.value)==null||Ae.handleFlow(he)};return ZB(c,d,()=>ae(ge)),e({closeMenu:je,selectDate:be,clearValue:Q,openMenu:re,onScroll:K,formatInputValue:L,updateInternalModelValue:Wt,setMonthYear:Ci,parseModel:qi,switchView:Qt,toggleMenu:Jt,handleFlow:Te,dpWrapMenuRef:c}),(he,Ae)=>(P(),F("div",{ref_key:"pickerWrapperRef",ref:g,class:Ee(de.value),"data-datepicker-instance":""},[$(UB,xn({ref_key:"inputRef",ref:d,"input-value":Z(te),"onUpdate:inputValue":Ae[0]||(Ae[0]=Ne=>Ht(te)?te.value=Ne:null),"is-menu-open":o.value},he.$props,{onClear:Q,onOpen:re,onSetInputDate:nt,onSetEmptyDate:Z(ue),onSelectDate:be,onToggle:Jt,onClose:je,onFocus:gn,onBlur:Gt,onRealBlur:Ae[1]||(Ae[1]=Ne=>f.value=!1),onTextInput:Ae[2]||(Ae[2]=Ne=>he.$emit("text-input",Ne))}),Xn({_:2},[Ge(Z(R),(Ne,Xt)=>({name:Ne,fn:Pe(pn=>[Fe(he.$slots,Ne,In(ii(pn)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(P(),Ce(_a(he.teleport?kD:"div"),In(ii(z.value)),{default:Pe(()=>[$(vt,{name:Z(ne)(Z(W)),css:Z(N)&&!Z(A).enabled},{default:Pe(()=>[o.value?(P(),F("div",xn({key:0,ref_key:"dpWrapMenuRef",ref:c},fe.value,{class:{"dp--menu-wrapper":!Z(A).enabled},style:Z(A).enabled?void 0:Z(X)}),[$(k0,xn({ref_key:"dpMenuRef",ref:u},he.$props,{"internal-model-value":Z(D),"onUpdate:internalModelValue":Ae[3]||(Ae[3]=Ne=>Ht(D)?D.value=Ne:null),class:{[xe.value]:!0,"dp--menu-wrapper":he.teleport},"open-on-top":Z(W),"no-overlay-focus":S.value,collapse:v.value,"get-input-rect":O,"is-text-input-date":y.value,onClosePicker:je,onSelectDate:be,onAutoApply:De,onTimeUpdate:et,onFlowStep:Ae[4]||(Ae[4]=Ne=>he.$emit("flow-step",Ne)),onUpdateMonthYear:Ae[5]||(Ae[5]=Ne=>he.$emit("update-month-year",Ne)),onInvalidSelect:Ae[6]||(Ae[6]=Ne=>he.$emit("invalid-select",Z(D))),onAutoApplyInvalid:Ae[7]||(Ae[7]=Ne=>he.$emit("invalid-select",Ne)),onInvalidFixedRange:Ae[8]||(Ae[8]=Ne=>he.$emit("invalid-fixed-range",Ne)),onRecalculatePosition:Z(H),onTooltipOpen:Ae[9]||(Ae[9]=Ne=>he.$emit("tooltip-open",Ne)),onTooltipClose:Ae[10]||(Ae[10]=Ne=>he.$emit("tooltip-close",Ne)),onTimePickerOpen:Ae[11]||(Ae[11]=Ne=>he.$emit("time-picker-open",Ne)),onTimePickerClose:Ae[12]||(Ae[12]=Ne=>he.$emit("time-picker-close",Ne)),onAmPmChange:Ae[13]||(Ae[13]=Ne=>he.$emit("am-pm-change",Ne)),onRangeStart:Ae[14]||(Ae[14]=Ne=>he.$emit("range-start",Ne)),onRangeEnd:Ae[15]||(Ae[15]=Ne=>he.$emit("range-end",Ne)),onDateUpdate:Ae[16]||(Ae[16]=Ne=>he.$emit("date-update",Ne)),onInvalidDate:Ae[17]||(Ae[17]=Ne=>he.$emit("invalid-date",Ne)),onOverlayToggle:Ae[18]||(Ae[18]=Ne=>he.$emit("overlay-toggle",Ne))}),Xn({_:2},[Ge(Z(B),(Ne,Xt)=>({name:Ne,fn:Pe(pn=>[Fe(he.$slots,Ne,In(ii({...pn})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):se("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),ju=(()=>{const t=JB;return t.install=e=>{e.component("Vue3DatePicker",t)},t})(),QB=Object.freeze(Object.defineProperty({__proto__:null,default:ju},Symbol.toStringTag,{value:"Module"}));Object.entries(QB).forEach(([t,e])=>{t!=="default"&&(ju[t]=e)});const eV={name:"newDashboardAPIKey",components:{LocaleText:Le,VueDatePicker:ju},data(){return{newKeyData:{ExpiredAt:Fn().add(7,"d").format("YYYY-MM-DD HH:mm:ss"),neverExpire:!1},submitting:!1}},setup(){return{store:Xe()}},mounted(){console.log(this.newKeyData.ExpiredAt)},methods:{submitNewAPIKey(){this.submitting=!0,dt("/api/newDashboardAPIKey",this.newKeyData,t=>{t.status?(this.$emit("created",t.data),this.store.newMessage("Server","API Key created","success"),this.$emit("close")):this.store.newMessage("Server",t.message,"danger"),this.submitting=!1})},fixDate(t){return console.log(Fn(t).format("YYYY-MM-DDTHH:mm:ss")),Fn(t).format("YYYY-MM-DDTHH:mm:ss")},parseTime(t){t?this.newKeyData.ExpiredAt=Fn(t).format("YYYY-MM-DD HH:mm:ss"):this.newKeyData.ExpiredAt=void 0}}},tV={class:"position-absolute w-100 h-100 top-0 start-0 rounded-bottom-3 p-3 d-flex",style:{"background-color":"#00000060","backdrop-filter":"blur(3px)"}},nV={class:"card m-auto rounded-3 mt-5"},iV={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},sV={class:"mb-0"},rV={class:"card-body d-flex gap-2 p-4 flex-column"},oV={class:"text-muted"},aV={class:"d-flex align-items-center gap-2"},lV={class:"form-check"},cV=["disabled"],uV={class:"form-check-label",for:"neverExpire"},dV={key:0,class:"bi bi-check-lg me-2"};function hV(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("VueDatePicker");return P(),F("div",tV,[h("div",nV,[h("div",iV,[h("h6",sV,[$(o,{t:"Create API Key"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=l=>this.$emit("close"))})]),h("div",rV,[h("small",oV,[$(o,{t:"When should this API Key expire?"})]),h("div",aV,[$(a,{is24:!0,"min-date":new Date,"model-value":this.newKeyData.ExpiredAt,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",clearable:!1,disabled:this.newKeyData.neverExpire||this.submitting,dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","disabled","dark"])]),h("div",lV,[Re(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[1]||(e[1]=l=>this.newKeyData.neverExpire=l),id:"neverExpire",disabled:this.submitting},null,8,cV),[[Gn,this.newKeyData.neverExpire]]),h("label",uV,[$(o,{t:"Never Expire"}),e[3]||(e[3]=Be(" (")),e[4]||(e[4]=h("i",{class:"bi bi-emoji-grimace-fill me-2"},null,-1)),$(o,{t:"Don't think that's a good idea"}),e[5]||(e[5]=Be(") "))])]),h("button",{class:Ee(["ms-auto btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm",{disabled:this.submitting}]),onClick:e[2]||(e[2]=l=>this.submitNewAPIKey())},[this.submitting?se("",!0):(P(),F("i",dV)),this.submitting?(P(),Ce(o,{key:1,t:"Creating..."})):(P(),Ce(o,{key:2,t:"Create"}))],2)])])])}const fV=ze(eV,[["render",hV]]),gV={name:"dashboardAPIKey",components:{LocaleText:Le},props:{apiKey:Object},setup(){return{store:Xe()}},data(){return{confirmDelete:!1}},methods:{deleteAPIKey(){dt("/api/deleteDashboardAPIKey",{Key:this.apiKey.Key},t=>{t.status?(this.$emit("deleted",t.data),this.store.newMessage("Server","API Key deleted","success")):this.store.newMessage("Server",t.message,"danger")})}}},pV={class:"card rounded-3 shadow-sm"},mV={key:0,class:"card-body d-flex gap-3 align-items-center apiKey-card-body"},_V={class:"d-flex align-items-center gap-2"},vV={class:"text-muted"},yV={style:{"word-break":"break-all"}},bV={class:"d-flex align-items-center gap-2 ms-auto"},wV={class:"text-muted"},xV={key:0,class:"card-body d-flex gap-3 align-items-center justify-content-end"};function EV(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",pV,[this.confirmDelete?(P(),F(Ie,{key:1},[this.store.getActiveCrossServer()?se("",!0):(P(),F("div",xV,[$(o,{t:"Are you sure to delete this API key?"}),h("a",{role:"button",class:"btn btn-sm bg-success-subtle text-success-emphasis rounded-3",onClick:e[1]||(e[1]=a=>this.deleteAPIKey())},e[4]||(e[4]=[h("i",{class:"bi bi-check-lg"},null,-1)])),h("a",{role:"button",class:"btn btn-sm bg-secondary-subtle text-secondary-emphasis rounded-3",onClick:e[2]||(e[2]=a=>this.confirmDelete=!1)},e[5]||(e[5]=[h("i",{class:"bi bi-x-lg"},null,-1)]))]))],64)):(P(),F("div",mV,[h("div",_V,[h("small",vV,[$(o,{t:"Key"})]),h("span",yV,pe(this.apiKey.Key),1)]),h("div",bV,[h("small",wV,[$(o,{t:"Expire At"})]),this.apiKey.ExpiredAt?se("",!0):(P(),Ce(o,{key:0,t:"Never Expire"})),h("span",null,pe(this.apiKey.ExpiredAt),1)]),this.store.getActiveCrossServer()?se("",!0):(P(),F("a",{key:0,role:"button",class:"btn btn-sm bg-danger-subtle text-danger-emphasis rounded-3",onClick:e[0]||(e[0]=a=>this.confirmDelete=!0)},e[3]||(e[3]=[h("i",{class:"bi bi-trash-fill"},null,-1)])))]))])}const CV=ze(gV,[["render",EV],["__scopeId","data-v-a76253c8"]]),SV={name:"dashboardAPIKeys",components:{LocaleText:Le,DashboardAPIKey:CV,NewDashboardAPIKey:fV},setup(){return{store:Xe()}},data(){return{value:this.store.Configuration.Server.dashboard_api_key,apiKeys:[],newDashboardAPIKey:!1}},methods:{async toggleDashboardAPIKeys(){await dt("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_api_key",value:this.value},t=>{t.status?(this.store.Configuration.Peers[this.targetData]=this.value,this.store.newMessage("Server",`API Keys function is successfully ${this.value?"enabled":"disabled"}`,"success")):(this.value=this.store.Configuration.Peers[this.targetData],this.store.newMessage("Server",`API Keys function is failed to ${this.value?"enabled":"disabled"}`,"danger"))})}},watch:{value:{immediate:!0,handler(t){t?Pt("/api/getDashboardAPIKeys",{},e=>{console.log(e),e.status?this.apiKeys=e.data:(this.apiKeys=[],this.store.newMessage("Server",e.message,"danger"))}):this.apiKeys=[]}}}},kV={class:"card rounded-3"},TV={class:"my-2"},AV={key:0,class:"form-check form-switch ms-auto"},PV={class:"form-check-label",for:"allowAPIKeysSwitch"},MV={key:0,class:"card-body position-relative d-flex flex-column gap-2"},IV={key:1,class:"card",style:{height:"300px"}},DV={class:"card-body d-flex text-muted"},RV={class:"m-auto"},$V={key:2,class:"d-flex flex-column gap-2 position-relative",style:{"min-height":"300px"}};function LV(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("DashboardAPIKey"),l=Se("NewDashboardAPIKey");return P(),F("div",kV,[h("div",{class:Ee(["card-header d-flex align-items-center",{"border-bottom-0 rounded-3":!this.value}])},[h("h6",TV,[$(o,{t:"API Keys"})]),this.store.getActiveCrossServer()?se("",!0):(P(),F("div",AV,[Re(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=c=>this.value=c),onChange:e[1]||(e[1]=c=>this.toggleDashboardAPIKeys()),role:"switch",id:"allowAPIKeysSwitch"},null,544),[[Gn,this.value]]),h("label",PV,[this.value?(P(),Ce(o,{key:0,t:"Enabled"})):(P(),Ce(o,{key:1,t:"Disabled"}))])]))],2),this.value?(P(),F("div",MV,[this.store.getActiveCrossServer()?se("",!0):(P(),F("button",{key:0,class:"btn bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle rounded-3 shadow-sm",onClick:e[2]||(e[2]=c=>this.newDashboardAPIKey=!0)},[e[6]||(e[6]=h("i",{class:"bi bi-plus-circle-fill me-2"},null,-1)),$(o,{t:"API Key"})])),this.apiKeys.length===0?(P(),F("div",IV,[h("div",DV,[h("span",RV,[$(o,{t:"No WGDashboard API Key"})])])])):(P(),F("div",$V,[$(vo,{name:"apiKey"},{default:Pe(()=>[(P(!0),F(Ie,null,Ge(this.apiKeys,c=>(P(),Ce(a,{apiKey:c,key:c.Key,onDeleted:e[3]||(e[3]=u=>this.apiKeys=u)},null,8,["apiKey"]))),128))]),_:1})])),$(vt,{name:"zoomReversed"},{default:Pe(()=>[this.newDashboardAPIKey?(P(),Ce(l,{key:0,onCreated:e[4]||(e[4]=c=>this.apiKeys=c),onClose:e[5]||(e[5]=c=>this.newDashboardAPIKey=!1)})):se("",!0)]),_:1})])):se("",!0)])}const OV=ze(SV,[["render",LV],["__scopeId","data-v-3d3ef755"]]),NV={name:"accountSettingsMFA",components:{LocaleText:Le},setup(){const t=Xe(),e=`input_${Bs()}`;return{store:t,uuid:e}},data(){return{status:!1}},mounted(){this.status=this.store.Configuration.Account.enable_totp},methods:{async resetMFA(){await dt("/api/updateDashboardConfigurationItem",{section:"Account",key:"totp_verified",value:"false"},async t=>{await dt("/api/updateDashboardConfigurationItem",{section:"Account",key:"enable_totp",value:"false"},e=>{e.status&&this.$router.push("/2FASetup")})})}}},FV={class:"d-flex align-items-center"},BV={class:"form-check form-switch"},VV={for:"allowMFAKeysSwitch"};function WV(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("div",FV,[h("div",BV,[Re(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=a=>this.status=a),role:"switch",id:"allowMFAKeysSwitch"},null,512),[[Gn,this.status]]),h("label",VV,[this.status?(P(),Ce(o,{key:0,t:"Enabled"})):(P(),Ce(o,{key:1,t:"Disabled"}))])]),this.status?(P(),F("button",{key:0,class:"btn bg-warning-subtle text-warning-emphasis border-1 border-warning-subtle ms-auto rounded-3 shadow-sm",onClick:e[1]||(e[1]=a=>this.resetMFA())},[e[2]||(e[2]=h("i",{class:"bi bi-shield-lock-fill me-2"},null,-1)),this.store.Configuration.Account.totp_verified?(P(),Ce(o,{key:0,t:"Reset"})):(P(),Ce(o,{key:1,t:"Setup"})),e[3]||(e[3]=Be(" MFA "))])):se("",!0)])])}const zV=ze(NV,[["render",WV]]),YV={name:"dashboardLanguage",components:{LocaleText:Le},setup(){return{store:Xe()}},data(){return{languages:void 0}},mounted(){Pt("/api/locale/available",{},t=>{this.languages=t.data})},methods:{changeLanguage(t){dt("/api/locale/update",{lang_id:t},e=>{e.status?(this.store.Configuration.Server.dashboard_language=t,this.store.Locale=e.data):this.store.newMessage("Server","Dashboard language update failed","danger")})}},computed:{currentLanguage(){let t=this.store.Configuration.Server.dashboard_language;return this.languages.find(e=>e.lang_id===t)}}},HV={class:"text-muted d-block mb-1"},jV={class:"d-flex gap-2"},KV={class:"dropdown w-100"},UV=["disabled"],GV={key:1},XV={class:"dropdown-menu rounded-3 shadow"},qV=["onClick"],ZV={class:"me-auto mb-0"},JV={class:"d-block",style:{"font-size":"0.8rem"}},QV={key:0,class:"bi bi-check text-primary fs-5"};function e6(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("small",HV,[h("strong",null,[$(o,{t:"Language"})])]),h("div",jV,[h("div",KV,[h("button",{class:"btn bg-primary-subtle text-primary-emphasis dropdown-toggle w-100 rounded-3",disabled:!this.languages,type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[this.languages?(P(),F("span",GV,pe(r.currentLanguage?.lang_name_localized),1)):(P(),Ce(o,{key:0,t:"Loading..."}))],8,UV),h("ul",XV,[(P(!0),F(Ie,null,Ge(this.languages,a=>(P(),F("li",null,[h("a",{class:"dropdown-item d-flex align-items-center",role:"button",onClick:l=>this.changeLanguage(a.lang_id)},[h("p",ZV,[Be(pe(a.lang_name_localized)+" ",1),h("small",JV,pe(a.lang_name),1)]),r.currentLanguage?.lang_id===a.lang_id?(P(),F("i",QV)):se("",!0)],8,qV)]))),256))])])])])}const t6=ze(YV,[["render",e6],["__scopeId","data-v-08b165a8"]]),n6={name:"dashboardIPPortInput",components:{LocaleText:Le},setup(){return{store:Xe()}},data(){return{ipAddress:"",port:0,invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.ipAddress=this.store.Configuration.Server.app_ip,this.port=this.store.Configuration.Server.app_port},methods:{async useValidation(t,e,n){this.changed&&(this.updating=!0,await dt("/api/updateDashboardConfigurationItem",{section:"Server",key:e,value:n},i=>{i.status?(t.target.classList.add("is-valid"),this.showInvalidFeedback=!1,this.store.Configuration.Server[e]=n,clearTimeout(this.timeout),this.timeout=setTimeout(()=>{t.target.classList.remove("is-valid")},5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=i.message),this.changed=!1,this.updating=!1}))}}},i6={class:"row g-2"},s6={class:"col-sm"},r6={class:"form-group"},o6={for:"input_dashboard_ip",class:"text-muted mb-1"},a6=["disabled"],l6={class:"invalid-feedback"},c6={class:"col-sm"},u6={class:"form-group"},d6={for:"input_dashboard_ip",class:"text-muted mb-1"},h6=["disabled"],f6={class:"invalid-feedback"},g6={class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mb-2 mt-2"};function p6(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("div",i6,[h("div",s6,[h("div",r6,[h("label",o6,[h("strong",null,[h("small",null,[$(o,{t:"IP Address / Hostname"})])])]),Re(h("input",{type:"text",class:Ee(["form-control",{"is-invalid":s.showInvalidFeedback,"is-valid":s.isValid}]),id:"input_dashboard_ip","onUpdate:modelValue":e[0]||(e[0]=a=>this.ipAddress=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),onBlur:e[2]||(e[2]=a=>r.useValidation(a,"app_ip",this.ipAddress)),disabled:this.updating},null,42,a6),[[We,this.ipAddress]]),h("div",l6,pe(this.invalidFeedback),1)])]),h("div",c6,[h("div",u6,[h("label",d6,[h("strong",null,[h("small",null,[$(o,{t:"Listen Port"})])])]),Re(h("input",{type:"number",class:Ee(["form-control",{"is-invalid":s.showInvalidFeedback,"is-valid":s.isValid}]),id:"input_dashboard_ip","onUpdate:modelValue":e[3]||(e[3]=a=>this.port=a),onKeydown:e[4]||(e[4]=a=>this.changed=!0),onBlur:e[5]||(e[5]=a=>r.useValidation(a,"app_port",this.port)),disabled:this.updating},null,42,h6),[[We,this.port]]),h("div",f6,pe(this.invalidFeedback),1)])])]),h("div",g6,[h("small",null,[e[6]||(e[6]=h("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1)),$(o,{t:"Manual restart of WGDashboard is needed to apply changes on IP Address and Listen Port"})])])])}const m6=ze(n6,[["render",p6]]),_6={class:"card rounded-3"},v6={class:"card-header"},y6={class:"my-2"},b6={class:"card-body d-flex gap-2"},w6={class:"list-group w-100"},x6=["onClick"],E6={__name:"dashboardSettingsWireguardConfigurationAutostart",setup(t){const e=Xe(),n=$n(),i=me(e.Configuration.WireGuardConfiguration.autostart),s=ve(()=>n.Configurations.map(a=>a.Name)),r=async()=>{await dt("/api/updateDashboardConfigurationItem",{section:"WireGuardConfiguration",key:"autostart",value:i.value},async a=>{a.status?e.newMessage("Server","Start up configurations saved","success"):e.newMessage("Server","Start up configurations failed to save","danger")})},o=a=>{i.value.includes(a)?i.value=i.value.filter(l=>l!==a):i.value.push(a)};return jt(i,()=>{r()},{deep:!0}),(a,l)=>(P(),F("div",_6,[h("div",v6,[h("h6",y6,[$(Le,{t:"Toggle When Start Up"})])]),h("div",b6,[h("div",w6,[(P(!0),F(Ie,null,Ge(s.value,c=>(P(),F("button",{type:"button",key:c,onClick:u=>o(c),class:"list-group-item list-group-item-action py-2 w-100 d-flex align-items-center"},[h("samp",null,pe(c),1),h("i",{class:Ee(["ms-auto",[i.value.includes(c)?"bi-check-circle-fill":"bi-circle"]])},null,2)],8,x6))),128))])])]))}},C6=ze(E6,[["__scopeId","data-v-c1f65888"]]),S6={name:"settings",methods:{ipV46RegexCheck:j3},components:{DashboardSettingsWireguardConfigurationAutostart:C6,DashboardIPPortInput:m6,DashboardLanguage:t6,LocaleText:Le,AccountSettingsMFA:zV,DashboardAPIKeys:OV,DashboardSettingsInputIPAddressAndPort:qN,DashboardTheme:BN,DashboardSettingsInputWireguardConfigurationPath:$N,AccountSettingsInputPassword:_N,AccountSettingsInputUsername:J3,PeersDefaultSettingsInput:H3},setup(){return{dashboardConfigurationStore:Xe()}},data(){return{activeTab:"WGDashboard"}}},k6={class:"mt-md-5 mt-3 text-body mb-3"},T6={class:"container-md d-flex flex-column gap-4"},A6={class:"nav nav-pills nav-justified align-items-center gap-2"},P6={class:"nav-item"},M6={class:"nav-item"},I6={class:"nav-item"},D6={key:0,class:"d-flex gap-3 flex-column"},R6={key:1,class:"d-flex gap-3 flex-column"},$6={class:"card rounded-3"},L6={class:"card-header"},O6={class:"my-2"},N6={class:"card-body"},F6={key:2,class:"d-flex gap-3 flex-column"},B6={class:"card rounded-3"},V6={class:"card-header"},W6={class:"my-2"},z6={class:"card-body"},Y6={class:"row g-2"},H6={class:"col-sm"},j6={class:"col-sm"},K6={class:"card"},U6={class:"card-header"},G6={class:"my-2"},X6={class:"card-body"},q6={class:"card"},Z6={class:"card-header"},J6={class:"my-2"},Q6={class:"card-body d-flex flex-column gap-3"},e8={class:"card"},t8={class:"card-header"},n8={class:"my-2"},i8={class:"card-body"};function s8(t,e,n,i,s,r){const o=Se("DashboardSettingsInputWireguardConfigurationPath"),a=Se("DashboardSettingsWireguardConfigurationAutostart"),l=Se("LocaleText"),c=Se("PeersDefaultSettingsInput"),u=Se("DashboardTheme"),d=Se("DashboardLanguage"),f=Se("DashboardIPPortInput"),g=Se("AccountSettingsInputUsername"),p=Se("AccountSettingsInputPassword"),m=Se("AccountSettingsMFA"),v=Se("DashboardAPIKeys");return P(),F("div",k6,[h("div",T6,[h("div",null,[h("ul",A6,[h("li",P6,[h("a",{class:Ee(["nav-link rounded-3",{active:this.activeTab==="WGDashboard"}]),onClick:e[0]||(e[0]=y=>this.activeTab="WGDashboard"),role:"button"},e[3]||(e[3]=[h("h6",{class:"my-2"}," WGDashboard Settings ",-1)]),2)]),h("li",M6,[h("a",{class:Ee(["nav-link rounded-3",{active:this.activeTab==="Peers"}]),onClick:e[1]||(e[1]=y=>this.activeTab="Peers"),role:"button"},e[4]||(e[4]=[h("h6",{class:"my-2"}," Peers Settings ",-1)]),2)]),h("li",I6,[h("a",{class:Ee(["nav-link rounded-3",{active:this.activeTab==="WireGuardConfiguration"}]),onClick:e[2]||(e[2]=y=>this.activeTab="WireGuardConfiguration"),role:"button"},e[5]||(e[5]=[h("h6",{class:"my-2"}," WireGuard Configuration Settings ",-1)]),2)])]),e[7]||(e[7]=h("hr",null,null,-1)),h("div",null,[$(vt,{name:"fade2",mode:"out-in"},{default:Pe(()=>[s.activeTab==="WireGuardConfiguration"?(P(),F("div",D6,[$(o,{targetData:"wg_conf_path",title:"Configurations Directory",warning:!0,"warning-text":"Remember to remove / at the end of your path. e.g /etc/wireguard"}),$(a)])):s.activeTab==="Peers"?(P(),F("div",R6,[h("div",$6,[h("div",L6,[h("h6",O6,[$(l,{t:"Peer Default Settings"})])]),h("div",N6,[h("div",null,[$(c,{targetData:"peer_global_dns",title:"DNS"}),$(c,{targetData:"peer_endpoint_allowed_ip",title:"Endpoint Allowed IPs"}),$(c,{targetData:"peer_mtu",title:"MTU"}),$(c,{targetData:"peer_keep_alive",title:"Persistent Keepalive"}),$(c,{targetData:"remote_endpoint",title:"Peer Remote Endpoint",warning:!0,warningText:"This will be changed globally, and will be apply to all peer's QR code and configuration file."})])])])])):s.activeTab==="WGDashboard"?(P(),F("div",F6,[h("div",B6,[h("div",V6,[h("h6",W6,[$(l,{t:"Appearance"})])]),h("div",z6,[h("div",Y6,[h("div",H6,[$(u)]),h("div",j6,[$(d)])])])]),h("div",K6,[h("div",U6,[h("h6",G6,[$(l,{t:"Dashboard IP Address & Listen Port"})])]),h("div",X6,[$(f)])]),h("div",q6,[h("div",Z6,[h("h6",J6,[$(l,{t:"Account Settings"})])]),h("div",Q6,[h("div",null,[$(g,{targetData:"username",title:"Username"})]),e[6]||(e[6]=h("hr",null,null,-1)),h("div",null,[$(p,{targetData:"password"})])])]),h("div",e8,[h("div",t8,[h("h6",n8,[$(l,{t:"Multi-Factor Authentication (MFA)"})])]),h("div",i8,[this.dashboardConfigurationStore.getActiveCrossServer()?se("",!0):(P(),Ce(m,{key:0}))])]),$(v)])):se("",!0)]),_:1})])])])])}const r8=ze(S6,[["render",s8]]),o8={name:"setup",components:{LocaleText:Le},setup(){return{store:Xe()}},data(){return{setup:{username:"",newPassword:"",repeatNewPassword:"",enable_totp:!0},loading:!1,errorMessage:"",done:!1}},computed:{goodToSubmit(){return this.setup.username&&this.setup.newPassword.length>=8&&this.setup.repeatNewPassword.length>=8&&this.setup.newPassword===this.setup.repeatNewPassword}},methods:{submit(){this.loading=!0,dt("/api/Welcome_Finish",this.setup,t=>{t.status?(this.done=!0,this.$router.push("/2FASetup")):(document.querySelectorAll("#createAccount input").forEach(e=>e.classList.add("is-invalid")),this.errorMessage=t.message,document.querySelector(".login-container-fluid").scrollTo({top:0,left:0,behavior:"smooth"})),this.loading=!1})}}},a8=["data-bs-theme"],l8={class:"m-auto text-body",style:{width:"500px"}},c8={class:"dashboardLogo display-4"},u8={class:"mb-5"},d8={key:0,class:"alert alert-danger"},h8={class:"d-flex flex-column gap-3"},f8={id:"createAccount",class:"d-flex flex-column gap-2"},g8={class:"form-group text-body"},p8={for:"username",class:"mb-1 text-muted"},m8={class:"form-group text-body"},_8={for:"password",class:"mb-1 text-muted"},v8={class:"form-group text-body"},y8={for:"confirmPassword",class:"mb-1 text-muted"},b8=["disabled"],w8={key:0,class:"d-flex align-items-center w-100"},x8={key:1,class:"d-flex align-items-center w-100"};function E8(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.store.Configuration.Server.dashboard_theme},[h("div",l8,[h("span",c8,[$(o,{t:"Nice to meet you!"})]),h("p",u8,[$(o,{t:"Please fill in the following fields to finish setup"}),e[4]||(e[4]=Be(" 😊"))]),h("div",null,[h("h3",null,[$(o,{t:"Create an account"})]),this.errorMessage?(P(),F("div",d8,pe(this.errorMessage),1)):se("",!0),h("div",h8,[h("form",f8,[h("div",g8,[h("label",p8,[h("small",null,[$(o,{t:"Enter an username you like"})])]),Re(h("input",{type:"text",autocomplete:"username","onUpdate:modelValue":e[0]||(e[0]=a=>this.setup.username=a),class:"form-control",id:"username",name:"username",required:""},null,512),[[We,this.setup.username]])]),h("div",m8,[h("label",_8,[h("small",null,[$(o,{t:"Enter a password"}),h("code",null,[$(o,{t:"(At least 8 characters and make sure is strong enough!)"})])])]),Re(h("input",{type:"password",autocomplete:"new-password","onUpdate:modelValue":e[1]||(e[1]=a=>this.setup.newPassword=a),class:"form-control",id:"password",name:"password",required:""},null,512),[[We,this.setup.newPassword]])]),h("div",v8,[h("label",y8,[h("small",null,[$(o,{t:"Confirm password"})])]),Re(h("input",{type:"password",autocomplete:"confirm-new-password","onUpdate:modelValue":e[2]||(e[2]=a=>this.setup.repeatNewPassword=a),class:"form-control",id:"confirmPassword",name:"confirmPassword",required:""},null,512),[[We,this.setup.repeatNewPassword]])])]),h("button",{class:"btn btn-dark btn-lg mb-5 d-flex btn-brand shadow align-items-center",ref:"signInBtn",disabled:!this.goodToSubmit||this.loading||this.done,onClick:e[3]||(e[3]=a=>this.submit())},[!this.loading&&!this.done?(P(),F("span",w8,[$(o,{t:"Next"}),e[5]||(e[5]=h("i",{class:"bi bi-chevron-right ms-auto"},null,-1))])):(P(),F("span",x8,[$(o,{t:"Saving..."}),e[6]||(e[6]=h("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},[h("span",{class:"visually-hidden"},"Loading...")],-1))]))],8,b8)])])])],8,a8)}const C8=ze(o8,[["render",E8]]);function K_(t){return t.includes(":")?6:t.includes(".")?4:0}function S8(t){const e=K_(t);if(!e)throw new Error(`Invalid IP address: ${t}`);let n=0n,i=0n;const s=Object.create(null);if(e===4)for(const r of t.split(".").map(BigInt).reverse())n+=r*2n**i,i+=8n;else{if(t.includes(".")&&(s.ipv4mapped=!0,t=t.split(":").map(a=>{if(a.includes(".")){const[l,c,u,d]=a.split(".").map(f=>Number(f).toString(16).padStart(2,"0"));return`${l}${c}:${u}${d}`}else return a}).join(":")),t.includes("%")){let a;[,t,a]=/(.+)%(.+)/.exec(t)||[],s.scopeid=a}const r=t.split(":"),o=r.indexOf("");if(o!==-1)for(;r.length<8;)r.splice(o,0,"");for(const a of r.map(l=>BigInt(parseInt(l||"0",16))).reverse())n+=a*2n**i,i+=16n}return s.number=n,s.version=e,s}const Kg={4:32,6:128},k8=t=>t.includes("/")?K_(t):0;function am(t){const e=k8(t),n=Object.create(null);if(e)n.cidr=t,n.version=e;else{const d=K_(t);if(d)n.cidr=`${t}/${Kg[d]}`,n.version=d;else throw new Error(`Network is not a CIDR or IP: ${t}`)}const[i,s]=n.cidr.split("/");if(!/^[0-9]+$/.test(s))throw new Error(`Network is not a CIDR or IP: ${t}`);n.prefix=s,n.single=s===String(Kg[n.version]);const{number:r,version:o}=S8(i),a=Kg[o],l=r.toString(2).padStart(a,"0"),c=Number(a-s),u=l.substring(0,a-c);return n.start=BigInt(`0b${u}${"0".repeat(c)}`),n.end=BigInt(`0b${u}${"1".repeat(c)}`),n}/*! SPDX-License-Identifier: GPL-2.0 * * Copyright (C) 2015-2020 Jason A. Donenfeld . All Rights Reserved. */(function(){function t(b){var C=new Float64Array(16);if(b)for(var k=0;k>16&1),T[I-1]&=65535;T[15]=A[15]-32767-(T[14]>>16&1),k=T[15]>>16&1,T[14]&=65535,i(A,T,1-k)}for(var I=0;I<16;++I)b[2*I]=A[I]&255,b[2*I+1]=A[I]>>8}function n(b){for(var C=0;C<16;++C)b[(C+1)%16]+=(C<15?1:38)*Math.floor(b[C]/65536),b[C]&=65535}function i(b,C,k){for(var T,A=~(k-1),I=0;I<16;++I)T=A&(b[I]^C[I]),b[I]^=T,C[I]^=T}function s(b,C,k){for(var T=0;T<16;++T)b[T]=C[T]+k[T]|0}function r(b,C,k){for(var T=0;T<16;++T)b[T]=C[T]-k[T]|0}function o(b,C,k){for(var T=new Float64Array(31),A=0;A<16;++A)for(var I=0;I<16;++I)T[A+I]+=C[A]*k[I];for(var A=0;A<15;++A)T[A]+=38*T[A+16];for(var A=0;A<16;++A)b[A]=T[A];n(b),n(b)}function a(b,C){for(var k=t(),T=0;T<16;++T)k[T]=C[T];for(var T=253;T>=0;--T)o(k,k,k),T!==2&&T!==4&&o(k,k,C);for(var T=0;T<16;++T)b[T]=k[T]}function l(b){b[31]=b[31]&127|64,b[0]&=248}function c(b){for(var C,k=new Uint8Array(32),T=t([1]),A=t([9]),I=t(),V=t([1]),Y=t(),ne=t(),N=t([56129,1]),B=t([9]),R=0;R<32;++R)k[R]=b[R];l(k);for(var R=254;R>=0;--R)C=k[R>>>3]>>>(R&7)&1,i(T,A,C),i(I,V,C),s(Y,T,I),r(T,T,I),s(I,A,V),r(A,A,V),o(V,Y,Y),o(ne,T,T),o(T,I,T),o(I,A,Y),s(Y,T,I),r(T,T,I),o(A,T,T),r(I,V,ne),o(T,I,N),s(T,T,V),o(I,I,T),o(T,V,ne),o(V,A,B),o(A,Y,Y),i(T,A,C),i(I,V,C);return a(I,I),o(T,T,I),e(k,T),k}function u(){var b=new Uint8Array(32);return window.crypto.getRandomValues(b),b}function d(){var b=u();return l(b),b}function f(b,C){for(var k=Uint8Array.from([C[0]>>2&63,(C[0]<<4|C[1]>>4)&63,(C[1]<<2|C[2]>>6)&63,C[2]&63]),T=0;T<4;++T)b[T]=k[T]+65+(25-k[T]>>8&6)-(51-k[T]>>8&75)-(61-k[T]>>8&15)+(62-k[T]>>8&3)}function g(b){var C,k=new Uint8Array(44);for(C=0;C<32/3;++C)f(k.subarray(C*4),b.subarray(C*3));return f(k.subarray(C*4),Uint8Array.from([b[C*3+0],b[C*3+1],0])),k[43]=61,String.fromCharCode.apply(null,k)}function p(b){let C=window.atob(b),k=C.length,T=new Uint8Array(k);for(let I=0;I>>8&255,C>>>16&255,C>>>24&255)}function v(b,C){b.push(C&255,C>>>8&255)}function y(b,C){for(var k=0;k>>1:C>>>1;E.table[k]=C}}for(var A=-1,I=0;I>>8^E.table[(A^b[I])&255];return(A^-1)>>>0}function w(b){for(var C=[],k=[],T=0,A=0;A{t.status?(this.success=!0,await this.store.getConfigurations(),this.$router.push(`/configuration/${this.newConfiguration.ConfigurationName}/peers`)):(this.error=!0,this.errorMessage=t.message,document.querySelector(`#${t.data}`).classList.remove("is-valid"),document.querySelector(`#${t.data}`).classList.add("is-invalid"),this.loading=!1)}))}},computed:{goodToSubmit(){let t=["ConfigurationName","Address","ListenPort","PrivateKey"],e=[...document.querySelectorAll("input[required]")];return t.find(n=>this.newConfiguration[n].length===0)===void 0&&e.find(n=>n.classList.contains("is-invalid"))===void 0}},watch:{"newConfiguration.Address"(t){let e=document.querySelector("#Address");e.classList.remove("is-invalid","is-valid");try{if(t.trim().split("/").filter(s=>s.length>0).length!==2)throw Error();let n=am(t),i=n.end-n.start;this.numberOfAvailableIPs=i.toLocaleString(),e.classList.add("is-valid")}catch{this.numberOfAvailableIPs="0",e.classList.add("is-invalid")}},"newConfiguration.ListenPort"(t){let e=document.querySelector("#ListenPort");e.classList.remove("is-invalid","is-valid"),t<0||t>65353||!Number.isInteger(t)?e.classList.add("is-invalid"):e.classList.add("is-valid")},"newConfiguration.ConfigurationName"(t){let e=document.querySelector("#ConfigurationName");e.classList.remove("is-invalid","is-valid"),!/^[a-zA-Z0-9_=+.-]{1,15}$/.test(t)||t.length===0||this.store.Configurations.find(n=>n.Name===t)?e.classList.add("is-invalid"):e.classList.add("is-valid")},"newConfiguration.PrivateKey"(t){let e=document.querySelector("#PrivateKey");e.classList.remove("is-invalid","is-valid");try{wireguard.generatePublicKey(t),e.classList.add("is-valid")}catch{e.classList.add("is-invalid")}}}},A8={class:"mt-5 text-body"},P8={class:"container mb-4"},M8={class:"mb-4 d-flex align-items-center gap-4"},I8={class:"mb-0"},D8={class:"card rounded-3 shadow"},R8={class:"card-header"},$8={class:"card-body"},L8=["disabled"],O8={class:"invalid-feedback"},N8={key:0},F8={key:1},B8={class:"mb-0"},V8={class:"card rounded-3 shadow"},W8={class:"card-header"},z8={class:"card-body",style:{"font-family":"var(--bs-font-monospace)"}},Y8={class:"mb-2"},H8={class:"text-muted fw-bold mb-1"},j8={class:"input-group"},K8=["disabled"],U8={class:"text-muted fw-bold mb-1"},G8={class:"card rounded-3 shadow"},X8={class:"card-header"},q8={class:"card-body"},Z8=["disabled"],J8={class:"invalid-feedback"},Q8={key:0},eW={key:1},tW={class:"card rounded-3 shadow"},nW={class:"card-header d-flex align-items-center"},iW={class:"badge rounded-pill text-bg-success ms-auto"},sW={class:"card-body"},rW=["disabled"],oW={class:"invalid-feedback"},aW={key:0},lW={key:1},cW={class:"accordion",id:"newConfigurationOptionalAccordion"},uW={class:"accordion-item"},dW={class:"accordion-header"},hW={class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#newConfigurationOptionalAccordionCollapse"},fW={id:"newConfigurationOptionalAccordionCollapse",class:"accordion-collapse collapse","data-bs-parent":"#newConfigurationOptionalAccordion"},gW={class:"accordion-body d-flex flex-column gap-3"},pW={class:"card rounded-3"},mW={class:"card-body"},_W={class:"card rounded-3"},vW={class:"card-body"},yW={class:"card rounded-3"},bW={class:"card-body"},wW={class:"card rounded-3"},xW={class:"card-body"},EW=["disabled"],CW={key:0,class:"d-flex w-100"},SW={key:1,class:"d-flex w-100"},kW={key:2,class:"d-flex w-100 align-items-center"};function TW(t,e,n,i,s,r){const o=Se("RouterLink"),a=Se("LocaleText");return P(),F("div",A8,[h("div",P8,[h("div",M8,[$(o,{to:"/",class:"btn btn-dark btn-brand p-2 shadow",style:{"border-radius":"100%"}},{default:Pe(()=>e[11]||(e[11]=[h("h2",{class:"mb-0",style:{"line-height":"0"}},[h("i",{class:"bi bi-arrow-left-circle"})],-1)])),_:1}),h("h2",I8,[$(a,{t:"New Configuration"})]),$(o,{to:"/restore_configuration",class:"btn btn-dark btn-brand p-2 shadow ms-auto",style:{"border-radius":"100%"}},{default:Pe(()=>e[12]||(e[12]=[h("h2",{class:"mb-0",style:{"line-height":"0"}},[h("i",{class:"bi bi-clock-history"})],-1)])),_:1})]),h("form",{class:"text-body d-flex flex-column gap-3",onSubmit:e[10]||(e[10]=l=>{l.preventDefault(),this.saveNewConfiguration()})},[h("div",D8,[h("div",R8,[$(a,{t:"Configuration Name"})]),h("div",$8,[Re(h("input",{type:"text",class:"form-control",placeholder:"ex. wg1",id:"ConfigurationName","onUpdate:modelValue":e[0]||(e[0]=l=>this.newConfiguration.ConfigurationName=l),disabled:this.loading,required:""},null,8,L8),[[We,this.newConfiguration.ConfigurationName]]),h("div",O8,[this.error?(P(),F("div",N8,pe(this.errorMessage),1)):(P(),F("div",F8,[$(a,{t:"Configuration name is invalid. Possible reasons:"}),h("ul",B8,[h("li",null,[$(a,{t:"Configuration name already exist."})]),h("li",null,[$(a,{t:"Configuration name can only contain 15 lower/uppercase alphabet, numbers, underscore, equal sign, plus sign, period and hyphen."})])])]))])])]),h("div",V8,[h("div",W8,[$(a,{t:"Private Key"}),e[13]||(e[13]=Be(" & ")),$(a,{t:"Public Key"})]),h("div",z8,[h("div",Y8,[h("label",H8,[h("small",null,[$(a,{t:"Private Key"})])]),h("div",j8,[Re(h("input",{type:"text",class:"form-control",id:"PrivateKey",required:"",disabled:this.loading,"onUpdate:modelValue":e[1]||(e[1]=l=>this.newConfiguration.PrivateKey=l)},null,8,K8),[[We,this.newConfiguration.PrivateKey]]),h("button",{class:"btn btn-outline-primary",type:"button",title:"Regenerate Private Key",onClick:e[2]||(e[2]=l=>r.wireguardGenerateKeypair())},e[14]||(e[14]=[h("i",{class:"bi bi-arrow-repeat"},null,-1)]))])]),h("div",null,[h("label",U8,[h("small",null,[$(a,{t:"Public Key"})])]),Re(h("input",{type:"text",class:"form-control",id:"PublicKey","onUpdate:modelValue":e[3]||(e[3]=l=>this.newConfiguration.PublicKey=l),disabled:""},null,512),[[We,this.newConfiguration.PublicKey]])])])]),h("div",G8,[h("div",X8,[$(a,{t:"Listen Port"})]),h("div",q8,[Re(h("input",{type:"number",class:"form-control",placeholder:"0-65353",id:"ListenPort",min:"1",max:"65353","onUpdate:modelValue":e[4]||(e[4]=l=>this.newConfiguration.ListenPort=l),disabled:this.loading,required:""},null,8,Z8),[[We,this.newConfiguration.ListenPort]]),h("div",J8,[this.error?(P(),F("div",Q8,pe(this.errorMessage),1)):(P(),F("div",eW,[$(a,{t:"Invalid port"})]))])])]),h("div",tW,[h("div",nW,[$(a,{t:"IP Address/CIDR"}),h("span",iW,pe(s.numberOfAvailableIPs)+" Available IPs",1)]),h("div",sW,[Re(h("input",{type:"text",class:"form-control",placeholder:"Ex: 10.0.0.1/24",id:"Address","onUpdate:modelValue":e[5]||(e[5]=l=>this.newConfiguration.Address=l),disabled:this.loading,required:""},null,8,rW),[[We,this.newConfiguration.Address]]),h("div",oW,[this.error?(P(),F("div",aW,pe(this.errorMessage),1)):(P(),F("div",lW," IP Address/CIDR is invalid "))])])]),e[23]||(e[23]=h("hr",null,null,-1)),h("div",cW,[h("div",uW,[h("h2",dW,[h("button",hW,[$(a,{t:"Optional Settings"})])]),h("div",fW,[h("div",gW,[h("div",pW,[e[15]||(e[15]=h("div",{class:"card-header"},"PreUp",-1)),h("div",mW,[Re(h("input",{type:"text",class:"form-control",id:"preUp","onUpdate:modelValue":e[6]||(e[6]=l=>this.newConfiguration.PreUp=l)},null,512),[[We,this.newConfiguration.PreUp]])])]),h("div",_W,[e[16]||(e[16]=h("div",{class:"card-header"},"PreDown",-1)),h("div",vW,[Re(h("input",{type:"text",class:"form-control",id:"preDown","onUpdate:modelValue":e[7]||(e[7]=l=>this.newConfiguration.PreDown=l)},null,512),[[We,this.newConfiguration.PreDown]])])]),h("div",yW,[e[17]||(e[17]=h("div",{class:"card-header"},"PostUp",-1)),h("div",bW,[Re(h("input",{type:"text",class:"form-control",id:"postUp","onUpdate:modelValue":e[8]||(e[8]=l=>this.newConfiguration.PostUp=l)},null,512),[[We,this.newConfiguration.PostUp]])])]),h("div",wW,[e[18]||(e[18]=h("div",{class:"card-header"},"PostDown",-1)),h("div",xW,[Re(h("input",{type:"text",class:"form-control",id:"postDown","onUpdate:modelValue":e[9]||(e[9]=l=>this.newConfiguration.PostDown=l)},null,512),[[We,this.newConfiguration.PostDown]])])])])])])]),h("button",{class:"btn btn-dark btn-brand rounded-3 px-3 py-2 shadow ms-auto",disabled:!this.goodToSubmit||this.loading||this.success},[this.success?(P(),F("span",CW,[$(a,{t:"Success"}),e[19]||(e[19]=Be("! ")),e[20]||(e[20]=h("i",{class:"bi bi-check-circle-fill ms-2"},null,-1))])):this.loading?(P(),F("span",kW,[$(a,{t:"Saving..."}),e[22]||(e[22]=h("span",{class:"ms-2 spinner-border spinner-border-sm",role:"status"},null,-1))])):(P(),F("span",SW,[e[21]||(e[21]=h("i",{class:"bi bi-save-fill me-2"},null,-1)),$(a,{t:"Save"})]))],8,EW)],32)])])}const AW=ze(T8,[["render",TW]]),PW={name:"configuration"},MW={class:"mt-md-5 mt-3 text-body"};function IW(t,e,n,i,s,r){const o=Se("RouterView");return P(),F("div",MW,[$(o,null,{default:Pe(({Component:a,route:l})=>[$(vt,{name:"fade2",mode:"out-in"},{default:Pe(()=>[(P(),Ce(x_,null,{default:Pe(()=>[(P(),Ce(_a(a),{key:l.path}))]),_:2},1024))]),_:2},1024)]),_:1})])}const DW=ze(PW,[["render",IW]]),RW={name:"peerSearch",components:{LocaleText:Le},setup(){const t=Xe(),e=$n();return{store:t,wireguardConfigurationStore:e}},props:{configuration:Object},data(){return{sort:{status:At("Status"),name:At("Name"),allowed_ip:At("Allowed IPs"),restricted:At("Restricted")},interval:{5e3:At("5 Seconds"),1e4:At("10 Seconds"),3e4:At("30 Seconds"),6e4:At("1 Minutes")},searchString:"",searchStringTimeout:void 0,showDisplaySettings:!1,showMoreSettings:!1}},methods:{debounce(){this.searchStringTimeout?(clearTimeout(this.searchStringTimeout),this.searchStringTimeout=setTimeout(()=>{this.wireguardConfigurationStore.searchString=this.searchString},300)):this.searchStringTimeout=setTimeout(()=>{this.wireguardConfigurationStore.searchString=this.searchString},300)},updateSort(t){dt("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_sort",value:t},e=>{e.status&&this.store.getConfiguration()})},updateRefreshInterval(t){dt("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_refresh_interval",value:t},e=>{e.status&&this.store.getConfiguration()})},downloadAllPeer(){Pt(`/api/downloadAllPeers/${this.configuration.Name}`,{},t=>{console.log(t),window.wireguard.generateZipFiles(t,this.configuration.Name)})}},computed:{searchBarPlaceholder(){return At("Search Peers...")}}},$W={class:"mb-3"},LW={class:"d-flex gap-2 z-3 peerSearchContainer"},OW={class:"mt-3 mt-md-0 flex-grow-1"},NW=["placeholder"],FW={key:0,class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll displayModal"},BW={class:"container-md d-flex h-100 w-100"},VW={class:"m-auto modal-dialog-centered dashboardModal"},WW={class:"card rounded-3 shadow w-100"},zW={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},YW={class:"mb-0 fw-normal"},HW={class:"card-body px-4 pb-4 d-flex gap-3 flex-column"},jW={class:"text-muted fw-bold mb-2"},KW={class:"list-group"},UW=["onClick"],GW={class:"me-auto"},XW={key:0,class:"bi bi-check text-primary"},qW={class:"text-muted fw-bold mb-2"},ZW={class:"list-group"},JW=["onClick"],QW={class:"me-auto"},ez={key:0,class:"bi bi-check text-primary"},tz={key:0,class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll displayModal"},nz={class:"container-md d-flex h-100 w-100"},iz={class:"m-auto modal-dialog-centered dashboardModal"},sz={class:"card rounded-3 shadow w-100"},rz={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4"},oz={class:"mb-0"},az={class:"card-body px-4 pb-4 d-flex gap-3 flex-column pt-0"},lz={class:"text-muted fw-bold mb-2"},cz={class:"list-group"},uz={class:"text-muted fw-bold mb-2"},dz={class:"list-group"};function hz(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("RouterLink");return P(),F("div",$W,[h("div",LW,[$(a,{to:"create",class:"text-decoration-none btn text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle shadow-sm"},{default:Pe(()=>[e[13]||(e[13]=h("i",{class:"bi bi-plus-lg me-2"},null,-1)),$(o,{t:"Peer"})]),_:1}),h("button",{class:"btn text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle shadow-sm",onClick:e[0]||(e[0]=l=>this.downloadAllPeer())},[e[14]||(e[14]=h("i",{class:"bi bi-download me-2"},null,-1)),$(o,{t:"Download All"})]),h("div",OW,[Re(h("input",{class:"form-control rounded-3 bg-secondary-subtle border-1 border-secondary-subtle shadow-sm w-100",placeholder:r.searchBarPlaceholder,id:"searchPeers",onKeyup:e[1]||(e[1]=l=>this.debounce()),"onUpdate:modelValue":e[2]||(e[2]=l=>this.searchString=l)},null,40,NW),[[We,this.searchString]])]),h("button",{onClick:e[3]||(e[3]=l=>this.showDisplaySettings=!0),class:"btn text-secondary-emphasis bg-secondary-subtle rounded-3 border-1 border-secondary-subtle shadow-sm",type:"button","aria-expanded":"false"},[e[15]||(e[15]=h("i",{class:"bi bi-filter-circle me-2"},null,-1)),$(o,{t:"Display"})]),h("button",{class:"btn text-secondary-emphasis bg-secondary-subtle rounded-3 border-1 border-secondary-subtle shadow-sm",onClick:e[4]||(e[4]=l=>this.$emit("editConfiguration")),type:"button","aria-expanded":"false"},e[16]||(e[16]=[h("i",{class:"bi bi-gear-fill"},null,-1)])),h("button",{class:"btn text-secondary-emphasis bg-secondary-subtle rounded-3 border-1 border-secondary-subtle shadow-sm",onClick:e[5]||(e[5]=l=>this.showMoreSettings=!0),type:"button","aria-expanded":"false"},e[17]||(e[17]=[h("i",{class:"bi bi-three-dots"},null,-1)])),$(vt,{name:"zoom"},{default:Pe(()=>[this.showDisplaySettings?(P(),F("div",FW,[h("div",BW,[h("div",VW,[h("div",WW,[h("div",zW,[h("h4",YW,[$(o,{t:"Display"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[6]||(e[6]=l=>this.showDisplaySettings=!1)})]),h("div",HW,[h("div",null,[h("p",jW,[h("small",null,[$(o,{t:"Sort by"})])]),h("div",KW,[(P(!0),F(Ie,null,Ge(this.sort,(l,c)=>(P(),F("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:u=>this.updateSort(c)},[h("span",GW,pe(l),1),i.store.Configuration.Server.dashboard_sort===c?(P(),F("i",XW)):se("",!0)],8,UW))),256))])]),h("div",null,[h("p",qW,[h("small",null,[$(o,{t:"Refresh Interval"})])]),h("div",ZW,[(P(!0),F(Ie,null,Ge(this.interval,(l,c)=>(P(),F("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:u=>this.updateRefreshInterval(c)},[h("span",QW,pe(l),1),i.store.Configuration.Server.dashboard_refresh_interval===c?(P(),F("i",ez)):se("",!0)],8,JW))),256))])])])])])])])):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[this.showMoreSettings?(P(),F("div",tz,[h("div",nz,[h("div",iz,[h("div",sz,[h("div",rz,[h("h4",oz,[$(o,{t:"Other Settings"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[7]||(e[7]=l=>this.showMoreSettings=!1)})]),h("div",az,[h("div",null,[h("p",lz,[h("small",null,[$(o,{t:"Peers"})])]),h("div",cz,[h("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:e[8]||(e[8]=l=>this.$emit("selectPeers"))},[$(o,{t:"Select Peers"})]),h("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:e[9]||(e[9]=l=>this.$emit("jobsAll"))},[$(o,{t:"Active Jobs"})]),h("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:e[10]||(e[10]=l=>this.$emit("jobLogs"))},[$(o,{t:"Logs"})])])]),h("div",null,[h("p",uz,[h("small",null,[$(o,{t:"Configuration"})])]),h("div",dz,[h("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:e[11]||(e[11]=l=>this.$emit("backupRestore"))},[$(o,{t:"Backup & Restore"})]),h("a",{class:"list-group-item list-group-item-action d-flex text-danger fw-bold",role:"button",onClick:e[12]||(e[12]=l=>this.$emit("deleteConfiguration"))},[$(o,{t:"Delete"})])])])])])])])])):se("",!0)]),_:1})])])}const fz=ze(RW,[["render",hz],["__scopeId","data-v-aaa147c4"]]);function gz(t){return af()?(o_(t),!0):!1}function kS(t){return typeof t=="function"?t():Z(t)}const TS=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const pz=Object.prototype.toString,mz=t=>pz.call(t)==="[object Object]",uh=()=>{},_z=vz();function vz(){var t,e;return TS&&((t=window?.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window?.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function xc(t){var e;const n=kS(t);return(e=n?.$el)!=null?e:n}const AS=TS?window:void 0;function Ug(...t){let e,n,i,s;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,i,s]=t,e=AS):[e,n,i,s]=t,!e)return uh;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const r=[],o=()=>{r.forEach(u=>u()),r.length=0},a=(u,d,f,g)=>(u.addEventListener(d,f,g),()=>u.removeEventListener(d,f,g)),l=jt(()=>[xc(e),kS(s)],([u,d])=>{if(o(),!u)return;const f=mz(d)?{...d}:d;r.push(...n.flatMap(g=>i.map(p=>a(u,g,p,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),o()};return gz(c),c}let T0=!1;function yz(t,e,n={}){const{window:i=AS,ignore:s=[],capture:r=!0,detectIframe:o=!1}=n;if(!i)return uh;_z&&!T0&&(T0=!0,Array.from(i.document.body.children).forEach(f=>f.addEventListener("click",uh)),i.document.documentElement.addEventListener("click",uh));let a=!0;const l=f=>s.some(g=>{if(typeof g=="string")return Array.from(i.document.querySelectorAll(g)).some(p=>p===f.target||f.composedPath().includes(p));{const p=xc(g);return p&&(f.target===p||f.composedPath().includes(p))}}),u=[Ug(i,"click",f=>{const g=xc(t);if(!(!g||g===f.target||f.composedPath().includes(g))){if(f.detail===0&&(a=!l(f)),!a){a=!0;return}e(f)}},{passive:!0,capture:r}),Ug(i,"pointerdown",f=>{const g=xc(t);a=!l(f)&&!!(g&&!f.composedPath().includes(g))},{passive:!0}),o&&Ug(i,"blur",f=>{setTimeout(()=>{var g;const p=xc(t);((g=i.document.activeElement)==null?void 0:g.tagName)==="IFRAME"&&!p?.contains(i.document.activeElement)&&e(f)},0)})].filter(Boolean);return()=>u.forEach(f=>f())}const bz={name:"peerSettingsDropdown",components:{LocaleText:Le},setup(){return{dashboardStore:Xe()}},props:{Peer:Object},data(){return{deleteBtnDisabled:!1,restrictBtnDisabled:!1,allowAccessBtnDisabled:!1,confirmDelete:!1}},methods:{downloadPeer(){Pt("/api/downloadPeer/"+this.$route.params.id,{id:this.Peer.id},t=>{if(t.status){const e=new Blob([t.data.file],{type:"text/plain"}),n=URL.createObjectURL(e),i=`${t.data.fileName}.conf`,s=document.createElement("a");s.href=n,s.download=i,s.click(),this.dashboardStore.newMessage("WGDashboard","Peer download started","success")}else this.dashboardStore.newMessage("Server",t.message,"danger")})},downloadQRCode(){Pt("/api/downloadPeer/"+this.$route.params.id,{id:this.Peer.id},t=>{t.status?this.$emit("qrcode",t.data.file):this.dashboardStore.newMessage("Server",t.message,"danger")})},deletePeer(){this.deleteBtnDisabled=!0,dt(`/api/deletePeers/${this.$route.params.id}`,{peers:[this.Peer.id]},t=>{this.dashboardStore.newMessage("Server",t.message,t.status?"success":"danger"),this.$emit("refresh"),this.deleteBtnDisabled=!1})},restrictPeer(){this.restrictBtnDisabled=!0,dt(`/api/restrictPeers/${this.$route.params.id}`,{peers:[this.Peer.id]},t=>{this.dashboardStore.newMessage("Server",t.message,t.status?"success":"danger"),this.$emit("refresh"),this.restrictBtnDisabled=!1})},allowAccessPeer(){this.allowAccessBtnDisabled=!0,dt(`/api/allowAccessPeers/${this.$route.params.id}`,{peers:[this.Peer.id]},t=>{this.dashboardStore.newMessage("Server",t.message,t.status?"success":"danger"),this.$emit("refresh"),this.allowAccessBtnDisabled=!1})}}},wz={class:"dropdown-menu mt-2 shadow-lg d-block rounded-3",style:{"max-width":"200px"}},xz={style:{"font-size":"0.8rem","padding-left":"var(--bs-dropdown-item-padding-x)","padding-right":"var(--bs-dropdown-item-padding-x)"}},Ez={class:"text-body d-flex"},Cz={class:"ms-auto"},Sz={key:1},kz={class:"w-100 dropdown-item text-muted",style:{"white-space":"break-spaces","font-size":"0.7rem"}},Tz={key:2,class:"d-flex",style:{"padding-left":"var(--bs-dropdown-item-padding-x)","padding-right":"var(--bs-dropdown-item-padding-x)"}},Az={key:1,class:"confirmDelete"},Pz={class:"d-flex w-100 gap-2"},Mz=["disabled"],Iz=["disabled"],Dz={key:1};function Rz(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("ul",wz,[this.Peer.restricted?(P(),F("li",Dz,[h("a",{class:Ee(["dropdown-item d-flex text-warning",{disabled:this.allowAccessBtnDisabled}]),onClick:e[9]||(e[9]=a=>this.allowAccessPeer()),role:"button"},[e[24]||(e[24]=h("i",{class:"me-auto bi bi-unlock"},null,-1)),this.allowAccessBtnDisabled?(P(),Ce(o,{key:1,t:"Allowing Access..."})):(P(),Ce(o,{key:0,t:"Allow Access"}))],2)])):(P(),F(Ie,{key:0},[this.confirmDelete?(P(),F("li",Az,[e[23]||(e[23]=h("small",{style:{"white-space":"break-spaces"},class:"mb-2 d-block fw-bold"},"Are you sure to delete this peer?",-1)),h("div",Pz,[h("button",{disabled:this.deleteBtnDisabled,onClick:e[7]||(e[7]=a=>this.confirmDelete=!1),class:"flex-grow-1 btn btn-sm bg-secondary-subtle text-secondary-emphasis border border-secondary-subtle"},[$(o,{t:"No"})],8,Mz),h("button",{onClick:e[8]||(e[8]=a=>this.deletePeer()),disabled:this.deleteBtnDisabled,class:"flex-grow-1 ms-auto btn btn-sm bg-danger"},[$(o,{t:"Yes"})],8,Iz)])])):(P(),F(Ie,{key:0},[this.Peer.status==="running"?(P(),F(Ie,{key:0},[h("li",xz,[h("span",Ez,[e[10]||(e[10]=h("i",{class:"bi bi-box-arrow-in-right"},null,-1)),h("span",Cz,pe(this.Peer.endpoint),1)])]),e[11]||(e[11]=h("li",null,[h("hr",{class:"dropdown-divider"})],-1))],64)):se("",!0),this.Peer.private_key?(P(),F("li",Tz,[h("a",{class:"dropdown-item text-center px-0 rounded-3",role:"button",onClick:e[0]||(e[0]=a=>this.downloadPeer())},e[12]||(e[12]=[h("i",{class:"me-auto bi bi-download"},null,-1)])),h("a",{class:"dropdown-item text-center px-0 rounded-3",role:"button",onClick:e[1]||(e[1]=a=>this.downloadQRCode())},e[13]||(e[13]=[h("i",{class:"me-auto bi bi-qr-code"},null,-1)])),h("a",{class:"dropdown-item text-center px-0 rounded-3",role:"button",onClick:e[2]||(e[2]=a=>this.$emit("share"))},e[14]||(e[14]=[h("i",{class:"me-auto bi bi-share"},null,-1)]))])):(P(),F("li",Sz,[h("small",kz,[$(o,{t:"Download & QR Code is not available due to no private key set for this peer"})])])),e[21]||(e[21]=h("li",null,[h("hr",{class:"dropdown-divider"})],-1)),h("li",null,[h("a",{class:"dropdown-item d-flex",role:"button",onClick:e[3]||(e[3]=a=>this.$emit("setting"))},[e[15]||(e[15]=h("i",{class:"me-auto bi bi-pen"},null,-1)),e[16]||(e[16]=Be()),$(o,{t:"Peer Settings"})])]),h("li",null,[h("a",{class:"dropdown-item d-flex",role:"button",onClick:e[4]||(e[4]=a=>this.$emit("jobs"))},[e[17]||(e[17]=h("i",{class:"me-auto bi bi-app-indicator"},null,-1)),e[18]||(e[18]=Be()),$(o,{t:"Schedule Jobs"})])]),e[22]||(e[22]=h("li",null,[h("hr",{class:"dropdown-divider"})],-1)),h("li",null,[h("a",{class:Ee(["dropdown-item d-flex text-warning",{disabled:this.restrictBtnDisabled}]),onClick:e[5]||(e[5]=a=>this.restrictPeer()),role:"button"},[e[19]||(e[19]=h("i",{class:"me-auto bi bi-lock"},null,-1)),this.restrictBtnDisabled?(P(),Ce(o,{key:1,t:"Restricting..."})):(P(),Ce(o,{key:0,t:"Restrict Access"}))],2)]),h("li",null,[h("a",{class:Ee(["dropdown-item d-flex fw-bold text-danger",{disabled:this.deleteBtnDisabled}]),onClick:e[6]||(e[6]=a=>this.confirmDelete=!0),role:"button"},[e[20]||(e[20]=h("i",{class:"me-auto bi bi-trash"},null,-1)),this.deleteBtnDisabled?(P(),Ce(o,{key:1,t:"Deleting..."})):(P(),Ce(o,{key:0,t:"Delete"}))],2)])],64))],64))])}const $z=ze(bz,[["render",Rz],["__scopeId","data-v-3fa1c090"]]),Lz={name:"peer",components:{LocaleText:Le,PeerSettingsDropdown:$z},props:{Peer:Object},data(){return{}},setup(){const t=me(null),e=me(!1);return yz(t,n=>{e.value=!1}),{target:t,subMenuOpened:e}},computed:{getLatestHandshake(){return this.Peer.latest_handshake.includes(",")?this.Peer.latest_handshake.split(",")[0]:this.Peer.latest_handshake}}},Oz={key:0,class:"card-header bg-transparent d-flex align-items-center gap-2 border-0"},Nz={style:{"font-size":"0.8rem"},class:"ms-auto d-flex gap-2"},Fz={class:"text-primary"},Bz={class:"text-success"},Vz={key:0,class:"text-secondary"},Wz={key:1,class:"border-0 card-header bg-transparent text-warning fw-bold",style:{"font-size":"0.8rem"}},zz={class:"card-body pt-1",style:{"font-size":"0.9rem"}},Yz={class:"mb-1"},Hz={class:"d-block"},jz={class:"text-muted"},Kz={class:"d-block"},Uz={class:"d-flex align-items-end"};function Gz(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("PeerSettingsDropdown");return P(),F("div",{class:Ee(["card shadow-sm rounded-3 peerCard bg-transparent",{"border-warning":n.Peer.restricted}])},[h("div",null,[n.Peer.restricted?(P(),F("div",Wz,[e[11]||(e[11]=h("i",{class:"bi-lock-fill me-2"},null,-1)),$(o,{t:"Access Restricted"})])):(P(),F("div",Oz,[h("div",{class:Ee(["dot ms-0",{active:n.Peer.status==="running"}])},null,2),h("div",Nz,[h("span",Fz,[e[6]||(e[6]=h("i",{class:"bi bi-arrow-down"},null,-1)),h("strong",null,pe((n.Peer.cumu_receive+n.Peer.total_receive).toFixed(4)),1),e[7]||(e[7]=Be(" GB "))]),h("span",Bz,[e[8]||(e[8]=h("i",{class:"bi bi-arrow-up"},null,-1)),h("strong",null,pe((n.Peer.cumu_sent+n.Peer.total_sent).toFixed(4)),1),e[9]||(e[9]=Be(" GB "))]),n.Peer.latest_handshake!=="No Handshake"?(P(),F("span",Vz,[e[10]||(e[10]=h("i",{class:"bi bi-arrows-angle-contract"},null,-1)),Be(" "+pe(r.getLatestHandshake)+" ago ",1)])):se("",!0)])]))]),h("div",zz,[h("h6",null,pe(n.Peer.name?n.Peer.name:"Untitled Peer"),1),h("div",Yz,[e[12]||(e[12]=h("small",{class:"text-muted"}," Public Key ",-1)),h("small",Hz,[h("samp",null,pe(n.Peer.id),1)])]),h("div",null,[h("small",jz,[$(o,{t:"Allowed IPs"})]),h("small",Kz,[h("samp",null,pe(n.Peer.allowed_ip),1)])]),h("div",Uz,[h("div",{class:Ee(["ms-auto px-2 rounded-3 subMenuBtn",{active:this.subMenuOpened}])},[h("a",{role:"button",class:"text-body",onClick:e[0]||(e[0]=l=>this.subMenuOpened=!0)},e[13]||(e[13]=[h("h5",{class:"mb-0"},[h("i",{class:"bi bi-three-dots"})],-1)])),$(vt,{name:"slide-fade"},{default:Pe(()=>[this.subMenuOpened?(P(),Ce(a,{key:0,onQrcode:e[1]||(e[1]=l=>this.$emit("qrcode",l)),onSetting:e[2]||(e[2]=l=>this.$emit("setting")),onJobs:e[3]||(e[3]=l=>this.$emit("jobs")),onRefresh:e[4]||(e[4]=l=>this.$emit("refresh")),onShare:e[5]||(e[5]=l=>this.$emit("share")),Peer:n.Peer,ref:"target"},null,8,["Peer"])):se("",!0)]),_:1})],2)])])],2)}const Xz=ze(Lz,[["render",Gz],["__scopeId","data-v-116e739e"]]);/*! @@ -64,7 +64,7 @@ Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),t.put(n,13)}};var f9 The chosen QR Code version cannot contain this amount of data. Minimum version required to store current data is: `+r+`. `);const o=T9(e,n,s),a=Ff.getSymbolSize(e),l=new m9(a);return x9(l,e),E9(l),C9(l,e),up(l,n,0),e>=7&&S9(l,e),k9(l,o),isNaN(i)&&(i=Sm.getBestMask(l,up.bind(null,l,n))),Sm.applyMask(i,l),up(l,n,i),{modules:l,version:e,errorCorrectionLevel:n,maskPattern:i,segments:s}}Vk.create=function(e,n){if(typeof e>"u"||e==="")throw new Error("No input text");let i=lp.M,s,r;return typeof n<"u"&&(i=lp.from(n.errorCorrectionLevel,lp.M),s=Fh.from(n.version),r=Sm.from(n.maskPattern),n.toSJISFunc&&Ff.setToSJISFunction(n.toSJISFunc)),P9(e,s,i,r)};var Qk={},fv={};(function(t){function e(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let i=n.slice().replace("#","").split("");if(i.length<3||i.length===5||i.length>8)throw new Error("Invalid hex color: "+n);(i.length===3||i.length===4)&&(i=Array.prototype.concat.apply([],i.map(function(r){return[r,r]}))),i.length===6&&i.push("F","F");const s=parseInt(i.join(""),16);return{r:s>>24&255,g:s>>16&255,b:s>>8&255,a:s&255,hex:"#"+i.slice(0,6).join("")}}t.getOptions=function(i){i||(i={}),i.color||(i.color={});const s=typeof i.margin>"u"||i.margin===null||i.margin<0?4:i.margin,r=i.width&&i.width>=21?i.width:void 0,o=i.scale||4;return{width:r,scale:r?4:o,margin:s,color:{dark:e(i.color.dark||"#000000ff"),light:e(i.color.light||"#ffffffff")},type:i.type,rendererOpts:i.rendererOpts||{}}},t.getScale=function(i,s){return s.width&&s.width>=i+s.margin*2?s.width/(i+s.margin*2):s.scale},t.getImageWidth=function(i,s){const r=t.getScale(i,s);return Math.floor((i+s.margin*2)*r)},t.qrToImageData=function(i,s,r){const o=s.modules.size,a=s.modules.data,l=t.getScale(o,r),c=Math.floor((o+r.margin*2)*l),u=r.margin*l,d=[r.color.light,r.color.dark];for(let f=0;f=u&&g>=u&&f"u"&&(!o||!o.getContext)&&(l=o,o=void 0),o||(c=i()),l=e.getOptions(l);const u=e.getImageWidth(r.modules.size,l),d=c.getContext("2d"),f=d.createImageData(u,u);return e.qrToImageData(f.data,r,l),n(d,c,u),d.putImageData(f,0,0),c},t.renderToDataURL=function(r,o,a){let l=a;typeof l>"u"&&(!o||!o.getContext)&&(l=o,o=void 0),l||(l={});const c=t.render(r,o,l),u=l.type||"image/png",d=l.rendererOpts||{};return c.toDataURL(u,d.quality)}})(Qk);var eT={};const M9=fv;function iw(t,e){const n=t.a/255,i=e+'="'+t.hex+'"';return n<1?i+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':i}function dp(t,e,n){let i=t+e;return typeof n<"u"&&(i+=" "+n),i}function I9(t,e,n){let i="",s=0,r=!1,o=0;for(let a=0;a0&&l>0&&t[a-1]||(i+=r?dp("M",l+n,.5+c+n):dp("m",s,0),s=0,r=!1),l+1':"",c="',u='viewBox="0 0 '+a+" "+a+'"',f=''+l+c+` -`;return typeof i=="function"&&i(null,f),f};const D9=U7,Tm=Vk,tT=Qk,R9=eT;function gv(t,e,n,i,s){const r=[].slice.call(arguments,1),o=r.length,a=typeof r[o-1]=="function";if(!a&&!D9())throw new Error("Callback required as last argument");if(a){if(o<2)throw new Error("Too few arguments provided");o===2?(s=n,n=e,e=i=void 0):o===3&&(e.getContext&&typeof s>"u"?(s=i,i=void 0):(s=i,i=n,n=e,e=void 0))}else{if(o<1)throw new Error("Too few arguments provided");return o===1?(n=e,e=i=void 0):o===2&&!e.getContext&&(i=n,n=e,e=void 0),new Promise(function(l,c){try{const u=Tm.create(n,i);l(t(u,e,i))}catch(u){c(u)}})}try{const l=Tm.create(n,i);s(null,t(l,e,i))}catch(l){s(l)}}wa.create=Tm.create;wa.toCanvas=gv.bind(null,tT.render);wa.toDataURL=gv.bind(null,tT.renderToDataURL);wa.toString=gv.bind(null,function(t,e,n){return R9.render(t,n)});const $9={name:"peerQRCode",components:{LocaleText:Le},props:{peerConfigData:String},mounted(){wa.toCanvas(document.querySelector("#qrcode"),this.peerConfigData,t=>{t&&console.error(t)})}},L9={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0"},O9={class:"container d-flex h-100 w-100"},N9={class:"m-auto modal-dialog-centered dashboardModal justify-content-center"},F9={class:"card rounded-3 shadow"},B9={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},V9={class:"mb-0"},W9={class:"card-body"},z9={id:"qrcode",class:"rounded-3 shadow",ref:"qrcode"};function Y9(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",L9,[h("div",O9,[h("div",N9,[h("div",F9,[h("div",B9,[h("h4",V9,[$(o,{t:"QR Code"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=a=>this.$emit("close"))})]),h("div",W9,[h("canvas",z9,null,512)])])])])])}const H9=ze($9,[["render",Y9]]),j9={name:"nameInput",components:{LocaleText:Le},props:{bulk:Boolean,data:Object,saving:Boolean}},K9={for:"peer_name_textbox",class:"form-label"},U9={class:"text-muted"},G9=["disabled"];function X9(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",{class:Ee({inactiveField:this.bulk})},[h("label",K9,[h("small",U9,[$(o,{t:"Name"})])]),Re(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving||this.bulk,"onUpdate:modelValue":e[0]||(e[0]=a=>this.data.name=a),id:"peer_name_textbox",placeholder:""},null,8,G9),[[We,this.data.name]])],2)}const q9=ze(j9,[["render",X9]]),Z9={name:"privatePublicKeyInput",components:{LocaleText:Le},props:{data:Object,saving:Boolean,bulk:Boolean},setup(){const t=Xe(),e=$n();return{dashboardStore:t,wgStore:e}},data(){return{keypair:{publicKey:"",privateKey:"",presharedKey:""},editKey:!1,error:!1}},methods:{genKeyPair(){this.editKey=!1,this.keypair=window.wireguard.generateKeypair(),this.data.private_key=this.keypair.privateKey,this.data.public_key=this.keypair.publicKey},testKey(t){return/^[A-Za-z0-9+/]{43}=?=?$/.test(t)},checkMatching(){try{this.keypair.privateKey&&this.wgStore.checkWGKeyLength(this.keypair.privateKey)&&(this.keypair.publicKey=window.wireguard.generatePublicKey(this.keypair.privateKey),window.wireguard.generatePublicKey(this.keypair.privateKey)!==this.keypair.publicKey?(this.error=!0,this.dashboardStore.newMessage("WGDashboard","Private key does not match with the public key","danger")):(this.data.private_key=this.keypair.privateKey,this.data.public_key=this.keypair.publicKey))}catch{this.error=!0,this.data.private_key="",this.data.public_key=""}}},mounted(){this.genKeyPair()},watch:{keypair:{deep:!0,handler(){this.error=!1,this.checkMatching()}}}},J9={for:"peer_private_key_textbox",class:"form-label"},Q9={class:"text-muted"},eX={class:"input-group"},tX=["disabled"],nX=["disabled"],iX={class:"d-flex"},sX={for:"public_key",class:"form-label"},rX={class:"text-muted"},oX={class:"form-check form-switch ms-auto"},aX=["disabled"],lX={class:"form-check-label",for:"enablePublicKeyEdit"},cX=["disabled"];function uX(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",{class:Ee(["d-flex gap-2 flex-column",{inactiveField:this.bulk}])},[h("div",null,[h("label",J9,[h("small",Q9,[$(o,{t:"Private Key"}),h("code",null,[$(o,{t:"(Required for QR Code and Download)"})])])]),h("div",eX,[Re(h("input",{type:"text",class:Ee(["form-control form-control-sm rounded-start-3",{"is-invalid":this.error}]),"onUpdate:modelValue":e[0]||(e[0]=a=>this.keypair.privateKey=a),disabled:!this.editKey||this.bulk,onBlur:e[1]||(e[1]=a=>this.checkMatching()),id:"peer_private_key_textbox"},null,42,tX),[[We,this.keypair.privateKey]]),h("button",{class:"btn btn-outline-info btn-sm rounded-end-3",onClick:e[2]||(e[2]=a=>this.genKeyPair()),disabled:this.bulk,type:"button",id:"button-addon2"},e[6]||(e[6]=[h("i",{class:"bi bi-arrow-repeat"},null,-1)]),8,nX)])]),h("div",null,[h("div",iX,[h("label",sX,[h("small",rX,[$(o,{t:"Public Key"}),h("code",null,[$(o,{t:"(Required)"})])])]),h("div",oX,[Re(h("input",{class:"form-check-input",type:"checkbox",role:"switch",disabled:this.bulk,id:"enablePublicKeyEdit","onUpdate:modelValue":e[3]||(e[3]=a=>this.editKey=a)},null,8,aX),[[Gn,this.editKey]]),h("label",lX,[h("small",null,[$(o,{t:"Use your own Private and Public Key"})])])])]),Re(h("input",{class:Ee(["form-control-sm form-control rounded-3",{"is-invalid":this.error}]),"onUpdate:modelValue":e[4]||(e[4]=a=>this.keypair.publicKey=a),onBlur:e[5]||(e[5]=a=>this.checkMatching()),disabled:!this.editKey||this.bulk,type:"text",id:"public_key"},null,42,cX),[[We,this.keypair.publicKey]])])],2)}const dX=ze(Z9,[["render",uX]]),hX={name:"allowedIPsInput",components:{LocaleText:Le},props:{data:Object,saving:Boolean,bulk:Boolean,availableIp:void 0},data(){return{allowedIp:[],availableIpSearchString:"",customAvailableIp:"",allowedIpFormatError:!1}},setup(){const t=$n(),e=Xe();return{store:t,dashboardStore:e}},computed:{searchAvailableIps(){return this.availableIpSearchString?this.availableIp.filter(t=>t.includes(this.availableIpSearchString)&&!this.data.allowed_ips.includes(t)):this.availableIp.filter(t=>!this.data.allowed_ips.includes(t))},inputGetLocale(){return At("Enter IP Address/CIDR")}},methods:{addAllowedIp(t){return this.store.checkCIDR(t)?(this.data.allowed_ips.push(t),this.customAvailableIp="",!0):(this.allowedIpFormatError=!0,this.dashboardStore.newMessage("WGDashboard","Allowed IPs is invalid","danger"),!1)}},watch:{customAvailableIp(){this.allowedIpFormatError=!1},availableIp(){this.availableIp!==void 0&&this.availableIp.length>0&&this.addAllowedIp(this.availableIp[0])}},mounted(){}},fX={for:"peer_allowed_ip_textbox",class:"form-label"},gX={class:"text-muted"},pX=["onClick"],mX={class:"d-flex gap-2 align-items-center"},_X={class:"input-group"},vX=["placeholder","disabled"],yX=["disabled"],bX={class:"text-muted"},wX={class:"dropdown flex-grow-1"},xX=["disabled"],EX={key:0,class:"dropdown-menu mt-2 shadow w-100 dropdown-menu-end rounded-3",style:{"overflow-y":"scroll","max-height":"270px",width:"300px !important"}},CX={class:"px-3 pb-2 pt-1 d-flex gap-3 align-items-center"},SX=["onClick"],kX={class:"me-auto"},TX={key:0},AX={class:"px-3 text-muted"};function PX(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",{class:Ee({inactiveField:this.bulk})},[h("label",fX,[h("small",gX,[$(o,{t:"Allowed IPs"}),h("code",null,[$(o,{t:"(Required)"})])])]),h("div",{class:Ee(["d-flex gap-2 flex-wrap",{"mb-2":this.data.allowed_ips.length>0}])},[$(vo,{name:"list"},{default:Pe(()=>[(P(!0),F(Ie,null,Ge(this.data.allowed_ips,(a,l)=>(P(),F("span",{class:"badge rounded-pill text-bg-success",key:a},[Be(pe(a)+" ",1),h("a",{role:"button",onClick:c=>this.data.allowed_ips.splice(l,1)},e[3]||(e[3]=[h("i",{class:"bi bi-x-circle-fill ms-1"},null,-1)]),8,pX)]))),128))]),_:1})],2),h("div",mX,[h("div",_X,[Re(h("input",{type:"text",class:Ee(["form-control form-control-sm rounded-start-3",{"is-invalid":this.allowedIpFormatError}]),placeholder:this.inputGetLocale,"onUpdate:modelValue":e[0]||(e[0]=a=>s.customAvailableIp=a),disabled:n.bulk},null,10,vX),[[We,s.customAvailableIp]]),h("button",{class:"btn btn-outline-success btn-sm rounded-end-3",disabled:n.bulk||!this.customAvailableIp,onClick:e[1]||(e[1]=a=>this.addAllowedIp(this.customAvailableIp)),type:"button",id:"button-addon2"},e[4]||(e[4]=[h("i",{class:"bi bi-plus-lg"},null,-1)]),8,yX)]),h("small",bX,[$(o,{t:"or"})]),h("div",wX,[h("button",{class:"btn btn-outline-secondary btn-sm dropdown-toggle rounded-3 w-100",disabled:!n.availableIp||n.bulk,"data-bs-auto-close":"outside",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[e[5]||(e[5]=h("i",{class:"bi bi-filter-circle me-2"},null,-1)),$(o,{t:"Pick Available IP"})],8,xX),this.availableIp?(P(),F("ul",EX,[h("li",null,[h("div",CX,[e[6]||(e[6]=h("label",{for:"availableIpSearchString",class:"text-muted"},[h("i",{class:"bi bi-search"})],-1)),Re(h("input",{id:"availableIpSearchString",class:"form-control form-control-sm rounded-3","onUpdate:modelValue":e[2]||(e[2]=a=>this.availableIpSearchString=a)},null,512),[[We,this.availableIpSearchString]])])]),(P(!0),F(Ie,null,Ge(this.searchAvailableIps,a=>(P(),F("li",null,[h("a",{class:"dropdown-item d-flex",role:"button",onClick:l=>this.addAllowedIp(a)},[h("span",kX,[h("small",null,pe(a),1)])],8,SX)]))),256)),this.searchAvailableIps.length===0?(P(),F("li",TX,[h("small",AX,[$(o,{t:"No available IP containing"}),Be(' "'+pe(this.availableIpSearchString)+'"',1)])])):se("",!0)])):se("",!0)])])],2)}const MX=ze(hX,[["render",PX],["__scopeId","data-v-6d5fc831"]]),IX={name:"dnsInput",components:{LocaleText:Le},props:{data:Object,saving:Boolean},data(){return{error:!1,dns:JSON.parse(JSON.stringify(this.data.DNS))}},setup(){const t=$n(),e=Xe();return{store:t,dashboardStore:e}},methods:{checkDNS(){if(this.dns){let t=this.dns.split(",").map(e=>e.replaceAll(" ",""));for(let e in t)if(!this.store.regexCheckIP(t[e])){this.error||this.dashboardStore.newMessage("WGDashboard","DNS format is incorrect","danger"),this.error=!0,this.data.DNS="";return}this.error=!1,this.data.DNS=this.dns}}},watch:{dns(){this.checkDNS()}}},DX={for:"peer_DNS_textbox",class:"form-label"},RX={class:"text-muted"},$X=["disabled"];function LX(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("label",DX,[h("small",RX,[$(o,{t:"DNS"})])]),Re(h("input",{type:"text",class:Ee(["form-control form-control-sm rounded-3",{"is-invalid":this.error}]),disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=a=>this.dns=a),id:"peer_DNS_textbox"},null,10,$X),[[We,this.dns]])])}const OX=ze(IX,[["render",LX]]),NX={name:"endpointAllowedIps",components:{LocaleText:Le},props:{data:Object,saving:Boolean},setup(){const t=$n(),e=Xe();return{store:t,dashboardStore:e}},data(){return{endpointAllowedIps:JSON.parse(JSON.stringify(this.data.endpoint_allowed_ip)),error:!1}},methods:{checkAllowedIP(){let t=this.endpointAllowedIps.split(",").map(e=>e.replaceAll(" ",""));for(let e in t)if(!this.store.checkCIDR(t[e])){this.error||this.dashboardStore.newMessage("WGDashboard","Endpoint Allowed IPs format is incorrect","danger"),this.data.endpoint_allowed_ip="",this.error=!0;return}this.error=!1,this.data.endpoint_allowed_ip=this.endpointAllowedIps}},watch:{endpointAllowedIps(){this.checkAllowedIP()}}},FX={for:"peer_endpoint_allowed_ips",class:"form-label"},BX={class:"text-muted"},VX=["disabled"];function WX(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("label",FX,[h("small",BX,[$(o,{t:"Endpoint Allowed IPs"}),h("code",null,[$(o,{t:"(Required)"})])])]),Re(h("input",{type:"text",class:Ee(["form-control form-control-sm rounded-3",{"is-invalid":s.error}]),disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=a=>this.endpointAllowedIps=a),onBlur:e[1]||(e[1]=a=>this.checkAllowedIP()),id:"peer_endpoint_allowed_ips"},null,42,VX),[[We,this.endpointAllowedIps]])])}const zX=ze(NX,[["render",WX]]),YX={name:"presharedKeyInput",components:{LocaleText:Le},props:{data:Object,saving:Boolean},data(){return{enable:!1}},watch:{enable(){this.enable?this.data.preshared_key=window.wireguard.generateKeypair().presharedKey:this.data.preshared_key=""}}},HX={class:"d-flex align-items-start"},jX={for:"peer_preshared_key_textbox",class:"form-label"},KX={class:"text-muted"},UX={class:"form-check form-switch ms-auto"},GX=["disabled"];function XX(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("div",HX,[h("label",jX,[h("small",KX,[$(o,{t:"Pre-Shared Key"})])]),h("div",UX,[Re(h("input",{class:"form-check-input",type:"checkbox",role:"switch","onUpdate:modelValue":e[0]||(e[0]=a=>this.enable=a),id:"peer_preshared_key_switch"},null,512),[[Gn,this.enable]])])]),Re(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving||!this.enable,"onUpdate:modelValue":e[1]||(e[1]=a=>this.data.preshared_key=a),id:"peer_preshared_key_textbox"},null,8,GX),[[We,this.data.preshared_key]])])}const qX=ze(YX,[["render",XX]]),ZX={name:"mtuInput",components:{LocaleText:Le},props:{data:Object,saving:Boolean}},JX={for:"peer_mtu",class:"form-label"},QX={class:"text-muted"},eq=["disabled"];function tq(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("label",JX,[h("small",QX,[$(o,{t:"MTU"})])]),Re(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=a=>this.data.mtu=a),min:"0",id:"peer_mtu"},null,8,eq),[[We,this.data.mtu]])])}const nq=ze(ZX,[["render",tq]]),iq={name:"persistentKeepAliveInput",components:{LocaleText:Le},props:{data:Object,saving:Boolean}},sq={for:"peer_keep_alive",class:"form-label"},rq={class:"text-muted"},oq=["disabled"];function aq(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("label",sq,[h("small",rq,[$(o,{t:"Persistent Keepalive"})])]),Re(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=a=>this.data.keepalive=a),id:"peer_keep_alive"},null,8,oq),[[We,this.data.keepalive]])])}const lq=ze(iq,[["render",aq]]),cq={name:"bulkAdd",components:{LocaleText:Le},props:{saving:Boolean,data:Object,availableIp:void 0},computed:{bulkAddGetLocale(){return At("How many peers you want to add?")}}},uq={class:"form-check form-switch"},dq=["disabled"],hq={class:"form-check-label me-2",for:"bulk_add"},fq={class:"text-muted d-block"},gq={key:0,class:"form-group"},pq=["max","placeholder"],mq={class:"text-muted"};function _q(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("div",uq,[Re(h("input",{class:"form-check-input",type:"checkbox",role:"switch",disabled:!this.availableIp,id:"bulk_add","onUpdate:modelValue":e[0]||(e[0]=a=>this.data.bulkAdd=a)},null,8,dq),[[Gn,this.data.bulkAdd]]),h("label",hq,[h("small",null,[h("strong",null,[$(o,{t:"Bulk Add"})])])])]),h("p",{class:Ee({"mb-0":!this.data.bulkAdd})},[h("small",fq,[$(o,{t:"By adding peers by bulk, each peer's name will be auto generated, and Allowed IP will be assign to the next available IP."})])],2),this.data.bulkAdd?(P(),F("div",gq,[Re(h("input",{class:"form-control form-control-sm rounded-3 mb-1",type:"number",min:"1",max:this.availableIp.length,"onUpdate:modelValue":e[1]||(e[1]=a=>this.data.bulkAddAmount=a),placeholder:this.bulkAddGetLocale},null,8,pq),[[We,this.data.bulkAddAmount]]),h("small",mq,[$(o,{t:"You can add up to "+this.availableIp.length+" peers"},null,8,["t"])])])):se("",!0)])}const vq=ze(cq,[["render",_q]]),yq={name:"peerCreate",components:{LocaleText:Le,BulkAdd:vq,PersistentKeepAliveInput:lq,MtuInput:nq,PresharedKeyInput:qX,EndpointAllowedIps:zX,DnsInput:OX,AllowedIPsInput:MX,PrivatePublicKeyInput:dX,NameInput:q9},data(){return{data:{bulkAdd:!1,bulkAddAmount:0,name:"",allowed_ips:[],private_key:"",public_key:"",DNS:this.dashboardStore.Configuration.Peers.peer_global_dns,endpoint_allowed_ip:this.dashboardStore.Configuration.Peers.peer_endpoint_allowed_ip,keepalive:parseInt(this.dashboardStore.Configuration.Peers.peer_keep_alive),mtu:parseInt(this.dashboardStore.Configuration.Peers.peer_mtu),preshared_key:"",preshared_key_bulkAdd:!1},availableIp:void 0,availableIpSearchString:"",saving:!1,allowedIpDropdown:void 0}},mounted(){Pt("/api/getAvailableIPs/"+this.$route.params.id,{},t=>{t.status&&(this.availableIp=t.data)})},setup(){const t=$n(),e=Xe();return{store:t,dashboardStore:e}},methods:{peerCreate(){this.saving=!0,dt("/api/addPeers/"+this.$route.params.id,this.data,t=>{t.status?(this.$router.push(`/configuration/${this.$route.params.id}/peers`),this.dashboardStore.newMessage("Server","Peer created successfully","success")):this.dashboardStore.newMessage("Server",t.message,"danger"),this.saving=!1})}},computed:{allRequireFieldsFilled(){let t=!0;return this.data.bulkAdd?(this.data.bulkAddAmount.length===0||this.data.bulkAddAmount>this.availableIp.length)&&(t=!1):["allowed_ips","private_key","public_key","endpoint_allowed_ip","keepalive","mtu"].forEach(n=>{this.data[n].length===0&&(t=!1)}),t}},watch:{bulkAdd(t){t||(this.data.bulkAddAmount="")},"data.bulkAddAmount"(){this.data.bulkAddAmount>this.availableIp.length&&(this.data.bulkAddAmount=this.availableIp.length)}}},bq={class:"container"},wq={class:"mb-4"},xq={class:"mb-5 d-flex align-items-center gap-4"},Eq={class:"mb-0"},Cq={class:"d-flex flex-column gap-2"},Sq={class:"row gy-3"},kq={key:0,class:"col-sm"},Tq={class:"col-sm"},Aq={class:"col-sm"},Pq={key:1,class:"col-12"},Mq={class:"form-check form-switch"},Iq={class:"form-check-label",for:"bullAdd_PresharedKey_Switch"},Dq={class:"fw-bold"},Rq={class:"d-flex mt-2"},$q=["disabled"],Lq={key:0,class:"bi bi-plus-circle-fill me-2"};function Oq(t,e,n,i,s,r){const o=Se("RouterLink"),a=Se("LocaleText"),l=Se("BulkAdd"),c=Se("NameInput"),u=Se("PrivatePublicKeyInput"),d=Se("AllowedIPsInput"),f=Se("EndpointAllowedIps"),g=Se("DnsInput"),p=Se("PresharedKeyInput"),m=Se("MtuInput"),v=Se("PersistentKeepAliveInput");return P(),F("div",bq,[h("div",wq,[h("div",xq,[$(o,{to:"peers",class:"btn btn-dark btn-brand p-2 shadow",style:{"border-radius":"100%"}},{default:Pe(()=>e[2]||(e[2]=[h("h2",{class:"mb-0",style:{"line-height":"0"}},[h("i",{class:"bi bi-arrow-left-circle"})],-1)])),_:1}),h("h2",Eq,[$(a,{t:"Add Peers"})])])]),h("div",Cq,[$(l,{saving:s.saving,data:this.data,availableIp:this.availableIp},null,8,["saving","data","availableIp"]),e[3]||(e[3]=h("hr",{class:"mb-0 mt-2"},null,-1)),this.data.bulkAdd?se("",!0):(P(),Ce(c,{key:0,saving:s.saving,data:this.data},null,8,["saving","data"])),this.data.bulkAdd?se("",!0):(P(),Ce(u,{key:1,saving:s.saving,data:s.data},null,8,["saving","data"])),this.data.bulkAdd?se("",!0):(P(),Ce(d,{key:2,availableIp:this.availableIp,saving:s.saving,data:s.data},null,8,["availableIp","saving","data"])),$(f,{saving:s.saving,data:s.data},null,8,["saving","data"]),$(g,{saving:s.saving,data:s.data},null,8,["saving","data"]),e[4]||(e[4]=h("hr",{class:"mb-0 mt-2"},null,-1)),h("div",Sq,[this.data.bulkAdd?se("",!0):(P(),F("div",kq,[$(p,{saving:s.saving,data:s.data,bulk:this.data.bulkAdd},null,8,["saving","data","bulk"])])),h("div",Tq,[$(m,{saving:s.saving,data:s.data},null,8,["saving","data"])]),h("div",Aq,[$(v,{saving:s.saving,data:s.data},null,8,["saving","data"])]),this.data.bulkAdd?(P(),F("div",Pq,[h("div",Mq,[Re(h("input",{class:"form-check-input",type:"checkbox",role:"switch","onUpdate:modelValue":e[0]||(e[0]=y=>this.data.preshared_key_bulkAdd=y),id:"bullAdd_PresharedKey_Switch",checked:""},null,512),[[Gn,this.data.preshared_key_bulkAdd]]),h("label",Iq,[h("small",Dq,[$(a,{t:"Pre-Shared Key"}),this.data.preshared_key_bulkAdd?(P(),Ce(a,{key:0,t:"Enabled"})):(P(),Ce(a,{key:1,t:"Disabled"}))])])])])):se("",!0)]),h("div",Rq,[h("button",{class:"ms-auto btn btn-dark btn-brand rounded-3 px-3 py-2 shadow",disabled:!this.allRequireFieldsFilled||this.saving,onClick:e[1]||(e[1]=y=>this.peerCreate())},[this.saving?se("",!0):(P(),F("i",Lq)),this.saving?(P(),Ce(a,{key:1,t:"Adding..."})):(P(),Ce(a,{key:2,t:"Add"}))],8,$q)])])])}const nT=ze(yq,[["render",Oq],["__scopeId","data-v-17eb547c"]]),Nq={name:"scheduleDropdown",props:{options:Array,data:String,edit:!1},setup(t){t.data===void 0&&this.$emit("update",this.options[0].value)},computed:{currentSelection(){return this.options.find(t=>t.value===this.data)}}},Fq={class:"dropdown scheduleDropdown"},Bq={class:"dropdown-menu rounded-3 shadow",style:{"font-size":"0.875rem",width:"200px"}},Vq=["onClick"],Wq={key:0,class:"bi bi-check ms-auto"};function zq(t,e,n,i,s,r){return P(),F("div",Fq,[h("button",{class:Ee(["btn btn-sm btn-outline-primary rounded-3",{"disabled border-transparent":!n.edit}]),type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[h("samp",null,pe(this.currentSelection.display),1)],2),h("ul",Bq,[n.edit?(P(!0),F(Ie,{key:0},Ge(this.options,o=>(P(),F("li",null,[h("a",{class:"dropdown-item d-flex align-items-center",role:"button",onClick:a=>t.$emit("update",o.value)},[h("samp",null,pe(o.display),1),o.value===this.currentSelection.value?(P(),F("i",Wq)):se("",!0)],8,Vq)]))),256)):se("",!0)])])}const iT=ze(Nq,[["render",zq],["__scopeId","data-v-6a5aba2a"]]),Yq={name:"schedulePeerJob",components:{LocaleText:Le,VueDatePicker:ju,ScheduleDropdown:iT},props:{dropdowns:Array[Object],pjob:Object,viewOnly:!1},setup(t){const e=me({}),n=me(!1),i=me(!1);e.value=JSON.parse(JSON.stringify(t.pjob)),e.value.CreationDate||(n.value=!0,i.value=!0);const s=Xe();return{job:e,edit:n,newJob:i,store:s}},data(){return{inputType:void 0}},watch:{pjob:{deep:!0,immediate:!0,handler(t){this.edit||(this.job=JSON.parse(JSON.stringify(t)))}}},methods:{save(){this.job.Field&&this.job.Operator&&this.job.Action&&this.job.Value?dt("/api/savePeerScheduleJob/",{Job:this.job},t=>{t.status?(this.edit=!1,this.store.newMessage("Server","Peer job saved","success"),console.log(t.data),this.$emit("refresh",t.data[0]),this.newJob=!1):this.store.newMessage("Server",t.message,"danger")}):this.alert()},alert(){let t="animate__flash",e=this.$el.querySelectorAll(".scheduleDropdown"),n=this.$el.querySelectorAll("input");e.forEach(i=>i.classList.add("animate__animated",t)),n.forEach(i=>i.classList.add("animate__animated",t)),setTimeout(()=>{e.forEach(i=>i.classList.remove("animate__animated",t)),n.forEach(i=>i.classList.remove("animate__animated",t))},2e3)},reset(){this.job.CreationDate?(this.job=JSON.parse(JSON.stringify(this.pjob)),this.edit=!1):this.$emit("delete")},delete(){this.job.CreationDate&&dt("/api/deletePeerScheduleJob/",{Job:this.job},t=>{t.status?this.store.newMessage("Server","Peer job deleted","success"):(this.store.newMessage("Server",t.message,"danger"),this.$emit("delete"))}),this.$emit("delete")},parseTime(t){t&&(this.job.Value=Fn(t).format("YYYY-MM-DD HH:mm:ss"))}}},Hq={class:"card-header bg-transparent text-muted border-0"},jq={key:0,class:"d-flex"},Kq={class:"me-auto"},Uq={key:1},Gq={class:"badge text-bg-warning"},Xq={class:"card-body pt-1",style:{"font-family":"var(--bs-font-monospace)"}},qq={class:"d-flex gap-2 align-items-center mb-2"},Zq=["disabled"],Jq={class:"px-5 d-flex gap-2 align-items-center"},Qq={class:"d-flex gap-3"},eZ={key:0,class:"ms-auto d-flex gap-3"},tZ={key:1,class:"ms-auto d-flex gap-3"};function nZ(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("ScheduleDropdown"),l=Se("VueDatePicker");return P(),F("div",{class:Ee(["card shadow-sm rounded-3 mb-2",{"border-warning-subtle":this.newJob}])},[h("div",Hq,[this.newJob?(P(),F("small",Uq,[h("span",Gq,[$(o,{t:"Unsaved Job"})])])):(P(),F("small",jq,[h("strong",Kq,[$(o,{t:"Job ID"})]),h("samp",null,pe(this.job.JobID),1)]))]),h("div",Xq,[h("div",qq,[h("samp",null,[$(o,{t:"if"})]),$(a,{edit:i.edit,options:this.dropdowns.Field,data:this.job.Field,onUpdate:e[0]||(e[0]=c=>{this.job.Field=c})},null,8,["edit","options","data"]),h("samp",null,[$(o,{t:"is"})]),$(a,{edit:i.edit,options:this.dropdowns.Operator,data:this.job.Operator,onUpdate:e[1]||(e[1]=c=>this.job.Operator=c)},null,8,["edit","options","data"]),this.job.Field==="date"?(P(),Ce(l,{key:0,is24:!0,"min-date":new Date,"model-value":this.job.Value,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",clearable:!1,disabled:!i.edit,dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","disabled","dark"])):Re((P(),F("input",{key:1,class:"form-control form-control-sm form-control-dark rounded-3 flex-grow-1",disabled:!i.edit,"onUpdate:modelValue":e[2]||(e[2]=c=>this.job.Value=c),style:{width:"auto"}},null,8,Zq)),[[We,this.job.Value]]),h("samp",null,pe(this.dropdowns.Field.find(c=>c.value===this.job.Field)?.unit)+" { ",1)]),h("div",Jq,[h("samp",null,[$(o,{t:"then"})]),$(a,{edit:i.edit,options:this.dropdowns.Action,data:this.job.Action,onUpdate:e[3]||(e[3]=c=>this.job.Action=c)},null,8,["edit","options","data"])]),h("div",Qq,[e[12]||(e[12]=h("samp",null,"}",-1)),this.edit?(P(),F("div",tZ,[h("a",{role:"button",class:"text-secondary text-decoration-none",onClick:e[6]||(e[6]=c=>this.reset())},[e[10]||(e[10]=Be("[C] ")),$(o,{t:"Cancel"})]),h("a",{role:"button",class:"text-primary ms-auto text-decoration-none",onClick:e[7]||(e[7]=c=>this.save())},[e[11]||(e[11]=Be("[S] ")),$(o,{t:"Save"})])])):(P(),F("div",eZ,[h("a",{role:"button",class:"ms-auto text-decoration-none",onClick:e[4]||(e[4]=c=>this.edit=!0)},[e[8]||(e[8]=Be("[E] ")),$(o,{t:"Edit"})]),h("a",{role:"button",onClick:e[5]||(e[5]=c=>this.delete()),class:"text-danger text-decoration-none"},[e[9]||(e[9]=Be("[D] ")),$(o,{t:"Delete"})])]))])])],2)}const sT=ze(Yq,[["render",nZ],["__scopeId","data-v-8f3f1b93"]]),iZ={name:"peerJobs",setup(){return{store:$n()}},props:{selectedPeer:Object},components:{LocaleText:Le,SchedulePeerJob:sT,ScheduleDropdown:iT},data(){return{}},methods:{deleteJob(t){this.selectedPeer.jobs=this.selectedPeer.jobs.filter(e=>e.JobID!==t.JobID)},addJob(){this.selectedPeer.jobs.unshift(JSON.parse(JSON.stringify({JobID:Bs().toString(),Configuration:this.selectedPeer.configuration.Name,Peer:this.selectedPeer.id,Field:this.store.PeerScheduleJobs.dropdowns.Field[0].value,Operator:this.store.PeerScheduleJobs.dropdowns.Operator[0].value,Value:"",CreationDate:"",ExpireDate:"",Action:this.store.PeerScheduleJobs.dropdowns.Action[0].value})))}}},sZ={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},rZ={class:"container d-flex h-100 w-100"},oZ={class:"m-auto modal-dialog-centered dashboardModal"},aZ={class:"card rounded-3 shadow",style:{width:"700px"}},lZ={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},cZ={class:"mb-0 fw-normal"},uZ={class:"card-body px-4 pb-4 pt-2 position-relative"},dZ={class:"d-flex align-items-center mb-3"},hZ={class:"card shadow-sm",key:"none",style:{height:"153px"}},fZ={class:"card-body text-muted text-center d-flex"},gZ={class:"m-auto"};function pZ(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("SchedulePeerJob");return P(),F("div",sZ,[h("div",rZ,[h("div",oZ,[h("div",aZ,[h("div",lZ,[h("h4",cZ,[$(o,{t:"Schedule Jobs"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=l=>this.$emit("close"))})]),h("div",uZ,[h("div",dZ,[h("button",{class:"btn bg-primary-subtle border-1 border-primary-subtle text-primary-emphasis rounded-3 shadow",onClick:e[1]||(e[1]=l=>this.addJob())},[e[3]||(e[3]=h("i",{class:"bi bi-plus-lg me-2"},null,-1)),$(o,{t:"Job"})])]),$(vo,{name:"schedulePeerJobTransition",tag:"div",class:"position-relative"},{default:Pe(()=>[(P(!0),F(Ie,null,Ge(this.selectedPeer.jobs,(l,c)=>(P(),Ce(a,{onRefresh:e[2]||(e[2]=u=>this.$emit("refresh")),onDelete:u=>this.deleteJob(l),dropdowns:this.store.PeerScheduleJobs.dropdowns,key:l.JobID,pjob:l},null,8,["onDelete","dropdowns","pjob"]))),128)),this.selectedPeer.jobs.length===0?(P(),F("div",hZ,[h("div",fZ,[h("h6",gZ,[$(o,{t:"This peer does not have any job yet."})])])])):se("",!0)]),_:1})])])])])])}const mZ=ze(iZ,[["render",pZ],["__scopeId","data-v-5bbdd42b"]]),_Z={name:"peerJobsAllModal",setup(){return{store:$n()}},components:{LocaleText:Le,SchedulePeerJob:sT},props:{configurationPeers:Array[Object]},methods:{getuuid(){return Bs()}},computed:{getAllJobs(){return this.configurationPeers.filter(t=>t.jobs.length>0)}}},vZ={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},yZ={class:"container d-flex h-100 w-100"},bZ={class:"m-auto modal-dialog-centered dashboardModal"},wZ={class:"card rounded-3 shadow",style:{width:"700px"}},xZ={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},EZ={class:"mb-0 fw-normal"},CZ={class:"card-body px-4 pb-4 pt-2"},SZ={key:0,class:"accordion",id:"peerJobsLogsModalAccordion"},kZ={class:"accordion-header"},TZ=["data-bs-target"],AZ={key:0},PZ={class:"text-muted"},MZ=["id"],IZ={class:"accordion-body"},DZ={key:1,class:"card shadow-sm",style:{height:"153px"}},RZ={class:"card-body text-muted text-center d-flex"},$Z={class:"m-auto"};function LZ(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("SchedulePeerJob");return P(),F("div",vZ,[h("div",yZ,[h("div",bZ,[h("div",wZ,[h("div",xZ,[h("h4",EZ,[$(o,{t:"All Active Jobs"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=l=>this.$emit("close"))})]),h("div",CZ,[this.getAllJobs.length>0?(P(),F("div",SZ,[(P(!0),F(Ie,null,Ge(this.getAllJobs,(l,c)=>(P(),F("div",{class:"accordion-item",key:l.id},[h("h2",kZ,[h("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapse_"+c},[h("small",null,[h("strong",null,[l.name?(P(),F("span",AZ,pe(l.name)+" • ",1)):se("",!0),h("samp",PZ,pe(l.id),1)])])],8,TZ)]),h("div",{id:"collapse_"+c,class:"accordion-collapse collapse","data-bs-parent":"#peerJobsLogsModalAccordion"},[h("div",IZ,[(P(!0),F(Ie,null,Ge(l.jobs,u=>(P(),Ce(a,{onDelete:e[1]||(e[1]=d=>this.$emit("refresh")),onRefresh:e[2]||(e[2]=d=>this.$emit("refresh")),dropdowns:this.store.PeerScheduleJobs.dropdowns,viewOnly:!0,key:u.JobID,pjob:u},null,8,["dropdowns","pjob"]))),128))])],8,MZ)]))),128))])):(P(),F("div",DZ,[h("div",RZ,[h("span",$Z,[$(o,{t:"No active job at the moment."})])])]))])])])])])}const OZ=ze(_Z,[["render",LZ]]),NZ={name:"peerJobsLogsModal",components:{LocaleText:Le},props:{configurationInfo:Object},data(){return{dataLoading:!0,data:[],logFetchTime:void 0,showLogID:!1,showJobID:!0,showSuccessJob:!0,showFailedJob:!0,showLogAmount:10}},async mounted(){await this.fetchLog()},methods:{async fetchLog(){this.dataLoading=!0,await Pt(`/api/getPeerScheduleJobLogs/${this.configurationInfo.Name}`,{},t=>{this.data=t.data,this.logFetchTime=Fn().format("YYYY-MM-DD HH:mm:ss"),this.dataLoading=!1})}},computed:{getLogs(){return this.data.filter(t=>this.showSuccessJob&&t.Status==="1"||this.showFailedJob&&t.Status==="0")},showLogs(){return this.getLogs.slice(0,this.showLogAmount)}}},FZ={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},BZ={class:"container-fluid d-flex h-100 w-100"},VZ={class:"m-auto mt-0 modal-dialog-centered dashboardModal",style:{width:"100%"}},WZ={class:"card rounded-3 shadow w-100"},zZ={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},YZ={class:"mb-0"},HZ={class:"card-body px-4 pb-4 pt-2"},jZ={key:0},KZ={class:"mb-2 d-flex gap-3"},UZ={class:"d-flex gap-3 align-items-center"},GZ={class:"text-muted"},XZ={class:"form-check"},qZ={class:"form-check-label",for:"jobLogsShowSuccessCheck"},ZZ={class:"badge text-success-emphasis bg-success-subtle"},JZ={class:"form-check"},QZ={class:"form-check-label",for:"jobLogsShowFailedCheck"},eJ={class:"badge text-danger-emphasis bg-danger-subtle"},tJ={class:"d-flex gap-3 align-items-center ms-auto"},nJ={class:"text-muted"},iJ={class:"form-check"},sJ={class:"form-check-label",for:"jobLogsShowJobIDCheck"},rJ={class:"form-check"},oJ={class:"form-check-label",for:"jobLogsShowLogIDCheck"},aJ={class:"table"},lJ={scope:"col"},cJ={key:0,scope:"col"},uJ={key:1,scope:"col"},dJ={scope:"col"},hJ={scope:"col"},fJ={style:{"font-size":"0.875rem"}},gJ={scope:"row"},pJ={key:0},mJ={class:"text-muted"},_J={key:1},vJ={class:"text-muted"},yJ={class:"d-flex gap-2"},bJ={key:1,class:"d-flex align-items-center flex-column"};function wJ(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",FZ,[h("div",BZ,[h("div",VZ,[h("div",WZ,[h("div",zZ,[h("h4",YZ,[$(o,{t:"Jobs Logs"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=a=>this.$emit("close"))})]),h("div",HZ,[this.dataLoading?(P(),F("div",bJ,e[11]||(e[11]=[h("div",{class:"spinner-border text-body",role:"status"},[h("span",{class:"visually-hidden"},"Loading...")],-1)]))):(P(),F("div",jZ,[h("p",null,[$(o,{t:"Updated at"}),Be(" : "+pe(this.logFetchTime),1)]),h("div",KZ,[h("button",{onClick:e[1]||(e[1]=a=>this.fetchLog()),class:"btn btn-sm rounded-3 shadow-sm text-info-emphasis bg-info-subtle border-1 border-info-subtle me-1"},[e[8]||(e[8]=h("i",{class:"bi bi-arrow-clockwise me-2"},null,-1)),$(o,{t:"Refresh"})]),h("div",UZ,[h("span",GZ,[$(o,{t:"Filter"})]),h("div",XZ,[Re(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[2]||(e[2]=a=>this.showSuccessJob=a),id:"jobLogsShowSuccessCheck"},null,512),[[Gn,this.showSuccessJob]]),h("label",qZ,[h("span",ZZ,[$(o,{t:"Success"})])])]),h("div",JZ,[Re(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[3]||(e[3]=a=>this.showFailedJob=a),id:"jobLogsShowFailedCheck"},null,512),[[Gn,this.showFailedJob]]),h("label",QZ,[h("span",eJ,[$(o,{t:"Failed"})])])])]),h("div",tJ,[h("span",nJ,[$(o,{t:"Display"})]),h("div",iJ,[Re(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[4]||(e[4]=a=>s.showJobID=a),id:"jobLogsShowJobIDCheck"},null,512),[[Gn,s.showJobID]]),h("label",sJ,[$(o,{t:"Job ID"})])]),h("div",rJ,[Re(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[5]||(e[5]=a=>s.showLogID=a),id:"jobLogsShowLogIDCheck"},null,512),[[Gn,s.showLogID]]),h("label",oJ,[$(o,{t:"Log ID"})])])])]),h("table",aJ,[h("thead",null,[h("tr",null,[h("th",lJ,[$(o,{t:"Date"})]),s.showLogID?(P(),F("th",cJ,[$(o,{t:"Log ID"})])):se("",!0),s.showJobID?(P(),F("th",uJ,[$(o,{t:"Job ID"})])):se("",!0),h("th",dJ,[$(o,{t:"Status"})]),h("th",hJ,[$(o,{t:"Message"})])])]),h("tbody",null,[(P(!0),F(Ie,null,Ge(this.showLogs,a=>(P(),F("tr",fJ,[h("th",gJ,pe(a.LogDate),1),s.showLogID?(P(),F("td",pJ,[h("samp",mJ,pe(a.LogID),1)])):se("",!0),s.showJobID?(P(),F("td",_J,[h("samp",vJ,pe(a.JobID),1)])):se("",!0),h("td",null,[h("span",{class:Ee(["badge",[a.Status==="1"?"text-success-emphasis bg-success-subtle":"text-danger-emphasis bg-danger-subtle"]])},pe(a.Status==="1"?"Success":"Failed"),3)]),h("td",null,pe(a.Message),1)]))),256))])]),h("div",yJ,[this.getLogs.length>this.showLogAmount?(P(),F("button",{key:0,onClick:e[6]||(e[6]=a=>this.showLogAmount+=20),class:"btn btn-sm rounded-3 shadow-sm text-primary-emphasis bg-primary-subtle border-1 border-primary-subtle"},e[9]||(e[9]=[h("i",{class:"bi bi-chevron-down me-2"},null,-1),Be(" Show More ")]))):se("",!0),this.showLogAmount>20?(P(),F("button",{key:1,onClick:e[7]||(e[7]=a=>this.showLogAmount=20),class:"btn btn-sm rounded-3 shadow-sm text-primary-emphasis bg-primary-subtle border-1 border-primary-subtle"},e[10]||(e[10]=[h("i",{class:"bi bi-chevron-up me-2"},null,-1),Be(" Collapse ")]))):se("",!0)])]))])])])])])}const xJ=ze(NZ,[["render",wJ]]),EJ={name:"peerShareLinkModal",props:{peer:Object},components:{LocaleText:Le,VueDatePicker:ju},data(){return{dataCopy:void 0,loading:!1}},setup(){return{store:Xe()}},mounted(){this.dataCopy=JSON.parse(JSON.stringify(this.peer.ShareLink)).at(0)},watch:{"peer.ShareLink":{deep:!0,handler(t,e){e.length!==t.length&&(this.dataCopy=JSON.parse(JSON.stringify(this.peer.ShareLink)).at(0))}}},methods:{startSharing(){this.loading=!0,dt("/api/sharePeer/create",{Configuration:this.peer.configuration.Name,Peer:this.peer.id,ExpireDate:Fn().add(7,"d").format("YYYY-MM-DD HH:mm:ss")},t=>{t.status?(this.peer.ShareLink=t.data,this.dataCopy=t.data.at(0)):this.store.newMessage("Server","Share link failed to create. Reason: "+t.message,"danger"),this.loading=!1})},updateLinkExpireDate(){dt("/api/sharePeer/update",this.dataCopy,t=>{t.status?(this.dataCopy=t.data.at(0),this.peer.ShareLink=t.data,this.store.newMessage("Server","Link expire date updated","success")):this.store.newMessage("Server","Link expire date failed to update. Reason: "+t.message,"danger"),this.loading=!1})},stopSharing(){this.loading=!0,this.dataCopy.ExpireDate=Fn().format("YYYY-MM-DD HH:mm:ss"),this.updateLinkExpireDate()},parseTime(t){t?this.dataCopy.ExpireDate=Fn(t).format("YYYY-MM-DD HH:mm:ss"):this.dataCopy.ExpireDate=void 0,this.updateLinkExpireDate()}},computed:{getUrl(){const t=this.store.getActiveCrossServer();return t?`${t.host}/${this.$router.resolve({path:"/share",query:{ShareID:this.dataCopy.ShareID}}).href}`:window.location.origin+window.location.pathname+this.$router.resolve({path:"/share",query:{ShareID:this.dataCopy.ShareID}}).href}}},CJ={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},SJ={class:"container d-flex h-100 w-100"},kJ={class:"m-auto modal-dialog-centered dashboardModal",style:{width:"500px"}},TJ={class:"card rounded-3 shadow flex-grow-1"},AJ={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4"},PJ={class:"mb-0"},MJ={key:0,class:"card-body px-4 pb-4"},IJ={key:0},DJ={class:"mb-3 text-muted"},RJ=["disabled"],$J={key:1},LJ={class:"d-flex gap-2 mb-4"},OJ=["href"],NJ={class:"d-flex flex-column gap-2 mb-3"},FJ=["disabled"];function BJ(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("VueDatePicker");return P(),F("div",CJ,[h("div",SJ,[h("div",kJ,[h("div",TJ,[h("div",AJ,[h("h4",PJ,[$(o,{t:"Share Peer"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=l=>this.$emit("close"))})]),this.peer.ShareLink?(P(),F("div",MJ,[this.dataCopy?(P(),F("div",$J,[h("div",LJ,[e[4]||(e[4]=h("i",{class:"bi bi-link-45deg"},null,-1)),h("a",{href:this.getUrl,class:"text-decoration-none",target:"_blank"},pe(r.getUrl),9,OJ)]),h("div",NJ,[h("small",null,[e[5]||(e[5]=h("i",{class:"bi bi-calendar me-2"},null,-1)),$(o,{t:"Expire At"})]),$(a,{is24:!0,"min-date":new Date,"model-value":this.dataCopy.ExpireDate,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","dark"])]),h("button",{onClick:e[2]||(e[2]=l=>this.stopSharing()),disabled:this.loading,class:"w-100 btn bg-danger-subtle text-danger-emphasis border-1 border-danger-subtle rounded-3 shadow-sm"},[h("span",{class:Ee({"animate__animated animate__flash animate__infinite animate__slower":this.loading})},e[6]||(e[6]=[h("i",{class:"bi bi-send-slash-fill me-2"},null,-1)]),2),this.loading?(P(),Ce(o,{key:0,t:"Stop Sharing..."})):(P(),Ce(o,{key:1,t:"Stop Sharing"}))],8,FJ)])):(P(),F("div",IJ,[h("h6",DJ,[$(o,{t:"Currently the peer is not sharing"})]),h("button",{onClick:e[1]||(e[1]=l=>this.startSharing()),disabled:this.loading,class:"w-100 btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm"},[h("span",{class:Ee({"animate__animated animate__flash animate__infinite animate__slower":this.loading})},e[3]||(e[3]=[h("i",{class:"bi bi-send-fill me-2"},null,-1)]),2),this.loading?(P(),Ce(o,{key:0,t:"Sharing..."})):(P(),Ce(o,{key:1,t:"Start Sharing"}))],8,RJ)]))])):se("",!0)])])])])}const VJ=ze(EJ,[["render",BJ]]),WJ={class:"container d-flex h-100 w-100"},zJ={class:"m-auto modal-dialog-centered dashboardModal",style:{width:"700px"}},YJ={class:"card rounded-3 shadow flex-grow-1"},HJ={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4"},jJ={class:"mb-0"},KJ={class:"card-body px-4 pb-4"},UJ={class:"d-flex gap-2 flex-column"},GJ={class:"d-flex align-items-center"},XJ={class:"text-muted"},qJ={class:"ms-auto"},ZJ={class:"d-flex align-items-center"},JJ={class:"text-muted"},QJ={class:"ms-auto"},eQ={for:"configuration_private_key",class:"form-label d-flex"},tQ={class:"text-muted d-block"},nQ={class:"form-check form-switch ms-auto"},iQ=["disabled"],sQ={for:"configuration_ipaddress_cidr",class:"form-label"},rQ={class:"text-muted"},oQ=["disabled"],aQ={for:"configuration_listen_port",class:"form-label"},lQ={class:"text-muted"},cQ=["disabled"],uQ={for:"configuration_preup",class:"form-label"},dQ={class:"text-muted"},hQ=["disabled"],fQ={for:"configuration_predown",class:"form-label"},gQ={class:"text-muted"},pQ=["disabled"],mQ={for:"configuration_postup",class:"form-label"},_Q={class:"text-muted"},vQ=["disabled"],yQ={for:"configuration_postdown",class:"form-label"},bQ={class:"text-muted"},wQ=["disabled"],xQ={class:"d-flex align-items-center gap-2 mt-4"},EQ=["disabled"],CQ=["disabled"],SQ={__name:"editConfiguration",props:{configurationInfo:Object},emits:["changed","close"],setup(t,{emit:e}){const n=t,i=$n(),s=Xe(),r=me(!1),o=Ei(JSON.parse(JSON.stringify(n.configurationInfo))),a=me(!1),l=me(!1);me(!1);const c=Ei({PrivateKey:!0,IPAddress:!0,ListenPort:!0}),u=Bp("editConfigurationContainer"),d=()=>{i.checkWGKeyLength(o.PrivateKey)?(c.PrivateKey=!0,o.PublicKey=window.wireguard.generatePublicKey(o.PrivateKey)):c.PrivateKey=!1},f=()=>{l.value=!1,Object.assign(o,JSON.parse(JSON.stringify(n.configurationInfo)))},g=e,p=()=>{r.value=!0,dt("/api/updateWireguardConfiguration",o,m=>{r.value=!1,m.status?(s.newMessage("Server","Configuration saved","success"),l.value=!1,g("dataChanged",m.data)):s.newMessage("Server",m.message,"danger")})};return jt(o,()=>{l.value=JSON.stringify(o)!==JSON.stringify(n.configurationInfo)},{deep:!0}),me(!1),(m,v)=>(P(),F("div",{class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll",ref_key:"editConfigurationContainer",ref:u},[h("div",WJ,[h("div",zJ,[h("div",YJ,[h("div",HJ,[h("h4",jJ,[$(Le,{t:"Configuration Settings"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:v[0]||(v[0]=y=>m.$emit("close"))})]),h("div",KJ,[h("div",UJ,[h("div",GJ,[h("small",XJ,[$(Le,{t:"Name"})]),h("small",qJ,[h("samp",null,pe(o.Name),1)])]),h("div",ZJ,[h("small",JJ,[$(Le,{t:"Public Key"})]),h("small",QJ,[h("samp",null,pe(o.PublicKey),1)])]),v[15]||(v[15]=h("hr",null,null,-1)),h("div",null,[h("label",eQ,[h("small",tQ,[$(Le,{t:"Private Key"})]),h("div",nQ,[Re(h("input",{class:"form-check-input",type:"checkbox",role:"switch",id:"editPrivateKeySwitch","onUpdate:modelValue":v[1]||(v[1]=y=>a.value=y)},null,512),[[Gn,a.value]]),v[12]||(v[12]=h("label",{class:"form-check-label",for:"editPrivateKeySwitch"},[h("small",null,"Edit")],-1))])]),Re(h("input",{type:"text",class:Ee(["form-control form-control-sm rounded-3",{"is-invalid":!c.PrivateKey}]),disabled:r.value||!a.value,onKeyup:v[2]||(v[2]=y=>d()),"onUpdate:modelValue":v[3]||(v[3]=y=>o.PrivateKey=y),id:"configuration_private_key"},null,42,iQ),[[We,o.PrivateKey]])]),h("div",null,[h("label",sQ,[h("small",rQ,[$(Le,{t:"IP Address/CIDR"})])]),Re(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:r.value,"onUpdate:modelValue":v[4]||(v[4]=y=>o.Address=y),id:"configuration_ipaddress_cidr"},null,8,oQ),[[We,o.Address]])]),h("div",null,[h("label",aQ,[h("small",lQ,[$(Le,{t:"Listen Port"})])]),Re(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:r.value,"onUpdate:modelValue":v[5]||(v[5]=y=>o.ListenPort=y),id:"configuration_listen_port"},null,8,cQ),[[We,o.ListenPort]])]),h("div",null,[h("label",uQ,[h("small",dQ,[$(Le,{t:"PreUp"})])]),Re(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:r.value,"onUpdate:modelValue":v[6]||(v[6]=y=>o.PreUp=y),id:"configuration_preup"},null,8,hQ),[[We,o.PreUp]])]),h("div",null,[h("label",fQ,[h("small",gQ,[$(Le,{t:"PreDown"})])]),Re(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:r.value,"onUpdate:modelValue":v[7]||(v[7]=y=>o.PreDown=y),id:"configuration_predown"},null,8,pQ),[[We,o.PreDown]])]),h("div",null,[h("label",mQ,[h("small",_Q,[$(Le,{t:"PostUp"})])]),Re(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:r.value,"onUpdate:modelValue":v[8]||(v[8]=y=>o.PostUp=y),id:"configuration_postup"},null,8,vQ),[[We,o.PostUp]])]),h("div",null,[h("label",yQ,[h("small",bQ,[$(Le,{t:"PostDown"})])]),Re(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:r.value,"onUpdate:modelValue":v[9]||(v[9]=y=>o.PostDown=y),id:"configuration_postdown"},null,8,wQ),[[We,o.PostDown]])]),h("div",xQ,[h("button",{class:"btn bg-secondary-subtle border-secondary-subtle text-secondary-emphasis rounded-3 shadow ms-auto",onClick:v[10]||(v[10]=y=>f()),disabled:!l.value||r.value},v[13]||(v[13]=[h("i",{class:"bi bi-arrow-clockwise"},null,-1)]),8,EQ),h("button",{class:"btn bg-primary-subtle border-primary-subtle text-primary-emphasis rounded-3 shadow",disabled:!l.value||r.value,onClick:v[11]||(v[11]=y=>p())},v[14]||(v[14]=[h("i",{class:"bi bi-save-fill"},null,-1)]),8,CQ)])])])])])])],512))}},kQ={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll",ref:"selectPeersContainer"},TQ={class:"container d-flex h-100 w-100"},AQ={class:"m-auto modal-dialog-centered dashboardModal",style:{width:"700px"}},PQ={class:"card rounded-3 shadow flex-grow-1"},MQ={class:"card-header bg-transparent d-flex align-items-center gap-2 p-4 flex-column pb-3"},IQ={class:"mb-2 w-100 d-flex"},DQ={class:"mb-0"},RQ={class:"d-flex w-100 align-items-center gap-2"},$Q={class:"d-flex gap-3"},LQ={class:"card-body px-4 flex-grow-1 d-flex gap-2 flex-column position-relative",ref:"card-body",style:{"overflow-y":"scroll"}},OQ=["onClick","disabled","data-id"],NQ={class:"d-flex align-items-center gap-3"},FQ={key:0},BQ={class:"d-flex flex-column"},VQ={class:"fw-bold"},WQ={class:"text-muted"},zQ={key:1,class:"ms-auto"},YQ={key:0,class:"spinner-border spinner-border-sm",role:"status"},HQ={class:"card-footer px-4 py-3 gap-2 d-flex align-items-center"},jQ=["disabled"],KQ={key:0,class:"flex-grow-1 text-center"},UQ=["disabled"],GQ={key:0,class:"flex-grow-1 text-center"},XQ=["disabled"],qQ={key:0,class:"flex-grow-1 text-center"},ZQ=["disabled"],JQ={__name:"selectPeers",props:{configurationPeers:Array},emits:["refresh","close"],setup(t,{emit:e}){const n=t,i=me(!1),s=me(!1),r=me([]),o=me(""),a=E=>{r.value.find(w=>w===E)?r.value=r.value.filter(w=>w!==E):r.value.push(E)},l=ve(()=>i.value||s.value?n.configurationPeers.filter(E=>r.value.find(w=>w===E.id)):o.value.length>0?n.configurationPeers.filter(E=>E.id.includes(o.value)||E.name.includes(o.value)):n.configurationPeers);jt(r,()=>{r.value.length===0&&(i.value=!1,s.value=!1)});const c=Wu(),u=Xe(),d=e,f=me(!1),g=()=>{f.value=!0,dt(`/api/deletePeers/${c.params.id}`,{peers:r.value},E=>{u.newMessage("Server",E.message,E.status?"success":"danger"),E.status&&(r.value=[],i.value=!1),d("refresh"),f.value=!1})},p=Ei({success:[],failed:[]}),m=Bp("card-body"),v=Bp("sp"),y=async()=>{s.value=!0;for(const E of r.value)m.value.scrollTo({top:v.value.find(w=>w.dataset.id===E).offsetTop-20,behavior:"smooth"}),await Pt("/api/downloadPeer/"+c.params.id,{id:E},w=>{if(w.status){const b=new Blob([w.data.file],{type:"text/plain"}),C=URL.createObjectURL(b),k=`${w.data.fileName}.conf`,T=document.createElement("a");T.href=C,T.download=k,T.click(),p.success.push(E)}else p.failed.push(E)})},x=()=>{p.success=[],p.failed=[],s.value=!1};return(E,w)=>(P(),F("div",kQ,[h("div",TQ,[h("div",AQ,[h("div",PQ,[h("div",MQ,[h("div",IQ,[h("h4",DQ,[$(Le,{t:"Select Peers"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:w[0]||(w[0]=b=>d("close"))})]),h("div",RQ,[h("div",$Q,[s.value?se("",!0):(P(),F("a",{key:0,role:"button",onClick:w[1]||(w[1]=b=>r.value=t.configurationPeers.map(C=>C.id)),class:"text-decoration-none text-body"},w[9]||(w[9]=[h("small",null,[h("i",{class:"bi bi-check-all me-2"}),Be("Select All ")],-1)]))),r.value.length>0&&!s.value?(P(),F("a",{key:1,role:"button",class:"text-decoration-none text-body",onClick:w[2]||(w[2]=b=>r.value=[])},w[10]||(w[10]=[h("small",null,[h("i",{class:"bi bi-x-circle-fill me-2"}),Be("Clear ")],-1)]))):se("",!0)]),w[11]||(w[11]=h("label",{class:"ms-auto",for:"selectPeersSearchInput"},[h("i",{class:"bi bi-search"})],-1)),Re(h("input",{class:"form-control form-control-sm rounded-3","onUpdate:modelValue":w[3]||(w[3]=b=>o.value=b),id:"selectPeersSearchInput",style:{width:"200px !important"},type:"text"},null,512),[[We,o.value]])])]),h("div",LQ,[(P(!0),F(Ie,null,Ge(l.value,b=>(P(),F("button",{type:"button",class:Ee(["btn w-100 peerBtn text-start rounded-3",{active:r.value.find(C=>C===b.id)}]),onClick:C=>a(b.id),key:b.id,disabled:i.value||s.value,ref_for:!0,ref:"sp","data-id":b.id},[h("div",NQ,[s.value?se("",!0):(P(),F("span",FQ,[h("i",{class:Ee(["bi",[r.value.find(C=>C===b.id)?"bi-check-circle-fill":"bi-circle"]])},null,2)])),h("div",BQ,[h("small",VQ,pe(b.name?b.name:"Untitled Peer"),1),h("small",WQ,[h("samp",null,pe(b.id),1)])]),s.value?(P(),F("span",zQ,[!p.success.find(C=>C===b.id)&&!p.failed.find(C=>C===b.id)?(P(),F("div",YQ,w[12]||(w[12]=[h("span",{class:"visually-hidden"},"Loading...",-1)]))):(P(),F("i",{key:1,class:Ee(["bi",[p.failed.find(C=>C===b.id)?"bi-x-circle-fill":"bi-check-circle-fill"]])},null,2))])):se("",!0)])],10,OQ))),128))],512),h("div",HQ,[!i.value&&!s.value?(P(),F(Ie,{key:0},[h("button",{class:"btn bg-primary-subtle text-primary-emphasis border-primary-subtle rounded-3",disabled:r.value.length===0||f.value,onClick:w[4]||(w[4]=b=>y())},w[13]||(w[13]=[h("i",{class:"bi bi-download"},null,-1)]),8,jQ),r.value.length>0?(P(),F("span",KQ,[w[14]||(w[14]=h("i",{class:"bi bi-check-circle-fill me-2"},null,-1)),Be(" "+pe(r.value.length)+" Peer"+pe(r.value.length>1?"s":""),1)])):se("",!0),h("button",{class:"btn bg-danger-subtle text-danger-emphasis border-danger-subtle ms-auto rounded-3",onClick:w[5]||(w[5]=b=>i.value=!0),disabled:r.value.length===0||f.value},w[15]||(w[15]=[h("i",{class:"bi bi-trash"},null,-1)]),8,UQ)],64)):s.value?(P(),F(Ie,{key:1},[p.failed.length+p.success.length1?"s":"")+"... ",1)):(P(),F(Ie,{key:1},[w[16]||(w[16]=h("strong",null," Download Finished ",-1)),h("button",{onClick:w[6]||(w[6]=b=>x()),class:"btn bg-secondary-subtle text-secondary-emphasis border border-secondary-subtle rounded-3 ms-auto"}," Done ")],64))],64)):i.value?(P(),F(Ie,{key:2},[h("button",{class:"btn btn-danger rounded-3",disabled:r.value.length===0||f.value,onClick:w[7]||(w[7]=b=>g())}," Yes ",8,XQ),r.value.length>0?(P(),F("strong",qQ," Are you sure to delete "+pe(r.value.length)+" Peer"+pe(r.value.length>1?"s":"")+"? ",1)):se("",!0),h("button",{class:"btn bg-secondary-subtle text-secondary-emphasis border border-secondary-subtle ms-auto rounded-3",disabled:r.value.length===0||f.value,onClick:w[8]||(w[8]=b=>i.value=!1)}," No ",8,ZQ)],64)):se("",!0)])])])])],512))}},QQ=ze(JQ,[["__scopeId","data-v-8e40593b"]]),eee={class:"card my-0 rounded-3"},tee={class:"card-body position-relative"},nee={key:0,class:"position-absolute w-100 h-100 confirmationContainer start-0 top-0 rounded-3 d-flex p-2"},iee={class:"m-auto"},see={class:"d-flex gap-2 align-items-center justify-content-center"},ree=["disabled"],oee=["disabled"],aee={key:0,class:"position-absolute w-100 h-100 confirmationContainer start-0 top-0 rounded-3 d-flex p-2"},lee={class:"m-auto"},cee={class:"d-flex gap-2 align-items-center justify-content-center"},uee=["disabled"],dee=["disabled"],hee={class:"d-flex gap-3"},fee={class:"d-flex flex-column"},gee={class:"d-flex flex-column"},pee={class:"d-flex gap-2 align-items-center ms-auto"},mee={class:"card rounded-3"},_ee={key:0,class:"card-body"},vee=["value"],yee={class:"d-flex"},bee={__name:"backup",props:["b","delay"],emits:["refresh","refreshPeersList"],setup(t,{emit:e}){oC(g=>({df360394:d.value}));const n=t,i=me(!1),s=me(!1),r=Wu(),o=e,a=Xe(),l=me(!1),c=()=>{l.value=!0,dt("/api/deleteWireguardConfigurationBackup",{configurationName:r.params.id,backupFileName:n.b.filename},g=>{l.value=!1,g.status?(o("refresh"),a.newMessage("Server","Backup deleted","success")):a.newMessage("Server","Backup failed to delete","danger")})},u=()=>{l.value=!0,dt("/api/restoreWireguardConfigurationBackup",{configurationName:r.params.id,backupFileName:n.b.filename},g=>{l.value=!1,s.value=!1,g.status?(o("refresh"),a.newMessage("Server","Backup restored with "+n.b.filename,"success")):a.newMessage("Server","Backup failed to restore","danger")})},d=ve(()=>n.delay+"s"),f=me(!1);return(g,p)=>(P(),F("div",eee,[h("div",tee,[$(vt,{name:"zoomReversed"},{default:Pe(()=>[i.value?(P(),F("div",nee,[h("div",iee,[p[7]||(p[7]=h("h5",null,"Are you sure to delete this backup?",-1)),h("div",see,[h("button",{class:"btn btn-danger rounded-3",disabled:l.value,onClick:p[0]||(p[0]=m=>c())}," Yes ",8,ree),h("button",{onClick:p[1]||(p[1]=m=>i.value=!1),disabled:l.value,class:"btn bg-secondary-subtle text-secondary-emphasis border-secondary-subtle rounded-3"}," No ",8,oee)])])])):se("",!0)]),_:1}),$(vt,{name:"zoomReversed"},{default:Pe(()=>[s.value?(P(),F("div",aee,[h("div",lee,[p[8]||(p[8]=h("h5",null,"Are you sure to restore this backup?",-1)),h("div",cee,[h("button",{disabled:l.value,onClick:p[2]||(p[2]=m=>u()),class:"btn btn-success rounded-3"}," Yes ",8,uee),h("button",{onClick:p[3]||(p[3]=m=>s.value=!1),disabled:l.value,class:"btn bg-secondary-subtle text-secondary-emphasis border-secondary-subtle rounded-3"}," No ",8,dee)])])])):se("",!0)]),_:1}),h("div",hee,[h("div",fee,[p[9]||(p[9]=h("small",{class:"text-muted"}," Backup ",-1)),h("samp",null,pe(t.b.filename),1)]),h("div",gee,[p[10]||(p[10]=h("small",{class:"text-muted"}," Backup Date ",-1)),Be(" "+pe(Z(Fn)(t.b.backupDate,"YYYYMMDDHHmmss").format("YYYY-MM-DD HH:mm:ss")),1)]),h("div",pee,[h("button",{onClick:p[4]||(p[4]=m=>s.value=!0),class:"btn bg-warning-subtle text-warning-emphasis border-warning-subtle rounded-3 btn-sm"},p[11]||(p[11]=[h("i",{class:"bi bi-clock-history"},null,-1)])),h("button",{onClick:p[5]||(p[5]=m=>i.value=!0),class:"btn bg-danger-subtle text-danger-emphasis border-danger-subtle rounded-3 btn-sm"},p[12]||(p[12]=[h("i",{class:"bi bi-trash-fill"},null,-1)]))])]),p[15]||(p[15]=h("hr",null,null,-1)),h("div",mee,[h("a",{role:"button",class:Ee(["card-header d-flex text-decoration-none align-items-center",{"border-bottom-0":!f.value}]),style:{cursor:"pointer"},onClick:p[6]||(p[6]=m=>f.value=!f.value)},p[13]||(p[13]=[h("small",null,".conf File ",-1),h("i",{class:"bi bi-chevron-down ms-auto"},null,-1)]),2),f.value?(P(),F("div",_ee,[h("textarea",{class:"form-control rounded-3",value:t.b.content,disabled:"",style:{height:"300px","font-family":"var(--bs-font-monospace),sans-serif !important"}},null,8,vee)])):se("",!0)]),p[16]||(p[16]=h("hr",null,null,-1)),h("div",yee,[p[14]||(p[14]=h("span",null,[h("i",{class:"bi bi-database me-1"}),Be(" Database ")],-1)),h("i",{class:Ee(["bi ms-auto",[t.b.database?"text-success bi-check-circle-fill":"text-danger bi-x-circle-fill"]])},null,2)])])]))}},wee=ze(bee,[["__scopeId","data-v-61688b74"]]),xee={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll",ref:"editConfigurationContainer"},Eee={class:"d-flex h-100 w-100"},Cee={class:"modal-dialog-centered dashboardModal w-100 h-100 overflow-x-scroll flex-column gap-3 mx-3"},See={class:"my-5 d-flex gap-3 flex-column position-relative"},kee={class:"title"},Tee={class:"d-flex mb-3"},Aee={class:"mb-0"},Pee={class:"position-relative d-flex flex-column gap-3"},Mee={class:"text-center title",key:"spinner"},Iee={class:"card my-0 rounded-3",key:"noBackups"},Dee={__name:"configurationBackupRestore",emits:["close","refreshPeersList"],setup(t,{emit:e}){const n=Wu(),i=me([]),s=me(!0),r=e;Vt(()=>{o()});const o=()=>{s.value=!0,Pt("/api/getWireguardConfigurationBackup",{configurationName:n.params.id},l=>{i.value=l.data,s.value=!1})},a=()=>{Pt("/api/createWireguardConfigurationBackup",{configurationName:n.params.id},l=>{i.value=l.data,s.value=!1})};return(l,c)=>(P(),F("div",xee,[h("div",Eee,[h("div",Cee,[h("div",See,[h("div",kee,[h("div",Tee,[h("h4",Aee,[$(Le,{t:"Backup & Restore"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:c[0]||(c[0]=u=>l.$emit("close"))})]),h("button",{onClick:c[1]||(c[1]=u=>a()),class:"btn bg-primary-subtle text-primary-emphasis border-primary-subtle rounded-3 w-100"},c[4]||(c[4]=[h("i",{class:"bi bi-plus-circle-fill me-2"},null,-1),Be(" Create Backup ")]))]),h("div",Pee,[$(vo,{name:"list1"},{default:Pe(()=>[s.value&&i.value.length===0?(P(),F("div",Mee,c[5]||(c[5]=[h("div",{class:"spinner-border"},null,-1)]))):!s.value&&i.value.length===0?(P(),F("div",Iee,c[6]||(c[6]=[h("div",{class:"card-body text-center text-muted"},[h("i",{class:"bi bi-x-circle-fill me-2"}),Be(" No backup yet, click the button above to create backup. ")],-1)]))):se("",!0),(P(!0),F(Ie,null,Ge(i.value,(u,d)=>(P(),Ce(wee,{onRefresh:c[2]||(c[2]=f=>o()),onRefreshPeersList:c[3]||(c[3]=f=>r("refreshPeersList")),b:u,delay:d*.05,key:u.filename},null,8,["b","delay"]))),128))]),_:1})])])])])],512))}},Ree=ze(Dee,[["__scopeId","data-v-b454707b"]]),$ee={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},Lee={class:"container d-flex h-100 w-100"},Oee={class:"m-auto modal-dialog-centered dashboardModal",style:{width:"700px"}},Nee={class:"card rounded-3 shadow flex-grow-1 bg-danger-subtle border-danger-subtle",id:"deleteConfigurationContainer"},Fee={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},Bee={class:"card-body px-4"},Vee={key:0},Wee={key:1},zee={key:2,class:"d-flex align-items-center gap-2"},Yee=["placeholder"],Hee=["disabled"],jee={__name:"deleteConfiguration",emits:["backup"],setup(t,{emit:e}){const i=Wu().params.id,s=me(""),r=IC(),o=Xe(),a=me(!1),l=()=>{clearInterval(o.Peers.RefreshInterval),a.value=!0,dt("/api/deleteWireguardConfiguration",{Name:i},g=>{g.status?(r.push("/"),o.newMessage("Server","Configuration deleted","success")):a.value=!1})},c=me(!0),u=me([]),d=()=>{c.value=!0,Pt("/api/getWireguardConfigurationBackup",{configurationName:i},g=>{u.value=g.data,c.value=!1})};Vt(()=>{d()});const f=e;return(g,p)=>(P(),F("div",$ee,[h("div",Lee,[h("div",Oee,[h("div",Nee,[h("div",Fee,[p[5]||(p[5]=h("h5",{class:"mb-0"}," Are you sure to delete this configuration? ",-1)),h("button",{type:"button",class:"btn-close ms-auto",onClick:p[0]||(p[0]=m=>g.$emit("close"))})]),h("div",Bee,[p[12]||(p[12]=h("p",{class:"text-muted"},[Be(" Once you deleted, all connected peers will get disconnected; Both configuration file ("),h("code",null,".conf"),Be(") and database table related to this configuration will get deleted. ")],-1)),h("div",{class:Ee(["alert",[c.value?"alert-secondary":u.value.length>0?"alert-success":"alert-danger"]])},[c.value?(P(),F("div",Vee,[p[6]||(p[6]=h("i",{class:"bi bi-search me-2"},null,-1)),$(Le,{t:"Checking backups..."})])):u.value.length>0?(P(),F("div",Wee,[p[7]||(p[7]=h("i",{class:"bi bi-check-circle-fill me-2"},null,-1)),$(Le,{t:"This configuration have "+u.value.length+" backups"},null,8,["t"])])):(P(),F("div",zee,[p[10]||(p[10]=h("i",{class:"bi bi-x-circle-fill me-2"},null,-1)),$(Le,{t:"This configuration have no backup."}),h("a",{role:"button",onClick:p[1]||(p[1]=m=>f("backup")),class:"ms-auto btn btn-sm btn-primary rounded-3"},p[8]||(p[8]=[h("i",{class:"bi bi-clock-history me-2"},null,-1),Be(" Backup ")])),h("a",{role:"button",onClick:p[2]||(p[2]=m=>d()),class:"btn btn-sm btn-primary rounded-3"},p[9]||(p[9]=[h("i",{class:"bi bi-arrow-clockwise"},null,-1)]))]))],2),p[13]||(p[13]=h("hr",null,null,-1)),p[14]||(p[14]=h("p",null,"If you're sure, please type in the configuration name below and click Delete.",-1)),Re(h("input",{class:"form-control rounded-3 mb-3",placeholder:Z(i),"onUpdate:modelValue":p[3]||(p[3]=m=>s.value=m),type:"text"},null,8,Yee),[[We,s.value]]),h("button",{class:"btn btn-danger w-100",onClick:p[4]||(p[4]=m=>l()),disabled:s.value!==Z(i)||a.value},p[11]||(p[11]=[h("i",{class:"bi bi-trash-fill me-2 rounded-3"},null,-1),Be(" Delete ")]),8,Hee)])])])])]))}};Df.register(kK,Rf,zK,OK,rk,rj,ok,ak,lj,aj,cj,uj,DU,$U,NU,ZU,_m,tG,KK,hU,vU,bU,AU);const Kee={name:"peerList",components:{DeleteConfiguration:jee,ConfigurationBackupRestore:Ree,SelectPeers:QQ,EditConfiguration:SQ,LocaleText:Le,PeerShareLinkModal:VJ,PeerJobsLogsModal:xJ,PeerJobsAllModal:OZ,PeerJobs:mZ,PeerCreate:nT,PeerQRCode:H9,PeerSettings:K7,PeerSearch:fz,Peer:Xz,Line:uG,Bar:cG},setup(){const t=Xe(),e=$n(),n=me(void 0);return{dashboardConfigurationStore:t,wireguardConfigurationStore:e,interval:n}},data(){return{configurationToggling:!1,loading:!1,error:null,configurationInfo:[],configurationPeers:[],historyDataSentDifference:[],historyDataReceivedDifference:[],historySentData:{labels:[],datasets:[{label:"Data Sent",data:[],fill:!1,borderColor:"#198754",tension:0}]},historyReceiveData:{labels:[],datasets:[{label:"Data Received",data:[],fill:!1,borderColor:"#0d6efd",tension:0}]},peerSetting:{modalOpen:!1,selectedPeer:void 0},peerScheduleJobs:{modalOpen:!1,selectedPeer:void 0},peerQRCode:{modalOpen:!1,peerConfigData:void 0},peerCreate:{modalOpen:!1},peerScheduleJobsAll:{modalOpen:!1},peerScheduleJobsLogs:{modalOpen:!1},peerShare:{modalOpen:!1,selectedPeer:void 0},editConfiguration:{modalOpen:!1},selectPeers:{modalOpen:!1},backupRestore:{modalOpen:!1},deleteConfiguration:{modalOpen:!1}}},mounted(){},watch:{$route:{immediate:!0,handler(){clearInterval(this.dashboardConfigurationStore.Peers.RefreshInterval),this.loading=!0;let t=this.$route.params.id;this.configurationInfo=[],this.configurationPeers=[],t&&(this.getPeers(t),this.setPeerInterval())}},"dashboardConfigurationStore.Configuration.Server.dashboard_refresh_interval"(){clearInterval(this.dashboardConfigurationStore.Peers.RefreshInterval),this.setPeerInterval()}},beforeRouteLeave(){clearInterval(this.dashboardConfigurationStore.Peers.RefreshInterval)},methods:{toggle(){this.configurationToggling=!0,Pt("/api/toggleWireguardConfiguration/",{configurationName:this.configurationInfo.Name},t=>{t.status?this.dashboardConfigurationStore.newMessage("Server",`${this.configurationInfo.Name} ${t.data?"is on":"is off"}`,"success"):this.dashboardConfigurationStore.newMessage("Server",t.message,"danger"),this.configurationInfo.Status=t.data,this.configurationToggling=!1})},getPeers(t=this.$route.params.id){Pt("/api/getWireguardConfigurationInfo",{configurationName:t},e=>{if(this.configurationInfo=e.data.configurationInfo,this.configurationPeers=e.data.configurationPeers,this.configurationPeers.forEach(n=>{n.restricted=!1}),e.data.configurationRestrictedPeers.forEach(n=>{n.restricted=!0,this.configurationPeers.push(n)}),this.loading=!1,this.configurationPeers.length>0){const n=this.configurationPeers.map(s=>s.total_sent+s.cumu_sent).reduce((s,r)=>s+r).toFixed(4),i=this.configurationPeers.map(s=>s.total_receive+s.cumu_receive).reduce((s,r)=>s+r).toFixed(4);this.historyDataSentDifference[this.historyDataSentDifference.length-1]!==n&&(this.historyDataSentDifference.length>0&&(this.historySentData={labels:[...this.historySentData.labels,Fn().format("HH:mm:ss A")],datasets:[{label:"Data Sent",data:[...this.historySentData.datasets[0].data,((n-this.historyDataSentDifference[this.historyDataSentDifference.length-1])*1e3).toFixed(4)],fill:!1,borderColor:"#198754",tension:0}]}),this.historyDataSentDifference.push(n)),this.historyDataReceivedDifference[this.historyDataReceivedDifference.length-1]!==i&&(this.historyDataReceivedDifference.length>0&&(this.historyReceiveData={labels:[...this.historyReceiveData.labels,Fn().format("HH:mm:ss A")],datasets:[{label:"Data Received",data:[...this.historyReceiveData.datasets[0].data,((i-this.historyDataReceivedDifference[this.historyDataReceivedDifference.length-1])*1e3).toFixed(4)],fill:!1,borderColor:"#0d6efd",tension:0}]}),this.historyDataReceivedDifference.push(i))}})},setPeerInterval(){this.dashboardConfigurationStore.Peers.RefreshInterval=setInterval(()=>{this.getPeers()},parseInt(this.dashboardConfigurationStore.Configuration.Server.dashboard_refresh_interval))}},computed:{configurationSummary(){return{connectedPeers:this.configurationPeers.filter(e=>e.status==="running").length,totalUsage:this.configurationPeers.length>0?this.configurationPeers.filter(e=>!e.restricted).map(e=>e.total_data+e.cumu_data).reduce((e,n)=>e+n,0).toFixed(4):0,totalReceive:this.configurationPeers.length>0?this.configurationPeers.filter(e=>!e.restricted).map(e=>e.total_receive+e.cumu_receive).reduce((e,n)=>e+n,0).toFixed(4):0,totalSent:this.configurationPeers.length>0?this.configurationPeers.filter(e=>!e.restricted).map(e=>e.total_sent+e.cumu_sent).reduce((e,n)=>e+n,0).toFixed(4):0}},receiveData(){return this.historyReceiveData},sentData(){return this.historySentData},individualDataUsage(){return{labels:this.configurationPeers.map(t=>t.name?t.name:`Untitled Peer - ${t.id}`),datasets:[{label:"Total Data Usage",data:this.configurationPeers.map(t=>t.cumu_data+t.total_data),backgroundColor:this.configurationPeers.map(t=>"#0dcaf0"),tooltip:{callbacks:{label:t=>`${t.formattedValue} GB`}}}]}},individualDataUsageChartOption(){return{responsive:!0,plugins:{legend:{display:!1}},scales:{x:{ticks:{display:!1},grid:{display:!1}},y:{ticks:{callback:(t,e)=>`${t} GB`},grid:{display:!1}}}}},chartOptions(){return{responsive:!0,plugins:{legend:{display:!1},tooltip:{callbacks:{label:t=>`${t.formattedValue} MB/s`}}},scales:{x:{ticks:{display:!1},grid:{display:!1}},y:{ticks:{callback:(t,e)=>`${t} MB/s`},grid:{display:!1}}}}},searchPeers(){new Xl(this.configurationPeers,{keys:["name","id","allowed_ip"]});const t=this.wireguardConfigurationStore.searchString?this.configurationPeers.filter(e=>e.name.includes(this.wireguardConfigurationStore.searchString)||e.id.includes(this.wireguardConfigurationStore.searchString)||e.allowed_ip.includes(this.wireguardConfigurationStore.searchString)):this.configurationPeers;return this.dashboardConfigurationStore.Configuration.Server.dashboard_sort==="restricted"?t.slice().sort((e,n)=>e[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]n[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]?-1:0):t.slice().sort((e,n)=>e[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]n[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]?1:0)}}},Uee={key:0,class:"container-md"},Gee={class:"d-flex align-items-center"},Xee={CLASS:"text-muted"},qee={class:"d-flex align-items-center gap-3"},Zee={class:"mb-0"},Jee={class:"card rounded-3 bg-transparent shadow-sm ms-auto"},Qee={class:"card-body py-2 d-flex align-items-center"},ete={class:"mb-0 text-muted"},tte={class:"form-check form-switch ms-auto"},nte=["for"],ite={key:4,class:"spinner-border spinner-border-sm ms-2","aria-hidden":"true"},ste=["disabled","id"],rte={class:"row mt-3 gy-2 gx-2 mb-2"},ote={class:"col-6 col-lg-3"},ate={class:"card rounded-3 bg-transparent shadow-sm"},lte={class:"card-body py-2"},cte={class:"mb-0 text-muted"},ute={class:"col-6 col-lg-3"},dte={class:"card rounded-3 bg-transparent shadow-sm"},hte={class:"card-body py-2"},fte={class:"mb-0 text-muted"},gte={style:{"word-break":"break-all"},class:"col-12 col-lg-6"},pte={class:"card rounded-3 bg-transparent shadow-sm"},mte={class:"card-body py-2"},_te={class:"mb-0 text-muted"},vte={class:"row gx-2 gy-2 mb-2"},yte={class:"col-6 col-lg-3"},bte={class:"card rounded-3 bg-transparent shadow-sm"},wte={class:"card-body d-flex"},xte={class:"mb-0 text-muted"},Ete={class:"h4"},Cte={class:"col-6 col-lg-3"},Ste={class:"card rounded-3 bg-transparent shadow-sm"},kte={class:"card-body d-flex"},Tte={class:"mb-0 text-muted"},Ate={class:"h4"},Pte={class:"col-6 col-lg-3"},Mte={class:"card rounded-3 bg-transparent shadow-sm"},Ite={class:"card-body d-flex"},Dte={class:"mb-0 text-muted"},Rte={class:"h4 text-primary"},$te={class:"col-6 col-lg-3"},Lte={class:"card rounded-3 bg-transparent shadow-sm"},Ote={class:"card-body d-flex"},Nte={class:"mb-0 text-muted"},Fte={class:"h4 text-success"},Bte={class:"row gx-2 gy-2 mb-3"},Vte={class:"col-12 col-lg-6"},Wte={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},zte={class:"card-header bg-transparent border-0"},Yte={class:"text-muted"},Hte={class:"card-body pt-1"},jte={class:"col-sm col-lg-3"},Kte={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},Ute={class:"card-header bg-transparent border-0"},Gte={class:"text-muted"},Xte={class:"card-body pt-1"},qte={class:"col-sm col-lg-3"},Zte={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},Jte={class:"card-header bg-transparent border-0"},Qte={class:"text-muted"},ene={class:"card-body pt-1"},tne={class:"mb-3"};function nne(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("Bar"),l=Se("Line"),c=Se("PeerSearch"),u=Se("Peer"),d=Se("PeerSettings"),f=Se("PeerQRCode"),g=Se("PeerJobs"),p=Se("PeerJobsAllModal"),m=Se("PeerJobsLogsModal"),v=Se("PeerShareLinkModal"),y=Se("EditConfiguration"),x=Se("SelectPeers"),E=Se("DeleteConfiguration"),w=Se("ConfigurationBackupRestore");return this.loading?se("",!0):(P(),F("div",Uee,[h("div",Gee,[h("div",null,[h("small",Xee,[$(o,{t:"CONFIGURATION"})]),h("div",qee,[h("h1",Zee,[h("samp",null,pe(this.configurationInfo.Name),1)])])]),h("div",Jee,[h("div",Qee,[h("div",null,[h("p",ete,[h("small",null,[$(o,{t:"Status"})])]),h("div",tte,[h("label",{class:"form-check-label",style:{cursor:"pointer"},for:"switch"+this.configurationInfo.id},[!this.configurationInfo.Status&&this.configurationToggling?(P(),Ce(o,{key:0,t:"Turning Off..."})):this.configurationInfo.Status&&this.configurationToggling?(P(),Ce(o,{key:1,t:"Turning On..."})):this.configurationInfo.Status&&!this.configurationToggling?(P(),Ce(o,{key:2,t:"On"})):!this.configurationInfo.Status&&!this.configurationToggling?(P(),Ce(o,{key:3,t:"Off"})):se("",!0),this.configurationToggling?(P(),F("span",ite)):se("",!0)],8,nte),Re(h("input",{class:"form-check-input",style:{cursor:"pointer"},disabled:this.configurationToggling,type:"checkbox",role:"switch",id:"switch"+this.configurationInfo.id,onChange:e[0]||(e[0]=b=>this.toggle()),"onUpdate:modelValue":e[1]||(e[1]=b=>this.configurationInfo.Status=b)},null,40,ste),[[Gn,this.configurationInfo.Status]])])]),h("div",{class:Ee(["dot ms-5",{active:this.configurationInfo.Status}])},null,2)])])]),h("div",rte,[h("div",ote,[h("div",ate,[h("div",lte,[h("p",cte,[h("small",null,[$(o,{t:"Address"})])]),Be(" "+pe(this.configurationInfo.Address),1)])])]),h("div",ute,[h("div",dte,[h("div",hte,[h("p",fte,[h("small",null,[$(o,{t:"Listen Port"})])]),Be(" "+pe(this.configurationInfo.ListenPort),1)])])]),h("div",gte,[h("div",pte,[h("div",mte,[h("p",_te,[h("small",null,[$(o,{t:"Public Key"})])]),h("samp",null,pe(this.configurationInfo.PublicKey),1)])])])]),h("div",vte,[h("div",yte,[h("div",bte,[h("div",wte,[h("div",null,[h("p",xte,[h("small",null,[$(o,{t:"Connected Peers"})])]),h("strong",Ete,pe(r.configurationSummary.connectedPeers)+" / "+pe(s.configurationPeers.length),1)]),e[27]||(e[27]=h("i",{class:"bi bi-ethernet ms-auto h2 text-muted"},null,-1))])])]),h("div",Cte,[h("div",Ste,[h("div",kte,[h("div",null,[h("p",Tte,[h("small",null,[$(o,{t:"Total Usage"})])]),h("strong",Ate,pe(r.configurationSummary.totalUsage)+" GB",1)]),e[28]||(e[28]=h("i",{class:"bi bi-arrow-down-up ms-auto h2 text-muted"},null,-1))])])]),h("div",Pte,[h("div",Mte,[h("div",Ite,[h("div",null,[h("p",Dte,[h("small",null,[$(o,{t:"Total Received"})])]),h("strong",Rte,pe(r.configurationSummary.totalReceive)+" GB",1)]),e[29]||(e[29]=h("i",{class:"bi bi-arrow-down ms-auto h2 text-muted"},null,-1))])])]),h("div",$te,[h("div",Lte,[h("div",Ote,[h("div",null,[h("p",Nte,[h("small",null,[$(o,{t:"Total Sent"})])]),h("strong",Fte,pe(r.configurationSummary.totalSent)+" GB",1)]),e[30]||(e[30]=h("i",{class:"bi bi-arrow-up ms-auto h2 text-muted"},null,-1))])])])]),h("div",Bte,[h("div",Vte,[h("div",Wte,[h("div",zte,[h("small",Yte,[$(o,{t:"Peers Data Usage"})])]),h("div",Hte,[$(a,{data:r.individualDataUsage,options:r.individualDataUsageChartOption,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["data","options"])])])]),h("div",jte,[h("div",Kte,[h("div",Ute,[h("small",Gte,[$(o,{t:"Real Time Received Data Usage"})])]),h("div",Xte,[$(l,{options:r.chartOptions,data:r.receiveData,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])]),h("div",qte,[h("div",Zte,[h("div",Jte,[h("small",Qte,[$(o,{t:"Real Time Sent Data Usage"})])]),h("div",ene,[$(l,{options:r.chartOptions,data:r.sentData,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])])]),h("div",tne,[$(c,{onJobsAll:e[2]||(e[2]=b=>this.peerScheduleJobsAll.modalOpen=!0),onJobLogs:e[3]||(e[3]=b=>this.peerScheduleJobsLogs.modalOpen=!0),onEditConfiguration:e[4]||(e[4]=b=>this.editConfiguration.modalOpen=!0),onSelectPeers:e[5]||(e[5]=b=>this.selectPeers.modalOpen=!0),onBackupRestore:e[6]||(e[6]=b=>this.backupRestore.modalOpen=!0),onDeleteConfiguration:e[7]||(e[7]=b=>this.deleteConfiguration.modalOpen=!0),configuration:this.configurationInfo},null,8,["configuration"]),$(vo,{name:"list",tag:"div",class:"row gx-2 gy-2 z-0"},{default:Pe(()=>[(P(!0),F(Ie,null,Ge(this.searchPeers,b=>(P(),F("div",{class:"col-12 col-lg-6 col-xl-4",key:b.id},[$(u,{Peer:b,onShare:C=>{this.peerShare.selectedPeer=b.id,this.peerShare.modalOpen=!0},onRefresh:e[8]||(e[8]=C=>this.getPeers()),onJobs:C=>{s.peerScheduleJobs.modalOpen=!0,s.peerScheduleJobs.selectedPeer=this.configurationPeers.find(k=>k.id===b.id)},onSetting:C=>{s.peerSetting.modalOpen=!0,s.peerSetting.selectedPeer=this.configurationPeers.find(k=>k.id===b.id)},onQrcode:e[9]||(e[9]=C=>{this.peerQRCode.peerConfigData=C,this.peerQRCode.modalOpen=!0})},null,8,["Peer","onShare","onJobs","onSetting"])]))),128))]),_:1})]),$(vt,{name:"zoom"},{default:Pe(()=>[this.peerSetting.modalOpen?(P(),Ce(d,{key:"settings",selectedPeer:this.peerSetting.selectedPeer,onRefresh:e[10]||(e[10]=b=>this.getPeers()),onClose:e[11]||(e[11]=b=>this.peerSetting.modalOpen=!1)},null,8,["selectedPeer"])):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[s.peerQRCode.modalOpen?(P(),Ce(f,{peerConfigData:this.peerQRCode.peerConfigData,key:"qrcode",onClose:e[12]||(e[12]=b=>this.peerQRCode.modalOpen=!1)},null,8,["peerConfigData"])):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[this.peerScheduleJobs.modalOpen?(P(),Ce(g,{key:0,onRefresh:e[13]||(e[13]=b=>this.getPeers()),selectedPeer:this.peerScheduleJobs.selectedPeer,onClose:e[14]||(e[14]=b=>this.peerScheduleJobs.modalOpen=!1)},null,8,["selectedPeer"])):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[this.peerScheduleJobsAll.modalOpen?(P(),Ce(p,{key:0,onRefresh:e[15]||(e[15]=b=>this.getPeers()),onClose:e[16]||(e[16]=b=>this.peerScheduleJobsAll.modalOpen=!1),configurationPeers:this.configurationPeers},null,8,["configurationPeers"])):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[this.peerScheduleJobsLogs.modalOpen?(P(),Ce(m,{key:0,onClose:e[17]||(e[17]=b=>this.peerScheduleJobsLogs.modalOpen=!1),configurationInfo:this.configurationInfo},null,8,["configurationInfo"])):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[this.peerShare.modalOpen?(P(),Ce(v,{key:0,onClose:e[18]||(e[18]=b=>{this.peerShare.modalOpen=!1,this.peerShare.selectedPeer=void 0}),peer:this.configurationPeers.find(b=>b.id===this.peerShare.selectedPeer)},null,8,["peer"])):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[this.editConfiguration.modalOpen?(P(),Ce(y,{key:0,onClose:e[19]||(e[19]=b=>this.editConfiguration.modalOpen=!1),onDataChanged:e[20]||(e[20]=b=>this.configurationInfo=b),configurationInfo:this.configurationInfo},null,8,["configurationInfo"])):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[this.selectPeers.modalOpen?(P(),Ce(x,{key:0,onRefresh:e[21]||(e[21]=b=>this.getPeers()),configurationPeers:this.configurationPeers,onClose:e[22]||(e[22]=b=>this.selectPeers.modalOpen=!1)},null,8,["configurationPeers"])):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[s.deleteConfiguration.modalOpen?(P(),Ce(E,{key:0,onBackup:e[23]||(e[23]=b=>s.backupRestore.modalOpen=!0),onClose:e[24]||(e[24]=b=>s.deleteConfiguration.modalOpen=!1)})):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[s.backupRestore.modalOpen?(P(),Ce(w,{key:0,onClose:e[25]||(e[25]=b=>s.backupRestore.modalOpen=!1),onRefreshPeersList:e[26]||(e[26]=b=>this.getPeers())})):se("",!0)]),_:1})]))}const ine=ze(Kee,[["render",nne],["__scopeId","data-v-49de95e7"]]);class Er{constructor(e){this.propagationStopped,this.defaultPrevented,this.type=e,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}}const Fl={PROPERTYCHANGE:"propertychange"};class Bf{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}}function sne(t,e,n){let i,s;n=n||hr;let r=0,o=t.length,a=!1;for(;r>1),s=+n(t[i],e),s<0?r=i+1:(o=i,a=!s);return a?r:~r}function hr(t,e){return t>e?1:t0?s-1:s}return i-1}if(n>0){for(let s=1;s0||o===0)})}function yu(){return!0}function Wf(){return!1}function Bl(){}function rT(t){let e,n,i;return function(){const s=Array.prototype.slice.call(arguments);return(!n||this!==i||!So(s,n))&&(i=this,n=s,e=t.apply(this,arguments)),e}}function ane(t){function e(){let n;try{n=t()}catch(i){return Promise.reject(i)}return n instanceof Promise?n:Promise.resolve(n)}return e()}function qu(t){for(const e in t)delete t[e]}function Vl(t){let e;for(e in t)return!1;return!e}class zf extends Bf{constructor(e){super(),this.eventTarget_=e,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(e,n){if(!e||!n)return;const i=this.listeners_||(this.listeners_={}),s=i[e]||(i[e]=[]);s.includes(n)||s.push(n)}dispatchEvent(e){const n=typeof e=="string",i=n?e:e.type,s=this.listeners_&&this.listeners_[i];if(!s)return;const r=n?new Er(e):e;r.target||(r.target=this.eventTarget_||this);const o=this.dispatching_||(this.dispatching_={}),a=this.pendingRemovals_||(this.pendingRemovals_={});i in o||(o[i]=0,a[i]=0),++o[i];let l;for(let c=0,u=s.length;c0:!1}removeEventListener(e,n){if(!this.listeners_)return;const i=this.listeners_[e];if(!i)return;const s=i.indexOf(n);s!==-1&&(this.pendingRemovals_&&e in this.pendingRemovals_?(i[s]=Bl,++this.pendingRemovals_[e]):(i.splice(s,1),i.length===0&&delete this.listeners_[e]))}}const tt={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"};function ft(t,e,n,i,s){if(s){const o=n;n=function(){t.removeEventListener(e,n),o.apply(i??this,arguments)}}else i&&i!==t&&(n=n.bind(i));const r={target:t,type:e,listener:n};return t.addEventListener(e,n),r}function Bh(t,e,n,i){return ft(t,e,n,i,!0)}function Lt(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),qu(t))}class Zu extends zf{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(tt.CHANGE)}getRevision(){return this.revision_}onInternal(e,n){if(Array.isArray(e)){const i=e.length,s=new Array(i);for(let r=0;r0;)this.pop()}extend(e){for(let n=0,i=e.length;nthis.getLength())throw new Error("Index out of bounds: "+e);this.unique_&&this.assertUnique_(n),this.array_.splice(e,0,n),this.updateLength_(),this.dispatchEvent(new Hd(gi.ADD,n,e))}pop(){return this.removeAt(this.getLength()-1)}push(e){this.unique_&&this.assertUnique_(e);const n=this.getLength();return this.insertAt(n,e),this.getLength()}remove(e){const n=this.array_;for(let i=0,s=n.length;i=this.getLength())return;const n=this.array_[e];return this.array_.splice(e,1),this.updateLength_(),this.dispatchEvent(new Hd(gi.REMOVE,n,e)),n}setAt(e,n){const i=this.getLength();if(e>=i){this.insertAt(e,n);return}if(e<0)throw new Error("Index out of bounds: "+e);this.unique_&&this.assertUnique_(n,e);const s=this.array_[e];this.array_[e]=n,this.dispatchEvent(new Hd(gi.REMOVE,s,e)),this.dispatchEvent(new Hd(gi.ADD,n,e))}updateLength_(){this.set(rw.LENGTH,this.array_.length)}assertUnique_(e,n){for(let i=0,s=this.array_.length;i1?(n=s,i=r):l>0&&(n+=o*l,i+=a*l)}return dl(t,e,n,i)}function dl(t,e,n,i){const s=n-t,r=i-e;return s*s+r*r}function dne(t){const e=t.length;for(let i=0;ir&&(r=l,s=a)}if(r===0)return null;const o=t[s];t[s]=t[i],t[i]=o;for(let a=i+1;a=0;i--){n[i]=t[i][e]/t[i][i];for(let s=i-1;s>=0;s--)t[s][e]-=t[s][i]*n[i]}return n}function fh(t){return t*Math.PI/180}function hl(t,e){const n=t%e;return n*e<0?n+e:n}function Ai(t,e,n){return t+n*(e-t)}function mv(t,e){const n=Math.pow(10,e);return Math.round(t*n)/n}function jd(t,e){return Math.floor(mv(t,e))}function Kd(t,e){return Math.ceil(mv(t,e))}class oT extends Ws{constructor(e){super(),this.on,this.once,this.un,this.background_=e.background;const n=Object.assign({},e);typeof e.properties=="object"&&(delete n.properties,Object.assign(n,e.properties)),n[Ct.OPACITY]=e.opacity!==void 0?e.opacity:1,mt(typeof n[Ct.OPACITY]=="number","Layer opacity must be a number"),n[Ct.VISIBLE]=e.visible!==void 0?e.visible:!0,n[Ct.Z_INDEX]=e.zIndex,n[Ct.MAX_RESOLUTION]=e.maxResolution!==void 0?e.maxResolution:1/0,n[Ct.MIN_RESOLUTION]=e.minResolution!==void 0?e.minResolution:0,n[Ct.MIN_ZOOM]=e.minZoom!==void 0?e.minZoom:-1/0,n[Ct.MAX_ZOOM]=e.maxZoom!==void 0?e.maxZoom:1/0,this.className_=n.className!==void 0?n.className:"ol-layer",delete n.className,this.setProperties(n),this.state_=null}getBackground(){return this.background_}getClassName(){return this.className_}getLayerState(e){const n=this.state_||{layer:this,managed:e===void 0?!0:e},i=this.getZIndex();return n.opacity=rn(Math.round(this.getOpacity()*100)/100,0,1),n.visible=this.getVisible(),n.extent=this.getExtent(),n.zIndex=i===void 0&&!n.managed?1/0:i,n.maxResolution=this.getMaxResolution(),n.minResolution=Math.max(this.getMinResolution(),0),n.minZoom=this.getMinZoom(),n.maxZoom=this.getMaxZoom(),this.state_=n,n}getLayersArray(e){return pt()}getLayerStatesArray(e){return pt()}getExtent(){return this.get(Ct.EXTENT)}getMaxResolution(){return this.get(Ct.MAX_RESOLUTION)}getMinResolution(){return this.get(Ct.MIN_RESOLUTION)}getMinZoom(){return this.get(Ct.MIN_ZOOM)}getMaxZoom(){return this.get(Ct.MAX_ZOOM)}getOpacity(){return this.get(Ct.OPACITY)}getSourceState(){return pt()}getVisible(){return this.get(Ct.VISIBLE)}getZIndex(){return this.get(Ct.Z_INDEX)}setBackground(e){this.background_=e,this.changed()}setExtent(e){this.set(Ct.EXTENT,e)}setMaxResolution(e){this.set(Ct.MAX_RESOLUTION,e)}setMinResolution(e){this.set(Ct.MIN_RESOLUTION,e)}setMaxZoom(e){this.set(Ct.MAX_ZOOM,e)}setMinZoom(e){this.set(Ct.MIN_ZOOM,e)}setOpacity(e){mt(typeof e=="number","Layer opacity must be a number"),this.set(Ct.OPACITY,e)}setVisible(e){this.set(Ct.VISIBLE,e)}setZIndex(e){this.set(Ct.Z_INDEX,e)}disposeInternal(){this.state_&&(this.state_.layer=null,this.state_=null),super.disposeInternal()}}const zi={PRERENDER:"prerender",POSTRENDER:"postrender",PRECOMPOSE:"precompose",POSTCOMPOSE:"postcompose",RENDERCOMPLETE:"rendercomplete"},Hn={ANIMATING:0,INTERACTING:1},es={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"},hne=42,_v=256,vv={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};class aT{constructor(e){this.code_=e.code,this.units_=e.units,this.extent_=e.extent!==void 0?e.extent:null,this.worldExtent_=e.worldExtent!==void 0?e.worldExtent:null,this.axisOrientation_=e.axisOrientation!==void 0?e.axisOrientation:"enu",this.global_=e.global!==void 0?e.global:!1,this.canWrapX_=!!(this.global_&&this.extent_),this.getPointResolutionFunc_=e.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=e.metersPerUnit}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||vv[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(e){this.global_=e,this.canWrapX_=!!(e&&this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(e){this.defaultTileGrid_=e}setExtent(e){this.extent_=e,this.canWrapX_=!!(this.global_&&e)}setWorldExtent(e){this.worldExtent_=e}setGetPointResolution(e){this.getPointResolutionFunc_=e}getPointResolutionFunc(){return this.getPointResolutionFunc_}}const Ju=6378137,nl=Math.PI*Ju,fne=[-nl,-nl,nl,nl],gne=[-180,-85,180,85],Ud=Ju*Math.log(Math.tan(Math.PI/2));class Ba extends aT{constructor(e){super({code:e,units:"m",extent:fne,global:!0,worldExtent:gne,getPointResolution:function(n,i){return n/Math.cosh(i[1]/Ju)}})}}const ow=[new Ba("EPSG:3857"),new Ba("EPSG:102100"),new Ba("EPSG:102113"),new Ba("EPSG:900913"),new Ba("http://www.opengis.net/def/crs/EPSG/0/3857"),new Ba("http://www.opengis.net/gml/srs/epsg.xml#3857")];function pne(t,e,n,i){const s=t.length;n=n>1?n:2,i=i??n,e===void 0&&(n>2?e=t.slice():e=new Array(s));for(let r=0;rUd?o=Ud:o<-Ud&&(o=-Ud),e[r+1]=o}return e}function mne(t,e,n,i){const s=t.length;n=n>1?n:2,i=i??n,e===void 0&&(n>2?e=t.slice():e=new Array(s));for(let r=0;rs&&(l=l|An.RIGHT),ar&&(l=l|An.ABOVE),l===An.UNKNOWN&&(l=An.INTERSECTING),l}function Gi(){return[1/0,1/0,-1/0,-1/0]}function uo(t,e,n,i,s){return s?(s[0]=t,s[1]=e,s[2]=n,s[3]=i,s):[t,e,n,i]}function Yf(t){return uo(1/0,1/0,-1/0,-1/0,t)}function uT(t,e){const n=t[0],i=t[1];return uo(n,i,n,i,e)}function wv(t,e,n,i,s){const r=Yf(s);return dT(r,t,e,n,i)}function bu(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function xne(t,e){return e[0]t[2]&&(t[2]=e[2]),e[1]t[3]&&(t[3]=e[3]),t}function Zc(t,e){e[0]t[2]&&(t[2]=e[0]),e[1]t[3]&&(t[3]=e[1])}function dT(t,e,n,i,s){for(;ne[0]?i[0]=t[0]:i[0]=e[0],t[1]>e[1]?i[1]=t[1]:i[1]=e[1],t[2]=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function Uf(t){return t[2]=o&&m<=l),!i&&r&An.RIGHT&&!(s&An.RIGHT)&&(v=g-(f-l)*p,i=v>=a&&v<=c),!i&&r&An.BELOW&&!(s&An.BELOW)&&(m=f-(g-a)/p,i=m>=o&&m<=l),!i&&r&An.LEFT&&!(s&An.LEFT)&&(v=g-(f-o)*p,i=v>=a&&v<=c)}return i}function fT(t,e){const n=e.getExtent(),i=pa(t);if(e.canWrapX()&&(i[0]=n[2])){const s=bt(n),o=Math.floor((i[0]-n[0])/s)*s;t[0]-=o,t[2]-=o}return t}function xv(t,e,n){if(e.canWrapX()){const i=e.getExtent();if(!isFinite(t[0])||!isFinite(t[2]))return[[i[0],t[1],i[2],t[3]]];fT(t,e);const s=bt(i);if(bt(t)>s&&!n)return[[i[0],t[1],i[2],t[3]]];if(t[0]i[2])return[[t[0],t[1],i[2],t[3]],[i[0],t[1],t[2]-s,t[3]]]}return[t]}function Ane(t,e){return t[0]+=+e[0],t[1]+=+e[1],t}function Wh(t,e){let n=!0;for(let i=t.length-1;i>=0;--i)if(t[i]!=e[i]){n=!1;break}return n}function Ev(t,e){const n=Math.cos(e),i=Math.sin(e),s=t[0]*n-t[1]*i,r=t[1]*n+t[0]*i;return t[0]=s,t[1]=r,t}function Pne(t,e){return t[0]*=e,t[1]*=e,t}function gT(t,e){if(e.canWrapX()){const n=bt(e.getExtent()),i=Mne(t,e,n);i&&(t[0]-=i*n)}return t}function Mne(t,e,n){const i=e.getExtent();let s=0;return e.canWrapX()&&(t[0]i[2])&&(n=n||bt(i),s=Math.floor((t[0]-i[0])/n)),s}const Ine=63710088e-1;function uw(t,e,n){n=n||Ine;const i=fh(t[1]),s=fh(e[1]),r=(s-i)/2,o=fh(e[0]-t[0])/2,a=Math.sin(r)*Math.sin(r)+Math.sin(o)*Math.sin(o)*Math.cos(i)*Math.cos(s);return 2*n*Math.atan2(Math.sqrt(a),Math.sqrt(1-a))}function pT(...t){console.warn(...t)}let Im=!0;function mT(t){Im=!1}function Cv(t,e){if(e!==void 0){for(let n=0,i=t.length;n=-180&&t[0]<=180&&t[1]>=-90&&t[1]<=90&&(Im=!1,pT("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),t}function yT(t,e){return t}function Zr(t,e){return t}function Lne(){hw(ow),hw(lw),$ne(lw,ow,pne,mne)}Lne();function fw(t,e,n){return function(i,s,r,o,a){if(!i)return;if(!s&&!e)return i;const l=e?0:r[0]*s,c=e?0:r[1]*s,u=a?a[0]:0,d=a?a[1]:0;let f=t[0]+l/2+u,g=t[2]-l/2+u,p=t[1]+c/2+d,m=t[3]-c/2+d;f>g&&(f=(g+f)/2,g=f),p>m&&(p=(m+p)/2,m=p);let v=rn(i[0],f,g),y=rn(i[1],p,m);if(o&&n&&s){const x=30*s;v+=-x*Math.log(1+Math.max(0,f-i[0])/x)+x*Math.log(1+Math.max(0,i[0]-g)/x),y+=-x*Math.log(1+Math.max(0,p-i[1])/x)+x*Math.log(1+Math.max(0,i[1]-m)/x)}return[v,y]}}function One(t){return t}function Tv(t,e,n,i){const s=bt(e)/n[0],r=Un(e)/n[1];return i?Math.min(t,Math.max(s,r)):Math.min(t,Math.min(s,r))}function Av(t,e,n){let i=Math.min(t,e);const s=50;return i*=Math.log(1+s*Math.max(0,t/e-1))/s+1,n&&(i=Math.max(i,n),i/=Math.log(1+s*Math.max(0,n/t-1))/s+1),rn(i,n/2,e*2)}function Nne(t,e,n,i){return e=e!==void 0?e:!0,function(s,r,o,a){if(s!==void 0){const l=t[0],c=t[t.length-1],u=n?Tv(l,n,o,i):l;if(a)return e?Av(s,u,c):rn(s,c,u);const d=Math.min(u,s),f=Math.floor(pv(t,d,r));return t[f]>u&&fMath.round(n*mw[i])/mw[i]).join(", ")+")"}function io(t,e,n,i,s,r,o){r=r||[],o=o||2;let a=0;for(let l=e;l{if(!i)return this.getSimplifiedGeometry(n);const s=this.clone();return s.applyTransform(i),s.getSimplifiedGeometry(n)})}simplifyTransformed(e,n){return this.simplifyTransformedInternal(this.getRevision(),e,n)}clone(){return pt()}closestPointXY(e,n,i,s){return pt()}containsXY(e,n){const i=this.getClosestPoint([e,n]);return i[0]===e&&i[1]===n}getClosestPoint(e,n){return n=n||[NaN,NaN],this.closestPointXY(e[0],e[1],n,1/0),n}intersectsCoordinate(e){return this.containsXY(e[0],e[1])}computeExtent(e){return pt()}getExtent(e){if(this.extentRevision_!=this.getRevision()){const n=this.computeExtent(this.extent_);(isNaN(n[0])||isNaN(n[1]))&&Yf(n),this.extentRevision_=this.getRevision()}return kne(this.extent_,e)}rotate(e,n){pt()}scale(e,n,i){pt()}simplify(e){return this.getSimplifiedGeometry(e*e)}getSimplifiedGeometry(e){return pt()}getType(){return pt()}applyTransform(e){pt()}intersectsExtent(e){return pt()}translate(e,n){pt()}transform(e,n){const i=Xi(e),s=i.getUnits()=="tile-pixels"?function(r,o,a){const l=i.getExtent(),c=i.getWorldExtent(),u=Un(c)/Un(l);return br(_w,c[0],c[3],u,-u,0,0,0),io(r,0,r.length,a,_w,o),zh(i,n)(r,o,a)}:zh(i,n);return this.applyTransform(s),this}}class Gf extends Gne{constructor(){super(),this.layout="XY",this.stride=2,this.flatCoordinates}computeExtent(e){return wv(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e)}getCoordinates(){return pt()}getFirstCoordinate(){return this.flatCoordinates.slice(0,this.stride)}getFlatCoordinates(){return this.flatCoordinates}getLastCoordinate(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)}getLayout(){return this.layout}getSimplifiedGeometry(e){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),e<0||this.simplifiedGeometryMaxMinSquaredTolerance!==0&&e<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;const n=this.getSimplifiedGeometryInternal(e);return n.getFlatCoordinates().length1)d=n;else if(f>0){for(let g=0;gs&&(s=c),r=a,o=l}return s}function Zne(t,e,n,i,s){for(let r=0,o=n.length;r0;){const d=c.pop(),f=c.pop();let g=0;const p=t[f],m=t[f+1],v=t[d],y=t[d+1];for(let x=f+i;xg&&(u=x,g=b)}g>s&&(l[(u-e)/i]=1,f+i0&&m>g)&&(p<0&&v0&&v>p)){c=d,u=f;continue}r[o++]=c,r[o++]=u,a=c,l=u,c=d,u=f}return r[o++]=c,r[o++]=u,o}function ET(t,e,n,i,s,r,o,a){for(let l=0,c=n.length;lr&&(c-a)*(r-l)-(s-a)*(u-l)>0&&o++:u<=r&&(c-a)*(r-l)-(s-a)*(u-l)<0&&o--,a=c,l=u}return o!==0}function ST(t,e,n,i,s,r){if(n.length===0||!Zo(t,e,n[0],i,s,r))return!1;for(let o=1,a=n.length;oy&&(c=(u+d)/2,ST(t,e,n,i,c,p)&&(v=c,y=x)),u=d}return isNaN(v)&&(v=s[r]),o?(o.push(v,p,y),o):[v,p,y]}function rie(t,e,n,i,s){let r=[];for(let o=0,a=n.length;o=s[0]&&r[2]<=s[2]||r[1]>=s[1]&&r[3]<=s[3]?!0:kT(t,e,n,i,function(o,a){return Tne(s,o,a)}):!1}function TT(t,e,n,i,s){return!!($v(t,e,n,i,s)||Zo(t,e,n,i,s[0],s[1])||Zo(t,e,n,i,s[0],s[3])||Zo(t,e,n,i,s[2],s[1])||Zo(t,e,n,i,s[2],s[3]))}function oie(t,e,n,i,s){if(!TT(t,e,n[0],i,s))return!1;if(n.length===1)return!0;for(let r=1,o=n.length;r0}function lie(t,e,n,i,s){s=s!==void 0?s:!1;for(let r=0,o=n.length;r1&&typeof arguments[n-1]=="function"&&(i=arguments[n-1],--n);let s=0;for(;s0}getInteracting(){return this.hints_[Hn.INTERACTING]>0}cancelAnimations(){this.setHint(Hn.ANIMATING,-this.hints_[Hn.ANIMATING]);let e;for(let n=0,i=this.animations_.length;n=0;--i){const s=this.animations_[i];let r=!0;for(let o=0,a=s.length;o0?c/l.duration:1;u>=1?(l.complete=!0,u=1):r=!1;const d=l.easing(u);if(l.sourceCenter){const f=l.sourceCenter[0],g=l.sourceCenter[1],p=l.targetCenter[0],m=l.targetCenter[1];this.nextCenter_=l.targetCenter;const v=f+d*(p-f),y=g+d*(m-g);this.targetCenter_=[v,y]}if(l.sourceResolution&&l.targetResolution){const f=d===1?l.targetResolution:l.sourceResolution+d*(l.targetResolution-l.sourceResolution);if(l.anchor){const g=this.getViewportSize_(this.getRotation()),p=this.constraints_.resolution(f,0,g,!0);this.targetCenter_=this.calculateCenterZoom(p,l.anchor)}this.nextResolution_=l.targetResolution,this.targetResolution_=f,this.applyTargetState_(!0)}if(l.sourceRotation!==void 0&&l.targetRotation!==void 0){const f=d===1?hl(l.targetRotation+Math.PI,2*Math.PI)-Math.PI:l.sourceRotation+d*(l.targetRotation-l.sourceRotation);if(l.anchor){const g=this.constraints_.rotation(f,!0);this.targetCenter_=this.calculateCenterRotate(g,l.anchor)}this.nextRotation_=l.targetRotation,this.targetRotation_=f}if(this.applyTargetState_(!0),n=!0,!l.complete)break}if(r){this.animations_[i]=null,this.setHint(Hn.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const o=s[0].callback;o&&Gd(o,!0)}}this.animations_=this.animations_.filter(Boolean),n&&this.updateAnimationKey_===void 0&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(e,n){let i;const s=this.getCenterInternal();return s!==void 0&&(i=[s[0]-n[0],s[1]-n[1]],Ev(i,e-this.getRotation()),Ane(i,n)),i}calculateCenterZoom(e,n){let i;const s=this.getCenterInternal(),r=this.getResolution();if(s!==void 0&&r!==void 0){const o=n[0]-e*(n[0]-s[0])/r,a=n[1]-e*(n[1]-s[1])/r;i=[o,a]}return i}getViewportSize_(e){const n=this.viewportSize_;if(e){const i=n[0],s=n[1];return[Math.abs(i*Math.cos(e))+Math.abs(s*Math.sin(e)),Math.abs(i*Math.sin(e))+Math.abs(s*Math.cos(e))]}return n}setViewportSize(e){this.viewportSize_=Array.isArray(e)?e.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const e=this.getCenterInternal();return e&&Dm(e,this.getProjection())}getCenterInternal(){return this.get(es.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(e){return e!==void 0?(e[0]=this.hints_[0],e[1]=this.hints_[1],e):this.hints_.slice()}calculateExtent(e){const n=this.calculateExtentInternal(e);return yT(n,this.getProjection())}calculateExtentInternal(e){e=e||this.getViewportSizeMinusPadding_();const n=this.getCenterInternal();mt(n,"The view center is not defined");const i=this.getResolution();mt(i!==void 0,"The view resolution is not defined");const s=this.getRotation();return mt(s!==void 0,"The view rotation is not defined"),Mm(n,i,s,e)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(e){this.applyOptions_(this.getUpdatedOptions_({maxZoom:e}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(e){this.applyOptions_(this.getUpdatedOptions_({minZoom:e}))}setConstrainResolution(e){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:e}))}getProjection(){return this.projection_}getResolution(){return this.get(es.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(e,n){return this.getResolutionForExtentInternal(Zr(e,this.getProjection()),n)}getResolutionForExtentInternal(e,n){n=n||this.getViewportSizeMinusPadding_();const i=bt(e)/n[0],s=Un(e)/n[1];return Math.max(i,s)}getResolutionForValueFunction(e){e=e||2;const n=this.getConstrainedResolution(this.maxResolution_),i=this.minResolution_,s=Math.log(n/i)/Math.log(e);return function(r){return n/Math.pow(e,r*s)}}getRotation(){return this.get(es.ROTATION)}getValueForResolutionFunction(e){const n=Math.log(e||2),i=this.getConstrainedResolution(this.maxResolution_),s=this.minResolution_,r=Math.log(i/s)/n;return function(o){return Math.log(i/o)/n/r}}getViewportSizeMinusPadding_(e){let n=this.getViewportSize_(e);const i=this.padding_;return i&&(n=[n[0]-i[1]-i[3],n[1]-i[0]-i[2]]),n}getState(){const e=this.getProjection(),n=this.getResolution(),i=this.getRotation();let s=this.getCenterInternal();const r=this.padding_;if(r){const o=this.getViewportSizeMinusPadding_();s=pp(s,this.getViewportSize_(),[o[0]/2+r[3],o[1]/2+r[0]],n,i)}return{center:s.slice(0),projection:e!==void 0?e:null,resolution:n,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:i,zoom:this.getZoom()}}getViewStateAndExtent(){return{viewState:this.getState(),extent:this.calculateExtent()}}getZoom(){let e;const n=this.getResolution();return n!==void 0&&(e=this.getZoomForResolution(n)),e}getZoomForResolution(e){let n=this.minZoom_||0,i,s;if(this.resolutions_){const r=pv(this.resolutions_,e,1);n=r,i=this.resolutions_[r],r==this.resolutions_.length-1?s=2:s=i/this.resolutions_[r+1]}else i=this.maxResolution_,s=this.zoomFactor_;return n+Math.log(i/e)/Math.log(s)}getResolutionForZoom(e){if(this.resolutions_?.length){if(this.resolutions_.length===1)return this.resolutions_[0];const n=rn(Math.floor(e),0,this.resolutions_.length-2),i=this.resolutions_[n]/this.resolutions_[n+1];return this.resolutions_[n]/Math.pow(i,rn(e-n,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,e-this.minZoom_)}fit(e,n){let i;if(mt(Array.isArray(e)||typeof e.getSimplifiedGeometry=="function","Invalid extent or geometry provided as `geometry`"),Array.isArray(e)){mt(!Uf(e),"Cannot fit empty extent provided as `geometry`");const s=Zr(e,this.getProjection());i=xw(s)}else if(e.getType()==="Circle"){const s=Zr(e.getExtent(),this.getProjection());i=xw(s),i.rotate(this.getRotation(),pa(s))}else i=e;this.fitInternal(i,n)}rotatedExtentForGeometry(e){const n=this.getRotation(),i=Math.cos(n),s=Math.sin(-n),r=e.getFlatCoordinates(),o=e.getStride();let a=1/0,l=1/0,c=-1/0,u=-1/0;for(let d=0,f=r.length;d{this.dispatchEvent("sourceready")},0))),this.changed()}getFeatures(e){return this.renderer_?this.renderer_.getFeatures(e):Promise.resolve([])}getData(e){return!this.renderer_||!this.rendered?null:this.renderer_.getData(e)}isVisible(e){let n;const i=this.getMapInternal();!e&&i&&(e=i.getView()),e instanceof ks?n={viewState:e.getState(),extent:e.calculateExtent()}:n=e,!n.layerStatesArray&&i&&(n.layerStatesArray=i.getLayerGroup().getLayerStatesArray());let s;n.layerStatesArray?s=n.layerStatesArray.find(o=>o.layer===this):s=this.getLayerState();const r=this.getExtent();return Ov(s,n.viewState)&&(!r||vi(r,n.extent))}getAttributions(e){if(!this.isVisible(e))return[];const n=this.getSource()?.getAttributions();if(!n)return[];const i=e instanceof ks?e.getViewStateAndExtent():e;let s=n(i);return Array.isArray(s)||(s=[s]),s}render(e,n){const i=this.getRenderer();return i.prepareFrame(e)?(this.rendered=!0,i.renderFrame(e,n)):null}unrender(){this.rendered=!1}getDeclutter(){}renderDeclutter(e,n){}renderDeferred(e){const n=this.getRenderer();n&&n.renderDeferred(e)}setMapInternal(e){e||this.unrender(),this.set(Ct.MAP,e)}getMapInternal(){return this.get(Ct.MAP)}setMap(e){this.mapPrecomposeKey_&&(Lt(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),e||this.changed(),this.mapRenderKey_&&(Lt(this.mapRenderKey_),this.mapRenderKey_=null),e&&(this.mapPrecomposeKey_=ft(e,zi.PRECOMPOSE,this.handlePrecompose_,this),this.mapRenderKey_=ft(this,tt.CHANGE,e.render,e),this.changed())}handlePrecompose_(e){const n=e.frameState.layerStatesArray,i=this.getLayerState(!1);mt(!n.some(s=>s.layer===i.layer),"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both."),n.push(i)}setSource(e){this.set(Ct.SOURCE,e)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}disposeInternal(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),super.disposeInternal()}}function Ov(t,e){if(!t.visible)return!1;const n=e.resolution;if(n=t.maxResolution)return!1;const i=e.zoom;return i>t.minZoom&&i<=t.maxZoom}function AT(t,e,n=0,i=t.length-1,s=gie){for(;i>n;){if(i-n>600){const l=i-n+1,c=e-n+1,u=Math.log(l),d=.5*Math.exp(2*u/3),f=.5*Math.sqrt(u*d*(l-d)/l)*(c-l/2<0?-1:1),g=Math.max(n,Math.floor(e-c*d/l+f)),p=Math.min(i,Math.floor(e+(l-c)*d/l+f));AT(t,e,g,p,s)}const r=t[e];let o=n,a=i;for(_c(t,n,e),s(t[i],r)>0&&_c(t,n,i);o0;)a--}s(t[n],r)===0?_c(t,n,a):(a++,_c(t,a,i)),a<=e&&(n=a+1),e<=a&&(i=a-1)}}function _c(t,e,n){const i=t[e];t[e]=t[n],t[n]=i}function gie(t,e){return te?1:0}let PT=class{constructor(e=9){this._maxEntries=Math.max(4,e),this._minEntries=Math.max(2,Math.ceil(this._maxEntries*.4)),this.clear()}all(){return this._all(this.data,[])}search(e){let n=this.data;const i=[];if(!qd(e,n))return i;const s=this.toBBox,r=[];for(;n;){for(let o=0;o=0&&r[n].children.length>this._maxEntries;)this._split(r,n),n--;this._adjustParentBBoxes(s,r,n)}_split(e,n){const i=e[n],s=i.children.length,r=this._minEntries;this._chooseSplitAxis(i,r,s);const o=this._chooseSplitIndex(i,r,s),a=Za(i.children.splice(o,i.children.length-o));a.height=i.height,a.leaf=i.leaf,Va(i,this.toBBox),Va(a,this.toBBox),n?e[n-1].children.push(a):this._splitRoot(i,a)}_splitRoot(e,n){this.data=Za([e,n]),this.data.height=e.height+1,this.data.leaf=!1,Va(this.data,this.toBBox)}_chooseSplitIndex(e,n,i){let s,r=1/0,o=1/0;for(let a=n;a<=i-n;a++){const l=Tc(e,0,a,this.toBBox),c=Tc(e,a,i,this.toBBox),u=yie(l,c),d=mp(l)+mp(c);u=n;c--){const u=e.children[c];Ac(a,e.leaf?r(u):u),l+=Xd(a)}return l}_adjustParentBBoxes(e,n,i){for(let s=i;s>=0;s--)Ac(n[s],e)}_condense(e){for(let n=e.length-1,i;n>=0;n--)e[n].children.length===0?n>0?(i=e[n-1].children,i.splice(i.indexOf(e[n]),1)):this.clear():Va(e[n],this.toBBox)}};function pie(t,e,n){if(!n)return e.indexOf(t);for(let i=0;i=t.minX&&e.maxY>=t.minY}function Za(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function Ew(t,e,n,i,s){const r=[e,n];for(;r.length;){if(n=r.pop(),e=r.pop(),n-e<=i)continue;const o=e+Math.ceil((n-e)/i/2)*i;AT(t,o,e,n,s),r.push(e,o,o,n)}}const ot={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};function Cw(t){return t[0]>0&&t[1]>0}function bie(t,e,n){return n===void 0&&(n=[0,0]),n[0]=t[0]*e+.5|0,n[1]=t[1]*e+.5|0,n}function wi(t,e){return Array.isArray(t)?t:(e===void 0?e=[t,t]:(e[0]=t,e[1]=t),e)}class Zf{constructor(e){this.opacity_=e.opacity,this.rotateWithView_=e.rotateWithView,this.rotation_=e.rotation,this.scale_=e.scale,this.scaleArray_=wi(e.scale),this.displacement_=e.displacement,this.declutterMode_=e.declutterMode}clone(){const e=this.getScale();return new Zf({opacity:this.getOpacity(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getOpacity(){return this.opacity_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getDisplacement(){return this.displacement_}getDeclutterMode(){return this.declutterMode_}getAnchor(){return pt()}getImage(e){return pt()}getHitDetectionImage(){return pt()}getPixelRatio(e){return 1}getImageState(){return pt()}getImageSize(){return pt()}getOrigin(){return pt()}getSize(){return pt()}setDisplacement(e){this.displacement_=e}setOpacity(e){this.opacity_=e}setRotateWithView(e){this.rotateWithView_=e}setRotation(e){this.rotation_=e}setScale(e){this.scale_=e,this.scaleArray_=wi(e)}listenImageChange(e){pt()}load(){pt()}unlistenImageChange(e){pt()}ready(){return Promise.resolve()}}const Su={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]};var Bn={name:"xyz",min:[0,0,0],channel:["X","Y","Z"],alias:["XYZ","ciexyz","cie1931"]};Bn.whitepoint={2:{A:[109.85,100,35.585],C:[98.074,100,118.232],D50:[96.422,100,82.521],D55:[95.682,100,92.149],D65:[95.045592705167,100,108.9057750759878],D75:[94.972,100,122.638],F2:[99.187,100,67.395],F7:[95.044,100,108.755],F11:[100.966,100,64.37],E:[100,100,100]},10:{A:[111.144,100,35.2],C:[97.285,100,116.145],D50:[96.72,100,81.427],D55:[95.799,100,90.926],D65:[94.811,100,107.304],D75:[94.416,100,120.641],F2:[103.28,100,69.026],F7:[95.792,100,107.687],F11:[103.866,100,65.627],E:[100,100,100]}};Bn.max=Bn.whitepoint[2].D65;Bn.rgb=function(t,e){e=e||Bn.whitepoint[2].E;var n=t[0]/e[0],i=t[1]/e[1],s=t[2]/e[2],r,o,a;return r=n*3.240969941904521+i*-1.537383177570093+s*-.498610760293,o=n*-.96924363628087+i*1.87596750150772+s*.041555057407175,a=n*.055630079696993+i*-.20397695888897+s*1.056971514242878,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r=r*12.92,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o=o*12.92,a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a=a*12.92,r=Math.min(Math.max(0,r),1),o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),[r*255,o*255,a*255]};Su.xyz=function(t,e){var n=t[0]/255,i=t[1]/255,s=t[2]/255;n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92,s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92;var r=n*.41239079926595+i*.35758433938387+s*.18048078840183,o=n*.21263900587151+i*.71516867876775+s*.072192315360733,a=n*.019330818715591+i*.11919477979462+s*.95053215224966;return e=e||Bn.whitepoint[2].E,[r*e[0],o*e[1],a*e[2]]};const Nv={name:"luv",min:[0,-134,-140],max:[100,224,122],channel:["lightness","u","v"],alias:["LUV","cieluv","cie1976"],xyz:function(t,e,n){var i,s,r,o,a,l,c,u,d,f,g,p,m;if(r=t[0],o=t[1],a=t[2],r===0)return[0,0,0];var v=.0011070564598794539;return e=e||"D65",n=n||2,d=Bn.whitepoint[n][e][0],f=Bn.whitepoint[n][e][1],g=Bn.whitepoint[n][e][2],p=4*d/(d+15*f+3*g),m=9*f/(d+15*f+3*g),i=o/(13*r)+p||0,s=a/(13*r)+m||0,c=r>8?f*Math.pow((r+16)/116,3):f*r*v,l=c*9*i/(4*s)||0,u=c*(12-3*i-20*s)/(4*s)||0,[l,c,u]}};Bn.luv=function(t,e,n){var i,s,r,o,a,l,c,u,d,f,g,p,m,v=.008856451679035631,y=903.2962962962961;e=e||"D65",n=n||2,d=Bn.whitepoint[n][e][0],f=Bn.whitepoint[n][e][1],g=Bn.whitepoint[n][e][2],p=4*d/(d+15*f+3*g),m=9*f/(d+15*f+3*g),l=t[0],c=t[1],u=t[2],i=4*l/(l+15*c+3*u)||0,s=9*c/(l+15*c+3*u)||0;var x=c/f;return r=x<=v?y*x:116*Math.pow(x,1/3)-16,o=13*r*(i-p),a=13*r*(s-m),[r,o,a]};var MT={name:"lchuv",channel:["lightness","chroma","hue"],alias:["LCHuv","cielchuv"],min:[0,0,0],max:[100,100,360],luv:function(t){var e=t[0],n=t[1],i=t[2],s,r,o;return o=i/360*2*Math.PI,s=n*Math.cos(o),r=n*Math.sin(o),[e,s,r]},xyz:function(t){return Nv.xyz(MT.luv(t))}};Nv.lchuv=function(t){var e=t[0],n=t[1],i=t[2],s=Math.sqrt(n*n+i*i),r=Math.atan2(i,n),o=r*360/2/Math.PI;return o<0&&(o+=360),[e,s,o]};Bn.lchuv=function(t){return Nv.lchuv(Bn.luv(t))};const Sw={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};var kw={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function wie(t){var e,n=[],i=1,s;if(typeof t=="number")return{space:"rgb",values:[t>>>16,(t&65280)>>>8,t&255],alpha:1};if(typeof t=="number")return{space:"rgb",values:[t>>>16,(t&65280)>>>8,t&255],alpha:1};if(t=String(t).toLowerCase(),Sw[t])n=Sw[t].slice(),s="rgb";else if(t==="transparent")i=0,s="rgb",n=[0,0,0];else if(t[0]==="#"){var r=t.slice(1),o=r.length,a=o<=4;i=1,a?(n=[parseInt(r[0]+r[0],16),parseInt(r[1]+r[1],16),parseInt(r[2]+r[2],16)],o===4&&(i=parseInt(r[3]+r[3],16)/255)):(n=[parseInt(r[0]+r[1],16),parseInt(r[2]+r[3],16),parseInt(r[4]+r[5],16)],o===8&&(i=parseInt(r[6]+r[7],16)/255)),n[0]||(n[0]=0),n[1]||(n[1]=0),n[2]||(n[2]=0),s="rgb"}else if(e=/^((?:rgba?|hs[lvb]a?|hwba?|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms|oklch|oklab|color))\s*\(([^\)]*)\)/.exec(t)){var l=e[1];s=l.replace(/a$/,"");var c=s==="cmyk"?4:s==="gray"?1:3;n=e[2].trim().split(/\s*[,\/]\s*|\s+/),s==="color"&&(s=n.shift()),n=n.map(function(u,d){if(u[u.length-1]==="%")return u=parseFloat(u)/100,d===3?u:s==="rgb"?u*255:s[0]==="h"||s[0]==="l"&&!d?u*100:s==="lab"?u*125:s==="lch"?d<2?u*150:u*360:s[0]==="o"&&!d?u:s==="oklab"?u*.4:s==="oklch"?d<2?u*.4:u*360:u;if(s[d]==="h"||d===2&&s[s.length-1]==="h"){if(kw[u]!==void 0)return kw[u];if(u.endsWith("deg"))return parseFloat(u);if(u.endsWith("turn"))return parseFloat(u)*360;if(u.endsWith("grad"))return parseFloat(u)*360/400;if(u.endsWith("rad"))return parseFloat(u)*180/Math.PI}return u==="none"?0:parseFloat(u)}),i=n.length>c?n.pop():1}else/[0-9](?:\s|\/|,)/.test(t)&&(n=t.match(/([0-9]+)/g).map(function(u){return parseFloat(u)}),s=t.match(/([a-z])/ig)?.join("")?.toLowerCase()||"rgb");return{space:s,values:n,alpha:i}}const vp={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(t){var e=t[0]/360,n=t[1]/100,i=t[2]/100,s,r,o,a,l,c=0;if(n===0)return l=i*255,[l,l,l];for(r=i<.5?i*(1+n):i+n-i*n,s=2*i-r,a=[0,0,0];c<3;)o=e+1/3*-(c-1),o<0?o++:o>1&&o--,l=6*o<1?s+(r-s)*6*o:2*o<1?r:3*o<2?s+(r-s)*(2/3-o)*6:s,a[c++]=l*255;return a}};Su.hsl=function(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255,s=Math.min(e,n,i),r=Math.max(e,n,i),o=r-s,a,l,c;return r===s?a=0:e===r?a=(n-i)/o:n===r?a=2+(i-e)/o:i===r&&(a=4+(e-n)/o),a=Math.min(a*60,360),a<0&&(a+=360),c=(s+r)/2,r===s?l=0:c<=.5?l=o/(r+s):l=o/(2-r-s),[a,l*100,c*100]};function xie(t){Array.isArray(t)&&t.raw&&(t=String.raw(...arguments)),t instanceof Number&&(t=+t);var e,n=wie(t);if(!n.space)return[];const i=n.space[0]==="h"?vp.min:Su.min,s=n.space[0]==="h"?vp.max:Su.max;return e=Array(3),e[0]=Math.min(Math.max(n.values[0],i[0]),s[0]),e[1]=Math.min(Math.max(n.values[1],i[1]),s[1]),e[2]=Math.min(Math.max(n.values[2],i[2]),s[2]),n.space[0]==="h"&&(e=vp.rgb(e)),e.push(Math.min(Math.max(n.alpha,0),1)),e}const Fv=[NaN,NaN,NaN,0];function Eie(t){return typeof t=="string"?t:Vv(t)}const Cie=1024,vc={};let yp=0;function Sie(t){if(t.length===4)return t;const e=t.slice();return e[3]=1,e}function Tw(t){const e=Bn.lchuv(Su.xyz(t));return e[3]=t[3],e}function kie(t){const e=Bn.rgb(MT.xyz(t));return e[3]=t[3],e}function Bv(t){if(t==="none")return Fv;if(vc.hasOwnProperty(t))return vc[t];if(yp>=Cie){let n=0;for(const i in vc)n++&3||(delete vc[i],--yp)}const e=xie(t);if(e.length!==4)throw new Error('failed to parse "'+t+'" as color');for(const n of e)if(isNaN(n))throw new Error('failed to parse "'+t+'" as color');return IT(e),vc[t]=e,++yp,e}function ku(t){return Array.isArray(t)?t:Bv(t)}function IT(t){return t[0]=rn(t[0]+.5|0,0,255),t[1]=rn(t[1]+.5|0,0,255),t[2]=rn(t[2]+.5|0,0,255),t[3]=rn(t[3],0,1),t}function Vv(t){let e=t[0];e!=(e|0)&&(e=e+.5|0);let n=t[1];n!=(n|0)&&(n=n+.5|0);let i=t[2];i!=(i|0)&&(i=i+.5|0);const s=t[3]===void 0?1:Math.round(t[3]*1e3)/1e3;return"rgba("+e+","+n+","+i+","+s+")"}const ho=typeof navigator<"u"&&typeof navigator.userAgent<"u"?navigator.userAgent.toLowerCase():"",Tie=ho.includes("firefox"),Aie=ho.includes("safari")&&!ho.includes("chrom");Aie&&(ho.includes("version/15.4")||/cpu (os|iphone os) 15_4 like mac os x/.test(ho));const Pie=ho.includes("webkit")&&!ho.includes("edge"),DT=ho.includes("macintosh"),RT=typeof devicePixelRatio<"u"?devicePixelRatio:1,$T=typeof WorkerGlobalScope<"u"&&typeof OffscreenCanvas<"u"&&self instanceof WorkerGlobalScope,LT=typeof Image<"u"&&Image.prototype.decode,OT=function(){let t=!1;try{const e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch{}return t}();function hn(t,e,n,i){let s;return n&&n.length?s=n.shift():$T?s=new OffscreenCanvas(t||300,e||300):s=document.createElement("canvas"),t&&(s.width=t),e&&(s.height=e),s.getContext("2d",i)}let bp;function Hh(){return bp||(bp=hn(1,1)),bp}function zl(t){const e=t.canvas;e.width=1,e.height=1,t.clearRect(0,0,1,1)}function Aw(t,e){const n=e.parentNode;n&&n.replaceChild(t,e)}function Mie(t){for(;t.lastChild;)t.lastChild.remove()}function Iie(t,e){const n=t.childNodes;for(let i=0;;++i){const s=n[i],r=e[i];if(!s&&!r)break;if(s!==r){if(!s){t.appendChild(r);continue}if(!r){t.removeChild(s),--i;continue}t.insertBefore(r,s)}}}function Die(t,e,n){const i=t;let s=!0,r=!1,o=!1;const a=[Bh(i,tt.LOAD,function(){o=!0,r||e()})];return i.src&<?(r=!0,i.decode().then(function(){s&&e()}).catch(function(l){s&&(o?e():n())})):a.push(Bh(i,tt.ERROR,n)),function(){s=!1,a.forEach(Lt)}}function Rie(t,e){return new Promise((n,i)=>{function s(){o(),n(t)}function r(){o(),i(new Error("Image load error"))}function o(){t.removeEventListener("load",s),t.removeEventListener("error",r)}t.addEventListener("load",s),t.addEventListener("error",r)})}function $ie(t,e){return e&&(t.src=e),t.src&<?new Promise((n,i)=>t.decode().then(()=>n(t)).catch(s=>t.complete&&t.width?n(t):i(s))):Rie(t)}class Lie{constructor(){this.cache_={},this.patternCache_={},this.cacheSize_=0,this.maxCacheSize_=32}clear(){this.cache_={},this.patternCache_={},this.cacheSize_=0}canExpireCache(){return this.cacheSize_>this.maxCacheSize_}expire(){if(this.canExpireCache()){let e=0;for(const n in this.cache_){const i=this.cache_[n];!(e++&3)&&!i.hasListener()&&(delete this.cache_[n],delete this.patternCache_[n],--this.cacheSize_)}}}get(e,n,i){const s=wp(e,n,i);return s in this.cache_?this.cache_[s]:null}getPattern(e,n,i){const s=wp(e,n,i);return s in this.patternCache_?this.patternCache_[s]:null}set(e,n,i,s,r){const o=wp(e,n,i),a=o in this.cache_;this.cache_[o]=s,r&&(s.getImageState()===ot.IDLE&&s.load(),s.getImageState()===ot.LOADING?s.ready().then(()=>{this.patternCache_[o]=Hh().createPattern(s.getImage(1),"repeat")}):this.patternCache_[o]=Hh().createPattern(s.getImage(1),"repeat")),a||++this.cacheSize_}setSize(e){this.maxCacheSize_=e,this.expire()}}function wp(t,e,n){const i=n?ku(n):"null";return e+":"+t+":"+i}const Is=new Lie;let yc=null;class Oie extends zf{constructor(e,n,i,s,r){super(),this.hitDetectionImage_=null,this.image_=e,this.crossOrigin_=i,this.canvas_={},this.color_=r,this.imageState_=s===void 0?ot.IDLE:s,this.size_=e&&e.width&&e.height?[e.width,e.height]:null,this.src_=n,this.tainted_,this.ready_=null}initializeImage_(){this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)}isTainted_(){if(this.tainted_===void 0&&this.imageState_===ot.LOADED){yc||(yc=hn(1,1,void 0,{willReadFrequently:!0})),yc.drawImage(this.image_,0,0);try{yc.getImageData(0,0,1,1),this.tainted_=!1}catch{yc=null,this.tainted_=!0}}return this.tainted_===!0}dispatchChangeEvent_(){this.dispatchEvent(tt.CHANGE)}handleImageError_(){this.imageState_=ot.ERROR,this.dispatchChangeEvent_()}handleImageLoad_(){this.imageState_=ot.LOADED,this.size_=[this.image_.width,this.image_.height],this.dispatchChangeEvent_()}getImage(e){return this.image_||this.initializeImage_(),this.replaceColor_(e),this.canvas_[e]?this.canvas_[e]:this.image_}getPixelRatio(e){return this.replaceColor_(e),this.canvas_[e]?e:1}getImageState(){return this.imageState_}getHitDetectionImage(){if(this.image_||this.initializeImage_(),!this.hitDetectionImage_)if(this.isTainted_()){const e=this.size_[0],n=this.size_[1],i=hn(e,n);i.fillRect(0,0,e,n),this.hitDetectionImage_=i.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_}getSize(){return this.size_}getSrc(){return this.src_}load(){if(this.imageState_===ot.IDLE){this.image_||this.initializeImage_(),this.imageState_=ot.LOADING;try{this.src_!==void 0&&(this.image_.src=this.src_)}catch{this.handleImageError_()}this.image_ instanceof HTMLImageElement&&$ie(this.image_,this.src_).then(e=>{this.image_=e,this.handleImageLoad_()}).catch(this.handleImageError_.bind(this))}}replaceColor_(e){if(!this.color_||this.canvas_[e]||this.imageState_!==ot.LOADED)return;const n=this.image_,i=hn(Math.ceil(n.width*e),Math.ceil(n.height*e)),s=i.canvas;i.scale(e,e),i.drawImage(n,0,0),i.globalCompositeOperation="multiply",i.fillStyle=Eie(this.color_),i.fillRect(0,0,s.width/e,s.height/e),i.globalCompositeOperation="destination-in",i.drawImage(n,0,0),this.canvas_[e]=s}ready(){return this.ready_||(this.ready_=new Promise(e=>{if(this.imageState_===ot.LOADED||this.imageState_===ot.ERROR)e();else{const n=()=>{(this.imageState_===ot.LOADED||this.imageState_===ot.ERROR)&&(this.removeEventListener(tt.CHANGE,n),e())};this.addEventListener(tt.CHANGE,n)}})),this.ready_}}function Wv(t,e,n,i,s,r){let o=e===void 0?void 0:Is.get(e,n,s);return o||(o=new Oie(t,t&&"src"in t?t.src||void 0:e,n,i,s),Is.set(e,n,s,o,r)),r&&o&&!Is.getPattern(e,n,s)&&Is.set(e,n,s,o,r),o}function Ds(t){return t?Array.isArray(t)?Vv(t):typeof t=="object"&&"src"in t?Nie(t):t:null}function Nie(t){if(!t.offset||!t.size)return Is.getPattern(t.src,"anonymous",t.color);const e=t.src+":"+t.offset,n=Is.getPattern(e,void 0,t.color);if(n)return n;const i=Is.get(t.src,"anonymous",null);if(i.getImageState()!==ot.LOADED)return null;const s=hn(t.size[0],t.size[1]);return s.drawImage(i.getImage(1),t.offset[0],t.offset[1],t.size[0],t.size[1],0,0,t.size[0],t.size[1]),Wv(s.canvas,e,void 0,ot.LOADED,t.color,!0),Is.getPattern(e,void 0,t.color)}const Zd="ol-hidden",Jf="ol-unselectable",zv="ol-control",Pw="ol-collapsed",Fie=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))",`?\\s*([-,\\"\\'\\sa-z]+?)\\s*$`].join(""),"i"),Mw=["style","variant","weight","size","lineHeight","family"],NT=function(t){const e=t.match(Fie);if(!e)return null;const n={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"};for(let i=0,s=Mw.length;i"u"?(s=i,i=void 0):(s=i,i=n,n=e,e=void 0))}else{if(o<1)throw new Error("Too few arguments provided");return o===1?(n=e,e=i=void 0):o===2&&!e.getContext&&(i=n,n=e,e=void 0),new Promise(function(l,c){try{const u=Tm.create(n,i);l(t(u,e,i))}catch(u){c(u)}})}try{const l=Tm.create(n,i);s(null,t(l,e,i))}catch(l){s(l)}}wa.create=Tm.create;wa.toCanvas=gv.bind(null,tT.render);wa.toDataURL=gv.bind(null,tT.renderToDataURL);wa.toString=gv.bind(null,function(t,e,n){return R9.render(t,n)});const $9={name:"peerQRCode",components:{LocaleText:Le},props:{peerConfigData:String},mounted(){wa.toCanvas(document.querySelector("#qrcode"),this.peerConfigData,t=>{t&&console.error(t)})}},L9={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0"},O9={class:"container d-flex h-100 w-100"},N9={class:"m-auto modal-dialog-centered dashboardModal justify-content-center"},F9={class:"card rounded-3 shadow"},B9={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},V9={class:"mb-0"},W9={class:"card-body"},z9={id:"qrcode",class:"rounded-3 shadow",ref:"qrcode"};function Y9(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",L9,[h("div",O9,[h("div",N9,[h("div",F9,[h("div",B9,[h("h4",V9,[$(o,{t:"QR Code"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=a=>this.$emit("close"))})]),h("div",W9,[h("canvas",z9,null,512)])])])])])}const H9=ze($9,[["render",Y9]]),j9={name:"nameInput",components:{LocaleText:Le},props:{bulk:Boolean,data:Object,saving:Boolean}},K9={for:"peer_name_textbox",class:"form-label"},U9={class:"text-muted"},G9=["disabled"];function X9(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",{class:Ee({inactiveField:this.bulk})},[h("label",K9,[h("small",U9,[$(o,{t:"Name"})])]),Re(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving||this.bulk,"onUpdate:modelValue":e[0]||(e[0]=a=>this.data.name=a),id:"peer_name_textbox",placeholder:""},null,8,G9),[[We,this.data.name]])],2)}const q9=ze(j9,[["render",X9]]),Z9={name:"privatePublicKeyInput",components:{LocaleText:Le},props:{data:Object,saving:Boolean,bulk:Boolean},setup(){const t=Xe(),e=$n();return{dashboardStore:t,wgStore:e}},data(){return{keypair:{publicKey:"",privateKey:"",presharedKey:""},editKey:!1,error:!1}},methods:{genKeyPair(){this.editKey=!1,this.keypair=window.wireguard.generateKeypair(),this.data.private_key=this.keypair.privateKey,this.data.public_key=this.keypair.publicKey},testKey(t){return/^[A-Za-z0-9+/]{43}=?=?$/.test(t)},checkMatching(){try{this.keypair.privateKey&&this.wgStore.checkWGKeyLength(this.keypair.privateKey)&&(this.keypair.publicKey=window.wireguard.generatePublicKey(this.keypair.privateKey),window.wireguard.generatePublicKey(this.keypair.privateKey)!==this.keypair.publicKey?(this.error=!0,this.dashboardStore.newMessage("WGDashboard","Private key does not match with the public key","danger")):(this.data.private_key=this.keypair.privateKey,this.data.public_key=this.keypair.publicKey))}catch{this.error=!0,this.data.private_key="",this.data.public_key=""}}},mounted(){this.genKeyPair()},watch:{keypair:{deep:!0,handler(){this.error=!1,this.checkMatching()}}}},J9={for:"peer_private_key_textbox",class:"form-label"},Q9={class:"text-muted"},eX={class:"input-group"},tX=["disabled"],nX=["disabled"],iX={class:"d-flex"},sX={for:"public_key",class:"form-label"},rX={class:"text-muted"},oX={class:"form-check form-switch ms-auto"},aX=["disabled"],lX={class:"form-check-label",for:"enablePublicKeyEdit"},cX=["disabled"];function uX(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",{class:Ee(["d-flex gap-2 flex-column",{inactiveField:this.bulk}])},[h("div",null,[h("label",J9,[h("small",Q9,[$(o,{t:"Private Key"}),h("code",null,[$(o,{t:"(Required for QR Code and Download)"})])])]),h("div",eX,[Re(h("input",{type:"text",class:Ee(["form-control form-control-sm rounded-start-3",{"is-invalid":this.error}]),"onUpdate:modelValue":e[0]||(e[0]=a=>this.keypair.privateKey=a),disabled:!this.editKey||this.bulk,onBlur:e[1]||(e[1]=a=>this.checkMatching()),id:"peer_private_key_textbox"},null,42,tX),[[We,this.keypair.privateKey]]),h("button",{class:"btn btn-outline-info btn-sm rounded-end-3",onClick:e[2]||(e[2]=a=>this.genKeyPair()),disabled:this.bulk,type:"button",id:"button-addon2"},e[6]||(e[6]=[h("i",{class:"bi bi-arrow-repeat"},null,-1)]),8,nX)])]),h("div",null,[h("div",iX,[h("label",sX,[h("small",rX,[$(o,{t:"Public Key"}),h("code",null,[$(o,{t:"(Required)"})])])]),h("div",oX,[Re(h("input",{class:"form-check-input",type:"checkbox",role:"switch",disabled:this.bulk,id:"enablePublicKeyEdit","onUpdate:modelValue":e[3]||(e[3]=a=>this.editKey=a)},null,8,aX),[[Gn,this.editKey]]),h("label",lX,[h("small",null,[$(o,{t:"Use your own Private and Public Key"})])])])]),Re(h("input",{class:Ee(["form-control-sm form-control rounded-3",{"is-invalid":this.error}]),"onUpdate:modelValue":e[4]||(e[4]=a=>this.keypair.publicKey=a),onBlur:e[5]||(e[5]=a=>this.checkMatching()),disabled:!this.editKey||this.bulk,type:"text",id:"public_key"},null,42,cX),[[We,this.keypair.publicKey]])])],2)}const dX=ze(Z9,[["render",uX]]),hX={name:"allowedIPsInput",components:{LocaleText:Le},props:{data:Object,saving:Boolean,bulk:Boolean,availableIp:void 0},data(){return{allowedIp:[],availableIpSearchString:"",customAvailableIp:"",allowedIpFormatError:!1}},setup(){const t=$n(),e=Xe();return{store:t,dashboardStore:e}},computed:{searchAvailableIps(){return this.availableIpSearchString?this.availableIp.filter(t=>t.includes(this.availableIpSearchString)&&!this.data.allowed_ips.includes(t)):this.availableIp.filter(t=>!this.data.allowed_ips.includes(t))},inputGetLocale(){return At("Enter IP Address/CIDR")}},methods:{addAllowedIp(t){return this.store.checkCIDR(t)?(this.data.allowed_ips.push(t),this.customAvailableIp="",!0):(this.allowedIpFormatError=!0,this.dashboardStore.newMessage("WGDashboard","Allowed IPs is invalid","danger"),!1)}},watch:{customAvailableIp(){this.allowedIpFormatError=!1},availableIp(){this.availableIp!==void 0&&this.availableIp.length>0&&this.addAllowedIp(this.availableIp[0])}},mounted(){}},fX={for:"peer_allowed_ip_textbox",class:"form-label"},gX={class:"text-muted"},pX=["onClick"],mX={class:"d-flex gap-2 align-items-center"},_X={class:"input-group"},vX=["placeholder","disabled"],yX=["disabled"],bX={class:"text-muted"},wX={class:"dropdown flex-grow-1"},xX=["disabled"],EX={key:0,class:"dropdown-menu mt-2 shadow w-100 dropdown-menu-end rounded-3",style:{"overflow-y":"scroll","max-height":"270px",width:"300px !important"}},CX={class:"px-3 pb-2 pt-1 d-flex gap-3 align-items-center"},SX=["onClick"],kX={class:"me-auto"},TX={key:0},AX={class:"px-3 text-muted"};function PX(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",{class:Ee({inactiveField:this.bulk})},[h("label",fX,[h("small",gX,[$(o,{t:"Allowed IPs"}),h("code",null,[$(o,{t:"(Required)"})])])]),h("div",{class:Ee(["d-flex gap-2 flex-wrap",{"mb-2":this.data.allowed_ips.length>0}])},[$(vo,{name:"list"},{default:Pe(()=>[(P(!0),F(Ie,null,Ge(this.data.allowed_ips,(a,l)=>(P(),F("span",{class:"badge rounded-pill text-bg-success",key:a},[Be(pe(a)+" ",1),h("a",{role:"button",onClick:c=>this.data.allowed_ips.splice(l,1)},e[3]||(e[3]=[h("i",{class:"bi bi-x-circle-fill ms-1"},null,-1)]),8,pX)]))),128))]),_:1})],2),h("div",mX,[h("div",_X,[Re(h("input",{type:"text",class:Ee(["form-control form-control-sm rounded-start-3",{"is-invalid":this.allowedIpFormatError}]),placeholder:this.inputGetLocale,"onUpdate:modelValue":e[0]||(e[0]=a=>s.customAvailableIp=a),disabled:n.bulk},null,10,vX),[[We,s.customAvailableIp]]),h("button",{class:"btn btn-outline-success btn-sm rounded-end-3",disabled:n.bulk||!this.customAvailableIp,onClick:e[1]||(e[1]=a=>this.addAllowedIp(this.customAvailableIp)),type:"button",id:"button-addon2"},e[4]||(e[4]=[h("i",{class:"bi bi-plus-lg"},null,-1)]),8,yX)]),h("small",bX,[$(o,{t:"or"})]),h("div",wX,[h("button",{class:"btn btn-outline-secondary btn-sm dropdown-toggle rounded-3 w-100",disabled:!n.availableIp||n.bulk,"data-bs-auto-close":"outside",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[e[5]||(e[5]=h("i",{class:"bi bi-filter-circle me-2"},null,-1)),$(o,{t:"Pick Available IP"})],8,xX),this.availableIp?(P(),F("ul",EX,[h("li",null,[h("div",CX,[e[6]||(e[6]=h("label",{for:"availableIpSearchString",class:"text-muted"},[h("i",{class:"bi bi-search"})],-1)),Re(h("input",{id:"availableIpSearchString",class:"form-control form-control-sm rounded-3","onUpdate:modelValue":e[2]||(e[2]=a=>this.availableIpSearchString=a)},null,512),[[We,this.availableIpSearchString]])])]),(P(!0),F(Ie,null,Ge(this.searchAvailableIps,a=>(P(),F("li",null,[h("a",{class:"dropdown-item d-flex",role:"button",onClick:l=>this.addAllowedIp(a)},[h("span",kX,[h("small",null,pe(a),1)])],8,SX)]))),256)),this.searchAvailableIps.length===0?(P(),F("li",TX,[h("small",AX,[$(o,{t:"No available IP containing"}),Be(' "'+pe(this.availableIpSearchString)+'"',1)])])):se("",!0)])):se("",!0)])])],2)}const MX=ze(hX,[["render",PX],["__scopeId","data-v-6d5fc831"]]),IX={name:"dnsInput",components:{LocaleText:Le},props:{data:Object,saving:Boolean},data(){return{error:!1,dns:JSON.parse(JSON.stringify(this.data.DNS))}},setup(){const t=$n(),e=Xe();return{store:t,dashboardStore:e}},methods:{checkDNS(){if(this.dns){let t=this.dns.split(",").map(e=>e.replaceAll(" ",""));for(let e in t)if(!this.store.regexCheckIP(t[e])){this.error||this.dashboardStore.newMessage("WGDashboard","DNS format is incorrect","danger"),this.error=!0,this.data.DNS="";return}this.error=!1,this.data.DNS=this.dns}}},watch:{dns(){this.checkDNS()}}},DX={for:"peer_DNS_textbox",class:"form-label"},RX={class:"text-muted"},$X=["disabled"];function LX(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("label",DX,[h("small",RX,[$(o,{t:"DNS"})])]),Re(h("input",{type:"text",class:Ee(["form-control form-control-sm rounded-3",{"is-invalid":this.error}]),disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=a=>this.dns=a),id:"peer_DNS_textbox"},null,10,$X),[[We,this.dns]])])}const OX=ze(IX,[["render",LX]]),NX={name:"endpointAllowedIps",components:{LocaleText:Le},props:{data:Object,saving:Boolean},setup(){const t=$n(),e=Xe();return{store:t,dashboardStore:e}},data(){return{endpointAllowedIps:JSON.parse(JSON.stringify(this.data.endpoint_allowed_ip)),error:!1}},methods:{checkAllowedIP(){let t=this.endpointAllowedIps.split(",").map(e=>e.replaceAll(" ",""));for(let e in t)if(!this.store.checkCIDR(t[e])){this.error||this.dashboardStore.newMessage("WGDashboard","Endpoint Allowed IPs format is incorrect","danger"),this.data.endpoint_allowed_ip="",this.error=!0;return}this.error=!1,this.data.endpoint_allowed_ip=this.endpointAllowedIps}},watch:{endpointAllowedIps(){this.checkAllowedIP()}}},FX={for:"peer_endpoint_allowed_ips",class:"form-label"},BX={class:"text-muted"},VX=["disabled"];function WX(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("label",FX,[h("small",BX,[$(o,{t:"Endpoint Allowed IPs"}),h("code",null,[$(o,{t:"(Required)"})])])]),Re(h("input",{type:"text",class:Ee(["form-control form-control-sm rounded-3",{"is-invalid":s.error}]),disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=a=>this.endpointAllowedIps=a),onBlur:e[1]||(e[1]=a=>this.checkAllowedIP()),id:"peer_endpoint_allowed_ips"},null,42,VX),[[We,this.endpointAllowedIps]])])}const zX=ze(NX,[["render",WX]]),YX={name:"presharedKeyInput",components:{LocaleText:Le},props:{data:Object,saving:Boolean},data(){return{enable:!1}},watch:{enable(){this.enable?this.data.preshared_key=window.wireguard.generateKeypair().presharedKey:this.data.preshared_key=""}}},HX={class:"d-flex align-items-start"},jX={for:"peer_preshared_key_textbox",class:"form-label"},KX={class:"text-muted"},UX={class:"form-check form-switch ms-auto"},GX=["disabled"];function XX(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("div",HX,[h("label",jX,[h("small",KX,[$(o,{t:"Pre-Shared Key"})])]),h("div",UX,[Re(h("input",{class:"form-check-input",type:"checkbox",role:"switch","onUpdate:modelValue":e[0]||(e[0]=a=>this.enable=a),id:"peer_preshared_key_switch"},null,512),[[Gn,this.enable]])])]),Re(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving||!this.enable,"onUpdate:modelValue":e[1]||(e[1]=a=>this.data.preshared_key=a),id:"peer_preshared_key_textbox"},null,8,GX),[[We,this.data.preshared_key]])])}const qX=ze(YX,[["render",XX]]),ZX={name:"mtuInput",components:{LocaleText:Le},props:{data:Object,saving:Boolean}},JX={for:"peer_mtu",class:"form-label"},QX={class:"text-muted"},eq=["disabled"];function tq(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("label",JX,[h("small",QX,[$(o,{t:"MTU"})])]),Re(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=a=>this.data.mtu=a),min:"0",id:"peer_mtu"},null,8,eq),[[We,this.data.mtu]])])}const nq=ze(ZX,[["render",tq]]),iq={name:"persistentKeepAliveInput",components:{LocaleText:Le},props:{data:Object,saving:Boolean}},sq={for:"peer_keep_alive",class:"form-label"},rq={class:"text-muted"},oq=["disabled"];function aq(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("label",sq,[h("small",rq,[$(o,{t:"Persistent Keepalive"})])]),Re(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=a=>this.data.keepalive=a),id:"peer_keep_alive"},null,8,oq),[[We,this.data.keepalive]])])}const lq=ze(iq,[["render",aq]]),cq={name:"bulkAdd",components:{LocaleText:Le},props:{saving:Boolean,data:Object,availableIp:void 0},computed:{bulkAddGetLocale(){return At("How many peers you want to add?")}}},uq={class:"form-check form-switch"},dq=["disabled"],hq={class:"form-check-label me-2",for:"bulk_add"},fq={class:"text-muted d-block"},gq={key:0,class:"form-group"},pq=["max","placeholder"],mq={class:"text-muted"};function _q(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",null,[h("div",uq,[Re(h("input",{class:"form-check-input",type:"checkbox",role:"switch",disabled:!this.availableIp,id:"bulk_add","onUpdate:modelValue":e[0]||(e[0]=a=>this.data.bulkAdd=a)},null,8,dq),[[Gn,this.data.bulkAdd]]),h("label",hq,[h("small",null,[h("strong",null,[$(o,{t:"Bulk Add"})])])])]),h("p",{class:Ee({"mb-0":!this.data.bulkAdd})},[h("small",fq,[$(o,{t:"By adding peers by bulk, each peer's name will be auto generated, and Allowed IP will be assign to the next available IP."})])],2),this.data.bulkAdd?(P(),F("div",gq,[Re(h("input",{class:"form-control form-control-sm rounded-3 mb-1",type:"number",min:"1",max:this.availableIp.length,"onUpdate:modelValue":e[1]||(e[1]=a=>this.data.bulkAddAmount=a),placeholder:this.bulkAddGetLocale},null,8,pq),[[We,this.data.bulkAddAmount]]),h("small",mq,[$(o,{t:"You can add up to "+this.availableIp.length+" peers"},null,8,["t"])])])):se("",!0)])}const vq=ze(cq,[["render",_q]]),yq={name:"peerCreate",components:{LocaleText:Le,BulkAdd:vq,PersistentKeepAliveInput:lq,MtuInput:nq,PresharedKeyInput:qX,EndpointAllowedIps:zX,DnsInput:OX,AllowedIPsInput:MX,PrivatePublicKeyInput:dX,NameInput:q9},data(){return{data:{bulkAdd:!1,bulkAddAmount:0,name:"",allowed_ips:[],private_key:"",public_key:"",DNS:this.dashboardStore.Configuration.Peers.peer_global_dns,endpoint_allowed_ip:this.dashboardStore.Configuration.Peers.peer_endpoint_allowed_ip,keepalive:parseInt(this.dashboardStore.Configuration.Peers.peer_keep_alive),mtu:parseInt(this.dashboardStore.Configuration.Peers.peer_mtu),preshared_key:"",preshared_key_bulkAdd:!1},availableIp:void 0,availableIpSearchString:"",saving:!1,allowedIpDropdown:void 0}},mounted(){Pt("/api/getAvailableIPs/"+this.$route.params.id,{},t=>{t.status&&(this.availableIp=t.data)})},setup(){const t=$n(),e=Xe();return{store:t,dashboardStore:e}},methods:{peerCreate(){this.saving=!0,dt("/api/addPeers/"+this.$route.params.id,this.data,t=>{t.status?(this.$router.push(`/configuration/${this.$route.params.id}/peers`),this.dashboardStore.newMessage("Server","Peer created successfully","success")):this.dashboardStore.newMessage("Server",t.message,"danger"),this.saving=!1})}},computed:{allRequireFieldsFilled(){let t=!0;return this.data.bulkAdd?(this.data.bulkAddAmount.length===0||this.data.bulkAddAmount>this.availableIp.length)&&(t=!1):["allowed_ips","private_key","public_key","endpoint_allowed_ip","keepalive","mtu"].forEach(n=>{this.data[n].length===0&&(t=!1)}),t}},watch:{bulkAdd(t){t||(this.data.bulkAddAmount="")},"data.bulkAddAmount"(){this.data.bulkAddAmount>this.availableIp.length&&(this.data.bulkAddAmount=this.availableIp.length)}}},bq={class:"container"},wq={class:"mb-4"},xq={class:"mb-5 d-flex align-items-center gap-4"},Eq={class:"mb-0"},Cq={class:"d-flex flex-column gap-2"},Sq={class:"row gy-3"},kq={key:0,class:"col-sm"},Tq={class:"col-sm"},Aq={class:"col-sm"},Pq={key:1,class:"col-12"},Mq={class:"form-check form-switch"},Iq={class:"form-check-label",for:"bullAdd_PresharedKey_Switch"},Dq={class:"fw-bold"},Rq={class:"d-flex mt-2"},$q=["disabled"],Lq={key:0,class:"bi bi-plus-circle-fill me-2"};function Oq(t,e,n,i,s,r){const o=Se("RouterLink"),a=Se("LocaleText"),l=Se("BulkAdd"),c=Se("NameInput"),u=Se("PrivatePublicKeyInput"),d=Se("AllowedIPsInput"),f=Se("EndpointAllowedIps"),g=Se("DnsInput"),p=Se("PresharedKeyInput"),m=Se("MtuInput"),v=Se("PersistentKeepAliveInput");return P(),F("div",bq,[h("div",wq,[h("div",xq,[$(o,{to:"peers",class:"btn btn-dark btn-brand p-2 shadow",style:{"border-radius":"100%"}},{default:Pe(()=>e[2]||(e[2]=[h("h2",{class:"mb-0",style:{"line-height":"0"}},[h("i",{class:"bi bi-arrow-left-circle"})],-1)])),_:1}),h("h2",Eq,[$(a,{t:"Add Peers"})])])]),h("div",Cq,[$(l,{saving:s.saving,data:this.data,availableIp:this.availableIp},null,8,["saving","data","availableIp"]),e[3]||(e[3]=h("hr",{class:"mb-0 mt-2"},null,-1)),this.data.bulkAdd?se("",!0):(P(),Ce(c,{key:0,saving:s.saving,data:this.data},null,8,["saving","data"])),this.data.bulkAdd?se("",!0):(P(),Ce(u,{key:1,saving:s.saving,data:s.data},null,8,["saving","data"])),this.data.bulkAdd?se("",!0):(P(),Ce(d,{key:2,availableIp:this.availableIp,saving:s.saving,data:s.data},null,8,["availableIp","saving","data"])),$(f,{saving:s.saving,data:s.data},null,8,["saving","data"]),$(g,{saving:s.saving,data:s.data},null,8,["saving","data"]),e[4]||(e[4]=h("hr",{class:"mb-0 mt-2"},null,-1)),h("div",Sq,[this.data.bulkAdd?se("",!0):(P(),F("div",kq,[$(p,{saving:s.saving,data:s.data,bulk:this.data.bulkAdd},null,8,["saving","data","bulk"])])),h("div",Tq,[$(m,{saving:s.saving,data:s.data},null,8,["saving","data"])]),h("div",Aq,[$(v,{saving:s.saving,data:s.data},null,8,["saving","data"])]),this.data.bulkAdd?(P(),F("div",Pq,[h("div",Mq,[Re(h("input",{class:"form-check-input",type:"checkbox",role:"switch","onUpdate:modelValue":e[0]||(e[0]=y=>this.data.preshared_key_bulkAdd=y),id:"bullAdd_PresharedKey_Switch",checked:""},null,512),[[Gn,this.data.preshared_key_bulkAdd]]),h("label",Iq,[h("small",Dq,[$(a,{t:"Pre-Shared Key"}),this.data.preshared_key_bulkAdd?(P(),Ce(a,{key:0,t:"Enabled"})):(P(),Ce(a,{key:1,t:"Disabled"}))])])])])):se("",!0)]),h("div",Rq,[h("button",{class:"ms-auto btn btn-dark btn-brand rounded-3 px-3 py-2 shadow",disabled:!this.allRequireFieldsFilled||this.saving,onClick:e[1]||(e[1]=y=>this.peerCreate())},[this.saving?se("",!0):(P(),F("i",Lq)),this.saving?(P(),Ce(a,{key:1,t:"Adding..."})):(P(),Ce(a,{key:2,t:"Add"}))],8,$q)])])])}const nT=ze(yq,[["render",Oq],["__scopeId","data-v-17eb547c"]]),Nq={name:"scheduleDropdown",props:{options:Array,data:String,edit:!1},setup(t){t.data===void 0&&this.$emit("update",this.options[0].value)},computed:{currentSelection(){return this.options.find(t=>t.value===this.data)}}},Fq={class:"dropdown scheduleDropdown"},Bq={class:"dropdown-menu rounded-3 shadow",style:{"font-size":"0.875rem",width:"200px"}},Vq=["onClick"],Wq={key:0,class:"bi bi-check ms-auto"};function zq(t,e,n,i,s,r){return P(),F("div",Fq,[h("button",{class:Ee(["btn btn-sm btn-outline-primary rounded-3",{"disabled border-transparent":!n.edit}]),type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[h("samp",null,pe(this.currentSelection.display),1)],2),h("ul",Bq,[n.edit?(P(!0),F(Ie,{key:0},Ge(this.options,o=>(P(),F("li",null,[h("a",{class:"dropdown-item d-flex align-items-center",role:"button",onClick:a=>t.$emit("update",o.value)},[h("samp",null,pe(o.display),1),o.value===this.currentSelection.value?(P(),F("i",Wq)):se("",!0)],8,Vq)]))),256)):se("",!0)])])}const iT=ze(Nq,[["render",zq],["__scopeId","data-v-6a5aba2a"]]),Yq={name:"schedulePeerJob",components:{LocaleText:Le,VueDatePicker:ju,ScheduleDropdown:iT},props:{dropdowns:Array[Object],pjob:Object,viewOnly:!1},setup(t){const e=me({}),n=me(!1),i=me(!1);e.value=JSON.parse(JSON.stringify(t.pjob)),e.value.CreationDate||(n.value=!0,i.value=!0);const s=Xe();return{job:e,edit:n,newJob:i,store:s}},data(){return{inputType:void 0}},watch:{pjob:{deep:!0,immediate:!0,handler(t){this.edit||(this.job=JSON.parse(JSON.stringify(t)))}}},methods:{save(){this.job.Field&&this.job.Operator&&this.job.Action&&this.job.Value?dt("/api/savePeerScheduleJob/",{Job:this.job},t=>{t.status?(this.edit=!1,this.store.newMessage("Server","Peer job saved","success"),console.log(t.data),this.$emit("refresh",t.data[0]),this.newJob=!1):this.store.newMessage("Server",t.message,"danger")}):this.alert()},alert(){let t="animate__flash",e=this.$el.querySelectorAll(".scheduleDropdown"),n=this.$el.querySelectorAll("input");e.forEach(i=>i.classList.add("animate__animated",t)),n.forEach(i=>i.classList.add("animate__animated",t)),setTimeout(()=>{e.forEach(i=>i.classList.remove("animate__animated",t)),n.forEach(i=>i.classList.remove("animate__animated",t))},2e3)},reset(){this.job.CreationDate?(this.job=JSON.parse(JSON.stringify(this.pjob)),this.edit=!1):this.$emit("delete")},delete(){this.job.CreationDate&&dt("/api/deletePeerScheduleJob/",{Job:this.job},t=>{t.status?this.store.newMessage("Server","Peer job deleted","success"):(this.store.newMessage("Server",t.message,"danger"),this.$emit("delete"))}),this.$emit("delete")},parseTime(t){t&&(this.job.Value=Fn(t).format("YYYY-MM-DD HH:mm:ss"))}}},Hq={class:"card-header bg-transparent text-muted border-0"},jq={key:0,class:"d-flex"},Kq={class:"me-auto"},Uq={key:1},Gq={class:"badge text-bg-warning"},Xq={class:"card-body pt-1",style:{"font-family":"var(--bs-font-monospace)"}},qq={class:"d-flex gap-2 align-items-center mb-2"},Zq=["disabled"],Jq={class:"px-5 d-flex gap-2 align-items-center"},Qq={class:"d-flex gap-3"},eZ={key:0,class:"ms-auto d-flex gap-3"},tZ={key:1,class:"ms-auto d-flex gap-3"};function nZ(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("ScheduleDropdown"),l=Se("VueDatePicker");return P(),F("div",{class:Ee(["card shadow-sm rounded-3 mb-2",{"border-warning-subtle":this.newJob}])},[h("div",Hq,[this.newJob?(P(),F("small",Uq,[h("span",Gq,[$(o,{t:"Unsaved Job"})])])):(P(),F("small",jq,[h("strong",Kq,[$(o,{t:"Job ID"})]),h("samp",null,pe(this.job.JobID),1)]))]),h("div",Xq,[h("div",qq,[h("samp",null,[$(o,{t:"if"})]),$(a,{edit:i.edit,options:this.dropdowns.Field,data:this.job.Field,onUpdate:e[0]||(e[0]=c=>{this.job.Field=c})},null,8,["edit","options","data"]),h("samp",null,[$(o,{t:"is"})]),$(a,{edit:i.edit,options:this.dropdowns.Operator,data:this.job.Operator,onUpdate:e[1]||(e[1]=c=>this.job.Operator=c)},null,8,["edit","options","data"]),this.job.Field==="date"?(P(),Ce(l,{key:0,is24:!0,"min-date":new Date,"model-value":this.job.Value,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",clearable:!1,disabled:!i.edit,dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","disabled","dark"])):Re((P(),F("input",{key:1,class:"form-control form-control-sm form-control-dark rounded-3 flex-grow-1",disabled:!i.edit,"onUpdate:modelValue":e[2]||(e[2]=c=>this.job.Value=c),style:{width:"auto"}},null,8,Zq)),[[We,this.job.Value]]),h("samp",null,pe(this.dropdowns.Field.find(c=>c.value===this.job.Field)?.unit)+" { ",1)]),h("div",Jq,[h("samp",null,[$(o,{t:"then"})]),$(a,{edit:i.edit,options:this.dropdowns.Action,data:this.job.Action,onUpdate:e[3]||(e[3]=c=>this.job.Action=c)},null,8,["edit","options","data"])]),h("div",Qq,[e[12]||(e[12]=h("samp",null,"}",-1)),this.edit?(P(),F("div",tZ,[h("a",{role:"button",class:"text-secondary text-decoration-none",onClick:e[6]||(e[6]=c=>this.reset())},[e[10]||(e[10]=Be("[C] ")),$(o,{t:"Cancel"})]),h("a",{role:"button",class:"text-primary ms-auto text-decoration-none",onClick:e[7]||(e[7]=c=>this.save())},[e[11]||(e[11]=Be("[S] ")),$(o,{t:"Save"})])])):(P(),F("div",eZ,[h("a",{role:"button",class:"ms-auto text-decoration-none",onClick:e[4]||(e[4]=c=>this.edit=!0)},[e[8]||(e[8]=Be("[E] ")),$(o,{t:"Edit"})]),h("a",{role:"button",onClick:e[5]||(e[5]=c=>this.delete()),class:"text-danger text-decoration-none"},[e[9]||(e[9]=Be("[D] ")),$(o,{t:"Delete"})])]))])])],2)}const sT=ze(Yq,[["render",nZ],["__scopeId","data-v-8f3f1b93"]]),iZ={name:"peerJobs",setup(){return{store:$n()}},props:{selectedPeer:Object},components:{LocaleText:Le,SchedulePeerJob:sT,ScheduleDropdown:iT},data(){return{}},methods:{deleteJob(t){this.selectedPeer.jobs=this.selectedPeer.jobs.filter(e=>e.JobID!==t.JobID)},addJob(){this.selectedPeer.jobs.unshift(JSON.parse(JSON.stringify({JobID:Bs().toString(),Configuration:this.selectedPeer.configuration.Name,Peer:this.selectedPeer.id,Field:this.store.PeerScheduleJobs.dropdowns.Field[0].value,Operator:this.store.PeerScheduleJobs.dropdowns.Operator[0].value,Value:"",CreationDate:"",ExpireDate:"",Action:this.store.PeerScheduleJobs.dropdowns.Action[0].value})))}}},sZ={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},rZ={class:"container d-flex h-100 w-100"},oZ={class:"m-auto modal-dialog-centered dashboardModal"},aZ={class:"card rounded-3 shadow",style:{width:"700px"}},lZ={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},cZ={class:"mb-0 fw-normal"},uZ={class:"card-body px-4 pb-4 pt-2 position-relative"},dZ={class:"d-flex align-items-center mb-3"},hZ={class:"card shadow-sm",key:"none",style:{height:"153px"}},fZ={class:"card-body text-muted text-center d-flex"},gZ={class:"m-auto"};function pZ(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("SchedulePeerJob");return P(),F("div",sZ,[h("div",rZ,[h("div",oZ,[h("div",aZ,[h("div",lZ,[h("h4",cZ,[$(o,{t:"Schedule Jobs"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=l=>this.$emit("close"))})]),h("div",uZ,[h("div",dZ,[h("button",{class:"btn bg-primary-subtle border-1 border-primary-subtle text-primary-emphasis rounded-3 shadow",onClick:e[1]||(e[1]=l=>this.addJob())},[e[3]||(e[3]=h("i",{class:"bi bi-plus-lg me-2"},null,-1)),$(o,{t:"Job"})])]),$(vo,{name:"schedulePeerJobTransition",tag:"div",class:"position-relative"},{default:Pe(()=>[(P(!0),F(Ie,null,Ge(this.selectedPeer.jobs,(l,c)=>(P(),Ce(a,{onRefresh:e[2]||(e[2]=u=>this.$emit("refresh")),onDelete:u=>this.deleteJob(l),dropdowns:this.store.PeerScheduleJobs.dropdowns,key:l.JobID,pjob:l},null,8,["onDelete","dropdowns","pjob"]))),128)),this.selectedPeer.jobs.length===0?(P(),F("div",hZ,[h("div",fZ,[h("h6",gZ,[$(o,{t:"This peer does not have any job yet."})])])])):se("",!0)]),_:1})])])])])])}const mZ=ze(iZ,[["render",pZ],["__scopeId","data-v-5bbdd42b"]]),_Z={name:"peerJobsAllModal",setup(){return{store:$n()}},components:{LocaleText:Le,SchedulePeerJob:sT},props:{configurationPeers:Array[Object]},methods:{getuuid(){return Bs()}},computed:{getAllJobs(){return this.configurationPeers.filter(t=>t.jobs.length>0)}}},vZ={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},yZ={class:"container d-flex h-100 w-100"},bZ={class:"m-auto modal-dialog-centered dashboardModal"},wZ={class:"card rounded-3 shadow",style:{width:"700px"}},xZ={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},EZ={class:"mb-0 fw-normal"},CZ={class:"card-body px-4 pb-4 pt-2"},SZ={key:0,class:"accordion",id:"peerJobsLogsModalAccordion"},kZ={class:"accordion-header"},TZ=["data-bs-target"],AZ={key:0},PZ={class:"text-muted"},MZ=["id"],IZ={class:"accordion-body"},DZ={key:1,class:"card shadow-sm",style:{height:"153px"}},RZ={class:"card-body text-muted text-center d-flex"},$Z={class:"m-auto"};function LZ(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("SchedulePeerJob");return P(),F("div",vZ,[h("div",yZ,[h("div",bZ,[h("div",wZ,[h("div",xZ,[h("h4",EZ,[$(o,{t:"All Active Jobs"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=l=>this.$emit("close"))})]),h("div",CZ,[this.getAllJobs.length>0?(P(),F("div",SZ,[(P(!0),F(Ie,null,Ge(this.getAllJobs,(l,c)=>(P(),F("div",{class:"accordion-item",key:l.id},[h("h2",kZ,[h("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapse_"+c},[h("small",null,[h("strong",null,[l.name?(P(),F("span",AZ,pe(l.name)+" • ",1)):se("",!0),h("samp",PZ,pe(l.id),1)])])],8,TZ)]),h("div",{id:"collapse_"+c,class:"accordion-collapse collapse","data-bs-parent":"#peerJobsLogsModalAccordion"},[h("div",IZ,[(P(!0),F(Ie,null,Ge(l.jobs,u=>(P(),Ce(a,{onDelete:e[1]||(e[1]=d=>this.$emit("refresh")),onRefresh:e[2]||(e[2]=d=>this.$emit("refresh")),dropdowns:this.store.PeerScheduleJobs.dropdowns,viewOnly:!0,key:u.JobID,pjob:u},null,8,["dropdowns","pjob"]))),128))])],8,MZ)]))),128))])):(P(),F("div",DZ,[h("div",RZ,[h("span",$Z,[$(o,{t:"No active job at the moment."})])])]))])])])])])}const OZ=ze(_Z,[["render",LZ]]),NZ={name:"peerJobsLogsModal",components:{LocaleText:Le},props:{configurationInfo:Object},data(){return{dataLoading:!0,data:[],logFetchTime:void 0,showLogID:!1,showJobID:!0,showSuccessJob:!0,showFailedJob:!0,showLogAmount:10}},async mounted(){await this.fetchLog()},methods:{async fetchLog(){this.dataLoading=!0,await Pt(`/api/getPeerScheduleJobLogs/${this.configurationInfo.Name}`,{},t=>{this.data=t.data,this.logFetchTime=Fn().format("YYYY-MM-DD HH:mm:ss"),this.dataLoading=!1})}},computed:{getLogs(){return this.data.filter(t=>this.showSuccessJob&&t.Status==="1"||this.showFailedJob&&t.Status==="0")},showLogs(){return this.getLogs.slice(0,this.showLogAmount)}}},FZ={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},BZ={class:"container-fluid d-flex h-100 w-100"},VZ={class:"m-auto mt-0 modal-dialog-centered dashboardModal",style:{width:"100%"}},WZ={class:"card rounded-3 shadow w-100"},zZ={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},YZ={class:"mb-0"},HZ={class:"card-body px-4 pb-4 pt-2"},jZ={key:0},KZ={class:"mb-2 d-flex gap-3"},UZ={class:"d-flex gap-3 align-items-center"},GZ={class:"text-muted"},XZ={class:"form-check"},qZ={class:"form-check-label",for:"jobLogsShowSuccessCheck"},ZZ={class:"badge text-success-emphasis bg-success-subtle"},JZ={class:"form-check"},QZ={class:"form-check-label",for:"jobLogsShowFailedCheck"},eJ={class:"badge text-danger-emphasis bg-danger-subtle"},tJ={class:"d-flex gap-3 align-items-center ms-auto"},nJ={class:"text-muted"},iJ={class:"form-check"},sJ={class:"form-check-label",for:"jobLogsShowJobIDCheck"},rJ={class:"form-check"},oJ={class:"form-check-label",for:"jobLogsShowLogIDCheck"},aJ={class:"table"},lJ={scope:"col"},cJ={key:0,scope:"col"},uJ={key:1,scope:"col"},dJ={scope:"col"},hJ={scope:"col"},fJ={style:{"font-size":"0.875rem"}},gJ={scope:"row"},pJ={key:0},mJ={class:"text-muted"},_J={key:1},vJ={class:"text-muted"},yJ={class:"d-flex gap-2"},bJ={key:1,class:"d-flex align-items-center flex-column"};function wJ(t,e,n,i,s,r){const o=Se("LocaleText");return P(),F("div",FZ,[h("div",BZ,[h("div",VZ,[h("div",WZ,[h("div",zZ,[h("h4",YZ,[$(o,{t:"Jobs Logs"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=a=>this.$emit("close"))})]),h("div",HZ,[this.dataLoading?(P(),F("div",bJ,e[11]||(e[11]=[h("div",{class:"spinner-border text-body",role:"status"},[h("span",{class:"visually-hidden"},"Loading...")],-1)]))):(P(),F("div",jZ,[h("p",null,[$(o,{t:"Updated at"}),Be(" : "+pe(this.logFetchTime),1)]),h("div",KZ,[h("button",{onClick:e[1]||(e[1]=a=>this.fetchLog()),class:"btn btn-sm rounded-3 shadow-sm text-info-emphasis bg-info-subtle border-1 border-info-subtle me-1"},[e[8]||(e[8]=h("i",{class:"bi bi-arrow-clockwise me-2"},null,-1)),$(o,{t:"Refresh"})]),h("div",UZ,[h("span",GZ,[$(o,{t:"Filter"})]),h("div",XZ,[Re(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[2]||(e[2]=a=>this.showSuccessJob=a),id:"jobLogsShowSuccessCheck"},null,512),[[Gn,this.showSuccessJob]]),h("label",qZ,[h("span",ZZ,[$(o,{t:"Success"})])])]),h("div",JZ,[Re(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[3]||(e[3]=a=>this.showFailedJob=a),id:"jobLogsShowFailedCheck"},null,512),[[Gn,this.showFailedJob]]),h("label",QZ,[h("span",eJ,[$(o,{t:"Failed"})])])])]),h("div",tJ,[h("span",nJ,[$(o,{t:"Display"})]),h("div",iJ,[Re(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[4]||(e[4]=a=>s.showJobID=a),id:"jobLogsShowJobIDCheck"},null,512),[[Gn,s.showJobID]]),h("label",sJ,[$(o,{t:"Job ID"})])]),h("div",rJ,[Re(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[5]||(e[5]=a=>s.showLogID=a),id:"jobLogsShowLogIDCheck"},null,512),[[Gn,s.showLogID]]),h("label",oJ,[$(o,{t:"Log ID"})])])])]),h("table",aJ,[h("thead",null,[h("tr",null,[h("th",lJ,[$(o,{t:"Date"})]),s.showLogID?(P(),F("th",cJ,[$(o,{t:"Log ID"})])):se("",!0),s.showJobID?(P(),F("th",uJ,[$(o,{t:"Job ID"})])):se("",!0),h("th",dJ,[$(o,{t:"Status"})]),h("th",hJ,[$(o,{t:"Message"})])])]),h("tbody",null,[(P(!0),F(Ie,null,Ge(this.showLogs,a=>(P(),F("tr",fJ,[h("th",gJ,pe(a.LogDate),1),s.showLogID?(P(),F("td",pJ,[h("samp",mJ,pe(a.LogID),1)])):se("",!0),s.showJobID?(P(),F("td",_J,[h("samp",vJ,pe(a.JobID),1)])):se("",!0),h("td",null,[h("span",{class:Ee(["badge",[a.Status==="1"?"text-success-emphasis bg-success-subtle":"text-danger-emphasis bg-danger-subtle"]])},pe(a.Status==="1"?"Success":"Failed"),3)]),h("td",null,pe(a.Message),1)]))),256))])]),h("div",yJ,[this.getLogs.length>this.showLogAmount?(P(),F("button",{key:0,onClick:e[6]||(e[6]=a=>this.showLogAmount+=20),class:"btn btn-sm rounded-3 shadow-sm text-primary-emphasis bg-primary-subtle border-1 border-primary-subtle"},e[9]||(e[9]=[h("i",{class:"bi bi-chevron-down me-2"},null,-1),Be(" Show More ")]))):se("",!0),this.showLogAmount>20?(P(),F("button",{key:1,onClick:e[7]||(e[7]=a=>this.showLogAmount=20),class:"btn btn-sm rounded-3 shadow-sm text-primary-emphasis bg-primary-subtle border-1 border-primary-subtle"},e[10]||(e[10]=[h("i",{class:"bi bi-chevron-up me-2"},null,-1),Be(" Collapse ")]))):se("",!0)])]))])])])])])}const xJ=ze(NZ,[["render",wJ]]),EJ={name:"peerShareLinkModal",props:{peer:Object},components:{LocaleText:Le,VueDatePicker:ju},data(){return{dataCopy:void 0,loading:!1}},setup(){return{store:Xe()}},mounted(){this.dataCopy=JSON.parse(JSON.stringify(this.peer.ShareLink)).at(0)},watch:{"peer.ShareLink":{deep:!0,handler(t,e){e.length!==t.length&&(this.dataCopy=JSON.parse(JSON.stringify(this.peer.ShareLink)).at(0))}}},methods:{startSharing(){this.loading=!0,dt("/api/sharePeer/create",{Configuration:this.peer.configuration.Name,Peer:this.peer.id,ExpireDate:Fn().add(7,"d").format("YYYY-MM-DD HH:mm:ss")},t=>{t.status?(this.peer.ShareLink=t.data,this.dataCopy=t.data.at(0)):this.store.newMessage("Server","Share link failed to create. Reason: "+t.message,"danger"),this.loading=!1})},updateLinkExpireDate(){dt("/api/sharePeer/update",this.dataCopy,t=>{t.status?(this.dataCopy=t.data.at(0),this.peer.ShareLink=t.data,this.store.newMessage("Server","Link expire date updated","success")):this.store.newMessage("Server","Link expire date failed to update. Reason: "+t.message,"danger"),this.loading=!1})},stopSharing(){this.loading=!0,this.dataCopy.ExpireDate=Fn().format("YYYY-MM-DD HH:mm:ss"),this.updateLinkExpireDate()},parseTime(t){t?this.dataCopy.ExpireDate=Fn(t).format("YYYY-MM-DD HH:mm:ss"):this.dataCopy.ExpireDate=void 0,this.updateLinkExpireDate()}},computed:{getUrl(){const t=this.store.getActiveCrossServer();return t?`${t.host}/${this.$router.resolve({path:"/share",query:{ShareID:this.dataCopy.ShareID}}).href}`:window.location.origin+window.location.pathname+this.$router.resolve({path:"/share",query:{ShareID:this.dataCopy.ShareID}}).href}}},CJ={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},SJ={class:"container d-flex h-100 w-100"},kJ={class:"m-auto modal-dialog-centered dashboardModal",style:{width:"500px"}},TJ={class:"card rounded-3 shadow flex-grow-1"},AJ={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4"},PJ={class:"mb-0"},MJ={key:0,class:"card-body px-4 pb-4"},IJ={key:0},DJ={class:"mb-3 text-muted"},RJ=["disabled"],$J={key:1},LJ={class:"d-flex gap-2 mb-4"},OJ=["href"],NJ={class:"d-flex flex-column gap-2 mb-3"},FJ=["disabled"];function BJ(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("VueDatePicker");return P(),F("div",CJ,[h("div",SJ,[h("div",kJ,[h("div",TJ,[h("div",AJ,[h("h4",PJ,[$(o,{t:"Share Peer"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=l=>this.$emit("close"))})]),this.peer.ShareLink?(P(),F("div",MJ,[this.dataCopy?(P(),F("div",$J,[h("div",LJ,[e[4]||(e[4]=h("i",{class:"bi bi-link-45deg"},null,-1)),h("a",{href:this.getUrl,class:"text-decoration-none",target:"_blank"},pe(r.getUrl),9,OJ)]),h("div",NJ,[h("small",null,[e[5]||(e[5]=h("i",{class:"bi bi-calendar me-2"},null,-1)),$(o,{t:"Expire At"})]),$(a,{is24:!0,"min-date":new Date,"model-value":this.dataCopy.ExpireDate,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","dark"])]),h("button",{onClick:e[2]||(e[2]=l=>this.stopSharing()),disabled:this.loading,class:"w-100 btn bg-danger-subtle text-danger-emphasis border-1 border-danger-subtle rounded-3 shadow-sm"},[h("span",{class:Ee({"animate__animated animate__flash animate__infinite animate__slower":this.loading})},e[6]||(e[6]=[h("i",{class:"bi bi-send-slash-fill me-2"},null,-1)]),2),this.loading?(P(),Ce(o,{key:0,t:"Stop Sharing..."})):(P(),Ce(o,{key:1,t:"Stop Sharing"}))],8,FJ)])):(P(),F("div",IJ,[h("h6",DJ,[$(o,{t:"Currently the peer is not sharing"})]),h("button",{onClick:e[1]||(e[1]=l=>this.startSharing()),disabled:this.loading,class:"w-100 btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm"},[h("span",{class:Ee({"animate__animated animate__flash animate__infinite animate__slower":this.loading})},e[3]||(e[3]=[h("i",{class:"bi bi-send-fill me-2"},null,-1)]),2),this.loading?(P(),Ce(o,{key:0,t:"Sharing..."})):(P(),Ce(o,{key:1,t:"Start Sharing"}))],8,RJ)]))])):se("",!0)])])])])}const VJ=ze(EJ,[["render",BJ]]),WJ={class:"container d-flex h-100 w-100"},zJ={class:"m-auto modal-dialog-centered dashboardModal",style:{width:"700px"}},YJ={class:"card rounded-3 shadow flex-grow-1"},HJ={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4"},jJ={class:"mb-0"},KJ={class:"card-body px-4 pb-4"},UJ={class:"d-flex gap-2 flex-column"},GJ={class:"d-flex align-items-center"},XJ={class:"text-muted"},qJ={class:"ms-auto"},ZJ={class:"d-flex align-items-center"},JJ={class:"text-muted"},QJ={class:"ms-auto"},eQ={for:"configuration_private_key",class:"form-label d-flex"},tQ={class:"text-muted d-block"},nQ={class:"form-check form-switch ms-auto"},iQ=["disabled"],sQ={for:"configuration_ipaddress_cidr",class:"form-label"},rQ={class:"text-muted"},oQ=["disabled"],aQ={for:"configuration_listen_port",class:"form-label"},lQ={class:"text-muted"},cQ=["disabled"],uQ={for:"configuration_preup",class:"form-label"},dQ={class:"text-muted"},hQ=["disabled"],fQ={for:"configuration_predown",class:"form-label"},gQ={class:"text-muted"},pQ=["disabled"],mQ={for:"configuration_postup",class:"form-label"},_Q={class:"text-muted"},vQ=["disabled"],yQ={for:"configuration_postdown",class:"form-label"},bQ={class:"text-muted"},wQ=["disabled"],xQ={class:"d-flex align-items-center gap-2 mt-4"},EQ=["disabled"],CQ=["disabled"],SQ={__name:"editConfiguration",props:{configurationInfo:Object},emits:["changed","close"],setup(t,{emit:e}){const n=t,i=$n(),s=Xe(),r=me(!1),o=Ei(JSON.parse(JSON.stringify(n.configurationInfo))),a=me(!1),l=me(!1);me(!1);const c=Ei({PrivateKey:!0,IPAddress:!0,ListenPort:!0}),u=Bp("editConfigurationContainer"),d=()=>{i.checkWGKeyLength(o.PrivateKey)?(c.PrivateKey=!0,o.PublicKey=window.wireguard.generatePublicKey(o.PrivateKey)):c.PrivateKey=!1},f=()=>{l.value=!1,Object.assign(o,JSON.parse(JSON.stringify(n.configurationInfo)))},g=e,p=()=>{r.value=!0,dt("/api/updateWireguardConfiguration",o,m=>{r.value=!1,m.status?(s.newMessage("Server","Configuration saved","success"),l.value=!1,g("dataChanged",m.data)):s.newMessage("Server",m.message,"danger")})};return jt(o,()=>{l.value=JSON.stringify(o)!==JSON.stringify(n.configurationInfo)},{deep:!0}),me(!1),(m,v)=>(P(),F("div",{class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll",ref_key:"editConfigurationContainer",ref:u},[h("div",WJ,[h("div",zJ,[h("div",YJ,[h("div",HJ,[h("h4",jJ,[$(Le,{t:"Configuration Settings"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:v[0]||(v[0]=y=>m.$emit("close"))})]),h("div",KJ,[h("div",UJ,[h("div",GJ,[h("small",XJ,[$(Le,{t:"Name"})]),h("small",qJ,[h("samp",null,pe(o.Name),1)])]),h("div",ZJ,[h("small",JJ,[$(Le,{t:"Public Key"})]),h("small",QJ,[h("samp",null,pe(o.PublicKey),1)])]),v[15]||(v[15]=h("hr",null,null,-1)),h("div",null,[h("label",eQ,[h("small",tQ,[$(Le,{t:"Private Key"})]),h("div",nQ,[Re(h("input",{class:"form-check-input",type:"checkbox",role:"switch",id:"editPrivateKeySwitch","onUpdate:modelValue":v[1]||(v[1]=y=>a.value=y)},null,512),[[Gn,a.value]]),v[12]||(v[12]=h("label",{class:"form-check-label",for:"editPrivateKeySwitch"},[h("small",null,"Edit")],-1))])]),Re(h("input",{type:"text",class:Ee(["form-control form-control-sm rounded-3",{"is-invalid":!c.PrivateKey}]),disabled:r.value||!a.value,onKeyup:v[2]||(v[2]=y=>d()),"onUpdate:modelValue":v[3]||(v[3]=y=>o.PrivateKey=y),id:"configuration_private_key"},null,42,iQ),[[We,o.PrivateKey]])]),h("div",null,[h("label",sQ,[h("small",rQ,[$(Le,{t:"IP Address/CIDR"})])]),Re(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:r.value,"onUpdate:modelValue":v[4]||(v[4]=y=>o.Address=y),id:"configuration_ipaddress_cidr"},null,8,oQ),[[We,o.Address]])]),h("div",null,[h("label",aQ,[h("small",lQ,[$(Le,{t:"Listen Port"})])]),Re(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:r.value,"onUpdate:modelValue":v[5]||(v[5]=y=>o.ListenPort=y),id:"configuration_listen_port"},null,8,cQ),[[We,o.ListenPort]])]),h("div",null,[h("label",uQ,[h("small",dQ,[$(Le,{t:"PreUp"})])]),Re(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:r.value,"onUpdate:modelValue":v[6]||(v[6]=y=>o.PreUp=y),id:"configuration_preup"},null,8,hQ),[[We,o.PreUp]])]),h("div",null,[h("label",fQ,[h("small",gQ,[$(Le,{t:"PreDown"})])]),Re(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:r.value,"onUpdate:modelValue":v[7]||(v[7]=y=>o.PreDown=y),id:"configuration_predown"},null,8,pQ),[[We,o.PreDown]])]),h("div",null,[h("label",mQ,[h("small",_Q,[$(Le,{t:"PostUp"})])]),Re(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:r.value,"onUpdate:modelValue":v[8]||(v[8]=y=>o.PostUp=y),id:"configuration_postup"},null,8,vQ),[[We,o.PostUp]])]),h("div",null,[h("label",yQ,[h("small",bQ,[$(Le,{t:"PostDown"})])]),Re(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:r.value,"onUpdate:modelValue":v[9]||(v[9]=y=>o.PostDown=y),id:"configuration_postdown"},null,8,wQ),[[We,o.PostDown]])]),h("div",xQ,[h("button",{class:"btn bg-secondary-subtle border-secondary-subtle text-secondary-emphasis rounded-3 shadow ms-auto",onClick:v[10]||(v[10]=y=>f()),disabled:!l.value||r.value},v[13]||(v[13]=[h("i",{class:"bi bi-arrow-clockwise"},null,-1)]),8,EQ),h("button",{class:"btn bg-primary-subtle border-primary-subtle text-primary-emphasis rounded-3 shadow",disabled:!l.value||r.value,onClick:v[11]||(v[11]=y=>p())},v[14]||(v[14]=[h("i",{class:"bi bi-save-fill"},null,-1)]),8,CQ)])])])])])])],512))}},kQ={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll",ref:"selectPeersContainer"},TQ={class:"container d-flex h-100 w-100"},AQ={class:"m-auto modal-dialog-centered dashboardModal",style:{width:"700px"}},PQ={class:"card rounded-3 shadow flex-grow-1"},MQ={class:"card-header bg-transparent d-flex align-items-center gap-2 p-4 flex-column pb-3"},IQ={class:"mb-2 w-100 d-flex"},DQ={class:"mb-0"},RQ={class:"d-flex w-100 align-items-center gap-2"},$Q={class:"d-flex gap-3"},LQ={class:"card-body px-4 flex-grow-1 d-flex gap-2 flex-column position-relative",ref:"card-body",style:{"overflow-y":"scroll"}},OQ=["onClick","disabled","data-id"],NQ={class:"d-flex align-items-center gap-3"},FQ={key:0},BQ={class:"d-flex flex-column"},VQ={class:"fw-bold"},WQ={class:"text-muted"},zQ={key:1,class:"ms-auto"},YQ={key:0,class:"spinner-border spinner-border-sm",role:"status"},HQ={class:"card-footer px-4 py-3 gap-2 d-flex align-items-center"},jQ=["disabled"],KQ={key:0,class:"flex-grow-1 text-center"},UQ=["disabled"],GQ={key:0,class:"flex-grow-1 text-center"},XQ=["disabled"],qQ={key:0,class:"flex-grow-1 text-center"},ZQ=["disabled"],JQ={__name:"selectPeers",props:{configurationPeers:Array},emits:["refresh","close"],setup(t,{emit:e}){const n=t,i=me(!1),s=me(!1),r=me([]),o=me(""),a=E=>{r.value.find(w=>w===E)?r.value=r.value.filter(w=>w!==E):r.value.push(E)},l=ve(()=>i.value||s.value?n.configurationPeers.filter(E=>r.value.find(w=>w===E.id)):o.value.length>0?n.configurationPeers.filter(E=>E.id.includes(o.value)||E.name.includes(o.value)):n.configurationPeers);jt(r,()=>{r.value.length===0&&(i.value=!1,s.value=!1)});const c=Wu(),u=Xe(),d=e,f=me(!1),g=()=>{f.value=!0,dt(`/api/deletePeers/${c.params.id}`,{peers:r.value},E=>{u.newMessage("Server",E.message,E.status?"success":"danger"),E.status&&(r.value=[],i.value=!1),d("refresh"),f.value=!1})},p=Ei({success:[],failed:[]}),m=Bp("card-body"),v=Bp("sp"),y=async()=>{s.value=!0;for(const E of r.value)m.value.scrollTo({top:v.value.find(w=>w.dataset.id===E).offsetTop-20,behavior:"smooth"}),await Pt("/api/downloadPeer/"+c.params.id,{id:E},w=>{if(w.status){const b=new Blob([w.data.file],{type:"text/plain"}),C=URL.createObjectURL(b),k=`${w.data.fileName}.conf`,T=document.createElement("a");T.href=C,T.download=k,T.click(),p.success.push(E)}else p.failed.push(E)})},x=()=>{p.success=[],p.failed=[],s.value=!1};return(E,w)=>(P(),F("div",kQ,[h("div",TQ,[h("div",AQ,[h("div",PQ,[h("div",MQ,[h("div",IQ,[h("h4",DQ,[$(Le,{t:"Select Peers"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:w[0]||(w[0]=b=>d("close"))})]),h("div",RQ,[h("div",$Q,[s.value?se("",!0):(P(),F("a",{key:0,role:"button",onClick:w[1]||(w[1]=b=>r.value=t.configurationPeers.map(C=>C.id)),class:"text-decoration-none text-body"},w[9]||(w[9]=[h("small",null,[h("i",{class:"bi bi-check-all me-2"}),Be("Select All ")],-1)]))),r.value.length>0&&!s.value?(P(),F("a",{key:1,role:"button",class:"text-decoration-none text-body",onClick:w[2]||(w[2]=b=>r.value=[])},w[10]||(w[10]=[h("small",null,[h("i",{class:"bi bi-x-circle-fill me-2"}),Be("Clear ")],-1)]))):se("",!0)]),w[11]||(w[11]=h("label",{class:"ms-auto",for:"selectPeersSearchInput"},[h("i",{class:"bi bi-search"})],-1)),Re(h("input",{class:"form-control form-control-sm rounded-3","onUpdate:modelValue":w[3]||(w[3]=b=>o.value=b),id:"selectPeersSearchInput",style:{width:"200px !important"},type:"text"},null,512),[[We,o.value]])])]),h("div",LQ,[(P(!0),F(Ie,null,Ge(l.value,b=>(P(),F("button",{type:"button",class:Ee(["btn w-100 peerBtn text-start rounded-3",{active:r.value.find(C=>C===b.id)}]),onClick:C=>a(b.id),key:b.id,disabled:i.value||s.value,ref_for:!0,ref:"sp","data-id":b.id},[h("div",NQ,[s.value?se("",!0):(P(),F("span",FQ,[h("i",{class:Ee(["bi",[r.value.find(C=>C===b.id)?"bi-check-circle-fill":"bi-circle"]])},null,2)])),h("div",BQ,[h("small",VQ,pe(b.name?b.name:"Untitled Peer"),1),h("small",WQ,[h("samp",null,pe(b.id),1)])]),s.value?(P(),F("span",zQ,[!p.success.find(C=>C===b.id)&&!p.failed.find(C=>C===b.id)?(P(),F("div",YQ,w[12]||(w[12]=[h("span",{class:"visually-hidden"},"Loading...",-1)]))):(P(),F("i",{key:1,class:Ee(["bi",[p.failed.find(C=>C===b.id)?"bi-x-circle-fill":"bi-check-circle-fill"]])},null,2))])):se("",!0)])],10,OQ))),128))],512),h("div",HQ,[!i.value&&!s.value?(P(),F(Ie,{key:0},[h("button",{class:"btn bg-primary-subtle text-primary-emphasis border-primary-subtle rounded-3",disabled:r.value.length===0||f.value,onClick:w[4]||(w[4]=b=>y())},w[13]||(w[13]=[h("i",{class:"bi bi-download"},null,-1)]),8,jQ),r.value.length>0?(P(),F("span",KQ,[w[14]||(w[14]=h("i",{class:"bi bi-check-circle-fill me-2"},null,-1)),Be(" "+pe(r.value.length)+" Peer"+pe(r.value.length>1?"s":""),1)])):se("",!0),h("button",{class:"btn bg-danger-subtle text-danger-emphasis border-danger-subtle ms-auto rounded-3",onClick:w[5]||(w[5]=b=>i.value=!0),disabled:r.value.length===0||f.value},w[15]||(w[15]=[h("i",{class:"bi bi-trash"},null,-1)]),8,UQ)],64)):s.value?(P(),F(Ie,{key:1},[p.failed.length+p.success.length1?"s":"")+"... ",1)):(P(),F(Ie,{key:1},[w[16]||(w[16]=h("strong",null," Download Finished ",-1)),h("button",{onClick:w[6]||(w[6]=b=>x()),class:"btn bg-secondary-subtle text-secondary-emphasis border border-secondary-subtle rounded-3 ms-auto"}," Done ")],64))],64)):i.value?(P(),F(Ie,{key:2},[h("button",{class:"btn btn-danger rounded-3",disabled:r.value.length===0||f.value,onClick:w[7]||(w[7]=b=>g())}," Yes ",8,XQ),r.value.length>0?(P(),F("strong",qQ," Are you sure to delete "+pe(r.value.length)+" Peer"+pe(r.value.length>1?"s":"")+"? ",1)):se("",!0),h("button",{class:"btn bg-secondary-subtle text-secondary-emphasis border border-secondary-subtle ms-auto rounded-3",disabled:r.value.length===0||f.value,onClick:w[8]||(w[8]=b=>i.value=!1)}," No ",8,ZQ)],64)):se("",!0)])])])])],512))}},QQ=ze(JQ,[["__scopeId","data-v-8e40593b"]]),eee={class:"card my-0 rounded-3"},tee={class:"card-body position-relative"},nee={key:0,class:"position-absolute w-100 h-100 confirmationContainer start-0 top-0 rounded-3 d-flex p-2"},iee={class:"m-auto"},see={class:"d-flex gap-2 align-items-center justify-content-center"},ree=["disabled"],oee=["disabled"],aee={key:0,class:"position-absolute w-100 h-100 confirmationContainer start-0 top-0 rounded-3 d-flex p-2"},lee={class:"m-auto"},cee={class:"d-flex gap-2 align-items-center justify-content-center"},uee=["disabled"],dee=["disabled"],hee={class:"d-flex gap-3"},fee={class:"d-flex flex-column"},gee={class:"d-flex flex-column"},pee={class:"d-flex gap-2 align-items-center ms-auto"},mee={class:"card rounded-3"},_ee={key:0,class:"card-body"},vee=["value"],yee={class:"d-flex"},bee={__name:"backup",props:["b","delay"],emits:["refresh","refreshPeersList"],setup(t,{emit:e}){oC(g=>({df360394:d.value}));const n=t,i=me(!1),s=me(!1),r=Wu(),o=e,a=Xe(),l=me(!1),c=()=>{l.value=!0,dt("/api/deleteWireguardConfigurationBackup",{configurationName:r.params.id,backupFileName:n.b.filename},g=>{l.value=!1,g.status?(o("refresh"),a.newMessage("Server","Backup deleted","success")):a.newMessage("Server","Backup failed to delete","danger")})},u=()=>{l.value=!0,dt("/api/restoreWireguardConfigurationBackup",{configurationName:r.params.id,backupFileName:n.b.filename},g=>{l.value=!1,s.value=!1,g.status?(o("refresh"),a.newMessage("Server","Backup restored with "+n.b.filename,"success")):a.newMessage("Server","Backup failed to restore","danger")})},d=ve(()=>n.delay+"s"),f=me(!1);return(g,p)=>(P(),F("div",eee,[h("div",tee,[$(vt,{name:"zoomReversed"},{default:Pe(()=>[i.value?(P(),F("div",nee,[h("div",iee,[p[7]||(p[7]=h("h5",null,"Are you sure to delete this backup?",-1)),h("div",see,[h("button",{class:"btn btn-danger rounded-3",disabled:l.value,onClick:p[0]||(p[0]=m=>c())}," Yes ",8,ree),h("button",{onClick:p[1]||(p[1]=m=>i.value=!1),disabled:l.value,class:"btn bg-secondary-subtle text-secondary-emphasis border-secondary-subtle rounded-3"}," No ",8,oee)])])])):se("",!0)]),_:1}),$(vt,{name:"zoomReversed"},{default:Pe(()=>[s.value?(P(),F("div",aee,[h("div",lee,[p[8]||(p[8]=h("h5",null,"Are you sure to restore this backup?",-1)),h("div",cee,[h("button",{disabled:l.value,onClick:p[2]||(p[2]=m=>u()),class:"btn btn-success rounded-3"}," Yes ",8,uee),h("button",{onClick:p[3]||(p[3]=m=>s.value=!1),disabled:l.value,class:"btn bg-secondary-subtle text-secondary-emphasis border-secondary-subtle rounded-3"}," No ",8,dee)])])])):se("",!0)]),_:1}),h("div",hee,[h("div",fee,[p[9]||(p[9]=h("small",{class:"text-muted"}," Backup ",-1)),h("samp",null,pe(t.b.filename),1)]),h("div",gee,[p[10]||(p[10]=h("small",{class:"text-muted"}," Backup Date ",-1)),Be(" "+pe(Z(Fn)(t.b.backupDate,"YYYYMMDDHHmmss").format("YYYY-MM-DD HH:mm:ss")),1)]),h("div",pee,[h("button",{onClick:p[4]||(p[4]=m=>s.value=!0),class:"btn bg-warning-subtle text-warning-emphasis border-warning-subtle rounded-3 btn-sm"},p[11]||(p[11]=[h("i",{class:"bi bi-clock-history"},null,-1)])),h("button",{onClick:p[5]||(p[5]=m=>i.value=!0),class:"btn bg-danger-subtle text-danger-emphasis border-danger-subtle rounded-3 btn-sm"},p[12]||(p[12]=[h("i",{class:"bi bi-trash-fill"},null,-1)]))])]),p[15]||(p[15]=h("hr",null,null,-1)),h("div",mee,[h("a",{role:"button",class:Ee(["card-header d-flex text-decoration-none align-items-center",{"border-bottom-0":!f.value}]),style:{cursor:"pointer"},onClick:p[6]||(p[6]=m=>f.value=!f.value)},p[13]||(p[13]=[h("small",null,".conf File ",-1),h("i",{class:"bi bi-chevron-down ms-auto"},null,-1)]),2),f.value?(P(),F("div",_ee,[h("textarea",{class:"form-control rounded-3",value:t.b.content,disabled:"",style:{height:"300px","font-family":"var(--bs-font-monospace),sans-serif !important"}},null,8,vee)])):se("",!0)]),p[16]||(p[16]=h("hr",null,null,-1)),h("div",yee,[p[14]||(p[14]=h("span",null,[h("i",{class:"bi bi-database me-1"}),Be(" Database ")],-1)),h("i",{class:Ee(["bi ms-auto",[t.b.database?"text-success bi-check-circle-fill":"text-danger bi-x-circle-fill"]])},null,2)])])]))}},wee=ze(bee,[["__scopeId","data-v-61688b74"]]),xee={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll",ref:"editConfigurationContainer"},Eee={class:"d-flex h-100 w-100"},Cee={class:"modal-dialog-centered dashboardModal w-100 h-100 overflow-x-scroll flex-column gap-3 mx-3"},See={class:"my-5 d-flex gap-3 flex-column position-relative"},kee={class:"title"},Tee={class:"d-flex mb-3"},Aee={class:"mb-0"},Pee={class:"position-relative d-flex flex-column gap-3"},Mee={class:"text-center title",key:"spinner"},Iee={class:"card my-0 rounded-3",key:"noBackups"},Dee={__name:"configurationBackupRestore",emits:["close","refreshPeersList"],setup(t,{emit:e}){const n=Wu(),i=me([]),s=me(!0),r=e;Vt(()=>{o()});const o=()=>{s.value=!0,Pt("/api/getWireguardConfigurationBackup",{configurationName:n.params.id},l=>{i.value=l.data,s.value=!1})},a=()=>{Pt("/api/createWireguardConfigurationBackup",{configurationName:n.params.id},l=>{i.value=l.data,s.value=!1})};return(l,c)=>(P(),F("div",xee,[h("div",Eee,[h("div",Cee,[h("div",See,[h("div",kee,[h("div",Tee,[h("h4",Aee,[$(Le,{t:"Backup & Restore"})]),h("button",{type:"button",class:"btn-close ms-auto",onClick:c[0]||(c[0]=u=>l.$emit("close"))})]),h("button",{onClick:c[1]||(c[1]=u=>a()),class:"btn bg-primary-subtle text-primary-emphasis border-primary-subtle rounded-3 w-100"},c[4]||(c[4]=[h("i",{class:"bi bi-plus-circle-fill me-2"},null,-1),Be(" Create Backup ")]))]),h("div",Pee,[$(vo,{name:"list1"},{default:Pe(()=>[s.value&&i.value.length===0?(P(),F("div",Mee,c[5]||(c[5]=[h("div",{class:"spinner-border"},null,-1)]))):!s.value&&i.value.length===0?(P(),F("div",Iee,c[6]||(c[6]=[h("div",{class:"card-body text-center text-muted"},[h("i",{class:"bi bi-x-circle-fill me-2"}),Be(" No backup yet, click the button above to create backup. ")],-1)]))):se("",!0),(P(!0),F(Ie,null,Ge(i.value,(u,d)=>(P(),Ce(wee,{onRefresh:c[2]||(c[2]=f=>o()),onRefreshPeersList:c[3]||(c[3]=f=>r("refreshPeersList")),b:u,delay:d*.05,key:u.filename},null,8,["b","delay"]))),128))]),_:1})])])])])],512))}},Ree=ze(Dee,[["__scopeId","data-v-b454707b"]]),$ee={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},Lee={class:"container d-flex h-100 w-100"},Oee={class:"m-auto modal-dialog-centered dashboardModal",style:{width:"700px"}},Nee={class:"card rounded-3 shadow flex-grow-1 bg-danger-subtle border-danger-subtle",id:"deleteConfigurationContainer"},Fee={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},Bee={class:"card-body px-4"},Vee={key:0},Wee={key:1},zee={key:2,class:"d-flex align-items-center gap-2"},Yee=["placeholder"],Hee=["disabled"],jee={__name:"deleteConfiguration",emits:["backup"],setup(t,{emit:e}){const i=Wu().params.id,s=me(""),r=IC(),o=Xe(),a=me(!1),l=()=>{clearInterval(o.Peers.RefreshInterval),a.value=!0,dt("/api/deleteWireguardConfiguration",{Name:i},g=>{g.status?(r.push("/"),o.newMessage("Server","Configuration deleted","success")):a.value=!1})},c=me(!0),u=me([]),d=()=>{c.value=!0,Pt("/api/getWireguardConfigurationBackup",{configurationName:i},g=>{u.value=g.data,c.value=!1})};Vt(()=>{d()});const f=e;return(g,p)=>(P(),F("div",$ee,[h("div",Lee,[h("div",Oee,[h("div",Nee,[h("div",Fee,[p[5]||(p[5]=h("h5",{class:"mb-0"}," Are you sure to delete this configuration? ",-1)),h("button",{type:"button",class:"btn-close ms-auto",onClick:p[0]||(p[0]=m=>g.$emit("close"))})]),h("div",Bee,[p[12]||(p[12]=h("p",{class:"text-muted"},[Be(" Once you deleted, all connected peers will get disconnected; Both configuration file ("),h("code",null,".conf"),Be(") and database table related to this configuration will get deleted. ")],-1)),h("div",{class:Ee(["alert",[c.value?"alert-secondary":u.value.length>0?"alert-success":"alert-danger"]])},[c.value?(P(),F("div",Vee,[p[6]||(p[6]=h("i",{class:"bi bi-search me-2"},null,-1)),$(Le,{t:"Checking backups..."})])):u.value.length>0?(P(),F("div",Wee,[p[7]||(p[7]=h("i",{class:"bi bi-check-circle-fill me-2"},null,-1)),$(Le,{t:"This configuration have "+u.value.length+" backups"},null,8,["t"])])):(P(),F("div",zee,[p[10]||(p[10]=h("i",{class:"bi bi-x-circle-fill me-2"},null,-1)),$(Le,{t:"This configuration have no backup."}),h("a",{role:"button",onClick:p[1]||(p[1]=m=>f("backup")),class:"ms-auto btn btn-sm btn-primary rounded-3"},p[8]||(p[8]=[h("i",{class:"bi bi-clock-history me-2"},null,-1),Be(" Backup ")])),h("a",{role:"button",onClick:p[2]||(p[2]=m=>d()),class:"btn btn-sm btn-primary rounded-3"},p[9]||(p[9]=[h("i",{class:"bi bi-arrow-clockwise"},null,-1)]))]))],2),p[13]||(p[13]=h("hr",null,null,-1)),p[14]||(p[14]=h("p",null,"If you're sure, please type in the configuration name below and click Delete.",-1)),Re(h("input",{class:"form-control rounded-3 mb-3",placeholder:Z(i),"onUpdate:modelValue":p[3]||(p[3]=m=>s.value=m),type:"text"},null,8,Yee),[[We,s.value]]),h("button",{class:"btn btn-danger w-100",onClick:p[4]||(p[4]=m=>l()),disabled:s.value!==Z(i)||a.value},p[11]||(p[11]=[h("i",{class:"bi bi-trash-fill me-2 rounded-3"},null,-1),Be(" Delete ")]),8,Hee)])])])])]))}};Df.register(kK,Rf,zK,OK,rk,rj,ok,ak,lj,aj,cj,uj,DU,$U,NU,ZU,_m,tG,KK,hU,vU,bU,AU);const Kee={name:"peerList",components:{DeleteConfiguration:jee,ConfigurationBackupRestore:Ree,SelectPeers:QQ,EditConfiguration:SQ,LocaleText:Le,PeerShareLinkModal:VJ,PeerJobsLogsModal:xJ,PeerJobsAllModal:OZ,PeerJobs:mZ,PeerCreate:nT,PeerQRCode:H9,PeerSettings:K7,PeerSearch:fz,Peer:Xz,Line:uG,Bar:cG},setup(){const t=Xe(),e=$n(),n=me(void 0);return{dashboardConfigurationStore:t,wireguardConfigurationStore:e,interval:n}},data(){return{configurationToggling:!1,loading:!1,error:null,configurationInfo:[],configurationPeers:[],historyDataSentDifference:[],historyDataReceivedDifference:[],historySentData:{labels:[],datasets:[{label:"Data Sent",data:[],fill:!1,borderColor:"#198754",tension:0}]},historyReceiveData:{labels:[],datasets:[{label:"Data Received",data:[],fill:!1,borderColor:"#0d6efd",tension:0}]},peerSetting:{modalOpen:!1,selectedPeer:void 0},peerScheduleJobs:{modalOpen:!1,selectedPeer:void 0},peerQRCode:{modalOpen:!1,peerConfigData:void 0},peerCreate:{modalOpen:!1},peerScheduleJobsAll:{modalOpen:!1},peerScheduleJobsLogs:{modalOpen:!1},peerShare:{modalOpen:!1,selectedPeer:void 0},editConfiguration:{modalOpen:!1},selectPeers:{modalOpen:!1},backupRestore:{modalOpen:!1},deleteConfiguration:{modalOpen:!1}}},mounted(){},watch:{$route:{immediate:!0,handler(){clearInterval(this.dashboardConfigurationStore.Peers.RefreshInterval),this.loading=!0;let t=this.$route.params.id;this.configurationInfo=[],this.configurationPeers=[],t&&(this.getPeers(t),this.setPeerInterval())}},"dashboardConfigurationStore.Configuration.Server.dashboard_refresh_interval"(){clearInterval(this.dashboardConfigurationStore.Peers.RefreshInterval),this.setPeerInterval()}},beforeRouteLeave(){clearInterval(this.dashboardConfigurationStore.Peers.RefreshInterval)},methods:{toggle(){this.configurationToggling=!0,Pt("/api/toggleWireguardConfiguration/",{configurationName:this.configurationInfo.Name},t=>{t.status?this.dashboardConfigurationStore.newMessage("Server",`${this.configurationInfo.Name} ${t.data?"is on":"is off"}`,"success"):this.dashboardConfigurationStore.newMessage("Server",t.message,"danger"),this.configurationInfo.Status=t.data,this.configurationToggling=!1})},getPeers(t=this.$route.params.id){Pt("/api/getWireguardConfigurationInfo",{configurationName:t},e=>{if(this.configurationInfo=e.data.configurationInfo,this.configurationPeers=e.data.configurationPeers,this.configurationPeers.forEach(n=>{n.restricted=!1}),e.data.configurationRestrictedPeers.forEach(n=>{n.restricted=!0,this.configurationPeers.push(n)}),this.loading=!1,this.configurationPeers.length>0){const n=this.configurationPeers.map(s=>s.total_sent+s.cumu_sent).reduce((s,r)=>s+r).toFixed(4),i=this.configurationPeers.map(s=>s.total_receive+s.cumu_receive).reduce((s,r)=>s+r).toFixed(4);this.historyDataSentDifference[this.historyDataSentDifference.length-1]!==n&&(this.historyDataSentDifference.length>0&&(this.historySentData={labels:[...this.historySentData.labels,Fn().format("HH:mm:ss A")],datasets:[{label:"Data Sent",data:[...this.historySentData.datasets[0].data,((n-this.historyDataSentDifference[this.historyDataSentDifference.length-1])*1e3).toFixed(4)],fill:!1,borderColor:"#198754",tension:0}]}),this.historyDataSentDifference.push(n)),this.historyDataReceivedDifference[this.historyDataReceivedDifference.length-1]!==i&&(this.historyDataReceivedDifference.length>0&&(this.historyReceiveData={labels:[...this.historyReceiveData.labels,Fn().format("HH:mm:ss A")],datasets:[{label:"Data Received",data:[...this.historyReceiveData.datasets[0].data,((i-this.historyDataReceivedDifference[this.historyDataReceivedDifference.length-1])*1e3).toFixed(4)],fill:!1,borderColor:"#0d6efd",tension:0}]}),this.historyDataReceivedDifference.push(i))}})},setPeerInterval(){this.dashboardConfigurationStore.Peers.RefreshInterval=setInterval(()=>{this.getPeers()},parseInt(this.dashboardConfigurationStore.Configuration.Server.dashboard_refresh_interval))}},computed:{configurationSummary(){return{connectedPeers:this.configurationPeers.filter(e=>e.status==="running").length,totalUsage:this.configurationPeers.length>0?this.configurationPeers.filter(e=>!e.restricted).map(e=>e.total_data+e.cumu_data).reduce((e,n)=>e+n,0).toFixed(4):0,totalReceive:this.configurationPeers.length>0?this.configurationPeers.filter(e=>!e.restricted).map(e=>e.total_receive+e.cumu_receive).reduce((e,n)=>e+n,0).toFixed(4):0,totalSent:this.configurationPeers.length>0?this.configurationPeers.filter(e=>!e.restricted).map(e=>e.total_sent+e.cumu_sent).reduce((e,n)=>e+n,0).toFixed(4):0}},receiveData(){return this.historyReceiveData},sentData(){return this.historySentData},individualDataUsage(){return{labels:this.configurationPeers.map(t=>t.name?t.name:`Untitled Peer - ${t.id}`),datasets:[{label:"Total Data Usage",data:this.configurationPeers.map(t=>t.cumu_data+t.total_data),backgroundColor:this.configurationPeers.map(t=>"#0dcaf0"),tooltip:{callbacks:{label:t=>`${t.formattedValue} GB`}}}]}},individualDataUsageChartOption(){return{responsive:!0,plugins:{legend:{display:!1}},scales:{x:{ticks:{display:!1},grid:{display:!1}},y:{ticks:{callback:(t,e)=>`${t} GB`},grid:{display:!1}}}}},chartOptions(){return{responsive:!0,plugins:{legend:{display:!1},tooltip:{callbacks:{label:t=>`${t.formattedValue} MB/s`}}},scales:{x:{ticks:{display:!1},grid:{display:!1}},y:{ticks:{callback:(t,e)=>`${t} MB/s`},grid:{display:!1}}}}},searchPeers(){new Xl(this.configurationPeers,{keys:["name","id","allowed_ip"]});const t=this.wireguardConfigurationStore.searchString?this.configurationPeers.filter(e=>e.name.includes(this.wireguardConfigurationStore.searchString)||e.id.includes(this.wireguardConfigurationStore.searchString)||e.allowed_ip.includes(this.wireguardConfigurationStore.searchString)):this.configurationPeers;return this.dashboardConfigurationStore.Configuration.Server.dashboard_sort==="restricted"?t.slice().sort((e,n)=>e[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]n[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]?-1:0):t.slice().sort((e,n)=>e[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]n[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]?1:0)}}},Uee={key:0,class:"container-md"},Gee={class:"d-flex align-items-center"},Xee={CLASS:"text-muted"},qee={class:"d-flex align-items-center gap-3"},Zee={class:"mb-0 display-4"},Jee={class:"card rounded-3 bg-transparent shadow-sm ms-auto"},Qee={class:"card-body py-2 d-flex align-items-center"},ete={class:"mb-0 text-muted"},tte={class:"form-check form-switch ms-auto"},nte=["for"],ite={key:4,class:"spinner-border spinner-border-sm ms-2","aria-hidden":"true"},ste=["disabled","id"],rte={class:"row mt-3 gy-2 gx-2 mb-2"},ote={class:"col-12 col-lg-3"},ate={class:"card rounded-3 bg-transparent shadow-sm"},lte={class:"card-body py-2"},cte={class:"mb-0 text-muted"},ute={class:"col-12 col-lg-3"},dte={class:"card rounded-3 bg-transparent shadow-sm"},hte={class:"card-body py-2"},fte={class:"mb-0 text-muted"},gte={style:{"word-break":"break-all"},class:"col-12 col-lg-6"},pte={class:"card rounded-3 bg-transparent shadow-sm"},mte={class:"card-body py-2"},_te={class:"mb-0 text-muted"},vte={class:"row gx-2 gy-2 mb-2"},yte={class:"col-12 col-lg-3"},bte={class:"card rounded-3 bg-transparent shadow-sm"},wte={class:"card-body d-flex"},xte={class:"mb-0 text-muted"},Ete={class:"h4"},Cte={class:"col-12 col-lg-3"},Ste={class:"card rounded-3 bg-transparent shadow-sm"},kte={class:"card-body d-flex"},Tte={class:"mb-0 text-muted"},Ate={class:"h4"},Pte={class:"col-12 col-lg-3"},Mte={class:"card rounded-3 bg-transparent shadow-sm"},Ite={class:"card-body d-flex"},Dte={class:"mb-0 text-muted"},Rte={class:"h4 text-primary"},$te={class:"col-12 col-lg-3"},Lte={class:"card rounded-3 bg-transparent shadow-sm"},Ote={class:"card-body d-flex"},Nte={class:"mb-0 text-muted"},Fte={class:"h4 text-success"},Bte={class:"row gx-2 gy-2 mb-3"},Vte={class:"col-12 col-lg-6"},Wte={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},zte={class:"card-header bg-transparent border-0"},Yte={class:"text-muted"},Hte={class:"card-body pt-1"},jte={class:"col-sm col-lg-3"},Kte={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},Ute={class:"card-header bg-transparent border-0"},Gte={class:"text-muted"},Xte={class:"card-body pt-1"},qte={class:"col-sm col-lg-3"},Zte={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},Jte={class:"card-header bg-transparent border-0"},Qte={class:"text-muted"},ene={class:"card-body pt-1"},tne={class:"mb-3"};function nne(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("Bar"),l=Se("Line"),c=Se("PeerSearch"),u=Se("Peer"),d=Se("PeerSettings"),f=Se("PeerQRCode"),g=Se("PeerJobs"),p=Se("PeerJobsAllModal"),m=Se("PeerJobsLogsModal"),v=Se("PeerShareLinkModal"),y=Se("EditConfiguration"),x=Se("SelectPeers"),E=Se("DeleteConfiguration"),w=Se("ConfigurationBackupRestore");return this.loading?se("",!0):(P(),F("div",Uee,[h("div",Gee,[h("div",null,[h("small",Xee,[$(o,{t:"CONFIGURATION"})]),h("div",qee,[h("h1",Zee,[h("samp",null,pe(this.configurationInfo.Name),1)])])]),h("div",Jee,[h("div",Qee,[h("div",null,[h("p",ete,[h("small",null,[$(o,{t:"Status"})])]),h("div",tte,[h("label",{class:"form-check-label",style:{cursor:"pointer"},for:"switch"+this.configurationInfo.id},[!this.configurationInfo.Status&&this.configurationToggling?(P(),Ce(o,{key:0,t:"Turning Off..."})):this.configurationInfo.Status&&this.configurationToggling?(P(),Ce(o,{key:1,t:"Turning On..."})):this.configurationInfo.Status&&!this.configurationToggling?(P(),Ce(o,{key:2,t:"On"})):!this.configurationInfo.Status&&!this.configurationToggling?(P(),Ce(o,{key:3,t:"Off"})):se("",!0),this.configurationToggling?(P(),F("span",ite)):se("",!0)],8,nte),Re(h("input",{class:"form-check-input",style:{cursor:"pointer"},disabled:this.configurationToggling,type:"checkbox",role:"switch",id:"switch"+this.configurationInfo.id,onChange:e[0]||(e[0]=b=>this.toggle()),"onUpdate:modelValue":e[1]||(e[1]=b=>this.configurationInfo.Status=b)},null,40,ste),[[Gn,this.configurationInfo.Status]])])]),h("div",{class:Ee(["dot ms-5",{active:this.configurationInfo.Status}])},null,2)])])]),e[31]||(e[31]=h("hr",null,null,-1)),h("div",rte,[h("div",ote,[h("div",ate,[h("div",lte,[h("p",cte,[h("small",null,[$(o,{t:"Address"})])]),Be(" "+pe(this.configurationInfo.Address),1)])])]),h("div",ute,[h("div",dte,[h("div",hte,[h("p",fte,[h("small",null,[$(o,{t:"Listen Port"})])]),Be(" "+pe(this.configurationInfo.ListenPort),1)])])]),h("div",gte,[h("div",pte,[h("div",mte,[h("p",_te,[h("small",null,[$(o,{t:"Public Key"})])]),h("samp",null,pe(this.configurationInfo.PublicKey),1)])])])]),h("div",vte,[h("div",yte,[h("div",bte,[h("div",wte,[h("div",null,[h("p",xte,[h("small",null,[$(o,{t:"Connected Peers"})])]),h("strong",Ete,pe(r.configurationSummary.connectedPeers)+" / "+pe(s.configurationPeers.length),1)]),e[27]||(e[27]=h("i",{class:"bi bi-ethernet ms-auto h2 text-muted"},null,-1))])])]),h("div",Cte,[h("div",Ste,[h("div",kte,[h("div",null,[h("p",Tte,[h("small",null,[$(o,{t:"Total Usage"})])]),h("strong",Ate,pe(r.configurationSummary.totalUsage)+" GB",1)]),e[28]||(e[28]=h("i",{class:"bi bi-arrow-down-up ms-auto h2 text-muted"},null,-1))])])]),h("div",Pte,[h("div",Mte,[h("div",Ite,[h("div",null,[h("p",Dte,[h("small",null,[$(o,{t:"Total Received"})])]),h("strong",Rte,pe(r.configurationSummary.totalReceive)+" GB",1)]),e[29]||(e[29]=h("i",{class:"bi bi-arrow-down ms-auto h2 text-muted"},null,-1))])])]),h("div",$te,[h("div",Lte,[h("div",Ote,[h("div",null,[h("p",Nte,[h("small",null,[$(o,{t:"Total Sent"})])]),h("strong",Fte,pe(r.configurationSummary.totalSent)+" GB",1)]),e[30]||(e[30]=h("i",{class:"bi bi-arrow-up ms-auto h2 text-muted"},null,-1))])])])]),h("div",Bte,[h("div",Vte,[h("div",Wte,[h("div",zte,[h("small",Yte,[$(o,{t:"Peers Data Usage"})])]),h("div",Hte,[$(a,{data:r.individualDataUsage,options:r.individualDataUsageChartOption,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["data","options"])])])]),h("div",jte,[h("div",Kte,[h("div",Ute,[h("small",Gte,[$(o,{t:"Real Time Received Data Usage"})])]),h("div",Xte,[$(l,{options:r.chartOptions,data:r.receiveData,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])]),h("div",qte,[h("div",Zte,[h("div",Jte,[h("small",Qte,[$(o,{t:"Real Time Sent Data Usage"})])]),h("div",ene,[$(l,{options:r.chartOptions,data:r.sentData,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])])]),h("div",tne,[$(c,{onJobsAll:e[2]||(e[2]=b=>this.peerScheduleJobsAll.modalOpen=!0),onJobLogs:e[3]||(e[3]=b=>this.peerScheduleJobsLogs.modalOpen=!0),onEditConfiguration:e[4]||(e[4]=b=>this.editConfiguration.modalOpen=!0),onSelectPeers:e[5]||(e[5]=b=>this.selectPeers.modalOpen=!0),onBackupRestore:e[6]||(e[6]=b=>this.backupRestore.modalOpen=!0),onDeleteConfiguration:e[7]||(e[7]=b=>this.deleteConfiguration.modalOpen=!0),configuration:this.configurationInfo},null,8,["configuration"]),$(vo,{name:"list",tag:"div",class:"row gx-2 gy-2 z-0"},{default:Pe(()=>[(P(!0),F(Ie,null,Ge(this.searchPeers,b=>(P(),F("div",{class:"col-12 col-lg-6 col-xl-4",key:b.id},[$(u,{Peer:b,onShare:C=>{this.peerShare.selectedPeer=b.id,this.peerShare.modalOpen=!0},onRefresh:e[8]||(e[8]=C=>this.getPeers()),onJobs:C=>{s.peerScheduleJobs.modalOpen=!0,s.peerScheduleJobs.selectedPeer=this.configurationPeers.find(k=>k.id===b.id)},onSetting:C=>{s.peerSetting.modalOpen=!0,s.peerSetting.selectedPeer=this.configurationPeers.find(k=>k.id===b.id)},onQrcode:e[9]||(e[9]=C=>{this.peerQRCode.peerConfigData=C,this.peerQRCode.modalOpen=!0})},null,8,["Peer","onShare","onJobs","onSetting"])]))),128))]),_:1})]),$(vt,{name:"zoom"},{default:Pe(()=>[this.peerSetting.modalOpen?(P(),Ce(d,{key:"settings",selectedPeer:this.peerSetting.selectedPeer,onRefresh:e[10]||(e[10]=b=>this.getPeers()),onClose:e[11]||(e[11]=b=>this.peerSetting.modalOpen=!1)},null,8,["selectedPeer"])):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[s.peerQRCode.modalOpen?(P(),Ce(f,{peerConfigData:this.peerQRCode.peerConfigData,key:"qrcode",onClose:e[12]||(e[12]=b=>this.peerQRCode.modalOpen=!1)},null,8,["peerConfigData"])):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[this.peerScheduleJobs.modalOpen?(P(),Ce(g,{key:0,onRefresh:e[13]||(e[13]=b=>this.getPeers()),selectedPeer:this.peerScheduleJobs.selectedPeer,onClose:e[14]||(e[14]=b=>this.peerScheduleJobs.modalOpen=!1)},null,8,["selectedPeer"])):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[this.peerScheduleJobsAll.modalOpen?(P(),Ce(p,{key:0,onRefresh:e[15]||(e[15]=b=>this.getPeers()),onClose:e[16]||(e[16]=b=>this.peerScheduleJobsAll.modalOpen=!1),configurationPeers:this.configurationPeers},null,8,["configurationPeers"])):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[this.peerScheduleJobsLogs.modalOpen?(P(),Ce(m,{key:0,onClose:e[17]||(e[17]=b=>this.peerScheduleJobsLogs.modalOpen=!1),configurationInfo:this.configurationInfo},null,8,["configurationInfo"])):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[this.peerShare.modalOpen?(P(),Ce(v,{key:0,onClose:e[18]||(e[18]=b=>{this.peerShare.modalOpen=!1,this.peerShare.selectedPeer=void 0}),peer:this.configurationPeers.find(b=>b.id===this.peerShare.selectedPeer)},null,8,["peer"])):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[this.editConfiguration.modalOpen?(P(),Ce(y,{key:0,onClose:e[19]||(e[19]=b=>this.editConfiguration.modalOpen=!1),onDataChanged:e[20]||(e[20]=b=>this.configurationInfo=b),configurationInfo:this.configurationInfo},null,8,["configurationInfo"])):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[this.selectPeers.modalOpen?(P(),Ce(x,{key:0,onRefresh:e[21]||(e[21]=b=>this.getPeers()),configurationPeers:this.configurationPeers,onClose:e[22]||(e[22]=b=>this.selectPeers.modalOpen=!1)},null,8,["configurationPeers"])):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[s.deleteConfiguration.modalOpen?(P(),Ce(E,{key:0,onBackup:e[23]||(e[23]=b=>s.backupRestore.modalOpen=!0),onClose:e[24]||(e[24]=b=>s.deleteConfiguration.modalOpen=!1)})):se("",!0)]),_:1}),$(vt,{name:"zoom"},{default:Pe(()=>[s.backupRestore.modalOpen?(P(),Ce(w,{key:0,onClose:e[25]||(e[25]=b=>s.backupRestore.modalOpen=!1),onRefreshPeersList:e[26]||(e[26]=b=>this.getPeers())})):se("",!0)]),_:1})]))}const ine=ze(Kee,[["render",nne],["__scopeId","data-v-7a0360ac"]]);class Er{constructor(e){this.propagationStopped,this.defaultPrevented,this.type=e,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}}const Fl={PROPERTYCHANGE:"propertychange"};class Bf{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}}function sne(t,e,n){let i,s;n=n||hr;let r=0,o=t.length,a=!1;for(;r>1),s=+n(t[i],e),s<0?r=i+1:(o=i,a=!s);return a?r:~r}function hr(t,e){return t>e?1:t0?s-1:s}return i-1}if(n>0){for(let s=1;s0||o===0)})}function yu(){return!0}function Wf(){return!1}function Bl(){}function rT(t){let e,n,i;return function(){const s=Array.prototype.slice.call(arguments);return(!n||this!==i||!So(s,n))&&(i=this,n=s,e=t.apply(this,arguments)),e}}function ane(t){function e(){let n;try{n=t()}catch(i){return Promise.reject(i)}return n instanceof Promise?n:Promise.resolve(n)}return e()}function qu(t){for(const e in t)delete t[e]}function Vl(t){let e;for(e in t)return!1;return!e}class zf extends Bf{constructor(e){super(),this.eventTarget_=e,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(e,n){if(!e||!n)return;const i=this.listeners_||(this.listeners_={}),s=i[e]||(i[e]=[]);s.includes(n)||s.push(n)}dispatchEvent(e){const n=typeof e=="string",i=n?e:e.type,s=this.listeners_&&this.listeners_[i];if(!s)return;const r=n?new Er(e):e;r.target||(r.target=this.eventTarget_||this);const o=this.dispatching_||(this.dispatching_={}),a=this.pendingRemovals_||(this.pendingRemovals_={});i in o||(o[i]=0,a[i]=0),++o[i];let l;for(let c=0,u=s.length;c0:!1}removeEventListener(e,n){if(!this.listeners_)return;const i=this.listeners_[e];if(!i)return;const s=i.indexOf(n);s!==-1&&(this.pendingRemovals_&&e in this.pendingRemovals_?(i[s]=Bl,++this.pendingRemovals_[e]):(i.splice(s,1),i.length===0&&delete this.listeners_[e]))}}const tt={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"};function ft(t,e,n,i,s){if(s){const o=n;n=function(){t.removeEventListener(e,n),o.apply(i??this,arguments)}}else i&&i!==t&&(n=n.bind(i));const r={target:t,type:e,listener:n};return t.addEventListener(e,n),r}function Bh(t,e,n,i){return ft(t,e,n,i,!0)}function Lt(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),qu(t))}class Zu extends zf{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(tt.CHANGE)}getRevision(){return this.revision_}onInternal(e,n){if(Array.isArray(e)){const i=e.length,s=new Array(i);for(let r=0;r0;)this.pop()}extend(e){for(let n=0,i=e.length;nthis.getLength())throw new Error("Index out of bounds: "+e);this.unique_&&this.assertUnique_(n),this.array_.splice(e,0,n),this.updateLength_(),this.dispatchEvent(new Hd(gi.ADD,n,e))}pop(){return this.removeAt(this.getLength()-1)}push(e){this.unique_&&this.assertUnique_(e);const n=this.getLength();return this.insertAt(n,e),this.getLength()}remove(e){const n=this.array_;for(let i=0,s=n.length;i=this.getLength())return;const n=this.array_[e];return this.array_.splice(e,1),this.updateLength_(),this.dispatchEvent(new Hd(gi.REMOVE,n,e)),n}setAt(e,n){const i=this.getLength();if(e>=i){this.insertAt(e,n);return}if(e<0)throw new Error("Index out of bounds: "+e);this.unique_&&this.assertUnique_(n,e);const s=this.array_[e];this.array_[e]=n,this.dispatchEvent(new Hd(gi.REMOVE,s,e)),this.dispatchEvent(new Hd(gi.ADD,n,e))}updateLength_(){this.set(rw.LENGTH,this.array_.length)}assertUnique_(e,n){for(let i=0,s=this.array_.length;i1?(n=s,i=r):l>0&&(n+=o*l,i+=a*l)}return dl(t,e,n,i)}function dl(t,e,n,i){const s=n-t,r=i-e;return s*s+r*r}function dne(t){const e=t.length;for(let i=0;ir&&(r=l,s=a)}if(r===0)return null;const o=t[s];t[s]=t[i],t[i]=o;for(let a=i+1;a=0;i--){n[i]=t[i][e]/t[i][i];for(let s=i-1;s>=0;s--)t[s][e]-=t[s][i]*n[i]}return n}function fh(t){return t*Math.PI/180}function hl(t,e){const n=t%e;return n*e<0?n+e:n}function Ai(t,e,n){return t+n*(e-t)}function mv(t,e){const n=Math.pow(10,e);return Math.round(t*n)/n}function jd(t,e){return Math.floor(mv(t,e))}function Kd(t,e){return Math.ceil(mv(t,e))}class oT extends Ws{constructor(e){super(),this.on,this.once,this.un,this.background_=e.background;const n=Object.assign({},e);typeof e.properties=="object"&&(delete n.properties,Object.assign(n,e.properties)),n[Ct.OPACITY]=e.opacity!==void 0?e.opacity:1,mt(typeof n[Ct.OPACITY]=="number","Layer opacity must be a number"),n[Ct.VISIBLE]=e.visible!==void 0?e.visible:!0,n[Ct.Z_INDEX]=e.zIndex,n[Ct.MAX_RESOLUTION]=e.maxResolution!==void 0?e.maxResolution:1/0,n[Ct.MIN_RESOLUTION]=e.minResolution!==void 0?e.minResolution:0,n[Ct.MIN_ZOOM]=e.minZoom!==void 0?e.minZoom:-1/0,n[Ct.MAX_ZOOM]=e.maxZoom!==void 0?e.maxZoom:1/0,this.className_=n.className!==void 0?n.className:"ol-layer",delete n.className,this.setProperties(n),this.state_=null}getBackground(){return this.background_}getClassName(){return this.className_}getLayerState(e){const n=this.state_||{layer:this,managed:e===void 0?!0:e},i=this.getZIndex();return n.opacity=rn(Math.round(this.getOpacity()*100)/100,0,1),n.visible=this.getVisible(),n.extent=this.getExtent(),n.zIndex=i===void 0&&!n.managed?1/0:i,n.maxResolution=this.getMaxResolution(),n.minResolution=Math.max(this.getMinResolution(),0),n.minZoom=this.getMinZoom(),n.maxZoom=this.getMaxZoom(),this.state_=n,n}getLayersArray(e){return pt()}getLayerStatesArray(e){return pt()}getExtent(){return this.get(Ct.EXTENT)}getMaxResolution(){return this.get(Ct.MAX_RESOLUTION)}getMinResolution(){return this.get(Ct.MIN_RESOLUTION)}getMinZoom(){return this.get(Ct.MIN_ZOOM)}getMaxZoom(){return this.get(Ct.MAX_ZOOM)}getOpacity(){return this.get(Ct.OPACITY)}getSourceState(){return pt()}getVisible(){return this.get(Ct.VISIBLE)}getZIndex(){return this.get(Ct.Z_INDEX)}setBackground(e){this.background_=e,this.changed()}setExtent(e){this.set(Ct.EXTENT,e)}setMaxResolution(e){this.set(Ct.MAX_RESOLUTION,e)}setMinResolution(e){this.set(Ct.MIN_RESOLUTION,e)}setMaxZoom(e){this.set(Ct.MAX_ZOOM,e)}setMinZoom(e){this.set(Ct.MIN_ZOOM,e)}setOpacity(e){mt(typeof e=="number","Layer opacity must be a number"),this.set(Ct.OPACITY,e)}setVisible(e){this.set(Ct.VISIBLE,e)}setZIndex(e){this.set(Ct.Z_INDEX,e)}disposeInternal(){this.state_&&(this.state_.layer=null,this.state_=null),super.disposeInternal()}}const zi={PRERENDER:"prerender",POSTRENDER:"postrender",PRECOMPOSE:"precompose",POSTCOMPOSE:"postcompose",RENDERCOMPLETE:"rendercomplete"},Hn={ANIMATING:0,INTERACTING:1},es={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"},hne=42,_v=256,vv={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};class aT{constructor(e){this.code_=e.code,this.units_=e.units,this.extent_=e.extent!==void 0?e.extent:null,this.worldExtent_=e.worldExtent!==void 0?e.worldExtent:null,this.axisOrientation_=e.axisOrientation!==void 0?e.axisOrientation:"enu",this.global_=e.global!==void 0?e.global:!1,this.canWrapX_=!!(this.global_&&this.extent_),this.getPointResolutionFunc_=e.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=e.metersPerUnit}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||vv[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(e){this.global_=e,this.canWrapX_=!!(e&&this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(e){this.defaultTileGrid_=e}setExtent(e){this.extent_=e,this.canWrapX_=!!(this.global_&&e)}setWorldExtent(e){this.worldExtent_=e}setGetPointResolution(e){this.getPointResolutionFunc_=e}getPointResolutionFunc(){return this.getPointResolutionFunc_}}const Ju=6378137,nl=Math.PI*Ju,fne=[-nl,-nl,nl,nl],gne=[-180,-85,180,85],Ud=Ju*Math.log(Math.tan(Math.PI/2));class Ba extends aT{constructor(e){super({code:e,units:"m",extent:fne,global:!0,worldExtent:gne,getPointResolution:function(n,i){return n/Math.cosh(i[1]/Ju)}})}}const ow=[new Ba("EPSG:3857"),new Ba("EPSG:102100"),new Ba("EPSG:102113"),new Ba("EPSG:900913"),new Ba("http://www.opengis.net/def/crs/EPSG/0/3857"),new Ba("http://www.opengis.net/gml/srs/epsg.xml#3857")];function pne(t,e,n,i){const s=t.length;n=n>1?n:2,i=i??n,e===void 0&&(n>2?e=t.slice():e=new Array(s));for(let r=0;rUd?o=Ud:o<-Ud&&(o=-Ud),e[r+1]=o}return e}function mne(t,e,n,i){const s=t.length;n=n>1?n:2,i=i??n,e===void 0&&(n>2?e=t.slice():e=new Array(s));for(let r=0;rs&&(l=l|An.RIGHT),ar&&(l=l|An.ABOVE),l===An.UNKNOWN&&(l=An.INTERSECTING),l}function Gi(){return[1/0,1/0,-1/0,-1/0]}function uo(t,e,n,i,s){return s?(s[0]=t,s[1]=e,s[2]=n,s[3]=i,s):[t,e,n,i]}function Yf(t){return uo(1/0,1/0,-1/0,-1/0,t)}function uT(t,e){const n=t[0],i=t[1];return uo(n,i,n,i,e)}function wv(t,e,n,i,s){const r=Yf(s);return dT(r,t,e,n,i)}function bu(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function xne(t,e){return e[0]t[2]&&(t[2]=e[2]),e[1]t[3]&&(t[3]=e[3]),t}function Zc(t,e){e[0]t[2]&&(t[2]=e[0]),e[1]t[3]&&(t[3]=e[1])}function dT(t,e,n,i,s){for(;ne[0]?i[0]=t[0]:i[0]=e[0],t[1]>e[1]?i[1]=t[1]:i[1]=e[1],t[2]=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function Uf(t){return t[2]=o&&m<=l),!i&&r&An.RIGHT&&!(s&An.RIGHT)&&(v=g-(f-l)*p,i=v>=a&&v<=c),!i&&r&An.BELOW&&!(s&An.BELOW)&&(m=f-(g-a)/p,i=m>=o&&m<=l),!i&&r&An.LEFT&&!(s&An.LEFT)&&(v=g-(f-o)*p,i=v>=a&&v<=c)}return i}function fT(t,e){const n=e.getExtent(),i=pa(t);if(e.canWrapX()&&(i[0]=n[2])){const s=bt(n),o=Math.floor((i[0]-n[0])/s)*s;t[0]-=o,t[2]-=o}return t}function xv(t,e,n){if(e.canWrapX()){const i=e.getExtent();if(!isFinite(t[0])||!isFinite(t[2]))return[[i[0],t[1],i[2],t[3]]];fT(t,e);const s=bt(i);if(bt(t)>s&&!n)return[[i[0],t[1],i[2],t[3]]];if(t[0]i[2])return[[t[0],t[1],i[2],t[3]],[i[0],t[1],t[2]-s,t[3]]]}return[t]}function Ane(t,e){return t[0]+=+e[0],t[1]+=+e[1],t}function Wh(t,e){let n=!0;for(let i=t.length-1;i>=0;--i)if(t[i]!=e[i]){n=!1;break}return n}function Ev(t,e){const n=Math.cos(e),i=Math.sin(e),s=t[0]*n-t[1]*i,r=t[1]*n+t[0]*i;return t[0]=s,t[1]=r,t}function Pne(t,e){return t[0]*=e,t[1]*=e,t}function gT(t,e){if(e.canWrapX()){const n=bt(e.getExtent()),i=Mne(t,e,n);i&&(t[0]-=i*n)}return t}function Mne(t,e,n){const i=e.getExtent();let s=0;return e.canWrapX()&&(t[0]i[2])&&(n=n||bt(i),s=Math.floor((t[0]-i[0])/n)),s}const Ine=63710088e-1;function uw(t,e,n){n=n||Ine;const i=fh(t[1]),s=fh(e[1]),r=(s-i)/2,o=fh(e[0]-t[0])/2,a=Math.sin(r)*Math.sin(r)+Math.sin(o)*Math.sin(o)*Math.cos(i)*Math.cos(s);return 2*n*Math.atan2(Math.sqrt(a),Math.sqrt(1-a))}function pT(...t){console.warn(...t)}let Im=!0;function mT(t){Im=!1}function Cv(t,e){if(e!==void 0){for(let n=0,i=t.length;n=-180&&t[0]<=180&&t[1]>=-90&&t[1]<=90&&(Im=!1,pT("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),t}function yT(t,e){return t}function Zr(t,e){return t}function Lne(){hw(ow),hw(lw),$ne(lw,ow,pne,mne)}Lne();function fw(t,e,n){return function(i,s,r,o,a){if(!i)return;if(!s&&!e)return i;const l=e?0:r[0]*s,c=e?0:r[1]*s,u=a?a[0]:0,d=a?a[1]:0;let f=t[0]+l/2+u,g=t[2]-l/2+u,p=t[1]+c/2+d,m=t[3]-c/2+d;f>g&&(f=(g+f)/2,g=f),p>m&&(p=(m+p)/2,m=p);let v=rn(i[0],f,g),y=rn(i[1],p,m);if(o&&n&&s){const x=30*s;v+=-x*Math.log(1+Math.max(0,f-i[0])/x)+x*Math.log(1+Math.max(0,i[0]-g)/x),y+=-x*Math.log(1+Math.max(0,p-i[1])/x)+x*Math.log(1+Math.max(0,i[1]-m)/x)}return[v,y]}}function One(t){return t}function Tv(t,e,n,i){const s=bt(e)/n[0],r=Un(e)/n[1];return i?Math.min(t,Math.max(s,r)):Math.min(t,Math.min(s,r))}function Av(t,e,n){let i=Math.min(t,e);const s=50;return i*=Math.log(1+s*Math.max(0,t/e-1))/s+1,n&&(i=Math.max(i,n),i/=Math.log(1+s*Math.max(0,n/t-1))/s+1),rn(i,n/2,e*2)}function Nne(t,e,n,i){return e=e!==void 0?e:!0,function(s,r,o,a){if(s!==void 0){const l=t[0],c=t[t.length-1],u=n?Tv(l,n,o,i):l;if(a)return e?Av(s,u,c):rn(s,c,u);const d=Math.min(u,s),f=Math.floor(pv(t,d,r));return t[f]>u&&fMath.round(n*mw[i])/mw[i]).join(", ")+")"}function io(t,e,n,i,s,r,o){r=r||[],o=o||2;let a=0;for(let l=e;l{if(!i)return this.getSimplifiedGeometry(n);const s=this.clone();return s.applyTransform(i),s.getSimplifiedGeometry(n)})}simplifyTransformed(e,n){return this.simplifyTransformedInternal(this.getRevision(),e,n)}clone(){return pt()}closestPointXY(e,n,i,s){return pt()}containsXY(e,n){const i=this.getClosestPoint([e,n]);return i[0]===e&&i[1]===n}getClosestPoint(e,n){return n=n||[NaN,NaN],this.closestPointXY(e[0],e[1],n,1/0),n}intersectsCoordinate(e){return this.containsXY(e[0],e[1])}computeExtent(e){return pt()}getExtent(e){if(this.extentRevision_!=this.getRevision()){const n=this.computeExtent(this.extent_);(isNaN(n[0])||isNaN(n[1]))&&Yf(n),this.extentRevision_=this.getRevision()}return kne(this.extent_,e)}rotate(e,n){pt()}scale(e,n,i){pt()}simplify(e){return this.getSimplifiedGeometry(e*e)}getSimplifiedGeometry(e){return pt()}getType(){return pt()}applyTransform(e){pt()}intersectsExtent(e){return pt()}translate(e,n){pt()}transform(e,n){const i=Xi(e),s=i.getUnits()=="tile-pixels"?function(r,o,a){const l=i.getExtent(),c=i.getWorldExtent(),u=Un(c)/Un(l);return br(_w,c[0],c[3],u,-u,0,0,0),io(r,0,r.length,a,_w,o),zh(i,n)(r,o,a)}:zh(i,n);return this.applyTransform(s),this}}class Gf extends Gne{constructor(){super(),this.layout="XY",this.stride=2,this.flatCoordinates}computeExtent(e){return wv(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e)}getCoordinates(){return pt()}getFirstCoordinate(){return this.flatCoordinates.slice(0,this.stride)}getFlatCoordinates(){return this.flatCoordinates}getLastCoordinate(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)}getLayout(){return this.layout}getSimplifiedGeometry(e){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),e<0||this.simplifiedGeometryMaxMinSquaredTolerance!==0&&e<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;const n=this.getSimplifiedGeometryInternal(e);return n.getFlatCoordinates().length1)d=n;else if(f>0){for(let g=0;gs&&(s=c),r=a,o=l}return s}function Zne(t,e,n,i,s){for(let r=0,o=n.length;r0;){const d=c.pop(),f=c.pop();let g=0;const p=t[f],m=t[f+1],v=t[d],y=t[d+1];for(let x=f+i;xg&&(u=x,g=b)}g>s&&(l[(u-e)/i]=1,f+i0&&m>g)&&(p<0&&v0&&v>p)){c=d,u=f;continue}r[o++]=c,r[o++]=u,a=c,l=u,c=d,u=f}return r[o++]=c,r[o++]=u,o}function ET(t,e,n,i,s,r,o,a){for(let l=0,c=n.length;lr&&(c-a)*(r-l)-(s-a)*(u-l)>0&&o++:u<=r&&(c-a)*(r-l)-(s-a)*(u-l)<0&&o--,a=c,l=u}return o!==0}function ST(t,e,n,i,s,r){if(n.length===0||!Zo(t,e,n[0],i,s,r))return!1;for(let o=1,a=n.length;oy&&(c=(u+d)/2,ST(t,e,n,i,c,p)&&(v=c,y=x)),u=d}return isNaN(v)&&(v=s[r]),o?(o.push(v,p,y),o):[v,p,y]}function rie(t,e,n,i,s){let r=[];for(let o=0,a=n.length;o=s[0]&&r[2]<=s[2]||r[1]>=s[1]&&r[3]<=s[3]?!0:kT(t,e,n,i,function(o,a){return Tne(s,o,a)}):!1}function TT(t,e,n,i,s){return!!($v(t,e,n,i,s)||Zo(t,e,n,i,s[0],s[1])||Zo(t,e,n,i,s[0],s[3])||Zo(t,e,n,i,s[2],s[1])||Zo(t,e,n,i,s[2],s[3]))}function oie(t,e,n,i,s){if(!TT(t,e,n[0],i,s))return!1;if(n.length===1)return!0;for(let r=1,o=n.length;r0}function lie(t,e,n,i,s){s=s!==void 0?s:!1;for(let r=0,o=n.length;r1&&typeof arguments[n-1]=="function"&&(i=arguments[n-1],--n);let s=0;for(;s0}getInteracting(){return this.hints_[Hn.INTERACTING]>0}cancelAnimations(){this.setHint(Hn.ANIMATING,-this.hints_[Hn.ANIMATING]);let e;for(let n=0,i=this.animations_.length;n=0;--i){const s=this.animations_[i];let r=!0;for(let o=0,a=s.length;o0?c/l.duration:1;u>=1?(l.complete=!0,u=1):r=!1;const d=l.easing(u);if(l.sourceCenter){const f=l.sourceCenter[0],g=l.sourceCenter[1],p=l.targetCenter[0],m=l.targetCenter[1];this.nextCenter_=l.targetCenter;const v=f+d*(p-f),y=g+d*(m-g);this.targetCenter_=[v,y]}if(l.sourceResolution&&l.targetResolution){const f=d===1?l.targetResolution:l.sourceResolution+d*(l.targetResolution-l.sourceResolution);if(l.anchor){const g=this.getViewportSize_(this.getRotation()),p=this.constraints_.resolution(f,0,g,!0);this.targetCenter_=this.calculateCenterZoom(p,l.anchor)}this.nextResolution_=l.targetResolution,this.targetResolution_=f,this.applyTargetState_(!0)}if(l.sourceRotation!==void 0&&l.targetRotation!==void 0){const f=d===1?hl(l.targetRotation+Math.PI,2*Math.PI)-Math.PI:l.sourceRotation+d*(l.targetRotation-l.sourceRotation);if(l.anchor){const g=this.constraints_.rotation(f,!0);this.targetCenter_=this.calculateCenterRotate(g,l.anchor)}this.nextRotation_=l.targetRotation,this.targetRotation_=f}if(this.applyTargetState_(!0),n=!0,!l.complete)break}if(r){this.animations_[i]=null,this.setHint(Hn.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const o=s[0].callback;o&&Gd(o,!0)}}this.animations_=this.animations_.filter(Boolean),n&&this.updateAnimationKey_===void 0&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(e,n){let i;const s=this.getCenterInternal();return s!==void 0&&(i=[s[0]-n[0],s[1]-n[1]],Ev(i,e-this.getRotation()),Ane(i,n)),i}calculateCenterZoom(e,n){let i;const s=this.getCenterInternal(),r=this.getResolution();if(s!==void 0&&r!==void 0){const o=n[0]-e*(n[0]-s[0])/r,a=n[1]-e*(n[1]-s[1])/r;i=[o,a]}return i}getViewportSize_(e){const n=this.viewportSize_;if(e){const i=n[0],s=n[1];return[Math.abs(i*Math.cos(e))+Math.abs(s*Math.sin(e)),Math.abs(i*Math.sin(e))+Math.abs(s*Math.cos(e))]}return n}setViewportSize(e){this.viewportSize_=Array.isArray(e)?e.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const e=this.getCenterInternal();return e&&Dm(e,this.getProjection())}getCenterInternal(){return this.get(es.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(e){return e!==void 0?(e[0]=this.hints_[0],e[1]=this.hints_[1],e):this.hints_.slice()}calculateExtent(e){const n=this.calculateExtentInternal(e);return yT(n,this.getProjection())}calculateExtentInternal(e){e=e||this.getViewportSizeMinusPadding_();const n=this.getCenterInternal();mt(n,"The view center is not defined");const i=this.getResolution();mt(i!==void 0,"The view resolution is not defined");const s=this.getRotation();return mt(s!==void 0,"The view rotation is not defined"),Mm(n,i,s,e)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(e){this.applyOptions_(this.getUpdatedOptions_({maxZoom:e}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(e){this.applyOptions_(this.getUpdatedOptions_({minZoom:e}))}setConstrainResolution(e){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:e}))}getProjection(){return this.projection_}getResolution(){return this.get(es.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(e,n){return this.getResolutionForExtentInternal(Zr(e,this.getProjection()),n)}getResolutionForExtentInternal(e,n){n=n||this.getViewportSizeMinusPadding_();const i=bt(e)/n[0],s=Un(e)/n[1];return Math.max(i,s)}getResolutionForValueFunction(e){e=e||2;const n=this.getConstrainedResolution(this.maxResolution_),i=this.minResolution_,s=Math.log(n/i)/Math.log(e);return function(r){return n/Math.pow(e,r*s)}}getRotation(){return this.get(es.ROTATION)}getValueForResolutionFunction(e){const n=Math.log(e||2),i=this.getConstrainedResolution(this.maxResolution_),s=this.minResolution_,r=Math.log(i/s)/n;return function(o){return Math.log(i/o)/n/r}}getViewportSizeMinusPadding_(e){let n=this.getViewportSize_(e);const i=this.padding_;return i&&(n=[n[0]-i[1]-i[3],n[1]-i[0]-i[2]]),n}getState(){const e=this.getProjection(),n=this.getResolution(),i=this.getRotation();let s=this.getCenterInternal();const r=this.padding_;if(r){const o=this.getViewportSizeMinusPadding_();s=pp(s,this.getViewportSize_(),[o[0]/2+r[3],o[1]/2+r[0]],n,i)}return{center:s.slice(0),projection:e!==void 0?e:null,resolution:n,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:i,zoom:this.getZoom()}}getViewStateAndExtent(){return{viewState:this.getState(),extent:this.calculateExtent()}}getZoom(){let e;const n=this.getResolution();return n!==void 0&&(e=this.getZoomForResolution(n)),e}getZoomForResolution(e){let n=this.minZoom_||0,i,s;if(this.resolutions_){const r=pv(this.resolutions_,e,1);n=r,i=this.resolutions_[r],r==this.resolutions_.length-1?s=2:s=i/this.resolutions_[r+1]}else i=this.maxResolution_,s=this.zoomFactor_;return n+Math.log(i/e)/Math.log(s)}getResolutionForZoom(e){if(this.resolutions_?.length){if(this.resolutions_.length===1)return this.resolutions_[0];const n=rn(Math.floor(e),0,this.resolutions_.length-2),i=this.resolutions_[n]/this.resolutions_[n+1];return this.resolutions_[n]/Math.pow(i,rn(e-n,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,e-this.minZoom_)}fit(e,n){let i;if(mt(Array.isArray(e)||typeof e.getSimplifiedGeometry=="function","Invalid extent or geometry provided as `geometry`"),Array.isArray(e)){mt(!Uf(e),"Cannot fit empty extent provided as `geometry`");const s=Zr(e,this.getProjection());i=xw(s)}else if(e.getType()==="Circle"){const s=Zr(e.getExtent(),this.getProjection());i=xw(s),i.rotate(this.getRotation(),pa(s))}else i=e;this.fitInternal(i,n)}rotatedExtentForGeometry(e){const n=this.getRotation(),i=Math.cos(n),s=Math.sin(-n),r=e.getFlatCoordinates(),o=e.getStride();let a=1/0,l=1/0,c=-1/0,u=-1/0;for(let d=0,f=r.length;d{this.dispatchEvent("sourceready")},0))),this.changed()}getFeatures(e){return this.renderer_?this.renderer_.getFeatures(e):Promise.resolve([])}getData(e){return!this.renderer_||!this.rendered?null:this.renderer_.getData(e)}isVisible(e){let n;const i=this.getMapInternal();!e&&i&&(e=i.getView()),e instanceof ks?n={viewState:e.getState(),extent:e.calculateExtent()}:n=e,!n.layerStatesArray&&i&&(n.layerStatesArray=i.getLayerGroup().getLayerStatesArray());let s;n.layerStatesArray?s=n.layerStatesArray.find(o=>o.layer===this):s=this.getLayerState();const r=this.getExtent();return Ov(s,n.viewState)&&(!r||vi(r,n.extent))}getAttributions(e){if(!this.isVisible(e))return[];const n=this.getSource()?.getAttributions();if(!n)return[];const i=e instanceof ks?e.getViewStateAndExtent():e;let s=n(i);return Array.isArray(s)||(s=[s]),s}render(e,n){const i=this.getRenderer();return i.prepareFrame(e)?(this.rendered=!0,i.renderFrame(e,n)):null}unrender(){this.rendered=!1}getDeclutter(){}renderDeclutter(e,n){}renderDeferred(e){const n=this.getRenderer();n&&n.renderDeferred(e)}setMapInternal(e){e||this.unrender(),this.set(Ct.MAP,e)}getMapInternal(){return this.get(Ct.MAP)}setMap(e){this.mapPrecomposeKey_&&(Lt(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),e||this.changed(),this.mapRenderKey_&&(Lt(this.mapRenderKey_),this.mapRenderKey_=null),e&&(this.mapPrecomposeKey_=ft(e,zi.PRECOMPOSE,this.handlePrecompose_,this),this.mapRenderKey_=ft(this,tt.CHANGE,e.render,e),this.changed())}handlePrecompose_(e){const n=e.frameState.layerStatesArray,i=this.getLayerState(!1);mt(!n.some(s=>s.layer===i.layer),"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both."),n.push(i)}setSource(e){this.set(Ct.SOURCE,e)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}disposeInternal(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),super.disposeInternal()}}function Ov(t,e){if(!t.visible)return!1;const n=e.resolution;if(n=t.maxResolution)return!1;const i=e.zoom;return i>t.minZoom&&i<=t.maxZoom}function AT(t,e,n=0,i=t.length-1,s=gie){for(;i>n;){if(i-n>600){const l=i-n+1,c=e-n+1,u=Math.log(l),d=.5*Math.exp(2*u/3),f=.5*Math.sqrt(u*d*(l-d)/l)*(c-l/2<0?-1:1),g=Math.max(n,Math.floor(e-c*d/l+f)),p=Math.min(i,Math.floor(e+(l-c)*d/l+f));AT(t,e,g,p,s)}const r=t[e];let o=n,a=i;for(_c(t,n,e),s(t[i],r)>0&&_c(t,n,i);o0;)a--}s(t[n],r)===0?_c(t,n,a):(a++,_c(t,a,i)),a<=e&&(n=a+1),e<=a&&(i=a-1)}}function _c(t,e,n){const i=t[e];t[e]=t[n],t[n]=i}function gie(t,e){return te?1:0}let PT=class{constructor(e=9){this._maxEntries=Math.max(4,e),this._minEntries=Math.max(2,Math.ceil(this._maxEntries*.4)),this.clear()}all(){return this._all(this.data,[])}search(e){let n=this.data;const i=[];if(!qd(e,n))return i;const s=this.toBBox,r=[];for(;n;){for(let o=0;o=0&&r[n].children.length>this._maxEntries;)this._split(r,n),n--;this._adjustParentBBoxes(s,r,n)}_split(e,n){const i=e[n],s=i.children.length,r=this._minEntries;this._chooseSplitAxis(i,r,s);const o=this._chooseSplitIndex(i,r,s),a=Za(i.children.splice(o,i.children.length-o));a.height=i.height,a.leaf=i.leaf,Va(i,this.toBBox),Va(a,this.toBBox),n?e[n-1].children.push(a):this._splitRoot(i,a)}_splitRoot(e,n){this.data=Za([e,n]),this.data.height=e.height+1,this.data.leaf=!1,Va(this.data,this.toBBox)}_chooseSplitIndex(e,n,i){let s,r=1/0,o=1/0;for(let a=n;a<=i-n;a++){const l=Tc(e,0,a,this.toBBox),c=Tc(e,a,i,this.toBBox),u=yie(l,c),d=mp(l)+mp(c);u=n;c--){const u=e.children[c];Ac(a,e.leaf?r(u):u),l+=Xd(a)}return l}_adjustParentBBoxes(e,n,i){for(let s=i;s>=0;s--)Ac(n[s],e)}_condense(e){for(let n=e.length-1,i;n>=0;n--)e[n].children.length===0?n>0?(i=e[n-1].children,i.splice(i.indexOf(e[n]),1)):this.clear():Va(e[n],this.toBBox)}};function pie(t,e,n){if(!n)return e.indexOf(t);for(let i=0;i=t.minX&&e.maxY>=t.minY}function Za(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function Ew(t,e,n,i,s){const r=[e,n];for(;r.length;){if(n=r.pop(),e=r.pop(),n-e<=i)continue;const o=e+Math.ceil((n-e)/i/2)*i;AT(t,o,e,n,s),r.push(e,o,o,n)}}const ot={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};function Cw(t){return t[0]>0&&t[1]>0}function bie(t,e,n){return n===void 0&&(n=[0,0]),n[0]=t[0]*e+.5|0,n[1]=t[1]*e+.5|0,n}function wi(t,e){return Array.isArray(t)?t:(e===void 0?e=[t,t]:(e[0]=t,e[1]=t),e)}class Zf{constructor(e){this.opacity_=e.opacity,this.rotateWithView_=e.rotateWithView,this.rotation_=e.rotation,this.scale_=e.scale,this.scaleArray_=wi(e.scale),this.displacement_=e.displacement,this.declutterMode_=e.declutterMode}clone(){const e=this.getScale();return new Zf({opacity:this.getOpacity(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getOpacity(){return this.opacity_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getDisplacement(){return this.displacement_}getDeclutterMode(){return this.declutterMode_}getAnchor(){return pt()}getImage(e){return pt()}getHitDetectionImage(){return pt()}getPixelRatio(e){return 1}getImageState(){return pt()}getImageSize(){return pt()}getOrigin(){return pt()}getSize(){return pt()}setDisplacement(e){this.displacement_=e}setOpacity(e){this.opacity_=e}setRotateWithView(e){this.rotateWithView_=e}setRotation(e){this.rotation_=e}setScale(e){this.scale_=e,this.scaleArray_=wi(e)}listenImageChange(e){pt()}load(){pt()}unlistenImageChange(e){pt()}ready(){return Promise.resolve()}}const Su={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]};var Bn={name:"xyz",min:[0,0,0],channel:["X","Y","Z"],alias:["XYZ","ciexyz","cie1931"]};Bn.whitepoint={2:{A:[109.85,100,35.585],C:[98.074,100,118.232],D50:[96.422,100,82.521],D55:[95.682,100,92.149],D65:[95.045592705167,100,108.9057750759878],D75:[94.972,100,122.638],F2:[99.187,100,67.395],F7:[95.044,100,108.755],F11:[100.966,100,64.37],E:[100,100,100]},10:{A:[111.144,100,35.2],C:[97.285,100,116.145],D50:[96.72,100,81.427],D55:[95.799,100,90.926],D65:[94.811,100,107.304],D75:[94.416,100,120.641],F2:[103.28,100,69.026],F7:[95.792,100,107.687],F11:[103.866,100,65.627],E:[100,100,100]}};Bn.max=Bn.whitepoint[2].D65;Bn.rgb=function(t,e){e=e||Bn.whitepoint[2].E;var n=t[0]/e[0],i=t[1]/e[1],s=t[2]/e[2],r,o,a;return r=n*3.240969941904521+i*-1.537383177570093+s*-.498610760293,o=n*-.96924363628087+i*1.87596750150772+s*.041555057407175,a=n*.055630079696993+i*-.20397695888897+s*1.056971514242878,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r=r*12.92,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o=o*12.92,a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a=a*12.92,r=Math.min(Math.max(0,r),1),o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),[r*255,o*255,a*255]};Su.xyz=function(t,e){var n=t[0]/255,i=t[1]/255,s=t[2]/255;n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92,s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92;var r=n*.41239079926595+i*.35758433938387+s*.18048078840183,o=n*.21263900587151+i*.71516867876775+s*.072192315360733,a=n*.019330818715591+i*.11919477979462+s*.95053215224966;return e=e||Bn.whitepoint[2].E,[r*e[0],o*e[1],a*e[2]]};const Nv={name:"luv",min:[0,-134,-140],max:[100,224,122],channel:["lightness","u","v"],alias:["LUV","cieluv","cie1976"],xyz:function(t,e,n){var i,s,r,o,a,l,c,u,d,f,g,p,m;if(r=t[0],o=t[1],a=t[2],r===0)return[0,0,0];var v=.0011070564598794539;return e=e||"D65",n=n||2,d=Bn.whitepoint[n][e][0],f=Bn.whitepoint[n][e][1],g=Bn.whitepoint[n][e][2],p=4*d/(d+15*f+3*g),m=9*f/(d+15*f+3*g),i=o/(13*r)+p||0,s=a/(13*r)+m||0,c=r>8?f*Math.pow((r+16)/116,3):f*r*v,l=c*9*i/(4*s)||0,u=c*(12-3*i-20*s)/(4*s)||0,[l,c,u]}};Bn.luv=function(t,e,n){var i,s,r,o,a,l,c,u,d,f,g,p,m,v=.008856451679035631,y=903.2962962962961;e=e||"D65",n=n||2,d=Bn.whitepoint[n][e][0],f=Bn.whitepoint[n][e][1],g=Bn.whitepoint[n][e][2],p=4*d/(d+15*f+3*g),m=9*f/(d+15*f+3*g),l=t[0],c=t[1],u=t[2],i=4*l/(l+15*c+3*u)||0,s=9*c/(l+15*c+3*u)||0;var x=c/f;return r=x<=v?y*x:116*Math.pow(x,1/3)-16,o=13*r*(i-p),a=13*r*(s-m),[r,o,a]};var MT={name:"lchuv",channel:["lightness","chroma","hue"],alias:["LCHuv","cielchuv"],min:[0,0,0],max:[100,100,360],luv:function(t){var e=t[0],n=t[1],i=t[2],s,r,o;return o=i/360*2*Math.PI,s=n*Math.cos(o),r=n*Math.sin(o),[e,s,r]},xyz:function(t){return Nv.xyz(MT.luv(t))}};Nv.lchuv=function(t){var e=t[0],n=t[1],i=t[2],s=Math.sqrt(n*n+i*i),r=Math.atan2(i,n),o=r*360/2/Math.PI;return o<0&&(o+=360),[e,s,o]};Bn.lchuv=function(t){return Nv.lchuv(Bn.luv(t))};const Sw={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};var kw={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function wie(t){var e,n=[],i=1,s;if(typeof t=="number")return{space:"rgb",values:[t>>>16,(t&65280)>>>8,t&255],alpha:1};if(typeof t=="number")return{space:"rgb",values:[t>>>16,(t&65280)>>>8,t&255],alpha:1};if(t=String(t).toLowerCase(),Sw[t])n=Sw[t].slice(),s="rgb";else if(t==="transparent")i=0,s="rgb",n=[0,0,0];else if(t[0]==="#"){var r=t.slice(1),o=r.length,a=o<=4;i=1,a?(n=[parseInt(r[0]+r[0],16),parseInt(r[1]+r[1],16),parseInt(r[2]+r[2],16)],o===4&&(i=parseInt(r[3]+r[3],16)/255)):(n=[parseInt(r[0]+r[1],16),parseInt(r[2]+r[3],16),parseInt(r[4]+r[5],16)],o===8&&(i=parseInt(r[6]+r[7],16)/255)),n[0]||(n[0]=0),n[1]||(n[1]=0),n[2]||(n[2]=0),s="rgb"}else if(e=/^((?:rgba?|hs[lvb]a?|hwba?|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms|oklch|oklab|color))\s*\(([^\)]*)\)/.exec(t)){var l=e[1];s=l.replace(/a$/,"");var c=s==="cmyk"?4:s==="gray"?1:3;n=e[2].trim().split(/\s*[,\/]\s*|\s+/),s==="color"&&(s=n.shift()),n=n.map(function(u,d){if(u[u.length-1]==="%")return u=parseFloat(u)/100,d===3?u:s==="rgb"?u*255:s[0]==="h"||s[0]==="l"&&!d?u*100:s==="lab"?u*125:s==="lch"?d<2?u*150:u*360:s[0]==="o"&&!d?u:s==="oklab"?u*.4:s==="oklch"?d<2?u*.4:u*360:u;if(s[d]==="h"||d===2&&s[s.length-1]==="h"){if(kw[u]!==void 0)return kw[u];if(u.endsWith("deg"))return parseFloat(u);if(u.endsWith("turn"))return parseFloat(u)*360;if(u.endsWith("grad"))return parseFloat(u)*360/400;if(u.endsWith("rad"))return parseFloat(u)*180/Math.PI}return u==="none"?0:parseFloat(u)}),i=n.length>c?n.pop():1}else/[0-9](?:\s|\/|,)/.test(t)&&(n=t.match(/([0-9]+)/g).map(function(u){return parseFloat(u)}),s=t.match(/([a-z])/ig)?.join("")?.toLowerCase()||"rgb");return{space:s,values:n,alpha:i}}const vp={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(t){var e=t[0]/360,n=t[1]/100,i=t[2]/100,s,r,o,a,l,c=0;if(n===0)return l=i*255,[l,l,l];for(r=i<.5?i*(1+n):i+n-i*n,s=2*i-r,a=[0,0,0];c<3;)o=e+1/3*-(c-1),o<0?o++:o>1&&o--,l=6*o<1?s+(r-s)*6*o:2*o<1?r:3*o<2?s+(r-s)*(2/3-o)*6:s,a[c++]=l*255;return a}};Su.hsl=function(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255,s=Math.min(e,n,i),r=Math.max(e,n,i),o=r-s,a,l,c;return r===s?a=0:e===r?a=(n-i)/o:n===r?a=2+(i-e)/o:i===r&&(a=4+(e-n)/o),a=Math.min(a*60,360),a<0&&(a+=360),c=(s+r)/2,r===s?l=0:c<=.5?l=o/(r+s):l=o/(2-r-s),[a,l*100,c*100]};function xie(t){Array.isArray(t)&&t.raw&&(t=String.raw(...arguments)),t instanceof Number&&(t=+t);var e,n=wie(t);if(!n.space)return[];const i=n.space[0]==="h"?vp.min:Su.min,s=n.space[0]==="h"?vp.max:Su.max;return e=Array(3),e[0]=Math.min(Math.max(n.values[0],i[0]),s[0]),e[1]=Math.min(Math.max(n.values[1],i[1]),s[1]),e[2]=Math.min(Math.max(n.values[2],i[2]),s[2]),n.space[0]==="h"&&(e=vp.rgb(e)),e.push(Math.min(Math.max(n.alpha,0),1)),e}const Fv=[NaN,NaN,NaN,0];function Eie(t){return typeof t=="string"?t:Vv(t)}const Cie=1024,vc={};let yp=0;function Sie(t){if(t.length===4)return t;const e=t.slice();return e[3]=1,e}function Tw(t){const e=Bn.lchuv(Su.xyz(t));return e[3]=t[3],e}function kie(t){const e=Bn.rgb(MT.xyz(t));return e[3]=t[3],e}function Bv(t){if(t==="none")return Fv;if(vc.hasOwnProperty(t))return vc[t];if(yp>=Cie){let n=0;for(const i in vc)n++&3||(delete vc[i],--yp)}const e=xie(t);if(e.length!==4)throw new Error('failed to parse "'+t+'" as color');for(const n of e)if(isNaN(n))throw new Error('failed to parse "'+t+'" as color');return IT(e),vc[t]=e,++yp,e}function ku(t){return Array.isArray(t)?t:Bv(t)}function IT(t){return t[0]=rn(t[0]+.5|0,0,255),t[1]=rn(t[1]+.5|0,0,255),t[2]=rn(t[2]+.5|0,0,255),t[3]=rn(t[3],0,1),t}function Vv(t){let e=t[0];e!=(e|0)&&(e=e+.5|0);let n=t[1];n!=(n|0)&&(n=n+.5|0);let i=t[2];i!=(i|0)&&(i=i+.5|0);const s=t[3]===void 0?1:Math.round(t[3]*1e3)/1e3;return"rgba("+e+","+n+","+i+","+s+")"}const ho=typeof navigator<"u"&&typeof navigator.userAgent<"u"?navigator.userAgent.toLowerCase():"",Tie=ho.includes("firefox"),Aie=ho.includes("safari")&&!ho.includes("chrom");Aie&&(ho.includes("version/15.4")||/cpu (os|iphone os) 15_4 like mac os x/.test(ho));const Pie=ho.includes("webkit")&&!ho.includes("edge"),DT=ho.includes("macintosh"),RT=typeof devicePixelRatio<"u"?devicePixelRatio:1,$T=typeof WorkerGlobalScope<"u"&&typeof OffscreenCanvas<"u"&&self instanceof WorkerGlobalScope,LT=typeof Image<"u"&&Image.prototype.decode,OT=function(){let t=!1;try{const e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch{}return t}();function hn(t,e,n,i){let s;return n&&n.length?s=n.shift():$T?s=new OffscreenCanvas(t||300,e||300):s=document.createElement("canvas"),t&&(s.width=t),e&&(s.height=e),s.getContext("2d",i)}let bp;function Hh(){return bp||(bp=hn(1,1)),bp}function zl(t){const e=t.canvas;e.width=1,e.height=1,t.clearRect(0,0,1,1)}function Aw(t,e){const n=e.parentNode;n&&n.replaceChild(t,e)}function Mie(t){for(;t.lastChild;)t.lastChild.remove()}function Iie(t,e){const n=t.childNodes;for(let i=0;;++i){const s=n[i],r=e[i];if(!s&&!r)break;if(s!==r){if(!s){t.appendChild(r);continue}if(!r){t.removeChild(s),--i;continue}t.insertBefore(r,s)}}}function Die(t,e,n){const i=t;let s=!0,r=!1,o=!1;const a=[Bh(i,tt.LOAD,function(){o=!0,r||e()})];return i.src&<?(r=!0,i.decode().then(function(){s&&e()}).catch(function(l){s&&(o?e():n())})):a.push(Bh(i,tt.ERROR,n)),function(){s=!1,a.forEach(Lt)}}function Rie(t,e){return new Promise((n,i)=>{function s(){o(),n(t)}function r(){o(),i(new Error("Image load error"))}function o(){t.removeEventListener("load",s),t.removeEventListener("error",r)}t.addEventListener("load",s),t.addEventListener("error",r)})}function $ie(t,e){return e&&(t.src=e),t.src&<?new Promise((n,i)=>t.decode().then(()=>n(t)).catch(s=>t.complete&&t.width?n(t):i(s))):Rie(t)}class Lie{constructor(){this.cache_={},this.patternCache_={},this.cacheSize_=0,this.maxCacheSize_=32}clear(){this.cache_={},this.patternCache_={},this.cacheSize_=0}canExpireCache(){return this.cacheSize_>this.maxCacheSize_}expire(){if(this.canExpireCache()){let e=0;for(const n in this.cache_){const i=this.cache_[n];!(e++&3)&&!i.hasListener()&&(delete this.cache_[n],delete this.patternCache_[n],--this.cacheSize_)}}}get(e,n,i){const s=wp(e,n,i);return s in this.cache_?this.cache_[s]:null}getPattern(e,n,i){const s=wp(e,n,i);return s in this.patternCache_?this.patternCache_[s]:null}set(e,n,i,s,r){const o=wp(e,n,i),a=o in this.cache_;this.cache_[o]=s,r&&(s.getImageState()===ot.IDLE&&s.load(),s.getImageState()===ot.LOADING?s.ready().then(()=>{this.patternCache_[o]=Hh().createPattern(s.getImage(1),"repeat")}):this.patternCache_[o]=Hh().createPattern(s.getImage(1),"repeat")),a||++this.cacheSize_}setSize(e){this.maxCacheSize_=e,this.expire()}}function wp(t,e,n){const i=n?ku(n):"null";return e+":"+t+":"+i}const Is=new Lie;let yc=null;class Oie extends zf{constructor(e,n,i,s,r){super(),this.hitDetectionImage_=null,this.image_=e,this.crossOrigin_=i,this.canvas_={},this.color_=r,this.imageState_=s===void 0?ot.IDLE:s,this.size_=e&&e.width&&e.height?[e.width,e.height]:null,this.src_=n,this.tainted_,this.ready_=null}initializeImage_(){this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)}isTainted_(){if(this.tainted_===void 0&&this.imageState_===ot.LOADED){yc||(yc=hn(1,1,void 0,{willReadFrequently:!0})),yc.drawImage(this.image_,0,0);try{yc.getImageData(0,0,1,1),this.tainted_=!1}catch{yc=null,this.tainted_=!0}}return this.tainted_===!0}dispatchChangeEvent_(){this.dispatchEvent(tt.CHANGE)}handleImageError_(){this.imageState_=ot.ERROR,this.dispatchChangeEvent_()}handleImageLoad_(){this.imageState_=ot.LOADED,this.size_=[this.image_.width,this.image_.height],this.dispatchChangeEvent_()}getImage(e){return this.image_||this.initializeImage_(),this.replaceColor_(e),this.canvas_[e]?this.canvas_[e]:this.image_}getPixelRatio(e){return this.replaceColor_(e),this.canvas_[e]?e:1}getImageState(){return this.imageState_}getHitDetectionImage(){if(this.image_||this.initializeImage_(),!this.hitDetectionImage_)if(this.isTainted_()){const e=this.size_[0],n=this.size_[1],i=hn(e,n);i.fillRect(0,0,e,n),this.hitDetectionImage_=i.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_}getSize(){return this.size_}getSrc(){return this.src_}load(){if(this.imageState_===ot.IDLE){this.image_||this.initializeImage_(),this.imageState_=ot.LOADING;try{this.src_!==void 0&&(this.image_.src=this.src_)}catch{this.handleImageError_()}this.image_ instanceof HTMLImageElement&&$ie(this.image_,this.src_).then(e=>{this.image_=e,this.handleImageLoad_()}).catch(this.handleImageError_.bind(this))}}replaceColor_(e){if(!this.color_||this.canvas_[e]||this.imageState_!==ot.LOADED)return;const n=this.image_,i=hn(Math.ceil(n.width*e),Math.ceil(n.height*e)),s=i.canvas;i.scale(e,e),i.drawImage(n,0,0),i.globalCompositeOperation="multiply",i.fillStyle=Eie(this.color_),i.fillRect(0,0,s.width/e,s.height/e),i.globalCompositeOperation="destination-in",i.drawImage(n,0,0),this.canvas_[e]=s}ready(){return this.ready_||(this.ready_=new Promise(e=>{if(this.imageState_===ot.LOADED||this.imageState_===ot.ERROR)e();else{const n=()=>{(this.imageState_===ot.LOADED||this.imageState_===ot.ERROR)&&(this.removeEventListener(tt.CHANGE,n),e())};this.addEventListener(tt.CHANGE,n)}})),this.ready_}}function Wv(t,e,n,i,s,r){let o=e===void 0?void 0:Is.get(e,n,s);return o||(o=new Oie(t,t&&"src"in t?t.src||void 0:e,n,i,s),Is.set(e,n,s,o,r)),r&&o&&!Is.getPattern(e,n,s)&&Is.set(e,n,s,o,r),o}function Ds(t){return t?Array.isArray(t)?Vv(t):typeof t=="object"&&"src"in t?Nie(t):t:null}function Nie(t){if(!t.offset||!t.size)return Is.getPattern(t.src,"anonymous",t.color);const e=t.src+":"+t.offset,n=Is.getPattern(e,void 0,t.color);if(n)return n;const i=Is.get(t.src,"anonymous",null);if(i.getImageState()!==ot.LOADED)return null;const s=hn(t.size[0],t.size[1]);return s.drawImage(i.getImage(1),t.offset[0],t.offset[1],t.size[0],t.size[1],0,0,t.size[0],t.size[1]),Wv(s.canvas,e,void 0,ot.LOADED,t.color,!0),Is.getPattern(e,void 0,t.color)}const Zd="ol-hidden",Jf="ol-unselectable",zv="ol-control",Pw="ol-collapsed",Fie=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))",`?\\s*([-,\\"\\'\\sa-z]+?)\\s*$`].join(""),"i"),Mw=["style","variant","weight","size","lineHeight","family"],NT=function(t){const e=t.match(Fie);if(!e)return null;const n={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"};for(let i=0,s=Mw.length;i import {onMounted, ref} from "vue"; import dayjs from "dayjs"; +import LocaleText from "@/components/text/localeText.vue"; const props = defineProps({ configurationName: String, @@ -35,7 +36,9 @@ onMounted(() => { - {{backups.length}} {{backups.length > 1 ? "Backups": "Backup" }} + {{backups.length}} + +