diff --git a/src/dashboard.py b/src/dashboard.py index 51f1c14..5d36e25 100644 --- a/src/dashboard.py +++ b/src/dashboard.py @@ -1228,6 +1228,8 @@ class DashboardConfig: self.__config[section][key] = "true" else: self.__config[section][key] = "false" + if type(value) in [int, float]: + self.__config[section][key] = str(value) else: self.__config[section][key] = value return self.SaveConfig(), "" @@ -1781,73 +1783,95 @@ def API_allowAccessPeers(configName: str) -> ResponseObject: @app.post(f'{APP_PREFIX}/api/addPeers/') def API_addPeers(configName): - data = request.get_json() - bulkAdd = data['bulkAdd'] - bulkAddAmount = data['bulkAddAmount'] - public_key = data['public_key'] - allowed_ips = data['allowed_ips'] - endpoint_allowed_ip = data['endpoint_allowed_ip'] - dns_addresses = data['DNS'] - mtu = data['mtu'] - keep_alive = data['keepalive'] - preshared_key = data['preshared_key'] - preshared_key_bulkAdd: bool = data['preshared_key_bulkAdd'] - if configName in WireguardConfigurations.keys(): - config = WireguardConfigurations.get(configName) - if (not bulkAdd and (len(public_key) == 0 or len(allowed_ips) == 0)) or len(endpoint_allowed_ip) == 0: - return ResponseObject(False, "Please fill in all required box") - if not config.getStatus(): - config.toggleConfiguration() + try: + data: dict = request.get_json() - availableIps = _getWireguardConfigurationAvailableIP(configName) - - if bulkAdd: - if bulkAddAmount < 1: - return ResponseObject(False, "Please specify amount of peers you want to add") - if not availableIps[0]: - return ResponseObject(False, "No more available IP can assign") - if bulkAddAmount > len(availableIps[1]): - return ResponseObject(False, - f"The maximum number of peers can add is {len(availableIps[1])}") - - keyPairs = [] - for i in range(bulkAddAmount): - newPrivateKey = _generatePrivateKey()[1] - keyPairs.append({ - "private_key": newPrivateKey, - "id": _generatePublicKey(newPrivateKey)[1], - "preshared_key": (_generatePrivateKey()[1] if preshared_key_bulkAdd else ""), - "allowed_ip": availableIps[1][i], - "name": f"BulkPeer #{(i + 1)}_{datetime.now().strftime('%Y%m%d_%H%M%S')}" - }) - if len(keyPairs) == 0: - return ResponseObject(False, "Generating key pairs by bulk failed") - config.addPeers(keyPairs) + bulkAdd: bool = data.get("bulkAdd", False) + bulkAddAmount: int = data.get('bulkAddAmount', 0) + preshared_key_bulkAdd: bool = data.get('preshared_key_bulkAdd', False) + + + public_key: str = data.get('public_key', "") + allowed_ips: list[str] = data.get('allowed_ips', "") - for kp in keyPairs: - found, peer = config.searchPeer(kp['id']) + endpoint_allowed_ip: str = data.get('endpoint_allowed_ip', DashboardConfig.GetConfig("Peers", "peer_endpoint_allowed_ip")[1]) + dns_addresses: str = data.get('DNS', DashboardConfig.GetConfig("Peers", "peer_global_DNS")[1]) + mtu: int = data.get('mtu', int(DashboardConfig.GetConfig("Peers", "peer_MTU")[1])) + keep_alive: int = data.get('keepalive', int(DashboardConfig.GetConfig("Peers", "peer_keep_alive")[1])) + preshared_key: str = data.get('preshared_key', "") + + + if type(mtu) is not int or mtu < 0 or mtu > 1460: + mtu = int(DashboardConfig.GetConfig("Peers", "peer_MTU")[1]) + if type(keep_alive) is not int or keep_alive < 0: + keep_alive = int(DashboardConfig.GetConfig("Peers", "peer_keep_alive")[1]) + if len(dns_addresses) == 0: + dns_addresses = DashboardConfig.GetConfig("Peers", "peer_global_DNS")[1] + if len(endpoint_allowed_ip) == 0: + endpoint_allowed_ip = DashboardConfig.GetConfig("Peers", "peer_endpoint_allowed_ip")[1] + + + config = WireguardConfigurations.get(configName) + if not bulkAdd and (len(public_key) == 0 or len(allowed_ips) == 0): + return ResponseObject(False, "Please provide at lease public_key and allowed_ips") + if not config.getStatus(): + config.toggleConfiguration() + + availableIps = _getWireguardConfigurationAvailableIP(configName) + + if bulkAdd: + if type(preshared_key_bulkAdd) is not bool: + preshared_key_bulkAdd = False + + if type(bulkAddAmount) is not int or bulkAddAmount < 1: + return ResponseObject(False, "Please specify amount of peers you want to add") + if not availableIps[0]: + return ResponseObject(False, "No more available IP can assign") + if bulkAddAmount > len(availableIps[1]): + return ResponseObject(False, + f"The maximum number of peers can add is {len(availableIps[1])}") + + keyPairs = [] + for i in range(bulkAddAmount): + newPrivateKey = _generatePrivateKey()[1] + keyPairs.append({ + "private_key": newPrivateKey, + "id": _generatePublicKey(newPrivateKey)[1], + "preshared_key": (_generatePrivateKey()[1] if preshared_key_bulkAdd else ""), + "allowed_ip": availableIps[1][i], + "name": f"BulkPeer #{(i + 1)}_{datetime.now().strftime('%Y%m%d_%H%M%S')}" + }) + if len(keyPairs) == 0: + return ResponseObject(False, "Generating key pairs by bulk failed") + config.addPeers(keyPairs) + + for kp in keyPairs: + found, peer = config.searchPeer(kp['id']) + if found: + if not peer.updatePeer(kp['name'], kp['private_key'], kp['preshared_key'], dns_addresses, + kp['allowed_ip'], endpoint_allowed_ip, mtu, keep_alive): + return ResponseObject(False, "Failed to add peers in bulk") + return ResponseObject() + + else: + if config.searchPeer(public_key)[0] is True: + return ResponseObject(False, f"This peer already exist") + name = data.get("name", "") + private_key = data.get("private_key", "") + + for i in allowed_ips: + if i not in availableIps[1]: + return ResponseObject(False, f"This IP is not available: {i}") + + config.addPeers([{"id": public_key, "allowed_ip": ','.join(allowed_ips)}]) + found, peer = config.searchPeer(public_key) if found: - if not peer.updatePeer(kp['name'], kp['private_key'], kp['preshared_key'], dns_addresses, - kp['allowed_ip'], endpoint_allowed_ip, mtu, keep_alive): - return ResponseObject(False, "Failed to add peers in bulk") - return ResponseObject() - - else: - if config.searchPeer(public_key)[0] is True: - return ResponseObject(False, f"This peer already exist") - name = data['name'] - private_key = data['private_key'] - - for i in allowed_ips: - if i not in availableIps[1]: - return ResponseObject(False, f"This IP is not available: {i}") - - config.addPeers([{"id": public_key, "allowed_ip": ','.join(allowed_ips)}]) - found, peer = config.searchPeer(public_key) - if found: - return peer.updatePeer(name, private_key, preshared_key, dns_addresses, ",".join(allowed_ips), - endpoint_allowed_ip, mtu, keep_alive) + return peer.updatePeer(name, private_key, preshared_key, dns_addresses, ",".join(allowed_ips), + endpoint_allowed_ip, mtu, keep_alive) + except Exception as e: + print(e) + return ResponseObject(False, "Add peers failed. Please see data for specific issue") return ResponseObject(False, "Configuration does not exist") @@ -1992,6 +2016,7 @@ def API_ping_getAllPeersIpAddress(): ips[c.Name] = cips return ResponseObject(data=ips) +import requests @app.get(f'{APP_PREFIX}/api/ping/execute') def API_ping_execute(): @@ -2001,8 +2026,8 @@ def API_ping_execute(): try: if ip is not None and len(ip) > 0 and count is not None and count.isnumeric(): result = ping(ip, count=int(count), source=None) - - return ResponseObject(data={ + + data = { "address": result.address, "is_alive": result.is_alive, "min_rtt": result.min_rtt, @@ -2010,9 +2035,17 @@ def API_ping_execute(): "max_rtt": result.max_rtt, "package_sent": result.packets_sent, "package_received": result.packets_received, - "package_loss": result.packet_loss - }) - + "package_loss": result.packet_loss, + "geo": None + } + + + try: + r = requests.get(f"http://ip-api.com/json/{result.address}?field=city") + data['geo'] = r.json() + except Exception as e: + pass + return ResponseObject(data=data) return ResponseObject(False, "Please specify an IP Address (v4/v6)") except Exception as exp: return ResponseObject(False, exp) @@ -2024,7 +2057,7 @@ def API_traceroute_execute(): if "ipAddress" in request.args.keys() and len(request.args.get("ipAddress")) > 0: ipAddress = request.args.get('ipAddress') try: - tracerouteResult = traceroute(ipAddress) + tracerouteResult = traceroute(ipAddress, timeout=1, max_hops=64) result = [] for hop in tracerouteResult: if len(result) > 1: @@ -2049,6 +2082,15 @@ def API_traceroute_execute(): "min_rtt": hop.min_rtt, "max_rtt": hop.max_rtt }) + try: + r = requests.post(f"http://ip-api.com/batch?fields=city,country,lat,lon,query", + data=json.dumps([x['ip'] for x in result])) + d = r.json() + for i in range(len(result)): + result[i]['geo'] = d[i] + + except Exception as e: + print(e) return ResponseObject(data=result) except Exception as exp: return ResponseObject(False, exp) @@ -2077,7 +2119,6 @@ def API_getDashboardUpdate(): Sign Up ''' - @app.get(f'{APP_PREFIX}/api/isTotpEnabled') def API_isTotpEnabled(): return ( diff --git a/src/requirements.txt b/src/requirements.txt index 2873cbc..a7014b5 100644 --- a/src/requirements.txt +++ b/src/requirements.txt @@ -5,4 +5,5 @@ pyotp Flask flask-cors icmplib -gunicorn \ No newline at end of file +gunicorn +requests \ No newline at end of file diff --git a/src/static/app/dist/assets/index.css b/src/static/app/dist/assets/index.css index 5314229..35440fb 100644 --- a/src/static/app/dist/assets/index.css +++ b/src/static/app/dist/assets/index.css @@ -1,17 +1,15 @@ -@charset "UTF-8";*{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol}.dp__input{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol!important}::-webkit-scrollbar{display:none}.codeFont{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.feather{width:16px;height:16px;vertical-align:text-bottom}.btn-primary{font-weight:700}@property --brandColor1{syntax: ""; initial-value: #009dff; inherits: false;}@property --brandColor2{syntax: ""; initial-value: #ff4a00; inherits: false;}@property --distance2{syntax: ""; initial-value: 0%; inherits: false;}@property --degree{syntax: ""; initial-value: 234deg; inherits: false;}.dashboardLogo{background:#178bff;background:linear-gradient(234deg,var(--brandColor1) var(--distance2),var(--brandColor2) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;transition:--brandColor1 1s,--brandColor2 .3s,--distance2 1s!important}.btn-brand{background:linear-gradient(var(--degree),var(--brandColor1) var(--distance2),var(--brandColor2) 100%);border:0!important;transition:--brandColor1 1s,--brandColor2 1s,--distance2 .5s!important}.btn-brand.loading{animation:spin infinite forwards 3s linear}.btn-brand:hover,.dashboardLogo:hover{--brandColor1: #009dff;--brandColor2: #ff875b;--distance2: 30%}.signInBtn.signedIn{--distance2: 100%}@keyframes spin{0%{--degree: 234deg}to{--degree: 594deg}}[data-bs-theme=dark].main,#app:has(.main[data-bs-theme=dark]),[data-bs-theme=dark].navbar-container{background-color:#1b1e21}.sidebar .nav-link,.bottomNavContainer .nav-link{font-weight:500;color:#333;transition:.2s cubic-bezier(.82,-.07,0,1.01)}[data-bs-theme=dark] .sidebar .nav-link{color:#fff}[data-bs-theme=dark] .sidebar .nav-link.active{color:#74b7ff}[data-bs-theme=dark] .nav-link:hover{background-color:#323844}.nav-link:hover{background-color:#e8e8e8}.sidebar .nav-link .feather{margin-right:4px;color:#999}.sidebar .nav-link.active,.bottomNavContainer .nav-link.active{color:#007bff}.sidebar .nav-link:hover .feather,.sidebar .nav-link.active .feather{color:inherit}.sidebar-heading{font-size:.75rem;text-transform:uppercase}.navbar-brand{padding-top:.75rem;padding-bottom:.75rem;font-size:1rem}.navbar .navbar-toggler{top:.25rem;right:1rem}.form-control{transition:all .2s ease-in-out}.form-control:disabled{cursor:not-allowed}.navbar .form-control{padding:.75rem 1rem;border-width:0;border-radius:0}.form-control-dark{color:#fff;background-color:#ffffff1a;border-color:#ffffff1a}.form-control-dark:focus{border-color:transparent;box-shadow:0 0 0 3px #ffffff40}.dot{width:10px;height:10px;border-radius:50px;display:inline-block;margin-left:auto!important;background-color:#6c757d}.dot.active{background-color:#28a745!important;box-shadow:0 0 0 .2rem #28a74545}.h6-dot-running{margin-left:.3rem}.card-running{border-color:#28a745}.info h6{line-break:anywhere;transition:all .4s cubic-bezier(.96,-.07,.34,1.01);opacity:1}.info .row .col-sm{display:flex;flex-direction:column}.info .row .col-sm small{display:flex}.info .row .col-sm small strong:last-child(1){margin-left:auto!important}.btn-control{border:none!important;padding:0;margin:0 1rem 0 0}.btn-control:hover{background-color:transparent!important}.btn-control:active,.btn-control:focus{background-color:transparent!important;border:none!important;box-shadow:none}.btn-qrcode-peer{padding:0!important}.btn-qrcode-peer:active,.btn-qrcode-peer:hover{transform:scale(.9) rotate(180deg);border:0!important}.btn-download-peer:active,.btn-download-peer:hover{color:#17a2b8!important;transform:translateY(5px)}.share_peer_btn_group .btn-control{margin:0 0 0 1rem;padding:0!important;transition:all .4s cubic-bezier(1,-.43,0,1.37)}.btn-control:hover{background:#fff}.btn-delete-peer:hover{color:#dc3545}.btn-lock-peer:hover{color:#28a745}.btn-lock-peer.lock,.btn-lock-peer.lock:hover{color:#6c757d}.btn-control.btn-outline-primary:hover{color:#007bff}.btn-download-peer:hover{color:#17a2b8}.login-container{padding:2rem}@media (max-width: 992px){.card-col{margin-bottom:1rem}}.switch{font-size:2rem}.switch:hover{text-decoration:none}.btn-group-label:hover{color:#007bff;border-color:#007bff;background:#fff}.peer_data_group{text-align:right;display:flex;margin-bottom:.5rem}.peer_data_group p{text-transform:uppercase;margin-bottom:0;margin-right:1rem}@media (max-width: 768px){.peer_data_group{text-align:left}}.index-switch{display:flex;align-items:center;justify-content:flex-end}main{margin-bottom:3rem}.peer_list{margin-bottom:7rem}@media (max-width: 768px){.add_btn{bottom:1.5rem!important}.peer_list{margin-bottom:7rem!important}}.btn-manage-group{z-index:99;position:fixed;bottom:3rem;right:2rem;display:flex}.btn-manage-group .setting_btn_menu{position:absolute;top:-124px;background-color:#fff;padding:1rem 0;right:0;box-shadow:0 10px 20px #00000030,0 6px 6px #0000003b;border-radius:10px;min-width:250px;display:none;transform:translateY(-30px);opacity:0;transition:all .3s cubic-bezier(.58,.03,.05,1.28)}.btn-manage-group .setting_btn_menu.show{display:block}.setting_btn_menu.showing{transform:translateY(0);opacity:1}.setting_btn_menu a{display:flex;padding:.5rem 1rem;transition:all .1s ease-in-out;font-size:1rem;align-items:center;cursor:pointer}.setting_btn_menu a:hover{background-color:#efefef;text-decoration:none}.setting_btn_menu a i{margin-right:auto!important}.add_btn{height:54px;z-index:99;border-radius:100px!important;padding:0 14px;box-shadow:0 10px 20px #00000030,0 6px 6px #0000003b;margin-right:1rem;font-size:1.5rem}.setting_btn{height:54px;z-index:99;border-radius:100px!important;padding:0 14px;box-shadow:0 10px 20px #00000030,0 6px 6px #0000003b;font-size:1.5rem}@-webkit-keyframes rotating{0%{-webkit-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotating{0%{-ms-transform:rotate(0deg);-moz-transform:rotate(0deg);-webkit-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-ms-transform:rotate(360deg);-moz-transform:rotate(360deg);-webkit-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}.rotating:before{-webkit-animation:rotating .75s linear infinite;-moz-animation:rotating .75s linear infinite;-ms-animation:rotating .75s linear infinite;-o-animation:rotating .75s linear infinite;animation:rotating .75s linear infinite}.peer_private_key_textbox_switch{position:absolute;right:2rem;transform:translateY(-28px);font-size:1.2rem;cursor:pointer}#peer_private_key_textbox,#private_key,#public_key,#peer_preshared_key_textbox{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.progress-bar{transition:.3s ease-in-out}.key{transition:.2s ease-in-out;cursor:pointer}.key:hover{color:#007bff}.card{border-radius:10px}.peer_list .card .button-group{height:22px}.form-control{border-radius:10px}.btn{border-radius:8px}.login-box #username,.login-box #password,.login-box #totp{padding:.6rem calc(.9rem + 32px);height:inherit}.login-box label[for=username],.login-box label[for=password],.login-box label[for=totp]{font-size:1rem;margin:0!important;transform:translateY(2.1rem) translate(1rem);padding:0}.modal-content{border-radius:10px}.tooltip-inner{font-size:.8rem}@-webkit-keyframes loading{0%{background-color:#dfdfdf}50%{background-color:#adadad}to{background-color:#dfdfdf}}@-moz-keyframes loading{0%{background-color:#dfdfdf}50%{background-color:#adadad}to{background-color:#dfdfdf}}.conf_card{transition:.2s ease-in-out}.conf_card:hover{border-color:#007bff}.info_loading{height:19.19px;opacity:0!important}#conf_status_btn{transition:.2s ease-in-out}#conf_status_btn.info_loading{height:38px;border-radius:5px;animation:loading 3s infinite ease-in-out}#qrcode_img img{width:100%}#selected_ip_list .badge,#selected_peer_list .badge{margin:.1rem}#add_modal.ip_modal_open{transition:filter .2s ease-in-out;filter:brightness(.5)}#delete_bulk_modal .list-group a.active{background-color:#dc3545;border-color:#dc3545}#selected_peer_list{max-height:80px;overflow-y:scroll;overflow-x:hidden}.no-response{width:100%;height:100%;position:fixed;background:#000000ba;z-index:10000;display:none;flex-direction:column;align-items:center;justify-content:center;opacity:0;transition:all 1s ease-in-out}.no-response.active{display:flex}.no-response.active.show{opacity:100}.no-response .container>*{text-align:center}.no-responding{transition:all 1s ease-in-out;filter:blur(10px)}pre.index-alert{margin-bottom:0;padding:1rem;background-color:#343a40;border:1px solid rgba(0,0,0,.125);border-radius:.25rem;margin-top:1rem;color:#fff}.peerNameCol{display:flex;align-items:center;margin-bottom:.2rem}.peerName{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.peerLightContainer{text-transform:uppercase;margin:0;margin-left:auto!important}#config_body{transition:.3s ease-in-out}#config_body.firstLoading{opacity:.2}.chartTitle{display:flex}.chartControl{margin-bottom:1rem;display:flex;align-items:center}.chartTitle h6{margin-bottom:0;line-height:1;margin-right:.5rem}.chartContainer.fullScreen{position:fixed;z-index:9999;background-color:#fff;top:0;left:0;width:calc(100% + 15px);height:100%;padding:32px}.chartContainer.fullScreen .col-sm{padding-right:0;height:100%}.chartContainer.fullScreen .chartCanvasContainer{width:100%;height:calc(100% - 47px)!important;max-height:calc(100% - 47px)!important}#switch{transition:all .2s ease-in}.toggle--switch{display:none}.toggleLabel{width:64px;height:32px;background-color:#6c757d17;display:flex;position:relative;border:2px solid #6c757d8c;border-radius:100px;transition:all .2s ease-in;cursor:pointer;margin:0}.toggle--switch.waiting+.toggleLabel{opacity:.5}.toggleLabel:before{background-color:#6c757d;height:26px;width:26px;content:"";border-radius:100px;margin:1px;position:absolute;animation-name:off;animation-duration:.35s;animation-fill-mode:forwards;transition:all .2s ease-in;cursor:pointer}.toggleLabel:hover:before{filter:brightness(1.2)}.toggle--switch:checked+.toggleLabel{background-color:#007bff17!important;border:2px solid #007bff8c}.toggle--switch:checked+.toggleLabel:before{background-color:#007bff;animation-name:on;animation-duration:.35s;animation-fill-mode:forwards}@keyframes on{0%{left:0}60%{left:0;width:40px}to{left:32px;width:26px}}@keyframes off{0%{left:32px}60%{left:18px;width:40px}to{left:0;width:26px}}.toastContainer{z-index:99999!important}.toast{min-width:300px;background-color:#fff;z-index:99999}.toast-header{background-color:#fff}.toast-progressbar{width:100%;height:4px;background-color:#007bff;border-bottom-left-radius:.25rem}.addConfigurationAvailableIPs{margin-bottom:0}.input-feedback{display:none}#addConfigurationModal label{display:flex;width:100%;align-items:center}#addConfigurationModal label a{margin-left:auto!important}#reGeneratePrivateKey{border-top-right-radius:10px;border-bottom-right-radius:10px}.addConfigurationToggleStatus.waiting{opacity:.5}.peerDataUsageChartContainer{min-height:50vh;width:100%}.peerDataUsageChartControl{display:block!important;margin:0}.peerDataUsageChartControl .switchUnit{width:33.3%}.peerDataUsageChartControl .switchTimePeriod{width:25%}@media (min-width: 1200px){#peerDataUsage .modal-xl{max-width:95vw}}.bottom{display:none}@media (max-width: 768px){.bottom{display:block}.btn-manage-group{bottom:calc(3rem + 40px + env(safe-area-inset-bottom,5px))}main{padding-bottom:calc(3rem + 40px + env(safe-area-inset-bottom,5px))}}.bottomNavContainer{display:flex;color:#333;padding-bottom:env(safe-area-inset-bottom,5px);box-shadow:inset 0 1px #0000001a}.bottomNavButton{width:25vw;display:flex;flex-direction:column;align-items:center;margin:.7rem 0;color:#33333380;cursor:pointer;transition:all ease-in .2s}.bottomNavButton.active{color:#333}.bottomNavButton i{font-size:1.2rem}.bottomNavButton .subNav{width:100vw;position:absolute;z-index:10000;bottom:0;left:0;background-color:#272b30;display:none;animation-duration:.4s;padding-bottom:env(safe-area-inset-bottom,5px)}.bottomNavButton .subNav.active{display:block}.bottomNavButton .subNav .nav .nav-item .nav-link{padding:.7rem 1rem}.bottomNavWrapper{height:100%;width:100%;background-color:#000000a1;position:fixed;z-index:1030;display:none;left:0}.bottomNavWrapper.active{display:block}.sb-update-url .dot-running{transform:translate(10px)}.list-group-item{transition:all .1s ease-in}.theme-switch-btn{width:100%}.fade-enter-active,.fade-leave-active{transition:all .3s ease-in-out}.fade-enter-from,.fade-leave-to{transform:translateY(30px);opacity:0}.fade2-enter-active,.fade2-leave-active{transition:all .15s ease-in-out}.fade2-enter-from{transform:translate(20px);opacity:0}.fade2-leave-to{transform:translate(-20px);opacity:0}.login-container-fluid{height:calc(100% - 50px)!important}.totp{font-family:var(--bs-font-monospace)}.message-move,.message-enter-active,.message-leave-active{transition:all .5s ease}.message-enter-from,.message-leave-to{filter:blur(2px);opacity:0}.message-enter-from{transform:translateY(-30px) scale(.7)}.message-leave-to{transform:translateY(30px)}.message-leave-active{position:absolute}.fade3-enter-active,.fade3-leave-active{transition:all .15s ease-in-out}.fade3-enter-from{transform:scale(1);opacity:0}.fade3-leave-to{transform:scale(.8);opacity:0}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease-in-out}.list-enter-from,.list-leave-to{opacity:0;transform:scale(1.1)}.list-leave-active{position:absolute}.peerSettingContainer{background-color:#00000060;z-index:9999;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}.dashboardModal{min-height:calc(100% - 3.5rem);width:700px}.dashboardModal>.card{margin:1.75rem}.zoom-enter-active,.zoom-leave-active,.zoomReversed-enter-active,.zoomReversed-leave-active{transition:all .3s cubic-bezier(.82,.58,.17,.9)}.zoom-enter-from,.zoom-leave-to{transform:scale(1.1);filter:blur(3px);opacity:0}.zoomReversed-enter-from,.zoomReversed-leave-to{transform:scale(.9);filter:blur(3px);opacity:0}.messageCentre{z-index:9999}/*! +@charset "UTF-8";*{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol}.dp__input{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol!important}::-webkit-scrollbar{display:none}.codeFont{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.feather{width:16px;height:16px;vertical-align:text-bottom}.btn-primary{font-weight:700}[data-bs-theme=dark]{hr{border-color:#efefef}}@property --brandColor1{syntax: ""; initial-value: #009dff; inherits: false;}@property --brandColor2{syntax: ""; initial-value: #ff4a00; inherits: false;}@property --distance2{syntax: ""; initial-value: 0%; inherits: false;}@property --degree{syntax: ""; initial-value: 234deg; inherits: false;}.dashboardLogo{background:#178bff;background:linear-gradient(234deg,var(--brandColor1) var(--distance2),var(--brandColor2) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;transition:--brandColor1 1s,--brandColor2 .3s,--distance2 1s!important}.btn-brand{background:linear-gradient(var(--degree),var(--brandColor1) var(--distance2),var(--brandColor2) 100%);border:0!important;transition:--brandColor1 1s,--brandColor2 1s,--distance2 .5s!important}.btn-brand.loading{animation:spin infinite forwards 3s linear}.btn-brand:hover,.dashboardLogo:hover{--brandColor1: #009dff;--brandColor2: #ff875b;--distance2: 30%}.signInBtn.signedIn{--distance2: 100%}@keyframes spin{0%{--degree: 234deg}to{--degree: 594deg}}[data-bs-theme=dark].main,#app:has(.main[data-bs-theme=dark]),[data-bs-theme=dark].navbar-container{background-color:#1b1e21}.sidebar .nav-link,.bottomNavContainer .nav-link{font-weight:500;color:#333;transition:.2s cubic-bezier(.82,-.07,0,1.01)}[data-bs-theme=dark] .sidebar .nav-link{color:#fff}[data-bs-theme=dark] .sidebar .nav-link.active{color:#74b7ff}[data-bs-theme=dark] .nav-link:hover{background-color:#323844}.nav-link:hover{background-color:#e8e8e8}.sidebar .nav-link .feather{margin-right:4px;color:#999}.sidebar .nav-link.active,.bottomNavContainer .nav-link.active{color:#007bff}.sidebar .nav-link:hover .feather,.sidebar .nav-link.active .feather{color:inherit}.sidebar-heading{font-size:.75rem;text-transform:uppercase}.navbar-brand{padding-top:.75rem;padding-bottom:.75rem;font-size:1rem}.navbar .navbar-toggler{top:.25rem;right:1rem}.form-control{transition:all .2s ease-in-out}.form-control:disabled{cursor:not-allowed}.navbar .form-control{padding:.75rem 1rem;border-width:0;border-radius:0}.form-control-dark{color:#fff;background-color:#ffffff1a;border-color:#ffffff1a}.form-control-dark:focus{border-color:transparent;box-shadow:0 0 0 3px #ffffff40}.dot{width:10px;height:10px;border-radius:50px;display:inline-block;margin-left:auto!important;background-color:#6c757d}.dot.active{background-color:#28a745!important;box-shadow:0 0 0 .2rem #28a74545}.h6-dot-running{margin-left:.3rem}.card-running{border-color:#28a745}.info h6{line-break:anywhere;transition:all .4s cubic-bezier(.96,-.07,.34,1.01);opacity:1}.info .row .col-sm{display:flex;flex-direction:column}.info .row .col-sm small{display:flex}.info .row .col-sm small strong:last-child(1){margin-left:auto!important}.btn-control{border:none!important;padding:0;margin:0 1rem 0 0}.btn-control:hover{background-color:transparent!important}.btn-control:active,.btn-control:focus{background-color:transparent!important;border:none!important;box-shadow:none}.btn-qrcode-peer{padding:0!important}.btn-qrcode-peer:active,.btn-qrcode-peer:hover{transform:scale(.9) rotate(180deg);border:0!important}.btn-download-peer:active,.btn-download-peer:hover{color:#17a2b8!important;transform:translateY(5px)}.share_peer_btn_group .btn-control{margin:0 0 0 1rem;padding:0!important;transition:all .4s cubic-bezier(1,-.43,0,1.37)}.btn-control:hover{background:#fff}.btn-delete-peer:hover{color:#dc3545}.btn-lock-peer:hover{color:#28a745}.btn-lock-peer.lock,.btn-lock-peer.lock:hover{color:#6c757d}.btn-control.btn-outline-primary:hover{color:#007bff}.btn-download-peer:hover{color:#17a2b8}.login-container{padding:2rem}@media (max-width: 992px){.card-col{margin-bottom:1rem}}.switch{font-size:2rem}.switch:hover{text-decoration:none}.btn-group-label:hover{color:#007bff;border-color:#007bff;background:#fff}.peer_data_group{text-align:right;display:flex;margin-bottom:.5rem}.peer_data_group p{text-transform:uppercase;margin-bottom:0;margin-right:1rem}@media (max-width: 768px){.peer_data_group{text-align:left}}.index-switch{display:flex;align-items:center;justify-content:flex-end}main{margin-bottom:3rem}.peer_list{margin-bottom:7rem}@media (max-width: 768px){.add_btn{bottom:1.5rem!important}.peer_list{margin-bottom:7rem!important}}.btn-manage-group{z-index:99;position:fixed;bottom:3rem;right:2rem;display:flex}.btn-manage-group .setting_btn_menu{position:absolute;top:-124px;background-color:#fff;padding:1rem 0;right:0;box-shadow:0 10px 20px #00000030,0 6px 6px #0000003b;border-radius:10px;min-width:250px;display:none;transform:translateY(-30px);opacity:0;transition:all .3s cubic-bezier(.58,.03,.05,1.28)}.btn-manage-group .setting_btn_menu.show{display:block}.setting_btn_menu.showing{transform:translateY(0);opacity:1}.setting_btn_menu a{display:flex;padding:.5rem 1rem;transition:all .1s ease-in-out;font-size:1rem;align-items:center;cursor:pointer}.setting_btn_menu a:hover{background-color:#efefef;text-decoration:none}.setting_btn_menu a i{margin-right:auto!important}.add_btn{height:54px;z-index:99;border-radius:100px!important;padding:0 14px;box-shadow:0 10px 20px #00000030,0 6px 6px #0000003b;margin-right:1rem;font-size:1.5rem}.setting_btn{height:54px;z-index:99;border-radius:100px!important;padding:0 14px;box-shadow:0 10px 20px #00000030,0 6px 6px #0000003b;font-size:1.5rem}@-webkit-keyframes rotating{0%{-webkit-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotating{0%{-ms-transform:rotate(0deg);-moz-transform:rotate(0deg);-webkit-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-ms-transform:rotate(360deg);-moz-transform:rotate(360deg);-webkit-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}.rotating:before{-webkit-animation:rotating .75s linear infinite;-moz-animation:rotating .75s linear infinite;-ms-animation:rotating .75s linear infinite;-o-animation:rotating .75s linear infinite;animation:rotating .75s linear infinite}.peer_private_key_textbox_switch{position:absolute;right:2rem;transform:translateY(-28px);font-size:1.2rem;cursor:pointer}#peer_private_key_textbox,#private_key,#public_key,#peer_preshared_key_textbox{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.progress-bar{transition:.3s ease-in-out}.key{transition:.2s ease-in-out;cursor:pointer}.key:hover{color:#007bff}.card{border-radius:10px}.peer_list .card .button-group{height:22px}.form-control{border-radius:10px}.btn{border-radius:8px}.login-box #username,.login-box #password,.login-box #totp{padding:.6rem calc(.9rem + 32px);height:inherit}.login-box label[for=username],.login-box label[for=password],.login-box label[for=totp]{font-size:1rem;margin:0!important;transform:translateY(2.1rem) translate(1rem);padding:0}.modal-content{border-radius:10px}.tooltip-inner{font-size:.8rem}@-webkit-keyframes loading{0%{background-color:#dfdfdf}50%{background-color:#adadad}to{background-color:#dfdfdf}}@-moz-keyframes loading{0%{background-color:#dfdfdf}50%{background-color:#adadad}to{background-color:#dfdfdf}}.conf_card{transition:.2s ease-in-out}.conf_card:hover{border-color:#007bff}.info_loading{height:19.19px;opacity:0!important}#conf_status_btn{transition:.2s ease-in-out}#conf_status_btn.info_loading{height:38px;border-radius:5px;animation:loading 3s infinite ease-in-out}#qrcode_img img{width:100%}#selected_ip_list .badge,#selected_peer_list .badge{margin:.1rem}#add_modal.ip_modal_open{transition:filter .2s ease-in-out;filter:brightness(.5)}#delete_bulk_modal .list-group a.active{background-color:#dc3545;border-color:#dc3545}#selected_peer_list{max-height:80px;overflow-y:scroll;overflow-x:hidden}.no-response{width:100%;height:100%;position:fixed;background:#000000ba;z-index:10000;display:none;flex-direction:column;align-items:center;justify-content:center;opacity:0;transition:all 1s ease-in-out}.no-response.active{display:flex}.no-response.active.show{opacity:100}.no-response .container>*{text-align:center}.no-responding{transition:all 1s ease-in-out;filter:blur(10px)}pre.index-alert{margin-bottom:0;padding:1rem;background-color:#343a40;border:1px solid rgba(0,0,0,.125);border-radius:.25rem;margin-top:1rem;color:#fff}.peerNameCol{display:flex;align-items:center;margin-bottom:.2rem}.peerName{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.peerLightContainer{text-transform:uppercase;margin:0;margin-left:auto!important}#config_body{transition:.3s ease-in-out}#config_body.firstLoading{opacity:.2}.chartTitle{display:flex}.chartControl{margin-bottom:1rem;display:flex;align-items:center}.chartTitle h6{margin-bottom:0;line-height:1;margin-right:.5rem}.chartContainer.fullScreen{position:fixed;z-index:9999;background-color:#fff;top:0;left:0;width:calc(100% + 15px);height:100%;padding:32px}.chartContainer.fullScreen .col-sm{padding-right:0;height:100%}.chartContainer.fullScreen .chartCanvasContainer{width:100%;height:calc(100% - 47px)!important;max-height:calc(100% - 47px)!important}#switch{transition:all .2s ease-in}.toggle--switch{display:none}.toggleLabel{width:64px;height:32px;background-color:#6c757d17;display:flex;position:relative;border:2px solid #6c757d8c;border-radius:100px;transition:all .2s ease-in;cursor:pointer;margin:0}.toggle--switch.waiting+.toggleLabel{opacity:.5}.toggleLabel:before{background-color:#6c757d;height:26px;width:26px;content:"";border-radius:100px;margin:1px;position:absolute;animation-name:off;animation-duration:.35s;animation-fill-mode:forwards;transition:all .2s ease-in;cursor:pointer}.toggleLabel:hover:before{filter:brightness(1.2)}.toggle--switch:checked+.toggleLabel{background-color:#007bff17!important;border:2px solid #007bff8c}.toggle--switch:checked+.toggleLabel:before{background-color:#007bff;animation-name:on;animation-duration:.35s;animation-fill-mode:forwards}@keyframes on{0%{left:0}60%{left:0;width:40px}to{left:32px;width:26px}}@keyframes off{0%{left:32px}60%{left:18px;width:40px}to{left:0;width:26px}}.toastContainer{z-index:99999!important}.toast{min-width:300px;background-color:#fff;z-index:99999}.toast-header{background-color:#fff}.toast-progressbar{width:100%;height:4px;background-color:#007bff;border-bottom-left-radius:.25rem}.addConfigurationAvailableIPs{margin-bottom:0}.input-feedback{display:none}#addConfigurationModal label{display:flex;width:100%;align-items:center}#addConfigurationModal label a{margin-left:auto!important}#reGeneratePrivateKey{border-top-right-radius:10px;border-bottom-right-radius:10px}.addConfigurationToggleStatus.waiting{opacity:.5}.peerDataUsageChartContainer{min-height:50vh;width:100%}.peerDataUsageChartControl{display:block!important;margin:0}.peerDataUsageChartControl .switchUnit{width:33.3%}.peerDataUsageChartControl .switchTimePeriod{width:25%}@media (min-width: 1200px){#peerDataUsage .modal-xl{max-width:95vw}}.bottom{display:none}@media (max-width: 768px){.bottom{display:block}.btn-manage-group{bottom:calc(3rem + 40px + env(safe-area-inset-bottom,5px))}main{padding-bottom:calc(3rem + 40px + env(safe-area-inset-bottom,5px))}}.bottomNavContainer{display:flex;color:#333;padding-bottom:env(safe-area-inset-bottom,5px);box-shadow:inset 0 1px #0000001a}.bottomNavButton{width:25vw;display:flex;flex-direction:column;align-items:center;margin:.7rem 0;color:#33333380;cursor:pointer;transition:all ease-in .2s}.bottomNavButton.active{color:#333}.bottomNavButton i{font-size:1.2rem}.bottomNavButton .subNav{width:100vw;position:absolute;z-index:10000;bottom:0;left:0;background-color:#272b30;display:none;animation-duration:.4s;padding-bottom:env(safe-area-inset-bottom,5px)}.bottomNavButton .subNav.active{display:block}.bottomNavButton .subNav .nav .nav-item .nav-link{padding:.7rem 1rem}.bottomNavWrapper{height:100%;width:100%;background-color:#000000a1;position:fixed;z-index:1030;display:none;left:0}.bottomNavWrapper.active{display:block}.sb-update-url .dot-running{transform:translate(10px)}.list-group-item{transition:all .1s ease-in}.theme-switch-btn{width:100%}.fade-enter-active,.fade-leave-active{transition:all .3s ease-in-out}.fade-enter-from,.fade-leave-to{transform:translateY(30px);opacity:0}.fade2-enter-active,.fade2-leave-active{transition:all .15s ease-in-out}.fade2-enter-from{transform:translate(20px);opacity:0}.fade2-leave-to{transform:translate(-20px);opacity:0}.login-container-fluid{height:calc(100% - 50px)!important}.totp{font-family:var(--bs-font-monospace)}.message-move,.message-enter-active,.message-leave-active{transition:all .5s ease}.message-enter-from,.message-leave-to{filter:blur(2px);opacity:0}.message-enter-from{transform:translateY(-30px) scale(.7)}.message-leave-to{transform:translateY(30px)}.message-leave-active{position:absolute}.fade3-enter-active,.fade3-leave-active{transition:all .15s ease-in-out}.fade3-enter-from{transform:scale(1);opacity:0}.fade3-leave-to{transform:scale(.8);opacity:0}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease-in-out}.list-enter-from,.list-leave-to{opacity:0;transform:scale(1.1)}.list-leave-active{position:absolute}.peerSettingContainer{background-color:#00000060;z-index:9999;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}.dashboardModal{min-height:calc(100% - 3.5rem);width:700px}.dashboardModal>.card{margin:1.75rem}.zoom-enter-active,.zoom-leave-active,.zoomReversed-enter-active,.zoomReversed-leave-active{transition:all .3s cubic-bezier(.82,.58,.17,.9)}.zoom-enter-from,.zoom-leave-to{transform:scale(1.1);filter:blur(3px);opacity:0}.zoomReversed-enter-from,.zoomReversed-leave-to{transform:scale(.9);filter:blur(3px);opacity:0}.messageCentre{z-index:9999}.slide-move,.slide-enter-active,.slide-leave-active{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.slide-leave-active{position:absolute;width:100%}.slide-enter-from{opacity:0;transform:translate(-50px)!important}.slide-leave-to{opacity:0;transform:translate(50px)!important}/*! * Bootstrap v5.3.2 (https://getbootstrap.com/) * Copyright 2011-2023 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */:root,[data-bs-theme=light]{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: #052c65;--bs-secondary-text-emphasis: #2b2f32;--bs-success-text-emphasis: #0a3622;--bs-info-text-emphasis: #055160;--bs-warning-text-emphasis: #664d03;--bs-danger-text-emphasis: #58151c;--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: #cfe2ff;--bs-secondary-bg-subtle: #e2e3e5;--bs-success-bg-subtle: #d1e7dd;--bs-info-bg-subtle: #cff4fc;--bs-warning-bg-subtle: #fff3cd;--bs-danger-bg-subtle: #f8d7da;--bs-light-bg-subtle: #fcfcfd;--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: #9ec5fe;--bs-secondary-border-subtle: #c4c8cb;--bs-success-border-subtle: #a3cfbb;--bs-info-border-subtle: #9eeaf9;--bs-warning-border-subtle: #ffe69c;--bs-danger-border-subtle: #f1aeb5;--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, .75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, .5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: #0a58ca;--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: #fff3cd;--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, .175);--bs-border-radius: .375rem;--bs-border-radius-sm: .25rem;--bs-border-radius-lg: .5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-box-shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-focus-ring-width: .25rem;--bs-focus-ring-opacity: .25;--bs-focus-ring-color: rgba(13, 110, 253, .25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, .75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, .5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: #2b3035;--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: #6ea8fe;--bs-secondary-text-emphasis: #a7acb1;--bs-success-text-emphasis: #75b798;--bs-info-text-emphasis: #6edff6;--bs-warning-text-emphasis: #ffda6a;--bs-danger-text-emphasis: #ea868f;--bs-light-text-emphasis: #f8f9fa;--bs-dark-text-emphasis: #dee2e6;--bs-primary-bg-subtle: #031633;--bs-secondary-bg-subtle: #161719;--bs-success-bg-subtle: #051b11;--bs-info-bg-subtle: #032830;--bs-warning-bg-subtle: #332701;--bs-danger-bg-subtle: #2c0b0e;--bs-light-bg-subtle: #343a40;--bs-dark-bg-subtle: #1a1d20;--bs-primary-border-subtle: #084298;--bs-secondary-border-subtle: #41464b;--bs-success-border-subtle: #0f5132;--bs-info-border-subtle: #087990;--bs-warning-border-subtle: #997404;--bs-danger-border-subtle: #842029;--bs-light-border-subtle: #495057;--bs-dark-border-subtle: #343a40;--bs-heading-color: inherit;--bs-link-color: #6ea8fe;--bs-link-hover-color: #8bb9fe;--bs-link-color-rgb: 110, 168, 254;--bs-link-hover-color-rgb: 139, 185, 254;--bs-code-color: #e685b5;--bs-highlight-color: #dee2e6;--bs-highlight-bg: #664d03;--bs-border-color: #495057;--bs-border-color-translucent: rgba(255, 255, 255, .15);--bs-form-valid-color: #75b798;--bs-form-valid-border-color: #75b798;--bs-form-invalid-color: #ea868f;--bs-form-invalid-border-color: #ea868f}*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}h1,.h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width: 1200px){h1,.h1{font-size:2.5rem}}h2,.h2{font-size:calc(1.325rem + .9vw)}@media (min-width: 1200px){h2,.h2{font-size:2rem}}h3,.h3{font-size:calc(1.3rem + .6vw)}@media (min-width: 1200px){h3,.h3{font-size:1.75rem}}h4,.h4{font-size:calc(1.275rem + .3vw)}@media (min-width: 1200px){h4,.h4{font-size:1.5rem}}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:.875em}mark,.mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, 1));text-decoration:underline}a:hover{--bs-link-color-rgb: var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width: 1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width: 576px){.container-sm,.container{max-width:540px}}@media (min-width: 768px){.container-md,.container-sm,.container{max-width:720px}}@media (min-width: 992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}@media (min-width: 1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}@media (min-width: 1400px){.container-xxl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}}:root{--bs-breakpoint-xs: 0;--bs-breakpoint-sm: 576px;--bs-breakpoint-md: 768px;--bs-breakpoint-lg: 992px;--bs-breakpoint-xl: 1200px;--bs-breakpoint-xxl: 1400px}.row{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: .25rem}.g-1,.gy-1{--bs-gutter-y: .25rem}.g-2,.gx-2{--bs-gutter-x: .5rem}.g-2,.gy-2{--bs-gutter-y: .5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}@media (min-width: 576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: .25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: .25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: .5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: .5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}@media (min-width: 768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: .25rem}.g-md-1,.gy-md-1{--bs-gutter-y: .25rem}.g-md-2,.gx-md-2{--bs-gutter-x: .5rem}.g-md-2,.gy-md-2{--bs-gutter-y: .5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}@media (min-width: 992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: .25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: .25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: .5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: .5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}@media (min-width: 1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: .25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: .25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: .5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: .5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}@media (min-width: 1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x: .25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y: .25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x: .5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y: .5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y: 3rem}}.table{--bs-table-color-type: initial;--bs-table-bg-type: initial;--bs-table-color-state: initial;--bs-table-bg-state: initial;--bs-table-color: var(--bs-emphasis-color);--bs-table-bg: var(--bs-body-bg);--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-emphasis-color);--bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), .05);--bs-table-active-color: var(--bs-emphasis-color);--bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), .1);--bs-table-hover-color: var(--bs-emphasis-color);--bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), .075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;color:var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-active{--bs-table-color-state: var(--bs-table-active-color);--bs-table-bg-state: var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state: var(--bs-table-hover-color);--bs-table-bg-state: var(--bs-table-hover-bg)}.table-primary{--bs-table-color: #000;--bs-table-bg: #cfe2ff;--bs-table-border-color: #a6b5cc;--bs-table-striped-bg: #c5d7f2;--bs-table-striped-color: #000;--bs-table-active-bg: #bacbe6;--bs-table-active-color: #000;--bs-table-hover-bg: #bfd1ec;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: #e2e3e5;--bs-table-border-color: #b5b6b7;--bs-table-striped-bg: #d7d8da;--bs-table-striped-color: #000;--bs-table-active-bg: #cbccce;--bs-table-active-color: #000;--bs-table-hover-bg: #d1d2d4;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: #d1e7dd;--bs-table-border-color: #a7b9b1;--bs-table-striped-bg: #c7dbd2;--bs-table-striped-color: #000;--bs-table-active-bg: #bcd0c7;--bs-table-active-color: #000;--bs-table-hover-bg: #c1d6cc;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: #cff4fc;--bs-table-border-color: #a6c3ca;--bs-table-striped-bg: #c5e8ef;--bs-table-striped-color: #000;--bs-table-active-bg: #badce3;--bs-table-active-color: #000;--bs-table-hover-bg: #bfe2e9;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: #fff3cd;--bs-table-border-color: #ccc2a4;--bs-table-striped-bg: #f2e7c3;--bs-table-striped-color: #000;--bs-table-active-bg: #e6dbb9;--bs-table-active-color: #000;--bs-table-hover-bg: #ece1be;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: #f8d7da;--bs-table-border-color: #c6acae;--bs-table-striped-bg: #eccccf;--bs-table-striped-color: #000;--bs-table-active-bg: #dfc2c4;--bs-table-active-color: #000;--bs-table-hover-bg: #e5c7ca;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: #c6c7c8;--bs-table-striped-bg: #ecedee;--bs-table-striped-color: #000;--bs-table-active-bg: #dfe0e1;--bs-table-active-color: #000;--bs-table-hover-bg: #e5e6e7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #212529;--bs-table-border-color: #4d5154;--bs-table-striped-bg: #2c3034;--bs-table-striped-color: #fff;--bs-table-active-bg: #373b3e;--bs-table-active-color: #fff;--bs-table-hover-bg: #323539;--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width: 575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::-moz-placeholder{color:var(--bs-secondary-color);opacity:1}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--bs-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon, none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg: var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;-webkit-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;-moz-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion: reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::-moz-placeholder,.form-floating>.form-control-plaintext::-moz-placeholder{color:transparent}.form-floating>.form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.form-floating>.form-control:not(:-moz-placeholder-shown),.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:not(:-moz-placeholder-shown)~label:after{position:absolute;inset:1rem .375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:focus~label:after,.form-floating>.form-control:not(:placeholder-shown)~label:after,.form-floating>.form-control-plaintext~label:after,.form-floating>.form-select~label:after{position:absolute;inset:1rem .375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>:disabled~label,.form-floating>.form-control:disabled~label{color:#6c757d}.form-floating>:disabled~label:after,.form-floating>.form-control:disabled~label:after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,.is-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.form-control.is-valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:valid,.form-select.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-control-color:valid,.form-control-color.is-valid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:valid,.form-check-input.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-check-input:valid:checked,.form-check-input.is-valid:checked{background-color:var(--bs-form-valid-color)}.was-validated .form-check-input:valid:focus,.form-check-input.is-valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-check-input:valid~.form-check-label,.form-check-input.is-valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-control-color:invalid,.form-control-color.is-invalid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:invalid,.form-check-input.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-check-input:invalid:checked,.form-check-input.is-invalid:checked{background-color:var(--bs-form-invalid-color)}.was-validated .form-check-input:invalid:focus,.form-check-input.is-invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-check-input:invalid~.form-check-label,.form-check-input.is-invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid{z-index:4}.btn{--bs-btn-padding-x: .75rem;--bs-btn-padding-y: .375rem;--bs-btn-font-family: ;--bs-btn-font-size: 1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: var(--bs-body-color);--bs-btn-bg: transparent;--bs-btn-border-width: var(--bs-border-width);--bs-btn-border-color: transparent;--bs-btn-border-radius: var(--bs-border-radius);--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity: .65;--bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color: #fff;--bs-btn-bg: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0b5ed7;--bs-btn-hover-border-color: #0a58ca;--bs-btn-focus-shadow-rgb: 49, 132, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0a58ca;--bs-btn-active-border-color: #0a53be;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #0d6efd;--bs-btn-disabled-border-color: #0d6efd}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #5c636a;--bs-btn-hover-border-color: #565e64;--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: #565e64;--bs-btn-active-border-color: #51585e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #6c757d;--bs-btn-disabled-border-color: #6c757d}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #157347;--bs-btn-hover-border-color: #146c43;--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: #146c43;--bs-btn-active-border-color: #13653f;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #198754;--bs-btn-disabled-border-color: #198754}.btn-info{--bs-btn-color: #000;--bs-btn-bg: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #31d2f2;--bs-btn-hover-border-color: #25cff2;--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: #3dd5f3;--bs-btn-active-border-color: #25cff2;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #0dcaf0;--bs-btn-disabled-border-color: #0dcaf0}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffca2c;--bs-btn-hover-border-color: #ffc720;--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffcd39;--bs-btn-active-border-color: #ffc720;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ffc107;--bs-btn-disabled-border-color: #ffc107}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #bb2d3b;--bs-btn-hover-border-color: #b02a37;--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: #b02a37;--bs-btn-active-border-color: #a52834;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d3d4d5;--bs-btn-hover-border-color: #c6c7c8;--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: #c6c7c8;--bs-btn-active-border-color: #babbbc;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #424649;--bs-btn-hover-border-color: #373b3e;--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: #4d5154;--bs-btn-active-border-color: #373b3e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #212529;--bs-btn-disabled-border-color: #212529}.btn-outline-primary{--bs-btn-color: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0d6efd;--bs-btn-hover-border-color: #0d6efd;--bs-btn-focus-shadow-rgb: 13, 110, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0d6efd;--bs-btn-active-border-color: #0d6efd;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0d6efd;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0d6efd;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #6c757d;--bs-btn-hover-border-color: #6c757d;--bs-btn-focus-shadow-rgb: 108, 117, 125;--bs-btn-active-color: #fff;--bs-btn-active-bg: #6c757d;--bs-btn-active-border-color: #6c757d;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #6c757d;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #198754;--bs-btn-hover-border-color: #198754;--bs-btn-focus-shadow-rgb: 25, 135, 84;--bs-btn-active-color: #fff;--bs-btn-active-bg: #198754;--bs-btn-active-border-color: #198754;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #198754;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #198754;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #0dcaf0;--bs-btn-hover-border-color: #0dcaf0;--bs-btn-focus-shadow-rgb: 13, 202, 240;--bs-btn-active-color: #000;--bs-btn-active-bg: #0dcaf0;--bs-btn-active-border-color: #0dcaf0;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0dcaf0;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0dcaf0;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffc107;--bs-btn-hover-border-color: #ffc107;--bs-btn-focus-shadow-rgb: 255, 193, 7;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffc107;--bs-btn-active-border-color: #ffc107;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #ffc107;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ffc107;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #212529;--bs-btn-hover-border-color: #212529;--bs-btn-focus-shadow-rgb: 33, 37, 41;--bs-btn-active-color: #fff;--bs-btn-active-bg: #212529;--bs-btn-active-border-color: #212529;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #212529;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #212529;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: 0 0 0 #000;--bs-btn-focus-shadow-rgb: 49, 132, 253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: .5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size: 1.25rem;--bs-btn-border-radius: var(--bs-border-radius-lg)}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: .25rem;--bs-btn-padding-x: .5rem;--bs-btn-font-size: .875rem;--bs-btn-border-radius: var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion: reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion: reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion: reduce){.collapsing.collapse-horizontal{transition:none}}.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: .5rem;--bs-dropdown-spacer: .125rem;--bs-dropdown-font-size: 1rem;--bs-dropdown-color: var(--bs-body-color);--bs-dropdown-bg: var(--bs-body-bg);--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: var(--bs-border-radius);--bs-dropdown-border-width: var(--bs-border-width);--bs-dropdown-inner-border-radius: calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: .5rem;--bs-dropdown-box-shadow: var(--bs-box-shadow);--bs-dropdown-link-color: var(--bs-body-color);--bs-dropdown-link-hover-color: var(--bs-body-color);--bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: var(--bs-tertiary-color);--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: .25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: .5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width: 576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1400px){.dropdown-menu-xxl-start{--bs-position: start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position: end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius, 0)}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, .15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:calc(var(--bs-border-width) * -1)}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:calc(var(--bs-border-width) * -1)}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn~.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:none;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion: reduce){.nav-link{transition:none}}.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: var(--bs-border-width);--bs-nav-tabs-border-color: var(--bs-border-color);--bs-nav-tabs-border-radius: var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color: var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg: var(--bs-body-bg);--bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: var(--bs-border-radius);--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap: 1rem;--bs-nav-underline-border-width: .125rem;--bs-nav-underline-link-active-color: var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:hover,.nav-underline .nav-link:focus{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: .5rem;--bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), .65);--bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), .8);--bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), .3);--bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y: .3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x: .5rem;--bs-navbar-toggler-padding-y: .25rem;--bs-navbar-toggler-padding-x: .75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), .15);--bs-navbar-toggler-border-radius: var(--bs-border-radius);--bs-navbar-toggler-focus-width: .25rem;--bs-navbar-toggler-transition: box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion: reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}@media (min-width: 576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color: rgba(255, 255, 255, .55);--bs-navbar-hover-color: rgba(255, 255, 255, .75);--bs-navbar-disabled-color: rgba(255, 255, 255, .25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: .5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width: var(--bs-border-width);--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y: .5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: rgba(var(--bs-body-color-rgb), .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: var(--bs-body-bg);--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: .75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;inset:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width: 576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-img-top,.card-group>.card:not(:last-child) .card-header{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-img-bottom,.card-group>.card:not(:last-child) .card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-img-top,.card-group>.card:not(:first-child) .card-header{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-img-bottom,.card-group>.card:not(:first-child) .card-footer{border-bottom-left-radius:0}}.accordion{--bs-accordion-color: var(--bs-body-color);--bs-accordion-bg: var(--bs-body-bg);--bs-accordion-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: var(--bs-border-width);--bs-accordion-border-radius: var(--bs-border-radius);--bs-accordion-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: var(--bs-body-color);--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform .2s ease-in-out;--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23052c65'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-focus-border-color: #86b7fe;--bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: var(--bs-primary-text-emphasis);--bs-accordion-active-bg: var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion: reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion: reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--bs-accordion-btn-focus-border-color);outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}[data-bs-theme=dark] .accordion-button:after{--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: var(--bs-secondary-color);--bs-breadcrumb-item-padding-x: .5rem;--bs-breadcrumb-item-active-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x: .75rem;--bs-pagination-padding-y: .375rem;--bs-pagination-font-size: 1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: var(--bs-body-bg);--bs-pagination-border-width: var(--bs-border-width);--bs-pagination-border-color: var(--bs-border-color);--bs-pagination-border-radius: var(--bs-border-radius);--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: var(--bs-tertiary-bg);--bs-pagination-hover-border-color: var(--bs-border-color);--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: var(--bs-secondary-bg);--bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #0d6efd;--bs-pagination-active-border-color: #0d6efd;--bs-pagination-disabled-color: var(--bs-secondary-color);--bs-pagination-disabled-bg: var(--bs-secondary-bg);--bs-pagination-disabled-border-color: var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,.active>.page-link{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,.disabled>.page-link{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--bs-border-width) * -1)}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: .75rem;--bs-pagination-font-size: 1.25rem;--bs-pagination-border-radius: var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x: .5rem;--bs-pagination-padding-y: .25rem;--bs-pagination-font-size: .875rem;--bs-pagination-border-radius: var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x: .65em;--bs-badge-padding-y: .35em;--bs-badge-font-size: .75em;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius: var(--bs-border-radius);--bs-alert-link-color: inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color: var(--bs-primary-text-emphasis);--bs-alert-bg: var(--bs-primary-bg-subtle);--bs-alert-border-color: var(--bs-primary-border-subtle);--bs-alert-link-color: var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color: var(--bs-secondary-text-emphasis);--bs-alert-bg: var(--bs-secondary-bg-subtle);--bs-alert-border-color: var(--bs-secondary-border-subtle);--bs-alert-link-color: var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color: var(--bs-success-text-emphasis);--bs-alert-bg: var(--bs-success-bg-subtle);--bs-alert-border-color: var(--bs-success-border-subtle);--bs-alert-link-color: var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color: var(--bs-info-text-emphasis);--bs-alert-bg: var(--bs-info-bg-subtle);--bs-alert-border-color: var(--bs-info-border-subtle);--bs-alert-link-color: var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color: var(--bs-warning-text-emphasis);--bs-alert-bg: var(--bs-warning-bg-subtle);--bs-alert-border-color: var(--bs-warning-border-subtle);--bs-alert-link-color: var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color: var(--bs-danger-text-emphasis);--bs-alert-bg: var(--bs-danger-bg-subtle);--bs-alert-border-color: var(--bs-danger-border-subtle);--bs-alert-link-color: var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color: var(--bs-light-text-emphasis);--bs-alert-bg: var(--bs-light-bg-subtle);--bs-alert-border-color: var(--bs-light-border-subtle);--bs-alert-link-color: var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color: var(--bs-dark-text-emphasis);--bs-alert-bg: var(--bs-dark-bg-subtle);--bs-alert-border-color: var(--bs-dark-border-subtle);--bs-alert-link-color: var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height: 1rem;--bs-progress-font-size: .75rem;--bs-progress-bg: var(--bs-secondary-bg);--bs-progress-border-radius: var(--bs-border-radius);--bs-progress-box-shadow: var(--bs-box-shadow-inset);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #0d6efd;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion: reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion: reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color: var(--bs-body-color);--bs-list-group-bg: var(--bs-body-bg);--bs-list-group-border-color: var(--bs-border-color);--bs-list-group-border-width: var(--bs-border-width);--bs-list-group-border-radius: var(--bs-border-radius);--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: var(--bs-secondary-color);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-tertiary-bg);--bs-list-group-action-active-color: var(--bs-body-color);--bs-list-group-action-active-bg: var(--bs-secondary-bg);--bs-list-group-disabled-color: var(--bs-secondary-color);--bs-list-group-disabled-bg: var(--bs-body-bg);--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #0d6efd;--bs-list-group-active-border-color: #0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width: 576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color: var(--bs-primary-text-emphasis);--bs-list-group-bg: var(--bs-primary-bg-subtle);--bs-list-group-border-color: var(--bs-primary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-primary-border-subtle);--bs-list-group-active-color: var(--bs-primary-bg-subtle);--bs-list-group-active-bg: var(--bs-primary-text-emphasis);--bs-list-group-active-border-color: var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color: var(--bs-secondary-text-emphasis);--bs-list-group-bg: var(--bs-secondary-bg-subtle);--bs-list-group-border-color: var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);--bs-list-group-active-color: var(--bs-secondary-bg-subtle);--bs-list-group-active-bg: var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color: var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color: var(--bs-success-text-emphasis);--bs-list-group-bg: var(--bs-success-bg-subtle);--bs-list-group-border-color: var(--bs-success-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-success-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-success-border-subtle);--bs-list-group-active-color: var(--bs-success-bg-subtle);--bs-list-group-active-bg: var(--bs-success-text-emphasis);--bs-list-group-active-border-color: var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color: var(--bs-info-text-emphasis);--bs-list-group-bg: var(--bs-info-bg-subtle);--bs-list-group-border-color: var(--bs-info-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-info-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-info-border-subtle);--bs-list-group-active-color: var(--bs-info-bg-subtle);--bs-list-group-active-bg: var(--bs-info-text-emphasis);--bs-list-group-active-border-color: var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color: var(--bs-warning-text-emphasis);--bs-list-group-bg: var(--bs-warning-bg-subtle);--bs-list-group-border-color: var(--bs-warning-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-warning-border-subtle);--bs-list-group-active-color: var(--bs-warning-bg-subtle);--bs-list-group-active-bg: var(--bs-warning-text-emphasis);--bs-list-group-active-border-color: var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color: var(--bs-danger-text-emphasis);--bs-list-group-bg: var(--bs-danger-bg-subtle);--bs-list-group-border-color: var(--bs-danger-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-danger-border-subtle);--bs-list-group-active-color: var(--bs-danger-bg-subtle);--bs-list-group-active-bg: var(--bs-danger-text-emphasis);--bs-list-group-active-border-color: var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color: var(--bs-light-text-emphasis);--bs-list-group-bg: var(--bs-light-bg-subtle);--bs-list-group-border-color: var(--bs-light-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-light-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-light-border-subtle);--bs-list-group-active-color: var(--bs-light-bg-subtle);--bs-list-group-active-bg: var(--bs-light-text-emphasis);--bs-list-group-active-border-color: var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color: var(--bs-dark-text-emphasis);--bs-list-group-bg: var(--bs-dark-bg-subtle);--bs-list-group-border-color: var(--bs-dark-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-dark-border-subtle);--bs-list-group-active-color: var(--bs-dark-bg-subtle);--bs-list-group-active-bg: var(--bs-dark-text-emphasis);--bs-list-group-active-border-color: var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color: #000;--bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");--bs-btn-close-opacity: .5;--bs-btn-close-hover-opacity: .75;--bs-btn-close-focus-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-btn-close-focus-opacity: 1;--bs-btn-close-disabled-opacity: .25;--bs-btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close:disabled,.btn-close.disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white,[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: .75rem;--bs-toast-padding-y: .5rem;--bs-toast-spacing: 1.5rem;--bs-toast-max-width: 350px;--bs-toast-font-size: .875rem;--bs-toast-color: ;--bs-toast-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-border-width: var(--bs-border-width);--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: var(--bs-border-radius);--bs-toast-box-shadow: var(--bs-box-shadow);--bs-toast-header-color: var(--bs-secondary-color);--bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-header-border-color: var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg: var(--bs-body-bg);--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: var(--bs-border-width);--bs-modal-border-radius: var(--bs-border-radius-lg);--bs-modal-box-shadow: var(--bs-box-shadow-sm);--bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: var(--bs-border-width);--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion: reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width: 576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}@media (min-width: 992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}@media (min-width: 1200px){.modal-xl{--bs-modal-width: 1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width: 575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width: 767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width: 991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width: 1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width: 1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header,.modal-fullscreen-xxl-down .modal-footer{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: .5rem;--bs-tooltip-padding-y: .25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size: .875rem;--bs-tooltip-color: var(--bs-body-bg);--bs-tooltip-bg: var(--bs-emphasis-color);--bs-tooltip-border-radius: var(--bs-border-radius);--bs-tooltip-opacity: .9;--bs-tooltip-arrow-width: .8rem;--bs-tooltip-arrow-height: .4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-top .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-bottom .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 276px;--bs-popover-font-size: .875rem;--bs-popover-bg: var(--bs-body-bg);--bs-popover-border-width: var(--bs-border-width);--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: var(--bs-border-radius-lg);--bs-popover-inner-border-radius: calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow: var(--bs-box-shadow);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: .5rem;--bs-popover-header-font-size: 1rem;--bs-popover-header-color: inherit;--bs-popover-header-bg: var(--bs-secondary-bg);--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: var(--bs-body-color);--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: .5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:before,.popover .popover-arrow:after{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header:before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion: reduce){.carousel-item{transition:none}}.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translate(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion: reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion: reduce){.carousel-control-prev,.carousel-control-next{transition:none}}.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion: reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-prev-icon,.carousel-dark .carousel-control-next-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media (prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}.offcanvas,.offcanvas-xxl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: var(--bs-body-color);--bs-offcanvas-bg: var(--bs-body-bg);--bs-offcanvas-border-width: var(--bs-border-width);--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: var(--bs-box-shadow-sm);--bs-offcanvas-transition: transform .3s ease-in-out;--bs-offcanvas-title-line-height: 1.5}@media (max-width: 575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 575.98px) and (prefers-reduced-motion: reduce){.offcanvas-sm{transition:none}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}@media (min-width: 576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 767.98px) and (prefers-reduced-motion: reduce){.offcanvas-md{transition:none}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}@media (min-width: 768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 991.98px) and (prefers-reduced-motion: reduce){.offcanvas-lg{transition:none}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}@media (min-width: 992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce){.offcanvas-xl{transition:none}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}@media (min-width: 1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 1399.98px) and (prefers-reduced-motion: reduce){.offcanvas-xxl{transition:none}}@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.showing,.offcanvas-xxl.show:not(.hiding){transform:none}.offcanvas-xxl.showing,.offcanvas-xxl.hiding,.offcanvas-xxl.show{visibility:visible}}@media (min-width: 1400px){.offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media (prefers-reduced-motion: reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,#000c,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--bs-primary-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--bs-secondary-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--bs-success-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-info{color:#000!important;background-color:RGBA(var(--bs-info-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--bs-light-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--bs-dark-rgb),var(--bs-bg-opacity, 1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-primary:hover,.link-primary:focus{color:RGBA(10,88,202,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity, 1))!important}.link-secondary{color:RGBA(var(--bs-secondary-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-secondary:hover,.link-secondary:focus{color:RGBA(86,94,100,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity, 1))!important}.link-success{color:RGBA(var(--bs-success-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity, 1))!important}.link-success:hover,.link-success:focus{color:RGBA(20,108,67,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity, 1))!important}.link-info{color:RGBA(var(--bs-info-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity, 1))!important}.link-info:hover,.link-info:focus{color:RGBA(61,213,243,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity, 1))!important}.link-warning{color:RGBA(var(--bs-warning-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity, 1))!important}.link-warning:hover,.link-warning:focus{color:RGBA(255,205,57,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity, 1))!important}.link-danger{color:RGBA(var(--bs-danger-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity, 1))!important}.link-danger:hover,.link-danger:focus{color:RGBA(176,42,55,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity, 1))!important}.link-light{color:RGBA(var(--bs-light-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity, 1))!important}.link-light:hover,.link-light:focus{color:RGBA(249,250,251,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity, 1))!important}.link-dark{color:RGBA(var(--bs-dark-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity, 1))!important}.link-dark:hover,.link-dark:focus{color:RGBA(26,30,33,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis:hover,.link-body-emphasis:focus{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, .75))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, .75))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, .75))!important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-underline-offset:.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media (prefers-reduced-motion: reduce){.icon-link>.bi{transition:none}}.icon-link-hover:hover>.bi,.icon-link-hover:focus-visible>.bi{transform:var(--bs-icon-link-transform, translate3d(.25em, 0, 0))}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio: 75%}.ratio-16x9{--bs-aspect-ratio: 56.25%}.ratio-21x9{--bs-aspect-ratio: 42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media (min-width: 576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width: 768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width: 992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width: 1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width: 1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden:not(caption),.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption){position:absolute!important}.stretched-link:after{position:absolute;inset:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:var(--bs-box-shadow)!important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm)!important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color: rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color: rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color: rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color: rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color: rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color: rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color: rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color: rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity: 1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity: .1}.border-opacity-25{--bs-border-opacity: .25}.border-opacity-50{--bs-border-opacity: .5}.border-opacity-75{--bs-border-opacity: .75}.border-opacity-100{--bs-border-opacity: 1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity: 1;color:#00000080!important}.text-white-50{--bs-text-opacity: 1;color:#ffffff80!important}.text-body-secondary{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity: 1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity: 1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity: 1;color:inherit!important}.text-opacity-25{--bs-text-opacity: .25}.text-opacity-50{--bs-text-opacity: .5}.text-opacity-75{--bs-text-opacity: .75}.text-opacity-100{--bs-text-opacity: 1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10,.link-opacity-10-hover:hover{--bs-link-opacity: .1}.link-opacity-25,.link-opacity-25-hover:hover{--bs-link-opacity: .25}.link-opacity-50,.link-opacity-50-hover:hover{--bs-link-opacity: .5}.link-opacity-75,.link-opacity-75-hover:hover{--bs-link-opacity: .75}.link-opacity-100,.link-opacity-100-hover:hover{--bs-link-opacity: 1}.link-offset-1,.link-offset-1-hover:hover{text-underline-offset:.125em!important}.link-offset-2,.link-offset-2-hover:hover{text-underline-offset:.25em!important}.link-offset-3,.link-offset-3-hover:hover{text-underline-offset:.375em!important}.link-underline-primary{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-underline-opacity-0,.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity: 0}.link-underline-opacity-10,.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity: .1}.link-underline-opacity-25,.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity: .25}.link-underline-opacity-50,.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity: .5}.link-underline-opacity-75,.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity: .75}.link-underline-opacity-100,.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity: 1}.bg-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity: 1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity: .1}.bg-opacity-25{--bs-bg-opacity: .25}.bg-opacity-50{--bs-bg-opacity: .5}.bg-opacity-75{--bs-bg-opacity: .75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media (min-width: 576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width: 768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width: 992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width: 1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width: 1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width: 1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}/*! * 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-a0b378dd]{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-a0b378dd]{animation-direction:normal;display:block!important;animation-name:zoomInFade-a0b378dd}}@keyframes zoomInFade-a0b378dd{0%{opacity:0;transform:translateY(60px);filter:blur(3px)}to{opacity:1;transform:translateY(0);filter:blur(0px)}}.messageCentre[data-v-b776d181]{top:calc(50px + 1rem);right:1rem}.dot.inactive[data-v-03a1c13c]{background-color:#dc3545;box-shadow:0 0 0 .2rem #dc354545}.spin[data-v-03a1c13c]{animation:spin-03a1c13c 1s infinite cubic-bezier(.82,.58,.17,.9)}@keyframes spin-03a1c13c{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media screen and (max-width: 768px){.remoteServerContainer[data-v-03a1c13c]{flex-direction:column}.remoteServerContainer .button-group button[data-v-03a1c13c]{width:100%}}@media screen and (max-width: 768px){.login-box[data-v-e351e82c]{width:100%!important}.login-box div[data-v-e351e82c]{width:auto!important}}@media screen and (max-width: 768px){.configurationListTitle[data-v-bff52ca5]{flex-direction:column;gap:.5rem;h3 span[data-v-bff52ca5]{margin-left:auto!important}.btn[data-v-bff52ca5]{width:100%}}}@media screen and (max-width: 992px){.apiKey-card-body[data-v-0cc2f367]{flex-direction:column!important;align-items:start!important;div.ms-auto[data-v-0cc2f367]{margin-left:0!important}div[data-v-0cc2f367]{width:100%;align-items:start!important}small[data-v-0cc2f367]{margin-right:auto}}}.apiKey-move[data-v-45b66fb8],.apiKey-enter-active[data-v-45b66fb8],.apiKey-leave-active[data-v-45b66fb8]{transition:all .5s ease}.apiKey-enter-from[data-v-45b66fb8],.apiKey-leave-to[data-v-45b66fb8]{opacity:0;transform:translateY(30px) scale(.9)}.apiKey-leave-active[data-v-45b66fb8]{position:absolute;width:100%}.animation__fadeInDropdown[data-v-8d540b8b]{animation-name:fadeInDropdown-8d540b8b;animation-duration:.2s;animation-timing-function:cubic-bezier(.82,.58,.17,.9)}@keyframes fadeInDropdown-8d540b8b{0%{opacity:0;filter:blur(3px);transform:translateY(-60px)}to{opacity:1;filter:blur(0px);transform:translateY(-40px)}}.displayModal .dashboardModal[data-v-8d540b8b]{width:400px!important}@media screen and (max-width: 768px){.peerSearchContainer[data-v-8d540b8b]{flex-direction:column}.peerSettingContainer .dashboardModal[data-v-8d540b8b]{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-c16dfe93]{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-c16dfe93]{animation-direction:normal;display:block!important;animation-name:zoomInFade-c16dfe93}}@keyframes zoomInFade-c16dfe93{0%{opacity:0;transform:translateY(60px);filter:blur(3px)}to{opacity:1;transform:translateY(0);filter:blur(0px)}}.messageCentre[data-v-b776d181]{top:calc(50px + 1rem);right:1rem}.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-2fa13e60]{width:100%!important}.login-box div[data-v-2fa13e60]{width:auto!important}}@media screen and (max-width: 768px){.configurationListTitle[data-v-106e7dee]{flex-direction:column;gap:.5rem;h3 span[data-v-106e7dee]{margin-left:auto!important}.btn[data-v-106e7dee]{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-167c06a6],.apiKey-enter-active[data-v-167c06a6],.apiKey-leave-active[data-v-167c06a6]{transition:all .5s ease}.apiKey-enter-from[data-v-167c06a6],.apiKey-leave-to[data-v-167c06a6]{opacity:0;transform:translateY(30px) scale(.9)}.apiKey-leave-active[data-v-167c06a6]{position:absolute;width:100%}.dropdown-menu[data-v-d705f35f]{width:100%}.animation__fadeInDropdown[data-v-c8fa0b7d]{animation-name:fadeInDropdown-c8fa0b7d;animation-duration:.2s;animation-timing-function:cubic-bezier(.82,.58,.17,.9)}@keyframes fadeInDropdown-c8fa0b7d{0%{opacity:0;filter:blur(3px);transform:translateY(-60px)}to{opacity:1;filter:blur(0px);transform:translateY(-40px)}}.displayModal .dashboardModal[data-v-c8fa0b7d]{width:400px!important}@media screen and (max-width: 768px){.peerSearchContainer[data-v-c8fa0b7d]{flex-direction:column}.peerSettingContainer .dashboardModal[data-v-c8fa0b7d]{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-772e5b77]{right:1rem;min-width:200px}.dropdown-item.disabled[data-v-772e5b77],.dropdown-item[data-v-772e5b77]:disabled{opacity:.7}.slide-fade-leave-active[data-v-f311ec95],.slide-fade-enter-active[data-v-f311ec95]{transition:all .2s cubic-bezier(.82,.58,.17,.9)}.slide-fade-enter-from[data-v-f311ec95],.slide-fade-leave-to[data-v-f311ec95]{transform:translateY(20px);opacity:0;filter:blur(3px)}.subMenuBtn.active[data-v-f311ec95]{background-color:#ffffff20}.peerCard[data-v-f311ec95]{transition:box-shadow .1s cubic-bezier(.82,.58,.17,.9)}.peerCard[data-v-f311ec95]:hover{box-shadow:var(--bs-box-shadow)!important}.toggleShowKey[data-v-5c34b056]{position:absolute;top:35px;right:12px}.list-move[data-v-f69c864a],.list-enter-active[data-v-f69c864a],.list-leave-active[data-v-f69c864a]{transition:all .3s ease}.list-enter-from[data-v-f69c864a],.list-leave-to[data-v-f69c864a]{opacity:0;transform:translateY(10px)}.list-leave-active[data-v-f69c864a]{position:absolute}.peerSettingContainer[data-v-7d433383]{background-color:#00000060;z-index:9998}div[data-v-7d433383]{transition:.2s ease-in-out}.inactiveField[data-v-7d433383]{opacity:.4}.card[data-v-7d433383]{max-height:100%}.btn.disabled[data-v-6a5aba2a]{opacity:1;background-color:#0d6efd17;border-color:transparent}[data-v-811b149e]{font-size:.875rem}input[data-v-811b149e]{padding:.1rem .4rem}input[data-v-811b149e]:disabled{border-color:transparent;background-color:#0d6efd17;color:#0d6efd}.dp__main[data-v-811b149e]{width:auto;flex-grow:1;--dp-input-padding: 2.5px 30px 2.5px 12px;--dp-border-radius: .5rem}.schedulePeerJobTransition-move[data-v-31a1606a],.schedulePeerJobTransition-enter-active[data-v-31a1606a],.schedulePeerJobTransition-leave-active[data-v-31a1606a]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.schedulePeerJobTransition-enter-from[data-v-31a1606a],.schedulePeerJobTransition-leave-to[data-v-31a1606a]{opacity:0;transform:scale(.9)}.schedulePeerJobTransition-leave-active[data-v-31a1606a]{position:absolute;width:100%}.peerNav .nav-link[data-v-0de09f6d]{&.active[data-v-0de09f6d]{//background: linear-gradient(var(--degree),var(--brandColor1) var(--distance2),var(--brandColor2) 100%);//color: white;background-color:#efefef}}.pingPlaceholder[data-v-7b32cdf7]{width:100%;height:79.98px}.ping-move[data-v-7b32cdf7],.ping-enter-active[data-v-7b32cdf7],.ping-leave-active[data-v-7b32cdf7]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.ping-enter-from[data-v-7b32cdf7],.ping-leave-to[data-v-7b32cdf7]{opacity:0;//transform: scale(.9)}.ping-leave-active[data-v-7b32cdf7]{position:absolute}.pingPlaceholder[data-v-606c2c93]{width:100%;height:40px}.ping-move[data-v-606c2c93],.ping-enter-active[data-v-606c2c93],.ping-leave-active[data-v-606c2c93]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.ping-enter-from[data-v-606c2c93],.ping-leave-to[data-v-606c2c93]{opacity:0;//transform: scale(.9)}.ping-leave-active[data-v-606c2c93]{position:absolute}table th[data-v-606c2c93],table td[data-v-606c2c93]{padding:.9rem}table tbody[data-v-606c2c93]{border-top:1em solid transparent}.table[data-v-606c2c93]>:not(caption)>*>*{background-color:transparent!important}.animate__fadeInUp[data-v-99d4b06a]{animation-timing-function:cubic-bezier(.42,0,.22,1)}.app-enter-active[data-v-822f113b],.app-leave-active[data-v-822f113b]{transition:all .3s cubic-bezier(.82,.58,.17,.9)}.app-enter-from[data-v-822f113b]{transform:translateY(20px);opacity:0}.app-leave-to[data-v-822f113b]{transform:translateY(-20px);opacity:0}@media screen and (min-width: 768px){.navbarBtn[data-v-822f113b]{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-e53c14b2]{right:1rem;min-width:200px}.dropdown-item.disabled[data-v-e53c14b2],.dropdown-item[data-v-e53c14b2]:disabled{opacity:.7}.slide-fade-leave-active[data-v-4a343fe2],.slide-fade-enter-active[data-v-4a343fe2]{transition:all .2s cubic-bezier(.82,.58,.17,.9)}.slide-fade-enter-from[data-v-4a343fe2],.slide-fade-leave-to[data-v-4a343fe2]{transform:translateY(20px);opacity:0;filter:blur(3px)}.subMenuBtn.active[data-v-4a343fe2]{background-color:#ffffff20}.peerCard[data-v-4a343fe2]{transition:box-shadow .1s cubic-bezier(.82,.58,.17,.9)}.peerCard[data-v-4a343fe2]:hover{box-shadow:var(--bs-box-shadow)!important}.toggleShowKey[data-v-2c571abb]{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-3f34f584]{background-color:#00000060;z-index:9998}div[data-v-3f34f584]{transition:.2s ease-in-out}.inactiveField[data-v-3f34f584]{opacity:.4}.card[data-v-3f34f584]{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%}.peerNav .nav-link[data-v-dc7f794a]{&.active[data-v-dc7f794a]{//background: linear-gradient(var(--degree),var(--brandColor1) var(--distance2),var(--brandColor2) 100%);//color: white;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-d80ce3c9]{width:100%;height:40px}.ping-leave-active[data-v-d80ce3c9]{position:absolute}table th[data-v-d80ce3c9],table td[data-v-d80ce3c9]{padding:.5rem}.table[data-v-d80ce3c9]>:not(caption)>*>*{background-color:transparent!important}.ping-move[data-v-d80ce3c9],.ping-enter-active[data-v-d80ce3c9],.ping-leave-active[data-v-d80ce3c9]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.ping-leave-active[data-v-d80ce3c9]{position:absolute;width:100%}.ping-enter-from[data-v-d80ce3c9],.ping-leave-to[data-v-d80ce3c9]{opacity:0;//transform: scale(1.1);filter:blur(3px)}.animate__fadeInUp[data-v-1b44aacd]{animation-timing-function:cubic-bezier(.42,0,.22,1)}.app-enter-active[data-v-822f113b],.app-leave-active[data-v-822f113b]{transition:all .3s cubic-bezier(.82,.58,.17,.9)}.app-enter-from[data-v-822f113b]{transform:translateY(20px);opacity:0}.app-leave-to[data-v-822f113b]{transform:translateY(-20px);opacity:0}@media screen and (min-width: 768px){.navbarBtn[data-v-822f113b]{display:none}} diff --git a/src/static/app/dist/assets/index.js b/src/static/app/dist/assets/index.js index 4a75fae..6f91acf 100644 --- a/src/static/app/dist/assets/index.js +++ b/src/static/app/dist/assets/index.js @@ -1,76 +1,76 @@ -(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const r of o.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&s(r)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Q_=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function sS(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function iS(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function s(){return this instanceof s?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(s){var i=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(n,s,i.get?i:{enumerable:!0,get:function(){return t[s]}})}),n}var oS={exports:{}},bn="top",Ln="bottom",Nn="right",yn="left",Tc="auto",Dr=[bn,Ln,Nn,yn],So="start",lr="end",Z_="clippingParents",fh="viewport",Qo="popper",ev="reference",bd=Dr.reduce(function(t,e){return t.concat([e+"-"+So,e+"-"+lr])},[]),ph=[].concat(Dr,[Tc]).reduce(function(t,e){return t.concat([e,e+"-"+So,e+"-"+lr])},[]),tv="beforeRead",nv="read",sv="afterRead",iv="beforeMain",ov="main",rv="afterMain",av="beforeWrite",lv="write",cv="afterWrite",uv=[tv,nv,sv,iv,ov,rv,av,lv,cv];function Cs(t){return t?(t.nodeName||"").toLowerCase():null}function Fn(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function $o(t){var e=Fn(t).Element;return t instanceof e||t instanceof Element}function Gn(t){var e=Fn(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function gh(t){if(typeof ShadowRoot>"u")return!1;var e=Fn(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function rS(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var s=e.styles[n]||{},i=e.attributes[n]||{},o=e.elements[n];!Gn(o)||!Cs(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(r){var a=i[r];a===!1?o.removeAttribute(r):o.setAttribute(r,a===!0?"":a)}))})}function aS(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(s){var i=e.elements[s],o=e.attributes[s]||{},r=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:n[s]),a=r.reduce(function(l,c){return l[c]="",l},{});!Gn(i)||!Cs(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const mh={name:"applyStyles",enabled:!0,phase:"write",fn:rS,effect:aS,requires:["computeStyles"]};function Ss(t){return t.split("-")[0]}var mo=Math.max,rc=Math.min,cr=Math.round;function yd(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function dv(){return!/^((?!chrome|android).)*safari/i.test(yd())}function ur(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),i=1,o=1;e&&Gn(t)&&(i=t.offsetWidth>0&&cr(s.width)/t.offsetWidth||1,o=t.offsetHeight>0&&cr(s.height)/t.offsetHeight||1);var r=$o(t)?Fn(t):window,a=r.visualViewport,l=!dv()&&n,c=(s.left+(l&&a?a.offsetLeft:0))/i,u=(s.top+(l&&a?a.offsetTop:0))/o,d=s.width/i,f=s.height/o;return{width:d,height:f,top:u,right:c+d,bottom:u+f,left:c,x:c,y:u}}function _h(t){var e=ur(t),n=t.offsetWidth,s=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:s}}function hv(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&gh(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Js(t){return Fn(t).getComputedStyle(t)}function lS(t){return["table","td","th"].indexOf(Cs(t))>=0}function Li(t){return(($o(t)?t.ownerDocument:t.document)||window.document).documentElement}function Mc(t){return Cs(t)==="html"?t:t.assignedSlot||t.parentNode||(gh(t)?t.host:null)||Li(t)}function Lp(t){return!Gn(t)||Js(t).position==="fixed"?null:t.offsetParent}function cS(t){var e=/firefox/i.test(yd()),n=/Trident/i.test(yd());if(n&&Gn(t)){var s=Js(t);if(s.position==="fixed")return null}var i=Mc(t);for(gh(i)&&(i=i.host);Gn(i)&&["html","body"].indexOf(Cs(i))<0;){var o=Js(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function Ua(t){for(var e=Fn(t),n=Lp(t);n&&lS(n)&&Js(n).position==="static";)n=Lp(n);return n&&(Cs(n)==="html"||Cs(n)==="body"&&Js(n).position==="static")?e:n||cS(t)||e}function vh(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function la(t,e,n){return mo(t,rc(e,n))}function uS(t,e,n){var s=la(t,e,n);return s>n?n:s}function fv(){return{top:0,right:0,bottom:0,left:0}}function pv(t){return Object.assign({},fv(),t)}function gv(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var dS=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,pv(typeof e!="number"?e:gv(e,Dr))};function hS(t){var e,n=t.state,s=t.name,i=t.options,o=n.elements.arrow,r=n.modifiersData.popperOffsets,a=Ss(n.placement),l=vh(a),c=[yn,Nn].indexOf(a)>=0,u=c?"height":"width";if(!(!o||!r)){var d=dS(i.padding,n),f=_h(o),g=l==="y"?bn:yn,_=l==="y"?Ln:Nn,m=n.rects.reference[u]+n.rects.reference[l]-r[l]-n.rects.popper[u],b=r[l]-n.rects.reference[l],w=Ua(o),$=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,A=m/2-b/2,D=d[g],x=$-f[u]-d[_],y=$/2-f[u]/2+A,S=la(D,y,x),E=l;n.modifiersData[s]=(e={},e[E]=S,e.centerOffset=S-y,e)}}function fS(t){var e=t.state,n=t.options,s=n.element,i=s===void 0?"[data-popper-arrow]":s;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||hv(e.elements.popper,i)&&(e.elements.arrow=i))}const mv={name:"arrow",enabled:!0,phase:"main",fn:hS,effect:fS,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function dr(t){return t.split("-")[1]}var pS={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gS(t,e){var n=t.x,s=t.y,i=e.devicePixelRatio||1;return{x:cr(n*i)/i||0,y:cr(s*i)/i||0}}function Np(t){var e,n=t.popper,s=t.popperRect,i=t.placement,o=t.variation,r=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,d=t.isFixed,f=r.x,g=f===void 0?0:f,_=r.y,m=_===void 0?0:_,b=typeof u=="function"?u({x:g,y:m}):{x:g,y:m};g=b.x,m=b.y;var w=r.hasOwnProperty("x"),$=r.hasOwnProperty("y"),A=yn,D=bn,x=window;if(c){var y=Ua(n),S="clientHeight",E="clientWidth";if(y===Fn(n)&&(y=Li(n),Js(y).position!=="static"&&a==="absolute"&&(S="scrollHeight",E="scrollWidth")),y=y,i===bn||(i===yn||i===Nn)&&o===lr){D=Ln;var T=d&&y===x&&x.visualViewport?x.visualViewport.height:y[S];m-=T-s.height,m*=l?1:-1}if(i===yn||(i===bn||i===Ln)&&o===lr){A=Nn;var C=d&&y===x&&x.visualViewport?x.visualViewport.width:y[E];g-=C-s.width,g*=l?1:-1}}var B=Object.assign({position:a},c&&pS),J=u===!0?gS({x:g,y:m},Fn(n)):{x:g,y:m};if(g=J.x,m=J.y,l){var ae;return Object.assign({},B,(ae={},ae[D]=$?"0":"",ae[A]=w?"0":"",ae.transform=(x.devicePixelRatio||1)<=1?"translate("+g+"px, "+m+"px)":"translate3d("+g+"px, "+m+"px, 0)",ae))}return Object.assign({},B,(e={},e[D]=$?m+"px":"",e[A]=w?g+"px":"",e.transform="",e))}function mS(t){var e=t.state,n=t.options,s=n.gpuAcceleration,i=s===void 0?!0:s,o=n.adaptive,r=o===void 0?!0:o,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Ss(e.placement),variation:dr(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Np(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Np(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const bh={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:mS,data:{}};var bl={passive:!0};function _S(t){var e=t.state,n=t.instance,s=t.options,i=s.scroll,o=i===void 0?!0:i,r=s.resize,a=r===void 0?!0:r,l=Fn(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,bl)}),a&&l.addEventListener("resize",n.update,bl),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,bl)}),a&&l.removeEventListener("resize",n.update,bl)}}const yh={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:_S,data:{}};var vS={left:"right",right:"left",bottom:"top",top:"bottom"};function ql(t){return t.replace(/left|right|bottom|top/g,function(e){return vS[e]})}var bS={start:"end",end:"start"};function Fp(t){return t.replace(/start|end/g,function(e){return bS[e]})}function wh(t){var e=Fn(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function xh(t){return ur(Li(t)).left+wh(t).scrollLeft}function yS(t,e){var n=Fn(t),s=Li(t),i=n.visualViewport,o=s.clientWidth,r=s.clientHeight,a=0,l=0;if(i){o=i.width,r=i.height;var c=dv();(c||!c&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:r,x:a+xh(t),y:l}}function wS(t){var e,n=Li(t),s=wh(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=mo(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),r=mo(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-s.scrollLeft+xh(t),l=-s.scrollTop;return Js(i||n).direction==="rtl"&&(a+=mo(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}function kh(t){var e=Js(t),n=e.overflow,s=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+s)}function _v(t){return["html","body","#document"].indexOf(Cs(t))>=0?t.ownerDocument.body:Gn(t)&&kh(t)?t:_v(Mc(t))}function ca(t,e){var n;e===void 0&&(e=[]);var s=_v(t),i=s===((n=t.ownerDocument)==null?void 0:n.body),o=Fn(s),r=i?[o].concat(o.visualViewport||[],kh(s)?s:[]):s,a=e.concat(r);return i?a:a.concat(ca(Mc(r)))}function wd(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function xS(t,e){var n=ur(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Bp(t,e,n){return e===fh?wd(yS(t,n)):$o(e)?xS(e,n):wd(wS(Li(t)))}function kS(t){var e=ca(Mc(t)),n=["absolute","fixed"].indexOf(Js(t).position)>=0,s=n&&Gn(t)?Ua(t):t;return $o(s)?e.filter(function(i){return $o(i)&&hv(i,s)&&Cs(i)!=="body"}):[]}function SS(t,e,n,s){var i=e==="clippingParents"?kS(t):[].concat(e),o=[].concat(i,[n]),r=o[0],a=o.reduce(function(l,c){var u=Bp(t,c,s);return l.top=mo(u.top,l.top),l.right=rc(u.right,l.right),l.bottom=rc(u.bottom,l.bottom),l.left=mo(u.left,l.left),l},Bp(t,r,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function vv(t){var e=t.reference,n=t.element,s=t.placement,i=s?Ss(s):null,o=s?dr(s):null,r=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(i){case bn:l={x:r,y:e.y-n.height};break;case Ln:l={x:r,y:e.y+e.height};break;case Nn:l={x:e.x+e.width,y:a};break;case yn:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=i?vh(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case So:l[c]=l[c]-(e[u]/2-n[u]/2);break;case lr:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function hr(t,e){e===void 0&&(e={});var n=e,s=n.placement,i=s===void 0?t.placement:s,o=n.strategy,r=o===void 0?t.strategy:o,a=n.boundary,l=a===void 0?Z_:a,c=n.rootBoundary,u=c===void 0?fh:c,d=n.elementContext,f=d===void 0?Qo:d,g=n.altBoundary,_=g===void 0?!1:g,m=n.padding,b=m===void 0?0:m,w=pv(typeof b!="number"?b:gv(b,Dr)),$=f===Qo?ev:Qo,A=t.rects.popper,D=t.elements[_?$:f],x=SS($o(D)?D:D.contextElement||Li(t.elements.popper),l,u,r),y=ur(t.elements.reference),S=vv({reference:y,element:A,strategy:"absolute",placement:i}),E=wd(Object.assign({},A,S)),T=f===Qo?E:y,C={top:x.top-T.top+w.top,bottom:T.bottom-x.bottom+w.bottom,left:x.left-T.left+w.left,right:T.right-x.right+w.right},B=t.modifiersData.offset;if(f===Qo&&B){var J=B[i];Object.keys(C).forEach(function(ae){var Y=[Nn,Ln].indexOf(ae)>=0?1:-1,L=[bn,Ln].indexOf(ae)>=0?"y":"x";C[ae]+=J[L]*Y})}return C}function $S(t,e){e===void 0&&(e={});var n=e,s=n.placement,i=n.boundary,o=n.rootBoundary,r=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?ph:l,u=dr(s),d=u?a?bd:bd.filter(function(_){return dr(_)===u}):Dr,f=d.filter(function(_){return c.indexOf(_)>=0});f.length===0&&(f=d);var g=f.reduce(function(_,m){return _[m]=hr(t,{placement:m,boundary:i,rootBoundary:o,padding:r})[Ss(m)],_},{});return Object.keys(g).sort(function(_,m){return g[_]-g[m]})}function AS(t){if(Ss(t)===Tc)return[];var e=ql(t);return[Fp(t),e,Fp(e)]}function CS(t){var e=t.state,n=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,r=n.altAxis,a=r===void 0?!0:r,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,g=n.flipVariations,_=g===void 0?!0:g,m=n.allowedAutoPlacements,b=e.options.placement,w=Ss(b),$=w===b,A=l||($||!_?[ql(b)]:AS(b)),D=[b].concat(A).reduce(function(R,ee){return R.concat(Ss(ee)===Tc?$S(e,{placement:ee,boundary:u,rootBoundary:d,padding:c,flipVariations:_,allowedAutoPlacements:m}):ee)},[]),x=e.rects.reference,y=e.rects.popper,S=new Map,E=!0,T=D[0],C=0;C=0,L=Y?"width":"height",I=hr(e,{placement:B,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),V=Y?ae?Nn:yn:ae?Ln:bn;x[L]>y[L]&&(V=ql(V));var Q=ql(V),Z=[];if(o&&Z.push(I[J]<=0),a&&Z.push(I[V]<=0,I[Q]<=0),Z.every(function(R){return R})){T=B,E=!1;break}S.set(B,Z)}if(E)for(var le=_?3:1,ye=function(ee){var oe=D.find(function(P){var se=S.get(P);if(se)return se.slice(0,ee).every(function(ue){return ue})});if(oe)return T=oe,"break"},U=le;U>0;U--){var X=ye(U);if(X==="break")break}e.placement!==T&&(e.modifiersData[s]._skip=!0,e.placement=T,e.reset=!0)}}const bv={name:"flip",enabled:!0,phase:"main",fn:CS,requiresIfExists:["offset"],data:{_skip:!1}};function Vp(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Hp(t){return[bn,Nn,Ln,yn].some(function(e){return t[e]>=0})}function ES(t){var e=t.state,n=t.name,s=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,r=hr(e,{elementContext:"reference"}),a=hr(e,{altBoundary:!0}),l=Vp(r,s),c=Vp(a,i,o),u=Hp(l),d=Hp(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const yv={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ES};function PS(t,e,n){var s=Ss(t),i=[yn,bn].indexOf(s)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,r=o[0],a=o[1];return r=r||0,a=(a||0)*i,[yn,Nn].indexOf(s)>=0?{x:a,y:r}:{x:r,y:a}}function TS(t){var e=t.state,n=t.options,s=t.name,i=n.offset,o=i===void 0?[0,0]:i,r=ph.reduce(function(u,d){return u[d]=PS(d,e.rects,o),u},{}),a=r[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[s]=r}const wv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:TS};function MS(t){var e=t.state,n=t.name;e.modifiersData[n]=vv({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Sh={name:"popperOffsets",enabled:!0,phase:"read",fn:MS,data:{}};function DS(t){return t==="x"?"y":"x"}function OS(t){var e=t.state,n=t.options,s=t.name,i=n.mainAxis,o=i===void 0?!0:i,r=n.altAxis,a=r===void 0?!1:r,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,g=f===void 0?!0:f,_=n.tetherOffset,m=_===void 0?0:_,b=hr(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),w=Ss(e.placement),$=dr(e.placement),A=!$,D=vh(w),x=DS(D),y=e.modifiersData.popperOffsets,S=e.rects.reference,E=e.rects.popper,T=typeof m=="function"?m(Object.assign({},e.rects,{placement:e.placement})):m,C=typeof T=="number"?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),B=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,J={x:0,y:0};if(y){if(o){var ae,Y=D==="y"?bn:yn,L=D==="y"?Ln:Nn,I=D==="y"?"height":"width",V=y[D],Q=V+b[Y],Z=V-b[L],le=g?-E[I]/2:0,ye=$===So?S[I]:E[I],U=$===So?-E[I]:-S[I],X=e.elements.arrow,R=g&&X?_h(X):{width:0,height:0},ee=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:fv(),oe=ee[Y],P=ee[L],se=la(0,S[I],R[I]),ue=A?S[I]/2-le-se-oe-C.mainAxis:ye-se-oe-C.mainAxis,xe=A?-S[I]/2+le+se+P+C.mainAxis:U+se+P+C.mainAxis,N=e.elements.arrow&&Ua(e.elements.arrow),he=N?D==="y"?N.clientTop||0:N.clientLeft||0:0,v=(ae=B?.[D])!=null?ae:0,O=V+ue-v-he,H=V+xe-v,W=la(g?rc(Q,O):Q,V,g?mo(Z,H):Z);y[D]=W,J[D]=W-V}if(a){var ie,j=D==="x"?bn:yn,te=D==="x"?Ln:Nn,G=y[x],de=x==="y"?"height":"width",ge=G+b[j],fe=G-b[te],Re=[bn,yn].indexOf(w)!==-1,De=(ie=B?.[x])!=null?ie:0,Ve=Re?ge:G-S[de]-E[de]-De+C.altAxis,Be=Re?G+S[de]+E[de]-De-C.altAxis:fe,et=g&&Re?uS(Ve,G,Be):la(g?Ve:ge,G,g?Be:fe);y[x]=et,J[x]=et-G}e.modifiersData[s]=J}}const xv={name:"preventOverflow",enabled:!0,phase:"main",fn:OS,requiresIfExists:["offset"]};function IS(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function RS(t){return t===Fn(t)||!Gn(t)?wh(t):IS(t)}function LS(t){var e=t.getBoundingClientRect(),n=cr(e.width)/t.offsetWidth||1,s=cr(e.height)/t.offsetHeight||1;return n!==1||s!==1}function NS(t,e,n){n===void 0&&(n=!1);var s=Gn(e),i=Gn(e)&&LS(e),o=Li(e),r=ur(t,i,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Cs(e)!=="body"||kh(o))&&(a=RS(e)),Gn(e)?(l=ur(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):o&&(l.x=xh(o))),{x:r.left+a.scrollLeft-l.x,y:r.top+a.scrollTop-l.y,width:r.width,height:r.height}}function FS(t){var e=new Map,n=new Set,s=[];t.forEach(function(o){e.set(o.name,o)});function i(o){n.add(o.name);var r=[].concat(o.requires||[],o.requiresIfExists||[]);r.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&i(l)}}),s.push(o)}return t.forEach(function(o){n.has(o.name)||i(o)}),s}function BS(t){var e=FS(t);return uv.reduce(function(n,s){return n.concat(e.filter(function(i){return i.phase===s}))},[])}function VS(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function HS(t){var e=t.reduce(function(n,s){var i=n[s.name];return n[s.name]=i?Object.assign({},i,s,{options:Object.assign({},i.options,s.options),data:Object.assign({},i.data,s.data)}):s,n},{});return Object.keys(e).map(function(n){return e[n]})}var jp={placement:"bottom",modifiers:[],strategy:"absolute"};function Wp(){for(var t=arguments.length,e=new Array(t),n=0;n{for(const r of s)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerPolicy&&(r.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?r.credentials="include":s.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(s){if(s.ep)return;s.ep=!0;const r=n(s);fetch(s.href,r)}})();var lx=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function TP(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function kP(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function i(){return this instanceof i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(i){var s=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(n,i,s.get?s:{enumerable:!0,get:function(){return t[i]}})}),n}var AP={exports:{}},ei="top",Ai="bottom",Mi="right",ti="left",Gh="auto",Wl=[ei,Ai,Mi,ti],ra="start",dl="end",cx="clippingParents",Nm="viewport",Ya="popper",ux="reference",Mp=Wl.reduce(function(t,e){return t.concat([e+"-"+ra,e+"-"+dl])},[]),Fm=[].concat(Wl,[Gh]).reduce(function(t,e){return t.concat([e,e+"-"+ra,e+"-"+dl])},[]),dx="beforeRead",hx="read",fx="afterRead",gx="beforeMain",px="main",mx="afterMain",_x="beforeWrite",yx="write",vx="afterWrite",bx=[dx,hx,fx,gx,px,mx,_x,yx,vx];function $s(t){return t?(t.nodeName||"").toLowerCase():null}function Ii(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function oa(t){var e=Ii(t).Element;return t instanceof e||t instanceof Element}function Yi(t){var e=Ii(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Bm(t){if(typeof ShadowRoot>"u")return!1;var e=Ii(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function MP(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var i=e.styles[n]||{},s=e.attributes[n]||{},r=e.elements[n];!Yi(r)||!$s(r)||(Object.assign(r.style,i),Object.keys(s).forEach(function(o){var a=s[o];a===!1?r.removeAttribute(o):r.setAttribute(o,a===!0?"":a)}))})}function IP(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(i){var s=e.elements[i],r=e.attributes[i]||{},o=Object.keys(e.styles.hasOwnProperty(i)?e.styles[i]:n[i]),a=o.reduce(function(l,c){return l[c]="",l},{});!Yi(s)||!$s(s)||(Object.assign(s.style,a),Object.keys(r).forEach(function(l){s.removeAttribute(l)}))})}}const Vm={name:"applyStyles",enabled:!0,phase:"write",fn:MP,effect:IP,requires:["computeStyles"]};function Ps(t){return t.split("-")[0]}var Zo=Math.max,lh=Math.min,hl=Math.round;function Ip(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function wx(){return!/^((?!chrome|android).)*safari/i.test(Ip())}function fl(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var i=t.getBoundingClientRect(),s=1,r=1;e&&Yi(t)&&(s=t.offsetWidth>0&&hl(i.width)/t.offsetWidth||1,r=t.offsetHeight>0&&hl(i.height)/t.offsetHeight||1);var o=oa(t)?Ii(t):window,a=o.visualViewport,l=!wx()&&n,c=(i.left+(l&&a?a.offsetLeft:0))/s,u=(i.top+(l&&a?a.offsetTop:0))/r,d=i.width/s,h=i.height/r;return{width:d,height:h,top:u,right:c+d,bottom:u+h,left:c,x:c,y:u}}function zm(t){var e=fl(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function xx(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Bm(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function fr(t){return Ii(t).getComputedStyle(t)}function PP(t){return["table","td","th"].indexOf($s(t))>=0}function ho(t){return((oa(t)?t.ownerDocument:t.document)||window.document).documentElement}function Xh(t){return $s(t)==="html"?t:t.assignedSlot||t.parentNode||(Bm(t)?t.host:null)||ho(t)}function K0(t){return!Yi(t)||fr(t).position==="fixed"?null:t.offsetParent}function RP(t){var e=/firefox/i.test(Ip()),n=/Trident/i.test(Ip());if(n&&Yi(t)){var i=fr(t);if(i.position==="fixed")return null}var s=Xh(t);for(Bm(s)&&(s=s.host);Yi(s)&&["html","body"].indexOf($s(s))<0;){var r=fr(s);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||e&&r.willChange==="filter"||e&&r.filter&&r.filter!=="none")return s;s=s.parentNode}return null}function Ru(t){for(var e=Ii(t),n=K0(t);n&&PP(n)&&fr(n).position==="static";)n=K0(n);return n&&($s(n)==="html"||$s(n)==="body"&&fr(n).position==="static")?e:n||RP(t)||e}function Wm(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Pc(t,e,n){return Zo(t,lh(e,n))}function DP(t,e,n){var i=Pc(t,e,n);return i>n?n:i}function Ex(){return{top:0,right:0,bottom:0,left:0}}function Sx(t){return Object.assign({},Ex(),t)}function Cx(t,e){return e.reduce(function(n,i){return n[i]=t,n},{})}var $P=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,Sx(typeof e!="number"?e:Cx(e,Wl))};function LP(t){var e,n=t.state,i=t.name,s=t.options,r=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Ps(n.placement),l=Wm(a),c=[ti,Mi].indexOf(a)>=0,u=c?"height":"width";if(!(!r||!o)){var d=$P(s.padding,n),h=zm(r),f=l==="y"?ei:ti,p=l==="y"?Ai:Mi,m=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],y=o[l]-n.rects.reference[l],v=Ru(r),b=v?l==="y"?v.clientHeight||0:v.clientWidth||0:0,E=m/2-y/2,C=d[f],w=b-h[u]-d[p],x=b/2-h[u]/2+E,T=Pc(C,x,w),k=l;n.modifiersData[i]=(e={},e[k]=T,e.centerOffset=T-x,e)}}function OP(t){var e=t.state,n=t.options,i=n.element,s=i===void 0?"[data-popper-arrow]":i;s!=null&&(typeof s=="string"&&(s=e.elements.popper.querySelector(s),!s)||xx(e.elements.popper,s)&&(e.elements.arrow=s))}const Tx={name:"arrow",enabled:!0,phase:"main",fn:LP,effect:OP,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function gl(t){return t.split("-")[1]}var NP={top:"auto",right:"auto",bottom:"auto",left:"auto"};function FP(t,e){var n=t.x,i=t.y,s=e.devicePixelRatio||1;return{x:hl(n*s)/s||0,y:hl(i*s)/s||0}}function U0(t){var e,n=t.popper,i=t.popperRect,s=t.placement,r=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,d=t.isFixed,h=o.x,f=h===void 0?0:h,p=o.y,m=p===void 0?0:p,y=typeof u=="function"?u({x:f,y:m}):{x:f,y:m};f=y.x,m=y.y;var v=o.hasOwnProperty("x"),b=o.hasOwnProperty("y"),E=ti,C=ei,w=window;if(c){var x=Ru(n),T="clientHeight",k="clientWidth";if(x===Ii(n)&&(x=ho(n),fr(x).position!=="static"&&a==="absolute"&&(T="scrollHeight",k="scrollWidth")),x=x,s===ei||(s===ti||s===Mi)&&r===dl){C=Ai;var A=d&&x===w&&w.visualViewport?w.visualViewport.height:x[T];m-=A-i.height,m*=l?1:-1}if(s===ti||(s===ei||s===Ai)&&r===dl){E=Mi;var P=d&&x===w&&w.visualViewport?w.visualViewport.width:x[k];f-=P-i.width,f*=l?1:-1}}var F=Object.assign({position:a},c&&NP),H=u===!0?FP({x:f,y:m},Ii(n)):{x:f,y:m};if(f=H.x,m=H.y,l){var te;return Object.assign({},F,(te={},te[C]=b?"0":"",te[E]=v?"0":"",te.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",te))}return Object.assign({},F,(e={},e[C]=b?m+"px":"",e[E]=v?f+"px":"",e.transform="",e))}function BP(t){var e=t.state,n=t.options,i=n.gpuAcceleration,s=i===void 0?!0:i,r=n.adaptive,o=r===void 0?!0:r,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Ps(e.placement),variation:gl(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,U0(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,U0(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Hm={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:BP,data:{}};var ud={passive:!0};function VP(t){var e=t.state,n=t.instance,i=t.options,s=i.scroll,r=s===void 0?!0:s,o=i.resize,a=o===void 0?!0:o,l=Ii(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&c.forEach(function(u){u.addEventListener("scroll",n.update,ud)}),a&&l.addEventListener("resize",n.update,ud),function(){r&&c.forEach(function(u){u.removeEventListener("scroll",n.update,ud)}),a&&l.removeEventListener("resize",n.update,ud)}}const Ym={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:VP,data:{}};var zP={left:"right",right:"left",bottom:"top",top:"bottom"};function qd(t){return t.replace(/left|right|bottom|top/g,function(e){return zP[e]})}var WP={start:"end",end:"start"};function G0(t){return t.replace(/start|end/g,function(e){return WP[e]})}function jm(t){var e=Ii(t),n=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Km(t){return fl(ho(t)).left+jm(t).scrollLeft}function HP(t,e){var n=Ii(t),i=ho(t),s=n.visualViewport,r=i.clientWidth,o=i.clientHeight,a=0,l=0;if(s){r=s.width,o=s.height;var c=wx();(c||!c&&e==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}return{width:r,height:o,x:a+Km(t),y:l}}function YP(t){var e,n=ho(t),i=jm(t),s=(e=t.ownerDocument)==null?void 0:e.body,r=Zo(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=Zo(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-i.scrollLeft+Km(t),l=-i.scrollTop;return fr(s||n).direction==="rtl"&&(a+=Zo(n.clientWidth,s?s.clientWidth:0)-r),{width:r,height:o,x:a,y:l}}function Um(t){var e=fr(t),n=e.overflow,i=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function kx(t){return["html","body","#document"].indexOf($s(t))>=0?t.ownerDocument.body:Yi(t)&&Um(t)?t:kx(Xh(t))}function Rc(t,e){var n;e===void 0&&(e=[]);var i=kx(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),r=Ii(i),o=s?[r].concat(r.visualViewport||[],Um(i)?i:[]):i,a=e.concat(o);return s?a:a.concat(Rc(Xh(o)))}function Pp(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function jP(t,e){var n=fl(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function X0(t,e,n){return e===Nm?Pp(HP(t,n)):oa(e)?jP(e,n):Pp(YP(ho(t)))}function KP(t){var e=Rc(Xh(t)),n=["absolute","fixed"].indexOf(fr(t).position)>=0,i=n&&Yi(t)?Ru(t):t;return oa(i)?e.filter(function(s){return oa(s)&&xx(s,i)&&$s(s)!=="body"}):[]}function UP(t,e,n,i){var s=e==="clippingParents"?KP(t):[].concat(e),r=[].concat(s,[n]),o=r[0],a=r.reduce(function(l,c){var u=X0(t,c,i);return l.top=Zo(u.top,l.top),l.right=lh(u.right,l.right),l.bottom=lh(u.bottom,l.bottom),l.left=Zo(u.left,l.left),l},X0(t,o,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Ax(t){var e=t.reference,n=t.element,i=t.placement,s=i?Ps(i):null,r=i?gl(i):null,o=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(s){case ei:l={x:o,y:e.y-n.height};break;case Ai:l={x:o,y:e.y+e.height};break;case Mi:l={x:e.x+e.width,y:a};break;case ti:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=s?Wm(s):null;if(c!=null){var u=c==="y"?"height":"width";switch(r){case ra:l[c]=l[c]-(e[u]/2-n[u]/2);break;case dl:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function pl(t,e){e===void 0&&(e={});var n=e,i=n.placement,s=i===void 0?t.placement:i,r=n.strategy,o=r===void 0?t.strategy:r,a=n.boundary,l=a===void 0?cx:a,c=n.rootBoundary,u=c===void 0?Nm:c,d=n.elementContext,h=d===void 0?Ya:d,f=n.altBoundary,p=f===void 0?!1:f,m=n.padding,y=m===void 0?0:m,v=Sx(typeof y!="number"?y:Cx(y,Wl)),b=h===Ya?ux:Ya,E=t.rects.popper,C=t.elements[p?b:h],w=UP(oa(C)?C:C.contextElement||ho(t.elements.popper),l,u,o),x=fl(t.elements.reference),T=Ax({reference:x,element:E,strategy:"absolute",placement:s}),k=Pp(Object.assign({},E,T)),A=h===Ya?k:x,P={top:w.top-A.top+v.top,bottom:A.bottom-w.bottom+v.bottom,left:w.left-A.left+v.left,right:A.right-w.right+v.right},F=t.modifiersData.offset;if(h===Ya&&F){var H=F[s];Object.keys(P).forEach(function(te){var N=[Mi,Ai].indexOf(te)>=0?1:-1,L=[ei,Ai].indexOf(te)>=0?"y":"x";P[te]+=H[L]*N})}return P}function GP(t,e){e===void 0&&(e={});var n=e,i=n.placement,s=n.boundary,r=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Fm:l,u=gl(i),d=u?a?Mp:Mp.filter(function(p){return gl(p)===u}):Wl,h=d.filter(function(p){return c.indexOf(p)>=0});h.length===0&&(h=d);var f=h.reduce(function(p,m){return p[m]=pl(t,{placement:m,boundary:s,rootBoundary:r,padding:o})[Ps(m)],p},{});return Object.keys(f).sort(function(p,m){return f[p]-f[m]})}function XP(t){if(Ps(t)===Gh)return[];var e=qd(t);return[G0(t),e,G0(e)]}function qP(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var s=n.mainAxis,r=s===void 0?!0:s,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,f=n.flipVariations,p=f===void 0?!0:f,m=n.allowedAutoPlacements,y=e.options.placement,v=Ps(y),b=v===y,E=l||(b||!p?[qd(y)]:XP(y)),C=[y].concat(E).reduce(function(M,ie){return M.concat(Ps(ie)===Gh?GP(e,{placement:ie,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}):ie)},[]),w=e.rects.reference,x=e.rects.popper,T=new Map,k=!0,A=C[0],P=0;P=0,L=N?"width":"height",I=pl(e,{placement:F,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),W=N?te?Mi:ti:te?Ai:ei;w[L]>x[L]&&(W=qd(W));var X=qd(W),J=[];if(r&&J.push(I[H]<=0),a&&J.push(I[W]<=0,I[X]<=0),J.every(function(M){return M})){A=F,k=!1;break}T.set(F,J)}if(k)for(var ne=p?3:1,ue=function(ie){var le=C.find(function($){var oe=T.get($);if(oe)return oe.slice(0,ie).every(function(de){return de})});if(le)return A=le,"break"},Y=ne;Y>0;Y--){var Z=ue(Y);if(Z==="break")break}e.placement!==A&&(e.modifiersData[i]._skip=!0,e.placement=A,e.reset=!0)}}const Mx={name:"flip",enabled:!0,phase:"main",fn:qP,requiresIfExists:["offset"],data:{_skip:!1}};function q0(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Z0(t){return[ei,Mi,Ai,ti].some(function(e){return t[e]>=0})}function ZP(t){var e=t.state,n=t.name,i=e.rects.reference,s=e.rects.popper,r=e.modifiersData.preventOverflow,o=pl(e,{elementContext:"reference"}),a=pl(e,{altBoundary:!0}),l=q0(o,i),c=q0(a,s,r),u=Z0(l),d=Z0(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const Ix={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ZP};function JP(t,e,n){var i=Ps(t),s=[ti,ei].indexOf(i)>=0?-1:1,r=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,o=r[0],a=r[1];return o=o||0,a=(a||0)*s,[ti,Mi].indexOf(i)>=0?{x:a,y:o}:{x:o,y:a}}function QP(t){var e=t.state,n=t.options,i=t.name,s=n.offset,r=s===void 0?[0,0]:s,o=Fm.reduce(function(u,d){return u[d]=JP(d,e.rects,r),u},{}),a=o[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[i]=o}const Px={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:QP};function e2(t){var e=t.state,n=t.name;e.modifiersData[n]=Ax({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Gm={name:"popperOffsets",enabled:!0,phase:"read",fn:e2,data:{}};function t2(t){return t==="x"?"y":"x"}function n2(t){var e=t.state,n=t.options,i=t.name,s=n.mainAxis,r=s===void 0?!0:s,o=n.altAxis,a=o===void 0?!1:o,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,h=n.tether,f=h===void 0?!0:h,p=n.tetherOffset,m=p===void 0?0:p,y=pl(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),v=Ps(e.placement),b=gl(e.placement),E=!b,C=Wm(v),w=t2(C),x=e.modifiersData.popperOffsets,T=e.rects.reference,k=e.rects.popper,A=typeof m=="function"?m(Object.assign({},e.rects,{placement:e.placement})):m,P=typeof A=="number"?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),F=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,H={x:0,y:0};if(x){if(r){var te,N=C==="y"?ei:ti,L=C==="y"?Ai:Mi,I=C==="y"?"height":"width",W=x[C],X=W+y[N],J=W-y[L],ne=f?-k[I]/2:0,ue=b===ra?T[I]:k[I],Y=b===ra?-k[I]:-T[I],Z=e.elements.arrow,M=f&&Z?zm(Z):{width:0,height:0},ie=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Ex(),le=ie[N],$=ie[L],oe=Pc(0,T[I],M[I]),de=E?T[I]/2-ne-oe-le-P.mainAxis:ue-oe-le-P.mainAxis,ve=E?-T[I]/2+ne+oe+$+P.mainAxis:Y+oe+$+P.mainAxis,z=e.elements.arrow&&Ru(e.elements.arrow),ge=z?C==="y"?z.clientTop||0:z.clientLeft||0:0,S=(te=F?.[C])!=null?te:0,O=W+de-S-ge,K=W+ve-S,U=Pc(f?lh(X,O):X,W,f?Zo(J,K):J);x[C]=U,H[C]=U-W}if(a){var re,j=C==="x"?ei:ti,se=C==="x"?Ai:Mi,ee=x[w],fe=w==="y"?"height":"width",me=ee+y[j],pe=ee-y[se],Le=[ei,ti].indexOf(v)!==-1,Ae=(re=F?.[w])!=null?re:0,ze=Le?me:ee-T[fe]-k[fe]-Ae+P.altAxis,Be=Le?ee+T[fe]+k[fe]-Ae-P.altAxis:pe,it=f&&Le?DP(ze,ee,Be):Pc(f?ze:me,ee,f?Be:pe);x[w]=it,H[w]=it-ee}e.modifiersData[i]=H}}const Rx={name:"preventOverflow",enabled:!0,phase:"main",fn:n2,requiresIfExists:["offset"]};function i2(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function s2(t){return t===Ii(t)||!Yi(t)?jm(t):i2(t)}function r2(t){var e=t.getBoundingClientRect(),n=hl(e.width)/t.offsetWidth||1,i=hl(e.height)/t.offsetHeight||1;return n!==1||i!==1}function o2(t,e,n){n===void 0&&(n=!1);var i=Yi(e),s=Yi(e)&&r2(e),r=ho(e),o=fl(t,s,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(($s(e)!=="body"||Um(r))&&(a=s2(e)),Yi(e)?(l=fl(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):r&&(l.x=Km(r))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function a2(t){var e=new Map,n=new Set,i=[];t.forEach(function(r){e.set(r.name,r)});function s(r){n.add(r.name);var o=[].concat(r.requires||[],r.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&s(l)}}),i.push(r)}return t.forEach(function(r){n.has(r.name)||s(r)}),i}function l2(t){var e=a2(t);return bx.reduce(function(n,i){return n.concat(e.filter(function(s){return s.phase===i}))},[])}function c2(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function u2(t){var e=t.reduce(function(n,i){var s=n[i.name];return n[i.name]=s?Object.assign({},s,i,{options:Object.assign({},s.options,i.options),data:Object.assign({},s.data,i.data)}):i,n},{});return Object.keys(e).map(function(n){return e[n]})}var J0={placement:"bottom",modifiers:[],strategy:"absolute"};function Q0(){for(var t=arguments.length,e=new Array(t),n=0;nz[k]})}}return p.default=z,Object.freeze(p)}const i=s(n),o=new Map,r={set(z,p,k){o.has(z)||o.set(z,new Map);const K=o.get(z);if(!K.has(p)&&K.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(K.keys())[0]}.`);return}K.set(p,k)},get(z,p){return o.has(z)&&o.get(z).get(p)||null},remove(z,p){if(!o.has(z))return;const k=o.get(z);k.delete(p),k.size===0&&o.delete(z)}},a=1e6,l=1e3,c="transitionend",u=z=>(z&&window.CSS&&window.CSS.escape&&(z=z.replace(/#([^\s"#']+)/g,(p,k)=>`#${CSS.escape(k)}`)),z),d=z=>z==null?`${z}`:Object.prototype.toString.call(z).match(/\s([a-z]+)/i)[1].toLowerCase(),f=z=>{do z+=Math.floor(Math.random()*a);while(document.getElementById(z));return z},g=z=>{if(!z)return 0;let{transitionDuration:p,transitionDelay:k}=window.getComputedStyle(z);const K=Number.parseFloat(p),pe=Number.parseFloat(k);return!K&&!pe?0:(p=p.split(",")[0],k=k.split(",")[0],(Number.parseFloat(p)+Number.parseFloat(k))*l)},_=z=>{z.dispatchEvent(new Event(c))},m=z=>!z||typeof z!="object"?!1:(typeof z.jquery<"u"&&(z=z[0]),typeof z.nodeType<"u"),b=z=>m(z)?z.jquery?z[0]:z:typeof z=="string"&&z.length>0?document.querySelector(u(z)):null,w=z=>{if(!m(z)||z.getClientRects().length===0)return!1;const p=getComputedStyle(z).getPropertyValue("visibility")==="visible",k=z.closest("details:not([open])");if(!k)return p;if(k!==z){const K=z.closest("summary");if(K&&K.parentNode!==k||K===null)return!1}return p},$=z=>!z||z.nodeType!==Node.ELEMENT_NODE||z.classList.contains("disabled")?!0:typeof z.disabled<"u"?z.disabled:z.hasAttribute("disabled")&&z.getAttribute("disabled")!=="false",A=z=>{if(!document.documentElement.attachShadow)return null;if(typeof z.getRootNode=="function"){const p=z.getRootNode();return p instanceof ShadowRoot?p:null}return z instanceof ShadowRoot?z:z.parentNode?A(z.parentNode):null},D=()=>{},x=z=>{z.offsetHeight},y=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,S=[],E=z=>{document.readyState==="loading"?(S.length||document.addEventListener("DOMContentLoaded",()=>{for(const p of S)p()}),S.push(z)):z()},T=()=>document.documentElement.dir==="rtl",C=z=>{E(()=>{const p=y();if(p){const k=z.NAME,K=p.fn[k];p.fn[k]=z.jQueryInterface,p.fn[k].Constructor=z,p.fn[k].noConflict=()=>(p.fn[k]=K,z.jQueryInterface)}})},B=(z,p=[],k=z)=>typeof z=="function"?z(...p):k,J=(z,p,k=!0)=>{if(!k){B(z);return}const pe=g(p)+5;let Ee=!1;const Ae=({target:Je})=>{Je===p&&(Ee=!0,p.removeEventListener(c,Ae),B(z))};p.addEventListener(c,Ae),setTimeout(()=>{Ee||_(p)},pe)},ae=(z,p,k,K)=>{const pe=z.length;let Ee=z.indexOf(p);return Ee===-1?!k&&K?z[pe-1]:z[0]:(Ee+=k?1:-1,K&&(Ee=(Ee+pe)%pe),z[Math.max(0,Math.min(Ee,pe-1))])},Y=/[^.]*(?=\..*)\.|.*/,L=/\..*/,I=/::\d+$/,V={};let Q=1;const Z={mouseenter:"mouseover",mouseleave:"mouseout"},le=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ye(z,p){return p&&`${p}::${Q++}`||z.uidEvent||Q++}function U(z){const p=ye(z);return z.uidEvent=p,V[p]=V[p]||{},V[p]}function X(z,p){return function k(K){return he(K,{delegateTarget:z}),k.oneOff&&N.off(z,K.type,p),p.apply(z,[K])}}function R(z,p,k){return function K(pe){const Ee=z.querySelectorAll(p);for(let{target:Ae}=pe;Ae&&Ae!==this;Ae=Ae.parentNode)for(const Je of Ee)if(Je===Ae)return he(pe,{delegateTarget:Ae}),K.oneOff&&N.off(z,pe.type,p,k),k.apply(Ae,[pe])}}function ee(z,p,k=null){return Object.values(z).find(K=>K.callable===p&&K.delegationSelector===k)}function oe(z,p,k){const K=typeof p=="string",pe=K?k:p||k;let Ee=xe(z);return le.has(Ee)||(Ee=z),[K,pe,Ee]}function P(z,p,k,K,pe){if(typeof p!="string"||!z)return;let[Ee,Ae,Je]=oe(p,k,K);p in Z&&(Ae=(nS=>function(Yo){if(!Yo.relatedTarget||Yo.relatedTarget!==Yo.delegateTarget&&!Yo.delegateTarget.contains(Yo.relatedTarget))return nS.call(this,Yo)})(Ae));const kn=U(z),Wn=kn[Je]||(kn[Je]={}),Gt=ee(Wn,Ae,Ee?k:null);if(Gt){Gt.oneOff=Gt.oneOff&&pe;return}const ps=ye(Ae,p.replace(Y,"")),es=Ee?R(z,k,Ae):X(z,Ae);es.delegationSelector=Ee?k:null,es.callable=Ae,es.oneOff=pe,es.uidEvent=ps,Wn[ps]=es,z.addEventListener(Je,es,Ee)}function se(z,p,k,K,pe){const Ee=ee(p[k],K,pe);Ee&&(z.removeEventListener(k,Ee,!!pe),delete p[k][Ee.uidEvent])}function ue(z,p,k,K){const pe=p[k]||{};for(const[Ee,Ae]of Object.entries(pe))Ee.includes(K)&&se(z,p,k,Ae.callable,Ae.delegationSelector)}function xe(z){return z=z.replace(L,""),Z[z]||z}const N={on(z,p,k,K){P(z,p,k,K,!1)},one(z,p,k,K){P(z,p,k,K,!0)},off(z,p,k,K){if(typeof p!="string"||!z)return;const[pe,Ee,Ae]=oe(p,k,K),Je=Ae!==p,kn=U(z),Wn=kn[Ae]||{},Gt=p.startsWith(".");if(typeof Ee<"u"){if(!Object.keys(Wn).length)return;se(z,kn,Ae,Ee,pe?k:null);return}if(Gt)for(const ps of Object.keys(kn))ue(z,kn,ps,p.slice(1));for(const[ps,es]of Object.entries(Wn)){const vl=ps.replace(I,"");(!Je||p.includes(vl))&&se(z,kn,Ae,es.callable,es.delegationSelector)}},trigger(z,p,k){if(typeof p!="string"||!z)return null;const K=y(),pe=xe(p),Ee=p!==pe;let Ae=null,Je=!0,kn=!0,Wn=!1;Ee&&K&&(Ae=K.Event(p,k),K(z).trigger(Ae),Je=!Ae.isPropagationStopped(),kn=!Ae.isImmediatePropagationStopped(),Wn=Ae.isDefaultPrevented());const Gt=he(new Event(p,{bubbles:Je,cancelable:!0}),k);return Wn&&Gt.preventDefault(),kn&&z.dispatchEvent(Gt),Gt.defaultPrevented&&Ae&&Ae.preventDefault(),Gt}};function he(z,p={}){for(const[k,K]of Object.entries(p))try{z[k]=K}catch{Object.defineProperty(z,k,{configurable:!0,get(){return K}})}return z}function v(z){if(z==="true")return!0;if(z==="false")return!1;if(z===Number(z).toString())return Number(z);if(z===""||z==="null")return null;if(typeof z!="string")return z;try{return JSON.parse(decodeURIComponent(z))}catch{return z}}function O(z){return z.replace(/[A-Z]/g,p=>`-${p.toLowerCase()}`)}const H={setDataAttribute(z,p,k){z.setAttribute(`data-bs-${O(p)}`,k)},removeDataAttribute(z,p){z.removeAttribute(`data-bs-${O(p)}`)},getDataAttributes(z){if(!z)return{};const p={},k=Object.keys(z.dataset).filter(K=>K.startsWith("bs")&&!K.startsWith("bsConfig"));for(const K of k){let pe=K.replace(/^bs/,"");pe=pe.charAt(0).toLowerCase()+pe.slice(1,pe.length),p[pe]=v(z.dataset[K])}return p},getDataAttribute(z,p){return v(z.getAttribute(`data-bs-${O(p)}`))}};class W{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(p){return p=this._mergeConfigObj(p),p=this._configAfterMerge(p),this._typeCheckConfig(p),p}_configAfterMerge(p){return p}_mergeConfigObj(p,k){const K=m(k)?H.getDataAttribute(k,"config"):{};return{...this.constructor.Default,...typeof K=="object"?K:{},...m(k)?H.getDataAttributes(k):{},...typeof p=="object"?p:{}}}_typeCheckConfig(p,k=this.constructor.DefaultType){for(const[K,pe]of Object.entries(k)){const Ee=p[K],Ae=m(Ee)?"element":d(Ee);if(!new RegExp(pe).test(Ae))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${K}" provided type "${Ae}" but expected type "${pe}".`)}}}const ie="5.3.2";class j extends W{constructor(p,k){super(),p=b(p),p&&(this._element=p,this._config=this._getConfig(k),r.set(this._element,this.constructor.DATA_KEY,this))}dispose(){r.remove(this._element,this.constructor.DATA_KEY),N.off(this._element,this.constructor.EVENT_KEY);for(const p of Object.getOwnPropertyNames(this))this[p]=null}_queueCallback(p,k,K=!0){J(p,k,K)}_getConfig(p){return p=this._mergeConfigObj(p,this._element),p=this._configAfterMerge(p),this._typeCheckConfig(p),p}static getInstance(p){return r.get(b(p),this.DATA_KEY)}static getOrCreateInstance(p,k={}){return this.getInstance(p)||new this(p,typeof k=="object"?k:null)}static get VERSION(){return ie}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(p){return`${p}${this.EVENT_KEY}`}}const te=z=>{let p=z.getAttribute("data-bs-target");if(!p||p==="#"){let k=z.getAttribute("href");if(!k||!k.includes("#")&&!k.startsWith("."))return null;k.includes("#")&&!k.startsWith("#")&&(k=`#${k.split("#")[1]}`),p=k&&k!=="#"?u(k.trim()):null}return p},G={find(z,p=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(p,z))},findOne(z,p=document.documentElement){return Element.prototype.querySelector.call(p,z)},children(z,p){return[].concat(...z.children).filter(k=>k.matches(p))},parents(z,p){const k=[];let K=z.parentNode.closest(p);for(;K;)k.push(K),K=K.parentNode.closest(p);return k},prev(z,p){let k=z.previousElementSibling;for(;k;){if(k.matches(p))return[k];k=k.previousElementSibling}return[]},next(z,p){let k=z.nextElementSibling;for(;k;){if(k.matches(p))return[k];k=k.nextElementSibling}return[]},focusableChildren(z){const p=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(k=>`${k}:not([tabindex^="-"])`).join(",");return this.find(p,z).filter(k=>!$(k)&&w(k))},getSelectorFromElement(z){const p=te(z);return p&&G.findOne(p)?p:null},getElementFromSelector(z){const p=te(z);return p?G.findOne(p):null},getMultipleElementsFromSelector(z){const p=te(z);return p?G.find(p):[]}},de=(z,p="hide")=>{const k=`click.dismiss${z.EVENT_KEY}`,K=z.NAME;N.on(document,k,`[data-bs-dismiss="${K}"]`,function(pe){if(["A","AREA"].includes(this.tagName)&&pe.preventDefault(),$(this))return;const Ee=G.getElementFromSelector(this)||this.closest(`.${K}`);z.getOrCreateInstance(Ee)[p]()})},ge="alert",Re=".bs.alert",De=`close${Re}`,Ve=`closed${Re}`,Be="fade",et="show";class Ge extends j{static get NAME(){return ge}close(){if(N.trigger(this._element,De).defaultPrevented)return;this._element.classList.remove(et);const k=this._element.classList.contains(Be);this._queueCallback(()=>this._destroyElement(),this._element,k)}_destroyElement(){this._element.remove(),N.trigger(this._element,Ve),this.dispose()}static jQueryInterface(p){return this.each(function(){const k=Ge.getOrCreateInstance(this);if(typeof p=="string"){if(k[p]===void 0||p.startsWith("_")||p==="constructor")throw new TypeError(`No method named "${p}"`);k[p](this)}})}}de(Ge,"close"),C(Ge);const pt="button",Hn=".bs.button",ii=".data-api",Qn="active",Ds='[data-bs-toggle="button"]',Vt=`click${Hn}${ii}`;class ne extends j{static get NAME(){return pt}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Qn))}static jQueryInterface(p){return this.each(function(){const k=ne.getOrCreateInstance(this);p==="toggle"&&k[p]()})}}N.on(document,Vt,Ds,z=>{z.preventDefault();const p=z.target.closest(Ds);ne.getOrCreateInstance(p).toggle()}),C(ne);const ke="swipe",ce=".bs.swipe",$e=`touchstart${ce}`,Me=`touchmove${ce}`,nn=`touchend${ce}`,xn=`pointerdown${ce}`,Os=`pointerup${ce}`,No="touch",Ki="pen",fs="pointer-event",Br=40,gu={endCallback:null,leftCallback:null,rightCallback:null},N1={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class al extends W{constructor(p,k){super(),this._element=p,!(!p||!al.isSupported())&&(this._config=this._getConfig(k),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return gu}static get DefaultType(){return N1}static get NAME(){return ke}dispose(){N.off(this._element,ce)}_start(p){if(!this._supportPointerEvents){this._deltaX=p.touches[0].clientX;return}this._eventIsPointerPenTouch(p)&&(this._deltaX=p.clientX)}_end(p){this._eventIsPointerPenTouch(p)&&(this._deltaX=p.clientX-this._deltaX),this._handleSwipe(),B(this._config.endCallback)}_move(p){this._deltaX=p.touches&&p.touches.length>1?0:p.touches[0].clientX-this._deltaX}_handleSwipe(){const p=Math.abs(this._deltaX);if(p<=Br)return;const k=p/this._deltaX;this._deltaX=0,k&&B(k>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(N.on(this._element,xn,p=>this._start(p)),N.on(this._element,Os,p=>this._end(p)),this._element.classList.add(fs)):(N.on(this._element,$e,p=>this._start(p)),N.on(this._element,Me,p=>this._move(p)),N.on(this._element,nn,p=>this._end(p)))}_eventIsPointerPenTouch(p){return this._supportPointerEvents&&(p.pointerType===Ki||p.pointerType===No)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const F1="carousel",oi=".bs.carousel",Gf=".data-api",B1="ArrowLeft",V1="ArrowRight",H1=500,Vr="next",Fo="prev",Bo="left",ll="right",j1=`slide${oi}`,mu=`slid${oi}`,W1=`keydown${oi}`,z1=`mouseenter${oi}`,Y1=`mouseleave${oi}`,U1=`dragstart${oi}`,K1=`load${oi}${Gf}`,q1=`click${oi}${Gf}`,Jf="carousel",cl="active",G1="slide",J1="carousel-item-end",X1="carousel-item-start",Q1="carousel-item-next",Z1="carousel-item-prev",Xf=".active",Qf=".carousel-item",ew=Xf+Qf,tw=".carousel-item img",nw=".carousel-indicators",sw="[data-bs-slide], [data-bs-slide-to]",iw='[data-bs-ride="carousel"]',ow={[B1]:ll,[V1]:Bo},rw={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},aw={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Vo extends j{constructor(p,k){super(p,k),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=G.findOne(nw,this._element),this._addEventListeners(),this._config.ride===Jf&&this.cycle()}static get Default(){return rw}static get DefaultType(){return aw}static get NAME(){return F1}next(){this._slide(Vr)}nextWhenVisible(){!document.hidden&&w(this._element)&&this.next()}prev(){this._slide(Fo)}pause(){this._isSliding&&_(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){N.one(this._element,mu,()=>this.cycle());return}this.cycle()}}to(p){const k=this._getItems();if(p>k.length-1||p<0)return;if(this._isSliding){N.one(this._element,mu,()=>this.to(p));return}const K=this._getItemIndex(this._getActive());if(K===p)return;const pe=p>K?Vr:Fo;this._slide(pe,k[p])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(p){return p.defaultInterval=p.interval,p}_addEventListeners(){this._config.keyboard&&N.on(this._element,W1,p=>this._keydown(p)),this._config.pause==="hover"&&(N.on(this._element,z1,()=>this.pause()),N.on(this._element,Y1,()=>this._maybeEnableCycle())),this._config.touch&&al.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const K of G.find(tw,this._element))N.on(K,U1,pe=>pe.preventDefault());const k={leftCallback:()=>this._slide(this._directionToOrder(Bo)),rightCallback:()=>this._slide(this._directionToOrder(ll)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),H1+this._config.interval))}};this._swipeHelper=new al(this._element,k)}_keydown(p){if(/input|textarea/i.test(p.target.tagName))return;const k=ow[p.key];k&&(p.preventDefault(),this._slide(this._directionToOrder(k)))}_getItemIndex(p){return this._getItems().indexOf(p)}_setActiveIndicatorElement(p){if(!this._indicatorsElement)return;const k=G.findOne(Xf,this._indicatorsElement);k.classList.remove(cl),k.removeAttribute("aria-current");const K=G.findOne(`[data-bs-slide-to="${p}"]`,this._indicatorsElement);K&&(K.classList.add(cl),K.setAttribute("aria-current","true"))}_updateInterval(){const p=this._activeElement||this._getActive();if(!p)return;const k=Number.parseInt(p.getAttribute("data-bs-interval"),10);this._config.interval=k||this._config.defaultInterval}_slide(p,k=null){if(this._isSliding)return;const K=this._getActive(),pe=p===Vr,Ee=k||ae(this._getItems(),K,pe,this._config.wrap);if(Ee===K)return;const Ae=this._getItemIndex(Ee),Je=vl=>N.trigger(this._element,vl,{relatedTarget:Ee,direction:this._orderToDirection(p),from:this._getItemIndex(K),to:Ae});if(Je(j1).defaultPrevented||!K||!Ee)return;const Wn=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(Ae),this._activeElement=Ee;const Gt=pe?X1:J1,ps=pe?Q1:Z1;Ee.classList.add(ps),x(Ee),K.classList.add(Gt),Ee.classList.add(Gt);const es=()=>{Ee.classList.remove(Gt,ps),Ee.classList.add(cl),K.classList.remove(cl,ps,Gt),this._isSliding=!1,Je(mu)};this._queueCallback(es,K,this._isAnimated()),Wn&&this.cycle()}_isAnimated(){return this._element.classList.contains(G1)}_getActive(){return G.findOne(ew,this._element)}_getItems(){return G.find(Qf,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(p){return T()?p===Bo?Fo:Vr:p===Bo?Vr:Fo}_orderToDirection(p){return T()?p===Fo?Bo:ll:p===Fo?ll:Bo}static jQueryInterface(p){return this.each(function(){const k=Vo.getOrCreateInstance(this,p);if(typeof p=="number"){k.to(p);return}if(typeof p=="string"){if(k[p]===void 0||p.startsWith("_")||p==="constructor")throw new TypeError(`No method named "${p}"`);k[p]()}})}}N.on(document,q1,sw,function(z){const p=G.getElementFromSelector(this);if(!p||!p.classList.contains(Jf))return;z.preventDefault();const k=Vo.getOrCreateInstance(p),K=this.getAttribute("data-bs-slide-to");if(K){k.to(K),k._maybeEnableCycle();return}if(H.getDataAttribute(this,"slide")==="next"){k.next(),k._maybeEnableCycle();return}k.prev(),k._maybeEnableCycle()}),N.on(window,K1,()=>{const z=G.find(iw);for(const p of z)Vo.getOrCreateInstance(p)}),C(Vo);const lw="collapse",Hr=".bs.collapse",cw=".data-api",uw=`show${Hr}`,dw=`shown${Hr}`,hw=`hide${Hr}`,fw=`hidden${Hr}`,pw=`click${Hr}${cw}`,_u="show",Ho="collapse",ul="collapsing",gw="collapsed",mw=`:scope .${Ho} .${Ho}`,_w="collapse-horizontal",vw="width",bw="height",yw=".collapse.show, .collapse.collapsing",vu='[data-bs-toggle="collapse"]',ww={parent:null,toggle:!0},xw={parent:"(null|element)",toggle:"boolean"};class jo extends j{constructor(p,k){super(p,k),this._isTransitioning=!1,this._triggerArray=[];const K=G.find(vu);for(const pe of K){const Ee=G.getSelectorFromElement(pe),Ae=G.find(Ee).filter(Je=>Je===this._element);Ee!==null&&Ae.length&&this._triggerArray.push(pe)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ww}static get DefaultType(){return xw}static get NAME(){return lw}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let p=[];if(this._config.parent&&(p=this._getFirstLevelChildren(yw).filter(Je=>Je!==this._element).map(Je=>jo.getOrCreateInstance(Je,{toggle:!1}))),p.length&&p[0]._isTransitioning||N.trigger(this._element,uw).defaultPrevented)return;for(const Je of p)Je.hide();const K=this._getDimension();this._element.classList.remove(Ho),this._element.classList.add(ul),this._element.style[K]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const pe=()=>{this._isTransitioning=!1,this._element.classList.remove(ul),this._element.classList.add(Ho,_u),this._element.style[K]="",N.trigger(this._element,dw)},Ae=`scroll${K[0].toUpperCase()+K.slice(1)}`;this._queueCallback(pe,this._element,!0),this._element.style[K]=`${this._element[Ae]}px`}hide(){if(this._isTransitioning||!this._isShown()||N.trigger(this._element,hw).defaultPrevented)return;const k=this._getDimension();this._element.style[k]=`${this._element.getBoundingClientRect()[k]}px`,x(this._element),this._element.classList.add(ul),this._element.classList.remove(Ho,_u);for(const pe of this._triggerArray){const Ee=G.getElementFromSelector(pe);Ee&&!this._isShown(Ee)&&this._addAriaAndCollapsedClass([pe],!1)}this._isTransitioning=!0;const K=()=>{this._isTransitioning=!1,this._element.classList.remove(ul),this._element.classList.add(Ho),N.trigger(this._element,fw)};this._element.style[k]="",this._queueCallback(K,this._element,!0)}_isShown(p=this._element){return p.classList.contains(_u)}_configAfterMerge(p){return p.toggle=!!p.toggle,p.parent=b(p.parent),p}_getDimension(){return this._element.classList.contains(_w)?vw:bw}_initializeChildren(){if(!this._config.parent)return;const p=this._getFirstLevelChildren(vu);for(const k of p){const K=G.getElementFromSelector(k);K&&this._addAriaAndCollapsedClass([k],this._isShown(K))}}_getFirstLevelChildren(p){const k=G.find(mw,this._config.parent);return G.find(p,this._config.parent).filter(K=>!k.includes(K))}_addAriaAndCollapsedClass(p,k){if(p.length)for(const K of p)K.classList.toggle(gw,!k),K.setAttribute("aria-expanded",k)}static jQueryInterface(p){const k={};return typeof p=="string"&&/show|hide/.test(p)&&(k.toggle=!1),this.each(function(){const K=jo.getOrCreateInstance(this,k);if(typeof p=="string"){if(typeof K[p]>"u")throw new TypeError(`No method named "${p}"`);K[p]()}})}}N.on(document,pw,vu,function(z){(z.target.tagName==="A"||z.delegateTarget&&z.delegateTarget.tagName==="A")&&z.preventDefault();for(const p of G.getMultipleElementsFromSelector(this))jo.getOrCreateInstance(p,{toggle:!1}).toggle()}),C(jo);const Zf="dropdown",qi=".bs.dropdown",bu=".data-api",kw="Escape",ep="Tab",Sw="ArrowUp",tp="ArrowDown",$w=2,Aw=`hide${qi}`,Cw=`hidden${qi}`,Ew=`show${qi}`,Pw=`shown${qi}`,np=`click${qi}${bu}`,sp=`keydown${qi}${bu}`,Tw=`keyup${qi}${bu}`,Wo="show",Mw="dropup",Dw="dropend",Ow="dropstart",Iw="dropup-center",Rw="dropdown-center",Gi='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Lw=`${Gi}.${Wo}`,dl=".dropdown-menu",Nw=".navbar",Fw=".navbar-nav",Bw=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Vw=T()?"top-end":"top-start",Hw=T()?"top-start":"top-end",jw=T()?"bottom-end":"bottom-start",Ww=T()?"bottom-start":"bottom-end",zw=T()?"left-start":"right-start",Yw=T()?"right-start":"left-start",Uw="top",Kw="bottom",qw={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Gw={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Zn extends j{constructor(p,k){super(p,k),this._popper=null,this._parent=this._element.parentNode,this._menu=G.next(this._element,dl)[0]||G.prev(this._element,dl)[0]||G.findOne(dl,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return qw}static get DefaultType(){return Gw}static get NAME(){return Zf}toggle(){return this._isShown()?this.hide():this.show()}show(){if($(this._element)||this._isShown())return;const p={relatedTarget:this._element};if(!N.trigger(this._element,Ew,p).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Fw))for(const K of[].concat(...document.body.children))N.on(K,"mouseover",D);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Wo),this._element.classList.add(Wo),N.trigger(this._element,Pw,p)}}hide(){if($(this._element)||!this._isShown())return;const p={relatedTarget:this._element};this._completeHide(p)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(p){if(!N.trigger(this._element,Aw,p).defaultPrevented){if("ontouchstart"in document.documentElement)for(const K of[].concat(...document.body.children))N.off(K,"mouseover",D);this._popper&&this._popper.destroy(),this._menu.classList.remove(Wo),this._element.classList.remove(Wo),this._element.setAttribute("aria-expanded","false"),H.removeDataAttribute(this._menu,"popper"),N.trigger(this._element,Cw,p)}}_getConfig(p){if(p=super._getConfig(p),typeof p.reference=="object"&&!m(p.reference)&&typeof p.reference.getBoundingClientRect!="function")throw new TypeError(`${Zf.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return p}_createPopper(){if(typeof i>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let p=this._element;this._config.reference==="parent"?p=this._parent:m(this._config.reference)?p=b(this._config.reference):typeof this._config.reference=="object"&&(p=this._config.reference);const k=this._getPopperConfig();this._popper=i.createPopper(p,this._menu,k)}_isShown(){return this._menu.classList.contains(Wo)}_getPlacement(){const p=this._parent;if(p.classList.contains(Dw))return zw;if(p.classList.contains(Ow))return Yw;if(p.classList.contains(Iw))return Uw;if(p.classList.contains(Rw))return Kw;const k=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return p.classList.contains(Mw)?k?Hw:Vw:k?Ww:jw}_detectNavbar(){return this._element.closest(Nw)!==null}_getOffset(){const{offset:p}=this._config;return typeof p=="string"?p.split(",").map(k=>Number.parseInt(k,10)):typeof p=="function"?k=>p(k,this._element):p}_getPopperConfig(){const p={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(H.setDataAttribute(this._menu,"popper","static"),p.modifiers=[{name:"applyStyles",enabled:!1}]),{...p,...B(this._config.popperConfig,[p])}}_selectMenuItem({key:p,target:k}){const K=G.find(Bw,this._menu).filter(pe=>w(pe));K.length&&ae(K,k,p===tp,!K.includes(k)).focus()}static jQueryInterface(p){return this.each(function(){const k=Zn.getOrCreateInstance(this,p);if(typeof p=="string"){if(typeof k[p]>"u")throw new TypeError(`No method named "${p}"`);k[p]()}})}static clearMenus(p){if(p.button===$w||p.type==="keyup"&&p.key!==ep)return;const k=G.find(Lw);for(const K of k){const pe=Zn.getInstance(K);if(!pe||pe._config.autoClose===!1)continue;const Ee=p.composedPath(),Ae=Ee.includes(pe._menu);if(Ee.includes(pe._element)||pe._config.autoClose==="inside"&&!Ae||pe._config.autoClose==="outside"&&Ae||pe._menu.contains(p.target)&&(p.type==="keyup"&&p.key===ep||/input|select|option|textarea|form/i.test(p.target.tagName)))continue;const Je={relatedTarget:pe._element};p.type==="click"&&(Je.clickEvent=p),pe._completeHide(Je)}}static dataApiKeydownHandler(p){const k=/input|textarea/i.test(p.target.tagName),K=p.key===kw,pe=[Sw,tp].includes(p.key);if(!pe&&!K||k&&!K)return;p.preventDefault();const Ee=this.matches(Gi)?this:G.prev(this,Gi)[0]||G.next(this,Gi)[0]||G.findOne(Gi,p.delegateTarget.parentNode),Ae=Zn.getOrCreateInstance(Ee);if(pe){p.stopPropagation(),Ae.show(),Ae._selectMenuItem(p);return}Ae._isShown()&&(p.stopPropagation(),Ae.hide(),Ee.focus())}}N.on(document,sp,Gi,Zn.dataApiKeydownHandler),N.on(document,sp,dl,Zn.dataApiKeydownHandler),N.on(document,np,Zn.clearMenus),N.on(document,Tw,Zn.clearMenus),N.on(document,np,Gi,function(z){z.preventDefault(),Zn.getOrCreateInstance(this).toggle()}),C(Zn);const ip="backdrop",Jw="fade",op="show",rp=`mousedown.bs.${ip}`,Xw={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Qw={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ap extends W{constructor(p){super(),this._config=this._getConfig(p),this._isAppended=!1,this._element=null}static get Default(){return Xw}static get DefaultType(){return Qw}static get NAME(){return ip}show(p){if(!this._config.isVisible){B(p);return}this._append();const k=this._getElement();this._config.isAnimated&&x(k),k.classList.add(op),this._emulateAnimation(()=>{B(p)})}hide(p){if(!this._config.isVisible){B(p);return}this._getElement().classList.remove(op),this._emulateAnimation(()=>{this.dispose(),B(p)})}dispose(){this._isAppended&&(N.off(this._element,rp),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const p=document.createElement("div");p.className=this._config.className,this._config.isAnimated&&p.classList.add(Jw),this._element=p}return this._element}_configAfterMerge(p){return p.rootElement=b(p.rootElement),p}_append(){if(this._isAppended)return;const p=this._getElement();this._config.rootElement.append(p),N.on(p,rp,()=>{B(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(p){J(p,this._getElement(),this._config.isAnimated)}}const Zw="focustrap",hl=".bs.focustrap",ex=`focusin${hl}`,tx=`keydown.tab${hl}`,nx="Tab",sx="forward",lp="backward",ix={autofocus:!0,trapElement:null},ox={autofocus:"boolean",trapElement:"element"};class cp extends W{constructor(p){super(),this._config=this._getConfig(p),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ix}static get DefaultType(){return ox}static get NAME(){return Zw}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),N.off(document,hl),N.on(document,ex,p=>this._handleFocusin(p)),N.on(document,tx,p=>this._handleKeydown(p)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,N.off(document,hl))}_handleFocusin(p){const{trapElement:k}=this._config;if(p.target===document||p.target===k||k.contains(p.target))return;const K=G.focusableChildren(k);K.length===0?k.focus():this._lastTabNavDirection===lp?K[K.length-1].focus():K[0].focus()}_handleKeydown(p){p.key===nx&&(this._lastTabNavDirection=p.shiftKey?lp:sx)}}const up=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",dp=".sticky-top",fl="padding-right",hp="margin-right";class yu{constructor(){this._element=document.body}getWidth(){const p=document.documentElement.clientWidth;return Math.abs(window.innerWidth-p)}hide(){const p=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,fl,k=>k+p),this._setElementAttributes(up,fl,k=>k+p),this._setElementAttributes(dp,hp,k=>k-p)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,fl),this._resetElementAttributes(up,fl),this._resetElementAttributes(dp,hp)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(p,k,K){const pe=this.getWidth(),Ee=Ae=>{if(Ae!==this._element&&window.innerWidth>Ae.clientWidth+pe)return;this._saveInitialAttribute(Ae,k);const Je=window.getComputedStyle(Ae).getPropertyValue(k);Ae.style.setProperty(k,`${K(Number.parseFloat(Je))}px`)};this._applyManipulationCallback(p,Ee)}_saveInitialAttribute(p,k){const K=p.style.getPropertyValue(k);K&&H.setDataAttribute(p,k,K)}_resetElementAttributes(p,k){const K=pe=>{const Ee=H.getDataAttribute(pe,k);if(Ee===null){pe.style.removeProperty(k);return}H.removeDataAttribute(pe,k),pe.style.setProperty(k,Ee)};this._applyManipulationCallback(p,K)}_applyManipulationCallback(p,k){if(m(p)){k(p);return}for(const K of G.find(p,this._element))k(K)}}const rx="modal",jn=".bs.modal",ax=".data-api",lx="Escape",cx=`hide${jn}`,ux=`hidePrevented${jn}`,fp=`hidden${jn}`,pp=`show${jn}`,dx=`shown${jn}`,hx=`resize${jn}`,fx=`click.dismiss${jn}`,px=`mousedown.dismiss${jn}`,gx=`keydown.dismiss${jn}`,mx=`click${jn}${ax}`,gp="modal-open",_x="fade",mp="show",wu="modal-static",vx=".modal.show",bx=".modal-dialog",yx=".modal-body",wx='[data-bs-toggle="modal"]',xx={backdrop:!0,focus:!0,keyboard:!0},kx={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ji extends j{constructor(p,k){super(p,k),this._dialog=G.findOne(bx,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new yu,this._addEventListeners()}static get Default(){return xx}static get DefaultType(){return kx}static get NAME(){return rx}toggle(p){return this._isShown?this.hide():this.show(p)}show(p){this._isShown||this._isTransitioning||N.trigger(this._element,pp,{relatedTarget:p}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(gp),this._adjustDialog(),this._backdrop.show(()=>this._showElement(p)))}hide(){!this._isShown||this._isTransitioning||N.trigger(this._element,cx).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(mp),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){N.off(window,jn),N.off(this._dialog,jn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ap({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new cp({trapElement:this._element})}_showElement(p){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const k=G.findOne(yx,this._dialog);k&&(k.scrollTop=0),x(this._element),this._element.classList.add(mp);const K=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,N.trigger(this._element,dx,{relatedTarget:p})};this._queueCallback(K,this._dialog,this._isAnimated())}_addEventListeners(){N.on(this._element,gx,p=>{if(p.key===lx){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),N.on(window,hx,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),N.on(this._element,px,p=>{N.one(this._element,fx,k=>{if(!(this._element!==p.target||this._element!==k.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(gp),this._resetAdjustments(),this._scrollBar.reset(),N.trigger(this._element,fp)})}_isAnimated(){return this._element.classList.contains(_x)}_triggerBackdropTransition(){if(N.trigger(this._element,ux).defaultPrevented)return;const k=this._element.scrollHeight>document.documentElement.clientHeight,K=this._element.style.overflowY;K==="hidden"||this._element.classList.contains(wu)||(k||(this._element.style.overflowY="hidden"),this._element.classList.add(wu),this._queueCallback(()=>{this._element.classList.remove(wu),this._queueCallback(()=>{this._element.style.overflowY=K},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const p=this._element.scrollHeight>document.documentElement.clientHeight,k=this._scrollBar.getWidth(),K=k>0;if(K&&!p){const pe=T()?"paddingLeft":"paddingRight";this._element.style[pe]=`${k}px`}if(!K&&p){const pe=T()?"paddingRight":"paddingLeft";this._element.style[pe]=`${k}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(p,k){return this.each(function(){const K=Ji.getOrCreateInstance(this,p);if(typeof p=="string"){if(typeof K[p]>"u")throw new TypeError(`No method named "${p}"`);K[p](k)}})}}N.on(document,mx,wx,function(z){const p=G.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&z.preventDefault(),N.one(p,pp,pe=>{pe.defaultPrevented||N.one(p,fp,()=>{w(this)&&this.focus()})});const k=G.findOne(vx);k&&Ji.getInstance(k).hide(),Ji.getOrCreateInstance(p).toggle(this)}),de(Ji),C(Ji);const Sx="offcanvas",Is=".bs.offcanvas",_p=".data-api",$x=`load${Is}${_p}`,Ax="Escape",vp="show",bp="showing",yp="hiding",Cx="offcanvas-backdrop",wp=".offcanvas.show",Ex=`show${Is}`,Px=`shown${Is}`,Tx=`hide${Is}`,xp=`hidePrevented${Is}`,kp=`hidden${Is}`,Mx=`resize${Is}`,Dx=`click${Is}${_p}`,Ox=`keydown.dismiss${Is}`,Ix='[data-bs-toggle="offcanvas"]',Rx={backdrop:!0,keyboard:!0,scroll:!1},Lx={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Rs extends j{constructor(p,k){super(p,k),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Rx}static get DefaultType(){return Lx}static get NAME(){return Sx}toggle(p){return this._isShown?this.hide():this.show(p)}show(p){if(this._isShown||N.trigger(this._element,Ex,{relatedTarget:p}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new yu().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(bp);const K=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(vp),this._element.classList.remove(bp),N.trigger(this._element,Px,{relatedTarget:p})};this._queueCallback(K,this._element,!0)}hide(){if(!this._isShown||N.trigger(this._element,Tx).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(yp),this._backdrop.hide();const k=()=>{this._element.classList.remove(vp,yp),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new yu().reset(),N.trigger(this._element,kp)};this._queueCallback(k,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const p=()=>{if(this._config.backdrop==="static"){N.trigger(this._element,xp);return}this.hide()},k=!!this._config.backdrop;return new ap({className:Cx,isVisible:k,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:k?p:null})}_initializeFocusTrap(){return new cp({trapElement:this._element})}_addEventListeners(){N.on(this._element,Ox,p=>{if(p.key===Ax){if(this._config.keyboard){this.hide();return}N.trigger(this._element,xp)}})}static jQueryInterface(p){return this.each(function(){const k=Rs.getOrCreateInstance(this,p);if(typeof p=="string"){if(k[p]===void 0||p.startsWith("_")||p==="constructor")throw new TypeError(`No method named "${p}"`);k[p](this)}})}}N.on(document,Dx,Ix,function(z){const p=G.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&z.preventDefault(),$(this))return;N.one(p,kp,()=>{w(this)&&this.focus()});const k=G.findOne(wp);k&&k!==p&&Rs.getInstance(k).hide(),Rs.getOrCreateInstance(p).toggle(this)}),N.on(window,$x,()=>{for(const z of G.find(wp))Rs.getOrCreateInstance(z).show()}),N.on(window,Mx,()=>{for(const z of G.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(z).position!=="fixed"&&Rs.getOrCreateInstance(z).hide()}),de(Rs),C(Rs);const Sp={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Nx=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Fx=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Bx=(z,p)=>{const k=z.nodeName.toLowerCase();return p.includes(k)?Nx.has(k)?!!Fx.test(z.nodeValue):!0:p.filter(K=>K instanceof RegExp).some(K=>K.test(k))};function Vx(z,p,k){if(!z.length)return z;if(k&&typeof k=="function")return k(z);const pe=new window.DOMParser().parseFromString(z,"text/html"),Ee=[].concat(...pe.body.querySelectorAll("*"));for(const Ae of Ee){const Je=Ae.nodeName.toLowerCase();if(!Object.keys(p).includes(Je)){Ae.remove();continue}const kn=[].concat(...Ae.attributes),Wn=[].concat(p["*"]||[],p[Je]||[]);for(const Gt of kn)Bx(Gt,Wn)||Ae.removeAttribute(Gt.nodeName)}return pe.body.innerHTML}const Hx="TemplateFactory",jx={allowList:Sp,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Wx={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},zx={entry:"(string|element|function|null)",selector:"(string|element)"};class Yx extends W{constructor(p){super(),this._config=this._getConfig(p)}static get Default(){return jx}static get DefaultType(){return Wx}static get NAME(){return Hx}getContent(){return Object.values(this._config.content).map(p=>this._resolvePossibleFunction(p)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(p){return this._checkContent(p),this._config.content={...this._config.content,...p},this}toHtml(){const p=document.createElement("div");p.innerHTML=this._maybeSanitize(this._config.template);for(const[pe,Ee]of Object.entries(this._config.content))this._setContent(p,Ee,pe);const k=p.children[0],K=this._resolvePossibleFunction(this._config.extraClass);return K&&k.classList.add(...K.split(" ")),k}_typeCheckConfig(p){super._typeCheckConfig(p),this._checkContent(p.content)}_checkContent(p){for(const[k,K]of Object.entries(p))super._typeCheckConfig({selector:k,entry:K},zx)}_setContent(p,k,K){const pe=G.findOne(K,p);if(pe){if(k=this._resolvePossibleFunction(k),!k){pe.remove();return}if(m(k)){this._putElementInTemplate(b(k),pe);return}if(this._config.html){pe.innerHTML=this._maybeSanitize(k);return}pe.textContent=k}}_maybeSanitize(p){return this._config.sanitize?Vx(p,this._config.allowList,this._config.sanitizeFn):p}_resolvePossibleFunction(p){return B(p,[this])}_putElementInTemplate(p,k){if(this._config.html){k.innerHTML="",k.append(p);return}k.textContent=p.textContent}}const Ux="tooltip",Kx=new Set(["sanitize","allowList","sanitizeFn"]),xu="fade",qx="modal",pl="show",Gx=".tooltip-inner",$p=`.${qx}`,Ap="hide.bs.modal",jr="hover",ku="focus",Jx="click",Xx="manual",Qx="hide",Zx="hidden",ek="show",tk="shown",nk="inserted",sk="click",ik="focusin",ok="focusout",rk="mouseenter",ak="mouseleave",lk={AUTO:"auto",TOP:"top",RIGHT:T()?"left":"right",BOTTOM:"bottom",LEFT:T()?"right":"left"},ck={allowList:Sp,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},uk={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Xi extends j{constructor(p,k){if(typeof i>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(p,k),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return ck}static get DefaultType(){return uk}static get NAME(){return Ux}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),N.off(this._element.closest($p),Ap,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const p=N.trigger(this._element,this.constructor.eventName(ek)),K=(A(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(p.defaultPrevented||!K)return;this._disposePopper();const pe=this._getTipElement();this._element.setAttribute("aria-describedby",pe.getAttribute("id"));const{container:Ee}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(Ee.append(pe),N.trigger(this._element,this.constructor.eventName(nk))),this._popper=this._createPopper(pe),pe.classList.add(pl),"ontouchstart"in document.documentElement)for(const Je of[].concat(...document.body.children))N.on(Je,"mouseover",D);const Ae=()=>{N.trigger(this._element,this.constructor.eventName(tk)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(Ae,this.tip,this._isAnimated())}hide(){if(!this._isShown()||N.trigger(this._element,this.constructor.eventName(Qx)).defaultPrevented)return;if(this._getTipElement().classList.remove(pl),"ontouchstart"in document.documentElement)for(const pe of[].concat(...document.body.children))N.off(pe,"mouseover",D);this._activeTrigger[Jx]=!1,this._activeTrigger[ku]=!1,this._activeTrigger[jr]=!1,this._isHovered=null;const K=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),N.trigger(this._element,this.constructor.eventName(Zx)))};this._queueCallback(K,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(p){const k=this._getTemplateFactory(p).toHtml();if(!k)return null;k.classList.remove(xu,pl),k.classList.add(`bs-${this.constructor.NAME}-auto`);const K=f(this.constructor.NAME).toString();return k.setAttribute("id",K),this._isAnimated()&&k.classList.add(xu),k}setContent(p){this._newContent=p,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(p){return this._templateFactory?this._templateFactory.changeContent(p):this._templateFactory=new Yx({...this._config,content:p,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Gx]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(p){return this.constructor.getOrCreateInstance(p.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(xu)}_isShown(){return this.tip&&this.tip.classList.contains(pl)}_createPopper(p){const k=B(this._config.placement,[this,p,this._element]),K=lk[k.toUpperCase()];return i.createPopper(this._element,p,this._getPopperConfig(K))}_getOffset(){const{offset:p}=this._config;return typeof p=="string"?p.split(",").map(k=>Number.parseInt(k,10)):typeof p=="function"?k=>p(k,this._element):p}_resolvePossibleFunction(p){return B(p,[this._element])}_getPopperConfig(p){const k={placement:p,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:K=>{this._getTipElement().setAttribute("data-popper-placement",K.state.placement)}}]};return{...k,...B(this._config.popperConfig,[k])}}_setListeners(){const p=this._config.trigger.split(" ");for(const k of p)if(k==="click")N.on(this._element,this.constructor.eventName(sk),this._config.selector,K=>{this._initializeOnDelegatedTarget(K).toggle()});else if(k!==Xx){const K=k===jr?this.constructor.eventName(rk):this.constructor.eventName(ik),pe=k===jr?this.constructor.eventName(ak):this.constructor.eventName(ok);N.on(this._element,K,this._config.selector,Ee=>{const Ae=this._initializeOnDelegatedTarget(Ee);Ae._activeTrigger[Ee.type==="focusin"?ku:jr]=!0,Ae._enter()}),N.on(this._element,pe,this._config.selector,Ee=>{const Ae=this._initializeOnDelegatedTarget(Ee);Ae._activeTrigger[Ee.type==="focusout"?ku:jr]=Ae._element.contains(Ee.relatedTarget),Ae._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},N.on(this._element.closest($p),Ap,this._hideModalHandler)}_fixTitle(){const p=this._element.getAttribute("title");p&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",p),this._element.setAttribute("data-bs-original-title",p),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(p,k){clearTimeout(this._timeout),this._timeout=setTimeout(p,k)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(p){const k=H.getDataAttributes(this._element);for(const K of Object.keys(k))Kx.has(K)&&delete k[K];return p={...k,...typeof p=="object"&&p?p:{}},p=this._mergeConfigObj(p),p=this._configAfterMerge(p),this._typeCheckConfig(p),p}_configAfterMerge(p){return p.container=p.container===!1?document.body:b(p.container),typeof p.delay=="number"&&(p.delay={show:p.delay,hide:p.delay}),typeof p.title=="number"&&(p.title=p.title.toString()),typeof p.content=="number"&&(p.content=p.content.toString()),p}_getDelegateConfig(){const p={};for(const[k,K]of Object.entries(this._config))this.constructor.Default[k]!==K&&(p[k]=K);return p.selector=!1,p.trigger="manual",p}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(p){return this.each(function(){const k=Xi.getOrCreateInstance(this,p);if(typeof p=="string"){if(typeof k[p]>"u")throw new TypeError(`No method named "${p}"`);k[p]()}})}}C(Xi);const dk="popover",hk=".popover-header",fk=".popover-body",pk={...Xi.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},gk={...Xi.DefaultType,content:"(null|string|element|function)"};class gl extends Xi{static get Default(){return pk}static get DefaultType(){return gk}static get NAME(){return dk}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[hk]:this._getTitle(),[fk]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(p){return this.each(function(){const k=gl.getOrCreateInstance(this,p);if(typeof p=="string"){if(typeof k[p]>"u")throw new TypeError(`No method named "${p}"`);k[p]()}})}}C(gl);const mk="scrollspy",Su=".bs.scrollspy",_k=".data-api",vk=`activate${Su}`,Cp=`click${Su}`,bk=`load${Su}${_k}`,yk="dropdown-item",zo="active",wk='[data-bs-spy="scroll"]',$u="[href]",xk=".nav, .list-group",Ep=".nav-link",kk=`${Ep}, .nav-item > ${Ep}, .list-group-item`,Sk=".dropdown",$k=".dropdown-toggle",Ak={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ck={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Wr extends j{constructor(p,k){super(p,k),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Ak}static get DefaultType(){return Ck}static get NAME(){return mk}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const p of this._observableSections.values())this._observer.observe(p)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(p){return p.target=b(p.target)||document.body,p.rootMargin=p.offset?`${p.offset}px 0px -30%`:p.rootMargin,typeof p.threshold=="string"&&(p.threshold=p.threshold.split(",").map(k=>Number.parseFloat(k))),p}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(N.off(this._config.target,Cp),N.on(this._config.target,Cp,$u,p=>{const k=this._observableSections.get(p.target.hash);if(k){p.preventDefault();const K=this._rootElement||window,pe=k.offsetTop-this._element.offsetTop;if(K.scrollTo){K.scrollTo({top:pe,behavior:"smooth"});return}K.scrollTop=pe}}))}_getNewObserver(){const p={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(k=>this._observerCallback(k),p)}_observerCallback(p){const k=Ae=>this._targetLinks.get(`#${Ae.target.id}`),K=Ae=>{this._previousScrollData.visibleEntryTop=Ae.target.offsetTop,this._process(k(Ae))},pe=(this._rootElement||document.documentElement).scrollTop,Ee=pe>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=pe;for(const Ae of p){if(!Ae.isIntersecting){this._activeTarget=null,this._clearActiveClass(k(Ae));continue}const Je=Ae.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(Ee&&Je){if(K(Ae),!pe)return;continue}!Ee&&!Je&&K(Ae)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const p=G.find($u,this._config.target);for(const k of p){if(!k.hash||$(k))continue;const K=G.findOne(decodeURI(k.hash),this._element);w(K)&&(this._targetLinks.set(decodeURI(k.hash),k),this._observableSections.set(k.hash,K))}}_process(p){this._activeTarget!==p&&(this._clearActiveClass(this._config.target),this._activeTarget=p,p.classList.add(zo),this._activateParents(p),N.trigger(this._element,vk,{relatedTarget:p}))}_activateParents(p){if(p.classList.contains(yk)){G.findOne($k,p.closest(Sk)).classList.add(zo);return}for(const k of G.parents(p,xk))for(const K of G.prev(k,kk))K.classList.add(zo)}_clearActiveClass(p){p.classList.remove(zo);const k=G.find(`${$u}.${zo}`,p);for(const K of k)K.classList.remove(zo)}static jQueryInterface(p){return this.each(function(){const k=Wr.getOrCreateInstance(this,p);if(typeof p=="string"){if(k[p]===void 0||p.startsWith("_")||p==="constructor")throw new TypeError(`No method named "${p}"`);k[p]()}})}}N.on(window,bk,()=>{for(const z of G.find(wk))Wr.getOrCreateInstance(z)}),C(Wr);const Ek="tab",Qi=".bs.tab",Pk=`hide${Qi}`,Tk=`hidden${Qi}`,Mk=`show${Qi}`,Dk=`shown${Qi}`,Ok=`click${Qi}`,Ik=`keydown${Qi}`,Rk=`load${Qi}`,Lk="ArrowLeft",Pp="ArrowRight",Nk="ArrowUp",Tp="ArrowDown",Au="Home",Mp="End",Zi="active",Dp="fade",Cu="show",Fk="dropdown",Op=".dropdown-toggle",Bk=".dropdown-menu",Eu=`:not(${Op})`,Vk='.list-group, .nav, [role="tablist"]',Hk=".nav-item, .list-group-item",jk=`.nav-link${Eu}, .list-group-item${Eu}, [role="tab"]${Eu}`,Ip='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Pu=`${jk}, ${Ip}`,Wk=`.${Zi}[data-bs-toggle="tab"], .${Zi}[data-bs-toggle="pill"], .${Zi}[data-bs-toggle="list"]`;class eo extends j{constructor(p){super(p),this._parent=this._element.closest(Vk),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),N.on(this._element,Ik,k=>this._keydown(k)))}static get NAME(){return Ek}show(){const p=this._element;if(this._elemIsActive(p))return;const k=this._getActiveElem(),K=k?N.trigger(k,Pk,{relatedTarget:p}):null;N.trigger(p,Mk,{relatedTarget:k}).defaultPrevented||K&&K.defaultPrevented||(this._deactivate(k,p),this._activate(p,k))}_activate(p,k){if(!p)return;p.classList.add(Zi),this._activate(G.getElementFromSelector(p));const K=()=>{if(p.getAttribute("role")!=="tab"){p.classList.add(Cu);return}p.removeAttribute("tabindex"),p.setAttribute("aria-selected",!0),this._toggleDropDown(p,!0),N.trigger(p,Dk,{relatedTarget:k})};this._queueCallback(K,p,p.classList.contains(Dp))}_deactivate(p,k){if(!p)return;p.classList.remove(Zi),p.blur(),this._deactivate(G.getElementFromSelector(p));const K=()=>{if(p.getAttribute("role")!=="tab"){p.classList.remove(Cu);return}p.setAttribute("aria-selected",!1),p.setAttribute("tabindex","-1"),this._toggleDropDown(p,!1),N.trigger(p,Tk,{relatedTarget:k})};this._queueCallback(K,p,p.classList.contains(Dp))}_keydown(p){if(![Lk,Pp,Nk,Tp,Au,Mp].includes(p.key))return;p.stopPropagation(),p.preventDefault();const k=this._getChildren().filter(pe=>!$(pe));let K;if([Au,Mp].includes(p.key))K=k[p.key===Au?0:k.length-1];else{const pe=[Pp,Tp].includes(p.key);K=ae(k,p.target,pe,!0)}K&&(K.focus({preventScroll:!0}),eo.getOrCreateInstance(K).show())}_getChildren(){return G.find(Pu,this._parent)}_getActiveElem(){return this._getChildren().find(p=>this._elemIsActive(p))||null}_setInitialAttributes(p,k){this._setAttributeIfNotExists(p,"role","tablist");for(const K of k)this._setInitialAttributesOnChild(K)}_setInitialAttributesOnChild(p){p=this._getInnerElement(p);const k=this._elemIsActive(p),K=this._getOuterElement(p);p.setAttribute("aria-selected",k),K!==p&&this._setAttributeIfNotExists(K,"role","presentation"),k||p.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(p,"role","tab"),this._setInitialAttributesOnTargetPanel(p)}_setInitialAttributesOnTargetPanel(p){const k=G.getElementFromSelector(p);k&&(this._setAttributeIfNotExists(k,"role","tabpanel"),p.id&&this._setAttributeIfNotExists(k,"aria-labelledby",`${p.id}`))}_toggleDropDown(p,k){const K=this._getOuterElement(p);if(!K.classList.contains(Fk))return;const pe=(Ee,Ae)=>{const Je=G.findOne(Ee,K);Je&&Je.classList.toggle(Ae,k)};pe(Op,Zi),pe(Bk,Cu),K.setAttribute("aria-expanded",k)}_setAttributeIfNotExists(p,k,K){p.hasAttribute(k)||p.setAttribute(k,K)}_elemIsActive(p){return p.classList.contains(Zi)}_getInnerElement(p){return p.matches(Pu)?p:G.findOne(Pu,p)}_getOuterElement(p){return p.closest(Hk)||p}static jQueryInterface(p){return this.each(function(){const k=eo.getOrCreateInstance(this);if(typeof p=="string"){if(k[p]===void 0||p.startsWith("_")||p==="constructor")throw new TypeError(`No method named "${p}"`);k[p]()}})}}N.on(document,Ok,Ip,function(z){["A","AREA"].includes(this.tagName)&&z.preventDefault(),!$(this)&&eo.getOrCreateInstance(this).show()}),N.on(window,Rk,()=>{for(const z of G.find(Wk))eo.getOrCreateInstance(z)}),C(eo);const zk="toast",ri=".bs.toast",Yk=`mouseover${ri}`,Uk=`mouseout${ri}`,Kk=`focusin${ri}`,qk=`focusout${ri}`,Gk=`hide${ri}`,Jk=`hidden${ri}`,Xk=`show${ri}`,Qk=`shown${ri}`,Zk="fade",Rp="hide",ml="show",_l="showing",eS={animation:"boolean",autohide:"boolean",delay:"number"},tS={animation:!0,autohide:!0,delay:5e3};class zr extends j{constructor(p,k){super(p,k),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return tS}static get DefaultType(){return eS}static get NAME(){return zk}show(){if(N.trigger(this._element,Xk).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Zk);const k=()=>{this._element.classList.remove(_l),N.trigger(this._element,Qk),this._maybeScheduleHide()};this._element.classList.remove(Rp),x(this._element),this._element.classList.add(ml,_l),this._queueCallback(k,this._element,this._config.animation)}hide(){if(!this.isShown()||N.trigger(this._element,Gk).defaultPrevented)return;const k=()=>{this._element.classList.add(Rp),this._element.classList.remove(_l,ml),N.trigger(this._element,Jk)};this._element.classList.add(_l),this._queueCallback(k,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ml),super.dispose()}isShown(){return this._element.classList.contains(ml)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(p,k){switch(p.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=k;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=k;break}}if(k){this._clearTimeout();return}const K=p.relatedTarget;this._element===K||this._element.contains(K)||this._maybeScheduleHide()}_setListeners(){N.on(this._element,Yk,p=>this._onInteraction(p,!0)),N.on(this._element,Uk,p=>this._onInteraction(p,!1)),N.on(this._element,Kk,p=>this._onInteraction(p,!0)),N.on(this._element,qk,p=>this._onInteraction(p,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(p){return this.each(function(){const k=zr.getOrCreateInstance(this,p);if(typeof p=="string"){if(typeof k[p]>"u")throw new TypeError(`No method named "${p}"`);k[p](this)}})}}return de(zr),C(zr),{Alert:Ge,Button:ne,Carousel:Vo,Collapse:jo,Dropdown:Zn,Modal:Ji,Offcanvas:Rs,Popover:gl,ScrollSpy:Wr,Tab:eo,Toast:zr,Tooltip:Xi}})})(oS);/** + */(function(t,e){(function(n,i){t.exports=i(_2)})(lx,function(n){function i(G){const _=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(G){for(const R in G)if(R!=="default"){const q=Object.getOwnPropertyDescriptor(G,R);Object.defineProperty(_,R,q.get?q:{enumerable:!0,get:()=>G[R]})}}return _.default=G,Object.freeze(_)}const s=i(n),r=new Map,o={set(G,_,R){r.has(G)||r.set(G,new Map);const q=r.get(G);if(!q.has(_)&&q.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(q.keys())[0]}.`);return}q.set(_,R)},get(G,_){return r.has(G)&&r.get(G).get(_)||null},remove(G,_){if(!r.has(G))return;const R=r.get(G);R.delete(_),R.size===0&&r.delete(G)}},a=1e6,l=1e3,c="transitionend",u=G=>(G&&window.CSS&&window.CSS.escape&&(G=G.replace(/#([^\s"#']+)/g,(_,R)=>`#${CSS.escape(R)}`)),G),d=G=>G==null?`${G}`:Object.prototype.toString.call(G).match(/\s([a-z]+)/i)[1].toLowerCase(),h=G=>{do G+=Math.floor(Math.random()*a);while(document.getElementById(G));return G},f=G=>{if(!G)return 0;let{transitionDuration:_,transitionDelay:R}=window.getComputedStyle(G);const q=Number.parseFloat(_),ye=Number.parseFloat(R);return!q&&!ye?0:(_=_.split(",")[0],R=R.split(",")[0],(Number.parseFloat(_)+Number.parseFloat(R))*l)},p=G=>{G.dispatchEvent(new Event(c))},m=G=>!G||typeof G!="object"?!1:(typeof G.jquery<"u"&&(G=G[0]),typeof G.nodeType<"u"),y=G=>m(G)?G.jquery?G[0]:G:typeof G=="string"&&G.length>0?document.querySelector(u(G)):null,v=G=>{if(!m(G)||G.getClientRects().length===0)return!1;const _=getComputedStyle(G).getPropertyValue("visibility")==="visible",R=G.closest("details:not([open])");if(!R)return _;if(R!==G){const q=G.closest("summary");if(q&&q.parentNode!==R||q===null)return!1}return _},b=G=>!G||G.nodeType!==Node.ELEMENT_NODE||G.classList.contains("disabled")?!0:typeof G.disabled<"u"?G.disabled:G.hasAttribute("disabled")&&G.getAttribute("disabled")!=="false",E=G=>{if(!document.documentElement.attachShadow)return null;if(typeof G.getRootNode=="function"){const _=G.getRootNode();return _ instanceof ShadowRoot?_:null}return G instanceof ShadowRoot?G:G.parentNode?E(G.parentNode):null},C=()=>{},w=G=>{G.offsetHeight},x=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,T=[],k=G=>{document.readyState==="loading"?(T.length||document.addEventListener("DOMContentLoaded",()=>{for(const _ of T)_()}),T.push(G)):G()},A=()=>document.documentElement.dir==="rtl",P=G=>{k(()=>{const _=x();if(_){const R=G.NAME,q=_.fn[R];_.fn[R]=G.jQueryInterface,_.fn[R].Constructor=G,_.fn[R].noConflict=()=>(_.fn[R]=q,G.jQueryInterface)}})},F=(G,_=[],R=G)=>typeof G=="function"?G(..._):R,H=(G,_,R=!0)=>{if(!R){F(G);return}const ye=f(_)+5;let Pe=!1;const Ie=({target:rt})=>{rt===_&&(Pe=!0,_.removeEventListener(c,Ie),F(G))};_.addEventListener(c,Ie),setTimeout(()=>{Pe||p(_)},ye)},te=(G,_,R,q)=>{const ye=G.length;let Pe=G.indexOf(_);return Pe===-1?!R&&q?G[ye-1]:G[0]:(Pe+=R?1:-1,q&&(Pe=(Pe+ye)%ye),G[Math.max(0,Math.min(Pe,ye-1))])},N=/[^.]*(?=\..*)\.|.*/,L=/\..*/,I=/::\d+$/,W={};let X=1;const J={mouseenter:"mouseover",mouseleave:"mouseout"},ne=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ue(G,_){return _&&`${_}::${X++}`||G.uidEvent||X++}function Y(G){const _=ue(G);return G.uidEvent=_,W[_]=W[_]||{},W[_]}function Z(G,_){return function R(q){return ge(q,{delegateTarget:G}),R.oneOff&&z.off(G,q.type,_),_.apply(G,[q])}}function M(G,_,R){return function q(ye){const Pe=G.querySelectorAll(_);for(let{target:Ie}=ye;Ie&&Ie!==this;Ie=Ie.parentNode)for(const rt of Pe)if(rt===Ie)return ge(ye,{delegateTarget:Ie}),q.oneOff&&z.off(G,ye.type,_,R),R.apply(Ie,[ye])}}function ie(G,_,R=null){return Object.values(G).find(q=>q.callable===_&&q.delegationSelector===R)}function le(G,_,R){const q=typeof _=="string",ye=q?R:_||R;let Pe=ve(G);return ne.has(Pe)||(Pe=G),[q,ye,Pe]}function $(G,_,R,q,ye){if(typeof _!="string"||!G)return;let[Pe,Ie,rt]=le(_,R,q);_ in J&&(Ie=(CP=>function(Ma){if(!Ma.relatedTarget||Ma.relatedTarget!==Ma.delegateTarget&&!Ma.delegateTarget.contains(Ma.relatedTarget))return CP.call(this,Ma)})(Ie));const oi=Y(G),Oi=oi[rt]||(oi[rt]={}),Cn=ie(Oi,Ie,Pe?R:null);if(Cn){Cn.oneOff=Cn.oneOff&&ye;return}const ms=ue(Ie,_.replace(N,"")),Ji=Pe?M(G,R,Ie):Z(G,Ie);Ji.delegationSelector=Pe?R:null,Ji.callable=Ie,Ji.oneOff=ye,Ji.uidEvent=ms,Oi[ms]=Ji,G.addEventListener(rt,Ji,Pe)}function oe(G,_,R,q,ye){const Pe=ie(_[R],q,ye);Pe&&(G.removeEventListener(R,Pe,!!ye),delete _[R][Pe.uidEvent])}function de(G,_,R,q){const ye=_[R]||{};for(const[Pe,Ie]of Object.entries(ye))Pe.includes(q)&&oe(G,_,R,Ie.callable,Ie.delegationSelector)}function ve(G){return G=G.replace(L,""),J[G]||G}const z={on(G,_,R,q){$(G,_,R,q,!1)},one(G,_,R,q){$(G,_,R,q,!0)},off(G,_,R,q){if(typeof _!="string"||!G)return;const[ye,Pe,Ie]=le(_,R,q),rt=Ie!==_,oi=Y(G),Oi=oi[Ie]||{},Cn=_.startsWith(".");if(typeof Pe<"u"){if(!Object.keys(Oi).length)return;oe(G,oi,Ie,Pe,ye?R:null);return}if(Cn)for(const ms of Object.keys(oi))de(G,oi,ms,_.slice(1));for(const[ms,Ji]of Object.entries(Oi)){const cd=ms.replace(I,"");(!rt||_.includes(cd))&&oe(G,oi,Ie,Ji.callable,Ji.delegationSelector)}},trigger(G,_,R){if(typeof _!="string"||!G)return null;const q=x(),ye=ve(_),Pe=_!==ye;let Ie=null,rt=!0,oi=!0,Oi=!1;Pe&&q&&(Ie=q.Event(_,R),q(G).trigger(Ie),rt=!Ie.isPropagationStopped(),oi=!Ie.isImmediatePropagationStopped(),Oi=Ie.isDefaultPrevented());const Cn=ge(new Event(_,{bubbles:rt,cancelable:!0}),R);return Oi&&Cn.preventDefault(),oi&&G.dispatchEvent(Cn),Cn.defaultPrevented&&Ie&&Ie.preventDefault(),Cn}};function ge(G,_={}){for(const[R,q]of Object.entries(_))try{G[R]=q}catch{Object.defineProperty(G,R,{configurable:!0,get(){return q}})}return G}function S(G){if(G==="true")return!0;if(G==="false")return!1;if(G===Number(G).toString())return Number(G);if(G===""||G==="null")return null;if(typeof G!="string")return G;try{return JSON.parse(decodeURIComponent(G))}catch{return G}}function O(G){return G.replace(/[A-Z]/g,_=>`-${_.toLowerCase()}`)}const K={setDataAttribute(G,_,R){G.setAttribute(`data-bs-${O(_)}`,R)},removeDataAttribute(G,_){G.removeAttribute(`data-bs-${O(_)}`)},getDataAttributes(G){if(!G)return{};const _={},R=Object.keys(G.dataset).filter(q=>q.startsWith("bs")&&!q.startsWith("bsConfig"));for(const q of R){let ye=q.replace(/^bs/,"");ye=ye.charAt(0).toLowerCase()+ye.slice(1,ye.length),_[ye]=S(G.dataset[q])}return _},getDataAttribute(G,_){return S(G.getAttribute(`data-bs-${O(_)}`))}};class U{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(_){return _=this._mergeConfigObj(_),_=this._configAfterMerge(_),this._typeCheckConfig(_),_}_configAfterMerge(_){return _}_mergeConfigObj(_,R){const q=m(R)?K.getDataAttribute(R,"config"):{};return{...this.constructor.Default,...typeof q=="object"?q:{},...m(R)?K.getDataAttributes(R):{},...typeof _=="object"?_:{}}}_typeCheckConfig(_,R=this.constructor.DefaultType){for(const[q,ye]of Object.entries(R)){const Pe=_[q],Ie=m(Pe)?"element":d(Pe);if(!new RegExp(ye).test(Ie))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${q}" provided type "${Ie}" but expected type "${ye}".`)}}}const re="5.3.2";class j extends U{constructor(_,R){super(),_=y(_),_&&(this._element=_,this._config=this._getConfig(R),o.set(this._element,this.constructor.DATA_KEY,this))}dispose(){o.remove(this._element,this.constructor.DATA_KEY),z.off(this._element,this.constructor.EVENT_KEY);for(const _ of Object.getOwnPropertyNames(this))this[_]=null}_queueCallback(_,R,q=!0){H(_,R,q)}_getConfig(_){return _=this._mergeConfigObj(_,this._element),_=this._configAfterMerge(_),this._typeCheckConfig(_),_}static getInstance(_){return o.get(y(_),this.DATA_KEY)}static getOrCreateInstance(_,R={}){return this.getInstance(_)||new this(_,typeof R=="object"?R:null)}static get VERSION(){return re}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(_){return`${_}${this.EVENT_KEY}`}}const se=G=>{let _=G.getAttribute("data-bs-target");if(!_||_==="#"){let R=G.getAttribute("href");if(!R||!R.includes("#")&&!R.startsWith("."))return null;R.includes("#")&&!R.startsWith("#")&&(R=`#${R.split("#")[1]}`),_=R&&R!=="#"?u(R.trim()):null}return _},ee={find(G,_=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(_,G))},findOne(G,_=document.documentElement){return Element.prototype.querySelector.call(_,G)},children(G,_){return[].concat(...G.children).filter(R=>R.matches(_))},parents(G,_){const R=[];let q=G.parentNode.closest(_);for(;q;)R.push(q),q=q.parentNode.closest(_);return R},prev(G,_){let R=G.previousElementSibling;for(;R;){if(R.matches(_))return[R];R=R.previousElementSibling}return[]},next(G,_){let R=G.nextElementSibling;for(;R;){if(R.matches(_))return[R];R=R.nextElementSibling}return[]},focusableChildren(G){const _=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(R=>`${R}:not([tabindex^="-"])`).join(",");return this.find(_,G).filter(R=>!b(R)&&v(R))},getSelectorFromElement(G){const _=se(G);return _&&ee.findOne(_)?_:null},getElementFromSelector(G){const _=se(G);return _?ee.findOne(_):null},getMultipleElementsFromSelector(G){const _=se(G);return _?ee.find(_):[]}},fe=(G,_="hide")=>{const R=`click.dismiss${G.EVENT_KEY}`,q=G.NAME;z.on(document,R,`[data-bs-dismiss="${q}"]`,function(ye){if(["A","AREA"].includes(this.tagName)&&ye.preventDefault(),b(this))return;const Pe=ee.getElementFromSelector(this)||this.closest(`.${q}`);G.getOrCreateInstance(Pe)[_]()})},me="alert",Le=".bs.alert",Ae=`close${Le}`,ze=`closed${Le}`,Be="fade",it="show";class Ze extends j{static get NAME(){return me}close(){if(z.trigger(this._element,Ae).defaultPrevented)return;this._element.classList.remove(it);const R=this._element.classList.contains(Be);this._queueCallback(()=>this._destroyElement(),this._element,R)}_destroyElement(){this._element.remove(),z.trigger(this._element,ze),this.dispose()}static jQueryInterface(_){return this.each(function(){const R=Ze.getOrCreateInstance(this);if(typeof _=="string"){if(R[_]===void 0||_.startsWith("_")||_==="constructor")throw new TypeError(`No method named "${_}"`);R[_](this)}})}}fe(Ze,"close"),P(Ze);const Mt="button",Un=".bs.button",Ri=".data-api",wi="active",Xi='[data-bs-toggle="button"]',Ut=`click${Un}${Ri}`;class ae extends j{static get NAME(){return Mt}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(wi))}static jQueryInterface(_){return this.each(function(){const R=ae.getOrCreateInstance(this);_==="toggle"&&R[_]()})}}z.on(document,Ut,Xi,G=>{G.preventDefault();const _=G.target.closest(Xi);ae.getOrCreateInstance(_).toggle()}),P(ae);const Te="swipe",he=".bs.swipe",ke=`touchstart${he}`,De=`touchmove${he}`,Ht=`touchend${he}`,un=`pointerdown${he}`,Di=`pointerup${he}`,zs="touch",dn="pen",En="pointer-event",Sn=40,ii={endCallback:null,leftCallback:null,rightCallback:null},si={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ri extends U{constructor(_,R){super(),this._element=_,!(!_||!ri.isSupported())&&(this._config=this._getConfig(R),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return ii}static get DefaultType(){return si}static get NAME(){return Te}dispose(){z.off(this._element,he)}_start(_){if(!this._supportPointerEvents){this._deltaX=_.touches[0].clientX;return}this._eventIsPointerPenTouch(_)&&(this._deltaX=_.clientX)}_end(_){this._eventIsPointerPenTouch(_)&&(this._deltaX=_.clientX-this._deltaX),this._handleSwipe(),F(this._config.endCallback)}_move(_){this._deltaX=_.touches&&_.touches.length>1?0:_.touches[0].clientX-this._deltaX}_handleSwipe(){const _=Math.abs(this._deltaX);if(_<=Sn)return;const R=_/this._deltaX;this._deltaX=0,R&&F(R>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(z.on(this._element,un,_=>this._start(_)),z.on(this._element,Di,_=>this._end(_)),this._element.classList.add(En)):(z.on(this._element,ke,_=>this._start(_)),z.on(this._element,De,_=>this._move(_)),z.on(this._element,Ht,_=>this._end(_)))}_eventIsPointerPenTouch(_){return this._supportPointerEvents&&(_.pointerType===dn||_.pointerType===zs)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const qi="carousel",zt=".bs.carousel",$i=".data-api",ig="ArrowLeft",cA="ArrowRight",uA=500,Ql="next",xa="prev",Ea="left",Qu="right",dA=`slide${zt}`,sg=`slid${zt}`,hA=`keydown${zt}`,fA=`mouseenter${zt}`,gA=`mouseleave${zt}`,pA=`dragstart${zt}`,mA=`load${zt}${$i}`,_A=`click${zt}${$i}`,o0="carousel",ed="active",yA="slide",vA="carousel-item-end",bA="carousel-item-start",wA="carousel-item-next",xA="carousel-item-prev",a0=".active",l0=".carousel-item",EA=a0+l0,SA=".carousel-item img",CA=".carousel-indicators",TA="[data-bs-slide], [data-bs-slide-to]",kA='[data-bs-ride="carousel"]',AA={[ig]:Qu,[cA]:Ea},MA={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},IA={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Sa extends j{constructor(_,R){super(_,R),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=ee.findOne(CA,this._element),this._addEventListeners(),this._config.ride===o0&&this.cycle()}static get Default(){return MA}static get DefaultType(){return IA}static get NAME(){return qi}next(){this._slide(Ql)}nextWhenVisible(){!document.hidden&&v(this._element)&&this.next()}prev(){this._slide(xa)}pause(){this._isSliding&&p(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){z.one(this._element,sg,()=>this.cycle());return}this.cycle()}}to(_){const R=this._getItems();if(_>R.length-1||_<0)return;if(this._isSliding){z.one(this._element,sg,()=>this.to(_));return}const q=this._getItemIndex(this._getActive());if(q===_)return;const ye=_>q?Ql:xa;this._slide(ye,R[_])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(_){return _.defaultInterval=_.interval,_}_addEventListeners(){this._config.keyboard&&z.on(this._element,hA,_=>this._keydown(_)),this._config.pause==="hover"&&(z.on(this._element,fA,()=>this.pause()),z.on(this._element,gA,()=>this._maybeEnableCycle())),this._config.touch&&ri.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const q of ee.find(SA,this._element))z.on(q,pA,ye=>ye.preventDefault());const R={leftCallback:()=>this._slide(this._directionToOrder(Ea)),rightCallback:()=>this._slide(this._directionToOrder(Qu)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),uA+this._config.interval))}};this._swipeHelper=new ri(this._element,R)}_keydown(_){if(/input|textarea/i.test(_.target.tagName))return;const R=AA[_.key];R&&(_.preventDefault(),this._slide(this._directionToOrder(R)))}_getItemIndex(_){return this._getItems().indexOf(_)}_setActiveIndicatorElement(_){if(!this._indicatorsElement)return;const R=ee.findOne(a0,this._indicatorsElement);R.classList.remove(ed),R.removeAttribute("aria-current");const q=ee.findOne(`[data-bs-slide-to="${_}"]`,this._indicatorsElement);q&&(q.classList.add(ed),q.setAttribute("aria-current","true"))}_updateInterval(){const _=this._activeElement||this._getActive();if(!_)return;const R=Number.parseInt(_.getAttribute("data-bs-interval"),10);this._config.interval=R||this._config.defaultInterval}_slide(_,R=null){if(this._isSliding)return;const q=this._getActive(),ye=_===Ql,Pe=R||te(this._getItems(),q,ye,this._config.wrap);if(Pe===q)return;const Ie=this._getItemIndex(Pe),rt=cd=>z.trigger(this._element,cd,{relatedTarget:Pe,direction:this._orderToDirection(_),from:this._getItemIndex(q),to:Ie});if(rt(dA).defaultPrevented||!q||!Pe)return;const Oi=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(Ie),this._activeElement=Pe;const Cn=ye?bA:vA,ms=ye?wA:xA;Pe.classList.add(ms),w(Pe),q.classList.add(Cn),Pe.classList.add(Cn);const Ji=()=>{Pe.classList.remove(Cn,ms),Pe.classList.add(ed),q.classList.remove(ed,ms,Cn),this._isSliding=!1,rt(sg)};this._queueCallback(Ji,q,this._isAnimated()),Oi&&this.cycle()}_isAnimated(){return this._element.classList.contains(yA)}_getActive(){return ee.findOne(EA,this._element)}_getItems(){return ee.find(l0,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(_){return A()?_===Ea?xa:Ql:_===Ea?Ql:xa}_orderToDirection(_){return A()?_===xa?Ea:Qu:_===xa?Qu:Ea}static jQueryInterface(_){return this.each(function(){const R=Sa.getOrCreateInstance(this,_);if(typeof _=="number"){R.to(_);return}if(typeof _=="string"){if(R[_]===void 0||_.startsWith("_")||_==="constructor")throw new TypeError(`No method named "${_}"`);R[_]()}})}}z.on(document,_A,TA,function(G){const _=ee.getElementFromSelector(this);if(!_||!_.classList.contains(o0))return;G.preventDefault();const R=Sa.getOrCreateInstance(_),q=this.getAttribute("data-bs-slide-to");if(q){R.to(q),R._maybeEnableCycle();return}if(K.getDataAttribute(this,"slide")==="next"){R.next(),R._maybeEnableCycle();return}R.prev(),R._maybeEnableCycle()}),z.on(window,mA,()=>{const G=ee.find(kA);for(const _ of G)Sa.getOrCreateInstance(_)}),P(Sa);const PA="collapse",ec=".bs.collapse",RA=".data-api",DA=`show${ec}`,$A=`shown${ec}`,LA=`hide${ec}`,OA=`hidden${ec}`,NA=`click${ec}${RA}`,rg="show",Ca="collapse",td="collapsing",FA="collapsed",BA=`:scope .${Ca} .${Ca}`,VA="collapse-horizontal",zA="width",WA="height",HA=".collapse.show, .collapse.collapsing",og='[data-bs-toggle="collapse"]',YA={parent:null,toggle:!0},jA={parent:"(null|element)",toggle:"boolean"};class Ta extends j{constructor(_,R){super(_,R),this._isTransitioning=!1,this._triggerArray=[];const q=ee.find(og);for(const ye of q){const Pe=ee.getSelectorFromElement(ye),Ie=ee.find(Pe).filter(rt=>rt===this._element);Pe!==null&&Ie.length&&this._triggerArray.push(ye)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return YA}static get DefaultType(){return jA}static get NAME(){return PA}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let _=[];if(this._config.parent&&(_=this._getFirstLevelChildren(HA).filter(rt=>rt!==this._element).map(rt=>Ta.getOrCreateInstance(rt,{toggle:!1}))),_.length&&_[0]._isTransitioning||z.trigger(this._element,DA).defaultPrevented)return;for(const rt of _)rt.hide();const q=this._getDimension();this._element.classList.remove(Ca),this._element.classList.add(td),this._element.style[q]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const ye=()=>{this._isTransitioning=!1,this._element.classList.remove(td),this._element.classList.add(Ca,rg),this._element.style[q]="",z.trigger(this._element,$A)},Ie=`scroll${q[0].toUpperCase()+q.slice(1)}`;this._queueCallback(ye,this._element,!0),this._element.style[q]=`${this._element[Ie]}px`}hide(){if(this._isTransitioning||!this._isShown()||z.trigger(this._element,LA).defaultPrevented)return;const R=this._getDimension();this._element.style[R]=`${this._element.getBoundingClientRect()[R]}px`,w(this._element),this._element.classList.add(td),this._element.classList.remove(Ca,rg);for(const ye of this._triggerArray){const Pe=ee.getElementFromSelector(ye);Pe&&!this._isShown(Pe)&&this._addAriaAndCollapsedClass([ye],!1)}this._isTransitioning=!0;const q=()=>{this._isTransitioning=!1,this._element.classList.remove(td),this._element.classList.add(Ca),z.trigger(this._element,OA)};this._element.style[R]="",this._queueCallback(q,this._element,!0)}_isShown(_=this._element){return _.classList.contains(rg)}_configAfterMerge(_){return _.toggle=!!_.toggle,_.parent=y(_.parent),_}_getDimension(){return this._element.classList.contains(VA)?zA:WA}_initializeChildren(){if(!this._config.parent)return;const _=this._getFirstLevelChildren(og);for(const R of _){const q=ee.getElementFromSelector(R);q&&this._addAriaAndCollapsedClass([R],this._isShown(q))}}_getFirstLevelChildren(_){const R=ee.find(BA,this._config.parent);return ee.find(_,this._config.parent).filter(q=>!R.includes(q))}_addAriaAndCollapsedClass(_,R){if(_.length)for(const q of _)q.classList.toggle(FA,!R),q.setAttribute("aria-expanded",R)}static jQueryInterface(_){const R={};return typeof _=="string"&&/show|hide/.test(_)&&(R.toggle=!1),this.each(function(){const q=Ta.getOrCreateInstance(this,R);if(typeof _=="string"){if(typeof q[_]>"u")throw new TypeError(`No method named "${_}"`);q[_]()}})}}z.on(document,NA,og,function(G){(G.target.tagName==="A"||G.delegateTarget&&G.delegateTarget.tagName==="A")&&G.preventDefault();for(const _ of ee.getMultipleElementsFromSelector(this))Ta.getOrCreateInstance(_,{toggle:!1}).toggle()}),P(Ta);const c0="dropdown",Eo=".bs.dropdown",ag=".data-api",KA="Escape",u0="Tab",UA="ArrowUp",d0="ArrowDown",GA=2,XA=`hide${Eo}`,qA=`hidden${Eo}`,ZA=`show${Eo}`,JA=`shown${Eo}`,h0=`click${Eo}${ag}`,f0=`keydown${Eo}${ag}`,QA=`keyup${Eo}${ag}`,ka="show",eM="dropup",tM="dropend",nM="dropstart",iM="dropup-center",sM="dropdown-center",So='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',rM=`${So}.${ka}`,nd=".dropdown-menu",oM=".navbar",aM=".navbar-nav",lM=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",cM=A()?"top-end":"top-start",uM=A()?"top-start":"top-end",dM=A()?"bottom-end":"bottom-start",hM=A()?"bottom-start":"bottom-end",fM=A()?"left-start":"right-start",gM=A()?"right-start":"left-start",pM="top",mM="bottom",_M={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},yM={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Zi extends j{constructor(_,R){super(_,R),this._popper=null,this._parent=this._element.parentNode,this._menu=ee.next(this._element,nd)[0]||ee.prev(this._element,nd)[0]||ee.findOne(nd,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return _M}static get DefaultType(){return yM}static get NAME(){return c0}toggle(){return this._isShown()?this.hide():this.show()}show(){if(b(this._element)||this._isShown())return;const _={relatedTarget:this._element};if(!z.trigger(this._element,ZA,_).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(aM))for(const q of[].concat(...document.body.children))z.on(q,"mouseover",C);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ka),this._element.classList.add(ka),z.trigger(this._element,JA,_)}}hide(){if(b(this._element)||!this._isShown())return;const _={relatedTarget:this._element};this._completeHide(_)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(_){if(!z.trigger(this._element,XA,_).defaultPrevented){if("ontouchstart"in document.documentElement)for(const q of[].concat(...document.body.children))z.off(q,"mouseover",C);this._popper&&this._popper.destroy(),this._menu.classList.remove(ka),this._element.classList.remove(ka),this._element.setAttribute("aria-expanded","false"),K.removeDataAttribute(this._menu,"popper"),z.trigger(this._element,qA,_)}}_getConfig(_){if(_=super._getConfig(_),typeof _.reference=="object"&&!m(_.reference)&&typeof _.reference.getBoundingClientRect!="function")throw new TypeError(`${c0.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return _}_createPopper(){if(typeof s>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let _=this._element;this._config.reference==="parent"?_=this._parent:m(this._config.reference)?_=y(this._config.reference):typeof this._config.reference=="object"&&(_=this._config.reference);const R=this._getPopperConfig();this._popper=s.createPopper(_,this._menu,R)}_isShown(){return this._menu.classList.contains(ka)}_getPlacement(){const _=this._parent;if(_.classList.contains(tM))return fM;if(_.classList.contains(nM))return gM;if(_.classList.contains(iM))return pM;if(_.classList.contains(sM))return mM;const R=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return _.classList.contains(eM)?R?uM:cM:R?hM:dM}_detectNavbar(){return this._element.closest(oM)!==null}_getOffset(){const{offset:_}=this._config;return typeof _=="string"?_.split(",").map(R=>Number.parseInt(R,10)):typeof _=="function"?R=>_(R,this._element):_}_getPopperConfig(){const _={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(K.setDataAttribute(this._menu,"popper","static"),_.modifiers=[{name:"applyStyles",enabled:!1}]),{..._,...F(this._config.popperConfig,[_])}}_selectMenuItem({key:_,target:R}){const q=ee.find(lM,this._menu).filter(ye=>v(ye));q.length&&te(q,R,_===d0,!q.includes(R)).focus()}static jQueryInterface(_){return this.each(function(){const R=Zi.getOrCreateInstance(this,_);if(typeof _=="string"){if(typeof R[_]>"u")throw new TypeError(`No method named "${_}"`);R[_]()}})}static clearMenus(_){if(_.button===GA||_.type==="keyup"&&_.key!==u0)return;const R=ee.find(rM);for(const q of R){const ye=Zi.getInstance(q);if(!ye||ye._config.autoClose===!1)continue;const Pe=_.composedPath(),Ie=Pe.includes(ye._menu);if(Pe.includes(ye._element)||ye._config.autoClose==="inside"&&!Ie||ye._config.autoClose==="outside"&&Ie||ye._menu.contains(_.target)&&(_.type==="keyup"&&_.key===u0||/input|select|option|textarea|form/i.test(_.target.tagName)))continue;const rt={relatedTarget:ye._element};_.type==="click"&&(rt.clickEvent=_),ye._completeHide(rt)}}static dataApiKeydownHandler(_){const R=/input|textarea/i.test(_.target.tagName),q=_.key===KA,ye=[UA,d0].includes(_.key);if(!ye&&!q||R&&!q)return;_.preventDefault();const Pe=this.matches(So)?this:ee.prev(this,So)[0]||ee.next(this,So)[0]||ee.findOne(So,_.delegateTarget.parentNode),Ie=Zi.getOrCreateInstance(Pe);if(ye){_.stopPropagation(),Ie.show(),Ie._selectMenuItem(_);return}Ie._isShown()&&(_.stopPropagation(),Ie.hide(),Pe.focus())}}z.on(document,f0,So,Zi.dataApiKeydownHandler),z.on(document,f0,nd,Zi.dataApiKeydownHandler),z.on(document,h0,Zi.clearMenus),z.on(document,QA,Zi.clearMenus),z.on(document,h0,So,function(G){G.preventDefault(),Zi.getOrCreateInstance(this).toggle()}),P(Zi);const g0="backdrop",vM="fade",p0="show",m0=`mousedown.bs.${g0}`,bM={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},wM={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class _0 extends U{constructor(_){super(),this._config=this._getConfig(_),this._isAppended=!1,this._element=null}static get Default(){return bM}static get DefaultType(){return wM}static get NAME(){return g0}show(_){if(!this._config.isVisible){F(_);return}this._append();const R=this._getElement();this._config.isAnimated&&w(R),R.classList.add(p0),this._emulateAnimation(()=>{F(_)})}hide(_){if(!this._config.isVisible){F(_);return}this._getElement().classList.remove(p0),this._emulateAnimation(()=>{this.dispose(),F(_)})}dispose(){this._isAppended&&(z.off(this._element,m0),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const _=document.createElement("div");_.className=this._config.className,this._config.isAnimated&&_.classList.add(vM),this._element=_}return this._element}_configAfterMerge(_){return _.rootElement=y(_.rootElement),_}_append(){if(this._isAppended)return;const _=this._getElement();this._config.rootElement.append(_),z.on(_,m0,()=>{F(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(_){H(_,this._getElement(),this._config.isAnimated)}}const xM="focustrap",id=".bs.focustrap",EM=`focusin${id}`,SM=`keydown.tab${id}`,CM="Tab",TM="forward",y0="backward",kM={autofocus:!0,trapElement:null},AM={autofocus:"boolean",trapElement:"element"};class v0 extends U{constructor(_){super(),this._config=this._getConfig(_),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return kM}static get DefaultType(){return AM}static get NAME(){return xM}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),z.off(document,id),z.on(document,EM,_=>this._handleFocusin(_)),z.on(document,SM,_=>this._handleKeydown(_)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,z.off(document,id))}_handleFocusin(_){const{trapElement:R}=this._config;if(_.target===document||_.target===R||R.contains(_.target))return;const q=ee.focusableChildren(R);q.length===0?R.focus():this._lastTabNavDirection===y0?q[q.length-1].focus():q[0].focus()}_handleKeydown(_){_.key===CM&&(this._lastTabNavDirection=_.shiftKey?y0:TM)}}const b0=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",w0=".sticky-top",sd="padding-right",x0="margin-right";class lg{constructor(){this._element=document.body}getWidth(){const _=document.documentElement.clientWidth;return Math.abs(window.innerWidth-_)}hide(){const _=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,sd,R=>R+_),this._setElementAttributes(b0,sd,R=>R+_),this._setElementAttributes(w0,x0,R=>R-_)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,sd),this._resetElementAttributes(b0,sd),this._resetElementAttributes(w0,x0)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(_,R,q){const ye=this.getWidth(),Pe=Ie=>{if(Ie!==this._element&&window.innerWidth>Ie.clientWidth+ye)return;this._saveInitialAttribute(Ie,R);const rt=window.getComputedStyle(Ie).getPropertyValue(R);Ie.style.setProperty(R,`${q(Number.parseFloat(rt))}px`)};this._applyManipulationCallback(_,Pe)}_saveInitialAttribute(_,R){const q=_.style.getPropertyValue(R);q&&K.setDataAttribute(_,R,q)}_resetElementAttributes(_,R){const q=ye=>{const Pe=K.getDataAttribute(ye,R);if(Pe===null){ye.style.removeProperty(R);return}K.removeDataAttribute(ye,R),ye.style.setProperty(R,Pe)};this._applyManipulationCallback(_,q)}_applyManipulationCallback(_,R){if(m(_)){R(_);return}for(const q of ee.find(_,this._element))R(q)}}const MM="modal",Li=".bs.modal",IM=".data-api",PM="Escape",RM=`hide${Li}`,DM=`hidePrevented${Li}`,E0=`hidden${Li}`,S0=`show${Li}`,$M=`shown${Li}`,LM=`resize${Li}`,OM=`click.dismiss${Li}`,NM=`mousedown.dismiss${Li}`,FM=`keydown.dismiss${Li}`,BM=`click${Li}${IM}`,C0="modal-open",VM="fade",T0="show",cg="modal-static",zM=".modal.show",WM=".modal-dialog",HM=".modal-body",YM='[data-bs-toggle="modal"]',jM={backdrop:!0,focus:!0,keyboard:!0},KM={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Co extends j{constructor(_,R){super(_,R),this._dialog=ee.findOne(WM,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new lg,this._addEventListeners()}static get Default(){return jM}static get DefaultType(){return KM}static get NAME(){return MM}toggle(_){return this._isShown?this.hide():this.show(_)}show(_){this._isShown||this._isTransitioning||z.trigger(this._element,S0,{relatedTarget:_}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(C0),this._adjustDialog(),this._backdrop.show(()=>this._showElement(_)))}hide(){!this._isShown||this._isTransitioning||z.trigger(this._element,RM).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(T0),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){z.off(window,Li),z.off(this._dialog,Li),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new _0({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new v0({trapElement:this._element})}_showElement(_){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const R=ee.findOne(HM,this._dialog);R&&(R.scrollTop=0),w(this._element),this._element.classList.add(T0);const q=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,z.trigger(this._element,$M,{relatedTarget:_})};this._queueCallback(q,this._dialog,this._isAnimated())}_addEventListeners(){z.on(this._element,FM,_=>{if(_.key===PM){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),z.on(window,LM,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),z.on(this._element,NM,_=>{z.one(this._element,OM,R=>{if(!(this._element!==_.target||this._element!==R.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(C0),this._resetAdjustments(),this._scrollBar.reset(),z.trigger(this._element,E0)})}_isAnimated(){return this._element.classList.contains(VM)}_triggerBackdropTransition(){if(z.trigger(this._element,DM).defaultPrevented)return;const R=this._element.scrollHeight>document.documentElement.clientHeight,q=this._element.style.overflowY;q==="hidden"||this._element.classList.contains(cg)||(R||(this._element.style.overflowY="hidden"),this._element.classList.add(cg),this._queueCallback(()=>{this._element.classList.remove(cg),this._queueCallback(()=>{this._element.style.overflowY=q},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const _=this._element.scrollHeight>document.documentElement.clientHeight,R=this._scrollBar.getWidth(),q=R>0;if(q&&!_){const ye=A()?"paddingLeft":"paddingRight";this._element.style[ye]=`${R}px`}if(!q&&_){const ye=A()?"paddingRight":"paddingLeft";this._element.style[ye]=`${R}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(_,R){return this.each(function(){const q=Co.getOrCreateInstance(this,_);if(typeof _=="string"){if(typeof q[_]>"u")throw new TypeError(`No method named "${_}"`);q[_](R)}})}}z.on(document,BM,YM,function(G){const _=ee.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&G.preventDefault(),z.one(_,S0,ye=>{ye.defaultPrevented||z.one(_,E0,()=>{v(this)&&this.focus()})});const R=ee.findOne(zM);R&&Co.getInstance(R).hide(),Co.getOrCreateInstance(_).toggle(this)}),fe(Co),P(Co);const UM="offcanvas",Ws=".bs.offcanvas",k0=".data-api",GM=`load${Ws}${k0}`,XM="Escape",A0="show",M0="showing",I0="hiding",qM="offcanvas-backdrop",P0=".offcanvas.show",ZM=`show${Ws}`,JM=`shown${Ws}`,QM=`hide${Ws}`,R0=`hidePrevented${Ws}`,D0=`hidden${Ws}`,eI=`resize${Ws}`,tI=`click${Ws}${k0}`,nI=`keydown.dismiss${Ws}`,iI='[data-bs-toggle="offcanvas"]',sI={backdrop:!0,keyboard:!0,scroll:!1},rI={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Hs extends j{constructor(_,R){super(_,R),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return sI}static get DefaultType(){return rI}static get NAME(){return UM}toggle(_){return this._isShown?this.hide():this.show(_)}show(_){if(this._isShown||z.trigger(this._element,ZM,{relatedTarget:_}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new lg().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(M0);const q=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(A0),this._element.classList.remove(M0),z.trigger(this._element,JM,{relatedTarget:_})};this._queueCallback(q,this._element,!0)}hide(){if(!this._isShown||z.trigger(this._element,QM).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(I0),this._backdrop.hide();const R=()=>{this._element.classList.remove(A0,I0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new lg().reset(),z.trigger(this._element,D0)};this._queueCallback(R,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const _=()=>{if(this._config.backdrop==="static"){z.trigger(this._element,R0);return}this.hide()},R=!!this._config.backdrop;return new _0({className:qM,isVisible:R,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:R?_:null})}_initializeFocusTrap(){return new v0({trapElement:this._element})}_addEventListeners(){z.on(this._element,nI,_=>{if(_.key===XM){if(this._config.keyboard){this.hide();return}z.trigger(this._element,R0)}})}static jQueryInterface(_){return this.each(function(){const R=Hs.getOrCreateInstance(this,_);if(typeof _=="string"){if(R[_]===void 0||_.startsWith("_")||_==="constructor")throw new TypeError(`No method named "${_}"`);R[_](this)}})}}z.on(document,tI,iI,function(G){const _=ee.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&G.preventDefault(),b(this))return;z.one(_,D0,()=>{v(this)&&this.focus()});const R=ee.findOne(P0);R&&R!==_&&Hs.getInstance(R).hide(),Hs.getOrCreateInstance(_).toggle(this)}),z.on(window,GM,()=>{for(const G of ee.find(P0))Hs.getOrCreateInstance(G).show()}),z.on(window,eI,()=>{for(const G of ee.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(G).position!=="fixed"&&Hs.getOrCreateInstance(G).hide()}),fe(Hs),P(Hs);const $0={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},oI=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),aI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,lI=(G,_)=>{const R=G.nodeName.toLowerCase();return _.includes(R)?oI.has(R)?!!aI.test(G.nodeValue):!0:_.filter(q=>q instanceof RegExp).some(q=>q.test(R))};function cI(G,_,R){if(!G.length)return G;if(R&&typeof R=="function")return R(G);const ye=new window.DOMParser().parseFromString(G,"text/html"),Pe=[].concat(...ye.body.querySelectorAll("*"));for(const Ie of Pe){const rt=Ie.nodeName.toLowerCase();if(!Object.keys(_).includes(rt)){Ie.remove();continue}const oi=[].concat(...Ie.attributes),Oi=[].concat(_["*"]||[],_[rt]||[]);for(const Cn of oi)lI(Cn,Oi)||Ie.removeAttribute(Cn.nodeName)}return ye.body.innerHTML}const uI="TemplateFactory",dI={allowList:$0,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},hI={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},fI={entry:"(string|element|function|null)",selector:"(string|element)"};class gI extends U{constructor(_){super(),this._config=this._getConfig(_)}static get Default(){return dI}static get DefaultType(){return hI}static get NAME(){return uI}getContent(){return Object.values(this._config.content).map(_=>this._resolvePossibleFunction(_)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(_){return this._checkContent(_),this._config.content={...this._config.content,..._},this}toHtml(){const _=document.createElement("div");_.innerHTML=this._maybeSanitize(this._config.template);for(const[ye,Pe]of Object.entries(this._config.content))this._setContent(_,Pe,ye);const R=_.children[0],q=this._resolvePossibleFunction(this._config.extraClass);return q&&R.classList.add(...q.split(" ")),R}_typeCheckConfig(_){super._typeCheckConfig(_),this._checkContent(_.content)}_checkContent(_){for(const[R,q]of Object.entries(_))super._typeCheckConfig({selector:R,entry:q},fI)}_setContent(_,R,q){const ye=ee.findOne(q,_);if(ye){if(R=this._resolvePossibleFunction(R),!R){ye.remove();return}if(m(R)){this._putElementInTemplate(y(R),ye);return}if(this._config.html){ye.innerHTML=this._maybeSanitize(R);return}ye.textContent=R}}_maybeSanitize(_){return this._config.sanitize?cI(_,this._config.allowList,this._config.sanitizeFn):_}_resolvePossibleFunction(_){return F(_,[this])}_putElementInTemplate(_,R){if(this._config.html){R.innerHTML="",R.append(_);return}R.textContent=_.textContent}}const pI="tooltip",mI=new Set(["sanitize","allowList","sanitizeFn"]),ug="fade",_I="modal",rd="show",yI=".tooltip-inner",L0=`.${_I}`,O0="hide.bs.modal",tc="hover",dg="focus",vI="click",bI="manual",wI="hide",xI="hidden",EI="show",SI="shown",CI="inserted",TI="click",kI="focusin",AI="focusout",MI="mouseenter",II="mouseleave",PI={AUTO:"auto",TOP:"top",RIGHT:A()?"left":"right",BOTTOM:"bottom",LEFT:A()?"right":"left"},RI={allowList:$0,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},DI={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class To extends j{constructor(_,R){if(typeof s>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(_,R),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return RI}static get DefaultType(){return DI}static get NAME(){return pI}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),z.off(this._element.closest(L0),O0,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const _=z.trigger(this._element,this.constructor.eventName(EI)),q=(E(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(_.defaultPrevented||!q)return;this._disposePopper();const ye=this._getTipElement();this._element.setAttribute("aria-describedby",ye.getAttribute("id"));const{container:Pe}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(Pe.append(ye),z.trigger(this._element,this.constructor.eventName(CI))),this._popper=this._createPopper(ye),ye.classList.add(rd),"ontouchstart"in document.documentElement)for(const rt of[].concat(...document.body.children))z.on(rt,"mouseover",C);const Ie=()=>{z.trigger(this._element,this.constructor.eventName(SI)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(Ie,this.tip,this._isAnimated())}hide(){if(!this._isShown()||z.trigger(this._element,this.constructor.eventName(wI)).defaultPrevented)return;if(this._getTipElement().classList.remove(rd),"ontouchstart"in document.documentElement)for(const ye of[].concat(...document.body.children))z.off(ye,"mouseover",C);this._activeTrigger[vI]=!1,this._activeTrigger[dg]=!1,this._activeTrigger[tc]=!1,this._isHovered=null;const q=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),z.trigger(this._element,this.constructor.eventName(xI)))};this._queueCallback(q,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(_){const R=this._getTemplateFactory(_).toHtml();if(!R)return null;R.classList.remove(ug,rd),R.classList.add(`bs-${this.constructor.NAME}-auto`);const q=h(this.constructor.NAME).toString();return R.setAttribute("id",q),this._isAnimated()&&R.classList.add(ug),R}setContent(_){this._newContent=_,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(_){return this._templateFactory?this._templateFactory.changeContent(_):this._templateFactory=new gI({...this._config,content:_,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[yI]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(_){return this.constructor.getOrCreateInstance(_.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ug)}_isShown(){return this.tip&&this.tip.classList.contains(rd)}_createPopper(_){const R=F(this._config.placement,[this,_,this._element]),q=PI[R.toUpperCase()];return s.createPopper(this._element,_,this._getPopperConfig(q))}_getOffset(){const{offset:_}=this._config;return typeof _=="string"?_.split(",").map(R=>Number.parseInt(R,10)):typeof _=="function"?R=>_(R,this._element):_}_resolvePossibleFunction(_){return F(_,[this._element])}_getPopperConfig(_){const R={placement:_,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:q=>{this._getTipElement().setAttribute("data-popper-placement",q.state.placement)}}]};return{...R,...F(this._config.popperConfig,[R])}}_setListeners(){const _=this._config.trigger.split(" ");for(const R of _)if(R==="click")z.on(this._element,this.constructor.eventName(TI),this._config.selector,q=>{this._initializeOnDelegatedTarget(q).toggle()});else if(R!==bI){const q=R===tc?this.constructor.eventName(MI):this.constructor.eventName(kI),ye=R===tc?this.constructor.eventName(II):this.constructor.eventName(AI);z.on(this._element,q,this._config.selector,Pe=>{const Ie=this._initializeOnDelegatedTarget(Pe);Ie._activeTrigger[Pe.type==="focusin"?dg:tc]=!0,Ie._enter()}),z.on(this._element,ye,this._config.selector,Pe=>{const Ie=this._initializeOnDelegatedTarget(Pe);Ie._activeTrigger[Pe.type==="focusout"?dg:tc]=Ie._element.contains(Pe.relatedTarget),Ie._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},z.on(this._element.closest(L0),O0,this._hideModalHandler)}_fixTitle(){const _=this._element.getAttribute("title");_&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",_),this._element.setAttribute("data-bs-original-title",_),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(_,R){clearTimeout(this._timeout),this._timeout=setTimeout(_,R)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(_){const R=K.getDataAttributes(this._element);for(const q of Object.keys(R))mI.has(q)&&delete R[q];return _={...R,...typeof _=="object"&&_?_:{}},_=this._mergeConfigObj(_),_=this._configAfterMerge(_),this._typeCheckConfig(_),_}_configAfterMerge(_){return _.container=_.container===!1?document.body:y(_.container),typeof _.delay=="number"&&(_.delay={show:_.delay,hide:_.delay}),typeof _.title=="number"&&(_.title=_.title.toString()),typeof _.content=="number"&&(_.content=_.content.toString()),_}_getDelegateConfig(){const _={};for(const[R,q]of Object.entries(this._config))this.constructor.Default[R]!==q&&(_[R]=q);return _.selector=!1,_.trigger="manual",_}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(_){return this.each(function(){const R=To.getOrCreateInstance(this,_);if(typeof _=="string"){if(typeof R[_]>"u")throw new TypeError(`No method named "${_}"`);R[_]()}})}}P(To);const $I="popover",LI=".popover-header",OI=".popover-body",NI={...To.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},FI={...To.DefaultType,content:"(null|string|element|function)"};class od extends To{static get Default(){return NI}static get DefaultType(){return FI}static get NAME(){return $I}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[LI]:this._getTitle(),[OI]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(_){return this.each(function(){const R=od.getOrCreateInstance(this,_);if(typeof _=="string"){if(typeof R[_]>"u")throw new TypeError(`No method named "${_}"`);R[_]()}})}}P(od);const BI="scrollspy",hg=".bs.scrollspy",VI=".data-api",zI=`activate${hg}`,N0=`click${hg}`,WI=`load${hg}${VI}`,HI="dropdown-item",Aa="active",YI='[data-bs-spy="scroll"]',fg="[href]",jI=".nav, .list-group",F0=".nav-link",KI=`${F0}, .nav-item > ${F0}, .list-group-item`,UI=".dropdown",GI=".dropdown-toggle",XI={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},qI={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class nc extends j{constructor(_,R){super(_,R),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return XI}static get DefaultType(){return qI}static get NAME(){return BI}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const _ of this._observableSections.values())this._observer.observe(_)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(_){return _.target=y(_.target)||document.body,_.rootMargin=_.offset?`${_.offset}px 0px -30%`:_.rootMargin,typeof _.threshold=="string"&&(_.threshold=_.threshold.split(",").map(R=>Number.parseFloat(R))),_}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(z.off(this._config.target,N0),z.on(this._config.target,N0,fg,_=>{const R=this._observableSections.get(_.target.hash);if(R){_.preventDefault();const q=this._rootElement||window,ye=R.offsetTop-this._element.offsetTop;if(q.scrollTo){q.scrollTo({top:ye,behavior:"smooth"});return}q.scrollTop=ye}}))}_getNewObserver(){const _={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(R=>this._observerCallback(R),_)}_observerCallback(_){const R=Ie=>this._targetLinks.get(`#${Ie.target.id}`),q=Ie=>{this._previousScrollData.visibleEntryTop=Ie.target.offsetTop,this._process(R(Ie))},ye=(this._rootElement||document.documentElement).scrollTop,Pe=ye>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=ye;for(const Ie of _){if(!Ie.isIntersecting){this._activeTarget=null,this._clearActiveClass(R(Ie));continue}const rt=Ie.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(Pe&&rt){if(q(Ie),!ye)return;continue}!Pe&&!rt&&q(Ie)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const _=ee.find(fg,this._config.target);for(const R of _){if(!R.hash||b(R))continue;const q=ee.findOne(decodeURI(R.hash),this._element);v(q)&&(this._targetLinks.set(decodeURI(R.hash),R),this._observableSections.set(R.hash,q))}}_process(_){this._activeTarget!==_&&(this._clearActiveClass(this._config.target),this._activeTarget=_,_.classList.add(Aa),this._activateParents(_),z.trigger(this._element,zI,{relatedTarget:_}))}_activateParents(_){if(_.classList.contains(HI)){ee.findOne(GI,_.closest(UI)).classList.add(Aa);return}for(const R of ee.parents(_,jI))for(const q of ee.prev(R,KI))q.classList.add(Aa)}_clearActiveClass(_){_.classList.remove(Aa);const R=ee.find(`${fg}.${Aa}`,_);for(const q of R)q.classList.remove(Aa)}static jQueryInterface(_){return this.each(function(){const R=nc.getOrCreateInstance(this,_);if(typeof _=="string"){if(R[_]===void 0||_.startsWith("_")||_==="constructor")throw new TypeError(`No method named "${_}"`);R[_]()}})}}z.on(window,WI,()=>{for(const G of ee.find(YI))nc.getOrCreateInstance(G)}),P(nc);const ZI="tab",ko=".bs.tab",JI=`hide${ko}`,QI=`hidden${ko}`,eP=`show${ko}`,tP=`shown${ko}`,nP=`click${ko}`,iP=`keydown${ko}`,sP=`load${ko}`,rP="ArrowLeft",B0="ArrowRight",oP="ArrowUp",V0="ArrowDown",gg="Home",z0="End",Ao="active",W0="fade",pg="show",aP="dropdown",H0=".dropdown-toggle",lP=".dropdown-menu",mg=`:not(${H0})`,cP='.list-group, .nav, [role="tablist"]',uP=".nav-item, .list-group-item",dP=`.nav-link${mg}, .list-group-item${mg}, [role="tab"]${mg}`,Y0='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',_g=`${dP}, ${Y0}`,hP=`.${Ao}[data-bs-toggle="tab"], .${Ao}[data-bs-toggle="pill"], .${Ao}[data-bs-toggle="list"]`;class Mo extends j{constructor(_){super(_),this._parent=this._element.closest(cP),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),z.on(this._element,iP,R=>this._keydown(R)))}static get NAME(){return ZI}show(){const _=this._element;if(this._elemIsActive(_))return;const R=this._getActiveElem(),q=R?z.trigger(R,JI,{relatedTarget:_}):null;z.trigger(_,eP,{relatedTarget:R}).defaultPrevented||q&&q.defaultPrevented||(this._deactivate(R,_),this._activate(_,R))}_activate(_,R){if(!_)return;_.classList.add(Ao),this._activate(ee.getElementFromSelector(_));const q=()=>{if(_.getAttribute("role")!=="tab"){_.classList.add(pg);return}_.removeAttribute("tabindex"),_.setAttribute("aria-selected",!0),this._toggleDropDown(_,!0),z.trigger(_,tP,{relatedTarget:R})};this._queueCallback(q,_,_.classList.contains(W0))}_deactivate(_,R){if(!_)return;_.classList.remove(Ao),_.blur(),this._deactivate(ee.getElementFromSelector(_));const q=()=>{if(_.getAttribute("role")!=="tab"){_.classList.remove(pg);return}_.setAttribute("aria-selected",!1),_.setAttribute("tabindex","-1"),this._toggleDropDown(_,!1),z.trigger(_,QI,{relatedTarget:R})};this._queueCallback(q,_,_.classList.contains(W0))}_keydown(_){if(![rP,B0,oP,V0,gg,z0].includes(_.key))return;_.stopPropagation(),_.preventDefault();const R=this._getChildren().filter(ye=>!b(ye));let q;if([gg,z0].includes(_.key))q=R[_.key===gg?0:R.length-1];else{const ye=[B0,V0].includes(_.key);q=te(R,_.target,ye,!0)}q&&(q.focus({preventScroll:!0}),Mo.getOrCreateInstance(q).show())}_getChildren(){return ee.find(_g,this._parent)}_getActiveElem(){return this._getChildren().find(_=>this._elemIsActive(_))||null}_setInitialAttributes(_,R){this._setAttributeIfNotExists(_,"role","tablist");for(const q of R)this._setInitialAttributesOnChild(q)}_setInitialAttributesOnChild(_){_=this._getInnerElement(_);const R=this._elemIsActive(_),q=this._getOuterElement(_);_.setAttribute("aria-selected",R),q!==_&&this._setAttributeIfNotExists(q,"role","presentation"),R||_.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(_,"role","tab"),this._setInitialAttributesOnTargetPanel(_)}_setInitialAttributesOnTargetPanel(_){const R=ee.getElementFromSelector(_);R&&(this._setAttributeIfNotExists(R,"role","tabpanel"),_.id&&this._setAttributeIfNotExists(R,"aria-labelledby",`${_.id}`))}_toggleDropDown(_,R){const q=this._getOuterElement(_);if(!q.classList.contains(aP))return;const ye=(Pe,Ie)=>{const rt=ee.findOne(Pe,q);rt&&rt.classList.toggle(Ie,R)};ye(H0,Ao),ye(lP,pg),q.setAttribute("aria-expanded",R)}_setAttributeIfNotExists(_,R,q){_.hasAttribute(R)||_.setAttribute(R,q)}_elemIsActive(_){return _.classList.contains(Ao)}_getInnerElement(_){return _.matches(_g)?_:ee.findOne(_g,_)}_getOuterElement(_){return _.closest(uP)||_}static jQueryInterface(_){return this.each(function(){const R=Mo.getOrCreateInstance(this);if(typeof _=="string"){if(R[_]===void 0||_.startsWith("_")||_==="constructor")throw new TypeError(`No method named "${_}"`);R[_]()}})}}z.on(document,nP,Y0,function(G){["A","AREA"].includes(this.tagName)&&G.preventDefault(),!b(this)&&Mo.getOrCreateInstance(this).show()}),z.on(window,sP,()=>{for(const G of ee.find(hP))Mo.getOrCreateInstance(G)}),P(Mo);const fP="toast",xr=".bs.toast",gP=`mouseover${xr}`,pP=`mouseout${xr}`,mP=`focusin${xr}`,_P=`focusout${xr}`,yP=`hide${xr}`,vP=`hidden${xr}`,bP=`show${xr}`,wP=`shown${xr}`,xP="fade",j0="hide",ad="show",ld="showing",EP={animation:"boolean",autohide:"boolean",delay:"number"},SP={animation:!0,autohide:!0,delay:5e3};class ic extends j{constructor(_,R){super(_,R),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return SP}static get DefaultType(){return EP}static get NAME(){return fP}show(){if(z.trigger(this._element,bP).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(xP);const R=()=>{this._element.classList.remove(ld),z.trigger(this._element,wP),this._maybeScheduleHide()};this._element.classList.remove(j0),w(this._element),this._element.classList.add(ad,ld),this._queueCallback(R,this._element,this._config.animation)}hide(){if(!this.isShown()||z.trigger(this._element,yP).defaultPrevented)return;const R=()=>{this._element.classList.add(j0),this._element.classList.remove(ld,ad),z.trigger(this._element,vP)};this._element.classList.add(ld),this._queueCallback(R,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ad),super.dispose()}isShown(){return this._element.classList.contains(ad)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(_,R){switch(_.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=R;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=R;break}}if(R){this._clearTimeout();return}const q=_.relatedTarget;this._element===q||this._element.contains(q)||this._maybeScheduleHide()}_setListeners(){z.on(this._element,gP,_=>this._onInteraction(_,!0)),z.on(this._element,pP,_=>this._onInteraction(_,!1)),z.on(this._element,mP,_=>this._onInteraction(_,!0)),z.on(this._element,_P,_=>this._onInteraction(_,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(_){return this.each(function(){const R=ic.getOrCreateInstance(this,_);if(typeof _=="string"){if(typeof R[_]>"u")throw new TypeError(`No method named "${_}"`);R[_](this)}})}}return fe(ic),P(ic),{Alert:Ze,Button:ae,Carousel:Sa,Collapse:Ta,Dropdown:Zi,Modal:Co,Offcanvas:Hs,Popover:od,ScrollSpy:nc,Tab:Mo,Toast:ic,Tooltip:To}})})(AP);/** * @vue/shared v3.4.29 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function $h(t,e){const n=new Set(t.split(","));return e?s=>n.has(s.toLowerCase()):s=>n.has(s)}const _t={},nr=[],Un=()=>{},GS=()=>!1,Oc=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Ah=t=>t.startsWith("onUpdate:"),Lt=Object.assign,Ch=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},JS=Object.prototype.hasOwnProperty,st=(t,e)=>JS.call(t,e),Fe=Array.isArray,sr=t=>Ka(t)==="[object Map]",Or=t=>Ka(t)==="[object Set]",zp=t=>Ka(t)==="[object Date]",Ye=t=>typeof t=="function",St=t=>typeof t=="string",Xs=t=>typeof t=="symbol",ut=t=>t!==null&&typeof t=="object",kv=t=>(ut(t)||Ye(t))&&Ye(t.then)&&Ye(t.catch),Sv=Object.prototype.toString,Ka=t=>Sv.call(t),XS=t=>Ka(t).slice(8,-1),$v=t=>Ka(t)==="[object Object]",Eh=t=>St(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,ua=$h(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ic=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},QS=/-(\w)/g,Es=Ic(t=>t.replace(QS,(e,n)=>n?n.toUpperCase():"")),ZS=/\B([A-Z])/g,To=Ic(t=>t.replace(ZS,"-$1").toLowerCase()),Rc=Ic(t=>t.charAt(0).toUpperCase()+t.slice(1)),Tu=Ic(t=>t?`on${Rc(t)}`:""),Ti=(t,e)=>!Object.is(t,e),Gl=(t,...e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:s,value:n})},ac=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Cv=t=>{const e=St(t)?Number(t):NaN;return isNaN(e)?t:e};let Yp;const Ev=()=>Yp||(Yp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function jt(t){if(Fe(t)){const e={};for(let n=0;n{if(n){const s=n.split(t$);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Ce(t){let e="";if(St(t))e=t;else if(Fe(t))for(let n=0;nAo(n,e))}const me=t=>St(t)?t:t==null?"":Fe(t)||ut(t)&&(t.toString===Sv||!Ye(t.toString))?JSON.stringify(t,Tv,2):String(t),Tv=(t,e)=>e&&e.__v_isRef?Tv(t,e.value):sr(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,i],o)=>(n[Mu(s,o)+" =>"]=i,n),{})}:Or(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Mu(n))}:Xs(e)?Mu(e):ut(e)&&!Fe(e)&&!$v(e)?String(e):e,Mu=(t,e="")=>{var n;return Xs(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/** +**//*! #__NO_SIDE_EFFECTS__ */function Xm(t,e){const n=new Set(t.split(","));return e?i=>n.has(i.toLowerCase()):i=>n.has(i)}const Ot={},tl=[],Vi=()=>{},y2=()=>!1,Zh=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),qm=t=>t.startsWith("onUpdate:"),ln=Object.assign,Zm=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},v2=Object.prototype.hasOwnProperty,ht=(t,e)=>v2.call(t,e),We=Array.isArray,nl=t=>Du(t)==="[object Map]",Hl=t=>Du(t)==="[object Set]",ev=t=>Du(t)==="[object Date]",qe=t=>typeof t=="function",Kt=t=>typeof t=="string",gr=t=>typeof t=="symbol",At=t=>t!==null&&typeof t=="object",Dx=t=>(At(t)||qe(t))&&qe(t.then)&&qe(t.catch),$x=Object.prototype.toString,Du=t=>$x.call(t),b2=t=>Du(t).slice(8,-1),Lx=t=>Du(t)==="[object Object]",Jm=t=>Kt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Dc=Xm(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Jh=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},w2=/-(\w)/g,Ls=Jh(t=>t.replace(w2,(e,n)=>n?n.toUpperCase():"")),x2=/\B([A-Z])/g,fa=Jh(t=>t.replace(x2,"-$1").toLowerCase()),Qh=Jh(t=>t.charAt(0).toUpperCase()+t.slice(1)),yg=Jh(t=>t?`on${Qh(t)}`:""),io=(t,e)=>!Object.is(t,e),Zd=(t,...e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:i,value:n})},ch=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Nx=t=>{const e=Kt(t)?Number(t):NaN;return isNaN(e)?t:e};let tv;const Fx=()=>tv||(tv=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Mn(t){if(We(t)){const e={};for(let n=0;n{if(n){const i=n.split(S2);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function Me(t){let e="";if(Kt(t))e=t;else if(We(t))for(let n=0;naa(n,e))}const xe=t=>Kt(t)?t:t==null?"":We(t)||At(t)&&(t.toString===$x||!qe(t.toString))?JSON.stringify(t,Vx,2):String(t),Vx=(t,e)=>e&&e.__v_isRef?Vx(t,e.value):nl(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[i,s],r)=>(n[vg(i,r)+" =>"]=s,n),{})}:Hl(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>vg(n))}:gr(e)?vg(e):At(e)&&!We(e)&&!Lx(e)?String(e):e,vg=(t,e="")=>{var n;return gr(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/** * @vue/reactivity v3.4.29 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Dn;class Mv{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Dn,!e&&Dn&&(this.index=(Dn.scopes||(Dn.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Dn;try{return Dn=this,e()}finally{Dn=n}}}on(){Dn=this}off(){Dn=this.parent}stop(e){if(this._active){let n,s;for(n=0,s=this.effects.length;n=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),Fi()}return this._dirtyLevel>=5}set dirty(e){this._dirtyLevel=e?5:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=$i,n=_o;try{return $i=!0,_o=this,this._runnings++,Up(this),this.fn()}finally{Kp(this),this._runnings--,_o=n,$i=e}}stop(){this.active&&(Up(this),Kp(this),this.onStop&&this.onStop(),this.active=!1)}}function l$(t){return t.value}function Up(t){t._trackId++,t._depsLength=0}function Kp(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e0){s._dirtyLevel=2;continue}let i;s._dirtyLevel{const n=new Map;return n.cleanup=t,n.computed=e,n},lc=new WeakMap,vo=Symbol(""),Sd=Symbol("");function Pn(t,e,n){if($i&&_o){let s=lc.get(t);s||lc.set(t,s=new Map);let i=s.get(n);i||s.set(n,i=Nv(()=>s.delete(n))),Rv(_o,i)}}function Gs(t,e,n,s,i,o){const r=lc.get(t);if(!r)return;let a=[];if(e==="clear")a=[...r.values()];else if(n==="length"&&Fe(t)){const l=Number(s);r.forEach((c,u)=>{(u==="length"||!Xs(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(r.get(n)),e){case"add":Fe(t)?Eh(n)&&a.push(r.get("length")):(a.push(r.get(vo)),sr(t)&&a.push(r.get(Sd)));break;case"delete":Fe(t)||(a.push(r.get(vo)),sr(t)&&a.push(r.get(Sd)));break;case"set":sr(t)&&a.push(r.get(vo));break}Dh();for(const l of a)l&&Lv(l,5);Oh()}function c$(t,e){const n=lc.get(t);return n&&n.get(e)}const u$=$h("__proto__,__v_isRef,__isVue"),Fv=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Xs)),qp=d$();function d$(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=Ze(this);for(let o=0,r=this.length;o{t[e]=function(...n){Ni(),Dh();const s=Ze(this)[e].apply(this,n);return Oh(),Fi(),s}}),t}function h$(t){Xs(t)||(t=String(t));const e=Ze(this);return Pn(e,"has",t),e.hasOwnProperty(t)}class Bv{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,s){const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(i?o?$$:Wv:o?jv:Hv).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(s)?e:void 0;const r=Fe(e);if(!i){if(r&&st(qp,n))return Reflect.get(qp,n,s);if(n==="hasOwnProperty")return h$}const a=Reflect.get(e,n,s);return(Xs(n)?Fv.has(n):u$(n))||(i||Pn(e,"get",n),o)?a:Pt(a)?r&&Eh(n)?a:a.value:ut(a)?i?Yv(a):Ts(a):a}}class Vv extends Bv{constructor(e=!1){super(!1,e)}set(e,n,s,i){let o=e[n];if(!this._isShallow){const l=$a(o);if(!cc(s)&&!$a(s)&&(o=Ze(o),s=Ze(s)),!Fe(e)&&Pt(o)&&!Pt(s))return l?!1:(o.value=s,!0)}const r=Fe(e)&&Eh(n)?Number(n)t,Nc=t=>Reflect.getPrototypeOf(t);function yl(t,e,n=!1,s=!1){t=t.__v_raw;const i=Ze(t),o=Ze(e);n||(Ti(e,o)&&Pn(i,"get",e),Pn(i,"get",o));const{has:r}=Nc(i),a=s?Ih:n?Nh:Aa;if(r.call(i,e))return a(t.get(e));if(r.call(i,o))return a(t.get(o));t!==i&&t.get(e)}function wl(t,e=!1){const n=this.__v_raw,s=Ze(n),i=Ze(t);return e||(Ti(t,i)&&Pn(s,"has",t),Pn(s,"has",i)),t===i?n.has(t):n.has(t)||n.has(i)}function xl(t,e=!1){return t=t.__v_raw,!e&&Pn(Ze(t),"iterate",vo),Reflect.get(t,"size",t)}function Gp(t){t=Ze(t);const e=Ze(this);return Nc(e).has.call(e,t)||(e.add(t),Gs(e,"add",t,t)),this}function Jp(t,e){e=Ze(e);const n=Ze(this),{has:s,get:i}=Nc(n);let o=s.call(n,t);o||(t=Ze(t),o=s.call(n,t));const r=i.call(n,t);return n.set(t,e),o?Ti(e,r)&&Gs(n,"set",t,e):Gs(n,"add",t,e),this}function Xp(t){const e=Ze(this),{has:n,get:s}=Nc(e);let i=n.call(e,t);i||(t=Ze(t),i=n.call(e,t)),s&&s.call(e,t);const o=e.delete(t);return i&&Gs(e,"delete",t,void 0),o}function Qp(){const t=Ze(this),e=t.size!==0,n=t.clear();return e&&Gs(t,"clear",void 0,void 0),n}function kl(t,e){return function(s,i){const o=this,r=o.__v_raw,a=Ze(r),l=e?Ih:t?Nh:Aa;return!t&&Pn(a,"iterate",vo),r.forEach((c,u)=>s.call(i,l(c),l(u),o))}}function Sl(t,e,n){return function(...s){const i=this.__v_raw,o=Ze(i),r=sr(o),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,c=i[t](...s),u=n?Ih:e?Nh:Aa;return!e&&Pn(o,"iterate",l?Sd:vo),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:a?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function ai(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function _$(){const t={get(o){return yl(this,o)},get size(){return xl(this)},has:wl,add:Gp,set:Jp,delete:Xp,clear:Qp,forEach:kl(!1,!1)},e={get(o){return yl(this,o,!1,!0)},get size(){return xl(this)},has:wl,add:Gp,set:Jp,delete:Xp,clear:Qp,forEach:kl(!1,!0)},n={get(o){return yl(this,o,!0)},get size(){return xl(this,!0)},has(o){return wl.call(this,o,!0)},add:ai("add"),set:ai("set"),delete:ai("delete"),clear:ai("clear"),forEach:kl(!0,!1)},s={get(o){return yl(this,o,!0,!0)},get size(){return xl(this,!0)},has(o){return wl.call(this,o,!0)},add:ai("add"),set:ai("set"),delete:ai("delete"),clear:ai("clear"),forEach:kl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=Sl(o,!1,!1),n[o]=Sl(o,!0,!1),e[o]=Sl(o,!1,!0),s[o]=Sl(o,!0,!0)}),[t,n,e,s]}const[v$,b$,y$,w$]=_$();function Rh(t,e){const n=e?t?w$:y$:t?b$:v$;return(s,i,o)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?s:Reflect.get(st(n,i)&&i in s?n:s,i,o)}const x$={get:Rh(!1,!1)},k$={get:Rh(!1,!0)},S$={get:Rh(!0,!1)};const Hv=new WeakMap,jv=new WeakMap,Wv=new WeakMap,$$=new WeakMap;function A$(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function C$(t){return t.__v_skip||!Object.isExtensible(t)?0:A$(XS(t))}function Ts(t){return $a(t)?t:Lh(t,!1,p$,x$,Hv)}function zv(t){return Lh(t,!1,m$,k$,jv)}function Yv(t){return Lh(t,!0,g$,S$,Wv)}function Lh(t,e,n,s,i){if(!ut(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=i.get(t);if(o)return o;const r=C$(t);if(r===0)return t;const a=new Proxy(t,r===2?s:n);return i.set(t,a),a}function bo(t){return $a(t)?bo(t.__v_raw):!!(t&&t.__v_isReactive)}function $a(t){return!!(t&&t.__v_isReadonly)}function cc(t){return!!(t&&t.__v_isShallow)}function Fc(t){return t?!!t.__v_raw:!1}function Ze(t){const e=t&&t.__v_raw;return e?Ze(e):t}function Bc(t){return Object.isExtensible(t)&&Av(t,"__v_skip",!0),t}const Aa=t=>ut(t)?Ts(t):t,Nh=t=>ut(t)?Yv(t):t;class Uv{constructor(e,n,s,i){this.getter=e,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Mh(()=>e(this._value),()=>Jl(this,this.effect._dirtyLevel===3?3:4)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=s}get value(){const e=Ze(this);return(!e._cacheable||e.effect.dirty)&&Ti(e._value,e._value=e.effect.run())&&Jl(e,5),Kv(e),e.effect._dirtyLevel>=2&&Jl(e,3),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function E$(t,e,n=!1){let s,i;const o=Ye(t);return o?(s=t,i=Un):(s=t.get,i=t.set),new Uv(s,i,o||!i,n)}function Kv(t){var e;$i&&_o&&(t=Ze(t),Rv(_o,(e=t.dep)!=null?e:t.dep=Nv(()=>t.dep=void 0,t instanceof Uv?t:void 0)))}function Jl(t,e=5,n,s){t=Ze(t);const i=t.dep;i&&Lv(i,e)}function Pt(t){return!!(t&&t.__v_isRef===!0)}function ve(t){return qv(t,!1)}function Fh(t){return qv(t,!0)}function qv(t,e){return Pt(t)?t:new P$(t,e)}class P${constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Ze(e),this._value=n?e:Aa(e)}get value(){return Kv(this),this._value}set value(e){const n=this.__v_isShallow||cc(e)||$a(e);e=n?e:Ze(e),Ti(e,this._rawValue)&&(this._rawValue,this._rawValue=e,this._value=n?e:Aa(e),Jl(this,5))}}function q(t){return Pt(t)?t.value:t}const T$={get:(t,e,n)=>q(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const i=t[e];return Pt(i)&&!Pt(n)?(i.value=n,!0):Reflect.set(t,e,n,s)}};function Gv(t){return bo(t)?t:new Proxy(t,T$)}function M$(t){const e=Fe(t)?new Array(t.length):{};for(const n in t)e[n]=Jv(t,n);return e}class D${constructor(e,n,s){this._object=e,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return c$(Ze(this._object),this._key)}}class O${constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ca(t,e,n){return Pt(t)?t:Ye(t)?new O$(t):ut(t)&&arguments.length>1?Jv(t,e,n):ve(t)}function Jv(t,e,n){const s=t[e];return Pt(s)?s:new D$(t,e,n)}/** +**/let Ei;class zx{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ei,!e&&Ei&&(this.index=(Ei.scopes||(Ei.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Ei;try{return Ei=this,e()}finally{Ei=n}}}on(){Ei=this}off(){Ei=this.parent}stop(e){if(this._active){let n,i;for(n=0,i=this.effects.length;n=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),go()}return this._dirtyLevel>=5}set dirty(e){this._dirtyLevel=e?5:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Zr,n=Jo;try{return Zr=!0,Jo=this,this._runnings++,nv(this),this.fn()}finally{iv(this),this._runnings--,Jo=n,Zr=e}}stop(){this.active&&(nv(this),iv(this),this.onStop&&this.onStop(),this.active=!1)}}function P2(t){return t.value}function nv(t){t._trackId++,t._depsLength=0}function iv(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e0){i._dirtyLevel=2;continue}let s;i._dirtyLevel{const n=new Map;return n.cleanup=t,n.computed=e,n},uh=new WeakMap,Qo=Symbol(""),$p=Symbol("");function yi(t,e,n){if(Zr&&Jo){let i=uh.get(t);i||uh.set(t,i=new Map);let s=i.get(n);s||i.set(n,s=Ux(()=>i.delete(n))),jx(Jo,s)}}function lr(t,e,n,i,s,r){const o=uh.get(t);if(!o)return;let a=[];if(e==="clear")a=[...o.values()];else if(n==="length"&&We(t)){const l=Number(i);o.forEach((c,u)=>{(u==="length"||!gr(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),e){case"add":We(t)?Jm(n)&&a.push(o.get("length")):(a.push(o.get(Qo)),nl(t)&&a.push(o.get($p)));break;case"delete":We(t)||(a.push(o.get(Qo)),nl(t)&&a.push(o.get($p)));break;case"set":nl(t)&&a.push(o.get(Qo));break}n_();for(const l of a)l&&Kx(l,5);i_()}function R2(t,e){const n=uh.get(t);return n&&n.get(e)}const D2=Xm("__proto__,__v_isRef,__isVue"),Gx=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(gr)),sv=$2();function $2(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const i=lt(this);for(let r=0,o=this.length;r{t[e]=function(...n){fo(),n_();const i=lt(this)[e].apply(this,n);return i_(),go(),i}}),t}function L2(t){gr(t)||(t=String(t));const e=lt(this);return yi(e,"has",t),e.hasOwnProperty(t)}class Xx{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,i){const s=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return r;if(n==="__v_raw")return i===(s?r?G2:Qx:r?Jx:Zx).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;const o=We(e);if(!s){if(o&&ht(sv,n))return Reflect.get(sv,n,i);if(n==="hasOwnProperty")return L2}const a=Reflect.get(e,n,i);return(gr(n)?Gx.has(n):D2(n))||(s||yi(e,"get",n),r)?a:Qt(a)?o&&Jm(n)?a:a.value:At(a)?s?tE(a):Ns(a):a}}class qx extends Xx{constructor(e=!1){super(!1,e)}set(e,n,i,s){let r=e[n];if(!this._isShallow){const l=Xc(r);if(!dh(i)&&!Xc(i)&&(r=lt(r),i=lt(i)),!We(e)&&Qt(r)&&!Qt(i))return l?!1:(r.value=i,!0)}const o=We(e)&&Jm(n)?Number(n)t,tf=t=>Reflect.getPrototypeOf(t);function dd(t,e,n=!1,i=!1){t=t.__v_raw;const s=lt(t),r=lt(e);n||(io(e,r)&&yi(s,"get",e),yi(s,"get",r));const{has:o}=tf(s),a=i?s_:n?a_:qc;if(o.call(s,e))return a(t.get(e));if(o.call(s,r))return a(t.get(r));t!==s&&t.get(e)}function hd(t,e=!1){const n=this.__v_raw,i=lt(n),s=lt(t);return e||(io(t,s)&&yi(i,"has",t),yi(i,"has",s)),t===s?n.has(t):n.has(t)||n.has(s)}function fd(t,e=!1){return t=t.__v_raw,!e&&yi(lt(t),"iterate",Qo),Reflect.get(t,"size",t)}function rv(t){t=lt(t);const e=lt(this);return tf(e).has.call(e,t)||(e.add(t),lr(e,"add",t,t)),this}function ov(t,e){e=lt(e);const n=lt(this),{has:i,get:s}=tf(n);let r=i.call(n,t);r||(t=lt(t),r=i.call(n,t));const o=s.call(n,t);return n.set(t,e),r?io(e,o)&&lr(n,"set",t,e):lr(n,"add",t,e),this}function av(t){const e=lt(this),{has:n,get:i}=tf(e);let s=n.call(e,t);s||(t=lt(t),s=n.call(e,t)),i&&i.call(e,t);const r=e.delete(t);return s&&lr(e,"delete",t,void 0),r}function lv(){const t=lt(this),e=t.size!==0,n=t.clear();return e&&lr(t,"clear",void 0,void 0),n}function gd(t,e){return function(i,s){const r=this,o=r.__v_raw,a=lt(o),l=e?s_:t?a_:qc;return!t&&yi(a,"iterate",Qo),o.forEach((c,u)=>i.call(s,l(c),l(u),r))}}function pd(t,e,n){return function(...i){const s=this.__v_raw,r=lt(s),o=nl(r),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,c=s[t](...i),u=n?s_:e?a_:qc;return!e&&yi(r,"iterate",l?$p:Qo),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:a?[u(d[0]),u(d[1])]:u(d),done:h}},[Symbol.iterator](){return this}}}}function Er(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function V2(){const t={get(r){return dd(this,r)},get size(){return fd(this)},has:hd,add:rv,set:ov,delete:av,clear:lv,forEach:gd(!1,!1)},e={get(r){return dd(this,r,!1,!0)},get size(){return fd(this)},has:hd,add:rv,set:ov,delete:av,clear:lv,forEach:gd(!1,!0)},n={get(r){return dd(this,r,!0)},get size(){return fd(this,!0)},has(r){return hd.call(this,r,!0)},add:Er("add"),set:Er("set"),delete:Er("delete"),clear:Er("clear"),forEach:gd(!0,!1)},i={get(r){return dd(this,r,!0,!0)},get size(){return fd(this,!0)},has(r){return hd.call(this,r,!0)},add:Er("add"),set:Er("set"),delete:Er("delete"),clear:Er("clear"),forEach:gd(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=pd(r,!1,!1),n[r]=pd(r,!0,!1),e[r]=pd(r,!1,!0),i[r]=pd(r,!0,!0)}),[t,n,e,i]}const[z2,W2,H2,Y2]=V2();function r_(t,e){const n=e?t?Y2:H2:t?W2:z2;return(i,s,r)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?i:Reflect.get(ht(n,s)&&s in i?n:i,s,r)}const j2={get:r_(!1,!1)},K2={get:r_(!1,!0)},U2={get:r_(!0,!1)};const Zx=new WeakMap,Jx=new WeakMap,Qx=new WeakMap,G2=new WeakMap;function X2(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function q2(t){return t.__v_skip||!Object.isExtensible(t)?0:X2(b2(t))}function Ns(t){return Xc(t)?t:o_(t,!1,N2,j2,Zx)}function eE(t){return o_(t,!1,B2,K2,Jx)}function tE(t){return o_(t,!0,F2,U2,Qx)}function o_(t,e,n,i,s){if(!At(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=s.get(t);if(r)return r;const o=q2(t);if(o===0)return t;const a=new Proxy(t,o===2?i:n);return s.set(t,a),a}function ea(t){return Xc(t)?ea(t.__v_raw):!!(t&&t.__v_isReactive)}function Xc(t){return!!(t&&t.__v_isReadonly)}function dh(t){return!!(t&&t.__v_isShallow)}function nf(t){return t?!!t.__v_raw:!1}function lt(t){const e=t&&t.__v_raw;return e?lt(e):t}function sf(t){return Object.isExtensible(t)&&Ox(t,"__v_skip",!0),t}const qc=t=>At(t)?Ns(t):t,a_=t=>At(t)?tE(t):t;class nE{constructor(e,n,i,s){this.getter=e,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new t_(()=>e(this._value),()=>Jd(this,this.effect._dirtyLevel===3?3:4)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=i}get value(){const e=lt(this);return(!e._cacheable||e.effect.dirty)&&io(e._value,e._value=e.effect.run())&&Jd(e,5),iE(e),e.effect._dirtyLevel>=2&&Jd(e,3),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Z2(t,e,n=!1){let i,s;const r=qe(t);return r?(i=t,s=Vi):(i=t.get,s=t.set),new nE(i,s,r||!s,n)}function iE(t){var e;Zr&&Jo&&(t=lt(t),jx(Jo,(e=t.dep)!=null?e:t.dep=Ux(()=>t.dep=void 0,t instanceof nE?t:void 0)))}function Jd(t,e=5,n,i){t=lt(t);const s=t.dep;s&&Kx(s,e)}function Qt(t){return!!(t&&t.__v_isRef===!0)}function we(t){return sE(t,!1)}function l_(t){return sE(t,!0)}function sE(t,e){return Qt(t)?t:new J2(t,e)}class J2{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:lt(e),this._value=n?e:qc(e)}get value(){return iE(this),this._value}set value(e){const n=this.__v_isShallow||dh(e)||Xc(e);e=n?e:lt(e),io(e,this._rawValue)&&(this._rawValue,this._rawValue=e,this._value=n?e:qc(e),Jd(this,5))}}function Q(t){return Qt(t)?t.value:t}const Q2={get:(t,e,n)=>Q(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const s=t[e];return Qt(s)&&!Qt(n)?(s.value=n,!0):Reflect.set(t,e,n,i)}};function rE(t){return ea(t)?t:new Proxy(t,Q2)}function eR(t){const e=We(t)?new Array(t.length):{};for(const n in t)e[n]=oE(t,n);return e}class tR{constructor(e,n,i){this._object=e,this._key=n,this._defaultValue=i,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return R2(lt(this._object),this._key)}}class nR{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Zc(t,e,n){return Qt(t)?t:qe(t)?new nR(t):At(t)&&arguments.length>1?oE(t,e,n):we(t)}function oE(t,e,n){const i=t[e];return Qt(i)?i:new tR(t,e,n)}/** * @vue/runtime-core v3.4.29 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Ai(t,e,n,s){try{return s?t(...s):t()}catch(i){qa(i,e,n)}}function Jn(t,e,n,s){if(Ye(t)){const i=Ai(t,e,n,s);return i&&kv(i)&&i.catch(o=>{qa(o,e,n)}),i}if(Fe(t)){const i=[];for(let o=0;o>>1,i=cn[s],o=Pa(i);ovs&&cn.splice(e,1)}function Ad(t){Fe(t)?ir.push(...t):(!pi||!pi.includes(t,t.allowRecurse?fo+1:fo))&&ir.push(t),Qv()}function Zp(t,e,n=Ea?vs+1:0){for(;nPa(n)-Pa(s));if(ir.length=0,pi){pi.push(...e);return}for(pi=e,fo=0;fot.id==null?1/0:t.id,N$=(t,e)=>{const n=Pa(t)-Pa(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function eb(t){$d=!1,Ea=!0,cn.sort(N$);try{for(vs=0;vsSt(g)?g.trim():g)),d&&(i=n.map(ac))}let a,l=s[a=Tu(e)]||s[a=Tu(Es(e))];!l&&o&&(l=s[a=Tu(To(e))]),l&&Jn(l,t,6,i);const c=s[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Jn(c,t,6,i)}}function tb(t,e,n=!1){const s=e.emitsCache,i=s.get(t);if(i!==void 0)return i;const o=t.emits;let r={},a=!1;if(!Ye(t)){const l=c=>{const u=tb(c,e,!0);u&&(a=!0,Lt(r,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!a?(ut(t)&&s.set(t,null),null):(Fe(o)?o.forEach(l=>r[l]=null):Lt(r,o),ut(t)&&s.set(t,r),r)}function Vc(t,e){return!t||!Oc(e)?!1:(e=e.slice(2).replace(/Once$/,""),st(t,e[0].toLowerCase()+e.slice(1))||st(t,To(e))||st(t,e))}let Wt=null,Hc=null;function uc(t){const e=Wt;return Wt=t,Hc=t&&t.type.__scopeId||null,e}function Ut(t){Hc=t}function Kt(){Hc=null}function Pe(t,e=Wt,n){if(!e||t._n)return t;const s=(...i)=>{s._d&&gg(-1);const o=uc(e);let r;try{r=t(...i)}finally{uc(o),s._d&&gg(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function Du(t){const{type:e,vnode:n,proxy:s,withProxy:i,propsOptions:[o],slots:r,attrs:a,emit:l,render:c,renderCache:u,props:d,data:f,setupState:g,ctx:_,inheritAttrs:m}=t,b=uc(t);let w,$;try{if(n.shapeFlag&4){const D=i||s,x=D;w=ss(c.call(x,D,u,d,g,f,_)),$=a}else{const D=e;w=ss(D.length>1?D(d,{attrs:a,slots:r,emit:l}):D(d,null)),$=e.props?a:V$(a)}}catch(D){pa.length=0,qa(D,t,1),w=Se(un)}let A=w;if($&&m!==!1){const D=Object.keys($),{shapeFlag:x}=A;D.length&&x&7&&(o&&D.some(Ah)&&($=H$($,o)),A=Mi(A,$,!1,!0))}return n.dirs&&(A=Mi(A,null,!1,!0),A.dirs=A.dirs?A.dirs.concat(n.dirs):n.dirs),n.transition&&(A.transition=n.transition),w=A,uc(b),w}function B$(t,e=!0){let n;for(let s=0;s{let e;for(const n in t)(n==="class"||n==="style"||Oc(n))&&((e||(e={}))[n]=t[n]);return e},H$=(t,e)=>{const n={};for(const s in t)(!Ah(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function j$(t,e,n){const{props:s,children:i,component:o}=t,{props:r,children:a,patchFlag:l}=e,c=o.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?eg(s,r,c):!!r;if(l&8){const u=e.dynamicProps;for(let d=0;dt.__isSuspense;let Cd=0;const z$={name:"Suspense",__isSuspense:!0,process(t,e,n,s,i,o,r,a,l,c){if(t==null)Y$(e,n,s,i,o,r,a,l,c);else{if(o&&o.deps>0&&!t.suspense.isInFallback){e.suspense=t.suspense,e.suspense.vnode=e,e.el=t.el;return}U$(t,e,n,s,i,r,a,l,c)}},hydrate:K$,create:zh,normalize:q$},Wh=z$;function Ta(t,e){const n=t.props&&t.props[e];Ye(n)&&n()}function Y$(t,e,n,s,i,o,r,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),f=t.suspense=zh(t,i,s,e,d,n,o,r,a,l);c(null,f.pendingBranch=t.ssContent,d,null,s,f,o,r),f.deps>0?(Ta(t,"onPending"),Ta(t,"onFallback"),c(null,t.ssFallback,e,n,s,null,o,r),or(f,t.ssFallback)):f.resolve(!1,!0)}function U$(t,e,n,s,i,o,r,a,{p:l,um:c,o:{createElement:u}}){const d=e.suspense=t.suspense;d.vnode=e,e.el=t.el;const f=e.ssContent,g=e.ssFallback,{activeBranch:_,pendingBranch:m,isInFallback:b,isHydrating:w}=d;if(m)d.pendingBranch=f,bs(f,m)?(l(m,f,d.hiddenContainer,null,i,d,o,r,a),d.deps<=0?d.resolve():b&&(w||(l(_,g,n,s,i,null,o,r,a),or(d,g)))):(d.pendingId=Cd++,w?(d.isHydrating=!1,d.activeBranch=m):c(m,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),b?(l(null,f,d.hiddenContainer,null,i,d,o,r,a),d.deps<=0?d.resolve():(l(_,g,n,s,i,null,o,r,a),or(d,g))):_&&bs(f,_)?(l(_,f,n,s,i,d,o,r,a),d.resolve(!0)):(l(null,f,d.hiddenContainer,null,i,d,o,r,a),d.deps<=0&&d.resolve()));else if(_&&bs(f,_))l(_,f,n,s,i,d,o,r,a),or(d,f);else if(Ta(e,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=Cd++,l(null,f,d.hiddenContainer,null,i,d,o,r,a),d.deps<=0)d.resolve();else{const{timeout:$,pendingId:A}=d;$>0?setTimeout(()=>{d.pendingId===A&&d.fallback(g)},$):$===0&&d.fallback(g)}}function zh(t,e,n,s,i,o,r,a,l,c,u=!1){const{p:d,m:f,um:g,n:_,o:{parentNode:m,remove:b}}=c;let w;const $=J$(t);$&&e&&e.pendingBranch&&(w=e.pendingId,e.deps++);const A=t.props?Cv(t.props.timeout):void 0,D=o,x={vnode:t,parent:e,parentComponent:n,namespace:r,container:s,hiddenContainer:i,deps:0,pendingId:Cd++,timeout:typeof A=="number"?A:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(y=!1,S=!1){const{vnode:E,activeBranch:T,pendingBranch:C,pendingId:B,effects:J,parentComponent:ae,container:Y}=x;let L=!1;x.isHydrating?x.isHydrating=!1:y||(L=T&&C.transition&&C.transition.mode==="out-in",L&&(T.transition.afterLeave=()=>{B===x.pendingId&&(f(C,Y,o===D?_(T):o,0),Ad(J))}),T&&(m(T.el)!==x.hiddenContainer&&(o=_(T)),g(T,ae,x,!0)),L||f(C,Y,o,0)),or(x,C),x.pendingBranch=null,x.isInFallback=!1;let I=x.parent,V=!1;for(;I;){if(I.pendingBranch){I.effects.push(...J),V=!0;break}I=I.parent}!V&&!L&&Ad(J),x.effects=[],$&&e&&e.pendingBranch&&w===e.pendingId&&(e.deps--,e.deps===0&&!S&&e.resolve()),Ta(E,"onResolve")},fallback(y){if(!x.pendingBranch)return;const{vnode:S,activeBranch:E,parentComponent:T,container:C,namespace:B}=x;Ta(S,"onFallback");const J=_(E),ae=()=>{x.isInFallback&&(d(null,y,C,J,T,null,B,a,l),or(x,y))},Y=y.transition&&y.transition.mode==="out-in";Y&&(E.transition.afterLeave=ae),x.isInFallback=!0,g(E,T,null,!0),Y||ae()},move(y,S,E){x.activeBranch&&f(x.activeBranch,y,S,E),x.container=y},next(){return x.activeBranch&&_(x.activeBranch)},registerDep(y,S,E){const T=!!x.pendingBranch;T&&x.deps++;const C=y.vnode.el;y.asyncDep.catch(B=>{qa(B,y,0)}).then(B=>{if(y.isUnmounted||x.isUnmounted||x.pendingId!==y.suspenseId)return;y.asyncResolved=!0;const{vnode:J}=y;Rd(y,B,!1),C&&(J.el=C);const ae=!C&&y.subTree.el;S(y,J,m(C||y.subTree.el),C?null:_(y.subTree),x,r,E),ae&&b(ae),Hh(y,J.el),T&&--x.deps===0&&x.resolve()})},unmount(y,S){x.isUnmounted=!0,x.activeBranch&&g(x.activeBranch,n,y,S),x.pendingBranch&&g(x.pendingBranch,n,y,S)}};return x}function K$(t,e,n,s,i,o,r,a,l){const c=e.suspense=zh(e,s,n,t.parentNode,document.createElement("div"),null,i,o,r,a,!0),u=l(t,c.pendingBranch=e.ssContent,n,c,o,r);return c.deps===0&&c.resolve(!1,!0),u}function q$(t){const{shapeFlag:e,children:n}=t,s=e&32;t.ssContent=ng(s?n.default:n),t.ssFallback=s?ng(n.fallback):Se(un)}function ng(t){let e;if(Ye(t)){const n=pr&&t._c;n&&(t._d=!1,M()),t=t(),n&&(t._d=!0,e=Kn,Cb())}return Fe(t)&&(t=B$(t)),t=ss(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function G$(t,e){e&&e.pendingBranch?Fe(t)?e.effects.push(...t):e.effects.push(t):Ad(t)}function or(t,e){t.activeBranch=e;const{vnode:n,parentComponent:s}=t;let i=e.el;for(;!i&&e.component;)e=e.component.subTree,i=e.el;n.el=i,s&&s.subTree===n&&(s.vnode.el=i,Hh(s,i))}function J$(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}function jc(t,e,n=Xt,s=!1){if(n){const i=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...r)=>{Ni();const a=Ga(n),l=Jn(e,n,t,r);return a(),Fi(),l});return s?i.unshift(o):i.push(o),o}}const ei=t=>(e,n=Xt)=>{(!Yc||t==="sp")&&jc(t,(...s)=>e(...s),n)},X$=ei("bm"),qt=ei("m"),ib=ei("bu"),ob=ei("u"),Yh=ei("bum"),Ir=ei("um"),Q$=ei("sp"),Z$=ei("rtg"),eA=ei("rtc");function tA(t,e=Xt){jc("ec",t,e)}function Oe(t,e){if(Wt===null)return t;const n=Uc(Wt),s=t.dirs||(t.dirs=[]);for(let i=0;ie(r,a,void 0,o&&o[a]));else{const r=Object.keys(t);i=new Array(r.length);for(let a=0,l=r.length;a{const o=s.fn(...i);return o&&(o.key=s.key),o}:s.fn)}return t}/*! #__NO_SIDE_EFFECTS__ */function Nt(t,e){return Ye(t)?Lt({name:t.name},e,{setup:t}):t}const da=t=>!!t.type.__asyncLoader;function Ie(t,e,n={},s,i){if(Wt.isCE||Wt.parent&&da(Wt.parent)&&Wt.parent.isCE)return e!=="default"&&(n.name=e),Se("slot",n,s&&s());let o=t[e];o&&o._c&&(o._d=!1),M();const r=o&&rb(o(n)),a=Le(Te,{key:n.key||r&&r.key||`_${e}`},r||(s?s():[]),r&&t._===1?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function rb(t){return t.some(e=>Da(e)?!(e.type===un||e.type===Te&&!rb(e.children)):!0)?t:null}const Ed=t=>t?Tb(t)?Uc(t):Ed(t.parent):null,ha=Lt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Ed(t.parent),$root:t=>Ed(t.root),$emit:t=>t.emit,$options:t=>Uh(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,Vh(t.update)}),$nextTick:t=>t.n||(t.n=en.bind(t.proxy)),$watch:t=>kA.bind(t)}),Ou=(t,e)=>t!==_t&&!t.__isScriptSetup&&st(t,e),nA={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:o,accessCache:r,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const g=r[e];if(g!==void 0)switch(g){case 1:return s[e];case 2:return i[e];case 4:return n[e];case 3:return o[e]}else{if(Ou(s,e))return r[e]=1,s[e];if(i!==_t&&st(i,e))return r[e]=2,i[e];if((c=t.propsOptions[0])&&st(c,e))return r[e]=3,o[e];if(n!==_t&&st(n,e))return r[e]=4,n[e];Pd&&(r[e]=0)}}const u=ha[e];let d,f;if(u)return e==="$attrs"&&Pn(t.attrs,"get",""),u(t);if((d=a.__cssModules)&&(d=d[e]))return d;if(n!==_t&&st(n,e))return r[e]=4,n[e];if(f=l.config.globalProperties,st(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:i,ctx:o}=t;return Ou(i,e)?(i[e]=n,!0):s!==_t&&st(s,e)?(s[e]=n,!0):st(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:s,appContext:i,propsOptions:o}},r){let a;return!!n[r]||t!==_t&&st(t,r)||Ou(e,r)||(a=o[0])&&st(a,r)||st(s,r)||st(ha,r)||st(i.config.globalProperties,r)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:st(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function Do(){return ab().slots}function sA(){return ab().attrs}function ab(){const t=Xh();return t.setupContext||(t.setupContext=Db(t))}function sg(t){return Fe(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let Pd=!0;function iA(t){const e=Uh(t),n=t.proxy,s=t.ctx;Pd=!1,e.beforeCreate&&ig(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:r,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:g,updated:_,activated:m,deactivated:b,beforeDestroy:w,beforeUnmount:$,destroyed:A,unmounted:D,render:x,renderTracked:y,renderTriggered:S,errorCaptured:E,serverPrefetch:T,expose:C,inheritAttrs:B,components:J,directives:ae,filters:Y}=e;if(c&&oA(c,s,null),r)for(const V in r){const Q=r[V];Ye(Q)&&(s[V]=Q.bind(n))}if(i){const V=i.call(n,n);ut(V)&&(t.data=Ts(V))}if(Pd=!0,o)for(const V in o){const Q=o[V],Z=Ye(Q)?Q.bind(n,n):Ye(Q.get)?Q.get.bind(n,n):Un,le=!Ye(Q)&&Ye(Q.set)?Q.set.bind(n):Un,ye=_e({get:Z,set:le});Object.defineProperty(s,V,{enumerable:!0,configurable:!0,get:()=>ye.value,set:U=>ye.value=U})}if(a)for(const V in a)lb(a[V],s,n,V);if(l){const V=Ye(l)?l.call(n):l;Reflect.ownKeys(V).forEach(Q=>{Xl(Q,V[Q])})}u&&ig(u,t,"c");function I(V,Q){Fe(Q)?Q.forEach(Z=>V(Z.bind(n))):Q&&V(Q.bind(n))}if(I(X$,d),I(qt,f),I(ib,g),I(ob,_),I(SA,m),I($A,b),I(tA,E),I(eA,y),I(Z$,S),I(Yh,$),I(Ir,D),I(Q$,T),Fe(C))if(C.length){const V=t.exposed||(t.exposed={});C.forEach(Q=>{Object.defineProperty(V,Q,{get:()=>n[Q],set:Z=>n[Q]=Z})})}else t.exposed||(t.exposed={});x&&t.render===Un&&(t.render=x),B!=null&&(t.inheritAttrs=B),J&&(t.components=J),ae&&(t.directives=ae)}function oA(t,e,n=Un){Fe(t)&&(t=Td(t));for(const s in t){const i=t[s];let o;ut(i)?"default"in i?o=as(i.from||s,i.default,!0):o=as(i.from||s):o=as(i),Pt(o)?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):e[s]=o}}function ig(t,e,n){Jn(Fe(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function lb(t,e,n,s){const i=s.includes(".")?yb(n,s):()=>n[s];if(St(t)){const o=e[t];Ye(o)&&Bt(i,o)}else if(Ye(t))Bt(i,t.bind(n));else if(ut(t))if(Fe(t))t.forEach(o=>lb(o,e,n,s));else{const o=Ye(t.handler)?t.handler.bind(n):e[t.handler];Ye(o)&&Bt(i,o,t)}}function Uh(t){const e=t.type,{mixins:n,extends:s}=e,{mixins:i,optionsCache:o,config:{optionMergeStrategies:r}}=t.appContext,a=o.get(e);let l;return a?l=a:!i.length&&!n&&!s?l=e:(l={},i.length&&i.forEach(c=>dc(l,c,r,!0)),dc(l,e,r)),ut(e)&&o.set(e,l),l}function dc(t,e,n,s=!1){const{mixins:i,extends:o}=e;o&&dc(t,o,n,!0),i&&i.forEach(r=>dc(t,r,n,!0));for(const r in e)if(!(s&&r==="expose")){const a=rA[r]||n&&n[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const rA={data:og,props:rg,emits:rg,methods:na,computed:na,beforeCreate:pn,created:pn,beforeMount:pn,mounted:pn,beforeUpdate:pn,updated:pn,beforeDestroy:pn,beforeUnmount:pn,destroyed:pn,unmounted:pn,activated:pn,deactivated:pn,errorCaptured:pn,serverPrefetch:pn,components:na,directives:na,watch:lA,provide:og,inject:aA};function og(t,e){return e?t?function(){return Lt(Ye(t)?t.call(this,this):t,Ye(e)?e.call(this,this):e)}:e:t}function aA(t,e){return na(Td(t),Td(e))}function Td(t){if(Fe(t)){const e={};for(let n=0;n1)return n&&Ye(e)?e.call(s&&s.proxy):e}}function dA(){return!!(Xt||Wt||rr)}const ub={},db=()=>Object.create(ub),hb=t=>Object.getPrototypeOf(t)===ub;function hA(t,e,n,s=!1){const i={},o=db();t.propsDefaults=Object.create(null),fb(t,e,i,o);for(const r in t.propsOptions[0])r in i||(i[r]=void 0);n?t.props=s?i:zv(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function fA(t,e,n,s){const{props:i,attrs:o,vnode:{patchFlag:r}}=t,a=Ze(i),[l]=t.propsOptions;let c=!1;if((s||r>0)&&!(r&16)){if(r&8){const u=t.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,g]=pb(d,e,!0);Lt(r,f),g&&a.push(...g)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!o&&!l)return ut(t)&&s.set(t,nr),nr;if(Fe(o))for(let u=0;u-1,g[1]=m<0||_-1||st(g,"default"))&&a.push(d)}}}const c=[r,a];return ut(t)&&s.set(t,c),c}function ag(t){return t[0]!=="$"&&!ua(t)}function lg(t){return t===null?"null":typeof t=="function"?t.name||"":typeof t=="object"&&t.constructor&&t.constructor.name||""}function cg(t,e){return lg(t)===lg(e)}function ug(t,e){return Fe(e)?e.findIndex(n=>cg(n,t)):Ye(e)&&cg(e,t)?0:-1}const gb=t=>t[0]==="_"||t==="$stable",Kh=t=>Fe(t)?t.map(ss):[ss(t)],pA=(t,e,n)=>{if(e._n)return e;const s=Pe((...i)=>Kh(e(...i)),n);return s._c=!1,s},mb=(t,e,n)=>{const s=t._ctx;for(const i in t){if(gb(i))continue;const o=t[i];if(Ye(o))e[i]=pA(i,o,s);else if(o!=null){const r=Kh(o);e[i]=()=>r}}},_b=(t,e)=>{const n=Kh(e);t.slots.default=()=>n},gA=(t,e)=>{const n=t.slots=db();if(t.vnode.shapeFlag&32){const s=e._;s?(Lt(n,e),Av(n,"_",s,!0)):mb(e,n)}else e&&_b(t,e)},mA=(t,e,n)=>{const{vnode:s,slots:i}=t;let o=!0,r=_t;if(s.shapeFlag&32){const a=e._;a?n&&a===1?o=!1:(Lt(i,e),!n&&a===1&&delete i._):(o=!e.$stable,mb(e,i)),r=e}else e&&(_b(t,e),r={default:1});if(o)for(const a in i)!gb(a)&&r[a]==null&&delete i[a]};function Dd(t,e,n,s,i=!1){if(Fe(t)){t.forEach((f,g)=>Dd(f,e&&(Fe(e)?e[g]:e),n,s,i));return}if(da(s)&&!i)return;const o=s.shapeFlag&4?Uc(s.component):s.el,r=i?null:o,{i:a,r:l}=t,c=e&&e.r,u=a.refs===_t?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(St(c)?(u[c]=null,st(d,c)&&(d[c]=null)):Pt(c)&&(c.value=null)),Ye(l))Ai(l,a,12,[r,u]);else{const f=St(l),g=Pt(l);if(f||g){const _=()=>{if(t.f){const m=f?st(d,l)?d[l]:u[l]:l.value;i?Fe(m)&&Ch(m,o):Fe(m)?m.includes(o)||m.push(o):f?(u[l]=[o],st(d,l)&&(d[l]=u[l])):(l.value=[o],t.k&&(u[t.k]=l.value))}else f?(u[l]=r,st(d,l)&&(d[l]=r)):g&&(l.value=r,t.k&&(u[t.k]=r))};r?(_.id=-1,$n(_,n)):_()}}}const $n=G$;function _A(t){return vA(t)}function vA(t,e){const n=Ev();n.__VUE__=!0;const{insert:s,remove:i,patchProp:o,createElement:r,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:g=Un,insertStaticContent:_}=t,m=(v,O,H,W=null,ie=null,j=null,te=void 0,G=null,de=!!O.dynamicChildren)=>{if(v===O)return;v&&!bs(v,O)&&(W=P(v),U(v,ie,j,!0),v=null),O.patchFlag===-2&&(de=!1,O.dynamicChildren=null);const{type:ge,ref:fe,shapeFlag:Re}=O;switch(ge){case zc:b(v,O,H,W);break;case un:w(v,O,H,W);break;case Ql:v==null&&$(O,H,W,te);break;case Te:J(v,O,H,W,ie,j,te,G,de);break;default:Re&1?x(v,O,H,W,ie,j,te,G,de):Re&6?ae(v,O,H,W,ie,j,te,G,de):(Re&64||Re&128)&&ge.process(v,O,H,W,ie,j,te,G,de,xe)}fe!=null&&ie&&Dd(fe,v&&v.ref,j,O||v,!O)},b=(v,O,H,W)=>{if(v==null)s(O.el=a(O.children),H,W);else{const ie=O.el=v.el;O.children!==v.children&&c(ie,O.children)}},w=(v,O,H,W)=>{v==null?s(O.el=l(O.children||""),H,W):O.el=v.el},$=(v,O,H,W)=>{[v.el,v.anchor]=_(v.children,O,H,W,v.el,v.anchor)},A=({el:v,anchor:O},H,W)=>{let ie;for(;v&&v!==O;)ie=f(v),s(v,H,W),v=ie;s(O,H,W)},D=({el:v,anchor:O})=>{let H;for(;v&&v!==O;)H=f(v),i(v),v=H;i(O)},x=(v,O,H,W,ie,j,te,G,de)=>{O.type==="svg"?te="svg":O.type==="math"&&(te="mathml"),v==null?y(O,H,W,ie,j,te,G,de):T(v,O,ie,j,te,G,de)},y=(v,O,H,W,ie,j,te,G)=>{let de,ge;const{props:fe,shapeFlag:Re,transition:De,dirs:Ve}=v;if(de=v.el=r(v.type,j,fe&&fe.is,fe),Re&8?u(de,v.children):Re&16&&E(v.children,de,null,W,ie,Iu(v,j),te,G),Ve&&to(v,null,W,"created"),S(de,v,v.scopeId,te,W),fe){for(const et in fe)et!=="value"&&!ua(et)&&o(de,et,null,fe[et],j,v.children,W,ie,oe);"value"in fe&&o(de,"value",null,fe.value,j),(ge=fe.onVnodeBeforeMount)&&gs(ge,W,v)}Ve&&to(v,null,W,"beforeMount");const Be=bA(ie,De);Be&&De.beforeEnter(de),s(de,O,H),((ge=fe&&fe.onVnodeMounted)||Be||Ve)&&$n(()=>{ge&&gs(ge,W,v),Be&&De.enter(de),Ve&&to(v,null,W,"mounted")},ie)},S=(v,O,H,W,ie)=>{if(H&&g(v,H),W)for(let j=0;j{for(let ge=de;ge{const G=O.el=v.el;let{patchFlag:de,dynamicChildren:ge,dirs:fe}=O;de|=v.patchFlag&16;const Re=v.props||_t,De=O.props||_t;let Ve;if(H&&no(H,!1),(Ve=De.onVnodeBeforeUpdate)&&gs(Ve,H,O,v),fe&&to(O,v,H,"beforeUpdate"),H&&no(H,!0),ge?C(v.dynamicChildren,ge,G,H,W,Iu(O,ie),j):te||Q(v,O,G,null,H,W,Iu(O,ie),j,!1),de>0){if(de&16)B(G,O,Re,De,H,W,ie);else if(de&2&&Re.class!==De.class&&o(G,"class",null,De.class,ie),de&4&&o(G,"style",Re.style,De.style,ie),de&8){const Be=O.dynamicProps;for(let et=0;et{Ve&&gs(Ve,H,O,v),fe&&to(O,v,H,"updated")},W)},C=(v,O,H,W,ie,j,te)=>{for(let G=0;G{if(H!==W){if(H!==_t)for(const G in H)!ua(G)&&!(G in W)&&o(v,G,H[G],null,te,O.children,ie,j,oe);for(const G in W){if(ua(G))continue;const de=W[G],ge=H[G];de!==ge&&G!=="value"&&o(v,G,ge,de,te,O.children,ie,j,oe)}"value"in W&&o(v,"value",H.value,W.value,te)}},J=(v,O,H,W,ie,j,te,G,de)=>{const ge=O.el=v?v.el:a(""),fe=O.anchor=v?v.anchor:a("");let{patchFlag:Re,dynamicChildren:De,slotScopeIds:Ve}=O;Ve&&(G=G?G.concat(Ve):Ve),v==null?(s(ge,H,W),s(fe,H,W),E(O.children||[],H,fe,ie,j,te,G,de)):Re>0&&Re&64&&De&&v.dynamicChildren?(C(v.dynamicChildren,De,H,ie,j,te,G),(O.key!=null||ie&&O===ie.subTree)&&qh(v,O,!0)):Q(v,O,H,fe,ie,j,te,G,de)},ae=(v,O,H,W,ie,j,te,G,de)=>{O.slotScopeIds=G,v==null?O.shapeFlag&512?ie.ctx.activate(O,H,W,te,de):Y(O,H,W,ie,j,te,de):L(v,O,de)},Y=(v,O,H,W,ie,j,te)=>{const G=v.component=NA(v,W,ie);if(Wc(v)&&(G.ctx.renderer=xe),FA(G),G.asyncDep){if(ie&&ie.registerDep(G,I,te),!v.el){const de=G.subTree=Se(un);w(null,de,O,H)}}else I(G,v,O,H,ie,j,te)},L=(v,O,H)=>{const W=O.component=v.component;if(j$(v,O,H))if(W.asyncDep&&!W.asyncResolved){V(W,O,H);return}else W.next=O,L$(W.update),W.effect.dirty=!0,W.update();else O.el=v.el,W.vnode=O},I=(v,O,H,W,ie,j,te)=>{const G=()=>{if(v.isMounted){let{next:fe,bu:Re,u:De,parent:Ve,vnode:Be}=v;{const Hn=vb(v);if(Hn){fe&&(fe.el=Be.el,V(v,fe,te)),Hn.asyncDep.then(()=>{v.isUnmounted||G()});return}}let et=fe,Ge;no(v,!1),fe?(fe.el=Be.el,V(v,fe,te)):fe=Be,Re&&Gl(Re),(Ge=fe.props&&fe.props.onVnodeBeforeUpdate)&&gs(Ge,Ve,fe,Be),no(v,!0);const pt=Du(v),on=v.subTree;v.subTree=pt,m(on,pt,d(on.el),P(on),v,ie,j),fe.el=pt.el,et===null&&Hh(v,pt.el),De&&$n(De,ie),(Ge=fe.props&&fe.props.onVnodeUpdated)&&$n(()=>gs(Ge,Ve,fe,Be),ie)}else{let fe;const{el:Re,props:De}=O,{bm:Ve,m:Be,parent:et}=v,Ge=da(O);if(no(v,!1),Ve&&Gl(Ve),!Ge&&(fe=De&&De.onVnodeBeforeMount)&&gs(fe,et,O),no(v,!0),Re&&he){const pt=()=>{v.subTree=Du(v),he(Re,v.subTree,v,ie,null)};Ge?O.type.__asyncLoader().then(()=>!v.isUnmounted&&pt()):pt()}else{const pt=v.subTree=Du(v);m(null,pt,H,W,v,ie,j),O.el=pt.el}if(Be&&$n(Be,ie),!Ge&&(fe=De&&De.onVnodeMounted)){const pt=O;$n(()=>gs(fe,et,pt),ie)}(O.shapeFlag&256||et&&da(et.vnode)&&et.vnode.shapeFlag&256)&&v.a&&$n(v.a,ie),v.isMounted=!0,O=H=W=null}},de=v.effect=new Mh(G,Un,()=>Vh(ge),v.scope),ge=v.update=()=>{de.dirty&&de.run()};ge.id=v.uid,no(v,!0),ge()},V=(v,O,H)=>{O.component=v;const W=v.vnode.props;v.vnode=O,v.next=null,fA(v,O.props,W,H),mA(v,O.children,H),Ni(),Zp(v),Fi()},Q=(v,O,H,W,ie,j,te,G,de=!1)=>{const ge=v&&v.children,fe=v?v.shapeFlag:0,Re=O.children,{patchFlag:De,shapeFlag:Ve}=O;if(De>0){if(De&128){le(ge,Re,H,W,ie,j,te,G,de);return}else if(De&256){Z(ge,Re,H,W,ie,j,te,G,de);return}}Ve&8?(fe&16&&oe(ge,ie,j),Re!==ge&&u(H,Re)):fe&16?Ve&16?le(ge,Re,H,W,ie,j,te,G,de):oe(ge,ie,j,!0):(fe&8&&u(H,""),Ve&16&&E(Re,H,W,ie,j,te,G,de))},Z=(v,O,H,W,ie,j,te,G,de)=>{v=v||nr,O=O||nr;const ge=v.length,fe=O.length,Re=Math.min(ge,fe);let De;for(De=0;Defe?oe(v,ie,j,!0,!1,Re):E(O,H,W,ie,j,te,G,de,Re)},le=(v,O,H,W,ie,j,te,G,de)=>{let ge=0;const fe=O.length;let Re=v.length-1,De=fe-1;for(;ge<=Re&&ge<=De;){const Ve=v[ge],Be=O[ge]=de?mi(O[ge]):ss(O[ge]);if(bs(Ve,Be))m(Ve,Be,H,null,ie,j,te,G,de);else break;ge++}for(;ge<=Re&&ge<=De;){const Ve=v[Re],Be=O[De]=de?mi(O[De]):ss(O[De]);if(bs(Ve,Be))m(Ve,Be,H,null,ie,j,te,G,de);else break;Re--,De--}if(ge>Re){if(ge<=De){const Ve=De+1,Be=VeDe)for(;ge<=Re;)U(v[ge],ie,j,!0),ge++;else{const Ve=ge,Be=ge,et=new Map;for(ge=Be;ge<=De;ge++){const Vt=O[ge]=de?mi(O[ge]):ss(O[ge]);Vt.key!=null&&et.set(Vt.key,ge)}let Ge,pt=0;const on=De-Be+1;let Hn=!1,ii=0;const Qn=new Array(on);for(ge=0;ge=on){U(Vt,ie,j,!0);continue}let ne;if(Vt.key!=null)ne=et.get(Vt.key);else for(Ge=Be;Ge<=De;Ge++)if(Qn[Ge-Be]===0&&bs(Vt,O[Ge])){ne=Ge;break}ne===void 0?U(Vt,ie,j,!0):(Qn[ne-Be]=ge+1,ne>=ii?ii=ne:Hn=!0,m(Vt,O[ne],H,null,ie,j,te,G,de),pt++)}const Ds=Hn?yA(Qn):nr;for(Ge=Ds.length-1,ge=on-1;ge>=0;ge--){const Vt=Be+ge,ne=O[Vt],ke=Vt+1{const{el:j,type:te,transition:G,children:de,shapeFlag:ge}=v;if(ge&6){ye(v.component.subTree,O,H,W);return}if(ge&128){v.suspense.move(O,H,W);return}if(ge&64){te.move(v,O,H,xe);return}if(te===Te){s(j,O,H);for(let Re=0;ReG.enter(j),ie);else{const{leave:Re,delayLeave:De,afterLeave:Ve}=G,Be=()=>s(j,O,H),et=()=>{Re(j,()=>{Be(),Ve&&Ve()})};De?De(j,Be,et):et()}else s(j,O,H)},U=(v,O,H,W=!1,ie=!1)=>{const{type:j,props:te,ref:G,children:de,dynamicChildren:ge,shapeFlag:fe,patchFlag:Re,dirs:De,memoIndex:Ve}=v;if(G!=null&&Dd(G,null,H,v,!0),Ve!=null&&(O.renderCache[Ve]=void 0),fe&256){O.ctx.deactivate(v);return}const Be=fe&1&&De,et=!da(v);let Ge;if(et&&(Ge=te&&te.onVnodeBeforeUnmount)&&gs(Ge,O,v),fe&6)ee(v.component,H,W);else{if(fe&128){v.suspense.unmount(H,W);return}Be&&to(v,null,O,"beforeUnmount"),fe&64?v.type.remove(v,O,H,ie,xe,W):ge&&(j!==Te||Re>0&&Re&64)?oe(ge,O,H,!1,!0):(j===Te&&Re&384||!ie&&fe&16)&&oe(de,O,H),W&&X(v)}(et&&(Ge=te&&te.onVnodeUnmounted)||Be)&&$n(()=>{Ge&&gs(Ge,O,v),Be&&to(v,null,O,"unmounted")},H)},X=v=>{const{type:O,el:H,anchor:W,transition:ie}=v;if(O===Te){R(H,W);return}if(O===Ql){D(v);return}const j=()=>{i(H),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(v.shapeFlag&1&&ie&&!ie.persisted){const{leave:te,delayLeave:G}=ie,de=()=>te(H,j);G?G(v.el,j,de):de()}else j()},R=(v,O)=>{let H;for(;v!==O;)H=f(v),i(v),v=H;i(O)},ee=(v,O,H)=>{const{bum:W,scope:ie,update:j,subTree:te,um:G,m:de,a:ge}=v;dg(de),dg(ge),W&&Gl(W),ie.stop(),j&&(j.active=!1,U(te,v,O,H)),G&&$n(G,O),$n(()=>{v.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},oe=(v,O,H,W=!1,ie=!1,j=0)=>{for(let te=j;tev.shapeFlag&6?P(v.component.subTree):v.shapeFlag&128?v.suspense.next():f(v.anchor||v.el);let se=!1;const ue=(v,O,H)=>{v==null?O._vnode&&U(O._vnode,null,null,!0):m(O._vnode||null,v,O,null,null,null,H),se||(se=!0,Zp(),Zv(),se=!1),O._vnode=v},xe={p:m,um:U,m:ye,r:X,mt:Y,mc:E,pc:Q,pbc:C,n:P,o:t};let N,he;return e&&([N,he]=e(xe)),{render:ue,hydrate:N,createApp:uA(ue,N)}}function Iu({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function no({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function bA(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function qh(t,e,n=!1){const s=t.children,i=e.children;if(Fe(s)&&Fe(i))for(let o=0;o>1,t[n[a]]0&&(e[s]=n[o-1]),n[o]=s)}}for(o=n.length,r=n[o-1];o-- >0;)n[o]=r,r=e[r];return n}function vb(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:vb(e)}function dg(t){if(t)for(let e=0;eas(wA),$l={};function Bt(t,e,n){return bb(t,e,n)}function bb(t,e,{immediate:n,deep:s,flush:i,once:o,onTrack:r,onTrigger:a}=_t){if(e&&o){const y=e;e=(...S)=>{y(...S),x()}}const l=Xt,c=y=>s===!0?y:vi(y,s===!1?1:void 0);let u,d=!1,f=!1;if(Pt(t)?(u=()=>t.value,d=cc(t)):bo(t)?(u=()=>c(t),d=!0):Fe(t)?(f=!0,d=t.some(y=>bo(y)||cc(y)),u=()=>t.map(y=>{if(Pt(y))return y.value;if(bo(y))return c(y);if(Ye(y))return Ai(y,l,2)})):Ye(t)?e?u=()=>Ai(t,l,2):u=()=>(g&&g(),Jn(t,l,3,[_])):u=Un,e&&s){const y=u;u=()=>vi(y())}let g,_=y=>{g=A.onStop=()=>{Ai(y,l,4),g=A.onStop=void 0}},m;if(Yc)if(_=Un,e?n&&Jn(e,l,3,[u(),f?[]:void 0,_]):u(),i==="sync"){const y=xA();m=y.__watcherHandles||(y.__watcherHandles=[])}else return Un;let b=f?new Array(t.length).fill($l):$l;const w=()=>{if(!(!A.active||!A.dirty))if(e){const y=A.run();(s||d||(f?y.some((S,E)=>Ti(S,b[E])):Ti(y,b)))&&(g&&g(),Jn(e,l,3,[y,b===$l?void 0:f&&b[0]===$l?[]:b,_]),b=y)}else A.run()};w.allowRecurse=!!e;let $;i==="sync"?$=w:i==="post"?$=()=>$n(w,l&&l.suspense):(w.pre=!0,l&&(w.id=l.uid),$=()=>Vh(w));const A=new Mh(u,Un,$),D=Lc(),x=()=>{A.stop(),D&&Ch(D.effects,A)};return e?n?w():b=A.run():i==="post"?$n(A.run.bind(A),l&&l.suspense):A.run(),m&&m.push(x),x}function kA(t,e,n){const s=this.proxy,i=St(t)?t.includes(".")?yb(s,t):()=>s[t]:t.bind(s,s);let o;Ye(e)?o=e:(o=e.handler,n=e);const r=Ga(this),a=bb(i,o.bind(s),n);return r(),a}function yb(t,e){const n=e.split(".");return()=>{let s=t;for(let i=0;i{vi(s,e,n)});else if($v(t)){for(const s in t)vi(t[s],e,n);for(const s of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,s)&&vi(t[s],e,n)}return t}const Wc=t=>t.type.__isKeepAlive;function SA(t,e){wb(t,"a",e)}function $A(t,e){wb(t,"da",e)}function wb(t,e,n=Xt){const s=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(jc(e,s,n),n){let i=n.parent;for(;i&&i.parent;)Wc(i.parent.vnode)&&AA(s,e,n,i),i=i.parent}}function AA(t,e,n,s){const i=jc(e,t,s,!0);Ir(()=>{Ch(s[e],i)},n)}const gi=Symbol("_leaveCb"),Al=Symbol("_enterCb");function xb(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return qt(()=>{t.isMounted=!0}),Yh(()=>{t.isUnmounting=!0}),t}const zn=[Function,Array],kb={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:zn,onEnter:zn,onAfterEnter:zn,onEnterCancelled:zn,onBeforeLeave:zn,onLeave:zn,onAfterLeave:zn,onLeaveCancelled:zn,onBeforeAppear:zn,onAppear:zn,onAfterAppear:zn,onAppearCancelled:zn},Sb=t=>{const e=t.subTree;return e.component?Sb(e.component):e},CA={name:"BaseTransition",props:kb,setup(t,{slots:e}){const n=Xh(),s=xb();return()=>{const i=e.default&&Gh(e.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const f of i)if(f.type!==un){o=f;break}}const r=Ze(t),{mode:a}=r;if(s.isLeaving)return Ru(o);const l=hg(o);if(!l)return Ru(o);let c=Ma(l,r,s,n,f=>c=f);fr(l,c);const u=n.subTree,d=u&&hg(u);if(d&&d.type!==un&&!bs(l,d)&&Sb(n).type!==un){const f=Ma(d,r,s,n);if(fr(d,f),a==="out-in"&&l.type!==un)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Ru(o);a==="in-out"&&l.type!==un&&(f.delayLeave=(g,_,m)=>{const b=$b(s,d);b[String(d.key)]=d,g[gi]=()=>{_(),g[gi]=void 0,delete c.delayedLeave},c.delayedLeave=m})}return o}}},EA=CA;function $b(t,e){const{leavingVNodes:n}=t;let s=n.get(e.type);return s||(s=Object.create(null),n.set(e.type,s)),s}function Ma(t,e,n,s,i){const{appear:o,mode:r,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:g,onAfterLeave:_,onLeaveCancelled:m,onBeforeAppear:b,onAppear:w,onAfterAppear:$,onAppearCancelled:A}=e,D=String(t.key),x=$b(n,t),y=(T,C)=>{T&&Jn(T,s,9,C)},S=(T,C)=>{const B=C[1];y(T,C),Fe(T)?T.every(J=>J.length<=1)&&B():T.length<=1&&B()},E={mode:r,persisted:a,beforeEnter(T){let C=l;if(!n.isMounted)if(o)C=b||l;else return;T[gi]&&T[gi](!0);const B=x[D];B&&bs(t,B)&&B.el[gi]&&B.el[gi](),y(C,[T])},enter(T){let C=c,B=u,J=d;if(!n.isMounted)if(o)C=w||c,B=$||u,J=A||d;else return;let ae=!1;const Y=T[Al]=L=>{ae||(ae=!0,L?y(J,[T]):y(B,[T]),E.delayedLeave&&E.delayedLeave(),T[Al]=void 0)};C?S(C,[T,Y]):Y()},leave(T,C){const B=String(t.key);if(T[Al]&&T[Al](!0),n.isUnmounting)return C();y(f,[T]);let J=!1;const ae=T[gi]=Y=>{J||(J=!0,C(),Y?y(m,[T]):y(_,[T]),T[gi]=void 0,x[B]===t&&delete x[B])};x[B]=t,g?S(g,[T,ae]):ae()},clone(T){const C=Ma(T,e,n,s,i);return i&&i(C),C}};return E}function Ru(t){if(Wc(t))return t=Mi(t),t.children=null,t}function hg(t){if(!Wc(t))return t;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&Ye(n.default))return n.default()}}function fr(t,e){t.shapeFlag&6&&t.component?fr(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Gh(t,e=!1,n){let s=[],i=0;for(let o=0;o1)for(let o=0;ot.__isTeleport,fa=t=>t&&(t.disabled||t.disabled===""),fg=t=>typeof SVGElement<"u"&&t instanceof SVGElement,pg=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Od=(t,e)=>{const n=t&&t.to;return St(n)?e?e(n):null:n},TA={name:"Teleport",__isTeleport:!0,process(t,e,n,s,i,o,r,a,l,c){const{mc:u,pc:d,pbc:f,o:{insert:g,querySelector:_,createText:m,createComment:b}}=c,w=fa(e.props);let{shapeFlag:$,children:A,dynamicChildren:D}=e;if(t==null){const x=e.el=m(""),y=e.anchor=m("");g(x,n,s),g(y,n,s);const S=e.target=Od(e.props,_),E=e.targetAnchor=m("");S&&(g(E,S),r==="svg"||fg(S)?r="svg":(r==="mathml"||pg(S))&&(r="mathml"));const T=(C,B)=>{$&16&&u(A,C,B,i,o,r,a,l)};w?T(n,y):S&&T(S,E)}else{e.el=t.el;const x=e.anchor=t.anchor,y=e.target=t.target,S=e.targetAnchor=t.targetAnchor,E=fa(t.props),T=E?n:y,C=E?x:S;if(r==="svg"||fg(y)?r="svg":(r==="mathml"||pg(y))&&(r="mathml"),D?(f(t.dynamicChildren,D,T,i,o,r,a),qh(t,e,!0)):l||d(t,e,T,C,i,o,r,a,!1),w)E?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):Cl(e,n,x,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const B=e.target=Od(e.props,_);B&&Cl(e,B,null,c,0)}else E&&Cl(e,y,S,c,1)}Ab(e)},remove(t,e,n,s,{um:i,o:{remove:o}},r){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:d,props:f}=t;if(d&&o(u),r&&o(c),a&16){const g=r||!fa(f);for(let _=0;_0?Kn||nr:null,Cb(),pr>0&&Kn&&Kn.push(t),t}function F(t,e,n,s,i,o){return Eb(h(t,e,n,s,i,o,!0))}function Le(t,e,n,s,i){return Eb(Se(t,e,n,s,i,!0))}function Da(t){return t?t.__v_isVNode===!0:!1}function bs(t,e){return t.type===e.type&&t.key===e.key}const Pb=({key:t})=>t??null,Zl=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?St(t)||Pt(t)||Ye(t)?{i:Wt,r:t,k:e,f:!!n}:t:null);function h(t,e=null,n=null,s=0,i=null,o=t===Te?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Pb(e),ref:e&&Zl(e),scopeId:Hc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Wt};return a?(Jh(l,n),o&128&&t.normalize(l)):n&&(l.shapeFlag|=St(n)?8:16),pr>0&&!r&&Kn&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Kn.push(l),l}const Se=OA;function OA(t,e=null,n=null,s=0,i=null,o=!1){if((!t||t===nb)&&(t=un),Da(t)){const a=Mi(t,e,!0);return n&&Jh(a,n),pr>0&&!o&&Kn&&(a.shapeFlag&6?Kn[Kn.indexOf(t)]=a:Kn.push(a)),a.patchFlag=-2,a}if(jA(t)&&(t=t.__vccOpts),e){e=mn(e);let{class:a,style:l}=e;a&&!St(a)&&(e.class=Ce(a)),ut(l)&&(Fc(l)&&!Fe(l)&&(l=Lt({},l)),e.style=jt(l))}const r=St(t)?1:W$(t)?128:PA(t)?64:ut(t)?4:Ye(t)?2:0;return h(t,e,n,s,i,r,o,!0)}function mn(t){return t?Fc(t)||hb(t)?Lt({},t):t:null}function Mi(t,e,n=!1,s=!1){const{props:i,ref:o,patchFlag:r,children:a,transition:l}=t,c=e?zt(i||{},e):i,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&Pb(c),ref:e&&e.ref?n&&o?Fe(o)?o.concat(Zl(e)):[o,Zl(e)]:Zl(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Te?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Mi(t.ssContent),ssFallback:t.ssFallback&&Mi(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&s&&fr(u,l.clone(u)),u}function be(t=" ",e=0){return Se(zc,null,t,e)}function IA(t,e){const n=Se(Ql,null,t);return n.staticCount=e,n}function re(t="",e=!1){return e?(M(),Le(un,null,t)):Se(un,null,t)}function ss(t){return t==null||typeof t=="boolean"?Se(un):Fe(t)?Se(Te,null,t.slice()):typeof t=="object"?mi(t):Se(zc,null,String(t))}function mi(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Mi(t)}function Jh(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(Fe(e))n=16;else if(typeof e=="object")if(s&65){const i=e.default;i&&(i._c&&(i._d=!1),Jh(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!hb(e)?e._ctx=Wt:i===3&&Wt&&(Wt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Ye(e)?(e={default:e,_ctx:Wt},n=32):(e=String(e),s&64?(n=16,e=[be(e)]):n=8);t.children=e,t.shapeFlag|=n}function zt(...t){const e={};for(let n=0;nXt||Wt;let hc,Id;{const t=Ev(),e=(n,s)=>{let i;return(i=t[n])||(i=t[n]=[]),i.push(s),o=>{i.length>1?i.forEach(r=>r(o)):i[0](o)}};hc=e("__VUE_INSTANCE_SETTERS__",n=>Xt=n),Id=e("__VUE_SSR_SETTERS__",n=>Yc=n)}const Ga=t=>{const e=Xt;return hc(t),t.scope.on(),()=>{t.scope.off(),hc(e)}},mg=()=>{Xt&&Xt.scope.off(),hc(null)};function Tb(t){return t.vnode.shapeFlag&4}let Yc=!1;function FA(t,e=!1){e&&Id(e);const{props:n,children:s}=t.vnode,i=Tb(t);hA(t,n,i,e),gA(t,s);const o=i?BA(t,e):void 0;return e&&Id(!1),o}function BA(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,nA);const{setup:s}=n;if(s){const i=t.setupContext=s.length>1?Db(t):null,o=Ga(t);Ni();const r=Ai(s,t,0,[t.props,i]);if(Fi(),o(),kv(r)){if(r.then(mg,mg),e)return r.then(a=>{Rd(t,a,e)}).catch(a=>{qa(a,t,0)});t.asyncDep=r}else Rd(t,r,e)}else Mb(t,e)}function Rd(t,e,n){Ye(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:ut(e)&&(t.setupState=Gv(e)),Mb(t,n)}let _g;function Mb(t,e,n){const s=t.type;if(!t.render){if(!e&&_g&&!s.render){const i=s.template||Uh(t).template;if(i){const{isCustomElement:o,compilerOptions:r}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=Lt(Lt({isCustomElement:o,delimiters:a},r),l);s.render=_g(i,c)}}t.render=s.render||Un}{const i=Ga(t);Ni();try{iA(t)}finally{Fi(),i()}}}const VA={get(t,e){return Pn(t,"get",""),t[e]}};function Db(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,VA),slots:t.slots,emit:t.emit,expose:e}}function Uc(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Gv(Bc(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in ha)return ha[n](t)},has(e,n){return n in e||n in ha}})):t.proxy}function HA(t,e=!0){return Ye(t)?t.displayName||t.name:t.name||e&&t.__name}function jA(t){return Ye(t)&&"__vccOpts"in t}const _e=(t,e)=>E$(t,e,Yc);function Co(t,e,n){const s=arguments.length;return s===2?ut(e)&&!Fe(e)?Da(e)?Se(t,null,[e]):Se(t,e):Se(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Da(n)&&(n=[n]),Se(t,e,n))}const Ob="3.4.29";/** +**/function Jr(t,e,n,i){try{return i?t(...i):t()}catch(s){$u(s,e,n)}}function ji(t,e,n,i){if(qe(t)){const s=Jr(t,e,n,i);return s&&Dx(s)&&s.catch(r=>{$u(r,e,n)}),s}if(We(t)){const s=[];for(let r=0;r>>1,s=Wn[i],r=Qc(s);rbs&&Wn.splice(e,1)}function Op(t){We(t)?il.push(...t):(!Nr||!Nr.includes(t,t.allowRecurse?Yo+1:Yo))&&il.push(t),lE()}function cv(t,e,n=Jc?bs+1:0){for(;nQc(n)-Qc(i));if(il.length=0,Nr){Nr.push(...e);return}for(Nr=e,Yo=0;Yot.id==null?1/0:t.id,oR=(t,e)=>{const n=Qc(t)-Qc(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function uE(t){Lp=!1,Jc=!0,Wn.sort(oR);try{for(bs=0;bsKt(f)?f.trim():f)),d&&(s=n.map(ch))}let a,l=i[a=yg(e)]||i[a=yg(Ls(e))];!l&&r&&(l=i[a=yg(fa(e))]),l&&ji(l,t,6,s);const c=i[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,ji(c,t,6,s)}}function dE(t,e,n=!1){const i=e.emitsCache,s=i.get(t);if(s!==void 0)return s;const r=t.emits;let o={},a=!1;if(!qe(t)){const l=c=>{const u=dE(c,e,!0);u&&(a=!0,ln(o,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(At(t)&&i.set(t,null),null):(We(r)?r.forEach(l=>o[l]=null):ln(o,r),At(t)&&i.set(t,o),o)}function rf(t,e){return!t||!Zh(e)?!1:(e=e.slice(2).replace(/Once$/,""),ht(t,e[0].toLowerCase()+e.slice(1))||ht(t,fa(e))||ht(t,e))}let _n=null,of=null;function hh(t){const e=_n;return _n=t,of=t&&t.type.__scopeId||null,e}function bn(t){of=t}function wn(){of=null}function Re(t,e=_n,n){if(!e||t._n)return t;const i=(...s)=>{i._d&&Cv(-1);const r=hh(e);let o;try{o=t(...s)}finally{hh(r),i._d&&Cv(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function bg(t){const{type:e,vnode:n,proxy:i,withProxy:s,propsOptions:[r],slots:o,attrs:a,emit:l,render:c,renderCache:u,props:d,data:h,setupState:f,ctx:p,inheritAttrs:m}=t,y=hh(t);let v,b;try{if(n.shapeFlag&4){const C=s||i,w=C;v=ns(c.call(w,C,u,d,f,h,p)),b=a}else{const C=e;v=ns(C.length>1?C(d,{attrs:a,slots:o,emit:l}):C(d,null)),b=e.props?a:cR(a)}}catch(C){Nc.length=0,$u(C,t,1),v=B(Hn)}let E=v;if(b&&m!==!1){const C=Object.keys(b),{shapeFlag:w}=E;C.length&&w&7&&(r&&C.some(qm)&&(b=uR(b,r)),E=so(E,b,!1,!0))}return n.dirs&&(E=so(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&(E.transition=n.transition),v=E,hh(y),v}function lR(t,e=!0){let n;for(let i=0;i{let e;for(const n in t)(n==="class"||n==="style"||Zh(n))&&((e||(e={}))[n]=t[n]);return e},uR=(t,e)=>{const n={};for(const i in t)(!qm(i)||!(i.slice(9)in e))&&(n[i]=t[i]);return n};function dR(t,e,n){const{props:i,children:s,component:r}=t,{props:o,children:a,patchFlag:l}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return i?uv(i,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let d=0;dt.__isSuspense;let Np=0;const fR={name:"Suspense",__isSuspense:!0,process(t,e,n,i,s,r,o,a,l,c){if(t==null)gR(e,n,i,s,r,o,a,l,c);else{if(r&&r.deps>0&&!t.suspense.isInFallback){e.suspense=t.suspense,e.suspense.vnode=e,e.el=t.el;return}pR(t,e,n,i,s,o,a,l,c)}},hydrate:mR,create:g_,normalize:_R},f_=fR;function eu(t,e){const n=t.props&&t.props[e];qe(n)&&n()}function gR(t,e,n,i,s,r,o,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),h=t.suspense=g_(t,s,i,e,d,n,r,o,a,l);c(null,h.pendingBranch=t.ssContent,d,null,i,h,r,o),h.deps>0?(eu(t,"onPending"),eu(t,"onFallback"),c(null,t.ssFallback,e,n,i,null,r,o),sl(h,t.ssFallback)):h.resolve(!1,!0)}function pR(t,e,n,i,s,r,o,a,{p:l,um:c,o:{createElement:u}}){const d=e.suspense=t.suspense;d.vnode=e,e.el=t.el;const h=e.ssContent,f=e.ssFallback,{activeBranch:p,pendingBranch:m,isInFallback:y,isHydrating:v}=d;if(m)d.pendingBranch=h,ws(h,m)?(l(m,h,d.hiddenContainer,null,s,d,r,o,a),d.deps<=0?d.resolve():y&&(v||(l(p,f,n,i,s,null,r,o,a),sl(d,f)))):(d.pendingId=Np++,v?(d.isHydrating=!1,d.activeBranch=m):c(m,s,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),y?(l(null,h,d.hiddenContainer,null,s,d,r,o,a),d.deps<=0?d.resolve():(l(p,f,n,i,s,null,r,o,a),sl(d,f))):p&&ws(h,p)?(l(p,h,n,i,s,d,r,o,a),d.resolve(!0)):(l(null,h,d.hiddenContainer,null,s,d,r,o,a),d.deps<=0&&d.resolve()));else if(p&&ws(h,p))l(p,h,n,i,s,d,r,o,a),sl(d,h);else if(eu(e,"onPending"),d.pendingBranch=h,h.shapeFlag&512?d.pendingId=h.component.suspenseId:d.pendingId=Np++,l(null,h,d.hiddenContainer,null,s,d,r,o,a),d.deps<=0)d.resolve();else{const{timeout:b,pendingId:E}=d;b>0?setTimeout(()=>{d.pendingId===E&&d.fallback(f)},b):b===0&&d.fallback(f)}}function g_(t,e,n,i,s,r,o,a,l,c,u=!1){const{p:d,m:h,um:f,n:p,o:{parentNode:m,remove:y}}=c;let v;const b=vR(t);b&&e&&e.pendingBranch&&(v=e.pendingId,e.deps++);const E=t.props?Nx(t.props.timeout):void 0,C=r,w={vnode:t,parent:e,parentComponent:n,namespace:o,container:i,hiddenContainer:s,deps:0,pendingId:Np++,timeout:typeof E=="number"?E:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(x=!1,T=!1){const{vnode:k,activeBranch:A,pendingBranch:P,pendingId:F,effects:H,parentComponent:te,container:N}=w;let L=!1;w.isHydrating?w.isHydrating=!1:x||(L=A&&P.transition&&P.transition.mode==="out-in",L&&(A.transition.afterLeave=()=>{F===w.pendingId&&(h(P,N,r===C?p(A):r,0),Op(H))}),A&&(m(A.el)!==w.hiddenContainer&&(r=p(A)),f(A,te,w,!0)),L||h(P,N,r,0)),sl(w,P),w.pendingBranch=null,w.isInFallback=!1;let I=w.parent,W=!1;for(;I;){if(I.pendingBranch){I.effects.push(...H),W=!0;break}I=I.parent}!W&&!L&&Op(H),w.effects=[],b&&e&&e.pendingBranch&&v===e.pendingId&&(e.deps--,e.deps===0&&!T&&e.resolve()),eu(k,"onResolve")},fallback(x){if(!w.pendingBranch)return;const{vnode:T,activeBranch:k,parentComponent:A,container:P,namespace:F}=w;eu(T,"onFallback");const H=p(k),te=()=>{w.isInFallback&&(d(null,x,P,H,A,null,F,a,l),sl(w,x))},N=x.transition&&x.transition.mode==="out-in";N&&(k.transition.afterLeave=te),w.isInFallback=!0,f(k,A,null,!0),N||te()},move(x,T,k){w.activeBranch&&h(w.activeBranch,x,T,k),w.container=x},next(){return w.activeBranch&&p(w.activeBranch)},registerDep(x,T,k){const A=!!w.pendingBranch;A&&w.deps++;const P=x.vnode.el;x.asyncDep.catch(F=>{$u(F,x,0)}).then(F=>{if(x.isUnmounted||w.isUnmounted||w.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:H}=x;jp(x,F,!1),P&&(H.el=P);const te=!P&&x.subTree.el;T(x,H,m(P||x.subTree.el),P?null:p(x.subTree),w,o,k),te&&y(te),d_(x,H.el),A&&--w.deps===0&&w.resolve()})},unmount(x,T){w.isUnmounted=!0,w.activeBranch&&f(w.activeBranch,n,x,T),w.pendingBranch&&f(w.pendingBranch,n,x,T)}};return w}function mR(t,e,n,i,s,r,o,a,l){const c=e.suspense=g_(e,i,n,t.parentNode,document.createElement("div"),null,s,r,o,a,!0),u=l(t,c.pendingBranch=e.ssContent,n,c,r,o);return c.deps===0&&c.resolve(!1,!0),u}function _R(t){const{shapeFlag:e,children:n}=t,i=e&32;t.ssContent=hv(i?n.default:n),t.ssFallback=i?hv(n.fallback):B(Hn)}function hv(t){let e;if(qe(t)){const n=_l&&t._c;n&&(t._d=!1,D()),t=t(),n&&(t._d=!0,e=zi,NE())}return We(t)&&(t=lR(t)),t=ns(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function yR(t,e){e&&e.pendingBranch?We(t)?e.effects.push(...t):e.effects.push(t):Op(t)}function sl(t,e){t.activeBranch=e;const{vnode:n,parentComponent:i}=t;let s=e.el;for(;!s&&e.component;)e=e.component.subTree,s=e.el;n.el=s,i&&i.subTree===n&&(i.vnode.el=s,d_(i,s))}function vR(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}function af(t,e,n=An,i=!1){if(n){const s=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...o)=>{fo();const a=Lu(n),l=ji(e,n,t,o);return a(),go(),l});return i?s.unshift(r):s.push(r),r}}const yr=t=>(e,n=An)=>{(!uf||t==="sp")&&af(t,(...i)=>e(...i),n)},bR=yr("bm"),xn=yr("m"),gE=yr("bu"),pE=yr("u"),p_=yr("bum"),Yl=yr("um"),wR=yr("sp"),xR=yr("rtg"),ER=yr("rtc");function SR(t,e=An){af("ec",t,e)}function Oe(t,e){if(_n===null)return t;const n=df(_n),i=t.dirs||(t.dirs=[]);for(let s=0;se(o,a,void 0,r&&r[a]));else{const o=Object.keys(t);s=new Array(o.length);for(let a=0,l=o.length;a{const r=i.fn(...s);return r&&(r.key=i.key),r}:i.fn)}return t}/*! #__NO_SIDE_EFFECTS__ */function cn(t,e){return qe(t)?ln({name:t.name},e,{setup:t}):t}const $c=t=>!!t.type.__asyncLoader;function Ne(t,e,n={},i,s){if(_n.isCE||_n.parent&&$c(_n.parent)&&_n.parent.isCE)return e!=="default"&&(n.name=e),B("slot",n,i&&i());let r=t[e];r&&r._c&&(r._d=!1),D();const o=r&&mE(r(n)),a=Ce($e,{key:n.key||o&&o.key||`_${e}`},o||(i?i():[]),o&&t._===1?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function mE(t){return t.some(e=>nu(e)?!(e.type===Hn||e.type===$e&&!mE(e.children)):!0)?t:null}const Fp=t=>t?VE(t)?df(t):Fp(t.parent):null,Lc=ln(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Fp(t.parent),$root:t=>Fp(t.root),$emit:t=>t.emit,$options:t=>m_(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,u_(t.update)}),$nextTick:t=>t.n||(t.n=Rn.bind(t.proxy)),$watch:t=>KR.bind(t)}),wg=(t,e)=>t!==Ot&&!t.__isScriptSetup&&ht(t,e),CR={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:i,data:s,props:r,accessCache:o,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const f=o[e];if(f!==void 0)switch(f){case 1:return i[e];case 2:return s[e];case 4:return n[e];case 3:return r[e]}else{if(wg(i,e))return o[e]=1,i[e];if(s!==Ot&&ht(s,e))return o[e]=2,s[e];if((c=t.propsOptions[0])&&ht(c,e))return o[e]=3,r[e];if(n!==Ot&&ht(n,e))return o[e]=4,n[e];Bp&&(o[e]=0)}}const u=Lc[e];let d,h;if(u)return e==="$attrs"&&yi(t.attrs,"get",""),u(t);if((d=a.__cssModules)&&(d=d[e]))return d;if(n!==Ot&&ht(n,e))return o[e]=4,n[e];if(h=l.config.globalProperties,ht(h,e))return h[e]},set({_:t},e,n){const{data:i,setupState:s,ctx:r}=t;return wg(s,e)?(s[e]=n,!0):i!==Ot&&ht(i,e)?(i[e]=n,!0):ht(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:s,propsOptions:r}},o){let a;return!!n[o]||t!==Ot&&ht(t,o)||wg(e,o)||(a=r[0])&&ht(a,o)||ht(i,o)||ht(Lc,o)||ht(s.config.globalProperties,o)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:ht(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function pa(){return _E().slots}function TR(){return _E().attrs}function _E(){const t=w_();return t.setupContext||(t.setupContext=WE(t))}function fv(t){return We(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let Bp=!0;function kR(t){const e=m_(t),n=t.proxy,i=t.ctx;Bp=!1,e.beforeCreate&&gv(e.beforeCreate,t,"bc");const{data:s,computed:r,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:f,updated:p,activated:m,deactivated:y,beforeDestroy:v,beforeUnmount:b,destroyed:E,unmounted:C,render:w,renderTracked:x,renderTriggered:T,errorCaptured:k,serverPrefetch:A,expose:P,inheritAttrs:F,components:H,directives:te,filters:N}=e;if(c&&AR(c,i,null),o)for(const W in o){const X=o[W];qe(X)&&(i[W]=X.bind(n))}if(s){const W=s.call(n,n);At(W)&&(t.data=Ns(W))}if(Bp=!0,r)for(const W in r){const X=r[W],J=qe(X)?X.bind(n,n):qe(X.get)?X.get.bind(n,n):Vi,ne=!qe(X)&&qe(X.set)?X.set.bind(n):Vi,ue=be({get:J,set:ne});Object.defineProperty(i,W,{enumerable:!0,configurable:!0,get:()=>ue.value,set:Y=>ue.value=Y})}if(a)for(const W in a)yE(a[W],i,n,W);if(l){const W=qe(l)?l.call(n):l;Reflect.ownKeys(W).forEach(X=>{Qd(X,W[X])})}u&&gv(u,t,"c");function I(W,X){We(X)?X.forEach(J=>W(J.bind(n))):X&&W(X.bind(n))}if(I(bR,d),I(xn,h),I(gE,f),I(pE,p),I(UR,m),I(GR,y),I(SR,k),I(ER,x),I(xR,T),I(p_,b),I(Yl,C),I(wR,A),We(P))if(P.length){const W=t.exposed||(t.exposed={});P.forEach(X=>{Object.defineProperty(W,X,{get:()=>n[X],set:J=>n[X]=J})})}else t.exposed||(t.exposed={});w&&t.render===Vi&&(t.render=w),F!=null&&(t.inheritAttrs=F),H&&(t.components=H),te&&(t.directives=te)}function AR(t,e,n=Vi){We(t)&&(t=Vp(t));for(const i in t){const s=t[i];let r;At(s)?"default"in s?r=cs(s.from||i,s.default,!0):r=cs(s.from||i):r=cs(s),Qt(r)?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[i]=r}}function gv(t,e,n){ji(We(t)?t.map(i=>i.bind(e.proxy)):t.bind(e.proxy),e,n)}function yE(t,e,n,i){const s=i.includes(".")?IE(n,i):()=>n[i];if(Kt(t)){const r=e[t];qe(r)&&fn(s,r)}else if(qe(t))fn(s,t.bind(n));else if(At(t))if(We(t))t.forEach(r=>yE(r,e,n,i));else{const r=qe(t.handler)?t.handler.bind(n):e[t.handler];qe(r)&&fn(s,r,t)}}function m_(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:s,optionsCache:r,config:{optionMergeStrategies:o}}=t.appContext,a=r.get(e);let l;return a?l=a:!s.length&&!n&&!i?l=e:(l={},s.length&&s.forEach(c=>fh(l,c,o,!0)),fh(l,e,o)),At(e)&&r.set(e,l),l}function fh(t,e,n,i=!1){const{mixins:s,extends:r}=e;r&&fh(t,r,n,!0),s&&s.forEach(o=>fh(t,o,n,!0));for(const o in e)if(!(i&&o==="expose")){const a=MR[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const MR={data:pv,props:mv,emits:mv,methods:vc,computed:vc,beforeCreate:Gn,created:Gn,beforeMount:Gn,mounted:Gn,beforeUpdate:Gn,updated:Gn,beforeDestroy:Gn,beforeUnmount:Gn,destroyed:Gn,unmounted:Gn,activated:Gn,deactivated:Gn,errorCaptured:Gn,serverPrefetch:Gn,components:vc,directives:vc,watch:PR,provide:pv,inject:IR};function pv(t,e){return e?t?function(){return ln(qe(t)?t.call(this,this):t,qe(e)?e.call(this,this):e)}:e:t}function IR(t,e){return vc(Vp(t),Vp(e))}function Vp(t){if(We(t)){const e={};for(let n=0;n1)return n&&qe(e)?e.call(i&&i.proxy):e}}function $R(){return!!(An||_n||rl)}const bE={},wE=()=>Object.create(bE),xE=t=>Object.getPrototypeOf(t)===bE;function LR(t,e,n,i=!1){const s={},r=wE();t.propsDefaults=Object.create(null),EE(t,e,s,r);for(const o in t.propsOptions[0])o in s||(s[o]=void 0);n?t.props=i?s:eE(s):t.type.props?t.props=s:t.props=r,t.attrs=r}function OR(t,e,n,i){const{props:s,attrs:r,vnode:{patchFlag:o}}=t,a=lt(s),[l]=t.propsOptions;let c=!1;if((i||o>0)&&!(o&16)){if(o&8){const u=t.vnode.dynamicProps;for(let d=0;d{l=!0;const[h,f]=SE(d,e,!0);ln(o,h),f&&a.push(...f)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!r&&!l)return At(t)&&i.set(t,tl),tl;if(We(r))for(let u=0;u-1,f[1]=m<0||p-1||ht(f,"default"))&&a.push(d)}}}const c=[o,a];return At(t)&&i.set(t,c),c}function _v(t){return t[0]!=="$"&&!Dc(t)}function yv(t){return t===null?"null":typeof t=="function"?t.name||"":typeof t=="object"&&t.constructor&&t.constructor.name||""}function vv(t,e){return yv(t)===yv(e)}function bv(t,e){return We(e)?e.findIndex(n=>vv(n,t)):qe(e)&&vv(e,t)?0:-1}const CE=t=>t[0]==="_"||t==="$stable",__=t=>We(t)?t.map(ns):[ns(t)],NR=(t,e,n)=>{if(e._n)return e;const i=Re((...s)=>__(e(...s)),n);return i._c=!1,i},TE=(t,e,n)=>{const i=t._ctx;for(const s in t){if(CE(s))continue;const r=t[s];if(qe(r))e[s]=NR(s,r,i);else if(r!=null){const o=__(r);e[s]=()=>o}}},kE=(t,e)=>{const n=__(e);t.slots.default=()=>n},FR=(t,e)=>{const n=t.slots=wE();if(t.vnode.shapeFlag&32){const i=e._;i?(ln(n,e),Ox(n,"_",i,!0)):TE(e,n)}else e&&kE(t,e)},BR=(t,e,n)=>{const{vnode:i,slots:s}=t;let r=!0,o=Ot;if(i.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:(ln(s,e),!n&&a===1&&delete s._):(r=!e.$stable,TE(e,s)),o=e}else e&&(kE(t,e),o={default:1});if(r)for(const a in s)!CE(a)&&o[a]==null&&delete s[a]};function Wp(t,e,n,i,s=!1){if(We(t)){t.forEach((h,f)=>Wp(h,e&&(We(e)?e[f]:e),n,i,s));return}if($c(i)&&!s)return;const r=i.shapeFlag&4?df(i.component):i.el,o=s?null:r,{i:a,r:l}=t,c=e&&e.r,u=a.refs===Ot?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(Kt(c)?(u[c]=null,ht(d,c)&&(d[c]=null)):Qt(c)&&(c.value=null)),qe(l))Jr(l,a,12,[o,u]);else{const h=Kt(l),f=Qt(l);if(h||f){const p=()=>{if(t.f){const m=h?ht(d,l)?d[l]:u[l]:l.value;s?We(m)&&Zm(m,r):We(m)?m.includes(r)||m.push(r):h?(u[l]=[r],ht(d,l)&&(d[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else h?(u[l]=o,ht(d,l)&&(d[l]=o)):f&&(l.value=o,t.k&&(u[t.k]=o))};o?(p.id=-1,li(p,n)):p()}}}const li=yR;function VR(t){return zR(t)}function zR(t,e){const n=Fx();n.__VUE__=!0;const{insert:i,remove:s,patchProp:r,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:f=Vi,insertStaticContent:p}=t,m=(S,O,K,U=null,re=null,j=null,se=void 0,ee=null,fe=!!O.dynamicChildren)=>{if(S===O)return;S&&!ws(S,O)&&(U=$(S),Y(S,re,j,!0),S=null),O.patchFlag===-2&&(fe=!1,O.dynamicChildren=null);const{type:me,ref:pe,shapeFlag:Le}=O;switch(me){case cf:y(S,O,K,U);break;case Hn:v(S,O,K,U);break;case Sg:S==null&&b(O,K,U,se);break;case $e:H(S,O,K,U,re,j,se,ee,fe);break;default:Le&1?w(S,O,K,U,re,j,se,ee,fe):Le&6?te(S,O,K,U,re,j,se,ee,fe):(Le&64||Le&128)&&me.process(S,O,K,U,re,j,se,ee,fe,ve)}pe!=null&&re&&Wp(pe,S&&S.ref,j,O||S,!O)},y=(S,O,K,U)=>{if(S==null)i(O.el=a(O.children),K,U);else{const re=O.el=S.el;O.children!==S.children&&c(re,O.children)}},v=(S,O,K,U)=>{S==null?i(O.el=l(O.children||""),K,U):O.el=S.el},b=(S,O,K,U)=>{[S.el,S.anchor]=p(S.children,O,K,U,S.el,S.anchor)},E=({el:S,anchor:O},K,U)=>{let re;for(;S&&S!==O;)re=h(S),i(S,K,U),S=re;i(O,K,U)},C=({el:S,anchor:O})=>{let K;for(;S&&S!==O;)K=h(S),s(S),S=K;s(O)},w=(S,O,K,U,re,j,se,ee,fe)=>{O.type==="svg"?se="svg":O.type==="math"&&(se="mathml"),S==null?x(O,K,U,re,j,se,ee,fe):A(S,O,re,j,se,ee,fe)},x=(S,O,K,U,re,j,se,ee)=>{let fe,me;const{props:pe,shapeFlag:Le,transition:Ae,dirs:ze}=S;if(fe=S.el=o(S.type,j,pe&&pe.is,pe),Le&8?u(fe,S.children):Le&16&&k(S.children,fe,null,U,re,xg(S,j),se,ee),ze&&Io(S,null,U,"created"),T(fe,S,S.scopeId,se,U),pe){for(const it in pe)it!=="value"&&!Dc(it)&&r(fe,it,null,pe[it],j,S.children,U,re,le);"value"in pe&&r(fe,"value",null,pe.value,j),(me=pe.onVnodeBeforeMount)&&_s(me,U,S)}ze&&Io(S,null,U,"beforeMount");const Be=WR(re,Ae);Be&&Ae.beforeEnter(fe),i(fe,O,K),((me=pe&&pe.onVnodeMounted)||Be||ze)&&li(()=>{me&&_s(me,U,S),Be&&Ae.enter(fe),ze&&Io(S,null,U,"mounted")},re)},T=(S,O,K,U,re)=>{if(K&&f(S,K),U)for(let j=0;j{for(let me=fe;me{const ee=O.el=S.el;let{patchFlag:fe,dynamicChildren:me,dirs:pe}=O;fe|=S.patchFlag&16;const Le=S.props||Ot,Ae=O.props||Ot;let ze;if(K&&Po(K,!1),(ze=Ae.onVnodeBeforeUpdate)&&_s(ze,K,O,S),pe&&Io(O,S,K,"beforeUpdate"),K&&Po(K,!0),me?P(S.dynamicChildren,me,ee,K,U,xg(O,re),j):se||X(S,O,ee,null,K,U,xg(O,re),j,!1),fe>0){if(fe&16)F(ee,O,Le,Ae,K,U,re);else if(fe&2&&Le.class!==Ae.class&&r(ee,"class",null,Ae.class,re),fe&4&&r(ee,"style",Le.style,Ae.style,re),fe&8){const Be=O.dynamicProps;for(let it=0;it{ze&&_s(ze,K,O,S),pe&&Io(O,S,K,"updated")},U)},P=(S,O,K,U,re,j,se)=>{for(let ee=0;ee{if(K!==U){if(K!==Ot)for(const ee in K)!Dc(ee)&&!(ee in U)&&r(S,ee,K[ee],null,se,O.children,re,j,le);for(const ee in U){if(Dc(ee))continue;const fe=U[ee],me=K[ee];fe!==me&&ee!=="value"&&r(S,ee,me,fe,se,O.children,re,j,le)}"value"in U&&r(S,"value",K.value,U.value,se)}},H=(S,O,K,U,re,j,se,ee,fe)=>{const me=O.el=S?S.el:a(""),pe=O.anchor=S?S.anchor:a("");let{patchFlag:Le,dynamicChildren:Ae,slotScopeIds:ze}=O;ze&&(ee=ee?ee.concat(ze):ze),S==null?(i(me,K,U),i(pe,K,U),k(O.children||[],K,pe,re,j,se,ee,fe)):Le>0&&Le&64&&Ae&&S.dynamicChildren?(P(S.dynamicChildren,Ae,K,re,j,se,ee),(O.key!=null||re&&O===re.subTree)&&y_(S,O,!0)):X(S,O,K,pe,re,j,se,ee,fe)},te=(S,O,K,U,re,j,se,ee,fe)=>{O.slotScopeIds=ee,S==null?O.shapeFlag&512?re.ctx.activate(O,K,U,se,fe):N(O,K,U,re,j,se,fe):L(S,O,fe)},N=(S,O,K,U,re,j,se)=>{const ee=S.component=rD(S,U,re);if(lf(S)&&(ee.ctx.renderer=ve),oD(ee),ee.asyncDep){if(re&&re.registerDep(ee,I,se),!S.el){const fe=ee.subTree=B(Hn);v(null,fe,O,K)}}else I(ee,S,O,K,re,j,se)},L=(S,O,K)=>{const U=O.component=S.component;if(dR(S,O,K))if(U.asyncDep&&!U.asyncResolved){W(U,O,K);return}else U.next=O,rR(U.update),U.effect.dirty=!0,U.update();else O.el=S.el,U.vnode=O},I=(S,O,K,U,re,j,se)=>{const ee=()=>{if(S.isMounted){let{next:pe,bu:Le,u:Ae,parent:ze,vnode:Be}=S;{const Un=AE(S);if(Un){pe&&(pe.el=Be.el,W(S,pe,se)),Un.asyncDep.then(()=>{S.isUnmounted||ee()});return}}let it=pe,Ze;Po(S,!1),pe?(pe.el=Be.el,W(S,pe,se)):pe=Be,Le&&Zd(Le),(Ze=pe.props&&pe.props.onVnodeBeforeUpdate)&&_s(Ze,ze,pe,Be),Po(S,!0);const Mt=bg(S),gn=S.subTree;S.subTree=Mt,m(gn,Mt,d(gn.el),$(gn),S,re,j),pe.el=Mt.el,it===null&&d_(S,Mt.el),Ae&&li(Ae,re),(Ze=pe.props&&pe.props.onVnodeUpdated)&&li(()=>_s(Ze,ze,pe,Be),re)}else{let pe;const{el:Le,props:Ae}=O,{bm:ze,m:Be,parent:it}=S,Ze=$c(O);if(Po(S,!1),ze&&Zd(ze),!Ze&&(pe=Ae&&Ae.onVnodeBeforeMount)&&_s(pe,it,O),Po(S,!0),Le&&ge){const Mt=()=>{S.subTree=bg(S),ge(Le,S.subTree,S,re,null)};Ze?O.type.__asyncLoader().then(()=>!S.isUnmounted&&Mt()):Mt()}else{const Mt=S.subTree=bg(S);m(null,Mt,K,U,S,re,j),O.el=Mt.el}if(Be&&li(Be,re),!Ze&&(pe=Ae&&Ae.onVnodeMounted)){const Mt=O;li(()=>_s(pe,it,Mt),re)}(O.shapeFlag&256||it&&$c(it.vnode)&&it.vnode.shapeFlag&256)&&S.a&&li(S.a,re),S.isMounted=!0,O=K=U=null}},fe=S.effect=new t_(ee,Vi,()=>u_(me),S.scope),me=S.update=()=>{fe.dirty&&fe.run()};me.id=S.uid,Po(S,!0),me()},W=(S,O,K)=>{O.component=S;const U=S.vnode.props;S.vnode=O,S.next=null,OR(S,O.props,U,K),BR(S,O.children,K),fo(),cv(S),go()},X=(S,O,K,U,re,j,se,ee,fe=!1)=>{const me=S&&S.children,pe=S?S.shapeFlag:0,Le=O.children,{patchFlag:Ae,shapeFlag:ze}=O;if(Ae>0){if(Ae&128){ne(me,Le,K,U,re,j,se,ee,fe);return}else if(Ae&256){J(me,Le,K,U,re,j,se,ee,fe);return}}ze&8?(pe&16&&le(me,re,j),Le!==me&&u(K,Le)):pe&16?ze&16?ne(me,Le,K,U,re,j,se,ee,fe):le(me,re,j,!0):(pe&8&&u(K,""),ze&16&&k(Le,K,U,re,j,se,ee,fe))},J=(S,O,K,U,re,j,se,ee,fe)=>{S=S||tl,O=O||tl;const me=S.length,pe=O.length,Le=Math.min(me,pe);let Ae;for(Ae=0;Aepe?le(S,re,j,!0,!1,Le):k(O,K,U,re,j,se,ee,fe,Le)},ne=(S,O,K,U,re,j,se,ee,fe)=>{let me=0;const pe=O.length;let Le=S.length-1,Ae=pe-1;for(;me<=Le&&me<=Ae;){const ze=S[me],Be=O[me]=fe?Br(O[me]):ns(O[me]);if(ws(ze,Be))m(ze,Be,K,null,re,j,se,ee,fe);else break;me++}for(;me<=Le&&me<=Ae;){const ze=S[Le],Be=O[Ae]=fe?Br(O[Ae]):ns(O[Ae]);if(ws(ze,Be))m(ze,Be,K,null,re,j,se,ee,fe);else break;Le--,Ae--}if(me>Le){if(me<=Ae){const ze=Ae+1,Be=zeAe)for(;me<=Le;)Y(S[me],re,j,!0),me++;else{const ze=me,Be=me,it=new Map;for(me=Be;me<=Ae;me++){const Ut=O[me]=fe?Br(O[me]):ns(O[me]);Ut.key!=null&&it.set(Ut.key,me)}let Ze,Mt=0;const gn=Ae-Be+1;let Un=!1,Ri=0;const wi=new Array(gn);for(me=0;me=gn){Y(Ut,re,j,!0);continue}let ae;if(Ut.key!=null)ae=it.get(Ut.key);else for(Ze=Be;Ze<=Ae;Ze++)if(wi[Ze-Be]===0&&ws(Ut,O[Ze])){ae=Ze;break}ae===void 0?Y(Ut,re,j,!0):(wi[ae-Be]=me+1,ae>=Ri?Ri=ae:Un=!0,m(Ut,O[ae],K,null,re,j,se,ee,fe),Mt++)}const Xi=Un?HR(wi):tl;for(Ze=Xi.length-1,me=gn-1;me>=0;me--){const Ut=Be+me,ae=O[Ut],Te=Ut+1{const{el:j,type:se,transition:ee,children:fe,shapeFlag:me}=S;if(me&6){ue(S.component.subTree,O,K,U);return}if(me&128){S.suspense.move(O,K,U);return}if(me&64){se.move(S,O,K,ve);return}if(se===$e){i(j,O,K);for(let Le=0;Leee.enter(j),re);else{const{leave:Le,delayLeave:Ae,afterLeave:ze}=ee,Be=()=>i(j,O,K),it=()=>{Le(j,()=>{Be(),ze&&ze()})};Ae?Ae(j,Be,it):it()}else i(j,O,K)},Y=(S,O,K,U=!1,re=!1)=>{const{type:j,props:se,ref:ee,children:fe,dynamicChildren:me,shapeFlag:pe,patchFlag:Le,dirs:Ae,memoIndex:ze}=S;if(ee!=null&&Wp(ee,null,K,S,!0),ze!=null&&(O.renderCache[ze]=void 0),pe&256){O.ctx.deactivate(S);return}const Be=pe&1&&Ae,it=!$c(S);let Ze;if(it&&(Ze=se&&se.onVnodeBeforeUnmount)&&_s(Ze,O,S),pe&6)ie(S.component,K,U);else{if(pe&128){S.suspense.unmount(K,U);return}Be&&Io(S,null,O,"beforeUnmount"),pe&64?S.type.remove(S,O,K,re,ve,U):me&&(j!==$e||Le>0&&Le&64)?le(me,O,K,!1,!0):(j===$e&&Le&384||!re&&pe&16)&&le(fe,O,K),U&&Z(S)}(it&&(Ze=se&&se.onVnodeUnmounted)||Be)&&li(()=>{Ze&&_s(Ze,O,S),Be&&Io(S,null,O,"unmounted")},K)},Z=S=>{const{type:O,el:K,anchor:U,transition:re}=S;if(O===$e){M(K,U);return}if(O===Sg){C(S);return}const j=()=>{s(K),re&&!re.persisted&&re.afterLeave&&re.afterLeave()};if(S.shapeFlag&1&&re&&!re.persisted){const{leave:se,delayLeave:ee}=re,fe=()=>se(K,j);ee?ee(S.el,j,fe):fe()}else j()},M=(S,O)=>{let K;for(;S!==O;)K=h(S),s(S),S=K;s(O)},ie=(S,O,K)=>{const{bum:U,scope:re,update:j,subTree:se,um:ee,m:fe,a:me}=S;wv(fe),wv(me),U&&Zd(U),re.stop(),j&&(j.active=!1,Y(se,S,O,K)),ee&&li(ee,O),li(()=>{S.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},le=(S,O,K,U=!1,re=!1,j=0)=>{for(let se=j;seS.shapeFlag&6?$(S.component.subTree):S.shapeFlag&128?S.suspense.next():h(S.anchor||S.el);let oe=!1;const de=(S,O,K)=>{S==null?O._vnode&&Y(O._vnode,null,null,!0):m(O._vnode||null,S,O,null,null,null,K),oe||(oe=!0,cv(),cE(),oe=!1),O._vnode=S},ve={p:m,um:Y,m:ue,r:Z,mt:N,mc:k,pc:X,pbc:P,n:$,o:t};let z,ge;return e&&([z,ge]=e(ve)),{render:de,hydrate:z,createApp:DR(de,z)}}function xg({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function Po({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function WR(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function y_(t,e,n=!1){const i=t.children,s=e.children;if(We(i)&&We(s))for(let r=0;r>1,t[n[a]]0&&(e[i]=n[r-1]),n[r]=i)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=e[o];return n}function AE(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:AE(e)}function wv(t){if(t)for(let e=0;ecs(YR),md={};function fn(t,e,n){return ME(t,e,n)}function ME(t,e,{immediate:n,deep:i,flush:s,once:r,onTrack:o,onTrigger:a}=Ot){if(e&&r){const x=e;e=(...T)=>{x(...T),w()}}const l=An,c=x=>i===!0?x:Wr(x,i===!1?1:void 0);let u,d=!1,h=!1;if(Qt(t)?(u=()=>t.value,d=dh(t)):ea(t)?(u=()=>c(t),d=!0):We(t)?(h=!0,d=t.some(x=>ea(x)||dh(x)),u=()=>t.map(x=>{if(Qt(x))return x.value;if(ea(x))return c(x);if(qe(x))return Jr(x,l,2)})):qe(t)?e?u=()=>Jr(t,l,2):u=()=>(f&&f(),ji(t,l,3,[p])):u=Vi,e&&i){const x=u;u=()=>Wr(x())}let f,p=x=>{f=E.onStop=()=>{Jr(x,l,4),f=E.onStop=void 0}},m;if(uf)if(p=Vi,e?n&&ji(e,l,3,[u(),h?[]:void 0,p]):u(),s==="sync"){const x=jR();m=x.__watcherHandles||(x.__watcherHandles=[])}else return Vi;let y=h?new Array(t.length).fill(md):md;const v=()=>{if(!(!E.active||!E.dirty))if(e){const x=E.run();(i||d||(h?x.some((T,k)=>io(T,y[k])):io(x,y)))&&(f&&f(),ji(e,l,3,[x,y===md?void 0:h&&y[0]===md?[]:y,p]),y=x)}else E.run()};v.allowRecurse=!!e;let b;s==="sync"?b=v:s==="post"?b=()=>li(v,l&&l.suspense):(v.pre=!0,l&&(v.id=l.uid),b=()=>u_(v));const E=new t_(u,Vi,b),C=ef(),w=()=>{E.stop(),C&&Zm(C.effects,E)};return e?n?v():y=E.run():s==="post"?li(E.run.bind(E),l&&l.suspense):E.run(),m&&m.push(w),w}function KR(t,e,n){const i=this.proxy,s=Kt(t)?t.includes(".")?IE(i,t):()=>i[t]:t.bind(i,i);let r;qe(e)?r=e:(r=e.handler,n=e);const o=Lu(this),a=ME(s,r.bind(i),n);return o(),a}function IE(t,e){const n=e.split(".");return()=>{let i=t;for(let s=0;s{Wr(i,e,n)});else if(Lx(t)){for(const i in t)Wr(t[i],e,n);for(const i of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,i)&&Wr(t[i],e,n)}return t}const lf=t=>t.type.__isKeepAlive;function UR(t,e){PE(t,"a",e)}function GR(t,e){PE(t,"da",e)}function PE(t,e,n=An){const i=t.__wdc||(t.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(af(e,i,n),n){let s=n.parent;for(;s&&s.parent;)lf(s.parent.vnode)&&XR(i,e,n,s),s=s.parent}}function XR(t,e,n,i){const s=af(e,t,i,!0);Yl(()=>{Zm(i[e],s)},n)}const Fr=Symbol("_leaveCb"),_d=Symbol("_enterCb");function RE(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return xn(()=>{t.isMounted=!0}),p_(()=>{t.isUnmounting=!0}),t}const Ni=[Function,Array],DE={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ni,onEnter:Ni,onAfterEnter:Ni,onEnterCancelled:Ni,onBeforeLeave:Ni,onLeave:Ni,onAfterLeave:Ni,onLeaveCancelled:Ni,onBeforeAppear:Ni,onAppear:Ni,onAfterAppear:Ni,onAppearCancelled:Ni},$E=t=>{const e=t.subTree;return e.component?$E(e.component):e},qR={name:"BaseTransition",props:DE,setup(t,{slots:e}){const n=w_(),i=RE();return()=>{const s=e.default&&v_(e.default(),!0);if(!s||!s.length)return;let r=s[0];if(s.length>1){for(const h of s)if(h.type!==Hn){r=h;break}}const o=lt(t),{mode:a}=o;if(i.isLeaving)return Eg(r);const l=xv(r);if(!l)return Eg(r);let c=tu(l,o,i,n,h=>c=h);ml(l,c);const u=n.subTree,d=u&&xv(u);if(d&&d.type!==Hn&&!ws(l,d)&&$E(n).type!==Hn){const h=tu(d,o,i,n);if(ml(d,h),a==="out-in"&&l.type!==Hn)return i.isLeaving=!0,h.afterLeave=()=>{i.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Eg(r);a==="in-out"&&l.type!==Hn&&(h.delayLeave=(f,p,m)=>{const y=LE(i,d);y[String(d.key)]=d,f[Fr]=()=>{p(),f[Fr]=void 0,delete c.delayedLeave},c.delayedLeave=m})}return r}}},ZR=qR;function LE(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function tu(t,e,n,i,s){const{appear:r,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:h,onLeave:f,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:y,onAppear:v,onAfterAppear:b,onAppearCancelled:E}=e,C=String(t.key),w=LE(n,t),x=(A,P)=>{A&&ji(A,i,9,P)},T=(A,P)=>{const F=P[1];x(A,P),We(A)?A.every(H=>H.length<=1)&&F():A.length<=1&&F()},k={mode:o,persisted:a,beforeEnter(A){let P=l;if(!n.isMounted)if(r)P=y||l;else return;A[Fr]&&A[Fr](!0);const F=w[C];F&&ws(t,F)&&F.el[Fr]&&F.el[Fr](),x(P,[A])},enter(A){let P=c,F=u,H=d;if(!n.isMounted)if(r)P=v||c,F=b||u,H=E||d;else return;let te=!1;const N=A[_d]=L=>{te||(te=!0,L?x(H,[A]):x(F,[A]),k.delayedLeave&&k.delayedLeave(),A[_d]=void 0)};P?T(P,[A,N]):N()},leave(A,P){const F=String(t.key);if(A[_d]&&A[_d](!0),n.isUnmounting)return P();x(h,[A]);let H=!1;const te=A[Fr]=N=>{H||(H=!0,P(),N?x(m,[A]):x(p,[A]),A[Fr]=void 0,w[F]===t&&delete w[F])};w[F]=t,f?T(f,[A,te]):te()},clone(A){const P=tu(A,e,n,i,s);return s&&s(P),P}};return k}function Eg(t){if(lf(t))return t=so(t),t.children=null,t}function xv(t){if(!lf(t))return t;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&qe(n.default))return n.default()}}function ml(t,e){t.shapeFlag&6&&t.component?ml(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function v_(t,e=!1,n){let i=[],s=0;for(let r=0;r1)for(let r=0;rt.__isTeleport,Oc=t=>t&&(t.disabled||t.disabled===""),Ev=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Sv=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Hp=(t,e)=>{const n=t&&t.to;return Kt(n)?e?e(n):null:n},QR={name:"Teleport",__isTeleport:!0,process(t,e,n,i,s,r,o,a,l,c){const{mc:u,pc:d,pbc:h,o:{insert:f,querySelector:p,createText:m,createComment:y}}=c,v=Oc(e.props);let{shapeFlag:b,children:E,dynamicChildren:C}=e;if(t==null){const w=e.el=m(""),x=e.anchor=m("");f(w,n,i),f(x,n,i);const T=e.target=Hp(e.props,p),k=e.targetAnchor=m("");T&&(f(k,T),o==="svg"||Ev(T)?o="svg":(o==="mathml"||Sv(T))&&(o="mathml"));const A=(P,F)=>{b&16&&u(E,P,F,s,r,o,a,l)};v?A(n,x):T&&A(T,k)}else{e.el=t.el;const w=e.anchor=t.anchor,x=e.target=t.target,T=e.targetAnchor=t.targetAnchor,k=Oc(t.props),A=k?n:x,P=k?w:T;if(o==="svg"||Ev(x)?o="svg":(o==="mathml"||Sv(x))&&(o="mathml"),C?(h(t.dynamicChildren,C,A,s,r,o,a),y_(t,e,!0)):l||d(t,e,A,P,s,r,o,a,!1),v)k?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):yd(e,n,w,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const F=e.target=Hp(e.props,p);F&&yd(e,F,null,c,0)}else k&&yd(e,x,T,c,1)}OE(e)},remove(t,e,n,i,{um:s,o:{remove:r}},o){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:d,props:h}=t;if(d&&r(u),o&&r(c),a&16){const f=o||!Oc(h);for(let p=0;p0?zi||tl:null,NE(),_l>0&&zi&&zi.push(t),t}function V(t,e,n,i,s,r){return FE(g(t,e,n,i,s,r,!0))}function Ce(t,e,n,i,s){return FE(B(t,e,n,i,s,!0))}function nu(t){return t?t.__v_isVNode===!0:!1}function ws(t,e){return t.type===e.type&&t.key===e.key}const BE=({key:t})=>t??null,eh=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Kt(t)||Qt(t)||qe(t)?{i:_n,r:t,k:e,f:!!n}:t:null);function g(t,e=null,n=null,i=0,s=null,r=t===$e?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&BE(e),ref:e&&eh(e),scopeId:of,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:_n};return a?(b_(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Kt(n)?8:16),_l>0&&!o&&zi&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&zi.push(l),l}const B=nD;function nD(t,e=null,n=null,i=0,s=null,r=!1){if((!t||t===hE)&&(t=Hn),nu(t)){const a=so(t,e,!0);return n&&b_(a,n),_l>0&&!r&&zi&&(a.shapeFlag&6?zi[zi.indexOf(t)]=a:zi.push(a)),a.patchFlag=-2,a}if(uD(t)&&(t=t.__vccOpts),e){e=Zn(e);let{class:a,style:l}=e;a&&!Kt(a)&&(e.class=Me(a)),At(l)&&(nf(l)&&!We(l)&&(l=ln({},l)),e.style=Mn(l))}const o=Kt(t)?1:hR(t)?128:JR(t)?64:At(t)?4:qe(t)?2:0;return g(t,e,n,i,s,o,r,!0)}function Zn(t){return t?nf(t)||xE(t)?ln({},t):t:null}function so(t,e,n=!1,i=!1){const{props:s,ref:r,patchFlag:o,children:a,transition:l}=t,c=e?yn(s||{},e):s,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&BE(c),ref:e&&e.ref?n&&r?We(r)?r.concat(eh(e)):[r,eh(e)]:eh(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==$e?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&so(t.ssContent),ssFallback:t.ssFallback&&so(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&i&&ml(u,l.clone(u)),u}function Ye(t=" ",e=0){return B(cf,null,t,e)}function ce(t="",e=!1){return e?(D(),Ce(Hn,null,t)):B(Hn,null,t)}function ns(t){return t==null||typeof t=="boolean"?B(Hn):We(t)?B($e,null,t.slice()):typeof t=="object"?Br(t):B(cf,null,String(t))}function Br(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:so(t)}function b_(t,e){let n=0;const{shapeFlag:i}=t;if(e==null)e=null;else if(We(e))n=16;else if(typeof e=="object")if(i&65){const s=e.default;s&&(s._c&&(s._d=!1),b_(t,s()),s._c&&(s._d=!0));return}else{n=32;const s=e._;!s&&!xE(e)?e._ctx=_n:s===3&&_n&&(_n.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else qe(e)?(e={default:e,_ctx:_n},n=32):(e=String(e),i&64?(n=16,e=[Ye(e)]):n=8);t.children=e,t.shapeFlag|=n}function yn(...t){const e={};for(let n=0;nAn||_n;let gh,Yp;{const t=Fx(),e=(n,i)=>{let s;return(s=t[n])||(s=t[n]=[]),s.push(i),r=>{s.length>1?s.forEach(o=>o(r)):s[0](r)}};gh=e("__VUE_INSTANCE_SETTERS__",n=>An=n),Yp=e("__VUE_SSR_SETTERS__",n=>uf=n)}const Lu=t=>{const e=An;return gh(t),t.scope.on(),()=>{t.scope.off(),gh(e)}},Tv=()=>{An&&An.scope.off(),gh(null)};function VE(t){return t.vnode.shapeFlag&4}let uf=!1;function oD(t,e=!1){e&&Yp(e);const{props:n,children:i}=t.vnode,s=VE(t);LR(t,n,s,e),FR(t,i);const r=s?aD(t,e):void 0;return e&&Yp(!1),r}function aD(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,CR);const{setup:i}=n;if(i){const s=t.setupContext=i.length>1?WE(t):null,r=Lu(t);fo();const o=Jr(i,t,0,[t.props,s]);if(go(),r(),Dx(o)){if(o.then(Tv,Tv),e)return o.then(a=>{jp(t,a,e)}).catch(a=>{$u(a,t,0)});t.asyncDep=o}else jp(t,o,e)}else zE(t,e)}function jp(t,e,n){qe(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:At(e)&&(t.setupState=rE(e)),zE(t,n)}let kv;function zE(t,e,n){const i=t.type;if(!t.render){if(!e&&kv&&!i.render){const s=i.template||m_(t).template;if(s){const{isCustomElement:r,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=i,c=ln(ln({isCustomElement:r,delimiters:a},o),l);i.render=kv(s,c)}}t.render=i.render||Vi}{const s=Lu(t);fo();try{kR(t)}finally{go(),s()}}}const lD={get(t,e){return yi(t,"get",""),t[e]}};function WE(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,lD),slots:t.slots,emit:t.emit,expose:e}}function df(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(rE(sf(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Lc)return Lc[n](t)},has(e,n){return n in e||n in Lc}})):t.proxy}function cD(t,e=!0){return qe(t)?t.displayName||t.name:t.name||e&&t.__name}function uD(t){return qe(t)&&"__vccOpts"in t}const be=(t,e)=>Z2(t,e,uf);function la(t,e,n){const i=arguments.length;return i===2?At(e)&&!We(e)?nu(e)?B(t,null,[e]):B(t,e):B(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&nu(n)&&(n=[n]),B(t,e,n))}const HE="3.4.29";/** * @vue/runtime-dom v3.4.29 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const WA="http://www.w3.org/2000/svg",zA="http://www.w3.org/1998/Math/MathML",Hs=typeof document<"u"?document:null,vg=Hs&&Hs.createElement("template"),YA={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const i=e==="svg"?Hs.createElementNS(WA,t):e==="mathml"?Hs.createElementNS(zA,t):n?Hs.createElement(t,{is:n}):Hs.createElement(t);return t==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:t=>Hs.createTextNode(t),createComment:t=>Hs.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Hs.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,i,o){const r=n?n.previousSibling:e.lastChild;if(i&&(i===o||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{vg.innerHTML=s==="svg"?`${t}`:s==="mathml"?`${t}`:t;const a=vg.content;if(s==="svg"||s==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[r?r.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},li="transition",Yr="animation",gr=Symbol("_vtc"),At=(t,{slots:e})=>Co(EA,Rb(t),e);At.displayName="Transition";const Ib={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},UA=At.props=Lt({},kb,Ib),so=(t,e=[])=>{Fe(t)?t.forEach(n=>n(...e)):t&&t(...e)},bg=t=>t?Fe(t)?t.some(e=>e.length>1):t.length>1:!1;function Rb(t){const e={};for(const J in t)J in Ib||(e[J]=t[J]);if(t.css===!1)return e;const{name:n="v",type:s,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=r,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=t,_=KA(i),m=_&&_[0],b=_&&_[1],{onBeforeEnter:w,onEnter:$,onEnterCancelled:A,onLeave:D,onLeaveCancelled:x,onBeforeAppear:y=w,onAppear:S=$,onAppearCancelled:E=A}=e,T=(J,ae,Y)=>{hi(J,ae?u:a),hi(J,ae?c:r),Y&&Y()},C=(J,ae)=>{J._isLeaving=!1,hi(J,d),hi(J,g),hi(J,f),ae&&ae()},B=J=>(ae,Y)=>{const L=J?S:$,I=()=>T(ae,J,Y);so(L,[ae,I]),yg(()=>{hi(ae,J?l:o),Fs(ae,J?u:a),bg(L)||wg(ae,s,m,I)})};return Lt(e,{onBeforeEnter(J){so(w,[J]),Fs(J,o),Fs(J,r)},onBeforeAppear(J){so(y,[J]),Fs(J,l),Fs(J,c)},onEnter:B(!1),onAppear:B(!0),onLeave(J,ae){J._isLeaving=!0;const Y=()=>C(J,ae);Fs(J,d),Fs(J,f),Nb(),yg(()=>{J._isLeaving&&(hi(J,d),Fs(J,g),bg(D)||wg(J,s,b,Y))}),so(D,[J,Y])},onEnterCancelled(J){T(J,!1),so(A,[J])},onAppearCancelled(J){T(J,!0),so(E,[J])},onLeaveCancelled(J){C(J),so(x,[J])}})}function KA(t){if(t==null)return null;if(ut(t))return[Lu(t.enter),Lu(t.leave)];{const e=Lu(t);return[e,e]}}function Lu(t){return Cv(t)}function Fs(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[gr]||(t[gr]=new Set)).add(e)}function hi(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const n=t[gr];n&&(n.delete(e),n.size||(t[gr]=void 0))}function yg(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let qA=0;function wg(t,e,n,s){const i=t._endId=++qA,o=()=>{i===t._endId&&s()};if(n)return setTimeout(o,n);const{type:r,timeout:a,propCount:l}=Lb(t,e);if(!r)return s();const c=r+"end";let u=0;const d=()=>{t.removeEventListener(c,f),o()},f=g=>{g.target===t&&++u>=l&&d()};setTimeout(()=>{u(n[_]||"").split(", "),i=s(`${li}Delay`),o=s(`${li}Duration`),r=xg(i,o),a=s(`${Yr}Delay`),l=s(`${Yr}Duration`),c=xg(a,l);let u=null,d=0,f=0;e===li?r>0&&(u=li,d=r,f=o.length):e===Yr?c>0&&(u=Yr,d=c,f=l.length):(d=Math.max(r,c),u=d>0?r>c?li:Yr:null,f=u?u===li?o.length:l.length:0);const g=u===li&&/\b(transform|all)(,|$)/.test(s(`${li}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:g}}function xg(t,e){for(;t.lengthkg(n)+kg(t[s])))}function kg(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Nb(){return document.body.offsetHeight}function GA(t,e,n){const s=t[gr];s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const fc=Symbol("_vod"),Fb=Symbol("_vsh"),ec={beforeMount(t,{value:e},{transition:n}){t[fc]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Ur(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:s}){!e!=!n&&(s?e?(s.beforeEnter(t),Ur(t,!0),s.enter(t)):s.leave(t,()=>{Ur(t,!1)}):Ur(t,e))},beforeUnmount(t,{value:e}){Ur(t,e)}};function Ur(t,e){t.style.display=e?t[fc]:"none",t[Fb]=!e}const JA=Symbol(""),XA=/(^|;)\s*display\s*:/;function QA(t,e,n){const s=t.style,i=St(n);let o=!1;if(n&&!i){if(e)if(St(e))for(const r of e.split(";")){const a=r.slice(0,r.indexOf(":")).trim();n[a]==null&&tc(s,a,"")}else for(const r in e)n[r]==null&&tc(s,r,"");for(const r in n)r==="display"&&(o=!0),tc(s,r,n[r])}else if(i){if(e!==n){const r=s[JA];r&&(n+=";"+r),s.cssText=n,o=XA.test(n)}}else e&&t.removeAttribute("style");fc in t&&(t[fc]=o?s.display:"",t[Fb]&&(s.display="none"))}const Sg=/\s*!important$/;function tc(t,e,n){if(Fe(n))n.forEach(s=>tc(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=ZA(t,e);Sg.test(n)?t.setProperty(To(s),n.replace(Sg,""),"important"):t[s]=n}}const $g=["Webkit","Moz","ms"],Nu={};function ZA(t,e){const n=Nu[e];if(n)return n;let s=Es(e);if(s!=="filter"&&s in t)return Nu[e]=s;s=Rc(s);for(let i=0;i<$g.length;i++){const o=$g[i]+s;if(o in t)return Nu[e]=o}return e}const Ag="http://www.w3.org/1999/xlink";function Cg(t,e,n,s,i,o=o$(e)){s&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(Ag,e.slice(6,e.length)):t.setAttributeNS(Ag,e,n):n==null||o&&!Pv(n)?t.removeAttribute(e):t.setAttribute(e,o?"":String(n))}function eC(t,e,n,s,i,o,r){if(e==="innerHTML"||e==="textContent"){s&&r(s,i,o),t[e]=n??"";return}const a=t.tagName;if(e==="value"&&a!=="PROGRESS"&&!a.includes("-")){const c=a==="OPTION"?t.getAttribute("value")||"":t.value,u=n==null?"":String(n);(c!==u||!("_value"in t))&&(t.value=u),n==null&&t.removeAttribute(e),t._value=n;return}let l=!1;if(n===""||n==null){const c=typeof t[e];c==="boolean"?n=Pv(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{t[e]=n}catch{}l&&t.removeAttribute(e)}function zs(t,e,n,s){t.addEventListener(e,n,s)}function tC(t,e,n,s){t.removeEventListener(e,n,s)}const Eg=Symbol("_vei");function nC(t,e,n,s,i=null){const o=t[Eg]||(t[Eg]={}),r=o[e];if(s&&r)r.value=s;else{const[a,l]=sC(e);if(s){const c=o[e]=rC(s,i);zs(t,a,c,l)}else r&&(tC(t,a,r,l),o[e]=void 0)}}const Pg=/(?:Once|Passive|Capture)$/;function sC(t){let e;if(Pg.test(t)){e={};let s;for(;s=t.match(Pg);)t=t.slice(0,t.length-s[0].length),e[s[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):To(t.slice(2)),e]}let Fu=0;const iC=Promise.resolve(),oC=()=>Fu||(iC.then(()=>Fu=0),Fu=Date.now());function rC(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Jn(aC(s,n.value),e,5,[s])};return n.value=t,n.attached=oC(),n}function aC(t,e){if(Fe(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(s=>i=>!i._stopped&&s&&s(i))}else return e}const Tg=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,lC=(t,e,n,s,i,o,r,a,l)=>{const c=i==="svg";e==="class"?GA(t,s,c):e==="style"?QA(t,n,s):Oc(e)?Ah(e)||nC(t,e,n,s,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):cC(t,e,s,c))?(eC(t,e,s,o,r,a,l),(e==="value"||e==="checked"||e==="selected")&&Cg(t,e,s,c,r,e!=="value")):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),Cg(t,e,s,c))};function cC(t,e,n,s){if(s)return!!(e==="innerHTML"||e==="textContent"||e in t&&Tg(e)&&Ye(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Tg(e)&&St(n)?!1:e in t}const Bb=new WeakMap,Vb=new WeakMap,pc=Symbol("_moveCb"),Mg=Symbol("_enterCb"),Hb={name:"TransitionGroup",props:Lt({},UA,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Xh(),s=xb();let i,o;return ob(()=>{if(!i.length)return;const r=t.moveClass||`${t.name||"v"}-move`;if(!pC(i[0].el,n.vnode.el,r))return;i.forEach(dC),i.forEach(hC);const a=i.filter(fC);Nb(),a.forEach(l=>{const c=l.el,u=c.style;Fs(c,r),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[pc]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[pc]=null,hi(c,r))};c.addEventListener("transitionend",d)})}),()=>{const r=Ze(t),a=Rb(r);let l=r.tag||Te;if(i=[],o)for(let c=0;cdelete t.mode;Hb.props;const Bi=Hb;function dC(t){const e=t.el;e[pc]&&e[pc](),e[Mg]&&e[Mg]()}function hC(t){Vb.set(t,t.el.getBoundingClientRect())}function fC(t){const e=Bb.get(t),n=Vb.get(t),s=e.left-n.left,i=e.top-n.top;if(s||i){const o=t.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${i}px)`,o.transitionDuration="0s",t}}function pC(t,e,n){const s=t.cloneNode(),i=t[gr];i&&i.forEach(a=>{a.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&s.classList.add(a)),s.style.display="none";const o=e.nodeType===1?e:e.parentNode;o.appendChild(s);const{hasTransform:r}=Lb(s);return o.removeChild(s),r}const Di=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Fe(e)?n=>Gl(e,n):e};function gC(t){t.target.composing=!0}function Dg(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Xn=Symbol("_assign"),je={created(t,{modifiers:{lazy:e,trim:n,number:s}},i){t[Xn]=Di(i);const o=s||i.props&&i.props.type==="number";zs(t,e?"change":"input",r=>{if(r.target.composing)return;let a=t.value;n&&(a=a.trim()),o&&(a=ac(a)),t[Xn](a)}),n&&zs(t,"change",()=>{t.value=t.value.trim()}),e||(zs(t,"compositionstart",gC),zs(t,"compositionend",Dg),zs(t,"change",Dg))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:s,trim:i,number:o}},r){if(t[Xn]=Di(r),t.composing)return;const a=(o||t.type==="number")&&!/^0\d/.test(t.value)?ac(t.value):t.value,l=e??"";a!==l&&(document.activeElement===t&&t.type!=="range"&&(s&&e===n||i&&t.value.trim()===l)||(t.value=l))}},_n={deep:!0,created(t,e,n){t[Xn]=Di(n),zs(t,"change",()=>{const s=t._modelValue,i=mr(t),o=t.checked,r=t[Xn];if(Fe(s)){const a=Ph(s,i),l=a!==-1;if(o&&!l)r(s.concat(i));else if(!o&&l){const c=[...s];c.splice(a,1),r(c)}}else if(Or(s)){const a=new Set(s);o?a.add(i):a.delete(i),r(a)}else r(jb(t,o))})},mounted:Og,beforeUpdate(t,e,n){t[Xn]=Di(n),Og(t,e,n)}};function Og(t,{value:e,oldValue:n},s){t._modelValue=e,Fe(e)?t.checked=Ph(e,s.props.value)>-1:Or(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=Ao(e,jb(t,!0)))}const mC={created(t,{value:e},n){t.checked=Ao(e,n.props.value),t[Xn]=Di(n),zs(t,"change",()=>{t[Xn](mr(t))})},beforeUpdate(t,{value:e,oldValue:n},s){t[Xn]=Di(s),e!==n&&(t.checked=Ao(e,s.props.value))}},nc={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const i=Or(e);zs(t,"change",()=>{const o=Array.prototype.filter.call(t.options,r=>r.selected).map(r=>n?ac(mr(r)):mr(r));t[Xn](t.multiple?i?new Set(o):o:o[0]),t._assigning=!0,en(()=>{t._assigning=!1})}),t[Xn]=Di(s)},mounted(t,{value:e,modifiers:{number:n}}){Ig(t,e)},beforeUpdate(t,e,n){t[Xn]=Di(n)},updated(t,{value:e,modifiers:{number:n}}){t._assigning||Ig(t,e)}};function Ig(t,e,n){const s=t.multiple,i=Fe(e);if(!(s&&!i&&!Or(e))){for(let o=0,r=t.options.length;oString(u)===String(l)):a.selected=Ph(e,l)>-1}else a.selected=e.has(l);else if(Ao(mr(a),e)){t.selectedIndex!==o&&(t.selectedIndex=o);return}}!s&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function mr(t){return"_value"in t?t._value:t.value}function jb(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const _C={created(t,e,n){El(t,e,n,null,"created")},mounted(t,e,n){El(t,e,n,null,"mounted")},beforeUpdate(t,e,n,s){El(t,e,n,s,"beforeUpdate")},updated(t,e,n,s){El(t,e,n,s,"updated")}};function vC(t,e){switch(t){case"SELECT":return nc;case"TEXTAREA":return je;default:switch(e){case"checkbox":return _n;case"radio":return mC;default:return je}}}function El(t,e,n,s,i){const r=vC(t.tagName,n.props&&n.props.type)[i];r&&r(t,e,n,s)}const bC=["ctrl","shift","alt","meta"],yC={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>bC.some(n=>t[`${n}Key`]&&!e.includes(n))},Oa=(t,e)=>{const n=t._withMods||(t._withMods={}),s=e.join(".");return n[s]||(n[s]=(i,...o)=>{for(let r=0;r{const n=t._withKeys||(t._withKeys={}),s=e.join(".");return n[s]||(n[s]=i=>{if(!("key"in i))return;const o=To(i.key);if(e.some(r=>r===o||wC[r]===o))return t(i)})},kC=Lt({patchProp:lC},YA);let Rg;function Wb(){return Rg||(Rg=_A(kC))}const Lg=(...t)=>{Wb().render(...t)},SC=(...t)=>{const e=Wb().createApp(...t),{mount:n}=e;return e.mount=s=>{const i=AC(s);if(!i)return;const o=e._component;!Ye(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const r=n(i,!1,$C(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},e};function $C(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function AC(t){return St(t)?document.querySelector(t):t}var CC=!1;/*! +**/const dD="http://www.w3.org/2000/svg",hD="http://www.w3.org/1998/Math/MathML",Qs=typeof document<"u"?document:null,Av=Qs&&Qs.createElement("template"),fD={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const s=e==="svg"?Qs.createElementNS(dD,t):e==="mathml"?Qs.createElementNS(hD,t):n?Qs.createElement(t,{is:n}):Qs.createElement(t);return t==="select"&&i&&i.multiple!=null&&s.setAttribute("multiple",i.multiple),s},createText:t=>Qs.createTextNode(t),createComment:t=>Qs.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Qs.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,i,s,r){const o=n?n.previousSibling:e.lastChild;if(s&&(s===r||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{Av.innerHTML=i==="svg"?`${t}`:i==="mathml"?`${t}`:t;const a=Av.content;if(i==="svg"||i==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Sr="transition",sc="animation",yl=Symbol("_vtc"),Rt=(t,{slots:e})=>la(ZR,jE(t),e);Rt.displayName="Transition";const YE={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},gD=Rt.props=ln({},DE,YE),Ro=(t,e=[])=>{We(t)?t.forEach(n=>n(...e)):t&&t(...e)},Mv=t=>t?We(t)?t.some(e=>e.length>1):t.length>1:!1;function jE(t){const e={};for(const H in t)H in YE||(e[H]=t[H]);if(t.css===!1)return e;const{name:n="v",type:i,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=t,p=pD(s),m=p&&p[0],y=p&&p[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:E,onLeave:C,onLeaveCancelled:w,onBeforeAppear:x=v,onAppear:T=b,onAppearCancelled:k=E}=e,A=(H,te,N)=>{Dr(H,te?u:a),Dr(H,te?c:o),N&&N()},P=(H,te)=>{H._isLeaving=!1,Dr(H,d),Dr(H,f),Dr(H,h),te&&te()},F=H=>(te,N)=>{const L=H?T:b,I=()=>A(te,H,N);Ro(L,[te,I]),Iv(()=>{Dr(te,H?l:r),Gs(te,H?u:a),Mv(L)||Pv(te,i,m,I)})};return ln(e,{onBeforeEnter(H){Ro(v,[H]),Gs(H,r),Gs(H,o)},onBeforeAppear(H){Ro(x,[H]),Gs(H,l),Gs(H,c)},onEnter:F(!1),onAppear:F(!0),onLeave(H,te){H._isLeaving=!0;const N=()=>P(H,te);Gs(H,d),Gs(H,h),UE(),Iv(()=>{H._isLeaving&&(Dr(H,d),Gs(H,f),Mv(C)||Pv(H,i,y,N))}),Ro(C,[H,N])},onEnterCancelled(H){A(H,!1),Ro(E,[H])},onAppearCancelled(H){A(H,!0),Ro(k,[H])},onLeaveCancelled(H){P(H),Ro(w,[H])}})}function pD(t){if(t==null)return null;if(At(t))return[Cg(t.enter),Cg(t.leave)];{const e=Cg(t);return[e,e]}}function Cg(t){return Nx(t)}function Gs(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[yl]||(t[yl]=new Set)).add(e)}function Dr(t,e){e.split(/\s+/).forEach(i=>i&&t.classList.remove(i));const n=t[yl];n&&(n.delete(e),n.size||(t[yl]=void 0))}function Iv(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let mD=0;function Pv(t,e,n,i){const s=t._endId=++mD,r=()=>{s===t._endId&&i()};if(n)return setTimeout(r,n);const{type:o,timeout:a,propCount:l}=KE(t,e);if(!o)return i();const c=o+"end";let u=0;const d=()=>{t.removeEventListener(c,h),r()},h=f=>{f.target===t&&++u>=l&&d()};setTimeout(()=>{u(n[p]||"").split(", "),s=i(`${Sr}Delay`),r=i(`${Sr}Duration`),o=Rv(s,r),a=i(`${sc}Delay`),l=i(`${sc}Duration`),c=Rv(a,l);let u=null,d=0,h=0;e===Sr?o>0&&(u=Sr,d=o,h=r.length):e===sc?c>0&&(u=sc,d=c,h=l.length):(d=Math.max(o,c),u=d>0?o>c?Sr:sc:null,h=u?u===Sr?r.length:l.length:0);const f=u===Sr&&/\b(transform|all)(,|$)/.test(i(`${Sr}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:f}}function Rv(t,e){for(;t.lengthDv(n)+Dv(t[i])))}function Dv(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function UE(){return document.body.offsetHeight}function _D(t,e,n){const i=t[yl];i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const ph=Symbol("_vod"),GE=Symbol("_vsh"),th={beforeMount(t,{value:e},{transition:n}){t[ph]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):rc(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:i}){!e!=!n&&(i?e?(i.beforeEnter(t),rc(t,!0),i.enter(t)):i.leave(t,()=>{rc(t,!1)}):rc(t,e))},beforeUnmount(t,{value:e}){rc(t,e)}};function rc(t,e){t.style.display=e?t[ph]:"none",t[GE]=!e}const yD=Symbol(""),vD=/(^|;)\s*display\s*:/;function bD(t,e,n){const i=t.style,s=Kt(n);let r=!1;if(n&&!s){if(e)if(Kt(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&nh(i,a,"")}else for(const o in e)n[o]==null&&nh(i,o,"");for(const o in n)o==="display"&&(r=!0),nh(i,o,n[o])}else if(s){if(e!==n){const o=i[yD];o&&(n+=";"+o),i.cssText=n,r=vD.test(n)}}else e&&t.removeAttribute("style");ph in t&&(t[ph]=r?i.display:"",t[GE]&&(i.display="none"))}const $v=/\s*!important$/;function nh(t,e,n){if(We(n))n.forEach(i=>nh(t,e,i));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const i=wD(t,e);$v.test(n)?t.setProperty(fa(i),n.replace($v,""),"important"):t[i]=n}}const Lv=["Webkit","Moz","ms"],Tg={};function wD(t,e){const n=Tg[e];if(n)return n;let i=Ls(e);if(i!=="filter"&&i in t)return Tg[e]=i;i=Qh(i);for(let s=0;skg||(TD.then(()=>kg=0),kg=Date.now());function AD(t,e){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;ji(MD(i,n.value),e,5,[i])};return n.value=t,n.attached=kD(),n}function MD(t,e){if(We(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(i=>s=>!s._stopped&&i&&i(s))}else return e}const Vv=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,ID=(t,e,n,i,s,r,o,a,l)=>{const c=s==="svg";e==="class"?_D(t,i,c):e==="style"?bD(t,n,i):Zh(e)?qm(e)||SD(t,e,n,i,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):PD(t,e,i,c))?(xD(t,e,i,r,o,a,l),(e==="value"||e==="checked"||e==="selected")&&Nv(t,e,i,c,o,e!=="value")):(e==="true-value"?t._trueValue=i:e==="false-value"&&(t._falseValue=i),Nv(t,e,i,c))};function PD(t,e,n,i){if(i)return!!(e==="innerHTML"||e==="textContent"||e in t&&Vv(e)&&qe(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const s=t.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Vv(e)&&Kt(n)?!1:e in t}const XE=new WeakMap,qE=new WeakMap,mh=Symbol("_moveCb"),zv=Symbol("_enterCb"),ZE={name:"TransitionGroup",props:ln({},gD,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=w_(),i=RE();let s,r;return pE(()=>{if(!s.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!OD(s[0].el,n.vnode.el,o))return;s.forEach(DD),s.forEach($D);const a=s.filter(LD);UE(),a.forEach(l=>{const c=l.el,u=c.style;Gs(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[mh]=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",d),c[mh]=null,Dr(c,o))};c.addEventListener("transitionend",d)})}),()=>{const o=lt(t),a=jE(o);let l=o.tag||$e;if(s=[],r)for(let c=0;cdelete t.mode;ZE.props;const jl=ZE;function DD(t){const e=t.el;e[mh]&&e[mh](),e[zv]&&e[zv]()}function $D(t){qE.set(t,t.el.getBoundingClientRect())}function LD(t){const e=XE.get(t),n=qE.get(t),i=e.left-n.left,s=e.top-n.top;if(i||s){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${i}px,${s}px)`,r.transitionDuration="0s",t}}function OD(t,e,n){const i=t.cloneNode(),s=t[yl];s&&s.forEach(a=>{a.split(/\s+/).forEach(l=>l&&i.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&i.classList.add(a)),i.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(i);const{hasTransform:o}=KE(i);return r.removeChild(i),o}const ro=t=>{const e=t.props["onUpdate:modelValue"]||!1;return We(e)?n=>Zd(e,n):e};function ND(t){t.target.composing=!0}function Wv(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Ki=Symbol("_assign"),Ke={created(t,{modifiers:{lazy:e,trim:n,number:i}},s){t[Ki]=ro(s);const r=i||s.props&&s.props.type==="number";ir(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=ch(a)),t[Ki](a)}),n&&ir(t,"change",()=>{t.value=t.value.trim()}),e||(ir(t,"compositionstart",ND),ir(t,"compositionend",Wv),ir(t,"change",Wv))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:i,trim:s,number:r}},o){if(t[Ki]=ro(o),t.composing)return;const a=(r||t.type==="number")&&!/^0\d/.test(t.value)?ch(t.value):t.value,l=e??"";a!==l&&(document.activeElement===t&&t.type!=="range"&&(i&&e===n||s&&t.value.trim()===l)||(t.value=l))}},Jn={deep:!0,created(t,e,n){t[Ki]=ro(n),ir(t,"change",()=>{const i=t._modelValue,s=vl(t),r=t.checked,o=t[Ki];if(We(i)){const a=Qm(i,s),l=a!==-1;if(r&&!l)o(i.concat(s));else if(!r&&l){const c=[...i];c.splice(a,1),o(c)}}else if(Hl(i)){const a=new Set(i);r?a.add(s):a.delete(s),o(a)}else o(JE(t,r))})},mounted:Hv,beforeUpdate(t,e,n){t[Ki]=ro(n),Hv(t,e,n)}};function Hv(t,{value:e,oldValue:n},i){t._modelValue=e,We(e)?t.checked=Qm(e,i.props.value)>-1:Hl(e)?t.checked=e.has(i.props.value):e!==n&&(t.checked=aa(e,JE(t,!0)))}const FD={created(t,{value:e},n){t.checked=aa(e,n.props.value),t[Ki]=ro(n),ir(t,"change",()=>{t[Ki](vl(t))})},beforeUpdate(t,{value:e,oldValue:n},i){t[Ki]=ro(i),e!==n&&(t.checked=aa(e,i.props.value))}},ih={deep:!0,created(t,{value:e,modifiers:{number:n}},i){const s=Hl(e);ir(t,"change",()=>{const r=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>n?ch(vl(o)):vl(o));t[Ki](t.multiple?s?new Set(r):r:r[0]),t._assigning=!0,Rn(()=>{t._assigning=!1})}),t[Ki]=ro(i)},mounted(t,{value:e,modifiers:{number:n}}){Yv(t,e)},beforeUpdate(t,e,n){t[Ki]=ro(n)},updated(t,{value:e,modifiers:{number:n}}){t._assigning||Yv(t,e)}};function Yv(t,e,n){const i=t.multiple,s=We(e);if(!(i&&!s&&!Hl(e))){for(let r=0,o=t.options.length;rString(u)===String(l)):a.selected=Qm(e,l)>-1}else a.selected=e.has(l);else if(aa(vl(a),e)){t.selectedIndex!==r&&(t.selectedIndex=r);return}}!i&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function vl(t){return"_value"in t?t._value:t.value}function JE(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const QE={created(t,e,n){vd(t,e,n,null,"created")},mounted(t,e,n){vd(t,e,n,null,"mounted")},beforeUpdate(t,e,n,i){vd(t,e,n,i,"beforeUpdate")},updated(t,e,n,i){vd(t,e,n,i,"updated")}};function BD(t,e){switch(t){case"SELECT":return ih;case"TEXTAREA":return Ke;default:switch(e){case"checkbox":return Jn;case"radio":return FD;default:return Ke}}}function vd(t,e,n,i,s){const o=BD(t.tagName,n.props&&n.props.type)[s];o&&o(t,e,n,i)}const VD=["ctrl","shift","alt","meta"],zD={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>VD.some(n=>t[`${n}Key`]&&!e.includes(n))},iu=(t,e)=>{const n=t._withMods||(t._withMods={}),i=e.join(".");return n[i]||(n[i]=(s,...r)=>{for(let o=0;o{const n=t._withKeys||(t._withKeys={}),i=e.join(".");return n[i]||(n[i]=s=>{if(!("key"in s))return;const r=fa(s.key);if(e.some(o=>o===r||WD[o]===r))return t(s)})},HD=ln({patchProp:ID},fD);let jv;function tS(){return jv||(jv=VR(HD))}const Kv=(...t)=>{tS().render(...t)},YD=(...t)=>{const e=tS().createApp(...t),{mount:n}=e;return e.mount=i=>{const s=KD(i);if(!s)return;const r=e._component;!qe(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,jD(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},e};function jD(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function KD(t){return Kt(t)?document.querySelector(t):t}var UD=!1;/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let zb;const Kc=t=>zb=t,Yb=Symbol();function Ld(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var ga;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(ga||(ga={}));function EC(){const t=Dv(!0),e=t.run(()=>ve({}));let n=[],s=[];const i=Bc({install(o){Kc(i),i._a=o,o.provide(Yb,i),o.config.globalProperties.$pinia=i,s.forEach(r=>n.push(r)),s=[]},use(o){return!this._a&&!CC?s.push(o):n.push(o),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return i}const Ub=()=>{};function Ng(t,e,n,s=Ub){t.push(e);const i=()=>{const o=t.indexOf(e);o>-1&&(t.splice(o,1),s())};return!n&&Lc()&&Th(i),i}function Uo(t,...e){t.slice().forEach(n=>{n(...e)})}const PC=t=>t();function Nd(t,e){t instanceof Map&&e instanceof Map&&e.forEach((n,s)=>t.set(s,n)),t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const s=e[n],i=t[n];Ld(i)&&Ld(s)&&t.hasOwnProperty(n)&&!Pt(s)&&!bo(s)?t[n]=Nd(i,s):t[n]=s}return t}const TC=Symbol();function MC(t){return!Ld(t)||!t.hasOwnProperty(TC)}const{assign:fi}=Object;function DC(t){return!!(Pt(t)&&t.effect)}function OC(t,e,n,s){const{state:i,actions:o,getters:r}=e,a=n.state.value[t];let l;function c(){a||(n.state.value[t]=i?i():{});const u=M$(n.state.value[t]);return fi(u,o,Object.keys(r||{}).reduce((d,f)=>(d[f]=Bc(_e(()=>{Kc(n);const g=n._s.get(t);return r[f].call(g,g)})),d),{}))}return l=Kb(t,c,e,n,s,!0),l}function Kb(t,e,n={},s,i,o){let r;const a=fi({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],g;const _=s.state.value[t];!o&&!_&&(s.state.value[t]={}),ve({});let m;function b(E){let T;c=u=!1,typeof E=="function"?(E(s.state.value[t]),T={type:ga.patchFunction,storeId:t,events:g}):(Nd(s.state.value[t],E),T={type:ga.patchObject,payload:E,storeId:t,events:g});const C=m=Symbol();en().then(()=>{m===C&&(c=!0)}),u=!0,Uo(d,T,s.state.value[t])}const w=o?function(){const{state:T}=n,C=T?T():{};this.$patch(B=>{fi(B,C)})}:Ub;function $(){r.stop(),d=[],f=[],s._s.delete(t)}function A(E,T){return function(){Kc(s);const C=Array.from(arguments),B=[],J=[];function ae(I){B.push(I)}function Y(I){J.push(I)}Uo(f,{args:C,name:E,store:x,after:ae,onError:Y});let L;try{L=T.apply(this&&this.$id===t?this:x,C)}catch(I){throw Uo(J,I),I}return L instanceof Promise?L.then(I=>(Uo(B,I),I)).catch(I=>(Uo(J,I),Promise.reject(I))):(Uo(B,L),L)}}const D={_p:s,$id:t,$onAction:Ng.bind(null,f),$patch:b,$reset:w,$subscribe(E,T={}){const C=Ng(d,E,T.detached,()=>B()),B=r.run(()=>Bt(()=>s.state.value[t],J=>{(T.flush==="sync"?u:c)&&E({storeId:t,type:ga.direct,events:g},J)},fi({},l,T)));return C},$dispose:$},x=Ts(D);s._s.set(t,x);const S=(s._a&&s._a.runWithContext||PC)(()=>s._e.run(()=>(r=Dv()).run(e)));for(const E in S){const T=S[E];if(Pt(T)&&!DC(T)||bo(T))o||(_&&MC(T)&&(Pt(T)?T.value=_[E]:Nd(T,_[E])),s.state.value[t][E]=T);else if(typeof T=="function"){const C=A(E,T);S[E]=C,a.actions[E]=T}}return fi(x,S),fi(Ze(x),S),Object.defineProperty(x,"$state",{get:()=>s.state.value[t],set:E=>{b(T=>{fi(T,E)})}}),s._p.forEach(E=>{fi(x,r.run(()=>E({store:x,app:s._a,pinia:s,options:a})))}),_&&o&&n.hydrate&&n.hydrate(x.$state,_),c=!0,u=!0,x}function Qh(t,e,n){let s,i;const o=typeof e=="function";typeof t=="string"?(s=t,i=o?n:e):(i=t,s=t.id);function r(a,l){const c=dA();return a=a||(c?as(Yb,null):null),a&&Kc(a),a=zb,a._s.has(s)||(o?Kb(s,e,i,a):OC(s,i,a)),a._s.get(s)}return r.$id=s,r}/*! + */let nS;const hf=t=>nS=t,iS=Symbol();function Kp(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var Fc;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Fc||(Fc={}));function GD(){const t=Wx(!0),e=t.run(()=>we({}));let n=[],i=[];const s=sf({install(r){hf(s),s._a=r,r.provide(iS,s),r.config.globalProperties.$pinia=s,i.forEach(o=>n.push(o)),i=[]},use(r){return!this._a&&!UD?i.push(r):n.push(r),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return s}const sS=()=>{};function Uv(t,e,n,i=sS){t.push(e);const s=()=>{const r=t.indexOf(e);r>-1&&(t.splice(r,1),i())};return!n&&ef()&&e_(s),s}function Ia(t,...e){t.slice().forEach(n=>{n(...e)})}const XD=t=>t();function Up(t,e){t instanceof Map&&e instanceof Map&&e.forEach((n,i)=>t.set(i,n)),t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const i=e[n],s=t[n];Kp(s)&&Kp(i)&&t.hasOwnProperty(n)&&!Qt(i)&&!ea(i)?t[n]=Up(s,i):t[n]=i}return t}const qD=Symbol();function ZD(t){return!Kp(t)||!t.hasOwnProperty(qD)}const{assign:$r}=Object;function JD(t){return!!(Qt(t)&&t.effect)}function QD(t,e,n,i){const{state:s,actions:r,getters:o}=e,a=n.state.value[t];let l;function c(){a||(n.state.value[t]=s?s():{});const u=eR(n.state.value[t]);return $r(u,r,Object.keys(o||{}).reduce((d,h)=>(d[h]=sf(be(()=>{hf(n);const f=n._s.get(t);return o[h].call(f,f)})),d),{}))}return l=rS(t,c,e,n,i,!0),l}function rS(t,e,n={},i,s,r){let o;const a=$r({actions:{}},n),l={deep:!0};let c,u,d=[],h=[],f;const p=i.state.value[t];!r&&!p&&(i.state.value[t]={}),we({});let m;function y(k){let A;c=u=!1,typeof k=="function"?(k(i.state.value[t]),A={type:Fc.patchFunction,storeId:t,events:f}):(Up(i.state.value[t],k),A={type:Fc.patchObject,payload:k,storeId:t,events:f});const P=m=Symbol();Rn().then(()=>{m===P&&(c=!0)}),u=!0,Ia(d,A,i.state.value[t])}const v=r?function(){const{state:A}=n,P=A?A():{};this.$patch(F=>{$r(F,P)})}:sS;function b(){o.stop(),d=[],h=[],i._s.delete(t)}function E(k,A){return function(){hf(i);const P=Array.from(arguments),F=[],H=[];function te(I){F.push(I)}function N(I){H.push(I)}Ia(h,{args:P,name:k,store:w,after:te,onError:N});let L;try{L=A.apply(this&&this.$id===t?this:w,P)}catch(I){throw Ia(H,I),I}return L instanceof Promise?L.then(I=>(Ia(F,I),I)).catch(I=>(Ia(H,I),Promise.reject(I))):(Ia(F,L),L)}}const C={_p:i,$id:t,$onAction:Uv.bind(null,h),$patch:y,$reset:v,$subscribe(k,A={}){const P=Uv(d,k,A.detached,()=>F()),F=o.run(()=>fn(()=>i.state.value[t],H=>{(A.flush==="sync"?u:c)&&k({storeId:t,type:Fc.direct,events:f},H)},$r({},l,A)));return P},$dispose:b},w=Ns(C);i._s.set(t,w);const T=(i._a&&i._a.runWithContext||XD)(()=>i._e.run(()=>(o=Wx()).run(e)));for(const k in T){const A=T[k];if(Qt(A)&&!JD(A)||ea(A))r||(p&&ZD(A)&&(Qt(A)?A.value=p[k]:Up(A,p[k])),i.state.value[t][k]=A);else if(typeof A=="function"){const P=E(k,A);T[k]=P,a.actions[k]=A}}return $r(w,T),$r(lt(w),T),Object.defineProperty(w,"$state",{get:()=>i.state.value[t],set:k=>{y(A=>{$r(A,k)})}}),i._p.forEach(k=>{$r(w,o.run(()=>k({store:w,app:i._a,pinia:i,options:a})))}),p&&r&&n.hydrate&&n.hydrate(w.$state,p),c=!0,u=!0,w}function x_(t,e,n){let i,s;const r=typeof e=="function";typeof t=="string"?(i=t,s=r?n:e):(s=t,i=t.id);function o(a,l){const c=$R();return a=a||(c?cs(iS,null):null),a&&hf(a),a=nS,a._s.has(i)||(r?rS(i,e,s,a):QD(i,s,a)),a._s.get(i)}return o.$id=i,o}/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const Zo=typeof window<"u";function IC(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const lt=Object.assign;function Bu(t,e){const n={};for(const s in e){const i=e[s];n[s]=cs(i)?i.map(t):t(i)}return n}const ma=()=>{},cs=Array.isArray,RC=/\/$/,LC=t=>t.replace(RC,"");function Vu(t,e,n="/"){let s,i={},o="",r="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(s=e.slice(0,l),o=e.slice(l+1,a>-1?a:e.length),i=t(o)),a>-1&&(s=s||e.slice(0,a),r=e.slice(a,e.length)),s=VC(s??e,n),{fullPath:s+(o&&"?")+o+r,path:s,query:i,hash:r}}function NC(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function Fg(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function FC(t,e,n){const s=e.matched.length-1,i=n.matched.length-1;return s>-1&&s===i&&_r(e.matched[s],n.matched[i])&&qb(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function _r(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function qb(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!BC(t[n],e[n]))return!1;return!0}function BC(t,e){return cs(t)?Bg(t,e):cs(e)?Bg(e,t):t===e}function Bg(t,e){return cs(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function VC(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),s=t.split("/"),i=s[s.length-1];(i===".."||i===".")&&s.push("");let o=n.length-1,r,a;for(r=0;r1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(r-(r===s.length?1:0)).join("/")}var Ia;(function(t){t.pop="pop",t.push="push"})(Ia||(Ia={}));var _a;(function(t){t.back="back",t.forward="forward",t.unknown=""})(_a||(_a={}));function HC(t){if(!t)if(Zo){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),LC(t)}const jC=/^[^#]+#/;function WC(t,e){return t.replace(jC,"#")+e}function zC(t,e){const n=document.documentElement.getBoundingClientRect(),s=t.getBoundingClientRect();return{behavior:e.behavior,left:s.left-n.left-(e.left||0),top:s.top-n.top-(e.top||0)}}const qc=()=>({left:window.pageXOffset,top:window.pageYOffset});function YC(t){let e;if("el"in t){const n=t.el,s=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=zC(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function Vg(t,e){return(history.state?history.state.position-e:-1)+t}const Fd=new Map;function UC(t,e){Fd.set(t,e)}function KC(t){const e=Fd.get(t);return Fd.delete(t),e}let qC=()=>location.protocol+"//"+location.host;function Gb(t,e){const{pathname:n,search:s,hash:i}=e,o=t.indexOf("#");if(o>-1){let a=i.includes(t.slice(o))?t.slice(o).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),Fg(l,"")}return Fg(n,t)+s+i}function GC(t,e,n,s){let i=[],o=[],r=null;const a=({state:f})=>{const g=Gb(t,location),_=n.value,m=e.value;let b=0;if(f){if(n.value=g,e.value=f,r&&r===_){r=null;return}b=m?f.position-m.position:0}else s(g);i.forEach(w=>{w(n.value,_,{delta:b,type:Ia.pop,direction:b?b>0?_a.forward:_a.back:_a.unknown})})};function l(){r=n.value}function c(f){i.push(f);const g=()=>{const _=i.indexOf(f);_>-1&&i.splice(_,1)};return o.push(g),g}function u(){const{history:f}=window;f.state&&f.replaceState(lt({},f.state,{scroll:qc()}),"")}function d(){for(const f of o)f();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function Hg(t,e,n,s=!1,i=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:i?qc():null}}function JC(t){const{history:e,location:n}=window,s={value:Gb(t,n)},i={value:e.state};i.value||o(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function o(l,c,u){const d=t.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?t:t.slice(d))+l:qC()+t+l;try{e[u?"replaceState":"pushState"](c,"",f),i.value=c}catch(g){console.error(g),n[u?"replace":"assign"](f)}}function r(l,c){const u=lt({},e.state,Hg(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});o(l,u,!0),s.value=l}function a(l,c){const u=lt({},i.value,e.state,{forward:l,scroll:qc()});o(u.current,u,!0);const d=lt({},Hg(s.value,l,null),{position:u.position+1},c);o(l,d,!1),s.value=l}return{location:s,state:i,push:a,replace:r}}function XC(t){t=HC(t);const e=JC(t),n=GC(t,e.state,e.location,e.replace);function s(o,r=!0){r||n.pauseListeners(),history.go(o)}const i=lt({location:"",base:t,go:s,createHref:WC.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function QC(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),XC(t)}function ZC(t){return typeof t=="string"||t&&typeof t=="object"}function Jb(t){return typeof t=="string"||typeof t=="symbol"}const ci={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Xb=Symbol("");var jg;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(jg||(jg={}));function vr(t,e){return lt(new Error,{type:t,[Xb]:!0},e)}function Ls(t,e){return t instanceof Error&&Xb in t&&(e==null||!!(t.type&e))}const Wg="[^/]+?",eE={sensitive:!1,strict:!1,start:!0,end:!0},tE=/[.+*?^${}()[\]/\\]/g;function nE(t,e){const n=lt({},eE,e),s=[];let i=n.start?"^":"";const o=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let d=0;de.length?e.length===1&&e[0]===80?1:-1:0}function iE(t,e){let n=0;const s=t.score,i=e.score;for(;n0&&e[e.length-1]<0}const oE={type:0,value:""},rE=/[a-zA-Z0-9_]/;function aE(t){if(!t)return[[]];if(t==="/")return[[oE]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=0,s=n;const i=[];let o;function r(){o&&i.push(o),o=[]}let a=0,l,c="",u="";function d(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a{r($)}:ma}function r(u){if(Jb(u)){const d=s.get(u);d&&(s.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(r),d.alias.forEach(r))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&s.delete(u.record.name),u.children.forEach(r),u.alias.forEach(r))}}function a(){return n}function l(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!Qb(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!Ug(u)&&s.set(u.record.name,u)}function c(u,d){let f,g={},_,m;if("name"in u&&u.name){if(f=s.get(u.name),!f)throw vr(1,{location:u});m=f.record.name,g=lt(Yg(d.params,f.keys.filter($=>!$.optional).map($=>$.name)),u.params&&Yg(u.params,f.keys.map($=>$.name))),_=f.stringify(g)}else if("path"in u)_=u.path,f=n.find($=>$.re.test(_)),f&&(g=f.parse(_),m=f.record.name);else{if(f=d.name?s.get(d.name):n.find($=>$.re.test(d.path)),!f)throw vr(1,{location:u,currentLocation:d});m=f.record.name,g=lt({},d.params,u.params),_=f.stringify(g)}const b=[];let w=f;for(;w;)b.unshift(w.record),w=w.parent;return{name:m,path:_,params:g,matched:b,meta:hE(b)}}return t.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:r,getRoutes:a,getRecordMatcher:i}}function Yg(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function uE(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:dE(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function dE(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const s in t.components)e[s]=typeof n=="object"?n[s]:n;return e}function Ug(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function hE(t){return t.reduce((e,n)=>lt(e,n.meta),{})}function Kg(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function Qb(t,e){return e.children.some(n=>n===t||Qb(t,n))}const Zb=/#/g,fE=/&/g,pE=/\//g,gE=/=/g,mE=/\?/g,ey=/\+/g,_E=/%5B/g,vE=/%5D/g,ty=/%5E/g,bE=/%60/g,ny=/%7B/g,yE=/%7C/g,sy=/%7D/g,wE=/%20/g;function Zh(t){return encodeURI(""+t).replace(yE,"|").replace(_E,"[").replace(vE,"]")}function xE(t){return Zh(t).replace(ny,"{").replace(sy,"}").replace(ty,"^")}function Bd(t){return Zh(t).replace(ey,"%2B").replace(wE,"+").replace(Zb,"%23").replace(fE,"%26").replace(bE,"`").replace(ny,"{").replace(sy,"}").replace(ty,"^")}function kE(t){return Bd(t).replace(gE,"%3D")}function SE(t){return Zh(t).replace(Zb,"%23").replace(mE,"%3F")}function $E(t){return t==null?"":SE(t).replace(pE,"%2F")}function gc(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function AE(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let i=0;io&&Bd(o)):[s&&Bd(s)]).forEach(o=>{o!==void 0&&(e+=(e.length?"&":"")+n,o!=null&&(e+="="+o))})}return e}function CE(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=cs(s)?s.map(i=>i==null?null:""+i):s==null?s:""+s)}return e}const EE=Symbol(""),Gg=Symbol(""),ef=Symbol(""),tf=Symbol(""),Vd=Symbol("");function Kr(){let t=[];function e(s){return t.push(s),()=>{const i=t.indexOf(s);i>-1&&t.splice(i,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function _i(t,e,n,s,i){const o=s&&(s.enterCallbacks[i]=s.enterCallbacks[i]||[]);return()=>new Promise((r,a)=>{const l=d=>{d===!1?a(vr(4,{from:n,to:e})):d instanceof Error?a(d):ZC(d)?a(vr(2,{from:e,to:d})):(o&&s.enterCallbacks[i]===o&&typeof d=="function"&&o.push(d),r())},c=t.call(s&&s.instances[i],e,n,l);let u=Promise.resolve(c);t.length<3&&(u=u.then(l)),u.catch(d=>a(d))})}function Hu(t,e,n,s){const i=[];for(const o of t)for(const r in o.components){let a=o.components[r];if(!(e!=="beforeRouteEnter"&&!o.instances[r]))if(PE(a)){const c=(a.__vccOpts||a)[e];c&&i.push(_i(c,n,s,o,r))}else{let l=a();i.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${r}" at "${o.path}"`));const u=IC(c)?c.default:c;o.components[r]=u;const f=(u.__vccOpts||u)[e];return f&&_i(f,n,s,o,r)()}))}}return i}function PE(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Jg(t){const e=as(ef),n=as(tf),s=_e(()=>e.resolve(q(t.to))),i=_e(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(_r.bind(null,u));if(f>-1)return f;const g=Xg(l[c-2]);return c>1&&Xg(u)===g&&d[d.length-1].path!==g?d.findIndex(_r.bind(null,l[c-2])):f}),o=_e(()=>i.value>-1&&OE(n.params,s.value.params)),r=_e(()=>i.value>-1&&i.value===n.matched.length-1&&qb(n.params,s.value.params));function a(l={}){return DE(l)?e[q(t.replace)?"replace":"push"](q(t.to)).catch(ma):Promise.resolve()}return{route:s,href:_e(()=>s.value.href),isActive:o,isExactActive:r,navigate:a}}const TE=Nt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Jg,setup(t,{slots:e}){const n=Ts(Jg(t)),{options:s}=as(ef),i=_e(()=>({[Qg(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Qg(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=e.default&&e.default(n);return t.custom?o:Co("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),ME=TE;function DE(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function OE(t,e){for(const n in e){const s=e[n],i=t[n];if(typeof s=="string"){if(s!==i)return!1}else if(!cs(i)||i.length!==s.length||s.some((o,r)=>o!==i[r]))return!1}return!0}function Xg(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Qg=(t,e,n)=>t??e??n,IE=Nt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=as(Vd),i=_e(()=>t.route||s.value),o=as(Gg,0),r=_e(()=>{let c=q(o);const{matched:u}=i.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=_e(()=>i.value.matched[r.value]);Xl(Gg,_e(()=>r.value+1)),Xl(EE,a),Xl(Vd,i);const l=ve();return Bt(()=>[l.value,a.value,t.name],([c,u,d],[f,g,_])=>{u&&(u.instances[d]=c,g&&g!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),c&&u&&(!g||!_r(u,g)||!f)&&(u.enterCallbacks[d]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=i.value,u=t.name,d=a.value,f=d&&d.components[u];if(!f)return Zg(n.default,{Component:f,route:c});const g=d.props[u],_=g?g===!0?c.params:typeof g=="function"?g(c):g:null,b=Co(f,lt({},_,e,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return Zg(n.default,{Component:b,route:c})||b}}});function Zg(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const iy=IE;function RE(t){const e=cE(t.routes,t),n=t.parseQuery||AE,s=t.stringifyQuery||qg,i=t.history,o=Kr(),r=Kr(),a=Kr(),l=Fh(ci);let c=ci;Zo&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Bu.bind(null,P=>""+P),d=Bu.bind(null,$E),f=Bu.bind(null,gc);function g(P,se){let ue,xe;return Jb(P)?(ue=e.getRecordMatcher(P),xe=se):xe=P,e.addRoute(xe,ue)}function _(P){const se=e.getRecordMatcher(P);se&&e.removeRoute(se)}function m(){return e.getRoutes().map(P=>P.record)}function b(P){return!!e.getRecordMatcher(P)}function w(P,se){if(se=lt({},se||l.value),typeof P=="string"){const O=Vu(n,P,se.path),H=e.resolve({path:O.path},se),W=i.createHref(O.fullPath);return lt(O,H,{params:f(H.params),hash:gc(O.hash),redirectedFrom:void 0,href:W})}let ue;if("path"in P)ue=lt({},P,{path:Vu(n,P.path,se.path).path});else{const O=lt({},P.params);for(const H in O)O[H]==null&&delete O[H];ue=lt({},P,{params:d(O)}),se.params=d(se.params)}const xe=e.resolve(ue,se),N=P.hash||"";xe.params=u(f(xe.params));const he=NC(s,lt({},P,{hash:xE(N),path:xe.path})),v=i.createHref(he);return lt({fullPath:he,hash:N,query:s===qg?CE(P.query):P.query||{}},xe,{redirectedFrom:void 0,href:v})}function $(P){return typeof P=="string"?Vu(n,P,l.value.path):lt({},P)}function A(P,se){if(c!==P)return vr(8,{from:se,to:P})}function D(P){return S(P)}function x(P){return D(lt($(P),{replace:!0}))}function y(P){const se=P.matched[P.matched.length-1];if(se&&se.redirect){const{redirect:ue}=se;let xe=typeof ue=="function"?ue(P):ue;return typeof xe=="string"&&(xe=xe.includes("?")||xe.includes("#")?xe=$(xe):{path:xe},xe.params={}),lt({query:P.query,hash:P.hash,params:"path"in xe?{}:P.params},xe)}}function S(P,se){const ue=c=w(P),xe=l.value,N=P.state,he=P.force,v=P.replace===!0,O=y(ue);if(O)return S(lt($(O),{state:typeof O=="object"?lt({},N,O.state):N,force:he,replace:v}),se||ue);const H=ue;H.redirectedFrom=se;let W;return!he&&FC(s,xe,ue)&&(W=vr(16,{to:H,from:xe}),ye(xe,xe,!0,!1)),(W?Promise.resolve(W):C(H,xe)).catch(ie=>Ls(ie)?Ls(ie,2)?ie:le(ie):Q(ie,H,xe)).then(ie=>{if(ie){if(Ls(ie,2))return S(lt({replace:v},$(ie.to),{state:typeof ie.to=="object"?lt({},N,ie.to.state):N,force:he}),se||H)}else ie=J(H,xe,!0,v,N);return B(H,xe,ie),ie})}function E(P,se){const ue=A(P,se);return ue?Promise.reject(ue):Promise.resolve()}function T(P){const se=R.values().next().value;return se&&typeof se.runWithContext=="function"?se.runWithContext(P):P()}function C(P,se){let ue;const[xe,N,he]=LE(P,se);ue=Hu(xe.reverse(),"beforeRouteLeave",P,se);for(const O of xe)O.leaveGuards.forEach(H=>{ue.push(_i(H,P,se))});const v=E.bind(null,P,se);return ue.push(v),oe(ue).then(()=>{ue=[];for(const O of o.list())ue.push(_i(O,P,se));return ue.push(v),oe(ue)}).then(()=>{ue=Hu(N,"beforeRouteUpdate",P,se);for(const O of N)O.updateGuards.forEach(H=>{ue.push(_i(H,P,se))});return ue.push(v),oe(ue)}).then(()=>{ue=[];for(const O of he)if(O.beforeEnter)if(cs(O.beforeEnter))for(const H of O.beforeEnter)ue.push(_i(H,P,se));else ue.push(_i(O.beforeEnter,P,se));return ue.push(v),oe(ue)}).then(()=>(P.matched.forEach(O=>O.enterCallbacks={}),ue=Hu(he,"beforeRouteEnter",P,se),ue.push(v),oe(ue))).then(()=>{ue=[];for(const O of r.list())ue.push(_i(O,P,se));return ue.push(v),oe(ue)}).catch(O=>Ls(O,8)?O:Promise.reject(O))}function B(P,se,ue){a.list().forEach(xe=>T(()=>xe(P,se,ue)))}function J(P,se,ue,xe,N){const he=A(P,se);if(he)return he;const v=se===ci,O=Zo?history.state:{};ue&&(xe||v?i.replace(P.fullPath,lt({scroll:v&&O&&O.scroll},N)):i.push(P.fullPath,N)),l.value=P,ye(P,se,ue,v),le()}let ae;function Y(){ae||(ae=i.listen((P,se,ue)=>{if(!ee.listening)return;const xe=w(P),N=y(xe);if(N){S(lt(N,{replace:!0}),xe).catch(ma);return}c=xe;const he=l.value;Zo&&UC(Vg(he.fullPath,ue.delta),qc()),C(xe,he).catch(v=>Ls(v,12)?v:Ls(v,2)?(S(v.to,xe).then(O=>{Ls(O,20)&&!ue.delta&&ue.type===Ia.pop&&i.go(-1,!1)}).catch(ma),Promise.reject()):(ue.delta&&i.go(-ue.delta,!1),Q(v,xe,he))).then(v=>{v=v||J(xe,he,!1),v&&(ue.delta&&!Ls(v,8)?i.go(-ue.delta,!1):ue.type===Ia.pop&&Ls(v,20)&&i.go(-1,!1)),B(xe,he,v)}).catch(ma)}))}let L=Kr(),I=Kr(),V;function Q(P,se,ue){le(P);const xe=I.list();return xe.length?xe.forEach(N=>N(P,se,ue)):console.error(P),Promise.reject(P)}function Z(){return V&&l.value!==ci?Promise.resolve():new Promise((P,se)=>{L.add([P,se])})}function le(P){return V||(V=!P,Y(),L.list().forEach(([se,ue])=>P?ue(P):se()),L.reset()),P}function ye(P,se,ue,xe){const{scrollBehavior:N}=t;if(!Zo||!N)return Promise.resolve();const he=!ue&&KC(Vg(P.fullPath,0))||(xe||!ue)&&history.state&&history.state.scroll||null;return en().then(()=>N(P,se,he)).then(v=>v&&YC(v)).catch(v=>Q(v,P,se))}const U=P=>i.go(P);let X;const R=new Set,ee={currentRoute:l,listening:!0,addRoute:g,removeRoute:_,hasRoute:b,getRoutes:m,resolve:w,options:t,push:D,replace:x,go:U,back:()=>U(-1),forward:()=>U(1),beforeEach:o.add,beforeResolve:r.add,afterEach:a.add,onError:I.add,isReady:Z,install(P){const se=this;P.component("RouterLink",ME),P.component("RouterView",iy),P.config.globalProperties.$router=se,Object.defineProperty(P.config.globalProperties,"$route",{enumerable:!0,get:()=>q(l)}),Zo&&!X&&l.value===ci&&(X=!0,D(i.location).catch(N=>{}));const ue={};for(const N in ci)Object.defineProperty(ue,N,{get:()=>l.value[N],enumerable:!0});P.provide(ef,se),P.provide(tf,zv(ue)),P.provide(Vd,l);const xe=P.unmount;R.add(P),P.unmount=function(){R.delete(P),R.size<1&&(c=ci,ae&&ae(),ae=null,l.value=ci,X=!1,V=!1),xe()}}};function oe(P){return P.reduce((se,ue)=>se.then(()=>T(ue)),Promise.resolve())}return ee}function LE(t,e){const n=[],s=[],i=[],o=Math.max(e.matched.length,t.matched.length);for(let r=0;r_r(c,a))?s.push(a):n.push(a));const l=t.matched[r];l&&(e.matched.find(c=>_r(c,l))||i.push(l))}return[n,s,i]}function NE(){return as(tf)}const FE={getCookie(t){const n=`; ${document.cookie}`.split(`; ${t}=`);if(n.length===2)return n.pop().split(";").shift()}};Qh("WGDashboardStore",{state:()=>({WireguardConfigurations:void 0,DashboardConfiguration:void 0}),actions:{async getDashboardConfiguration(){await wt("/api/getDashboardConfiguration",{},t=>{console.log(t.status),t.status&&(this.DashboardConfiguration=t.data)})}}});const em="[a-fA-F\\d:]",bi=t=>t&&t.includeBoundaries?`(?:(?<=\\s|^)(?=${em})|(?<=${em})(?=\\s|$))`:"",ns="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",Ft="[a-fA-F\\d]{1,4}",Gc=` - + */const ja=typeof window<"u";function e$(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const St=Object.assign;function Ag(t,e){const n={};for(const i in e){const s=e[i];n[i]=hs(s)?s.map(t):t(s)}return n}const Bc=()=>{},hs=Array.isArray,t$=/\/$/,n$=t=>t.replace(t$,"");function Mg(t,e,n="/"){let i,s={},r="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(i=e.slice(0,l),r=e.slice(l+1,a>-1?a:e.length),s=t(r)),a>-1&&(i=i||e.slice(0,a),o=e.slice(a,e.length)),i=o$(i??e,n),{fullPath:i+(r&&"?")+r+o,path:i,query:s,hash:o}}function i$(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function Gv(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function s$(t,e,n){const i=e.matched.length-1,s=n.matched.length-1;return i>-1&&i===s&&bl(e.matched[i],n.matched[s])&&oS(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function bl(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function oS(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!r$(t[n],e[n]))return!1;return!0}function r$(t,e){return hs(t)?Xv(t,e):hs(e)?Xv(e,t):t===e}function Xv(t,e){return hs(e)?t.length===e.length&&t.every((n,i)=>n===e[i]):t.length===1&&t[0]===e}function o$(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),i=t.split("/"),s=i[i.length-1];(s===".."||s===".")&&i.push("");let r=n.length-1,o,a;for(o=0;o1&&r--;else break;return n.slice(0,r).join("/")+"/"+i.slice(o-(o===i.length?1:0)).join("/")}var su;(function(t){t.pop="pop",t.push="push"})(su||(su={}));var Vc;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Vc||(Vc={}));function a$(t){if(!t)if(ja){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),n$(t)}const l$=/^[^#]+#/;function c$(t,e){return t.replace(l$,"#")+e}function u$(t,e){const n=document.documentElement.getBoundingClientRect(),i=t.getBoundingClientRect();return{behavior:e.behavior,left:i.left-n.left-(e.left||0),top:i.top-n.top-(e.top||0)}}const ff=()=>({left:window.pageXOffset,top:window.pageYOffset});function d$(t){let e;if("el"in t){const n=t.el,i=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;e=u$(s,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function qv(t,e){return(history.state?history.state.position-e:-1)+t}const Gp=new Map;function h$(t,e){Gp.set(t,e)}function f$(t){const e=Gp.get(t);return Gp.delete(t),e}let g$=()=>location.protocol+"//"+location.host;function aS(t,e){const{pathname:n,search:i,hash:s}=e,r=t.indexOf("#");if(r>-1){let a=s.includes(t.slice(r))?t.slice(r).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Gv(l,"")}return Gv(n,t)+i+s}function p$(t,e,n,i){let s=[],r=[],o=null;const a=({state:h})=>{const f=aS(t,location),p=n.value,m=e.value;let y=0;if(h){if(n.value=f,e.value=h,o&&o===p){o=null;return}y=m?h.position-m.position:0}else i(f);s.forEach(v=>{v(n.value,p,{delta:y,type:su.pop,direction:y?y>0?Vc.forward:Vc.back:Vc.unknown})})};function l(){o=n.value}function c(h){s.push(h);const f=()=>{const p=s.indexOf(h);p>-1&&s.splice(p,1)};return r.push(f),f}function u(){const{history:h}=window;h.state&&h.replaceState(St({},h.state,{scroll:ff()}),"")}function d(){for(const h of r)h();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function Zv(t,e,n,i=!1,s=!1){return{back:t,current:e,forward:n,replaced:i,position:window.history.length,scroll:s?ff():null}}function m$(t){const{history:e,location:n}=window,i={value:aS(t,n)},s={value:e.state};s.value||r(i.value,{back:null,current:i.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const d=t.indexOf("#"),h=d>-1?(n.host&&document.querySelector("base")?t:t.slice(d))+l:g$()+t+l;try{e[u?"replaceState":"pushState"](c,"",h),s.value=c}catch(f){console.error(f),n[u?"replace":"assign"](h)}}function o(l,c){const u=St({},e.state,Zv(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});r(l,u,!0),i.value=l}function a(l,c){const u=St({},s.value,e.state,{forward:l,scroll:ff()});r(u.current,u,!0);const d=St({},Zv(i.value,l,null),{position:u.position+1},c);r(l,d,!1),i.value=l}return{location:i,state:s,push:a,replace:o}}function _$(t){t=a$(t);const e=m$(t),n=p$(t,e.state,e.location,e.replace);function i(r,o=!0){o||n.pauseListeners(),history.go(r)}const s=St({location:"",base:t,go:i,createHref:c$.bind(null,t)},e,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>e.state.value}),s}function y$(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),_$(t)}function v$(t){return typeof t=="string"||t&&typeof t=="object"}function lS(t){return typeof t=="string"||typeof t=="symbol"}const Cr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},cS=Symbol("");var Jv;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Jv||(Jv={}));function wl(t,e){return St(new Error,{type:t,[cS]:!0},e)}function Ys(t,e){return t instanceof Error&&cS in t&&(e==null||!!(t.type&e))}const Qv="[^/]+?",b$={sensitive:!1,strict:!1,start:!0,end:!0},w$=/[.+*?^${}()[\]/\\]/g;function x$(t,e){const n=St({},b$,e),i=[];let s=n.start?"^":"";const r=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let d=0;de.length?e.length===1&&e[0]===80?1:-1:0}function S$(t,e){let n=0;const i=t.score,s=e.score;for(;n0&&e[e.length-1]<0}const C$={type:0,value:""},T$=/[a-zA-Z0-9_]/;function k$(t){if(!t)return[[]];if(t==="/")return[[C$]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(f){throw new Error(`ERR (${n})/"${c}": ${f}`)}let n=0,i=n;const s=[];let r;function o(){r&&s.push(r),r=[]}let a=0,l,c="",u="";function d(){c&&(n===0?r.push({type:0,value:c}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a{o(b)}:Bc}function o(u){if(lS(u)){const d=i.get(u);d&&(i.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&i.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return n}function l(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!uS(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!nb(u)&&i.set(u.record.name,u)}function c(u,d){let h,f={},p,m;if("name"in u&&u.name){if(h=i.get(u.name),!h)throw wl(1,{location:u});m=h.record.name,f=St(tb(d.params,h.keys.filter(b=>!b.optional).map(b=>b.name)),u.params&&tb(u.params,h.keys.map(b=>b.name))),p=h.stringify(f)}else if("path"in u)p=u.path,h=n.find(b=>b.re.test(p)),h&&(f=h.parse(p),m=h.record.name);else{if(h=d.name?i.get(d.name):n.find(b=>b.re.test(d.path)),!h)throw wl(1,{location:u,currentLocation:d});m=h.record.name,f=St({},d.params,u.params),p=h.stringify(f)}const y=[];let v=h;for(;v;)y.unshift(v.record),v=v.parent;return{name:m,path:p,params:f,matched:y,meta:R$(y)}}return t.forEach(u=>r(u)),{addRoute:r,resolve:c,removeRoute:o,getRoutes:a,getRecordMatcher:s}}function tb(t,e){const n={};for(const i of e)i in t&&(n[i]=t[i]);return n}function I$(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:P$(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function P$(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const i in t.components)e[i]=typeof n=="object"?n[i]:n;return e}function nb(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function R$(t){return t.reduce((e,n)=>St(e,n.meta),{})}function ib(t,e){const n={};for(const i in t)n[i]=i in e?e[i]:t[i];return n}function uS(t,e){return e.children.some(n=>n===t||uS(t,n))}const dS=/#/g,D$=/&/g,$$=/\//g,L$=/=/g,O$=/\?/g,hS=/\+/g,N$=/%5B/g,F$=/%5D/g,fS=/%5E/g,B$=/%60/g,gS=/%7B/g,V$=/%7C/g,pS=/%7D/g,z$=/%20/g;function E_(t){return encodeURI(""+t).replace(V$,"|").replace(N$,"[").replace(F$,"]")}function W$(t){return E_(t).replace(gS,"{").replace(pS,"}").replace(fS,"^")}function Xp(t){return E_(t).replace(hS,"%2B").replace(z$,"+").replace(dS,"%23").replace(D$,"%26").replace(B$,"`").replace(gS,"{").replace(pS,"}").replace(fS,"^")}function H$(t){return Xp(t).replace(L$,"%3D")}function Y$(t){return E_(t).replace(dS,"%23").replace(O$,"%3F")}function j$(t){return t==null?"":Y$(t).replace($$,"%2F")}function _h(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function K$(t){const e={};if(t===""||t==="?")return e;const i=(t[0]==="?"?t.slice(1):t).split("&");for(let s=0;sr&&Xp(r)):[i&&Xp(i)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function U$(t){const e={};for(const n in t){const i=t[n];i!==void 0&&(e[n]=hs(i)?i.map(s=>s==null?null:""+s):i==null?i:""+i)}return e}const G$=Symbol(""),rb=Symbol(""),S_=Symbol(""),C_=Symbol(""),qp=Symbol("");function oc(){let t=[];function e(i){return t.push(i),()=>{const s=t.indexOf(i);s>-1&&t.splice(s,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function Vr(t,e,n,i,s){const r=i&&(i.enterCallbacks[s]=i.enterCallbacks[s]||[]);return()=>new Promise((o,a)=>{const l=d=>{d===!1?a(wl(4,{from:n,to:e})):d instanceof Error?a(d):v$(d)?a(wl(2,{from:e,to:d})):(r&&i.enterCallbacks[s]===r&&typeof d=="function"&&r.push(d),o())},c=t.call(i&&i.instances[s],e,n,l);let u=Promise.resolve(c);t.length<3&&(u=u.then(l)),u.catch(d=>a(d))})}function Ig(t,e,n,i){const s=[];for(const r of t)for(const o in r.components){let a=r.components[o];if(!(e!=="beforeRouteEnter"&&!r.instances[o]))if(X$(a)){const c=(a.__vccOpts||a)[e];c&&s.push(Vr(c,n,i,r,o))}else{let l=a();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${r.path}"`));const u=e$(c)?c.default:c;r.components[o]=u;const h=(u.__vccOpts||u)[e];return h&&Vr(h,n,i,r,o)()}))}}return s}function X$(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function ob(t){const e=cs(S_),n=cs(C_),i=be(()=>e.resolve(Q(t.to))),s=be(()=>{const{matched:l}=i.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const h=d.findIndex(bl.bind(null,u));if(h>-1)return h;const f=ab(l[c-2]);return c>1&&ab(u)===f&&d[d.length-1].path!==f?d.findIndex(bl.bind(null,l[c-2])):h}),r=be(()=>s.value>-1&&Q$(n.params,i.value.params)),o=be(()=>s.value>-1&&s.value===n.matched.length-1&&oS(n.params,i.value.params));function a(l={}){return J$(l)?e[Q(t.replace)?"replace":"push"](Q(t.to)).catch(Bc):Promise.resolve()}return{route:i,href:be(()=>i.value.href),isActive:r,isExactActive:o,navigate:a}}const q$=cn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ob,setup(t,{slots:e}){const n=Ns(ob(t)),{options:i}=cs(S_),s=be(()=>({[lb(t.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[lb(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&e.default(n);return t.custom?r:la("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},r)}}}),Z$=q$;function J$(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function Q$(t,e){for(const n in e){const i=e[n],s=t[n];if(typeof i=="string"){if(i!==s)return!1}else if(!hs(s)||s.length!==i.length||i.some((r,o)=>r!==s[o]))return!1}return!0}function ab(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const lb=(t,e,n)=>t??e??n,eL=cn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const i=cs(qp),s=be(()=>t.route||i.value),r=cs(rb,0),o=be(()=>{let c=Q(r);const{matched:u}=s.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=be(()=>s.value.matched[o.value]);Qd(rb,be(()=>o.value+1)),Qd(G$,a),Qd(qp,s);const l=we();return fn(()=>[l.value,a.value,t.name],([c,u,d],[h,f,p])=>{u&&(u.instances[d]=c,f&&f!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=f.leaveGuards),u.updateGuards.size||(u.updateGuards=f.updateGuards))),c&&u&&(!f||!bl(u,f)||!h)&&(u.enterCallbacks[d]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=s.value,u=t.name,d=a.value,h=d&&d.components[u];if(!h)return cb(n.default,{Component:h,route:c});const f=d.props[u],p=f?f===!0?c.params:typeof f=="function"?f(c):f:null,y=la(h,St({},p,e,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return cb(n.default,{Component:y,route:c})||y}}});function cb(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const mS=eL;function tL(t){const e=M$(t.routes,t),n=t.parseQuery||K$,i=t.stringifyQuery||sb,s=t.history,r=oc(),o=oc(),a=oc(),l=l_(Cr);let c=Cr;ja&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ag.bind(null,$=>""+$),d=Ag.bind(null,j$),h=Ag.bind(null,_h);function f($,oe){let de,ve;return lS($)?(de=e.getRecordMatcher($),ve=oe):ve=$,e.addRoute(ve,de)}function p($){const oe=e.getRecordMatcher($);oe&&e.removeRoute(oe)}function m(){return e.getRoutes().map($=>$.record)}function y($){return!!e.getRecordMatcher($)}function v($,oe){if(oe=St({},oe||l.value),typeof $=="string"){const O=Mg(n,$,oe.path),K=e.resolve({path:O.path},oe),U=s.createHref(O.fullPath);return St(O,K,{params:h(K.params),hash:_h(O.hash),redirectedFrom:void 0,href:U})}let de;if("path"in $)de=St({},$,{path:Mg(n,$.path,oe.path).path});else{const O=St({},$.params);for(const K in O)O[K]==null&&delete O[K];de=St({},$,{params:d(O)}),oe.params=d(oe.params)}const ve=e.resolve(de,oe),z=$.hash||"";ve.params=u(h(ve.params));const ge=i$(i,St({},$,{hash:W$(z),path:ve.path})),S=s.createHref(ge);return St({fullPath:ge,hash:z,query:i===sb?U$($.query):$.query||{}},ve,{redirectedFrom:void 0,href:S})}function b($){return typeof $=="string"?Mg(n,$,l.value.path):St({},$)}function E($,oe){if(c!==$)return wl(8,{from:oe,to:$})}function C($){return T($)}function w($){return C(St(b($),{replace:!0}))}function x($){const oe=$.matched[$.matched.length-1];if(oe&&oe.redirect){const{redirect:de}=oe;let ve=typeof de=="function"?de($):de;return typeof ve=="string"&&(ve=ve.includes("?")||ve.includes("#")?ve=b(ve):{path:ve},ve.params={}),St({query:$.query,hash:$.hash,params:"path"in ve?{}:$.params},ve)}}function T($,oe){const de=c=v($),ve=l.value,z=$.state,ge=$.force,S=$.replace===!0,O=x(de);if(O)return T(St(b(O),{state:typeof O=="object"?St({},z,O.state):z,force:ge,replace:S}),oe||de);const K=de;K.redirectedFrom=oe;let U;return!ge&&s$(i,ve,de)&&(U=wl(16,{to:K,from:ve}),ue(ve,ve,!0,!1)),(U?Promise.resolve(U):P(K,ve)).catch(re=>Ys(re)?Ys(re,2)?re:ne(re):X(re,K,ve)).then(re=>{if(re){if(Ys(re,2))return T(St({replace:S},b(re.to),{state:typeof re.to=="object"?St({},z,re.to.state):z,force:ge}),oe||K)}else re=H(K,ve,!0,S,z);return F(K,ve,re),re})}function k($,oe){const de=E($,oe);return de?Promise.reject(de):Promise.resolve()}function A($){const oe=M.values().next().value;return oe&&typeof oe.runWithContext=="function"?oe.runWithContext($):$()}function P($,oe){let de;const[ve,z,ge]=nL($,oe);de=Ig(ve.reverse(),"beforeRouteLeave",$,oe);for(const O of ve)O.leaveGuards.forEach(K=>{de.push(Vr(K,$,oe))});const S=k.bind(null,$,oe);return de.push(S),le(de).then(()=>{de=[];for(const O of r.list())de.push(Vr(O,$,oe));return de.push(S),le(de)}).then(()=>{de=Ig(z,"beforeRouteUpdate",$,oe);for(const O of z)O.updateGuards.forEach(K=>{de.push(Vr(K,$,oe))});return de.push(S),le(de)}).then(()=>{de=[];for(const O of ge)if(O.beforeEnter)if(hs(O.beforeEnter))for(const K of O.beforeEnter)de.push(Vr(K,$,oe));else de.push(Vr(O.beforeEnter,$,oe));return de.push(S),le(de)}).then(()=>($.matched.forEach(O=>O.enterCallbacks={}),de=Ig(ge,"beforeRouteEnter",$,oe),de.push(S),le(de))).then(()=>{de=[];for(const O of o.list())de.push(Vr(O,$,oe));return de.push(S),le(de)}).catch(O=>Ys(O,8)?O:Promise.reject(O))}function F($,oe,de){a.list().forEach(ve=>A(()=>ve($,oe,de)))}function H($,oe,de,ve,z){const ge=E($,oe);if(ge)return ge;const S=oe===Cr,O=ja?history.state:{};de&&(ve||S?s.replace($.fullPath,St({scroll:S&&O&&O.scroll},z)):s.push($.fullPath,z)),l.value=$,ue($,oe,de,S),ne()}let te;function N(){te||(te=s.listen(($,oe,de)=>{if(!ie.listening)return;const ve=v($),z=x(ve);if(z){T(St(z,{replace:!0}),ve).catch(Bc);return}c=ve;const ge=l.value;ja&&h$(qv(ge.fullPath,de.delta),ff()),P(ve,ge).catch(S=>Ys(S,12)?S:Ys(S,2)?(T(S.to,ve).then(O=>{Ys(O,20)&&!de.delta&&de.type===su.pop&&s.go(-1,!1)}).catch(Bc),Promise.reject()):(de.delta&&s.go(-de.delta,!1),X(S,ve,ge))).then(S=>{S=S||H(ve,ge,!1),S&&(de.delta&&!Ys(S,8)?s.go(-de.delta,!1):de.type===su.pop&&Ys(S,20)&&s.go(-1,!1)),F(ve,ge,S)}).catch(Bc)}))}let L=oc(),I=oc(),W;function X($,oe,de){ne($);const ve=I.list();return ve.length?ve.forEach(z=>z($,oe,de)):console.error($),Promise.reject($)}function J(){return W&&l.value!==Cr?Promise.resolve():new Promise(($,oe)=>{L.add([$,oe])})}function ne($){return W||(W=!$,N(),L.list().forEach(([oe,de])=>$?de($):oe()),L.reset()),$}function ue($,oe,de,ve){const{scrollBehavior:z}=t;if(!ja||!z)return Promise.resolve();const ge=!de&&f$(qv($.fullPath,0))||(ve||!de)&&history.state&&history.state.scroll||null;return Rn().then(()=>z($,oe,ge)).then(S=>S&&d$(S)).catch(S=>X(S,$,oe))}const Y=$=>s.go($);let Z;const M=new Set,ie={currentRoute:l,listening:!0,addRoute:f,removeRoute:p,hasRoute:y,getRoutes:m,resolve:v,options:t,push:C,replace:w,go:Y,back:()=>Y(-1),forward:()=>Y(1),beforeEach:r.add,beforeResolve:o.add,afterEach:a.add,onError:I.add,isReady:J,install($){const oe=this;$.component("RouterLink",Z$),$.component("RouterView",mS),$.config.globalProperties.$router=oe,Object.defineProperty($.config.globalProperties,"$route",{enumerable:!0,get:()=>Q(l)}),ja&&!Z&&l.value===Cr&&(Z=!0,C(s.location).catch(z=>{}));const de={};for(const z in Cr)Object.defineProperty(de,z,{get:()=>l.value[z],enumerable:!0});$.provide(S_,oe),$.provide(C_,eE(de)),$.provide(qp,l);const ve=$.unmount;M.add($),$.unmount=function(){M.delete($),M.size<1&&(c=Cr,te&&te(),te=null,l.value=Cr,Z=!1,W=!1),ve()}}};function le($){return $.reduce((oe,de)=>oe.then(()=>A(de)),Promise.resolve())}return ie}function nL(t,e){const n=[],i=[],s=[],r=Math.max(e.matched.length,t.matched.length);for(let o=0;obl(c,a))?i.push(a):n.push(a));const l=t.matched[o];l&&(e.matched.find(c=>bl(c,l))||s.push(l))}return[n,i,s]}function iL(){return cs(C_)}const sL={getCookie(t){const n=`; ${document.cookie}`.split(`; ${t}=`);if(n.length===2)return n.pop().split(";").shift()}};x_("WGDashboardStore",{state:()=>({WireguardConfigurations:void 0,DashboardConfiguration:void 0}),actions:{async getDashboardConfiguration(){await Vt("/api/getDashboardConfiguration",{},t=>{console.log(t.status),t.status&&(this.DashboardConfiguration=t.data)})}}});const ub="[a-fA-F\\d:]",Hr=t=>t&&t.includeBoundaries?`(?:(?<=\\s|^)(?=${ub})|(?<=${ub})(?=\\s|$))`:"",ts="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",hn="[a-fA-F\\d]{1,4}",gf=` (?: -(?:${Ft}:){7}(?:${Ft}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8 -(?:${Ft}:){6}(?:${ns}|:${Ft}|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4 -(?:${Ft}:){5}(?::${ns}|(?::${Ft}){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4 -(?:${Ft}:){4}(?:(?::${Ft}){0,1}:${ns}|(?::${Ft}){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4 -(?:${Ft}:){3}(?:(?::${Ft}){0,2}:${ns}|(?::${Ft}){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4 -(?:${Ft}:){2}(?:(?::${Ft}){0,3}:${ns}|(?::${Ft}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4 -(?:${Ft}:){1}(?:(?::${Ft}){0,4}:${ns}|(?::${Ft}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4 -(?::(?:(?::${Ft}){0,5}:${ns}|(?::${Ft}){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4 +(?:${hn}:){7}(?:${hn}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8 +(?:${hn}:){6}(?:${ts}|:${hn}|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4 +(?:${hn}:){5}(?::${ts}|(?::${hn}){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4 +(?:${hn}:){4}(?:(?::${hn}){0,1}:${ts}|(?::${hn}){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4 +(?:${hn}:){3}(?:(?::${hn}){0,2}:${ts}|(?::${hn}){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4 +(?:${hn}:){2}(?:(?::${hn}){0,3}:${ts}|(?::${hn}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4 +(?:${hn}:){1}(?:(?::${hn}){0,4}:${ts}|(?::${hn}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4 +(?::(?:(?::${hn}){0,5}:${ts}|(?::${hn}){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(),BE=new RegExp(`(?:^${ns}$)|(?:^${Gc}$)`),VE=new RegExp(`^${ns}$`),HE=new RegExp(`^${Gc}$`),Jc=t=>t&&t.exact?BE:new RegExp(`(?:${bi(t)}${ns}${bi(t)})|(?:${bi(t)}${Gc}${bi(t)})`,"g");Jc.v4=t=>t&&t.exact?VE:new RegExp(`${bi(t)}${ns}${bi(t)}`,"g");Jc.v6=t=>t&&t.exact?HE:new RegExp(`${bi(t)}${Gc}${bi(t)}`,"g");const oy={exact:!1},ry=`${Jc.v4().source}\\/(3[0-2]|[12]?[0-9])`,ay=`${Jc.v6().source}\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])`,jE=new RegExp(`^${ry}$`),WE=new RegExp(`^${ay}$`),zE=({exact:t}=oy)=>t?jE:new RegExp(ry,"g"),YE=({exact:t}=oy)=>t?WE:new RegExp(ay,"g"),ly=zE({exact:!0}),cy=YE({exact:!0}),nf=t=>ly.test(t)?4:cy.test(t)?6:0;nf.v4=t=>ly.test(t);nf.v6=t=>cy.test(t);const Tn=Qh("WireguardConfigurationsStore",{state:()=>({Configurations:void 0,searchString:"",ConfigurationListInterval:void 0,PeerScheduleJobs:{dropdowns:{Field:[{display:"Total Received",value:"total_receive",unit:"GB",type:"number"},{display:"Total Sent",value:"total_sent",unit:"GB",type:"number"},{display:"Total Data",value:"total_data",unit:"GB",type:"number"},{display:"Date",value:"date",type:"date"}],Operator:[{display:"equal",value:"eq"},{display:"not equal",value:"neq"},{display:"larger than",value:"lgt"},{display:"less than",value:"lst"}],Action:[{display:"Restrict Peer",value:"restrict"},{display:"Delete Peer",value:"delete"}]}}}),actions:{async getConfigurations(){await wt("/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 nf(t)!==0}}}),We=(t,e)=>{const n=t.__vccOpts||t;for(const[s,i]of e)n[s]=i;return n},UE={name:"navbar",setup(){const t=Tn(),e=Xe();return{wireguardConfigurationsStore:t,dashboardConfigurationStore:e}},data(){return{updateAvailable:!1,updateMessage:"Checking for update...",updateUrl:""}},mounted(){wt("/api/getDashboardUpdate",{},t=>{t.status?(t.data&&(this.updateAvailable=!0,this.updateUrl=t.data),this.updateMessage=t.message):(this.updateMessage="Failed to check available update",console.log(`Failed to get update: ${t.message}`))})}},Vi=t=>(Ut("data-v-a0b378dd"),t=t(),Kt(),t),KE=["data-bs-theme"],qE={id:"sidebarMenu",class:"bg-body-tertiary sidebar border h-100 rounded-3 shadow overflow-y-scroll"},GE={class:"sidebar-sticky pt-3"},JE={class:"nav flex-column px-2"},XE={class:"nav-item"},QE=Vi(()=>h("i",{class:"bi bi-house me-2"},null,-1)),ZE={class:"nav-item"},eP=Vi(()=>h("i",{class:"bi bi-gear me-2"},null,-1)),tP=Vi(()=>h("hr",{class:"text-body"},null,-1)),nP=Vi(()=>h("h6",{class:"sidebar-heading px-3 mt-4 mb-1 text-muted text-center"},[h("i",{class:"bi bi-body-text me-2"}),be(" Configurations ")],-1)),sP={class:"nav flex-column px-2"},iP={class:"nav-item"},oP=Vi(()=>h("hr",{class:"text-body"},null,-1)),rP=Vi(()=>h("h6",{class:"sidebar-heading px-3 mt-4 mb-1 text-muted text-center"},[h("i",{class:"bi bi-tools me-2"}),be(" Tools ")],-1)),aP={class:"nav flex-column px-2"},lP={class:"nav-item"},cP={class:"nav-item"},uP=Vi(()=>h("hr",{class:"text-body"},null,-1)),dP={class:"nav flex-column px-2"},hP={class:"nav-item"},fP=Vi(()=>h("i",{class:"bi bi-box-arrow-left me-2"},null,-1)),pP={class:"nav-item",style:{"font-size":"0.8rem"}},gP=["href"],mP={class:"nav-link text-muted rounded-3"},_P={key:1,class:"nav-link text-muted"};function vP(t,e,n,s,i,o){const r=He("RouterLink");return M(),F("div",{class:Ce(["col-md-3 col-lg-2 d-md-block p-3 navbar-container",{active:this.dashboardConfigurationStore.ShowNavBar}]),"data-bs-theme":s.dashboardConfigurationStore.Configuration.Server.dashboard_theme,style:{height:"calc(-50px + 100vh)"}},[h("nav",qE,[h("div",GE,[h("ul",JE,[h("li",XE,[Se(r,{class:"nav-link rounded-3",to:"/","exact-active-class":"active"},{default:Pe(()=>[QE,be(" Home")]),_:1})]),h("li",ZE,[Se(r,{class:"nav-link rounded-3",to:"/settings","exact-active-class":"active"},{default:Pe(()=>[eP,be(" Settings")]),_:1})])]),tP,nP,h("ul",sP,[h("li",iP,[(M(!0),F(Te,null,Ue(this.wireguardConfigurationsStore.Configurations,a=>(M(),Le(r,{to:"/configuration/"+a.Name+"/peers",class:"nav-link nav-conf-link rounded-3","active-class":"active"},{default:Pe(()=>[h("span",{class:Ce(["dot me-2",{active:a.Status}])},null,2),be(" "+me(a.Name),1)]),_:2},1032,["to"]))),256))])]),oP,rP,h("ul",aP,[h("li",lP,[Se(r,{to:"/ping",class:"nav-link rounded-3","active-class":"active"},{default:Pe(()=>[be("Ping")]),_:1})]),h("li",cP,[Se(r,{to:"/traceroute",class:"nav-link rounded-3","active-class":"active"},{default:Pe(()=>[be("Traceroute")]),_:1})])]),uP,h("ul",dP,[h("li",hP,[h("a",{class:"nav-link text-danger rounded-3",onClick:e[0]||(e[0]=a=>this.dashboardConfigurationStore.signOut()),role:"button",style:{"font-weight":"bold"}},[fP,be(" Sign Out")])]),h("li",pP,[this.updateAvailable?(M(),F("a",{key:0,href:this.updateUrl,class:"text-decoration-none",target:"_blank"},[h("small",mP,me(this.updateMessage),1)],8,gP)):(M(),F("small",_P,me(this.updateMessage),1))])])])])],10,KE)}const bP=We(UE,[["render",vP],["__scopeId","data-v-a0b378dd"]]),yP={name:"message",props:{message:Object},mounted(){setTimeout(()=>{this.message.show=!1},5e3)}},wP=["id"],xP={class:"card-body"},kP={class:"fw-bold d-block",style:{"text-transform":"uppercase"}};function SP(t,e,n,s,i,o){return M(),F("div",{class:Ce(["card shadow rounded-3 position-relative mb-2",{"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,style:{width:"400px"}},[h("div",xP,[h("small",kP,"FROM "+me(this.message.from),1),be(" "+me(this.message.content),1)])],10,wP)}const uy=We(yP,[["render",SP]]),$P={name:"index",components:{Message:uy,Navbar:bP},async setup(){return{dashboardConfigurationStore:Xe()}},computed:{getMessages(){return this.dashboardConfigurationStore.Messages.filter(t=>t.show)}}},AP=["data-bs-theme"],CP={class:"row h-100"},EP={class:"col-md-9 ml-sm-auto col-lg-10 px-md-4 overflow-y-scroll mb-0",style:{height:"calc(100vh - 50px)"}},PP={class:"messageCentre text-body position-fixed"};function TP(t,e,n,s,i,o){const r=He("Navbar"),a=He("RouterView"),l=He("Message");return M(),F("div",{class:"container-fluid flex-grow-1 main","data-bs-theme":this.dashboardConfigurationStore.Configuration.Server.dashboard_theme},[h("div",CP,[Se(r),h("main",EP,[(M(),Le(Wh,null,{default:Pe(()=>[Se(a,null,{default:Pe(({Component:c})=>[Se(At,{name:"fade2",mode:"out-in"},{default:Pe(()=>[(M(),Le(Mo(c)))]),_:2},1024)]),_:1})]),_:1})),h("div",PP,[Se(Bi,{name:"message",tag:"div",class:"position-relative"},{default:Pe(()=>[(M(!0),F(Te,null,Ue(o.getMessages.slice().reverse(),c=>(M(),Le(l,{message:c,key:c.id},null,8,["message"]))),128))]),_:1})])])])],8,AP)}const MP=We($P,[["render",TP],["__scopeId","data-v-b776d181"]]);var dy={exports:{}};(function(t,e){(function(n,s){t.exports=s()})(Q_,function(){var n=1e3,s=6e4,i=36e5,o="millisecond",r="second",a="minute",l="hour",c="day",u="week",d="month",f="quarter",g="year",_="date",m="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|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,$={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(Y){var L=["th","st","nd","rd"],I=Y%100;return"["+Y+(L[(I-20)%10]||L[I]||L[0])+"]"}},A=function(Y,L,I){var V=String(Y);return!V||V.length>=L?Y:""+Array(L+1-V.length).join(I)+Y},D={s:A,z:function(Y){var L=-Y.utcOffset(),I=Math.abs(L),V=Math.floor(I/60),Q=I%60;return(L<=0?"+":"-")+A(V,2,"0")+":"+A(Q,2,"0")},m:function Y(L,I){if(L.date()1)return Y(le[0])}else{var ye=L.name;y[ye]=L,Q=ye}return!V&&Q&&(x=Q),Q||!V&&x},C=function(Y,L){if(E(Y))return Y.clone();var I=typeof L=="object"?L:{};return I.date=Y,I.args=arguments,new J(I)},B=D;B.l=T,B.i=E,B.w=function(Y,L){return C(Y,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var J=function(){function Y(I){this.$L=T(I.locale,null,!0),this.parse(I),this.$x=this.$x||I.x||{},this[S]=!0}var L=Y.prototype;return L.parse=function(I){this.$d=function(V){var Q=V.date,Z=V.utc;if(Q===null)return new Date(NaN);if(B.u(Q))return new Date;if(Q instanceof Date)return new Date(Q);if(typeof Q=="string"&&!/Z$/i.test(Q)){var le=Q.match(b);if(le){var ye=le[2]-1||0,U=(le[7]||"0").substring(0,3);return Z?new Date(Date.UTC(le[1],ye,le[3]||1,le[4]||0,le[5]||0,le[6]||0,U)):new Date(le[1],ye,le[3]||1,le[4]||0,le[5]||0,le[6]||0,U)}}return new Date(Q)}(I),this.init()},L.init=function(){var I=this.$d;this.$y=I.getFullYear(),this.$M=I.getMonth(),this.$D=I.getDate(),this.$W=I.getDay(),this.$H=I.getHours(),this.$m=I.getMinutes(),this.$s=I.getSeconds(),this.$ms=I.getMilliseconds()},L.$utils=function(){return B},L.isValid=function(){return this.$d.toString()!==m},L.isSame=function(I,V){var Q=C(I);return this.startOf(V)<=Q&&Q<=this.endOf(V)},L.isAfter=function(I,V){return C(I){if(t.status===200)return t.json();throw new Error(t.statusText)}).then(()=>{this.endTime=Cn(),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?`${Cn().subtract(this.startTime).millisecond()}ms`:this.refreshing?"Pinging...":this.errorMsg?this.errorMsg:"N/A"}}},Rr=t=>(Ut("data-v-03a1c13c"),t=t(),Kt(),t),IP={class:"card rounded-3"},RP={class:"card-body"},LP={class:"d-flex gap-3 w-100 remoteServerContainer"},NP={class:"d-flex gap-3 align-items-center flex-grow-1"},FP=Rr(()=>h("i",{class:"bi bi-server"},null,-1)),BP={class:"d-flex gap-3 align-items-center flex-grow-1"},VP=Rr(()=>h("i",{class:"bi bi-key-fill"},null,-1)),HP={class:"d-flex gap-2 button-group"},jP=Rr(()=>h("i",{class:"bi bi-trash"},null,-1)),WP=[jP],zP=Rr(()=>h("i",{class:"bi bi-arrow-right-circle"},null,-1)),YP=[zP],UP={class:"card-footer gap-2 d-flex align-items-center"},KP={key:0,class:"spin ms-auto text-primary-emphasis"},qP=Rr(()=>h("i",{class:"bi bi-arrow-clockwise"},null,-1)),GP=[qP],JP=Rr(()=>h("i",{class:"bi bi-arrow-clockwise me"},null,-1)),XP=[JP];function QP(t,e,n,s,i,o){return M(),F("div",IP,[h("div",RP,[h("div",LP,[h("div",NP,[FP,Oe(h("input",{class:"form-control form-control-sm",onBlur:e[0]||(e[0]=r=>this.handshake()),"onUpdate:modelValue":e[1]||(e[1]=r=>this.server.host=r),type:"url"},null,544),[[je,this.server.host]])]),h("div",BP,[VP,Oe(h("input",{class:"form-control form-control-sm",onBlur:e[2]||(e[2]=r=>this.handshake()),"onUpdate:modelValue":e[3]||(e[3]=r=>this.server.apiKey=r),type:"text"},null,544),[[je,this.server.apiKey]])]),h("div",HP,[h("button",{onClick:e[4]||(e[4]=r=>this.$emit("delete")),class:"ms-auto btn btn-sm bg-danger-subtle text-danger-emphasis border-1 border-danger-subtle"},WP),h("button",{onClick:e[5]||(e[5]=r=>this.connect()),class:Ce([{disabled:!this.active},"ms-auto btn btn-sm bg-success-subtle text-success-emphasis border-1 border-success-subtle"])},YP,2)])])]),h("div",UP,[h("span",{class:Ce(["dot ms-0 me-2",[this.active?"active":"inactive"]])},null,2),h("small",null,me(this.getHandshakeTime),1),this.refreshing?(M(),F("div",KP,GP)):(M(),F("a",{key:1,role:"button",onClick:e[6]||(e[6]=r=>this.handshake()),class:"text-primary-emphasis text-decoration-none ms-auto disabled"},XP))])])}const ZP=We(OP,[["render",QP],["__scopeId","data-v-03a1c13c"]]),eT={name:"RemoteServerList",setup(){return{store:Xe()}},components:{RemoteServer:ZP}},tT={class:"w-100 mt-3"},nT={class:"d-flex align-items-center mb-3"},sT=h("h5",{class:"mb-0"},"Server List",-1),iT=h("i",{class:"bi bi-plus-circle-fill me-2"},null,-1),oT={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"}},rT={key:0,class:"text-muted m-auto"},aT=h("i",{class:"bi bi-plus-circle-fill mx-1"},null,-1);function lT(t,e,n,s,i,o){const r=He("RemoteServer");return M(),F("div",tT,[h("div",nT,[sT,h("button",{onClick:e[0]||(e[0]=a=>this.store.addCrossServerConfiguration()),class:"btn bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle shadow-sm ms-auto"},[iT,be("Server ")])]),h("div",oT,[(M(!0),F(Te,null,Ue(this.store.CrossServerConfiguration.ServerList,(a,l)=>(M(),Le(r,{onSetActiveServer:c=>this.store.setActiveCrossServer(l),onDelete:c=>this.store.deleteCrossServerConfiguration(l),key:l,server:a},null,8,["onSetActiveServer","onDelete","server"]))),128)),Object.keys(this.store.CrossServerConfiguration.ServerList).length===0?(M(),F("h6",rT,[be(" Click"),aT,be("to add your server")])):re("",!0)])])}const cT=We(eT,[["render",lT]]),uT={name:"signin",components:{RemoteServerList:cT,Message:uy},async setup(){const t=Xe();let e="dark",n=!1,s;return t.IsElectronApp||await Promise.all([wt("/api/getDashboardTheme",{},i=>{e=i.data}),wt("/api/isTotpEnabled",{},i=>{n=i.data}),wt("/api/getDashboardVersion",{},i=>{s=i.data})]),t.removeActiveCrossServer(),{store:t,theme:e,totpEnabled:n,version:s}},data(){return{username:"",password:"",totp:"",loginError:!1,loginErrorMessage:"",loading:!1}},computed:{getMessages(){return this.store.Messages.filter(t=>t.show)}},methods:{async auth(){this.username&&this.password&&(this.totpEnabled&&this.totp||!this.totpEnabled)?(this.loading=!0,await ht("/api/authenticate",{username:this.username,password:this.password,totp:this.totp},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"))})}}},ti=t=>(Ut("data-v-e351e82c"),t=t(),Kt(),t),dT=["data-bs-theme"],hT={class:"login-box m-auto"},fT={class:"m-auto",style:{width:"700px"}},pT=ti(()=>h("h4",{class:"mb-0 text-body"},"Welcome to",-1)),gT=ti(()=>h("span",{class:"dashboardLogo display-3"},[h("strong",null,"WGDashboard")],-1)),mT={key:0,class:"alert alert-danger mt-2 mb-0",role:"alert"},_T={class:"form-group text-body"},vT=ti(()=>h("label",{for:"username",class:"text-left",style:{"font-size":"1rem"}},[h("i",{class:"bi bi-person-circle"})],-1)),bT={class:"form-group text-body"},yT=ti(()=>h("label",{for:"password",class:"text-left",style:{"font-size":"1rem"}},[h("i",{class:"bi bi-key-fill"})],-1)),wT={key:0,class:"form-group text-body"},xT=ti(()=>h("label",{for:"totp",class:"text-left",style:{"font-size":"1rem"}},[h("i",{class:"bi bi-lock-fill"})],-1)),kT={class:"btn btn-lg btn-dark ms-auto mt-4 w-100 d-flex btn-brand signInBtn",ref:"signInBtn"},ST={key:0,class:"d-flex w-100"},$T=ti(()=>h("i",{class:"ms-auto bi bi-chevron-right"},null,-1)),AT={key:1,class:"d-flex w-100 align-items-center"},CT=ti(()=>h("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},[h("span",{class:"visually-hidden"},"Loading...")],-1)),ET={key:3,class:"d-flex mt-3"},PT={class:"form-check form-switch ms-auto"},TT=ti(()=>h("label",{class:"form-check-label",for:"flexSwitchCheckChecked"},"Access Remote Server",-1)),MT={class:"text-muted pb-3 d-block w-100 text-center mt-3"},DT=ti(()=>h("a",{href:"https://github.com/donaldzou",target:"_blank"},[h("strong",null,"Donald Zou")],-1)),OT={class:"messageCentre text-body position-absolute end-0 m-3"};function IT(t,e,n,s,i,o){const r=He("RemoteServerList"),a=He("Message");return M(),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",hT,[h("div",fT,[pT,gT,i.loginError?(M(),F("div",mT,me(this.loginErrorMessage),1)):re("",!0),this.store.CrossServerConfiguration.Enable?(M(),Le(r,{key:2})):(M(),F("form",{key:1,onSubmit:e[3]||(e[3]=l=>{l.preventDefault(),this.auth()})},[h("div",_T,[vT,Oe(h("input",{type:"text","onUpdate:modelValue":e[0]||(e[0]=l=>i.username=l),class:"form-control",id:"username",name:"username",autocomplete:"on",placeholder:"Username",required:""},null,512),[[je,i.username]])]),h("div",bT,[yT,Oe(h("input",{type:"password","onUpdate:modelValue":e[1]||(e[1]=l=>i.password=l),class:"form-control",id:"password",name:"password",autocomplete:"on",placeholder:"Password",required:""},null,512),[[je,i.password]])]),s.totpEnabled?(M(),F("div",wT,[xT,Oe(h("input",{class:"form-control totp",required:"",id:"totp",maxlength:"6",type:"text",inputmode:"numeric",autocomplete:"one-time-code",placeholder:"OTP from your authenticator","onUpdate:modelValue":e[2]||(e[2]=l=>this.totp=l)},null,512),[[je,this.totp]])])):re("",!0),h("button",kT,[this.loading?(M(),F("span",AT,[be(" Signing In... "),CT])):(M(),F("span",ST,[be(" Sign In"),$T]))],512)],32)),this.store.IsElectronApp?re("",!0):(M(),F("div",ET,[h("div",PT,[Oe(h("input",{"onUpdate:modelValue":e[4]||(e[4]=l=>this.store.CrossServerConfiguration.Enable=l),class:"form-check-input",type:"checkbox",role:"switch",id:"flexSwitchCheckChecked"},null,512),[[_n,this.store.CrossServerConfiguration.Enable]]),TT])]))])]),h("small",MT,[be(" WGDashboard "+me(this.version)+" | Developed with ❤️ by ",1),DT]),h("div",OT,[Se(Bi,{name:"message",tag:"div",class:"position-relative"},{default:Pe(()=>[(M(!0),F(Te,null,Ue(o.getMessages.slice().reverse(),l=>(M(),Le(a,{message:l,key:l.id},null,8,["message"]))),128))]),_:1})])],8,dT)}const RT=We(uT,[["render",IT],["__scopeId","data-v-e351e82c"]]),LT={name:"configurationCard",props:{c:{Name:String,Status:Boolean,PublicKey:String,PrivateKey:String}},data(){return{configurationToggling:!1}},setup(){return{dashboardConfigurationStore:Xe()}},methods:{toggle(){this.configurationToggling=!0,wt("/api/toggleWireguardConfiguration/",{configurationName:this.c.Name},t=>{t.status?this.dashboardConfigurationStore.newMessage("Server",`${this.c.Name} is ${t.data?"is on":"is off"}`):this.dashboardConfigurationStore.newMessage("Server",t.message,"danger"),this.c.Status=t.data,this.configurationToggling=!1})}}},NT={class:"card conf_card rounded-3 shadow text-decoration-none"},FT={class:"mb-0"},BT={class:"card-title mb-0"},VT=h("h6",{class:"mb-0 ms-auto"},[h("i",{class:"bi bi-chevron-right"})],-1),HT={class:"card-footer d-flex gap-2 flex-column"},jT={class:"row"},WT={class:"col-6 col-md-3"},zT=h("i",{class:"bi bi-arrow-down-up me-2"},null,-1),YT={class:"text-primary-emphasis col-6 col-md-3"},UT=h("i",{class:"bi bi-arrow-down me-2"},null,-1),KT={class:"text-success-emphasis col-6 col-md-3"},qT=h("i",{class:"bi bi-arrow-up me-2"},null,-1),GT={class:"text-md-end col-6 col-md-3"},JT={class:"d-flex align-items-center gap-2"},XT=h("small",{class:"text-muted"},[h("strong",{style:{"word-break":"keep-all"}},"Public Key")],-1),QT={class:"mb-0 d-block d-lg-inline-block"},ZT={style:{"line-break":"anywhere"}},eM={class:"form-check form-switch ms-auto"},tM=["for"],nM={key:0,class:"spinner-border spinner-border-sm","aria-hidden":"true"},sM=["disabled","id"];function iM(t,e,n,s,i,o){const r=He("RouterLink");return M(),F("div",NT,[Se(r,{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",FT,[h("span",{class:Ce(["dot",{active:n.c.Status}])},null,2)]),h("h6",BT,[h("samp",null,me(n.c.Name),1)]),VT]),_:1},8,["to"]),h("div",HT,[h("div",jT,[h("small",WT,[zT,be(me(n.c.DataUsage.Total>0?n.c.DataUsage.Total.toFixed(4):0)+" GB ",1)]),h("small",YT,[UT,be(me(n.c.DataUsage.Receive>0?n.c.DataUsage.Receive.toFixed(4):0)+" GB ",1)]),h("small",KT,[qT,be(me(n.c.DataUsage.Sent>0?n.c.DataUsage.Sent.toFixed(4):0)+" GB ",1)]),h("small",GT,[h("span",{class:Ce(["dot me-2",{active:n.c.ConnectedPeers>0}])},null,2),be(me(n.c.ConnectedPeers)+" Peers ",1)])]),h("div",JT,[XT,h("small",QT,[h("samp",ZT,me(n.c.PublicKey),1)]),h("div",eM,[h("label",{class:"form-check-label",style:{cursor:"pointer"},for:"switch"+n.c.PrivateKey},[be(me(this.configurationToggling?"Turning ":"")+" "+me(n.c.Status?"On":"Off")+" ",1),this.configurationToggling?(M(),F("span",nM)):re("",!0)],8,tM),Oe(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]=a=>this.toggle()),"onUpdate:modelValue":e[1]||(e[1]=a=>n.c.Status=a)},null,40,sM),[[_n,n.c.Status]])])])])])}const oM=We(LT,[["render",iM]]),rM={name:"configurationList",components:{ConfigurationCard:oM},async setup(){return{wireguardConfigurationsStore:Tn()}},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)}},hy=t=>(Ut("data-v-bff52ca5"),t=t(),Kt(),t),aM={class:"mt-md-5 mt-3"},lM={class:"container-md"},cM={class:"d-flex mb-4 configurationListTitle"},uM=hy(()=>h("h3",{class:"text-body d-flex"},[h("i",{class:"bi bi-body-text me-2"}),h("span",null,"WireGuard Configurations")],-1)),dM=hy(()=>h("i",{class:"bi bi-plus-circle-fill me-2"},null,-1)),hM={key:0},fM={key:0,class:"text-muted"},pM={key:1,class:"d-flex gap-3 flex-column mb-3"};function gM(t,e,n,s,i,o){const r=He("RouterLink"),a=He("ConfigurationCard");return M(),F("div",aM,[h("div",lM,[h("div",cM,[uM,Se(r,{to:"/new_configuration",class:"btn btn-dark btn-brand rounded-3 px-3 py-2 shadow ms-auto rounded-3"},{default:Pe(()=>[dM,be(" Configuration ")]),_:1})]),Se(At,{name:"fade",mode:"out-in"},{default:Pe(()=>[this.configurationLoaded?(M(),F("div",hM,[this.wireguardConfigurationsStore.Configurations.length===0?(M(),F("p",fM,` 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". `)):(M(),F("div",pM,[(M(!0),F(Te,null,Ue(this.wireguardConfigurationsStore.Configurations,l=>(M(),Le(a,{key:l.Name,c:l},null,8,["c"]))),128))]))])):re("",!0)]),_:1})])])}const mM=We(rM,[["render",gM],["__scopeId","data-v-bff52ca5"]]);let Pl;const _M=new Uint8Array(16);function vM(){if(!Pl&&(Pl=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Pl))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Pl(_M)}const sn=[];for(let t=0;t<256;++t)sn.push((t+256).toString(16).slice(1));function bM(t,e=0){return sn[t[e+0]]+sn[t[e+1]]+sn[t[e+2]]+sn[t[e+3]]+"-"+sn[t[e+4]]+sn[t[e+5]]+"-"+sn[t[e+6]]+sn[t[e+7]]+"-"+sn[t[e+8]]+sn[t[e+9]]+"-"+sn[t[e+10]]+sn[t[e+11]]+sn[t[e+12]]+sn[t[e+13]]+sn[t[e+14]]+sn[t[e+15]]}const yM=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),tm={randomUUID:yM};function Ps(t,e,n){if(tm.randomUUID&&!e&&!t)return tm.randomUUID();t=t||{};const s=t.random||(t.rng||vM)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,e){n=n||0;for(let i=0;i<16;++i)e[n+i]=s[i];return e}return bM(s)}const wM={props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const t=Xe(),e=`input_${Ps()}`;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 ht("/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})}}},xM={class:"form-group mb-2"},kM=["for"],SM=["id","disabled"],$M={class:"invalid-feedback"},AM={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1"},CM=h("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1),EM=["innerHTML"];function PM(t,e,n,s,i,o){return M(),F("div",xM,[h("label",{for:this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,me(this.title),1)])],8,kM),Oe(h("input",{type:"text",class:Ce(["form-control",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=r=>this.value=r),onKeydown:e[1]||(e[1]=r=>this.changed=!0),onBlur:e[2]||(e[2]=r=>o.useValidation()),disabled:this.updating},null,42,SM),[[je,this.value]]),h("div",$M,me(this.invalidFeedback),1),n.warning?(M(),F("div",AM,[h("small",null,[CM,h("span",{innerHTML:n.warningText},null,8,EM)])])):re("",!0)])}const TM=We(wM,[["render",PM]]),MM=t=>{},DM={name:"accountSettingsInputUsername",props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const t=Xe(),e=`input_${Ps()}`;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(){this.changed&&(this.updating=!0,await ht("/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,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=t.message),this.changed=!1,this.updating=!1}))}}},OM={class:"form-group mb-2"},IM=["for"],RM=["id","disabled"],LM={class:"invalid-feedback"},NM={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1"},FM=h("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1),BM=["innerHTML"];function VM(t,e,n,s,i,o){return M(),F("div",OM,[h("label",{for:this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,me(this.title),1)])],8,IM),Oe(h("input",{type:"text",class:Ce(["form-control",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=r=>this.value=r),onKeydown:e[1]||(e[1]=r=>this.changed=!0),onBlur:e[2]||(e[2]=r=>o.useValidation()),disabled:this.updating},null,42,RM),[[je,this.value]]),h("div",LM,me(this.invalidFeedback),1),n.warning?(M(),F("div",NM,[h("small",null,[FM,h("span",{innerHTML:n.warningText},null,8,BM)])])):re("",!0)])}const HM=We(DM,[["render",VM]]),jM={name:"accountSettingsInputPassword",props:{targetData:String,warning:!1,warningText:""},setup(){const t=Xe(),e=`input_${Ps()}`;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 ht("/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}}},WM={class:"d-flex flex-column"},zM={class:"row"},YM={class:"col-sm"},UM={class:"form-group mb-2"},KM=["for"],qM=h("strong",null,[h("small",null,"Current Password")],-1),GM=[qM],JM=["id"],XM={key:0,class:"invalid-feedback d-block"},QM={class:"col-sm"},ZM={class:"form-group mb-2"},eD=["for"],tD=h("strong",null,[h("small",null,"New Password")],-1),nD=[tD],sD=["id"],iD={class:"col-sm"},oD={class:"form-group mb-2"},rD=["for"],aD=h("strong",null,[h("small",null,"Repeat New Password")],-1),lD=[aD],cD=["id"],uD=["disabled"],dD=h("i",{class:"bi bi-save2-fill me-2"},null,-1);function hD(t,e,n,s,i,o){return M(),F("div",WM,[h("div",zM,[h("div",YM,[h("div",UM,[h("label",{for:"currentPassword_"+this.uuid,class:"text-muted mb-1"},GM,8,KM),Oe(h("input",{type:"password",class:Ce(["form-control mb-2",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),"onUpdate:modelValue":e[0]||(e[0]=r=>this.value.currentPassword=r),id:"currentPassword_"+this.uuid},null,10,JM),[[je,this.value.currentPassword]]),i.showInvalidFeedback?(M(),F("div",XM,me(this.invalidFeedback),1)):re("",!0)])]),h("div",QM,[h("div",ZM,[h("label",{for:"newPassword_"+this.uuid,class:"text-muted mb-1"},nD,8,eD),Oe(h("input",{type:"password",class:Ce(["form-control mb-2",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),"onUpdate:modelValue":e[1]||(e[1]=r=>this.value.newPassword=r),id:"newPassword_"+this.uuid},null,10,sD),[[je,this.value.newPassword]])])]),h("div",iD,[h("div",oD,[h("label",{for:"repeatNewPassword_"+this.uuid,class:"text-muted mb-1"},lD,8,rD),Oe(h("input",{type:"password",class:Ce(["form-control mb-2",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),"onUpdate:modelValue":e[2]||(e[2]=r=>this.value.repeatNewPassword=r),id:"repeatNewPassword_"+this.uuid},null,10,cD),[[je,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]=r=>this.useValidation())},[dD,be("Update Password ")],8,uD)])}const fD=We(jM,[["render",hD]]),pD={name:"dashboardSettingsInputWireguardConfigurationPath",props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const t=Xe(),e=Tn(),n=`input_${Ps()}`;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 ht("/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}))}}},gD={class:"form-group"},mD=["for"],_D={class:"d-flex gap-2 align-items-start mb-2"},vD={class:"flex-grow-1"},bD=["id","disabled"],yD={class:"invalid-feedback fw-bold"},wD=["disabled"],xD={key:0,class:"bi bi-save2-fill"},kD={key:1,class:"spinner-border spinner-border-sm"},SD={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"},$D=h("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1),AD=["innerHTML"];function CD(t,e,n,s,i,o){return M(),F("div",gD,[h("label",{for:this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,me(this.title),1)])],8,mD),h("div",_D,[h("div",vD,[Oe(h("input",{type:"text",class:Ce(["form-control rounded-3",{"is-invalid":this.showInvalidFeedback,"is-valid":this.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=r=>this.value=r),onKeydown:e[1]||(e[1]=r=>this.changed=!0),disabled:this.updating},null,42,bD),[[je,this.value]]),h("div",yD,me(this.invalidFeedback),1)]),h("button",{onClick:e[2]||(e[2]=r=>this.useValidation()),disabled:!this.changed,class:"ms-auto btn rounded-3 border-success-subtle bg-success-subtle text-success-emphasis"},[this.updating?(M(),F("span",kD)):(M(),F("i",xD))],8,wD)]),n.warning?(M(),F("div",SD,[h("small",null,[$D,h("span",{innerHTML:n.warningText},null,8,AD)])])):re("",!0)])}const ED=We(pD,[["render",CD]]),PD={name:"dashboardTheme",setup(){return{dashboardConfigurationStore:Xe()}},methods:{async switchTheme(t){await ht("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_theme",value:t},e=>{e.status&&(this.dashboardConfigurationStore.Configuration.Server.dashboard_theme=t)})}}},TD={class:"card mb-4 shadow rounded-3"},MD=h("p",{class:"card-header"},"Dashboard Theme",-1),DD={class:"card-body d-flex gap-2"},OD=h("i",{class:"bi bi-sun-fill"},null,-1),ID=h("i",{class:"bi bi-moon-fill"},null,-1);function RD(t,e,n,s,i,o){return M(),F("div",TD,[MD,h("div",DD,[h("button",{class:Ce(["btn bg-primary-subtle text-primary-emphasis flex-grow-1",{active:this.dashboardConfigurationStore.Configuration.Server.dashboard_theme==="light"}]),onClick:e[0]||(e[0]=r=>this.switchTheme("light"))},[OD,be(" Light ")],2),h("button",{class:Ce(["btn bg-primary-subtle text-primary-emphasis flex-grow-1",{active:this.dashboardConfigurationStore.Configuration.Server.dashboard_theme==="dark"}]),onClick:e[1]||(e[1]=r=>this.switchTheme("dark"))},[ID,be(" Dark ")],2)])])}const LD=We(PD,[["render",RD]]),ND={name:"dashboardSettingsInputIPAddressAndPort",props:{},setup(){const t=Xe(),e=`input_${Ps()}`;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 ht("/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)})}}},FD={class:"invalid-feedback d-block mt-0"},BD={class:"row"},VD={class:"form-group mb-2 col-sm"},HD=["for"],jD=h("strong",null,[h("small",null,"Dashboard IP Address")],-1),WD=[jD],zD=["id"],YD=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),UD={class:"form-group col-sm"},KD=["for"],qD=h("strong",null,[h("small",null,"Dashboard Port")],-1),GD=[qD],JD=["id"],XD=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);function QD(t,e,n,s,i,o){return M(),F("div",null,[h("div",FD,me(this.invalidFeedback),1),h("div",BD,[h("div",VD,[h("label",{for:"app_ip_"+this.uuid,class:"text-muted mb-1"},WD,8,HD),Oe(h("input",{type:"text",class:"form-control mb-2",id:"app_ip_"+this.uuid,"onUpdate:modelValue":e[0]||(e[0]=r=>this.app_ip=r)},null,8,zD),[[je,this.app_ip]]),YD]),h("div",UD,[h("label",{for:"app_port_"+this.uuid,class:"text-muted mb-1"},GD,8,KD),Oe(h("input",{type:"text",class:"form-control mb-2",id:"app_port_"+this.uuid,"onUpdate:modelValue":e[1]||(e[1]=r=>this.app_port=r)},null,8,JD),[[je,this.app_port]])])]),XD])}const ZD=We(ND,[["render",QD]]);function Ne(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 ot(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}function is(t,e){const n=Ne(t);return isNaN(e)?ot(t,NaN):(e&&n.setDate(n.getDate()+e),n)}function ls(t,e){const n=Ne(t);if(isNaN(e))return ot(t,NaN);if(!e)return n;const s=n.getDate(),i=ot(t,n.getTime());i.setMonth(n.getMonth()+e+1,0);const o=i.getDate();return s>=o?i:(n.setFullYear(i.getFullYear(),i.getMonth(),s),n)}function fy(t,e){const{years:n=0,months:s=0,weeks:i=0,days:o=0,hours:r=0,minutes:a=0,seconds:l=0}=e,c=Ne(t),u=s||n?ls(c,s+n*12):c,d=o||i?is(u,o+i*7):u,f=a+r*60,_=(l+f*60)*1e3;return ot(t,d.getTime()+_)}function e2(t,e){const n=+Ne(t);return ot(t,n+e)}const py=6048e5,t2=864e5,n2=6e4,gy=36e5,s2=1e3;function i2(t,e){return e2(t,e*gy)}let o2={};function Oo(){return o2}function us(t,e){const n=Oo(),s=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=Ne(t),o=i.getDay(),r=(o=i.getTime()?n+1:e.getTime()>=r.getTime()?n:n-1}function nm(t){const e=Ne(t);return e.setHours(0,0,0,0),e}function mc(t){const e=Ne(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 _y(t,e){const n=nm(t),s=nm(e),i=+n-mc(n),o=+s-mc(s);return Math.round((i-o)/t2)}function r2(t){const e=my(t),n=ot(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),br(n)}function a2(t,e){const n=e*3;return ls(t,n)}function sf(t,e){return ls(t,e*12)}function sm(t,e){const n=Ne(t),s=Ne(e),i=n.getTime()-s.getTime();return i<0?-1:i>0?1:i}function vy(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function va(t){if(!vy(t)&&typeof t!="number")return!1;const e=Ne(t);return!isNaN(Number(e))}function im(t){const e=Ne(t);return Math.trunc(e.getMonth()/3)+1}function l2(t,e){const n=Ne(t),s=Ne(e);return n.getFullYear()-s.getFullYear()}function c2(t,e){const n=Ne(t),s=Ne(e),i=sm(n,s),o=Math.abs(l2(n,s));n.setFullYear(1584),s.setFullYear(1584);const r=sm(n,s)===-i,a=i*(o-+r);return a===0?0:a}function by(t,e){const n=Ne(t.start),s=Ne(t.end);let i=+n>+s;const o=i?+n:+s,r=i?s:n;r.setHours(0,0,0,0);let a=e?.step??1;if(!a)return[];a<0&&(a=-a,i=!i);const l=[];for(;+r<=o;)l.push(Ne(r)),r.setDate(r.getDate()+a),r.setHours(0,0,0,0);return i?l.reverse():l}function go(t){const e=Ne(t),n=e.getMonth(),s=n-n%3;return e.setMonth(s,1),e.setHours(0,0,0,0),e}function u2(t,e){const n=Ne(t.start),s=Ne(t.end);let i=+n>+s;const o=i?+go(n):+go(s);let r=go(i?s:n),a=e?.step??1;if(!a)return[];a<0&&(a=-a,i=!i);const l=[];for(;+r<=o;)l.push(Ne(r)),r=a2(r,a);return i?l.reverse():l}function d2(t){const e=Ne(t);return e.setDate(1),e.setHours(0,0,0,0),e}function yy(t){const e=Ne(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function Ra(t){const e=Ne(t),n=ot(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function wy(t,e){const n=Oo(),s=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=Ne(t),o=i.getDay(),r=(o{let s;const i=h2[t];return typeof i=="string"?s=i:e===1?s=i.one:s=i.other.replace("{{count}}",e.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+s:s+" ago":s};function ju(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const p2={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},g2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},m2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},_2={date:ju({formats:p2,defaultWidth:"full"}),time:ju({formats:g2,defaultWidth:"full"}),dateTime:ju({formats:m2,defaultWidth:"full"})},v2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},b2=(t,e,n,s)=>v2[t];function qr(t){return(e,n)=>{const s=n?.context?String(n.context):"standalone";let i;if(s==="formatting"&&t.formattingValues){const r=t.defaultFormattingWidth||t.defaultWidth,a=n?.width?String(n.width):r;i=t.formattingValues[a]||t.formattingValues[r]}else{const r=t.defaultWidth,a=n?.width?String(n.width):t.defaultWidth;i=t.values[a]||t.values[r]}const o=t.argumentCallback?t.argumentCallback(e):e;return i[o]}}const y2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},w2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},x2={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"]},k2={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"]},S2={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"}},$2={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"}},A2=(t,e)=>{const n=Number(t),s=n%100;if(s>20||s<10)switch(s%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},C2={ordinalNumber:A2,era:qr({values:y2,defaultWidth:"wide"}),quarter:qr({values:w2,defaultWidth:"wide",argumentCallback:t=>t-1}),month:qr({values:x2,defaultWidth:"wide"}),day:qr({values:k2,defaultWidth:"wide"}),dayPeriod:qr({values:S2,defaultWidth:"wide",formattingValues:$2,defaultFormattingWidth:"wide"})};function Gr(t){return(e,n={})=>{const s=n.width,i=s&&t.matchPatterns[s]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;const r=o[0],a=s&&t.parsePatterns[s]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(a)?P2(a,d=>d.test(r)):E2(a,d=>d.test(r));let c;c=t.valueCallback?t.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const u=e.slice(r.length);return{value:c,rest:u}}}function E2(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function P2(t,e){for(let n=0;n{const s=e.match(t.matchPattern);if(!s)return null;const i=s[0],o=e.match(t.parsePattern);if(!o)return null;let r=t.valueCallback?t.valueCallback(o[0]):o[0];r=n.valueCallback?n.valueCallback(r):r;const a=e.slice(i.length);return{value:r,rest:a}}}const M2=/^(\d+)(th|st|nd|rd)?/i,D2=/\d+/i,O2={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},I2={any:[/^b/i,/^(a|c)/i]},R2={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},L2={any:[/1/i,/2/i,/3/i,/4/i]},N2={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},F2={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]},B2={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},V2={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]},H2={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},j2={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}},W2={ordinalNumber:T2({matchPattern:M2,parsePattern:D2,valueCallback:t=>parseInt(t,10)}),era:Gr({matchPatterns:O2,defaultMatchWidth:"wide",parsePatterns:I2,defaultParseWidth:"any"}),quarter:Gr({matchPatterns:R2,defaultMatchWidth:"wide",parsePatterns:L2,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Gr({matchPatterns:N2,defaultMatchWidth:"wide",parsePatterns:F2,defaultParseWidth:"any"}),day:Gr({matchPatterns:B2,defaultMatchWidth:"wide",parsePatterns:V2,defaultParseWidth:"any"}),dayPeriod:Gr({matchPatterns:H2,defaultMatchWidth:"any",parsePatterns:j2,defaultParseWidth:"any"})},xy={code:"en-US",formatDistance:f2,formatLong:_2,formatRelative:b2,localize:C2,match:W2,options:{weekStartsOn:0,firstWeekContainsDate:1}};function z2(t){const e=Ne(t);return _y(e,Ra(e))+1}function of(t){const e=Ne(t),n=+br(e)-+r2(e);return Math.round(n/py)+1}function rf(t,e){const n=Ne(t),s=n.getFullYear(),i=Oo(),o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,r=ot(t,0);r.setFullYear(s+1,0,o),r.setHours(0,0,0,0);const a=us(r,e),l=ot(t,0);l.setFullYear(s,0,o),l.setHours(0,0,0,0);const c=us(l,e);return n.getTime()>=a.getTime()?s+1:n.getTime()>=c.getTime()?s:s-1}function Y2(t,e){const n=Oo(),s=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=rf(t,e),o=ot(t,0);return o.setFullYear(i,0,s),o.setHours(0,0,0,0),us(o,e)}function af(t,e){const n=Ne(t),s=+us(n,e)-+Y2(n,e);return Math.round(s/py)+1}function at(t,e){const n=t<0?"-":"",s=Math.abs(t).toString().padStart(e,"0");return n+s}const ui={y(t,e){const n=t.getFullYear(),s=n>0?n:1-n;return at(e==="yy"?s%100:s,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):at(n+1,2)},d(t,e){return at(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 at(t.getHours()%12||12,e.length)},H(t,e){return at(t.getHours(),e.length)},m(t,e){return at(t.getMinutes(),e.length)},s(t,e){return at(t.getSeconds(),e.length)},S(t,e){const n=e.length,s=t.getMilliseconds(),i=Math.trunc(s*Math.pow(10,n-3));return at(i,e.length)}},Ko={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},rm={G:function(t,e,n){const s=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(s,{width:"abbreviated"});case"GGGGG":return n.era(s,{width:"narrow"});case"GGGG":default:return n.era(s,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const s=t.getFullYear(),i=s>0?s:1-s;return n.ordinalNumber(i,{unit:"year"})}return ui.y(t,e)},Y:function(t,e,n,s){const i=rf(t,s),o=i>0?i:1-i;if(e==="YY"){const r=o%100;return at(r,2)}return e==="Yo"?n.ordinalNumber(o,{unit:"year"}):at(o,e.length)},R:function(t,e){const n=my(t);return at(n,e.length)},u:function(t,e){const n=t.getFullYear();return at(n,e.length)},Q:function(t,e,n){const s=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(s);case"QQ":return at(s,2);case"Qo":return n.ordinalNumber(s,{unit:"quarter"});case"QQQ":return n.quarter(s,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(s,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(s,{width:"wide",context:"formatting"})}},q:function(t,e,n){const s=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(s);case"qq":return at(s,2);case"qo":return n.ordinalNumber(s,{unit:"quarter"});case"qqq":return n.quarter(s,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(s,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(s,{width:"wide",context:"standalone"})}},M:function(t,e,n){const s=t.getMonth();switch(e){case"M":case"MM":return ui.M(t,e);case"Mo":return n.ordinalNumber(s+1,{unit:"month"});case"MMM":return n.month(s,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(s,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(s,{width:"wide",context:"formatting"})}},L:function(t,e,n){const s=t.getMonth();switch(e){case"L":return String(s+1);case"LL":return at(s+1,2);case"Lo":return n.ordinalNumber(s+1,{unit:"month"});case"LLL":return n.month(s,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(s,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(s,{width:"wide",context:"standalone"})}},w:function(t,e,n,s){const i=af(t,s);return e==="wo"?n.ordinalNumber(i,{unit:"week"}):at(i,e.length)},I:function(t,e,n){const s=of(t);return e==="Io"?n.ordinalNumber(s,{unit:"week"}):at(s,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):ui.d(t,e)},D:function(t,e,n){const s=z2(t);return e==="Do"?n.ordinalNumber(s,{unit:"dayOfYear"}):at(s,e.length)},E:function(t,e,n){const s=t.getDay();switch(e){case"E":case"EE":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"})}},e:function(t,e,n,s){const i=t.getDay(),o=(i-s.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return at(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});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"})}},c:function(t,e,n,s){const i=t.getDay(),o=(i-s.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return at(o,e.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,n){const s=t.getDay(),i=s===0?7:s;switch(e){case"i":return String(i);case"ii":return at(i,e.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(s,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(s,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(s,{width:"short",context:"formatting"});case"iiii":default:return n.day(s,{width:"wide",context:"formatting"})}},a:function(t,e,n){const i=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,n){const s=t.getHours();let i;switch(s===12?i=Ko.noon:s===0?i=Ko.midnight:i=s/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,e,n){const s=t.getHours();let i;switch(s>=17?i=Ko.evening:s>=12?i=Ko.afternoon:s>=4?i=Ko.morning:i=Ko.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let s=t.getHours()%12;return s===0&&(s=12),n.ordinalNumber(s,{unit:"hour"})}return ui.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):ui.H(t,e)},K:function(t,e,n){const s=t.getHours()%12;return e==="Ko"?n.ordinalNumber(s,{unit:"hour"}):at(s,e.length)},k:function(t,e,n){let s=t.getHours();return s===0&&(s=24),e==="ko"?n.ordinalNumber(s,{unit:"hour"}):at(s,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):ui.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):ui.s(t,e)},S:function(t,e){return ui.S(t,e)},X:function(t,e,n){const s=t.getTimezoneOffset();if(s===0)return"Z";switch(e){case"X":return lm(s);case"XXXX":case"XX":return lo(s);case"XXXXX":case"XXX":default:return lo(s,":")}},x:function(t,e,n){const s=t.getTimezoneOffset();switch(e){case"x":return lm(s);case"xxxx":case"xx":return lo(s);case"xxxxx":case"xxx":default:return lo(s,":")}},O:function(t,e,n){const s=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+am(s,":");case"OOOO":default:return"GMT"+lo(s,":")}},z:function(t,e,n){const s=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+am(s,":");case"zzzz":default:return"GMT"+lo(s,":")}},t:function(t,e,n){const s=Math.trunc(t.getTime()/1e3);return at(s,e.length)},T:function(t,e,n){const s=t.getTime();return at(s,e.length)}};function am(t,e=""){const n=t>0?"-":"+",s=Math.abs(t),i=Math.trunc(s/60),o=s%60;return o===0?n+String(i):n+String(i)+e+at(o,2)}function lm(t,e){return t%60===0?(t>0?"-":"+")+at(Math.abs(t)/60,2):lo(t,e)}function lo(t,e=""){const n=t>0?"-":"+",s=Math.abs(t),i=at(Math.trunc(s/60),2),o=at(s%60,2);return n+i+e+o}const cm=(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"})}},ky=(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"})}},U2=(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],s=n[1],i=n[2];if(!i)return cm(t,e);let o;switch(s){case"P":o=e.dateTime({width:"short"});break;case"PP":o=e.dateTime({width:"medium"});break;case"PPP":o=e.dateTime({width:"long"});break;case"PPPP":default:o=e.dateTime({width:"full"});break}return o.replace("{{date}}",cm(s,e)).replace("{{time}}",ky(i,e))},Hd={p:ky,P:U2},K2=/^D+$/,q2=/^Y+$/,G2=["D","DD","YY","YYYY"];function Sy(t){return K2.test(t)}function $y(t){return q2.test(t)}function jd(t,e,n){const s=J2(t,e,n);if(console.warn(s),G2.includes(t))throw new RangeError(s)}function J2(t,e,n){const s=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${s} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const X2=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Q2=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Z2=/^'([^]*?)'?$/,eO=/''/g,tO=/[a-zA-Z]/;function $s(t,e,n){const s=Oo(),i=n?.locale??s.locale??xy,o=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,r=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??s.weekStartsOn??s.locale?.options?.weekStartsOn??0,a=Ne(t);if(!va(a))throw new RangeError("Invalid time value");let l=e.match(Q2).map(u=>{const d=u[0];if(d==="p"||d==="P"){const f=Hd[d];return f(u,i.formatLong)}return u}).join("").match(X2).map(u=>{if(u==="''")return{isToken:!1,value:"'"};const d=u[0];if(d==="'")return{isToken:!1,value:nO(u)};if(rm[d])return{isToken:!0,value:u};if(d.match(tO))throw new RangeError("Format string contains an unescaped latin alphabet character `"+d+"`");return{isToken:!1,value:u}});i.localize.preprocessor&&(l=i.localize.preprocessor(a,l));const c={firstWeekContainsDate:o,weekStartsOn:r,locale:i};return l.map(u=>{if(!u.isToken)return u.value;const d=u.value;(!n?.useAdditionalWeekYearTokens&&$y(d)||!n?.useAdditionalDayOfYearTokens&&Sy(d))&&jd(d,e,String(t));const f=rm[d[0]];return f(a,d,i.localize,c)}).join("")}function nO(t){const e=t.match(Z2);return e?e[1].replace(eO,"'"):t}function sO(t){return Ne(t).getDay()}function iO(t){const e=Ne(t),n=e.getFullYear(),s=e.getMonth(),i=ot(t,0);return i.setFullYear(n,s+1,0),i.setHours(0,0,0,0),i.getDate()}function oO(){return Object.assign({},Oo())}function Qs(t){return Ne(t).getHours()}function rO(t){let n=Ne(t).getDay();return n===0&&(n=7),n}function Oi(t){return Ne(t).getMinutes()}function Qe(t){return Ne(t).getMonth()}function yr(t){return Ne(t).getSeconds()}function ze(t){return Ne(t).getFullYear()}function wr(t,e){const n=Ne(t),s=Ne(e);return n.getTime()>s.getTime()}function La(t,e){const n=Ne(t),s=Ne(e);return+n<+s}function tr(t,e){const n=Ne(t),s=Ne(e);return+n==+s}function aO(t,e){const n=e instanceof Date?ot(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 lO=10;class Ay{subPriority=0;validate(e,n){return!0}}class cO extends Ay{constructor(e,n,s,i,o){super(),this.value=e,this.validateValue=n,this.setValue=s,this.priority=i,o&&(this.subPriority=o)}validate(e,n){return this.validateValue(e,this.value,n)}set(e,n,s){return this.setValue(e,n,this.value,s)}}class uO extends Ay{priority=lO;subPriority=-1;set(e,n){return n.timestampIsSet?e:ot(e,aO(e,Date))}}class rt{run(e,n,s,i){const o=this.parse(e,n,s,i);return o?{setter:new cO(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(e,n,s){return!0}}class dO extends rt{priority=140;parse(e,n,s){switch(n){case"G":case"GG":case"GGG":return s.era(e,{width:"abbreviated"})||s.era(e,{width:"narrow"});case"GGGGG":return s.era(e,{width:"narrow"});case"GGGG":default:return s.era(e,{width:"wide"})||s.era(e,{width:"abbreviated"})||s.era(e,{width:"narrow"})}}set(e,n,s){return n.era=s,e.setFullYear(s,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]}const Ot={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}/},ys={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 It(t,e){return t&&{value:e(t.value),rest:t.rest}}function kt(t,e){const n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function ws(t,e){const n=e.match(t);if(!n)return null;if(n[0]==="Z")return{value:0,rest:e.slice(1)};const s=n[1]==="+"?1:-1,i=n[2]?parseInt(n[2],10):0,o=n[3]?parseInt(n[3],10):0,r=n[5]?parseInt(n[5],10):0;return{value:s*(i*gy+o*n2+r*s2),rest:e.slice(n[0].length)}}function Cy(t){return kt(Ot.anyDigitsSigned,t)}function Tt(t,e){switch(t){case 1:return kt(Ot.singleDigit,e);case 2:return kt(Ot.twoDigits,e);case 3:return kt(Ot.threeDigits,e);case 4:return kt(Ot.fourDigits,e);default:return kt(new RegExp("^\\d{1,"+t+"}"),e)}}function _c(t,e){switch(t){case 1:return kt(Ot.singleDigitSigned,e);case 2:return kt(Ot.twoDigitsSigned,e);case 3:return kt(Ot.threeDigitsSigned,e);case 4:return kt(Ot.fourDigitsSigned,e);default:return kt(new RegExp("^-?\\d{1,"+t+"}"),e)}}function lf(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 Ey(t,e){const n=e>0,s=n?e:1-e;let i;if(s<=50)i=t||100;else{const o=s+50,r=Math.trunc(o/100)*100,a=t>=o%100;i=t+r-(a?100:0)}return n?i:1-i}function Py(t){return t%400===0||t%4===0&&t%100!==0}class hO extends rt{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,n,s){const i=o=>({year:o,isTwoDigitYear:n==="yy"});switch(n){case"y":return It(Tt(4,e),i);case"yo":return It(s.ordinalNumber(e,{unit:"year"}),i);default:return It(Tt(n.length,e),i)}}validate(e,n){return n.isTwoDigitYear||n.year>0}set(e,n,s){const i=e.getFullYear();if(s.isTwoDigitYear){const r=Ey(s.year,i);return e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}const o=!("era"in n)||n.era===1?s.year:1-s.year;return e.setFullYear(o,0,1),e.setHours(0,0,0,0),e}}class fO extends rt{priority=130;parse(e,n,s){const i=o=>({year:o,isTwoDigitYear:n==="YY"});switch(n){case"Y":return It(Tt(4,e),i);case"Yo":return It(s.ordinalNumber(e,{unit:"year"}),i);default:return It(Tt(n.length,e),i)}}validate(e,n){return n.isTwoDigitYear||n.year>0}set(e,n,s,i){const o=rf(e,i);if(s.isTwoDigitYear){const a=Ey(s.year,o);return e.setFullYear(a,0,i.firstWeekContainsDate),e.setHours(0,0,0,0),us(e,i)}const r=!("era"in n)||n.era===1?s.year:1-s.year;return e.setFullYear(r,0,i.firstWeekContainsDate),e.setHours(0,0,0,0),us(e,i)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}class pO extends rt{priority=130;parse(e,n){return _c(n==="R"?4:n.length,e)}set(e,n,s){const i=ot(e,0);return i.setFullYear(s,0,4),i.setHours(0,0,0,0),br(i)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class gO extends rt{priority=130;parse(e,n){return _c(n==="u"?4:n.length,e)}set(e,n,s){return e.setFullYear(s,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}class mO extends rt{priority=120;parse(e,n,s){switch(n){case"Q":case"QQ":return Tt(n.length,e);case"Qo":return s.ordinalNumber(e,{unit:"quarter"});case"QQQ":return s.quarter(e,{width:"abbreviated",context:"formatting"})||s.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return s.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return s.quarter(e,{width:"wide",context:"formatting"})||s.quarter(e,{width:"abbreviated",context:"formatting"})||s.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=1&&n<=4}set(e,n,s){return e.setMonth((s-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 _O extends rt{priority=120;parse(e,n,s){switch(n){case"q":case"qq":return Tt(n.length,e);case"qo":return s.ordinalNumber(e,{unit:"quarter"});case"qqq":return s.quarter(e,{width:"abbreviated",context:"standalone"})||s.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return s.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return s.quarter(e,{width:"wide",context:"standalone"})||s.quarter(e,{width:"abbreviated",context:"standalone"})||s.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,n){return n>=1&&n<=4}set(e,n,s){return e.setMonth((s-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 vO extends rt{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,n,s){const i=o=>o-1;switch(n){case"M":return It(kt(Ot.month,e),i);case"MM":return It(Tt(2,e),i);case"Mo":return It(s.ordinalNumber(e,{unit:"month"}),i);case"MMM":return s.month(e,{width:"abbreviated",context:"formatting"})||s.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return s.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return s.month(e,{width:"wide",context:"formatting"})||s.month(e,{width:"abbreviated",context:"formatting"})||s.month(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=0&&n<=11}set(e,n,s){return e.setMonth(s,1),e.setHours(0,0,0,0),e}}class bO extends rt{priority=110;parse(e,n,s){const i=o=>o-1;switch(n){case"L":return It(kt(Ot.month,e),i);case"LL":return It(Tt(2,e),i);case"Lo":return It(s.ordinalNumber(e,{unit:"month"}),i);case"LLL":return s.month(e,{width:"abbreviated",context:"standalone"})||s.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return s.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return s.month(e,{width:"wide",context:"standalone"})||s.month(e,{width:"abbreviated",context:"standalone"})||s.month(e,{width:"narrow",context:"standalone"})}}validate(e,n){return n>=0&&n<=11}set(e,n,s){return e.setMonth(s,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}function yO(t,e,n){const s=Ne(t),i=af(s,n)-e;return s.setDate(s.getDate()-i*7),s}class wO extends rt{priority=100;parse(e,n,s){switch(n){case"w":return kt(Ot.week,e);case"wo":return s.ordinalNumber(e,{unit:"week"});default:return Tt(n.length,e)}}validate(e,n){return n>=1&&n<=53}set(e,n,s,i){return us(yO(e,s,i),i)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}function xO(t,e){const n=Ne(t),s=of(n)-e;return n.setDate(n.getDate()-s*7),n}class kO extends rt{priority=100;parse(e,n,s){switch(n){case"I":return kt(Ot.week,e);case"Io":return s.ordinalNumber(e,{unit:"week"});default:return Tt(n.length,e)}}validate(e,n){return n>=1&&n<=53}set(e,n,s){return br(xO(e,s))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}const SO=[31,28,31,30,31,30,31,31,30,31,30,31],$O=[31,29,31,30,31,30,31,31,30,31,30,31];class AO extends rt{priority=90;subPriority=1;parse(e,n,s){switch(n){case"d":return kt(Ot.date,e);case"do":return s.ordinalNumber(e,{unit:"date"});default:return Tt(n.length,e)}}validate(e,n){const s=e.getFullYear(),i=Py(s),o=e.getMonth();return i?n>=1&&n<=$O[o]:n>=1&&n<=SO[o]}set(e,n,s){return e.setDate(s),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}class CO extends rt{priority=90;subpriority=1;parse(e,n,s){switch(n){case"D":case"DD":return kt(Ot.dayOfYear,e);case"Do":return s.ordinalNumber(e,{unit:"date"});default:return Tt(n.length,e)}}validate(e,n){const s=e.getFullYear();return Py(s)?n>=1&&n<=366:n>=1&&n<=365}set(e,n,s){return e.setMonth(0,s),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}function cf(t,e,n){const s=Oo(),i=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??s.weekStartsOn??s.locale?.options?.weekStartsOn??0,o=Ne(t),r=o.getDay(),l=(e%7+7)%7,c=7-i,u=e<0||e>6?e-(r+c)%7:(l+c)%7-(r+c)%7;return is(o,u)}class EO extends rt{priority=90;parse(e,n,s){switch(n){case"E":case"EE":case"EEE":return s.day(e,{width:"abbreviated",context:"formatting"})||s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return s.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return s.day(e,{width:"wide",context:"formatting"})||s.day(e,{width:"abbreviated",context:"formatting"})||s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=0&&n<=6}set(e,n,s,i){return e=cf(e,s,i),e.setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]}class PO extends rt{priority=90;parse(e,n,s,i){const o=r=>{const a=Math.floor((r-1)/7)*7;return(r+i.weekStartsOn+6)%7+a};switch(n){case"e":case"ee":return It(Tt(n.length,e),o);case"eo":return It(s.ordinalNumber(e,{unit:"day"}),o);case"eee":return s.day(e,{width:"abbreviated",context:"formatting"})||s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"});case"eeeee":return s.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return s.day(e,{width:"wide",context:"formatting"})||s.day(e,{width:"abbreviated",context:"formatting"})||s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"})}}validate(e,n){return n>=0&&n<=6}set(e,n,s,i){return e=cf(e,s,i),e.setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}class TO extends rt{priority=90;parse(e,n,s,i){const o=r=>{const a=Math.floor((r-1)/7)*7;return(r+i.weekStartsOn+6)%7+a};switch(n){case"c":case"cc":return It(Tt(n.length,e),o);case"co":return It(s.ordinalNumber(e,{unit:"day"}),o);case"ccc":return s.day(e,{width:"abbreviated",context:"standalone"})||s.day(e,{width:"short",context:"standalone"})||s.day(e,{width:"narrow",context:"standalone"});case"ccccc":return s.day(e,{width:"narrow",context:"standalone"});case"cccccc":return s.day(e,{width:"short",context:"standalone"})||s.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return s.day(e,{width:"wide",context:"standalone"})||s.day(e,{width:"abbreviated",context:"standalone"})||s.day(e,{width:"short",context:"standalone"})||s.day(e,{width:"narrow",context:"standalone"})}}validate(e,n){return n>=0&&n<=6}set(e,n,s,i){return e=cf(e,s,i),e.setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}function MO(t,e){const n=Ne(t),s=rO(n),i=e-s;return is(n,i)}class DO extends rt{priority=90;parse(e,n,s){const i=o=>o===0?7:o;switch(n){case"i":case"ii":return Tt(n.length,e);case"io":return s.ordinalNumber(e,{unit:"day"});case"iii":return It(s.day(e,{width:"abbreviated",context:"formatting"})||s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"}),i);case"iiiii":return It(s.day(e,{width:"narrow",context:"formatting"}),i);case"iiiiii":return It(s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"}),i);case"iiii":default:return It(s.day(e,{width:"wide",context:"formatting"})||s.day(e,{width:"abbreviated",context:"formatting"})||s.day(e,{width:"short",context:"formatting"})||s.day(e,{width:"narrow",context:"formatting"}),i)}}validate(e,n){return n>=1&&n<=7}set(e,n,s){return e=MO(e,s),e.setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}class OO extends rt{priority=80;parse(e,n,s){switch(n){case"a":case"aa":case"aaa":return s.dayPeriod(e,{width:"abbreviated",context:"formatting"})||s.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return s.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return s.dayPeriod(e,{width:"wide",context:"formatting"})||s.dayPeriod(e,{width:"abbreviated",context:"formatting"})||s.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,n,s){return e.setHours(lf(s),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]}class IO extends rt{priority=80;parse(e,n,s){switch(n){case"b":case"bb":case"bbb":return s.dayPeriod(e,{width:"abbreviated",context:"formatting"})||s.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return s.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return s.dayPeriod(e,{width:"wide",context:"formatting"})||s.dayPeriod(e,{width:"abbreviated",context:"formatting"})||s.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,n,s){return e.setHours(lf(s),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]}class RO extends rt{priority=80;parse(e,n,s){switch(n){case"B":case"BB":case"BBB":return s.dayPeriod(e,{width:"abbreviated",context:"formatting"})||s.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return s.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return s.dayPeriod(e,{width:"wide",context:"formatting"})||s.dayPeriod(e,{width:"abbreviated",context:"formatting"})||s.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,n,s){return e.setHours(lf(s),0,0,0),e}incompatibleTokens=["a","b","t","T"]}class LO extends rt{priority=70;parse(e,n,s){switch(n){case"h":return kt(Ot.hour12h,e);case"ho":return s.ordinalNumber(e,{unit:"hour"});default:return Tt(n.length,e)}}validate(e,n){return n>=1&&n<=12}set(e,n,s){const i=e.getHours()>=12;return i&&s<12?e.setHours(s+12,0,0,0):!i&&s===12?e.setHours(0,0,0,0):e.setHours(s,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]}class NO extends rt{priority=70;parse(e,n,s){switch(n){case"H":return kt(Ot.hour23h,e);case"Ho":return s.ordinalNumber(e,{unit:"hour"});default:return Tt(n.length,e)}}validate(e,n){return n>=0&&n<=23}set(e,n,s){return e.setHours(s,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]}class FO extends rt{priority=70;parse(e,n,s){switch(n){case"K":return kt(Ot.hour11h,e);case"Ko":return s.ordinalNumber(e,{unit:"hour"});default:return Tt(n.length,e)}}validate(e,n){return n>=0&&n<=11}set(e,n,s){return e.getHours()>=12&&s<12?e.setHours(s+12,0,0,0):e.setHours(s,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]}class BO extends rt{priority=70;parse(e,n,s){switch(n){case"k":return kt(Ot.hour24h,e);case"ko":return s.ordinalNumber(e,{unit:"hour"});default:return Tt(n.length,e)}}validate(e,n){return n>=1&&n<=24}set(e,n,s){const i=s<=24?s%24:s;return e.setHours(i,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]}class VO extends rt{priority=60;parse(e,n,s){switch(n){case"m":return kt(Ot.minute,e);case"mo":return s.ordinalNumber(e,{unit:"minute"});default:return Tt(n.length,e)}}validate(e,n){return n>=0&&n<=59}set(e,n,s){return e.setMinutes(s,0,0),e}incompatibleTokens=["t","T"]}class HO extends rt{priority=50;parse(e,n,s){switch(n){case"s":return kt(Ot.second,e);case"so":return s.ordinalNumber(e,{unit:"second"});default:return Tt(n.length,e)}}validate(e,n){return n>=0&&n<=59}set(e,n,s){return e.setSeconds(s,0),e}incompatibleTokens=["t","T"]}class jO extends rt{priority=30;parse(e,n){const s=i=>Math.trunc(i*Math.pow(10,-n.length+3));return It(Tt(n.length,e),s)}set(e,n,s){return e.setMilliseconds(s),e}incompatibleTokens=["t","T"]}class WO extends rt{priority=10;parse(e,n){switch(n){case"X":return ws(ys.basicOptionalMinutes,e);case"XX":return ws(ys.basic,e);case"XXXX":return ws(ys.basicOptionalSeconds,e);case"XXXXX":return ws(ys.extendedOptionalSeconds,e);case"XXX":default:return ws(ys.extended,e)}}set(e,n,s){return n.timestampIsSet?e:ot(e,e.getTime()-mc(e)-s)}incompatibleTokens=["t","T","x"]}class zO extends rt{priority=10;parse(e,n){switch(n){case"x":return ws(ys.basicOptionalMinutes,e);case"xx":return ws(ys.basic,e);case"xxxx":return ws(ys.basicOptionalSeconds,e);case"xxxxx":return ws(ys.extendedOptionalSeconds,e);case"xxx":default:return ws(ys.extended,e)}}set(e,n,s){return n.timestampIsSet?e:ot(e,e.getTime()-mc(e)-s)}incompatibleTokens=["t","T","X"]}class YO extends rt{priority=40;parse(e){return Cy(e)}set(e,n,s){return[ot(e,s*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}class UO extends rt{priority=20;parse(e){return Cy(e)}set(e,n,s){return[ot(e,s),{timestampIsSet:!0}]}incompatibleTokens="*"}const KO={G:new dO,y:new hO,Y:new fO,R:new pO,u:new gO,Q:new mO,q:new _O,M:new vO,L:new bO,w:new wO,I:new kO,d:new AO,D:new CO,E:new EO,e:new PO,c:new TO,i:new DO,a:new OO,b:new IO,B:new RO,h:new LO,H:new NO,K:new FO,k:new BO,m:new VO,s:new HO,S:new jO,X:new WO,x:new zO,t:new YO,T:new UO},qO=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,GO=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,JO=/^'([^]*?)'?$/,XO=/''/g,QO=/\S/,ZO=/[a-zA-Z]/;function Wd(t,e,n,s){const i=oO(),o=s?.locale??i.locale??xy,r=s?.firstWeekContainsDate??s?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,a=s?.weekStartsOn??s?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0;if(e==="")return t===""?Ne(n):ot(n,NaN);const l={firstWeekContainsDate:r,weekStartsOn:a,locale:o},c=[new uO],u=e.match(GO).map(m=>{const b=m[0];if(b in Hd){const w=Hd[b];return w(m,o.formatLong)}return m}).join("").match(qO),d=[];for(let m of u){!s?.useAdditionalWeekYearTokens&&$y(m)&&jd(m,e,t),!s?.useAdditionalDayOfYearTokens&&Sy(m)&&jd(m,e,t);const b=m[0],w=KO[b];if(w){const{incompatibleTokens:$}=w;if(Array.isArray($)){const D=d.find(x=>$.includes(x.token)||x.token===b);if(D)throw new RangeError(`The format string mustn't contain \`${D.fullToken}\` and \`${m}\` at the same time`)}else if(w.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:b,fullToken:m});const A=w.run(t,m,o.match,l);if(!A)return ot(n,NaN);c.push(A.setter),t=A.rest}else{if(b.match(ZO))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");if(m==="''"?m="'":b==="'"&&(m=eI(m)),t.indexOf(m)===0)t=t.slice(m.length);else return ot(n,NaN)}}if(t.length>0&&QO.test(t))return ot(n,NaN);const f=c.map(m=>m.priority).sort((m,b)=>b-m).filter((m,b,w)=>w.indexOf(m)===b).map(m=>c.filter(b=>b.priority===m).sort((b,w)=>w.subPriority-b.subPriority)).map(m=>m[0]);let g=Ne(n);if(isNaN(g.getTime()))return ot(n,NaN);const _={};for(const m of f){if(!m.validate(g,l))return ot(n,NaN);const b=m.set(g,_,l);Array.isArray(b)?(g=b[0],Object.assign(_,b[1])):g=b}return ot(n,g)}function eI(t){return t.match(JO)[1].replace(XO,"'")}function um(t,e){const n=go(t),s=go(e);return+n==+s}function tI(t,e){return is(t,-e)}function Ty(t,e){const n=Ne(t),s=n.getFullYear(),i=n.getDate(),o=ot(t,0);o.setFullYear(s,e,15),o.setHours(0,0,0,0);const r=iO(o);return n.setMonth(e,Math.min(i,r)),n}function dt(t,e){let n=Ne(t);return isNaN(+n)?ot(t,NaN):(e.year!=null&&n.setFullYear(e.year),e.month!=null&&(n=Ty(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 nI(t,e){const n=Ne(t);return n.setHours(e),n}function My(t,e){const n=Ne(t);return n.setMilliseconds(e),n}function sI(t,e){const n=Ne(t);return n.setMinutes(e),n}function Dy(t,e){const n=Ne(t);return n.setSeconds(e),n}function xs(t,e){const n=Ne(t);return isNaN(+n)?ot(t,NaN):(n.setFullYear(e),n)}function xr(t,e){return ls(t,-e)}function iI(t,e){const{years:n=0,months:s=0,weeks:i=0,days:o=0,hours:r=0,minutes:a=0,seconds:l=0}=e,c=xr(t,s+n*12),u=tI(c,o+i*7),d=a+r*60,g=(l+d*60)*1e3;return ot(t,u.getTime()-g)}function Oy(t,e){return sf(t,-e)}function Lr(){const t=sA();return M(),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"})])}Lr.compatConfig={MODE:3};function Iy(){return M(),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"})])}Iy.compatConfig={MODE:3};function uf(){return M(),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"})])}uf.compatConfig={MODE:3};function df(){return M(),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"})])}df.compatConfig={MODE:3};function hf(){return M(),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"})])}hf.compatConfig={MODE:3};function ff(){return M(),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"})])}ff.compatConfig={MODE:3};function pf(){return M(),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"})])}pf.compatConfig={MODE:3};const En=(t,e)=>e?new Date(t.toLocaleString("en-US",{timeZone:e})):new Date(t),gf=(t,e,n)=>zd(t,e,n)||we(),oI=(t,e,n)=>{const s=e.dateInTz?En(new Date(t),e.dateInTz):we(t);return n?wn(s,!0):s},zd=(t,e,n)=>{if(!t)return null;const s=n?wn(we(t),!0):we(t);return e?e.exactMatch?oI(t,e,n):En(s,e.timezone):s},rI=t=>{if(!t)return 0;const e=new Date,n=new Date(e.toLocaleString("en-US",{timeZone:"UTC"})),s=new Date(e.toLocaleString("en-US",{timeZone:t})),i=s.getTimezoneOffset()/60;return(+n-+s)/(1e3*60*60)-i};var ts=(t=>(t.month="month",t.year="year",t))(ts||{}),co=(t=>(t.top="top",t.bottom="bottom",t))(co||{}),yo=(t=>(t.header="header",t.calendar="calendar",t.timePicker="timePicker",t))(yo||{}),ln=(t=>(t.month="month",t.year="year",t.calendar="calendar",t.time="time",t.minutes="minutes",t.hours="hours",t.seconds="seconds",t))(ln||{});const aI=["timestamp","date","iso"];var gn=(t=>(t.up="up",t.down="down",t.left="left",t.right="right",t))(gn||{}),mt=(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))(mt||{});function dm(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 lI(t){return e=>$s(En(new Date(`2017-01-0${e}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:t})}const cI=(t,e,n)=>{const s=[1,2,3,4,5,6,7];let i;if(t!==null)try{i=s.map(lI(t))}catch{i=s.map(dm(e))}else i=s.map(dm(e));const o=i.slice(0,n),r=i.slice(n+1,i.length);return[i[n]].concat(...r).concat(...o)},mf=(t,e,n)=>{const s=[];for(let i=+t[0];i<=+t[1];i++)s.push({value:+i,text:Fy(i,e)});return n?s.reverse():s},Ry=(t,e,n)=>{const s=[1,2,3,4,5,6,7,8,9,10,11,12].map(o=>{const r=o<10?`0${o}`:o;return new Date(`2017-${r}-01T00:00:00+00:00`)});if(t!==null)try{const o=n==="long"?"LLLL":"LLL";return s.map((r,a)=>{const l=$s(En(r,"UTC"),o,{locale:t});return{text:l.charAt(0).toUpperCase()+l.substring(1),value:a}})}catch{}const i=new Intl.DateTimeFormat(e,{month:n,timeZone:"UTC"});return s.map((o,r)=>{const a=i.format(o);return{text:a.charAt(0).toUpperCase()+a.substring(1),value:r}})},uI=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],Ht=t=>{const e=q(t);return e!=null&&e.$el?e?.$el:e},dI=t=>({type:"dot",...t??{}}),Ly=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,_f={prop:t=>`"${t}" prop must be enabled!`,dateArr:t=>`You need to use array as "model-value" binding in order to support "${t}"`},Jt=t=>t,hm=t=>t===0?t:!t||isNaN(+t)?null:+t,fm=t=>t===null,Ny=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},hI=t=>{const e=[],n=s=>s.filter(i=>i);for(let s=0;s{const s=n!=null,i=e!=null;if(!s&&!i)return!1;const o=+n,r=+e;return s&&i?+t>o||+to:i?+thI(t).map(n=>n.map(s=>{const{active:i,disabled:o,isBetween:r,highlighted:a}=e(s);return{...s,active:i,disabled:o,className:{dp__overlay_cell_active:i,dp__overlay_cell:!i,dp__overlay_cell_disabled:o,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:o&&i,dp__cell_in_between:r,"dp--highlighted":a}}})),Ci=(t,e,n=!1)=>{t&&e.allowStopPropagation&&(n&&t.stopImmediatePropagation(),t.stopPropagation())},fI=()=>["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 pI(t,e){let n=[...document.querySelectorAll(fI())];n=n.filter(i=>!t.contains(i)||i.hasAttribute("data-datepicker-instance"));const s=n.indexOf(t);if(s>=0&&(e?s-1>=0:s+1<=n.length))return n[s+(e?-1:1)]}const Yd=(t,e)=>t?.querySelector(`[data-dp-element="${e}"]`),Fy=(t,e)=>new Intl.NumberFormat(e,{useGrouping:!1,style:"decimal"}).format(t),vf=t=>$s(t,"dd-MM-yyyy"),Wu=t=>Array.isArray(t),vc=(t,e)=>e.get(vf(t)),gI=(t,e)=>t?e?e instanceof Map?!!vc(t,e):e(we(t)):!1:!0,vn=(t,e,n=!1,s)=>{if(t.key===mt.enter||t.key===mt.space)return n&&t.preventDefault(),e();if(s)return s(t)},mI=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(t=>navigator.userAgent.includes(t))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,pm=(t,e,n,s,i,o)=>{const r=Wd(t,e.slice(0,t.length),new Date,{locale:o});return va(r)&&vy(r)?s||i?r:dt(r,{hours:+n.hours,minutes:+n?.minutes,seconds:+n?.seconds,milliseconds:0}):null},_I=(t,e,n,s,i,o)=>{const r=Array.isArray(n)?n[0]:n;if(typeof e=="string")return pm(t,e,r,s,i,o);if(Array.isArray(e)){let a=null;for(const l of e)if(a=pm(t,l,r,s,i,o),a)break;return a}return typeof e=="function"?e(t):null},we=t=>t?new Date(t):new Date,vI=(t,e,n)=>{if(e){const i=(t.getMonth()+1).toString().padStart(2,"0"),o=t.getDate().toString().padStart(2,"0"),r=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()}-${i}-${o}T${r}:${a}:${l}.000Z`}const s=Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds());return new Date(s).toISOString()},wn=(t,e)=>{const n=we(JSON.parse(JSON.stringify(t))),s=dt(n,{hours:0,minutes:0,seconds:0,milliseconds:0});return e?d2(s):s},Ei=(t,e,n,s)=>{let i=t?we(t):we();return(e||e===0)&&(i=nI(i,+e)),(n||n===0)&&(i=sI(i,+n)),(s||s===0)&&(i=Dy(i,+s)),My(i,0)},$t=(t,e)=>!t||!e?!1:La(wn(t),wn(e)),tt=(t,e)=>!t||!e?!1:tr(wn(t),wn(e)),Dt=(t,e)=>!t||!e?!1:wr(wn(t),wn(e)),Xc=(t,e,n)=>t!=null&&t[0]&&t!=null&&t[1]?Dt(n,t[0])&&$t(n,t[1]):t!=null&&t[0]&&e?Dt(n,t[0])&&$t(n,e)||$t(n,t[0])&&Dt(n,e):!1,os=t=>{const e=dt(new Date(t),{date:1});return wn(e)},zu=(t,e,n)=>e&&(n||n===0)?Object.fromEntries(["hours","minutes","seconds"].map(s=>s===e?[s,n]:[s,isNaN(+t[s])?void 0:+t[s]])):{hours:isNaN(+t.hours)?void 0:+t.hours,minutes:isNaN(+t.minutes)?void 0:+t.minutes,seconds:isNaN(+t.seconds)?void 0:+t.seconds},wo=t=>({hours:Qs(t),minutes:Oi(t),seconds:yr(t)}),By=(t,e)=>{if(e){const n=ze(we(e));if(n>t)return 12;if(n===t)return Qe(we(e))}},Vy=(t,e)=>{if(e){const n=ze(we(e));return n{if(t)return ze(we(t))},Hy=(t,e)=>{const n=Dt(t,e)?e:t,s=Dt(e,t)?e:t;return by({start:n,end:s})},bI=t=>{const e=ls(t,1);return{month:Qe(e),year:ze(e)}},js=(t,e)=>{const n=us(t,{weekStartsOn:+e}),s=wy(t,{weekStartsOn:+e});return[n,s]},jy=(t,e)=>{const n={hours:Qs(we()),minutes:Oi(we()),seconds:e?yr(we()):0};return Object.assign(n,t)},yi=(t,e,n)=>[dt(we(t),{date:1}),dt(we(),{month:e,year:n,date:1})],Ys=(t,e,n)=>{let s=t?we(t):we();return(e||e===0)&&(s=Ty(s,e)),n&&(s=xs(s,n)),s},Wy=(t,e,n,s,i)=>{if(!s||i&&!e||!i&&!n)return!1;const o=i?ls(t,1):xr(t,1),r=[Qe(o),ze(o)];return i?!wI(...r,e):!yI(...r,n)},yI=(t,e,n)=>$t(...yi(n,t,e))||tt(...yi(n,t,e)),wI=(t,e,n)=>Dt(...yi(n,t,e))||tt(...yi(n,t,e)),zy=(t,e,n,s,i,o,r)=>{if(typeof e=="function"&&!r)return e(t);const a=n?{locale:n}:void 0;return Array.isArray(t)?`${$s(t[0],o,a)}${i&&!t[1]?"":s}${t[1]?$s(t[1],o,a):""}`:$s(t,o,a)},qo=t=>{if(t)return null;throw new Error(_f.prop("partial-range"))},Tl=(t,e)=>{if(e)return t();throw new Error(_f.prop("range"))},Ud=t=>Array.isArray(t)?va(t[0])&&(t[1]?va(t[1]):!0):t?va(t):!1,xI=(t,e)=>dt(e??we(),{hours:+t.hours||0,minutes:+t.minutes||0,seconds:+t.seconds||0}),Yu=(t,e,n,s)=>{if(!t)return!0;if(s){const i=n==="max"?La(t,e):wr(t,e),o={seconds:0,milliseconds:0};return i||tr(dt(t,o),dt(e,o))}return n==="max"?t.getTime()<=e.getTime():t.getTime()>=e.getTime()},Uu=(t,e,n)=>t?xI(t,e):we(n??e),gm=(t,e,n,s,i)=>{if(Array.isArray(s)){const r=Uu(t,s[0],e),a=Uu(t,s[1],e);return Yu(s[0],r,n,!!e)&&Yu(s[1],a,n,!!e)&&i}const o=Uu(t,s,e);return Yu(s,o,n,!!e)&&i},Ku=t=>dt(we(),wo(t)),kI=(t,e)=>t instanceof Map?Array.from(t.values()).filter(n=>ze(we(n))===e).map(n=>Qe(n)):[],Yy=(t,e,n)=>typeof t=="function"?t({month:e,year:n}):!!t.months.find(s=>s.month===e&&s.year===n),bf=(t,e)=>typeof t=="function"?t(e):t.years.includes(e),Uy=t=>$s(t,"yyyy-MM-dd"),Jr=Ts({menuFocused:!1,shiftKeyInMenu:!1}),Ky=()=>{const t=n=>{Jr.menuFocused=n},e=n=>{Jr.shiftKeyInMenu!==n&&(Jr.shiftKeyInMenu=n)};return{control:_e(()=>({shiftKeyInMenu:Jr.shiftKeyInMenu,menuFocused:Jr.menuFocused})),setMenuFocused:t,setShiftKey:e}},gt=Ts({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),qu=ve(null),Ml=ve(!1),Gu=ve(!1),Ju=ve(!1),Xu=ve(!1),rn=ve(0),Mt=ve(0),Hi=()=>{const t=_e(()=>Ml.value?[...gt.selectionGrid,gt.actionRow].filter(d=>d.length):Gu.value?[...gt.timePicker[0],...gt.timePicker[1],Xu.value?[]:[qu.value],gt.actionRow].filter(d=>d.length):Ju.value?[...gt.monthPicker,gt.actionRow]:[gt.monthYear,...gt.calendar,gt.time,gt.actionRow].filter(d=>d.length)),e=d=>{rn.value=d?rn.value+1:rn.value-1;let f=null;t.value[Mt.value]&&(f=t.value[Mt.value][rn.value]),!f&&t.value[Mt.value+(d?1:-1)]?(Mt.value=Mt.value+(d?1:-1),rn.value=d?0:t.value[Mt.value].length-1):f||(rn.value=d?rn.value-1:rn.value+1)},n=d=>{Mt.value===0&&!d||Mt.value===t.value.length&&d||(Mt.value=d?Mt.value+1:Mt.value-1,t.value[Mt.value]?t.value[Mt.value]&&!t.value[Mt.value][rn.value]&&rn.value!==0&&(rn.value=t.value[Mt.value].length-1):Mt.value=d?Mt.value-1:Mt.value+1)},s=d=>{let f=null;t.value[Mt.value]&&(f=t.value[Mt.value][rn.value]),f?f.focus({preventScroll:!Ml.value}):rn.value=d?rn.value-1:rn.value+1},i=()=>{e(!0),s(!0)},o=()=>{e(!1),s(!1)},r=()=>{n(!1),s(!0)},a=()=>{n(!0),s(!0)},l=(d,f)=>{gt[f]=d},c=(d,f)=>{gt[f]=d},u=()=>{rn.value=0,Mt.value=0};return{buildMatrix:l,buildMultiLevelMatrix:c,setTimePickerBackRef:d=>{qu.value=d},setSelectionGrid:d=>{Ml.value=d,u(),d||(gt.selectionGrid=[])},setTimePicker:(d,f=!1)=>{Gu.value=d,Xu.value=f,u(),d||(gt.timePicker[0]=[],gt.timePicker[1]=[])},setTimePickerElements:(d,f=0)=>{gt.timePicker[f]=d},arrowRight:i,arrowLeft:o,arrowUp:r,arrowDown:a,clearArrowNav:()=>{gt.monthYear=[],gt.calendar=[],gt.time=[],gt.actionRow=[],gt.selectionGrid=[],gt.timePicker[0]=[],gt.timePicker[1]=[],Ml.value=!1,Gu.value=!1,Xu.value=!1,Ju.value=!1,u(),qu.value=null},setMonthPicker:d=>{Ju.value=d,u()},refSets:gt}},mm=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??{}}),SI=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??{}}),_m=t=>t?typeof t=="boolean"?t?2:0:+t>=2?+t:2:0,$I=t=>{const e=typeof t=="object"&&t,n={static:!0,solo:!1};if(!t)return{...n,count:_m(!1)};const s=e?t:{},i=e?s.count??!0:t,o=_m(i);return Object.assign(n,s,{count:o})},AI=(t,e,n)=>t||(typeof n=="string"?n:e),CI=t=>typeof t=="boolean"?t?mm({}):!1:mm(t),EI=t=>{const e={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - "};return typeof t=="object"?{...e,...t??{},enabled:!0}:{...e,enabled:t}},PI=t=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...t??{}}),TI=t=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...t??{}}),MI=t=>{const e={input:!1};return typeof t=="object"?{...e,...t??{},enabled:!0}:{enabled:t,...e}},DI=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??{}}),OI=t=>{const e={dates:Array.isArray(t)?t.map(n=>we(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof t=="function"?t:{...e,...t??{}}},II=t=>typeof t=="object"?{type:t?.type??"local",hideOnOffsetDates:t?.hideOnOffsetDates??!1}:{type:t,hideOnOffsetDates:!1},RI=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}},LI=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},Qu=(t,e,n)=>new Map(t.map(s=>{const i=gf(s,e,n);return[vf(i),i]})),NI=(t,e)=>t.length?new Map(t.map(n=>{const s=gf(n.date,e);return[vf(s),n]})):null,FI=t=>{var e;return{minDate:zd(t.minDate,t.timezone,t.isSpecific),maxDate:zd(t.maxDate,t.timezone,t.isSpecific),disabledDates:Wu(t.disabledDates)?Qu(t.disabledDates,t.timezone,t.isSpecific):t.disabledDates,allowedDates:Wu(t.allowedDates)?Qu(t.allowedDates,t.timezone,t.isSpecific):null,highlight:typeof t.highlight=="object"&&Wu((e=t.highlight)==null?void 0:e.dates)?Qu(t.highlight.dates,t.timezone):t.highlight,markers:NI(t.markers,t.timezone)}},BI=t=>typeof t=="boolean"?{enabled:t,dragSelect:!0,limit:null}:{enabled:!!t,limit:t.limit?+t.limit:null,dragSelect:t.dragSelect??!0},VI=t=>({...Object.fromEntries(Object.keys(t).map(e=>{const n=e,s=t[n],i=typeof t[n]=="string"?{[s]:!0}:Object.fromEntries(s.map(o=>[o,!0]));return[e,i]}))}),xt=t=>{const e=()=>{const y=t.enableSeconds?":ss":"",S=t.enableMinutes?":mm":"";return t.is24?`HH${S}${y}`:`hh${S}${y} aa`},n=()=>{var y;return t.format?t.format:t.monthPicker?"MM/yyyy":t.timePicker?e():t.weekPicker?`${((y=b.value)==null?void 0:y.type)==="iso"?"RR":"ww"}-yyyy`:t.yearPicker?"yyyy":t.quarterPicker?"QQQ/yyyy":t.enableTimePicker?`MM/dd/yyyy, ${e()}`:"MM/dd/yyyy"},s=y=>jy(y,t.enableSeconds),i=()=>D.value.enabled?t.startTime&&Array.isArray(t.startTime)?[s(t.startTime[0]),s(t.startTime[1])]:null:t.startTime&&!Array.isArray(t.startTime)?s(t.startTime):null,o=_e(()=>$I(t.multiCalendars)),r=_e(()=>i()),a=_e(()=>SI(t.ariaLabels)),l=_e(()=>PI(t.filters)),c=_e(()=>CI(t.transitions)),u=_e(()=>TI(t.actionRow)),d=_e(()=>AI(t.previewFormat,t.format,n())),f=_e(()=>EI(t.textInput)),g=_e(()=>MI(t.inline)),_=_e(()=>DI(t.config)),m=_e(()=>OI(t.highlight)),b=_e(()=>II(t.weekNumbers)),w=_e(()=>LI(t.timezone)),$=_e(()=>BI(t.multiDates)),A=_e(()=>FI({minDate:t.minDate,maxDate:t.maxDate,disabledDates:t.disabledDates,allowedDates:t.allowedDates,highlight:m.value,markers:t.markers,timezone:w.value,isSpecific:t.monthPicker||t.yearPicker||t.quarterPicker})),D=_e(()=>RI(t.range)),x=_e(()=>VI(t.ui));return{defaultedTransitions:c,defaultedMultiCalendars:o,defaultedStartTime:r,defaultedAriaLabels:a,defaultedFilters:l,defaultedActionRow:u,defaultedPreviewFormat:d,defaultedTextInput:f,defaultedInline:g,defaultedConfig:_,defaultedHighlight:m,defaultedWeekNumbers:b,defaultedRange:D,propDates:A,defaultedTz:w,defaultedMultiDates:$,defaultedUI:x,getDefaultPattern:n,getDefaultStartTime:i}},HI=(t,e,n)=>{const s=ve(),{defaultedTextInput:i,defaultedRange:o,defaultedTz:r,defaultedMultiDates:a,getDefaultPattern:l}=xt(e),c=ve(""),u=Ca(e,"format"),d=Ca(e,"formatLocale");Bt(s,()=>{typeof e.onInternalModelChange=="function"&&t("internal-model-change",s.value,oe(!0))},{deep:!0}),Bt(o,(P,se)=>{P.enabled!==se.enabled&&(s.value=null)}),Bt(u,()=>{Q()});const f=P=>r.value.timezone&&r.value.convertModel?En(P,r.value.timezone):P,g=P=>{if(r.value.timezone&&r.value.convertModel){const se=rI(r.value.timezone);return i2(P,se)}return P},_=(P,se,ue=!1)=>zy(P,e.format,e.formatLocale,i.value.rangeSeparator,e.modelAuto,se??l(),ue),m=P=>P?e.modelType?le(P):{hours:Qs(P),minutes:Oi(P),seconds:e.enableSeconds?yr(P):0}:null,b=P=>e.modelType?le(P):{month:Qe(P),year:ze(P)},w=P=>Array.isArray(P)?a.value.enabled?P.map(se=>$(se,xs(we(),se))):Tl(()=>[xs(we(),P[0]),P[1]?xs(we(),P[1]):qo(o.value.partialRange)],o.value.enabled):xs(we(),+P),$=(P,se)=>(typeof P=="string"||typeof P=="number")&&e.modelType?Z(P):se,A=P=>Array.isArray(P)?[$(P[0],Ei(null,+P[0].hours,+P[0].minutes,P[0].seconds)),$(P[1],Ei(null,+P[1].hours,+P[1].minutes,P[1].seconds))]:$(P,Ei(null,P.hours,P.minutes,P.seconds)),D=P=>{const se=dt(we(),{date:1});return Array.isArray(P)?a.value.enabled?P.map(ue=>$(ue,Ys(se,+ue.month,+ue.year))):Tl(()=>[$(P[0],Ys(se,+P[0].month,+P[0].year)),$(P[1],P[1]?Ys(se,+P[1].month,+P[1].year):qo(o.value.partialRange))],o.value.enabled):$(P,Ys(se,+P.month,+P.year))},x=P=>{if(Array.isArray(P))return P.map(se=>Z(se));throw new Error(_f.dateArr("multi-dates"))},y=P=>{if(Array.isArray(P)&&o.value.enabled){const se=P[0],ue=P[1];return[we(Array.isArray(se)?se[0]:null),we(Array.isArray(ue)?ue[0]:null)]}return we(P[0])},S=P=>e.modelAuto?Array.isArray(P)?[Z(P[0]),Z(P[1])]:e.autoApply?[Z(P)]:[Z(P),null]:Array.isArray(P)?Tl(()=>P[1]?[Z(P[0]),P[1]?Z(P[1]):qo(o.value.partialRange)]:[Z(P[0])],o.value.enabled):Z(P),E=()=>{Array.isArray(s.value)&&o.value.enabled&&s.value.length===1&&s.value.push(qo(o.value.partialRange))},T=()=>{const P=s.value;return[le(P[0]),P[1]?le(P[1]):qo(o.value.partialRange)]},C=()=>s.value[1]?T():le(Jt(s.value[0])),B=()=>(s.value||[]).map(P=>le(P)),J=(P=!1)=>(P||E(),e.modelAuto?C():a.value.enabled?B():Array.isArray(s.value)?Tl(()=>T(),o.value.enabled):le(Jt(s.value))),ae=P=>!P||Array.isArray(P)&&!P.length?null:e.timePicker?A(Jt(P)):e.monthPicker?D(Jt(P)):e.yearPicker?w(Jt(P)):a.value.enabled?x(Jt(P)):e.weekPicker?y(Jt(P)):S(Jt(P)),Y=P=>{const se=ae(P);Ud(Jt(se))?(s.value=Jt(se),Q()):(s.value=null,c.value="")},L=()=>{const P=se=>$s(se,i.value.format);return`${P(s.value[0])} ${i.value.rangeSeparator} ${s.value[1]?P(s.value[1]):""}`},I=()=>n.value&&s.value?Array.isArray(s.value)?L():$s(s.value,i.value.format):_(s.value),V=()=>s.value?a.value.enabled?s.value.map(P=>_(P)).join("; "):i.value.enabled&&typeof i.value.format=="string"?I():_(s.value):"",Q=()=>{!e.format||typeof e.format=="string"||i.value.enabled&&typeof i.value.format=="string"?c.value=V():c.value=e.format(s.value)},Z=P=>{if(e.utc){const se=new Date(P);return e.utc==="preserve"?new Date(se.getTime()+se.getTimezoneOffset()*6e4):se}return e.modelType?aI.includes(e.modelType)?f(new Date(P)):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?f(Wd(P,l(),new Date,{locale:d.value})):f(Wd(P,e.modelType,new Date,{locale:d.value})):f(new Date(P))},le=P=>P?e.utc?vI(P,e.utc==="preserve",e.enableSeconds):e.modelType?e.modelType==="timestamp"?+g(P):e.modelType==="iso"?g(P).toISOString():e.modelType==="format"&&(typeof e.format=="string"||!e.format)?_(g(P)):_(g(P),e.modelType,!0):g(P):"",ye=(P,se=!1,ue=!1)=>{if(ue)return P;if(t("update:model-value",P),r.value.emitTimezone&&se){const xe=Array.isArray(P)?P.map(N=>En(Jt(N),r.value.emitTimezone)):En(Jt(P),r.value.emitTimezone);t("update:model-timezone-value",xe)}},U=P=>Array.isArray(s.value)?a.value.enabled?s.value.map(se=>P(se)):[P(s.value[0]),s.value[1]?P(s.value[1]):qo(o.value.partialRange)]:P(Jt(s.value)),X=()=>{if(Array.isArray(s.value)){const P=js(s.value[0],e.weekStart),se=s.value[1]?js(s.value[1],e.weekStart):[];return[P.map(ue=>we(ue)),se.map(ue=>we(ue))]}return js(s.value,e.weekStart).map(P=>we(P))},R=(P,se)=>ye(Jt(U(P)),!1,se),ee=P=>{const se=X();return P?se:t("update:model-value",X())},oe=(P=!1)=>(P||Q(),e.monthPicker?R(b,P):e.timePicker?R(m,P):e.yearPicker?R(ze,P):e.weekPicker?ee(P):ye(J(P),!0,P));return{inputValue:c,internalModelValue:s,checkBeforeEmit:()=>s.value?o.value.enabled?o.value.partialRange?s.value.length>=1:s.value.length===2:!!s.value:!1,parseExternalModelValue:Y,formatInputValue:Q,emitModelValue:oe}},jI=(t,e)=>{const{defaultedFilters:n,propDates:s}=xt(t),{validateMonthYearInRange:i}=ji(t),o=(u,d)=>{let f=u;return n.value.months.includes(Qe(f))?(f=d?ls(u,1):xr(u,1),o(f,d)):f},r=(u,d)=>{let f=u;return n.value.years.includes(ze(f))?(f=d?sf(u,1):Oy(u,1),r(f,d)):f},a=(u,d=!1)=>{const f=dt(we(),{month:t.month,year:t.year});let g=u?ls(f,1):xr(f,1);t.disableYearSelect&&(g=xs(g,t.year));let _=Qe(g),m=ze(g);n.value.months.includes(_)&&(g=o(g,u),_=Qe(g),m=ze(g)),n.value.years.includes(m)&&(g=r(g,u),m=ze(g)),i(_,m,u,t.preventMinMaxNavigation)&&l(_,m,d)},l=(u,d,f)=>{e("update-month-year",{month:u,year:d,fromNav:f})},c=_e(()=>u=>Wy(dt(we(),{month:t.month,year:t.year}),s.value.maxDate,s.value.minDate,t.preventMinMaxNavigation,u));return{handleMonthYearChange:a,isDisabled:c,updateMonthYear:l}},Qc={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:()=>({})}},ds={...Qc,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}},WI=["title"],zI=["disabled"],YI=Nt({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...ds},emits:["close-picker","select-date","select-now","invalid-select"],setup(t,{emit:e}){const n=e,s=t,{defaultedActionRow:i,defaultedPreviewFormat:o,defaultedMultiCalendars:r,defaultedTextInput:a,defaultedInline:l,defaultedRange:c,defaultedMultiDates:u,getDefaultPattern:d}=xt(s),{isTimeValid:f,isMonthValid:g}=ji(s),{buildMatrix:_}=Hi(),m=ve(null),b=ve(null),w=ve(!1),$=ve({}),A=ve(null),D=ve(null);qt(()=>{s.arrowNavigation&&_([Ht(m),Ht(b)],"actionRow"),x(),window.addEventListener("resize",x)}),Ir(()=>{window.removeEventListener("resize",x)});const x=()=>{w.value=!1,setTimeout(()=>{var L,I;const V=(L=A.value)==null?void 0:L.getBoundingClientRect(),Q=(I=D.value)==null?void 0:I.getBoundingClientRect();V&&Q&&($.value.maxWidth=`${Q.width-V.width-20}px`),w.value=!0},0)},y=_e(()=>c.value.enabled&&!c.value.partialRange&&s.internalModelValue?s.internalModelValue.length===2:!0),S=_e(()=>!f.value(s.internalModelValue)||!g.value(s.internalModelValue)||!y.value),E=()=>{const L=o.value;return s.timePicker||s.monthPicker,L(Jt(s.internalModelValue))},T=()=>{const L=s.internalModelValue;return r.value.count>0?`${C(L[0])} - ${C(L[1])}`:[C(L[0]),C(L[1])]},C=L=>zy(L,o.value,s.formatLocale,a.value.rangeSeparator,s.modelAuto,d()),B=_e(()=>!s.internalModelValue||!s.menuMount?"":typeof o.value=="string"?Array.isArray(s.internalModelValue)?s.internalModelValue.length===2&&s.internalModelValue[1]?T():u.value.enabled?s.internalModelValue.map(L=>`${C(L)}`):s.modelAuto?`${C(s.internalModelValue[0])}`:`${C(s.internalModelValue[0])} -`:C(s.internalModelValue):E()),J=()=>u.value.enabled?"; ":" - ",ae=_e(()=>Array.isArray(B.value)?B.value.join(J()):B.value),Y=()=>{f.value(s.internalModelValue)&&g.value(s.internalModelValue)&&y.value?n("select-date"):n("invalid-select")};return(L,I)=>(M(),F("div",{ref_key:"actionRowRef",ref:D,class:"dp__action_row"},[L.$slots["action-row"]?Ie(L.$slots,"action-row",Qt(zt({key:0},{internalModelValue:L.internalModelValue,disabled:S.value,selectDate:()=>L.$emit("select-date"),closePicker:()=>L.$emit("close-picker")}))):(M(),F(Te,{key:1},[q(i).showPreview?(M(),F("div",{key:0,class:"dp__selection_preview",title:ae.value,style:jt($.value)},[L.$slots["action-preview"]&&w.value?Ie(L.$slots,"action-preview",{key:0,value:L.internalModelValue}):re("",!0),!L.$slots["action-preview"]&&w.value?(M(),F(Te,{key:1},[be(me(ae.value),1)],64)):re("",!0)],12,WI)):re("",!0),h("div",{ref_key:"actionBtnContainer",ref:A,class:"dp__action_buttons","data-dp-element":"action-row"},[L.$slots["action-buttons"]?Ie(L.$slots,"action-buttons",{key:0,value:L.internalModelValue}):re("",!0),L.$slots["action-buttons"]?re("",!0):(M(),F(Te,{key:1},[!q(l).enabled&&q(i).showCancel?(M(),F("button",{key:0,ref_key:"cancelButtonRef",ref:m,type:"button",class:"dp__action_button dp__action_cancel",onClick:I[0]||(I[0]=V=>L.$emit("close-picker")),onKeydown:I[1]||(I[1]=V=>q(vn)(V,()=>L.$emit("close-picker")))},me(L.cancelText),545)):re("",!0),q(i).showNow?(M(),F("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:I[2]||(I[2]=V=>L.$emit("select-now")),onKeydown:I[3]||(I[3]=V=>q(vn)(V,()=>L.$emit("select-now")))},me(L.nowButtonLabel),33)):re("",!0),q(i).showSelect?(M(),F("button",{key:2,ref_key:"selectButtonRef",ref:b,type:"button",class:"dp__action_button dp__action_select",disabled:S.value,"data-test":"select-button",onKeydown:I[4]||(I[4]=V=>q(vn)(V,()=>Y())),onClick:Y},me(L.selectText),41,zI)):re("",!0)],64))],512)],64))],512))}}),UI=["role","aria-label","tabindex"],KI={class:"dp__selection_grid_header"},qI=["aria-selected","aria-disabled","data-test","onClick","onKeydown","onMouseover"],GI=["aria-label"],Ja=Nt({__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:s,buildMultiLevelMatrix:i,setMonthPicker:o}=Hi(),r=n,a=t,{defaultedAriaLabels:l,defaultedTextInput:c,defaultedConfig:u}=xt(a),{hideNavigationButtons:d}=tu(),f=ve(!1),g=ve(null),_=ve(null),m=ve([]),b=ve(),w=ve(null),$=ve(0),A=ve(null);ib(()=>{g.value=null}),qt(()=>{en().then(()=>B()),a.noOverlayFocus||x(),D(!0)}),Ir(()=>D(!1));const D=U=>{var X;a.arrowNavigation&&((X=a.headerRefs)!=null&&X.length?o(U):s(U))},x=()=>{var U;const X=Ht(_);X&&(c.value.enabled||(g.value?(U=g.value)==null||U.focus({preventScroll:!0}):X.focus({preventScroll:!0})),f.value=X.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!a.useRelative,"dp--overlay-relative":a.useRelative})),S=_e(()=>a.useRelative?{height:`${a.height}px`,width:"260px"}:void 0),E=_e(()=>({dp__overlay_col:!0})),T=_e(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:f.value,dp__button_bottom:a.isLast})),C=_e(()=>{var U,X;return{dp__overlay_container:!0,dp__container_flex:((U=a.items)==null?void 0:U.length)<=6,dp__container_block:((X=a.items)==null?void 0:X.length)>6}});Bt(()=>a.items,()=>B(!1),{deep:!0});const B=(U=!0)=>{en().then(()=>{const X=Ht(g),R=Ht(_),ee=Ht(w),oe=Ht(A),P=ee?ee.getBoundingClientRect().height:0;R&&(R.getBoundingClientRect().height?$.value=R.getBoundingClientRect().height-P:$.value=u.value.modeHeight-P),X&&oe&&U&&(oe.scrollTop=X.offsetTop-oe.offsetTop-($.value/2-X.getBoundingClientRect().height)-P)})},J=U=>{U.disabled||r("selected",U.value)},ae=()=>{r("toggle"),r("reset-flow")},Y=()=>{a.escClose&&ae()},L=(U,X,R,ee)=>{U&&((X.active||X.value===a.focusValue)&&(g.value=U),a.arrowNavigation&&(Array.isArray(m.value[R])?m.value[R][ee]=U:m.value[R]=[U],I()))},I=()=>{var U,X;const R=(U=a.headerRefs)!=null&&U.length?[a.headerRefs].concat(m.value):m.value.concat([a.skipButtonRef?[]:[w.value]]);i(Jt(R),(X=a.headerRefs)!=null&&X.length?"monthPicker":"selectionGrid")},V=U=>{a.arrowNavigation||Ci(U,u.value,!0)},Q=U=>{b.value=U,r("hover-value",U)},Z=()=>{if(ae(),!a.isLast){const U=Yd(a.menuWrapRef??null,"action-row");if(U){const X=Ny(U);X?.focus()}}},le=U=>{switch(U.key){case mt.esc:return Y();case mt.arrowLeft:return V(U);case mt.arrowRight:return V(U);case mt.arrowUp:return V(U);case mt.arrowDown:return V(U);default:return}},ye=U=>{if(U.key===mt.enter)return ae();if(U.key===mt.tab)return Z()};return e({focusGrid:x}),(U,X)=>{var R;return M(),F("div",{ref_key:"gridWrapRef",ref:_,class:Ce(y.value),style:jt(S.value),role:U.useRelative?void 0:"dialog","aria-label":U.overlayLabel,tabindex:U.useRelative?void 0:"0",onKeydown:le,onClick:X[0]||(X[0]=Oa(()=>{},["prevent"]))},[h("div",{ref_key:"containerRef",ref:A,class:Ce(C.value),style:jt({"--dp-overlay-height":`${$.value}px`}),role:"grid"},[h("div",KI,[Ie(U.$slots,"header")]),U.$slots.overlay?Ie(U.$slots,"overlay",{key:0}):(M(!0),F(Te,{key:1},Ue(U.items,(ee,oe)=>(M(),F("div",{key:oe,class:Ce(["dp__overlay_row",{dp__flex_row:U.items.length>=3}]),role:"row"},[(M(!0),F(Te,null,Ue(ee,(P,se)=>(M(),F("div",{key:P.value,ref_for:!0,ref:ue=>L(ue,P,oe,se),role:"gridcell",class:Ce(E.value),"aria-selected":P.active||void 0,"aria-disabled":P.disabled||void 0,tabindex:"0","data-test":P.text,onClick:Oa(ue=>J(P),["prevent"]),onKeydown:ue=>q(vn)(ue,()=>J(P),!0),onMouseover:ue=>Q(P.value)},[h("div",{class:Ce(P.className)},[U.$slots.item?Ie(U.$slots,"item",{key:0,item:P}):re("",!0),U.$slots.item?re("",!0):(M(),F(Te,{key:1},[be(me(P.text),1)],64))],2)],42,qI))),128))],2))),128))],6),U.$slots["button-icon"]?Oe((M(),F("button",{key:0,ref_key:"toggleButton",ref:w,type:"button","aria-label":(R=q(l))==null?void 0:R.toggleOverlay,class:Ce(T.value),tabindex:"0",onClick:ae,onKeydown:ye},[Ie(U.$slots,"button-icon")],42,GI)),[[ec,!q(d)(U.hideNavigation,U.type)]]):re("",!0)],46,UI)}}}),Zc=Nt({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(t){const e=t,n=_e(()=>e.multiCalendars>0?[...Array(e.multiCalendars).keys()]:[0]),s=_e(()=>({dp__instance_calendar:e.multiCalendars>0}));return(i,o)=>(M(),F("div",{class:Ce({dp__menu_inner:!i.stretch,"dp--menu--inner-stretched":i.stretch,dp__flex_display:i.multiCalendars>0,"dp--flex-display-collapsed":i.collapse})},[(M(!0),F(Te,null,Ue(n.value,(r,a)=>(M(),F("div",{key:r,class:Ce(s.value)},[Ie(i.$slots,"default",{instance:r,index:a})],2))),128))],2))}}),JI=["data-dp-element","aria-label","aria-disabled"],ba=Nt({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(t,{emit:e}){const n=e,s=ve(null);return qt(()=>n("set-ref",s)),(i,o)=>(M(),F("button",{ref_key:"elRef",ref:s,type:"button","data-dp-element":i.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":i.ariaLabel,"aria-disabled":i.disabled||void 0,onClick:o[0]||(o[0]=r=>i.$emit("activate")),onKeydown:o[1]||(o[1]=r=>q(vn)(r,()=>i.$emit("activate"),!0))},[h("span",{class:Ce(["dp__inner_nav",{dp__inner_nav_disabled:i.disabled}])},[Ie(i.$slots,"default")],2)],40,JI))}}),XI=["aria-label","data-test"],qy=Nt({__name:"YearModePicker",props:{...ds,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,s=t,{showRightIcon:i,showLeftIcon:o}=tu(),{defaultedConfig:r,defaultedMultiCalendars:a,defaultedAriaLabels:l,defaultedTransitions:c,defaultedUI:u}=xt(s),{showTransition:d,transitionName:f}=Xa(c),g=ve(!1),_=(w=!1,$)=>{g.value=!g.value,n("toggle-year-picker",{flow:w,show:$})},m=w=>{g.value=!1,n("year-select",w)},b=(w=!1)=>{n("handle-year",w)};return(w,$)=>{var A,D,x,y,S;return M(),F(Te,null,[h("div",{class:Ce(["dp--year-mode-picker",{"dp--hidden-el":g.value}])},[q(o)(q(a),t.instance)?(M(),Le(ba,{key:0,ref:"mpPrevIconRef","aria-label":(A=q(l))==null?void 0:A.prevYear,disabled:t.isDisabled(!1),class:Ce((D=q(u))==null?void 0:D.navBtnPrev),onActivate:$[0]||($[0]=E=>b(!1))},{default:Pe(()=>[w.$slots["arrow-left"]?Ie(w.$slots,"arrow-left",{key:0}):re("",!0),w.$slots["arrow-left"]?re("",!0):(M(),Le(q(uf),{key:1}))]),_:3},8,["aria-label","disabled","class"])):re("",!0),h("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${t.year}-${(x=q(l))==null?void 0:x.openYearsOverlay}`,"data-test":`year-mode-btn-${t.instance}`,onClick:$[1]||($[1]=()=>_(!1)),onKeydown:$[2]||($[2]=xC(()=>_(!1),["enter"]))},[w.$slots.year?Ie(w.$slots,"year",{key:0,year:t.year}):re("",!0),w.$slots.year?re("",!0):(M(),F(Te,{key:1},[be(me(t.year),1)],64))],40,XI),q(i)(q(a),t.instance)?(M(),Le(ba,{key:1,ref:"mpNextIconRef","aria-label":(y=q(l))==null?void 0:y.nextYear,disabled:t.isDisabled(!0),class:Ce((S=q(u))==null?void 0:S.navBtnNext),onActivate:$[3]||($[3]=E=>b(!0))},{default:Pe(()=>[w.$slots["arrow-right"]?Ie(w.$slots,"arrow-right",{key:0}):re("",!0),w.$slots["arrow-right"]?re("",!0):(M(),Le(q(df),{key:1}))]),_:3},8,["aria-label","disabled","class"])):re("",!0)],2),Se(At,{name:q(f)(t.showYearPicker),css:q(d)},{default:Pe(()=>{var E,T;return[t.showYearPicker?(M(),Le(Ja,{key:0,items:t.items,"text-input":w.textInput,"esc-close":w.escClose,config:w.config,"is-last":w.autoApply&&!q(r).keepActionRow,"hide-navigation":w.hideNavigation,"aria-labels":w.ariaLabels,"overlay-label":(T=(E=q(l))==null?void 0:E.yearPicker)==null?void 0:T.call(E,!0),type:"year",onToggle:_,onSelected:$[4]||($[4]=C=>m(C))},dn({"button-icon":Pe(()=>[w.$slots["calendar-icon"]?Ie(w.$slots,"calendar-icon",{key:0}):re("",!0),w.$slots["calendar-icon"]?re("",!0):(M(),Le(q(Lr),{key:1}))]),_:2},[w.$slots["year-overlay-value"]?{name:"item",fn:Pe(({item:C})=>[Ie(w.$slots,"year-overlay-value",{text:C.text,value:C.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):re("",!0)]}),_:3},8,["name","css"])],64)}}}),yf=(t,e,n)=>{if(e.value&&Array.isArray(e.value))if(e.value.some(s=>tt(t,s))){const s=e.value.filter(i=>!tt(i,t));e.value=s.length?s:null}else(n&&+n>e.value.length||!n)&&e.value.push(t);else e.value=[t]},wf=(t,e,n)=>{let s=t.value?t.value.slice():[];return s.length===2&&s[1]!==null&&(s=[]),s.length?$t(e,s[0])?(s.unshift(e),n("range-start",s[0]),n("range-start",s[1])):(s[1]=e,n("range-end",e)):(s=[e],n("range-start",e)),s},eu=(t,e,n,s)=>{t&&(t[0]&&t[1]&&n&&e("auto-apply"),t[0]&&!t[1]&&s&&n&&e("auto-apply"))},Gy=t=>{Array.isArray(t.value)&&t.value.length<=2&&t.range?t.modelValue.value=t.value.map(e=>En(we(e),t.timezone)):Array.isArray(t.value)||(t.modelValue.value=En(we(t.value),t.timezone))},Jy=(t,e,n,s)=>Array.isArray(e.value)&&(e.value.length===2||e.value.length===1&&s.value.partialRange)?s.value.fixedStart&&(Dt(t,e.value[0])||tt(t,e.value[0]))?[e.value[0],t]:s.value.fixedEnd&&($t(t,e.value[1])||tt(t,e.value[1]))?[t,e.value[1]]:(n("invalid-fixed-range",t),e.value):[],Xy=({multiCalendars:t,range:e,highlight:n,propDates:s,calendars:i,modelValue:o,props:r,filters:a,year:l,month:c,emit:u})=>{const d=_e(()=>mf(r.yearRange,r.locale,r.reverseYears)),f=ve([!1]),g=_e(()=>(C,B)=>{const J=dt(os(new Date),{month:c.value(C),year:l.value(C)}),ae=B?yy(J):Ra(J);return Wy(ae,s.value.maxDate,s.value.minDate,r.preventMinMaxNavigation,B)}),_=()=>Array.isArray(o.value)&&t.value.solo&&o.value[1],m=()=>{for(let C=0;C{if(!C)return m();const B=dt(we(),i.value[C]);return i.value[0].year=ze(Oy(B,t.value.count-1)),m()},w=(C,B)=>{const J=c2(B,C);return e.value.showLastInRange&&J>1?B:C},$=C=>r.focusStartDate||t.value.solo?C[0]:C[1]?w(C[0],C[1]):C[0],A=()=>{if(o.value){const C=Array.isArray(o.value)?$(o.value):o.value;i.value[0]={month:Qe(C),year:ze(C)}}},D=()=>{A(),t.value.count&&m()};Bt(o,(C,B)=>{r.isTextInputDate&&JSON.stringify(C??{})!==JSON.stringify(B??{})&&D()}),qt(()=>{D()});const x=(C,B)=>{i.value[B].year=C,u("update-month-year",{instance:B,year:C,month:i.value[B].month}),t.value.count&&!t.value.solo&&b(B)},y=_e(()=>C=>kr(d.value,B=>{var J;const ae=l.value(C)===B.value,Y=Na(B.value,Sr(s.value.minDate),Sr(s.value.maxDate))||((J=a.value.years)==null?void 0:J.includes(l.value(C))),L=bf(n.value,B.value);return{active:ae,disabled:Y,highlighted:L}})),S=(C,B)=>{x(C,B),T(B)},E=(C,B=!1)=>{if(!g.value(C,B)){const J=B?l.value(C)+1:l.value(C)-1;x(J,C)}},T=(C,B=!1,J)=>{B||u("reset-flow"),J!==void 0?f.value[C]=J:f.value[C]=!f.value[C],f.value[C]?u("overlay-toggle",{open:!0,overlay:ln.year}):(u("overlay-closed"),u("overlay-toggle",{open:!1,overlay:ln.year}))};return{isDisabled:g,groupedYears:y,showYearPicker:f,selectYear:x,toggleYearPicker:T,handleYearSelect:S,handleYear:E}},QI=(t,e)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:s,defaultedTransitions:i,defaultedConfig:o,defaultedRange:r,defaultedHighlight:a,propDates:l,defaultedTz:c,defaultedFilters:u,defaultedMultiDates:d}=xt(t),f=()=>{t.isTextInputDate&&D(ze(we(t.startDate)),0)},{modelValue:g,year:_,month:m,calendars:b}=Qa(t,e,f),w=_e(()=>Ry(t.formatLocale,t.locale,t.monthNameFormat)),$=ve(null),{checkMinMaxRange:A}=ji(t),{selectYear:D,groupedYears:x,showYearPicker:y,toggleYearPicker:S,handleYearSelect:E,handleYear:T,isDisabled:C}=Xy({modelValue:g,multiCalendars:n,range:r,highlight:a,calendars:b,year:_,propDates:l,month:m,filters:u,props:t,emit:e});qt(()=>{t.startDate&&(g.value&&t.focusStartDate||!g.value)&&D(ze(we(t.startDate)),0)});const B=R=>R?{month:Qe(R),year:ze(R)}:{month:null,year:null},J=()=>g.value?Array.isArray(g.value)?g.value.map(R=>B(R)):B(g.value):B(),ae=(R,ee)=>{const oe=b.value[R],P=J();return Array.isArray(P)?P.some(se=>se.year===oe?.year&&se.month===ee):oe?.year===P.year&&ee===P.month},Y=(R,ee,oe)=>{var P,se;const ue=J();return Array.isArray(ue)?_.value(ee)===((P=ue[oe])==null?void 0:P.year)&&R===((se=ue[oe])==null?void 0:se.month):!1},L=(R,ee)=>{if(r.value.enabled){const oe=J();if(Array.isArray(g.value)&&Array.isArray(oe)){const P=Y(R,ee,0)||Y(R,ee,1),se=Ys(os(we()),R,_.value(ee));return Xc(g.value,$.value,se)&&!P}return!1}return!1},I=_e(()=>R=>kr(w.value,ee=>{var oe;const P=ae(R,ee.value),se=Na(ee.value,By(_.value(R),l.value.minDate),Vy(_.value(R),l.value.maxDate))||kI(l.value.disabledDates,_.value(R)).includes(ee.value)||((oe=u.value.months)==null?void 0:oe.includes(ee.value)),ue=L(ee.value,R),xe=Yy(a.value,ee.value,_.value(R));return{active:P,disabled:se,isBetween:ue,highlighted:xe}})),V=(R,ee)=>Ys(os(we()),R,_.value(ee)),Q=(R,ee)=>{const oe=g.value?g.value:os(new Date);g.value=Ys(oe,R,_.value(ee)),e("auto-apply"),e("update-flow-step")},Z=(R,ee)=>{const oe=V(R,ee);r.value.fixedEnd||r.value.fixedStart?g.value=Jy(oe,g,e,r):g.value?A(oe,g.value)&&(g.value=wf(g,V(R,ee),e)):g.value=[V(R,ee)],en().then(()=>{eu(g.value,e,t.autoApply,t.modelAuto)})},le=(R,ee)=>{yf(V(R,ee),g,d.value.limit),e("auto-apply",!0)},ye=(R,ee)=>(b.value[ee].month=R,X(ee,b.value[ee].year,R),d.value.enabled?le(R,ee):r.value.enabled?Z(R,ee):Q(R,ee)),U=(R,ee)=>{D(R,ee),X(ee,R,null)},X=(R,ee,oe)=>{let P=oe;if(!P&&P!==0){const se=J();P=Array.isArray(se)?se[R].month:se.month}e("update-month-year",{instance:R,year:ee,month:P})};return{groupedMonths:I,groupedYears:x,year:_,isDisabled:C,defaultedMultiCalendars:n,defaultedAriaLabels:s,defaultedTransitions:i,defaultedConfig:o,showYearPicker:y,modelValue:g,presetDate:(R,ee)=>{Gy({value:R,modelValue:g,range:r.value.enabled,timezone:ee?void 0:c.value.timezone}),e("auto-apply")},setHoverDate:(R,ee)=>{$.value=V(R,ee)},selectMonth:ye,selectYear:U,toggleYearPicker:S,handleYearSelect:E,handleYear:T,getModelMonthYear:J}},ZI=Nt({compatConfig:{MODE:3},__name:"MonthPicker",props:{...ds},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 s=n,i=Do(),o=Rn(i,"yearMode"),r=t;qt(()=>{r.shadow||s("mount",null)});const{groupedMonths:a,groupedYears:l,year:c,isDisabled:u,defaultedMultiCalendars:d,defaultedConfig:f,showYearPicker:g,modelValue:_,presetDate:m,setHoverDate:b,selectMonth:w,selectYear:$,toggleYearPicker:A,handleYearSelect:D,handleYear:x,getModelMonthYear:y}=QI(r,s);return e({getSidebarProps:()=>({modelValue:_,year:c,getModelMonthYear:y,selectMonth:w,selectYear:$,handleYear:x}),presetDate:m,toggleYearPicker:S=>A(0,S)}),(S,E)=>(M(),Le(Zc,{"multi-calendars":q(d).count,collapse:S.collapse,stretch:""},{default:Pe(({instance:T})=>[S.$slots["top-extra"]?Ie(S.$slots,"top-extra",{key:0,value:S.internalModelValue}):re("",!0),S.$slots["month-year"]?Ie(S.$slots,"month-year",Qt(zt({key:1},{year:q(c),months:q(a)(T),years:q(l)(T),selectMonth:q(w),selectYear:q($),instance:T}))):(M(),Le(Ja,{key:2,items:q(a)(T),"arrow-navigation":S.arrowNavigation,"is-last":S.autoApply&&!q(f).keepActionRow,"esc-close":S.escClose,height:q(f).modeHeight,config:S.config,"no-overlay-focus":!!(S.noOverlayFocus||S.textInput),"use-relative":"",type:"month",onSelected:C=>q(w)(C,T),onHoverValue:C=>q(b)(C,T)},dn({header:Pe(()=>[Se(qy,zt(S.$props,{items:q(l)(T),instance:T,"show-year-picker":q(g)[T],year:q(c)(T),"is-disabled":C=>q(u)(T,C),onHandleYear:C=>q(x)(T,C),onYearSelect:C=>q(D)(C,T),onToggleYearPicker:C=>q(A)(T,C?.flow,C?.show)}),dn({_:2},[Ue(q(o),(C,B)=>({name:C,fn:Pe(J=>[Ie(S.$slots,C,Qt(mn(J)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[S.$slots["month-overlay-value"]?{name:"item",fn:Pe(({item:C})=>[Ie(S.$slots,"month-overlay-value",{text:C.text,value:C.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"]))}}),eR=(t,e)=>{const n=()=>{t.isTextInputDate&&(u.value=ze(we(t.startDate)))},{modelValue:s}=Qa(t,e,n),i=ve(null),{defaultedHighlight:o,defaultedMultiDates:r,defaultedFilters:a,defaultedRange:l,propDates:c}=xt(t),u=ve();qt(()=>{t.startDate&&(s.value&&t.focusStartDate||!s.value)&&(u.value=ze(we(t.startDate)))});const d=m=>Array.isArray(s.value)?s.value.some(b=>ze(b)===m):s.value?ze(s.value)===m:!1,f=m=>l.value.enabled&&Array.isArray(s.value)?Xc(s.value,i.value,_(m)):!1,g=_e(()=>kr(mf(t.yearRange,t.locale,t.reverseYears),m=>{const b=d(m.value),w=Na(m.value,Sr(c.value.minDate),Sr(c.value.maxDate))||a.value.years.includes(m.value),$=f(m.value)&&!b,A=bf(o.value,m.value);return{active:b,disabled:w,isBetween:$,highlighted:A}})),_=m=>xs(os(Ra(new Date)),m);return{groupedYears:g,modelValue:s,focusYear:u,setHoverValue:m=>{i.value=xs(os(new Date),m)},selectYear:m=>{var b;if(e("update-month-year",{instance:0,year:m}),r.value.enabled)return s.value?Array.isArray(s.value)&&(((b=s.value)==null?void 0:b.map(w=>ze(w))).includes(m)?s.value=s.value.filter(w=>ze(w)!==m):s.value.push(xs(wn(we()),m))):s.value=[xs(wn(Ra(we())),m)],e("auto-apply",!0);l.value.enabled?(s.value=wf(s,_(m),e),en().then(()=>{eu(s.value,e,t.autoApply,t.modelAuto)})):(s.value=_(m),e("auto-apply"))}}},tR=Nt({compatConfig:{MODE:3},__name:"YearPicker",props:{...ds},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(t,{expose:e,emit:n}){const s=n,i=t,{groupedYears:o,modelValue:r,focusYear:a,selectYear:l,setHoverValue:c}=eR(i,s),{defaultedConfig:u}=xt(i);return e({getSidebarProps:()=>({modelValue:r,selectYear:l})}),(d,f)=>(M(),F("div",null,[d.$slots["top-extra"]?Ie(d.$slots,"top-extra",{key:0,value:d.internalModelValue}):re("",!0),d.$slots["month-year"]?Ie(d.$slots,"month-year",Qt(zt({key:1},{years:q(o),selectYear:q(l)}))):(M(),Le(Ja,{key:2,items:q(o),"is-last":d.autoApply&&!q(u).keepActionRow,height:q(u).modeHeight,config:d.config,"no-overlay-focus":!!(d.noOverlayFocus||d.textInput),"focus-value":q(a),type:"year","use-relative":"",onSelected:q(l),onHoverValue:q(c)},dn({_:2},[d.$slots["year-overlay-value"]?{name:"item",fn:Pe(({item:g})=>[Ie(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"]))]))}}),nR={key:0,class:"dp__time_input"},sR=["data-test","aria-label","onKeydown","onClick","onMousedown"],iR=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),oR=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),rR=["aria-label","disabled","data-test","onKeydown","onClick"],aR=["data-test","aria-label","onKeydown","onClick","onMousedown"],lR=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),cR=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),uR={key:0},dR=["aria-label"],hR=Nt({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},...ds},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 s=n,i=t,{setTimePickerElements:o,setTimePickerBackRef:r}=Hi(),{defaultedAriaLabels:a,defaultedTransitions:l,defaultedFilters:c,defaultedConfig:u,defaultedRange:d}=xt(i),{transitionName:f,showTransition:g}=Xa(l),_=Ts({hours:!1,minutes:!1,seconds:!1}),m=ve("AM"),b=ve(null),w=ve([]),$=ve(),A=ve(!1);qt(()=>{s("mounted")});const D=v=>dt(new Date,{hours:v.hours,minutes:v.minutes,seconds:i.enableSeconds?v.seconds:0,milliseconds:0}),x=_e(()=>v=>V(v,i[v])||S(v,i[v])),y=_e(()=>({hours:i.hours,minutes:i.minutes,seconds:i.seconds})),S=(v,O)=>d.value.enabled&&!d.value.disableTimeRangeValidation?!i.validateTime(v,O):!1,E=(v,O)=>{if(d.value.enabled&&!d.value.disableTimeRangeValidation){const H=O?+i[`${v}Increment`]:-+i[`${v}Increment`],W=i[v]+H;return!i.validateTime(v,W)}return!1},T=_e(()=>v=>!U(+i[v]+ +i[`${v}Increment`],v)||E(v,!0)),C=_e(()=>v=>!U(+i[v]-+i[`${v}Increment`],v)||E(v,!1)),B=(v,O)=>fy(dt(we(),v),O),J=(v,O)=>iI(dt(we(),v),O),ae=_e(()=>({dp__time_col:!0,dp__time_col_block:!i.timePickerInline,dp__time_col_reg_block:!i.enableSeconds&&i.is24&&!i.timePickerInline,dp__time_col_reg_inline:!i.enableSeconds&&i.is24&&i.timePickerInline,dp__time_col_reg_with_button:!i.enableSeconds&&!i.is24,dp__time_col_sec:i.enableSeconds&&i.is24,dp__time_col_sec_with_button:i.enableSeconds&&!i.is24})),Y=_e(()=>{const v=[{type:"hours"}];return i.enableMinutes&&v.push({type:"",separator:!0},{type:"minutes"}),i.enableSeconds&&v.push({type:"",separator:!0},{type:"seconds"}),v}),L=_e(()=>Y.value.filter(v=>!v.separator)),I=_e(()=>v=>{if(v==="hours"){const O=se(+i.hours);return{text:O<10?`0${O}`:`${O}`,value:O}}return{text:i[v]<10?`0${i[v]}`:`${i[v]}`,value:i[v]}}),V=(v,O)=>{var H;if(!i.disabledTimesConfig)return!1;const W=i.disabledTimesConfig(i.order,v==="hours"?O:void 0);return W[v]?!!((H=W[v])!=null&&H.includes(O)):!0},Q=(v,O)=>O!=="hours"||m.value==="AM"?v:v+12,Z=v=>{const O=i.is24?24:12,H=v==="hours"?O:60,W=+i[`${v}GridIncrement`],ie=v==="hours"&&!i.is24?W:0,j=[];for(let te=ie;te({active:!1,disabled:c.value.times[v].includes(te.value)||!U(te.value,v)||V(v,te.value)||S(v,te.value)}))},le=v=>v>=0?v:59,ye=v=>v>=0?v:23,U=(v,O)=>{const H=i.minTime?D(zu(i.minTime)):null,W=i.maxTime?D(zu(i.maxTime)):null,ie=D(zu(y.value,O,O==="minutes"||O==="seconds"?le(v):ye(v)));return H&&W?(La(ie,W)||tr(ie,W))&&(wr(ie,H)||tr(ie,H)):H?wr(ie,H)||tr(ie,H):W?La(ie,W)||tr(ie,W):!0},X=v=>i[`no${v[0].toUpperCase()+v.slice(1)}Overlay`],R=v=>{X(v)||(_[v]=!_[v],_[v]?(A.value=!0,s("overlay-opened",v)):(A.value=!1,s("overlay-closed",v)))},ee=v=>v==="hours"?Qs:v==="minutes"?Oi:yr,oe=()=>{$.value&&clearTimeout($.value)},P=(v,O=!0,H)=>{const W=O?B:J,ie=O?+i[`${v}Increment`]:-+i[`${v}Increment`];U(+i[v]+ie,v)&&s(`update:${v}`,ee(v)(W({[v]:+i[v]},{[v]:+i[`${v}Increment`]}))),!(H!=null&&H.keyboard)&&u.value.timeArrowHoldThreshold&&($.value=setTimeout(()=>{P(v,O)},u.value.timeArrowHoldThreshold))},se=v=>i.is24?v:(v>=12?m.value="PM":m.value="AM",uI(v)),ue=()=>{m.value==="PM"?(m.value="AM",s("update:hours",i.hours-12)):(m.value="PM",s("update:hours",i.hours+12)),s("am-pm-change",m.value)},xe=v=>{_[v]=!0},N=(v,O,H)=>{if(v&&i.arrowNavigation){Array.isArray(w.value[O])?w.value[O][H]=v:w.value[O]=[v];const W=w.value.reduce((ie,j)=>j.map((te,G)=>[...ie[G]||[],j[G]]),[]);r(i.closeTimePickerBtn),b.value&&(W[1]=W[1].concat(b.value)),o(W,i.order)}},he=(v,O)=>(R(v),s(`update:${v}`,O));return e({openChildCmp:xe}),(v,O)=>{var H;return v.disabled?re("",!0):(M(),F("div",nR,[(M(!0),F(Te,null,Ue(Y.value,(W,ie)=>{var j,te,G;return M(),F("div",{key:ie,class:Ce(ae.value)},[W.separator?(M(),F(Te,{key:0},[A.value?re("",!0):(M(),F(Te,{key:0},[be(":")],64))],64)):(M(),F(Te,{key:1},[h("button",{ref_for:!0,ref:de=>N(de,ie,0),type:"button",class:Ce({dp__btn:!0,dp__inc_dec_button:!v.timePickerInline,dp__inc_dec_button_inline:v.timePickerInline,dp__tp_inline_btn_top:v.timePickerInline,dp__inc_dec_button_disabled:T.value(W.type),"dp--hidden-el":A.value}),"data-test":`${W.type}-time-inc-btn-${i.order}`,"aria-label":(j=q(a))==null?void 0:j.incrementValue(W.type),tabindex:"0",onKeydown:de=>q(vn)(de,()=>P(W.type,!0,{keyboard:!0}),!0),onClick:de=>q(u).timeArrowHoldThreshold?void 0:P(W.type,!0),onMousedown:de=>q(u).timeArrowHoldThreshold?P(W.type,!0):void 0,onMouseup:oe},[i.timePickerInline?(M(),F(Te,{key:1},[v.$slots["tp-inline-arrow-up"]?Ie(v.$slots,"tp-inline-arrow-up",{key:0}):(M(),F(Te,{key:1},[iR,oR],64))],64)):(M(),F(Te,{key:0},[v.$slots["arrow-up"]?Ie(v.$slots,"arrow-up",{key:0}):re("",!0),v.$slots["arrow-up"]?re("",!0):(M(),Le(q(ff),{key:1}))],64))],42,sR),h("button",{ref_for:!0,ref:de=>N(de,ie,1),type:"button","aria-label":`${I.value(W.type).text}-${(te=q(a))==null?void 0:te.openTpOverlay(W.type)}`,class:Ce({dp__time_display:!0,dp__time_display_block:!v.timePickerInline,dp__time_display_inline:v.timePickerInline,"dp--time-invalid":x.value(W.type),"dp--time-overlay-btn":!x.value(W.type),"dp--hidden-el":A.value}),disabled:X(W.type),tabindex:"0","data-test":`${W.type}-toggle-overlay-btn-${i.order}`,onKeydown:de=>q(vn)(de,()=>R(W.type),!0),onClick:de=>R(W.type)},[v.$slots[W.type]?Ie(v.$slots,W.type,{key:0,text:I.value(W.type).text,value:I.value(W.type).value}):re("",!0),v.$slots[W.type]?re("",!0):(M(),F(Te,{key:1},[be(me(I.value(W.type).text),1)],64))],42,rR),h("button",{ref_for:!0,ref:de=>N(de,ie,2),type:"button",class:Ce({dp__btn:!0,dp__inc_dec_button:!v.timePickerInline,dp__inc_dec_button_inline:v.timePickerInline,dp__tp_inline_btn_bottom:v.timePickerInline,dp__inc_dec_button_disabled:C.value(W.type),"dp--hidden-el":A.value}),"data-test":`${W.type}-time-dec-btn-${i.order}`,"aria-label":(G=q(a))==null?void 0:G.decrementValue(W.type),tabindex:"0",onKeydown:de=>q(vn)(de,()=>P(W.type,!1,{keyboard:!0}),!0),onClick:de=>q(u).timeArrowHoldThreshold?void 0:P(W.type,!1),onMousedown:de=>q(u).timeArrowHoldThreshold?P(W.type,!1):void 0,onMouseup:oe},[i.timePickerInline?(M(),F(Te,{key:1},[v.$slots["tp-inline-arrow-down"]?Ie(v.$slots,"tp-inline-arrow-down",{key:0}):(M(),F(Te,{key:1},[lR,cR],64))],64)):(M(),F(Te,{key:0},[v.$slots["arrow-down"]?Ie(v.$slots,"arrow-down",{key:0}):re("",!0),v.$slots["arrow-down"]?re("",!0):(M(),Le(q(pf),{key:1}))],64))],42,aR)],64))],2)}),128)),v.is24?re("",!0):(M(),F("div",uR,[v.$slots["am-pm-button"]?Ie(v.$slots,"am-pm-button",{key:0,toggle:ue,value:m.value}):re("",!0),v.$slots["am-pm-button"]?re("",!0):(M(),F("button",{key:1,ref_key:"amPmButton",ref:b,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(H=q(a))==null?void 0:H.amPmButton,tabindex:"0",onClick:ue,onKeydown:O[0]||(O[0]=W=>q(vn)(W,()=>ue(),!0))},me(m.value),41,dR))])),(M(!0),F(Te,null,Ue(L.value,(W,ie)=>(M(),Le(At,{key:ie,name:q(f)(_[W.type]),css:q(g)},{default:Pe(()=>{var j,te;return[_[W.type]?(M(),Le(Ja,{key:0,items:Z(W.type),"is-last":v.autoApply&&!q(u).keepActionRow,"esc-close":v.escClose,type:W.type,"text-input":v.textInput,config:v.config,"arrow-navigation":v.arrowNavigation,"aria-labels":v.ariaLabels,"overlay-label":(te=(j=q(a)).timeOverlay)==null?void 0:te.call(j,W.type),onSelected:G=>he(W.type,G),onToggle:G=>R(W.type),onResetFlow:O[1]||(O[1]=G=>v.$emit("reset-flow"))},dn({"button-icon":Pe(()=>[v.$slots["clock-icon"]?Ie(v.$slots,"clock-icon",{key:0}):re("",!0),v.$slots["clock-icon"]?re("",!0):(M(),Le(Mo(v.timePickerInline?q(Lr):q(hf)),{key:1}))]),_:2},[v.$slots[`${W.type}-overlay-value`]?{name:"item",fn:Pe(({item:G})=>[Ie(v.$slots,`${W.type}-overlay-value`,{text:G.text,value:G.value})]),key:"0"}:void 0,v.$slots[`${W.type}-overlay-header`]?{name:"header",fn:Pe(()=>[Ie(v.$slots,`${W.type}-overlay-header`,{toggle:()=>R(W.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):re("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),fR={class:"dp--tp-wrap"},pR=["aria-label","tabindex"],gR=["role","aria-label","tabindex"],mR=["aria-label"],Qy=Nt({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},...ds},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(t,{expose:e,emit:n}){const s=n,i=t,{buildMatrix:o,setTimePicker:r}=Hi(),a=Do(),{defaultedTransitions:l,defaultedAriaLabels:c,defaultedTextInput:u,defaultedConfig:d,defaultedRange:f}=xt(i),{transitionName:g,showTransition:_}=Xa(l),{hideNavigationButtons:m}=tu(),b=ve(null),w=ve(null),$=ve([]),A=ve(null),D=ve(!1);qt(()=>{s("mount"),!i.timePicker&&i.arrowNavigation?o([Ht(b.value)],"time"):r(!0,i.timePicker)});const x=_e(()=>f.value.enabled&&i.modelAuto?Ly(i.internalModelValue):!0),y=ve(!1),S=Z=>({hours:Array.isArray(i.hours)?i.hours[Z]:i.hours,minutes:Array.isArray(i.minutes)?i.minutes[Z]:i.minutes,seconds:Array.isArray(i.seconds)?i.seconds[Z]:i.seconds}),E=_e(()=>{const Z=[];if(f.value.enabled)for(let le=0;le<2;le++)Z.push(S(le));else Z.push(S(0));return Z}),T=(Z,le=!1,ye="")=>{le||s("reset-flow"),y.value=Z,s(Z?"overlay-opened":"overlay-closed",ln.time),i.arrowNavigation&&r(Z),en(()=>{ye!==""&&$.value[0]&&$.value[0].openChildCmp(ye)})},C=_e(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:i.autoApply&&!d.value.keepActionRow})),B=Rn(a,"timePicker"),J=(Z,le,ye)=>f.value.enabled?le===0?[Z,E.value[1][ye]]:[E.value[0][ye],Z]:Z,ae=Z=>{s("update:hours",Z)},Y=Z=>{s("update:minutes",Z)},L=Z=>{s("update:seconds",Z)},I=()=>{if(A.value&&!u.value.enabled&&!i.noOverlayFocus){const Z=Ny(A.value);Z&&Z.focus({preventScroll:!0})}},V=Z=>{D.value=!1,s("overlay-closed",Z)},Q=Z=>{D.value=!0,s("overlay-opened",Z)};return e({toggleTimePicker:T}),(Z,le)=>{var ye;return M(),F("div",fR,[!Z.timePicker&&!Z.timePickerInline?Oe((M(),F("button",{key:0,ref_key:"openTimePickerBtn",ref:b,type:"button",class:Ce({...C.value,"dp--hidden-el":y.value}),"aria-label":(ye=q(c))==null?void 0:ye.openTimePicker,tabindex:Z.noOverlayFocus?void 0:0,"data-test":"open-time-picker-btn",onKeydown:le[0]||(le[0]=U=>q(vn)(U,()=>T(!0))),onClick:le[1]||(le[1]=U=>T(!0))},[Z.$slots["clock-icon"]?Ie(Z.$slots,"clock-icon",{key:0}):re("",!0),Z.$slots["clock-icon"]?re("",!0):(M(),Le(q(hf),{key:1}))],42,pR)),[[ec,!q(m)(Z.hideNavigation,"time")]]):re("",!0),Se(At,{name:q(g)(y.value),css:q(_)&&!Z.timePickerInline},{default:Pe(()=>{var U,X;return[y.value||Z.timePicker||Z.timePickerInline?(M(),F("div",{key:0,ref_key:"overlayRef",ref:A,role:Z.timePickerInline?void 0:"dialog",class:Ce({dp__overlay:!Z.timePickerInline,"dp--overlay-absolute":!i.timePicker&&!Z.timePickerInline,"dp--overlay-relative":i.timePicker}),style:jt(Z.timePicker?{height:`${q(d).modeHeight}px`}:void 0),"aria-label":(U=q(c))==null?void 0:U.timePicker,tabindex:Z.timePickerInline?void 0:0},[h("div",{class:Ce(Z.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[Z.$slots["time-picker-overlay"]?Ie(Z.$slots,"time-picker-overlay",{key:0,hours:t.hours,minutes:t.minutes,seconds:t.seconds,setHours:ae,setMinutes:Y,setSeconds:L}):re("",!0),Z.$slots["time-picker-overlay"]?re("",!0):(M(),F("div",{key:1,class:Ce(Z.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(M(!0),F(Te,null,Ue(E.value,(R,ee)=>Oe((M(),Le(hR,zt({key:ee,ref_for:!0},{...Z.$props,order:ee,hours:R.hours,minutes:R.minutes,seconds:R.seconds,closeTimePickerBtn:w.value,disabledTimesConfig:t.disabledTimesConfig,disabled:ee===0?q(f).fixedStart:q(f).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:$,"validate-time":(oe,P)=>t.validateTime(oe,J(P,ee,oe)),"onUpdate:hours":oe=>ae(J(oe,ee,"hours")),"onUpdate:minutes":oe=>Y(J(oe,ee,"minutes")),"onUpdate:seconds":oe=>L(J(oe,ee,"seconds")),onMounted:I,onOverlayClosed:V,onOverlayOpened:Q,onAmPmChange:le[2]||(le[2]=oe=>Z.$emit("am-pm-change",oe))}),dn({_:2},[Ue(q(B),(oe,P)=>({name:oe,fn:Pe(se=>[Ie(Z.$slots,oe,zt({ref_for:!0},se))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[ec,ee===0?!0:x.value]])),128))],2)),!Z.timePicker&&!Z.timePickerInline?Oe((M(),F("button",{key:2,ref_key:"closeTimePickerBtn",ref:w,type:"button",class:Ce({...C.value,"dp--hidden-el":D.value}),"aria-label":(X=q(c))==null?void 0:X.closeTimePicker,tabindex:"0",onKeydown:le[3]||(le[3]=R=>q(vn)(R,()=>T(!1))),onClick:le[4]||(le[4]=R=>T(!1))},[Z.$slots["calendar-icon"]?Ie(Z.$slots,"calendar-icon",{key:0}):re("",!0),Z.$slots["calendar-icon"]?re("",!0):(M(),Le(q(Lr),{key:1}))],42,mR)),[[ec,!q(m)(Z.hideNavigation,"time")]]):re("",!0)],2)],14,gR)):re("",!0)]}),_:3},8,["name","css"])])}}}),Zy=(t,e,n,s)=>{const{defaultedRange:i}=xt(t),o=(A,D)=>Array.isArray(e[A])?e[A][D]:e[A],r=A=>t.enableSeconds?Array.isArray(e.seconds)?e.seconds[A]:e.seconds:0,a=(A,D)=>A?D!==void 0?Ei(A,o("hours",D),o("minutes",D),r(D)):Ei(A,e.hours,e.minutes,r()):Dy(we(),r(D)),l=(A,D)=>{e[A]=D},c=_e(()=>t.modelAuto&&i.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:i.value.enabled),u=(A,D)=>{const x=Object.fromEntries(Object.keys(e).map(y=>y===A?[y,D]:[y,e[y]].slice()));if(c.value&&!i.value.disableTimeRangeValidation){const y=E=>n.value?Ei(n.value[E],x.hours[E],x.minutes[E],x.seconds[E]):null,S=E=>My(n.value[E],0);return!(tt(y(0),y(1))&&(wr(y(0),S(1))||La(y(1),S(0))))}return!0},d=(A,D)=>{u(A,D)&&(l(A,D),s&&s())},f=A=>{d("hours",A)},g=A=>{d("minutes",A)},_=A=>{d("seconds",A)},m=(A,D,x,y)=>{D&&f(A),!D&&!x&&g(A),x&&_(A),n.value&&y(n.value)},b=A=>{if(A){const D=Array.isArray(A),x=D?[+A[0].hours,+A[1].hours]:+A.hours,y=D?[+A[0].minutes,+A[1].minutes]:+A.minutes,S=D?[+A[0].seconds,+A[1].seconds]:+A.seconds;l("hours",x),l("minutes",y),t.enableSeconds&&l("seconds",S)}},w=(A,D)=>{const x={hours:Array.isArray(e.hours)?e.hours[A]:e.hours,disabledArr:[]};return(D||D===0)&&(x.hours=D),Array.isArray(t.disabledTimes)&&(x.disabledArr=i.value.enabled&&Array.isArray(t.disabledTimes[A])?t.disabledTimes[A]:t.disabledTimes),x},$=_e(()=>(A,D)=>{var x;if(Array.isArray(t.disabledTimes)){const{disabledArr:y,hours:S}=w(A,D),E=y.filter(T=>+T.hours===S);return((x=E[0])==null?void 0:x.minutes)==="*"?{hours:[S],minutes:void 0,seconds:void 0}:{hours:[],minutes:E?.map(T=>+T.minutes)??[],seconds:E?.map(T=>T.seconds?+T.seconds:void 0)??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:l,updateHours:f,updateMinutes:g,updateSeconds:_,getSetDateTime:a,updateTimeValues:m,getSecondsValue:r,assignStartTime:b,validateTime:u,disabledTimesConfig:$}},_R=(t,e)=>{const n=()=>{t.isTextInputDate&&D()},{modelValue:s,time:i}=Qa(t,e,n),{defaultedStartTime:o,defaultedRange:r,defaultedTz:a}=xt(t),{updateTimeValues:l,getSetDateTime:c,setTime:u,assignStartTime:d,disabledTimesConfig:f,validateTime:g}=Zy(t,i,s,_);function _(){e("update-flow-step")}const m=y=>{const{hours:S,minutes:E,seconds:T}=y;return{hours:+S,minutes:+E,seconds:T?+T:0}},b=()=>{if(t.startTime){if(Array.isArray(t.startTime)){const S=m(t.startTime[0]),E=m(t.startTime[1]);return[dt(we(),S),dt(we(),E)]}const y=m(t.startTime);return dt(we(),y)}return r.value.enabled?[null,null]:null},w=()=>{if(r.value.enabled){const[y,S]=b();s.value=[En(c(y,0),a.value.timezone),En(c(S,1),a.value.timezone)]}else s.value=En(c(b()),a.value.timezone)},$=y=>Array.isArray(y)?[wo(we(y[0])),wo(we(y[1]))]:[wo(y??we())],A=(y,S,E)=>{u("hours",y),u("minutes",S),u("seconds",t.enableSeconds?E:0)},D=()=>{const[y,S]=$(s.value);return r.value.enabled?A([y.hours,S.hours],[y.minutes,S.minutes],[y.seconds,S.seconds]):A(y.hours,y.minutes,y.seconds)};qt(()=>{if(!t.shadow)return d(o.value),s.value?D():w()});const x=()=>{Array.isArray(s.value)?s.value=s.value.map((y,S)=>y&&c(y,S)):s.value=c(s.value),e("time-update")};return{modelValue:s,time:i,disabledTimesConfig:f,updateTime:(y,S=!0,E=!1)=>{l(y,S,E,x)},validateTime:g}},vR=Nt({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...ds},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 s=n,i=t,o=Do(),r=Rn(o,"timePicker"),a=ve(null),{time:l,modelValue:c,disabledTimesConfig:u,updateTime:d,validateTime:f}=_R(i,s);return qt(()=>{i.shadow||s("mount",null)}),e({getSidebarProps:()=>({modelValue:c,time:l,updateTime:d}),toggleTimePicker:(g,_=!1,m="")=>{var b;(b=a.value)==null||b.toggleTimePicker(g,_,m)}}),(g,_)=>(M(),Le(Zc,{"multi-calendars":0,stretch:""},{default:Pe(()=>[Se(Qy,zt({ref_key:"tpRef",ref:a},g.$props,{hours:q(l).hours,minutes:q(l).minutes,seconds:q(l).seconds,"internal-model-value":g.internalModelValue,"disabled-times-config":q(u),"validate-time":q(f),"onUpdate:hours":_[0]||(_[0]=m=>q(d)(m)),"onUpdate:minutes":_[1]||(_[1]=m=>q(d)(m,!1)),"onUpdate:seconds":_[2]||(_[2]=m=>q(d)(m,!1,!0)),onAmPmChange:_[3]||(_[3]=m=>g.$emit("am-pm-change",m)),onResetFlow:_[4]||(_[4]=m=>g.$emit("reset-flow")),onOverlayClosed:_[5]||(_[5]=m=>g.$emit("overlay-toggle",{open:!1,overlay:m})),onOverlayOpened:_[6]||(_[6]=m=>g.$emit("overlay-toggle",{open:!0,overlay:m}))}),dn({_:2},[Ue(q(r),(m,b)=>({name:m,fn:Pe(w=>[Ie(g.$slots,m,Qt(mn(w)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),bR={class:"dp--header-wrap"},yR={key:0,class:"dp__month_year_wrap"},wR={key:0},xR={class:"dp__month_year_wrap"},kR=["data-dp-element","aria-label","data-test","onClick","onKeydown"],SR=Nt({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:()=>[]},...ds},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(t,{expose:e,emit:n}){const s=n,i=t,{defaultedTransitions:o,defaultedAriaLabels:r,defaultedMultiCalendars:a,defaultedFilters:l,defaultedConfig:c,defaultedHighlight:u,propDates:d,defaultedUI:f}=xt(i),{transitionName:g,showTransition:_}=Xa(o),{buildMatrix:m}=Hi(),{handleMonthYearChange:b,isDisabled:w,updateMonthYear:$}=jI(i,s),{showLeftIcon:A,showRightIcon:D}=tu(),x=ve(!1),y=ve(!1),S=ve(!1),E=ve([null,null,null,null]);qt(()=>{s("mount")});const T=X=>({get:()=>i[X],set:R=>{const ee=X===ts.month?ts.year:ts.month;s("update-month-year",{[X]:R,[ee]:i[ee]}),X===ts.month?V(!0):Q(!0)}}),C=_e(T(ts.month)),B=_e(T(ts.year)),J=_e(()=>X=>({month:i.month,year:i.year,items:X===ts.month?i.months:i.years,instance:i.instance,updateMonthYear:$,toggle:X===ts.month?V:Q})),ae=_e(()=>i.months.find(R=>R.value===i.month)||{text:"",value:0}),Y=_e(()=>kr(i.months,X=>{const R=i.month===X.value,ee=Na(X.value,By(i.year,d.value.minDate),Vy(i.year,d.value.maxDate))||l.value.months.includes(X.value),oe=Yy(u.value,X.value,i.year);return{active:R,disabled:ee,highlighted:oe}})),L=_e(()=>kr(i.years,X=>{const R=i.year===X.value,ee=Na(X.value,Sr(d.value.minDate),Sr(d.value.maxDate))||l.value.years.includes(X.value),oe=bf(u.value,X.value);return{active:R,disabled:ee,highlighted:oe}})),I=(X,R,ee)=>{ee!==void 0?X.value=ee:X.value=!X.value,X.value?(S.value=!0,s("overlay-opened",R)):(S.value=!1,s("overlay-closed",R))},V=(X=!1,R)=>{Z(X),I(x,ln.month,R)},Q=(X=!1,R)=>{Z(X),I(y,ln.year,R)},Z=X=>{X||s("reset-flow")},le=(X,R)=>{i.arrowNavigation&&(E.value[R]=Ht(X),m(E.value,"monthYear"))},ye=_e(()=>{var X,R,ee,oe,P,se;return[{type:ts.month,index:1,toggle:V,modelValue:C.value,updateModelValue:ue=>C.value=ue,text:ae.value.text,showSelectionGrid:x.value,items:Y.value,ariaLabel:(X=r.value)==null?void 0:X.openMonthsOverlay,overlayLabel:((ee=(R=r.value).monthPicker)==null?void 0:ee.call(R,!0))??void 0},{type:ts.year,index:2,toggle:Q,modelValue:B.value,updateModelValue:ue=>B.value=ue,text:Fy(i.year,i.locale),showSelectionGrid:y.value,items:L.value,ariaLabel:(oe=r.value)==null?void 0:oe.openYearsOverlay,overlayLabel:((se=(P=r.value).yearPicker)==null?void 0:se.call(P,!0))??void 0}]}),U=_e(()=>i.disableYearSelect?[ye.value[0]]:i.yearFirst?[...ye.value].reverse():ye.value);return e({toggleMonthPicker:V,toggleYearPicker:Q,handleMonthYearChange:b}),(X,R)=>{var ee,oe,P,se,ue,xe;return M(),F("div",bR,[X.$slots["month-year"]?(M(),F("div",yR,[Ie(X.$slots,"month-year",Qt(mn({month:t.month,year:t.year,months:t.months,years:t.years,updateMonthYear:q($),handleMonthYearChange:q(b),instance:t.instance})))])):(M(),F(Te,{key:1},[X.$slots["top-extra"]?(M(),F("div",wR,[Ie(X.$slots,"top-extra",{value:X.internalModelValue})])):re("",!0),h("div",xR,[q(A)(q(a),t.instance)&&!X.vertical?(M(),Le(ba,{key:0,"aria-label":(ee=q(r))==null?void 0:ee.prevMonth,disabled:q(w)(!1),class:Ce((oe=q(f))==null?void 0:oe.navBtnPrev),"el-name":"action-prev",onActivate:R[0]||(R[0]=N=>q(b)(!1,!0)),onSetRef:R[1]||(R[1]=N=>le(N,0))},{default:Pe(()=>[X.$slots["arrow-left"]?Ie(X.$slots,"arrow-left",{key:0}):re("",!0),X.$slots["arrow-left"]?re("",!0):(M(),Le(q(uf),{key:1}))]),_:3},8,["aria-label","disabled","class"])):re("",!0),h("div",{class:Ce(["dp__month_year_wrap",{dp__year_disable_select:X.disableYearSelect}])},[(M(!0),F(Te,null,Ue(U.value,(N,he)=>(M(),F(Te,{key:N.type},[h("button",{ref_for:!0,ref:v=>le(v,he+1),type:"button","data-dp-element":`overlay-${N.type}`,class:Ce(["dp__btn dp__month_year_select",{"dp--hidden-el":S.value}]),"aria-label":`${N.text}-${N.ariaLabel}`,"data-test":`${N.type}-toggle-overlay-${t.instance}`,onClick:N.toggle,onKeydown:v=>q(vn)(v,()=>N.toggle(),!0)},[X.$slots[N.type]?Ie(X.$slots,N.type,{key:0,text:N.text,value:i[N.type]}):re("",!0),X.$slots[N.type]?re("",!0):(M(),F(Te,{key:1},[be(me(N.text),1)],64))],42,kR),Se(At,{name:q(g)(N.showSelectionGrid),css:q(_)},{default:Pe(()=>[N.showSelectionGrid?(M(),Le(Ja,{key:0,items:N.items,"arrow-navigation":X.arrowNavigation,"hide-navigation":X.hideNavigation,"is-last":X.autoApply&&!q(c).keepActionRow,"skip-button-ref":!1,config:X.config,type:N.type,"header-refs":[],"esc-close":X.escClose,"menu-wrap-ref":X.menuWrapRef,"text-input":X.textInput,"aria-labels":X.ariaLabels,"overlay-label":N.overlayLabel,onSelected:N.updateModelValue,onToggle:N.toggle},dn({"button-icon":Pe(()=>[X.$slots["calendar-icon"]?Ie(X.$slots,"calendar-icon",{key:0}):re("",!0),X.$slots["calendar-icon"]?re("",!0):(M(),Le(q(Lr),{key:1}))]),_:2},[X.$slots[`${N.type}-overlay-value`]?{name:"item",fn:Pe(({item:v})=>[Ie(X.$slots,`${N.type}-overlay-value`,{text:v.text,value:v.value})]),key:"0"}:void 0,X.$slots[`${N.type}-overlay`]?{name:"overlay",fn:Pe(()=>[Ie(X.$slots,`${N.type}-overlay`,zt({ref_for:!0},J.value(N.type)))]),key:"1"}:void 0,X.$slots[`${N.type}-overlay-header`]?{name:"header",fn:Pe(()=>[Ie(X.$slots,`${N.type}-overlay-header`,{toggle:N.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"])):re("",!0)]),_:2},1032,["name","css"])],64))),128))],2),q(A)(q(a),t.instance)&&X.vertical?(M(),Le(ba,{key:1,"aria-label":(P=q(r))==null?void 0:P.prevMonth,"el-name":"action-prev",disabled:q(w)(!1),class:Ce((se=q(f))==null?void 0:se.navBtnPrev),onActivate:R[2]||(R[2]=N=>q(b)(!1,!0))},{default:Pe(()=>[X.$slots["arrow-up"]?Ie(X.$slots,"arrow-up",{key:0}):re("",!0),X.$slots["arrow-up"]?re("",!0):(M(),Le(q(ff),{key:1}))]),_:3},8,["aria-label","disabled","class"])):re("",!0),q(D)(q(a),t.instance)?(M(),Le(ba,{key:2,ref:"rightIcon","el-name":"action-next",disabled:q(w)(!0),"aria-label":(ue=q(r))==null?void 0:ue.nextMonth,class:Ce((xe=q(f))==null?void 0:xe.navBtnNext),onActivate:R[3]||(R[3]=N=>q(b)(!0,!0)),onSetRef:R[4]||(R[4]=N=>le(N,X.disableYearSelect?2:3))},{default:Pe(()=>[X.$slots[X.vertical?"arrow-down":"arrow-right"]?Ie(X.$slots,X.vertical?"arrow-down":"arrow-right",{key:0}):re("",!0),X.$slots[X.vertical?"arrow-down":"arrow-right"]?re("",!0):(M(),Le(Mo(X.vertical?q(pf):q(df)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):re("",!0)])],64))])}}}),$R={class:"dp__calendar_header",role:"row"},AR={key:0,class:"dp__calendar_header_item",role:"gridcell"},CR=["aria-label"],ER=h("div",{class:"dp__calendar_header_separator"},null,-1),PR={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},TR={class:"dp__cell_inner"},MR=["id","aria-pressed","aria-disabled","aria-label","data-test","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],DR=Nt({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},...ds},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(t,{expose:e,emit:n}){const s=n,i=t,{buildMultiLevelMatrix:o}=Hi(),{defaultedTransitions:r,defaultedConfig:a,defaultedAriaLabels:l,defaultedMultiCalendars:c,defaultedWeekNumbers:u,defaultedMultiDates:d,defaultedUI:f}=xt(i),g=ve(null),_=ve({bottom:"",left:"",transform:""}),m=ve([]),b=ve(null),w=ve(!0),$=ve(""),A=ve({startX:0,endX:0,startY:0,endY:0}),D=ve([]),x=ve({left:"50%"}),y=ve(!1),S=_e(()=>i.calendar?i.calendar(i.mappedDates):i.mappedDates),E=_e(()=>i.dayNames?Array.isArray(i.dayNames)?i.dayNames:i.dayNames(i.locale,+i.weekStart):cI(i.formatLocale,i.locale,+i.weekStart));qt(()=>{s("mount",{cmp:"calendar",refs:m}),a.value.noSwipe||b.value&&(b.value.addEventListener("touchstart",le,{passive:!1}),b.value.addEventListener("touchend",ye,{passive:!1}),b.value.addEventListener("touchmove",U,{passive:!1})),i.monthChangeOnScroll&&b.value&&b.value.addEventListener("wheel",ee,{passive:!1})});const T=N=>N?i.vertical?"vNext":"next":i.vertical?"vPrevious":"previous",C=(N,he)=>{if(i.transitions){const v=wn(Ys(we(),i.month,i.year));$.value=Dt(wn(Ys(we(),N,he)),v)?r.value[T(!0)]:r.value[T(!1)],w.value=!1,en(()=>{w.value=!0})}},B=_e(()=>({...f.value.calendar??{}})),J=_e(()=>N=>{const he=dI(N);return{dp__marker_dot:he.type==="dot",dp__marker_line:he.type==="line"}}),ae=_e(()=>N=>tt(N,g.value)),Y=_e(()=>({dp__calendar:!0,dp__calendar_next:c.value.count>0&&i.instance!==0})),L=_e(()=>N=>i.hideOffsetDates?N.current:!0),I=async(N,he)=>{const{width:v,height:O}=N.getBoundingClientRect();g.value=he.value;let H={left:`${v/2}px`},W=-50;if(await en(),D.value[0]){const{left:ie,width:j}=D.value[0].getBoundingClientRect();ie<0&&(H={left:"0"},W=0,x.value.left=`${v/2}px`),window.innerWidth{var O,H,W;const ie=Ht(m.value[he][v]);ie&&((O=N.marker)!=null&&O.customPosition&&(W=(H=N.marker)==null?void 0:H.tooltip)!=null&&W.length?_.value=N.marker.customPosition(ie):await I(ie,N),s("tooltip-open",N.marker))},Q=async(N,he,v)=>{var O,H;if(y.value&&d.value.enabled&&d.value.dragSelect)return s("select-date",N);s("set-hover-date",N),(H=(O=N.marker)==null?void 0:O.tooltip)!=null&&H.length&&await V(N,he,v)},Z=N=>{g.value&&(g.value=null,_.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),s("tooltip-close",N.marker))},le=N=>{A.value.startX=N.changedTouches[0].screenX,A.value.startY=N.changedTouches[0].screenY},ye=N=>{A.value.endX=N.changedTouches[0].screenX,A.value.endY=N.changedTouches[0].screenY,X()},U=N=>{i.vertical&&!i.inline&&N.preventDefault()},X=()=>{const N=i.vertical?"Y":"X";Math.abs(A.value[`start${N}`]-A.value[`end${N}`])>10&&s("handle-swipe",A.value[`start${N}`]>A.value[`end${N}`]?"right":"left")},R=(N,he,v)=>{N&&(Array.isArray(m.value[he])?m.value[he][v]=N:m.value[he]=[N]),i.arrowNavigation&&o(m.value,"calendar")},ee=N=>{i.monthChangeOnScroll&&(N.preventDefault(),s("handle-scroll",N))},oe=N=>u.value.type==="local"?af(N.value,{weekStartsOn:+i.weekStart}):u.value.type==="iso"?of(N.value):typeof u.value.type=="function"?u.value.type(N.value):"",P=N=>{const he=N[0];return u.value.hideOnOffsetDates?N.some(v=>v.current)?oe(he):"":oe(he)},se=(N,he,v=!0)=>{v&&mI()||d.value.enabled||(Ci(N,a.value),s("select-date",he))},ue=N=>{Ci(N,a.value)},xe=N=>{d.value.enabled&&d.value.dragSelect?(y.value=!0,s("select-date",N)):d.value.enabled&&s("select-date",N)};return e({triggerTransition:C}),(N,he)=>(M(),F("div",{class:Ce(Y.value)},[h("div",{ref_key:"calendarWrapRef",ref:b,class:Ce(B.value),role:"grid"},[h("div",$R,[N.weekNumbers?(M(),F("div",AR,me(N.weekNumName),1)):re("",!0),(M(!0),F(Te,null,Ue(E.value,(v,O)=>{var H,W;return M(),F("div",{key:O,class:"dp__calendar_header_item",role:"gridcell","data-test":"calendar-header","aria-label":(W=(H=q(l))==null?void 0:H.weekDay)==null?void 0:W.call(H,O)},[N.$slots["calendar-header"]?Ie(N.$slots,"calendar-header",{key:0,day:v,index:O}):re("",!0),N.$slots["calendar-header"]?re("",!0):(M(),F(Te,{key:1},[be(me(v),1)],64))],8,CR)}),128))]),ER,Se(At,{name:$.value,css:!!N.transitions},{default:Pe(()=>[w.value?(M(),F("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:he[1]||(he[1]=v=>y.value=!1)},[(M(!0),F(Te,null,Ue(S.value,(v,O)=>(M(),F("div",{key:O,class:"dp__calendar_row",role:"row"},[N.weekNumbers?(M(),F("div",PR,[h("div",TR,me(P(v.days)),1)])):re("",!0),(M(!0),F(Te,null,Ue(v.days,(H,W)=>{var ie,j,te;return M(),F("div",{id:q(Uy)(H.value),ref_for:!0,ref:G=>R(G,O,W),key:W+O,role:"gridcell",class:"dp__calendar_item","aria-pressed":(H.classData.dp__active_date||H.classData.dp__range_start||H.classData.dp__range_start)??void 0,"aria-disabled":H.classData.dp__cell_disabled||void 0,"aria-label":(j=(ie=q(l))==null?void 0:ie.day)==null?void 0:j.call(ie,H),tabindex:"0","data-test":H.value,onClick:Oa(G=>se(G,H),["prevent"]),onTouchend:G=>se(G,H,!1),onKeydown:G=>q(vn)(G,()=>N.$emit("select-date",H)),onMouseenter:G=>Q(H,O,W),onMouseleave:G=>Z(H),onMousedown:G=>xe(H),onMouseup:he[0]||(he[0]=G=>y.value=!1)},[h("div",{class:Ce(["dp__cell_inner",H.classData])},[N.$slots.day&&L.value(H)?Ie(N.$slots,"day",{key:0,day:+H.text,date:H.value}):re("",!0),N.$slots.day?re("",!0):(M(),F(Te,{key:1},[be(me(H.text),1)],64)),H.marker&&L.value(H)?(M(),F(Te,{key:2},[N.$slots.marker?Ie(N.$slots,"marker",{key:0,marker:H.marker,day:+H.text,date:H.value}):(M(),F("div",{key:1,class:Ce(J.value(H.marker)),style:jt(H.marker.color?{backgroundColor:H.marker.color}:{})},null,6))],64)):re("",!0),ae.value(H.value)?(M(),F("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:D,class:"dp__marker_tooltip",style:jt(_.value)},[(te=H.marker)!=null&&te.tooltip?(M(),F("div",{key:0,class:"dp__tooltip_content",onClick:ue},[(M(!0),F(Te,null,Ue(H.marker.tooltip,(G,de)=>(M(),F("div",{key:de,class:"dp__tooltip_text"},[N.$slots["marker-tooltip"]?Ie(N.$slots,"marker-tooltip",{key:0,tooltip:G,day:H.value}):re("",!0),N.$slots["marker-tooltip"]?re("",!0):(M(),F(Te,{key:1},[h("div",{class:"dp__tooltip_mark",style:jt(G.color?{backgroundColor:G.color}:{})},null,4),h("div",null,me(G.text),1)],64))]))),128)),h("div",{class:"dp__arrow_bottom_tp",style:jt(x.value)},null,4)])):re("",!0)],4)):re("",!0)],2)],40,MR)}),128))]))),128))],32)):re("",!0)]),_:3},8,["name","css"])],2)],2))}}),vm=t=>Array.isArray(t),OR=(t,e,n,s)=>{const i=ve([]),o=ve(new Date),r=ve(),a=()=>le(t.isTextInputDate),{modelValue:l,calendars:c,time:u,today:d}=Qa(t,e,a),{defaultedMultiCalendars:f,defaultedStartTime:g,defaultedRange:_,defaultedConfig:m,defaultedTz:b,propDates:w,defaultedMultiDates:$}=xt(t),{validateMonthYearInRange:A,isDisabled:D,isDateRangeAllowed:x,checkMinMaxRange:y}=ji(t),{updateTimeValues:S,getSetDateTime:E,setTime:T,assignStartTime:C,validateTime:B,disabledTimesConfig:J}=Zy(t,u,l,s),ae=_e(()=>ne=>c.value[ne]?c.value[ne].month:0),Y=_e(()=>ne=>c.value[ne]?c.value[ne].year:0),L=ne=>!m.value.keepViewOnOffsetClick||ne?!0:!r.value,I=(ne,ke,ce,$e=!1)=>{var Me,nn;L($e)&&(c.value[ne]||(c.value[ne]={month:0,year:0}),c.value[ne].month=fm(ke)?(Me=c.value[ne])==null?void 0:Me.month:ke,c.value[ne].year=fm(ce)?(nn=c.value[ne])==null?void 0:nn.year:ce)},V=()=>{t.autoApply&&e("select-date")};qt(()=>{t.shadow||(l.value||(N(),g.value&&C(g.value)),le(!0),t.focusStartDate&&t.startDate&&N())});const Q=_e(()=>{var ne;return(ne=t.flow)!=null&&ne.length&&!t.partialFlow?t.flowStep===t.flow.length:!0}),Z=()=>{t.autoApply&&Q.value&&e("auto-apply",t.partialFlow?t.flowStep!==t.flow.length:!1)},le=(ne=!1)=>{if(l.value)return Array.isArray(l.value)?(i.value=l.value,P(ne)):X(l.value,ne);if(f.value.count&&ne&&!t.startDate)return U(we(),ne)},ye=()=>Array.isArray(l.value)&&_.value.enabled?Qe(l.value[0])===Qe(l.value[1]??l.value[0]):!1,U=(ne=new Date,ke=!1)=>{if((!f.value.count||!f.value.static||ke)&&I(0,Qe(ne),ze(ne)),f.value.count&&(!f.value.solo||!l.value||ye()))for(let ce=1;ce{U(ne),T("hours",Qs(ne)),T("minutes",Oi(ne)),T("seconds",yr(ne)),f.value.count&&ke&&xe()},R=ne=>{if(f.value.count){if(f.value.solo)return 0;const ke=Qe(ne[0]),ce=Qe(ne[1]);return Math.abs(ce-ke){ne[1]&&_.value.showLastInRange?U(ne[R(ne)],ke):U(ne[0],ke);const ce=($e,Me)=>[$e(ne[0]),ne[1]?$e(ne[1]):u[Me][1]];T("hours",ce(Qs,"hours")),T("minutes",ce(Oi,"minutes")),T("seconds",ce(yr,"seconds"))},oe=(ne,ke)=>{if((_.value.enabled||t.weekPicker)&&!$.value.enabled)return ee(ne,ke);if($.value.enabled&&ke){const ce=ne[ne.length-1];return X(ce,ke)}},P=ne=>{const ke=l.value;oe(ke,ne),f.value.count&&f.value.solo&&xe()},se=(ne,ke)=>{const ce=dt(we(),{month:ae.value(ke),year:Y.value(ke)}),$e=ne<0?ls(ce,1):xr(ce,1);A(Qe($e),ze($e),ne<0,t.preventMinMaxNavigation)&&(I(ke,Qe($e),ze($e)),e("update-month-year",{instance:ke,month:Qe($e),year:ze($e)}),f.value.count&&!f.value.solo&&ue(ke),n())},ue=ne=>{for(let ke=ne-1;ke>=0;ke--){const ce=xr(dt(we(),{month:ae.value(ke+1),year:Y.value(ke+1)}),1);I(ke,Qe(ce),ze(ce))}for(let ke=ne+1;ke<=f.value.count-1;ke++){const ce=ls(dt(we(),{month:ae.value(ke-1),year:Y.value(ke-1)}),1);I(ke,Qe(ce),ze(ce))}},xe=()=>{if(Array.isArray(l.value)&&l.value.length===2){const ne=we(we(l.value[1]?l.value[1]:ls(l.value[0],1))),[ke,ce]=[Qe(l.value[0]),ze(l.value[0])],[$e,Me]=[Qe(l.value[1]),ze(l.value[1])];(ke!==$e||ke===$e&&ce!==Me)&&f.value.solo&&I(1,Qe(ne),ze(ne))}else l.value&&!Array.isArray(l.value)&&(I(0,Qe(l.value),ze(l.value)),U(we()))},N=()=>{t.startDate&&(I(0,Qe(we(t.startDate)),ze(we(t.startDate))),f.value.count&&ue(0))},he=(ne,ke)=>{if(t.monthChangeOnScroll){const ce=new Date().getTime()-o.value.getTime(),$e=Math.abs(ne.deltaY);let Me=500;$e>1&&(Me=100),$e>100&&(Me=0),ce>Me&&(o.value=new Date,se(t.monthChangeOnScroll!=="inverse"?-ne.deltaY:ne.deltaY,ke))}},v=(ne,ke,ce=!1)=>{t.monthChangeOnArrows&&t.vertical===ce&&O(ne,ke)},O=(ne,ke)=>{se(ne==="right"?-1:1,ke)},H=ne=>{if(w.value.markers)return vc(ne.value,w.value.markers)},W=(ne,ke)=>{switch(t.sixWeeks===!0?"append":t.sixWeeks){case"prepend":return[!0,!1];case"center":return[ne==0,!0];case"fair":return[ne==0||ke>ne,!0];case"append":return[!1,!1];default:return[!1,!1]}},ie=(ne,ke,ce,$e)=>{if(t.sixWeeks&&ne.length<6){const Me=6-ne.length,nn=(ke.getDay()+7-$e)%7,xn=6-(ce.getDay()+7-$e)%7,[Os,No]=W(nn,xn);for(let Ki=1;Ki<=Me;Ki++)if(No?!!(Ki%2)==Os:Os){const fs=ne[0].days[0],Br=j(is(fs.value,-7),Qe(ke));ne.unshift({days:Br})}else{const fs=ne[ne.length-1],Br=fs.days[fs.days.length-1],gu=j(is(Br.value,1),Qe(ke));ne.push({days:gu})}}return ne},j=(ne,ke)=>{const ce=we(ne),$e=[];for(let Me=0;Me<7;Me++){const nn=is(ce,Me),xn=Qe(nn)!==ke;$e.push({text:t.hideOffsetDates&&xn?"":nn.getDate(),value:nn,current:!xn,classData:{}})}return $e},te=(ne,ke)=>{const ce=[],$e=new Date(ke,ne),Me=new Date(ke,ne+1,0),nn=t.weekStart,xn=us($e,{weekStartsOn:nn}),Os=No=>{const Ki=j(No,ne);if(ce.push({days:Ki}),!ce[ce.length-1].days.some(fs=>tt(wn(fs.value),wn(Me)))){const fs=is(No,7);Os(fs)}};return Os(xn),ie(ce,$e,Me,nn)},G=ne=>{const ke=Ei(we(ne.value),u.hours,u.minutes,Be());e("date-update",ke),$.value.enabled?yf(ke,l,$.value.limit):l.value=ke,s(),en().then(()=>{Z()})},de=ne=>_.value.noDisabledRange?Hy(i.value[0],ne).some(ke=>D(ke)):!1,ge=()=>{i.value=l.value?l.value.slice():[],i.value.length===2&&!(_.value.fixedStart||_.value.fixedEnd)&&(i.value=[])},fe=(ne,ke)=>{const ce=[we(ne.value),is(we(ne.value),+_.value.autoRange)];x(ce)?(ke&&Re(ne.value),i.value=ce):e("invalid-date",ne.value)},Re=ne=>{const ke=Qe(we(ne)),ce=ze(we(ne));if(I(0,ke,ce),f.value.count>0)for(let $e=1;$e{if(de(ne.value)||!y(ne.value,l.value,_.value.fixedStart?0:1))return e("invalid-date",ne.value);i.value=Jy(we(ne.value),l,e,_)},Ve=(ne,ke)=>{if(ge(),_.value.autoRange)return fe(ne,ke);if(_.value.fixedStart||_.value.fixedEnd)return De(ne);i.value[0]?y(we(ne.value),l.value)&&!de(ne.value)?$t(we(ne.value),we(i.value[0]))?(i.value.unshift(we(ne.value)),e("range-end",i.value[0])):(i.value[1]=we(ne.value),e("range-end",i.value[1])):(t.autoApply&&e("auto-apply-invalid",ne.value),e("invalid-date",ne.value)):(i.value[0]=we(ne.value),e("range-start",i.value[0]))},Be=(ne=!0)=>t.enableSeconds?Array.isArray(u.seconds)?ne?u.seconds[0]:u.seconds[1]:u.seconds:0,et=ne=>{i.value[ne]=Ei(i.value[ne],u.hours[ne],u.minutes[ne],Be(ne!==1))},Ge=()=>{var ne,ke;i.value[0]&&i.value[1]&&+((ne=i.value)==null?void 0:ne[0])>+((ke=i.value)==null?void 0:ke[1])&&(i.value.reverse(),e("range-start",i.value[0]),e("range-end",i.value[1]))},pt=()=>{i.value.length&&(i.value[0]&&!i.value[1]?et(0):(et(0),et(1),s()),Ge(),l.value=i.value.slice(),eu(i.value,e,t.autoApply,t.modelAuto))},on=(ne,ke=!1)=>{if(D(ne.value)||!ne.current&&t.hideOffsetDates)return e("invalid-date",ne.value);if(r.value=JSON.parse(JSON.stringify(ne)),!_.value.enabled)return G(ne);vm(u.hours)&&vm(u.minutes)&&!$.value.enabled&&(Ve(ne,ke),pt())},Hn=(ne,ke)=>{var ce;I(ne,ke.month,ke.year,!0),f.value.count&&!f.value.solo&&ue(ne),e("update-month-year",{instance:ne,month:ke.month,year:ke.year}),n(f.value.solo?ne:void 0);const $e=(ce=t.flow)!=null&&ce.length?t.flow[t.flowStep]:void 0;!ke.fromNav&&($e===ln.month||$e===ln.year)&&s()},ii=(ne,ke)=>{Gy({value:ne,modelValue:l,range:_.value.enabled,timezone:ke?void 0:b.value.timezone}),V(),t.multiCalendars&&en().then(()=>le(!0))},Qn=()=>{const ne=gf(we(),b.value);_.value.enabled?l.value&&Array.isArray(l.value)&&l.value[0]?l.value=$t(ne,l.value[0])?[ne,l.value[0]]:[l.value[0],ne]:l.value=[ne]:l.value=ne,V()},Ds=()=>{if(Array.isArray(l.value))if($.value.enabled){const ne=Vt();l.value[l.value.length-1]=E(ne)}else l.value=l.value.map((ne,ke)=>ne&&E(ne,ke));else l.value=E(l.value);e("time-update")},Vt=()=>Array.isArray(l.value)&&l.value.length?l.value[l.value.length-1]:null;return{calendars:c,modelValue:l,month:ae,year:Y,time:u,disabledTimesConfig:J,today:d,validateTime:B,getCalendarDays:te,getMarker:H,handleScroll:he,handleSwipe:O,handleArrow:v,selectDate:on,updateMonthYear:Hn,presetDate:ii,selectCurrentDate:Qn,updateTime:(ne,ke=!0,ce=!1)=>{S(ne,ke,ce,Ds)},assignMonthAndYear:U}},IR={key:0},RR=Nt({__name:"DatePicker",props:{...ds},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 s=n,i=t,{calendars:o,month:r,year:a,modelValue:l,time:c,disabledTimesConfig:u,today:d,validateTime:f,getCalendarDays:g,getMarker:_,handleArrow:m,handleScroll:b,handleSwipe:w,selectDate:$,updateMonthYear:A,presetDate:D,selectCurrentDate:x,updateTime:y,assignMonthAndYear:S}=OR(i,s,ye,U),E=Do(),{setHoverDate:T,getDayClassData:C,clearHoverDate:B}=QR(l,i),{defaultedMultiCalendars:J}=xt(i),ae=ve([]),Y=ve([]),L=ve(null),I=Rn(E,"calendar"),V=Rn(E,"monthYear"),Q=Rn(E,"timePicker"),Z=he=>{i.shadow||s("mount",he)};Bt(o,()=>{i.shadow||setTimeout(()=>{s("recalculate-position")},0)},{deep:!0}),Bt(J,(he,v)=>{he.count-v.count>0&&S()},{deep:!0});const le=_e(()=>he=>g(r.value(he),a.value(he)).map(v=>({...v,days:v.days.map(O=>(O.marker=_(O),O.classData=C(O),O))})));function ye(he){var v;he||he===0?(v=Y.value[he])==null||v.triggerTransition(r.value(he),a.value(he)):Y.value.forEach((O,H)=>O.triggerTransition(r.value(H),a.value(H)))}function U(){s("update-flow-step")}const X=(he,v=!1)=>{$(he,v),i.spaceConfirm&&s("select-date")},R=(he,v,O=0)=>{var H;(H=ae.value[O])==null||H.toggleMonthPicker(he,v)},ee=(he,v,O=0)=>{var H;(H=ae.value[O])==null||H.toggleYearPicker(he,v)},oe=(he,v,O)=>{var H;(H=L.value)==null||H.toggleTimePicker(he,v,O)},P=(he,v)=>{var O;if(!i.range){const H=l.value?l.value:d,W=v?new Date(v):H,ie=he?us(W,{weekStartsOn:1}):wy(W,{weekStartsOn:1});$({value:ie,current:Qe(W)===r.value(0),text:"",classData:{}}),(O=document.getElementById(Uy(ie)))==null||O.focus()}},se=he=>{var v;(v=ae.value[0])==null||v.handleMonthYearChange(he,!0)},ue=he=>{A(0,{month:r.value(0),year:a.value(0)+(he?1:-1),fromNav:!0})},xe=(he,v)=>{he===ln.time&&s(`time-picker-${v?"open":"close"}`),s("overlay-toggle",{open:v,overlay:he})},N=he=>{s("overlay-toggle",{open:!1,overlay:he}),s("focus-menu")};return e({clearHoverDate:B,presetDate:D,selectCurrentDate:x,toggleMonthPicker:R,toggleYearPicker:ee,toggleTimePicker:oe,handleArrow:m,updateMonthYear:A,getSidebarProps:()=>({modelValue:l,month:r,year:a,time:c,updateTime:y,updateMonthYear:A,selectDate:$,presetDate:D}),changeMonth:se,changeYear:ue,selectWeekDate:P}),(he,v)=>(M(),F(Te,null,[Se(Zc,{"multi-calendars":q(J).count,collapse:he.collapse},{default:Pe(({instance:O,index:H})=>[he.disableMonthYearSelect?re("",!0):(M(),Le(SR,zt({key:0,ref:W=>{W&&(ae.value[H]=W)},months:q(Ry)(he.formatLocale,he.locale,he.monthNameFormat),years:q(mf)(he.yearRange,he.locale,he.reverseYears),month:q(r)(O),year:q(a)(O),instance:O},he.$props,{onMount:v[0]||(v[0]=W=>Z(q(yo).header)),onResetFlow:v[1]||(v[1]=W=>he.$emit("reset-flow")),onUpdateMonthYear:W=>q(A)(O,W),onOverlayClosed:N,onOverlayOpened:v[2]||(v[2]=W=>he.$emit("overlay-toggle",{open:!0,overlay:W}))}),dn({_:2},[Ue(q(V),(W,ie)=>({name:W,fn:Pe(j=>[Ie(he.$slots,W,Qt(mn(j)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),Se(DR,zt({ref:W=>{W&&(Y.value[H]=W)},"mapped-dates":le.value(O),month:q(r)(O),year:q(a)(O),instance:O},he.$props,{onSelectDate:W=>q($)(W,O!==1),onHandleSpace:W=>X(W,O!==1),onSetHoverDate:v[3]||(v[3]=W=>q(T)(W)),onHandleScroll:W=>q(b)(W,O),onHandleSwipe:W=>q(w)(W,O),onMount:v[4]||(v[4]=W=>Z(q(yo).calendar)),onResetFlow:v[5]||(v[5]=W=>he.$emit("reset-flow")),onTooltipOpen:v[6]||(v[6]=W=>he.$emit("tooltip-open",W)),onTooltipClose:v[7]||(v[7]=W=>he.$emit("tooltip-close",W))}),dn({_:2},[Ue(q(I),(W,ie)=>({name:W,fn:Pe(j=>[Ie(he.$slots,W,Qt(mn({...j})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),he.enableTimePicker?(M(),F("div",IR,[he.$slots["time-picker"]?Ie(he.$slots,"time-picker",Qt(zt({key:0},{time:q(c),updateTime:q(y)}))):(M(),Le(Qy,zt({key:1,ref_key:"timePickerRef",ref:L},he.$props,{hours:q(c).hours,minutes:q(c).minutes,seconds:q(c).seconds,"internal-model-value":he.internalModelValue,"disabled-times-config":q(u),"validate-time":q(f),onMount:v[8]||(v[8]=O=>Z(q(yo).timePicker)),"onUpdate:hours":v[9]||(v[9]=O=>q(y)(O)),"onUpdate:minutes":v[10]||(v[10]=O=>q(y)(O,!1)),"onUpdate:seconds":v[11]||(v[11]=O=>q(y)(O,!1,!0)),onResetFlow:v[12]||(v[12]=O=>he.$emit("reset-flow")),onOverlayClosed:v[13]||(v[13]=O=>xe(O,!1)),onOverlayOpened:v[14]||(v[14]=O=>xe(O,!0)),onAmPmChange:v[15]||(v[15]=O=>he.$emit("am-pm-change",O))}),dn({_:2},[Ue(q(Q),(O,H)=>({name:O,fn:Pe(W=>[Ie(he.$slots,O,Qt(mn(W)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):re("",!0)],64))}}),LR=(t,e)=>{const n=ve(),{defaultedMultiCalendars:s,defaultedConfig:i,defaultedHighlight:o,defaultedRange:r,propDates:a,defaultedFilters:l,defaultedMultiDates:c}=xt(t),{modelValue:u,year:d,month:f,calendars:g}=Qa(t,e),{isDisabled:_}=ji(t),{selectYear:m,groupedYears:b,showYearPicker:w,isDisabled:$,toggleYearPicker:A,handleYearSelect:D,handleYear:x}=Xy({modelValue:u,multiCalendars:s,range:r,highlight:o,calendars:g,propDates:a,month:f,year:d,filters:l,props:t,emit:e}),y=(L,I)=>[L,I].map(V=>$s(V,"MMMM",{locale:t.formatLocale})).join("-"),S=_e(()=>L=>u.value?Array.isArray(u.value)?u.value.some(I=>um(L,I)):um(u.value,L):!1),E=L=>{if(r.value.enabled){if(Array.isArray(u.value)){const I=tt(L,u.value[0])||tt(L,u.value[1]);return Xc(u.value,n.value,L)&&!I}return!1}return!1},T=(L,I)=>L.quarter===im(I)&&L.year===ze(I),C=L=>typeof o.value=="function"?o.value({quarter:im(L),year:ze(L)}):!!o.value.quarters.find(I=>T(I,L)),B=_e(()=>L=>{const I=dt(new Date,{year:d.value(L)});return u2({start:Ra(I),end:yy(I)}).map(V=>{const Q=go(V),Z=om(V),le=_(V),ye=E(Q),U=C(Q);return{text:y(Q,Z),value:Q,active:S.value(Q),highlighted:U,disabled:le,isBetween:ye}})}),J=L=>{yf(L,u,c.value.limit),e("auto-apply",!0)},ae=L=>{u.value=wf(u,L,e),eu(u.value,e,t.autoApply,t.modelAuto)},Y=L=>{u.value=L,e("auto-apply")};return{defaultedConfig:i,defaultedMultiCalendars:s,groupedYears:b,year:d,isDisabled:$,quarters:B,showYearPicker:w,modelValue:u,setHoverDate:L=>{n.value=L},selectYear:m,selectQuarter:(L,I,V)=>{if(!V)return g.value[I].month=Qe(om(L)),c.value.enabled?J(L):r.value.enabled?ae(L):Y(L)},toggleYearPicker:A,handleYearSelect:D,handleYear:x}},NR={class:"dp--quarter-items"},FR=["data-test","disabled","onClick","onMouseover"],BR=Nt({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...ds},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 s=n,i=t,o=Do(),r=Rn(o,"yearMode"),{defaultedMultiCalendars:a,defaultedConfig:l,groupedYears:c,year:u,isDisabled:d,quarters:f,modelValue:g,showYearPicker:_,setHoverDate:m,selectQuarter:b,toggleYearPicker:w,handleYearSelect:$,handleYear:A}=LR(i,s);return e({getSidebarProps:()=>({modelValue:g,year:u,selectQuarter:b,handleYearSelect:$,handleYear:A})}),(D,x)=>(M(),Le(Zc,{"multi-calendars":q(a).count,collapse:D.collapse,stretch:""},{default:Pe(({instance:y})=>[h("div",{class:"dp-quarter-picker-wrap",style:jt({minHeight:`${q(l).modeHeight}px`})},[D.$slots["top-extra"]?Ie(D.$slots,"top-extra",{key:0,value:D.internalModelValue}):re("",!0),h("div",null,[Se(qy,zt(D.$props,{items:q(c)(y),instance:y,"show-year-picker":q(_)[y],year:q(u)(y),"is-disabled":S=>q(d)(y,S),onHandleYear:S=>q(A)(y,S),onYearSelect:S=>q($)(S,y),onToggleYearPicker:S=>q(w)(y,S?.flow,S?.show)}),dn({_:2},[Ue(q(r),(S,E)=>({name:S,fn:Pe(T=>[Ie(D.$slots,S,Qt(mn(T)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),h("div",NR,[(M(!0),F(Te,null,Ue(q(f)(y),(S,E)=>(M(),F("div",{key:E},[h("button",{type:"button",class:Ce(["dp--qr-btn",{"dp--qr-btn-active":S.active,"dp--qr-btn-between":S.isBetween,"dp--qr-btn-disabled":S.disabled,"dp--highlighted":S.highlighted}]),"data-test":S.value,disabled:S.disabled,onClick:T=>q(b)(S.value,y,S.disabled),onMouseover:T=>q(m)(S.value)},[D.$slots.quarter?Ie(D.$slots,"quarter",{key:0,value:S.value,text:S.text}):(M(),F(Te,{key:1},[be(me(S.text),1)],64))],42,FR)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),VR=["id","tabindex","role","aria-label"],HR={key:0,class:"dp--menu-load-container"},jR=h("span",{class:"dp--menu-loader"},null,-1),WR=[jR],zR={key:1,class:"dp--menu-header"},YR={key:0,class:"dp__sidebar_left"},UR=["data-test","onClick","onKeydown"],KR={key:2,class:"dp__sidebar_right"},qR={key:3,class:"dp__action_extra"},bm=Nt({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Qc,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 s=n,i=t,o=ve(null),r=_e(()=>{const{openOnTop:j,...te}=i;return{...te,flowStep:T.value,collapse:i.collapse,noOverlayFocus:i.noOverlayFocus,menuWrapRef:o.value}}),{setMenuFocused:a,setShiftKey:l,control:c}=Ky(),u=Do(),{defaultedTextInput:d,defaultedInline:f,defaultedConfig:g,defaultedUI:_}=xt(i),m=ve(null),b=ve(0),w=ve(null),$=ve(!1),A=ve(null);qt(()=>{if(!i.shadow){$.value=!0,D(),window.addEventListener("resize",D);const j=Ht(o);if(j&&!d.value.enabled&&!f.value.enabled&&(a(!0),I()),j){const te=G=>{g.value.allowPreventDefault&&G.preventDefault(),Ci(G,g.value,!0)};j.addEventListener("pointerdown",te),j.addEventListener("mousedown",te)}}}),Ir(()=>{window.removeEventListener("resize",D)});const D=()=>{const j=Ht(w);j&&(b.value=j.getBoundingClientRect().width)},{arrowRight:x,arrowLeft:y,arrowDown:S,arrowUp:E}=Hi(),{flowStep:T,updateFlowStep:C,childMount:B,resetFlow:J,handleFlow:ae}=ZR(i,s,A),Y=_e(()=>i.monthPicker?ZI:i.yearPicker?tR:i.timePicker?vR:i.quarterPicker?BR:RR),L=_e(()=>{var j;if(g.value.arrowLeft)return g.value.arrowLeft;const te=(j=o.value)==null?void 0:j.getBoundingClientRect(),G=i.getInputRect();return G?.width=(te?.right??0)&&G?.width{const j=Ht(o);j&&j.focus({preventScroll:!0})},V=_e(()=>{var j;return((j=A.value)==null?void 0:j.getSidebarProps())||{}}),Q=()=>{i.openOnTop&&s("recalculate-position")},Z=Rn(u,"action"),le=_e(()=>i.monthPicker||i.yearPicker?Rn(u,"monthYear"):i.timePicker?Rn(u,"timePicker"):Rn(u,"shared")),ye=_e(()=>i.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),U=_e(()=>({dp__menu_disabled:i.disabled,dp__menu_readonly:i.readonly,"dp-menu-loading":i.loading})),X=_e(()=>({dp__menu:!0,dp__menu_index:!f.value.enabled,dp__relative:f.value.enabled,..._.value.menu??{}})),R=j=>{Ci(j,g.value,!0)},ee=()=>{i.escClose&&s("close-picker")},oe=j=>{if(i.arrowNavigation){if(j===gn.up)return E();if(j===gn.down)return S();if(j===gn.left)return y();if(j===gn.right)return x()}else j===gn.left||j===gn.up?N("handleArrow",gn.left,0,j===gn.up):N("handleArrow",gn.right,0,j===gn.down)},P=j=>{l(j.shiftKey),!i.disableMonthYearSelect&&j.code===mt.tab&&j.target.classList.contains("dp__menu")&&c.value.shiftKeyInMenu&&(j.preventDefault(),Ci(j,g.value,!0),s("close-picker"))},se=()=>{I(),s("time-picker-close")},ue=j=>{var te,G,de;(te=A.value)==null||te.toggleTimePicker(!1,!1),(G=A.value)==null||G.toggleMonthPicker(!1,!1,j),(de=A.value)==null||de.toggleYearPicker(!1,!1,j)},xe=(j,te=0)=>{var G,de,ge;return j==="month"?(G=A.value)==null?void 0:G.toggleMonthPicker(!1,!0,te):j==="year"?(de=A.value)==null?void 0:de.toggleYearPicker(!1,!0,te):j==="time"?(ge=A.value)==null?void 0:ge.toggleTimePicker(!0,!1):ue(te)},N=(j,...te)=>{var G,de;(G=A.value)!=null&&G[j]&&((de=A.value)==null||de[j](...te))},he=()=>{N("selectCurrentDate")},v=(j,te)=>{N("presetDate",j,te)},O=()=>{N("clearHoverDate")},H=(j,te)=>{N("updateMonthYear",j,te)},W=(j,te)=>{j.preventDefault(),oe(te)},ie=j=>{var te,G,de;if(P(j),j.key===mt.home||j.key===mt.end)return N("selectWeekDate",j.key===mt.home,j.target.getAttribute("id"));switch((j.key===mt.pageUp||j.key===mt.pageDown)&&(j.shiftKey?(N("changeYear",j.key===mt.pageUp),(te=Yd(o.value,"overlay-year"))==null||te.focus()):(N("changeMonth",j.key===mt.pageUp),(G=Yd(o.value,j.key===mt.pageUp?"action-prev":"action-next"))==null||G.focus()),j.target.getAttribute("id")&&((de=o.value)==null||de.focus({preventScroll:!0}))),j.key){case mt.esc:return ee();case mt.arrowLeft:return W(j,gn.left);case mt.arrowRight:return W(j,gn.right);case mt.arrowUp:return W(j,gn.up);case mt.arrowDown:return W(j,gn.down);default:return}};return e({updateMonthYear:H,switchView:xe,handleFlow:ae}),(j,te)=>{var G,de,ge;return M(),F("div",{id:j.uid?`dp-menu-${j.uid}`:void 0,ref_key:"dpMenuRef",ref:o,tabindex:q(f).enabled?void 0:"0",role:q(f).enabled?void 0:"dialog","aria-label":(G=j.ariaLabels)==null?void 0:G.menu,class:Ce(X.value),style:jt({"--dp-arrow-left":L.value}),onMouseleave:O,onClick:R,onKeydown:ie},[(j.disabled||j.readonly)&&q(f).enabled||j.loading?(M(),F("div",{key:0,class:Ce(U.value)},[j.loading?(M(),F("div",HR,WR)):re("",!0)],2)):re("",!0),j.$slots["menu-header"]?(M(),F("div",zR,[Ie(j.$slots,"menu-header")])):re("",!0),!q(f).enabled&&!j.teleportCenter?(M(),F("div",{key:2,class:Ce(ye.value)},null,2)):re("",!0),h("div",{ref_key:"innerMenuRef",ref:w,class:Ce({dp__menu_content_wrapper:((de=j.presetDates)==null?void 0:de.length)||!!j.$slots["left-sidebar"]||!!j.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":t.collapse&&(((ge=j.presetDates)==null?void 0:ge.length)||!!j.$slots["left-sidebar"]||!!j.$slots["right-sidebar"])}),style:jt({"--dp-menu-width":`${b.value}px`})},[j.$slots["left-sidebar"]?(M(),F("div",YR,[Ie(j.$slots,"left-sidebar",Qt(mn(V.value)))])):re("",!0),j.presetDates.length?(M(),F("div",{key:1,class:Ce({"dp--preset-dates-collapsed":t.collapse,"dp--preset-dates":!0})},[(M(!0),F(Te,null,Ue(j.presetDates,(fe,Re)=>(M(),F(Te,{key:Re},[fe.slot?Ie(j.$slots,fe.slot,{key:0,presetDate:v,label:fe.label,value:fe.value}):(M(),F("button",{key:1,type:"button",style:jt(fe.style||{}),class:Ce(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":t.collapse}]),"data-test":fe.testId??void 0,onClick:Oa(De=>v(fe.value,fe.noTz),["prevent"]),onKeydown:De=>q(vn)(De,()=>v(fe.value,fe.noTz),!0)},me(fe.label),47,UR))],64))),128))],2)):re("",!0),h("div",{ref_key:"calendarWrapperRef",ref:m,class:"dp__instance_calendar",role:"document"},[(M(),Le(Mo(Y.value),zt({ref_key:"dynCmpRef",ref:A},r.value,{"flow-step":q(T),onMount:q(B),onUpdateFlowStep:q(C),onResetFlow:q(J),onFocusMenu:I,onSelectDate:te[0]||(te[0]=fe=>j.$emit("select-date")),onDateUpdate:te[1]||(te[1]=fe=>j.$emit("date-update",fe)),onTooltipOpen:te[2]||(te[2]=fe=>j.$emit("tooltip-open",fe)),onTooltipClose:te[3]||(te[3]=fe=>j.$emit("tooltip-close",fe)),onAutoApply:te[4]||(te[4]=fe=>j.$emit("auto-apply",fe)),onRangeStart:te[5]||(te[5]=fe=>j.$emit("range-start",fe)),onRangeEnd:te[6]||(te[6]=fe=>j.$emit("range-end",fe)),onInvalidFixedRange:te[7]||(te[7]=fe=>j.$emit("invalid-fixed-range",fe)),onTimeUpdate:te[8]||(te[8]=fe=>j.$emit("time-update")),onAmPmChange:te[9]||(te[9]=fe=>j.$emit("am-pm-change",fe)),onTimePickerOpen:te[10]||(te[10]=fe=>j.$emit("time-picker-open",fe)),onTimePickerClose:se,onRecalculatePosition:Q,onUpdateMonthYear:te[11]||(te[11]=fe=>j.$emit("update-month-year",fe)),onAutoApplyInvalid:te[12]||(te[12]=fe=>j.$emit("auto-apply-invalid",fe)),onInvalidDate:te[13]||(te[13]=fe=>j.$emit("invalid-date",fe)),onOverlayToggle:te[14]||(te[14]=fe=>j.$emit("overlay-toggle",fe)),"onUpdate:internalModelValue":te[15]||(te[15]=fe=>j.$emit("update:internal-model-value",fe))}),dn({_:2},[Ue(le.value,(fe,Re)=>({name:fe,fn:Pe(De=>[Ie(j.$slots,fe,Qt(mn({...De})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),j.$slots["right-sidebar"]?(M(),F("div",KR,[Ie(j.$slots,"right-sidebar",Qt(mn(V.value)))])):re("",!0),j.$slots["action-extra"]?(M(),F("div",qR,[j.$slots["action-extra"]?Ie(j.$slots,"action-extra",{key:0,selectCurrentDate:he}):re("",!0)])):re("",!0)],6),!j.autoApply||q(g).keepActionRow?(M(),Le(YI,zt({key:3,"menu-mount":$.value},r.value,{"calendar-width":b.value,onClosePicker:te[16]||(te[16]=fe=>j.$emit("close-picker")),onSelectDate:te[17]||(te[17]=fe=>j.$emit("select-date")),onInvalidSelect:te[18]||(te[18]=fe=>j.$emit("invalid-select")),onSelectNow:he}),dn({_:2},[Ue(q(Z),(fe,Re)=>({name:fe,fn:Pe(De=>[Ie(j.$slots,fe,Qt(mn({...De})))])}))]),1040,["menu-mount","calendar-width"])):re("",!0)],46,VR)}}});var er=(t=>(t.center="center",t.left="left",t.right="right",t))(er||{});const GR=({menuRef:t,menuRefInner:e,inputRef:n,pickerWrapperRef:s,inline:i,emit:o,props:r,slots:a})=>{const{defaultedConfig:l}=xt(r),c=ve({}),u=ve(!1),d=ve({top:"0",left:"0"}),f=ve(!1),g=Ca(r,"teleportCenter");Bt(g,()=>{d.value=JSON.parse(JSON.stringify({})),x()});const _=I=>{if(r.teleport){const V=I.getBoundingClientRect();return{left:V.left+window.scrollX,top:V.top+window.scrollY}}return{top:0,left:0}},m=(I,V)=>{d.value.left=`${I+V-c.value.width}px`},b=I=>{d.value.left=`${I}px`},w=(I,V)=>{r.position===er.left&&b(I),r.position===er.right&&m(I,V),r.position===er.center&&(d.value.left=`${I+V/2-c.value.width/2}px`)},$=I=>{const{width:V,height:Q}=I.getBoundingClientRect(),{top:Z,left:le}=r.altPosition?r.altPosition(I):_(I);return{top:+Z,left:+le,width:V,height:Q}},A=()=>{d.value.left="50%",d.value.top="50%",d.value.transform="translate(-50%, -50%)",d.value.position="fixed",delete d.value.opacity},D=()=>{const I=Ht(n),{top:V,left:Q,transform:Z}=r.altPosition(I);d.value={top:`${V}px`,left:`${Q}px`,transform:Z??""}},x=(I=!0)=>{var V;if(!i.value.enabled){if(g.value)return A();if(r.altPosition!==null)return D();if(I){const Q=r.teleport?(V=e.value)==null?void 0:V.$el:t.value;Q&&(c.value=Q.getBoundingClientRect()),o("recalculate-position")}return J()}},y=({inputEl:I,left:V,width:Q})=>{window.screen.width>768&&!u.value&&w(V,Q),T(I)},S=I=>{const{top:V,left:Q,height:Z,width:le}=$(I);d.value.top=`${Z+V+ +r.offset}px`,f.value=!1,u.value||(d.value.left=`${Q+le/2-c.value.width/2}px`),y({inputEl:I,left:Q,width:le})},E=I=>{const{top:V,left:Q,width:Z}=$(I);d.value.top=`${V-+r.offset-c.value.height}px`,f.value=!0,y({inputEl:I,left:Q,width:Z})},T=I=>{if(r.autoPosition){const{left:V,width:Q}=$(I),{left:Z,right:le}=c.value;if(!u.value){if(Math.abs(Z)!==Math.abs(le)){if(Z<=0)return u.value=!0,b(V);if(le>=document.documentElement.clientWidth)return u.value=!0,m(V,Q)}return w(V,Q)}}},C=()=>{const I=Ht(n);if(I){const{height:V}=c.value,{top:Q,height:Z}=I.getBoundingClientRect(),le=window.innerHeight-Q-Z,ye=Q;return V<=le?co.bottom:V>le&&V<=ye?co.top:le>=ye?co.bottom:co.top}return co.bottom},B=I=>C()===co.bottom?S(I):E(I),J=()=>{const I=Ht(n);if(I)return r.autoPosition?B(I):S(I)},ae=function(I){if(I){const V=I.scrollHeight>I.clientHeight,Q=window.getComputedStyle(I).overflowY.indexOf("hidden")!==-1;return V&&!Q}return!0},Y=function(I){return!I||I===document.body||I.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:ae(I)?I:Y(I.assignedSlot&&l.value.shadowDom?I.assignedSlot.parentNode:I.parentNode)},L=I=>{if(I)switch(r.position){case er.left:return{left:0,transform:"translateX(0)"};case er.right:return{left:`${I.width}px`,transform:"translateX(-100%)"};default:return{left:`${I.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:f,menuStyle:d,xCorrect:u,setMenuPosition:x,getScrollableParent:Y,shadowRender:(I,V)=>{var Q,Z,le;const ye=document.createElement("div"),U=(Q=Ht(n))==null?void 0:Q.getBoundingClientRect();ye.setAttribute("id","dp--temp-container");const X=(Z=s.value)!=null&&Z.clientWidth?s.value:document.body;X.append(ye);const R=L(U),ee=l.value.shadowDom?Object.keys(a).filter(P=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(P)):Object.keys(a),oe=Co(I,{...V,shadow:!0,style:{opacity:0,position:"absolute",...R}},Object.fromEntries(ee.map(P=>[P,a[P]])));Lg(oe,ye),c.value=(le=oe.el)==null?void 0:le.getBoundingClientRect(),Lg(null,ye),X.removeChild(ye)}}},di=[{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"]}],JR=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],XR={all:()=>di,monthYear:()=>di.filter(t=>t.use.includes("month-year")),input:()=>JR,timePicker:()=>di.filter(t=>t.use.includes("time")),action:()=>di.filter(t=>t.use.includes("action")),calendar:()=>di.filter(t=>t.use.includes("calendar")),menu:()=>di.filter(t=>t.use.includes("menu")),shared:()=>di.filter(t=>t.use.includes("shared")),yearMode:()=>di.filter(t=>t.use.includes("year-mode"))},Rn=(t,e,n)=>{const s=[];return XR[e]().forEach(i=>{t[i.name]&&s.push(i.name)}),n!=null&&n.length&&n.forEach(i=>{i.slot&&s.push(i.slot)}),s},Xa=t=>{const e=_e(()=>s=>t.value?s?t.value.open:t.value.close:""),n=_e(()=>s=>t.value?s?t.value.menuAppearTop:t.value.menuAppearBottom:"");return{transitionName:e,showTransition:!!t.value,menuTransition:n}},Qa=(t,e,n)=>{const{defaultedRange:s,defaultedTz:i}=xt(t),o=we(En(we(),i.value.timezone)),r=ve([{month:Qe(o),year:ze(o)}]),a=f=>{const g={hours:Qs(o),minutes:Oi(o),seconds:0};return s.value.enabled?[g[f],g[f]]:g[f]},l=Ts({hours:a("hours"),minutes:a("minutes"),seconds:a("seconds")});Bt(s,(f,g)=>{f.enabled!==g.enabled&&(l.hours=a("hours"),l.minutes=a("minutes"),l.seconds=a("seconds"))},{deep:!0});const c=_e({get:()=>t.internalModelValue,set:f=>{!t.readonly&&!t.disabled&&e("update:internal-model-value",f)}}),u=_e(()=>f=>r.value[f]?r.value[f].month:0),d=_e(()=>f=>r.value[f]?r.value[f].year:0);return Bt(c,(f,g)=>{n&&JSON.stringify(f??{})!==JSON.stringify(g??{})&&n()},{deep:!0}),{calendars:r,time:l,modelValue:c,month:u,year:d,today:o}},QR=(t,e)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:s,defaultedUI:i,defaultedHighlight:o,defaultedTz:r,propDates:a,defaultedRange:l}=xt(e),{isDisabled:c}=ji(e),u=ve(null),d=ve(En(new Date,r.value.timezone)),f=R=>{!R.current&&e.hideOffsetDates||(u.value=R.value)},g=()=>{u.value=null},_=R=>Array.isArray(t.value)&&l.value.enabled&&t.value[0]&&u.value?R?Dt(u.value,t.value[0]):$t(u.value,t.value[0]):!0,m=(R,ee)=>{const oe=()=>t.value?ee?t.value[0]||null:t.value[1]:null,P=t.value&&Array.isArray(t.value)?oe():null;return tt(we(R.value),P)},b=R=>{const ee=Array.isArray(t.value)?t.value[0]:null;return R?!$t(u.value??null,ee):!0},w=(R,ee=!0)=>(l.value.enabled||e.weekPicker)&&Array.isArray(t.value)&&t.value.length===2?e.hideOffsetDates&&!R.current?!1:tt(we(R.value),t.value[ee?0:1]):l.value.enabled?m(R,ee)&&b(ee)||tt(R.value,Array.isArray(t.value)?t.value[0]:null)&&_(ee):!1,$=(R,ee)=>{if(Array.isArray(t.value)&&t.value[0]&&t.value.length===1){const oe=tt(R.value,u.value);return ee?Dt(t.value[0],R.value)&&oe:$t(t.value[0],R.value)&&oe}return!1},A=R=>!t.value||e.hideOffsetDates&&!R.current?!1:l.value.enabled?e.modelAuto&&Array.isArray(t.value)?tt(R.value,t.value[0]?t.value[0]:d.value):!1:s.value.enabled&&Array.isArray(t.value)?t.value.some(ee=>tt(ee,R.value)):tt(R.value,t.value?t.value:d.value),D=R=>{if(l.value.autoRange||e.weekPicker){if(u.value){if(e.hideOffsetDates&&!R.current)return!1;const ee=is(u.value,+l.value.autoRange),oe=js(we(u.value),e.weekStart);return e.weekPicker?tt(oe[1],we(R.value)):tt(ee,we(R.value))}return!1}return!1},x=R=>{if(l.value.autoRange||e.weekPicker){if(u.value){const ee=is(u.value,+l.value.autoRange);if(e.hideOffsetDates&&!R.current)return!1;const oe=js(we(u.value),e.weekStart);return e.weekPicker?Dt(R.value,oe[0])&&$t(R.value,oe[1]):Dt(R.value,u.value)&&$t(R.value,ee)}return!1}return!1},y=R=>{if(l.value.autoRange||e.weekPicker){if(u.value){if(e.hideOffsetDates&&!R.current)return!1;const ee=js(we(u.value),e.weekStart);return e.weekPicker?tt(ee[0],R.value):tt(u.value,R.value)}return!1}return!1},S=R=>Xc(t.value,u.value,R.value),E=()=>e.modelAuto&&Array.isArray(e.internalModelValue)?!!e.internalModelValue[0]:!1,T=()=>e.modelAuto?Ly(e.internalModelValue):!0,C=R=>{if(e.weekPicker)return!1;const ee=l.value.enabled?!w(R)&&!w(R,!1):!0;return!c(R.value)&&!A(R)&&!(!R.current&&e.hideOffsetDates)&&ee},B=R=>l.value.enabled?e.modelAuto?E()&&A(R):!1:A(R),J=R=>o.value?gI(R.value,a.value.highlight):!1,ae=R=>{const ee=c(R.value);return ee&&(typeof o.value=="function"?!o.value(R.value,ee):!o.value.options.highlightDisabled)},Y=R=>{var ee;return typeof o.value=="function"?o.value(R.value):(ee=o.value.weekdays)==null?void 0:ee.includes(R.value.getDay())},L=R=>(l.value.enabled||e.weekPicker)&&(!(n.value.count>0)||R.current)&&T()&&!(!R.current&&e.hideOffsetDates)&&!A(R)?S(R):!1,I=R=>{const{isRangeStart:ee,isRangeEnd:oe}=le(R),P=l.value.enabled?ee||oe:!1;return{dp__cell_offset:!R.current,dp__pointer:!e.disabled&&!(!R.current&&e.hideOffsetDates)&&!c(R.value),dp__cell_disabled:c(R.value),dp__cell_highlight:!ae(R)&&(J(R)||Y(R))&&!B(R)&&!P&&!y(R)&&!(L(R)&&e.weekPicker)&&!oe,dp__cell_highlight_active:!ae(R)&&(J(R)||Y(R))&&B(R),dp__today:!e.noToday&&tt(R.value,d.value)&&R.current,"dp--past":$t(R.value,d.value),"dp--future":Dt(R.value,d.value)}},V=R=>({dp__active_date:B(R),dp__date_hover:C(R)}),Q=R=>{if(t.value&&!Array.isArray(t.value)){const ee=js(t.value,e.weekStart);return{...U(R),dp__range_start:tt(ee[0],R.value),dp__range_end:tt(ee[1],R.value),dp__range_between_week:Dt(R.value,ee[0])&&$t(R.value,ee[1])}}return{...U(R)}},Z=R=>{if(t.value&&Array.isArray(t.value)){const ee=js(t.value[0],e.weekStart),oe=t.value[1]?js(t.value[1],e.weekStart):[];return{...U(R),dp__range_start:tt(ee[0],R.value)||tt(oe[0],R.value),dp__range_end:tt(ee[1],R.value)||tt(oe[1],R.value),dp__range_between_week:Dt(R.value,ee[0])&&$t(R.value,ee[1])||Dt(R.value,oe[0])&&$t(R.value,oe[1]),dp__range_between:Dt(R.value,ee[1])&&$t(R.value,oe[0])}}return{...U(R)}},le=R=>{const ee=n.value.count>0?R.current&&w(R)&&T():w(R)&&T(),oe=n.value.count>0?R.current&&w(R,!1)&&T():w(R,!1)&&T();return{isRangeStart:ee,isRangeEnd:oe}},ye=R=>{const{isRangeStart:ee,isRangeEnd:oe}=le(R);return{dp__range_start:ee,dp__range_end:oe,dp__range_between:L(R),dp__date_hover:tt(R.value,u.value)&&!ee&&!oe&&!e.weekPicker,dp__date_hover_start:$(R,!0),dp__date_hover_end:$(R,!1)}},U=R=>({...ye(R),dp__cell_auto_range:x(R),dp__cell_auto_range_start:y(R),dp__cell_auto_range_end:D(R)}),X=R=>l.value.enabled?l.value.autoRange?U(R):e.modelAuto?{...V(R),...ye(R)}:e.weekPicker?Z(R):ye(R):e.weekPicker?Q(R):V(R);return{setHoverDate:f,clearHoverDate:g,getDayClassData:R=>e.hideOffsetDates&&!R.current?{}:{...I(R),...X(R),[e.dayClass?e.dayClass(R.value,e.internalModelValue):""]:!0,...i.value.calendarCell??{}}}},ji=t=>{const{defaultedFilters:e,defaultedRange:n,propDates:s,defaultedMultiDates:i}=xt(t),o=Y=>s.value.disabledDates?typeof s.value.disabledDates=="function"?s.value.disabledDates(we(Y)):!!vc(Y,s.value.disabledDates):!1,r=Y=>s.value.maxDate?t.yearPicker?ze(Y)>ze(s.value.maxDate):Dt(Y,s.value.maxDate):!1,a=Y=>s.value.minDate?t.yearPicker?ze(Y){const L=r(Y),I=a(Y),V=o(Y),Q=e.value.months.map(X=>+X).includes(Qe(Y)),Z=t.disabledWeekDays.length?t.disabledWeekDays.some(X=>+X===sO(Y)):!1,le=g(Y),ye=ze(Y),U=ye<+t.yearRange[0]||ye>+t.yearRange[1];return!(L||I||V||Q||U||Z||le)},c=(Y,L)=>$t(...yi(s.value.minDate,Y,L))||tt(...yi(s.value.minDate,Y,L)),u=(Y,L)=>Dt(...yi(s.value.maxDate,Y,L))||tt(...yi(s.value.maxDate,Y,L)),d=(Y,L,I)=>{let V=!1;return s.value.maxDate&&I&&u(Y,L)&&(V=!0),s.value.minDate&&!I&&c(Y,L)&&(V=!0),V},f=(Y,L,I,V)=>{let Q=!1;return V?s.value.minDate&&s.value.maxDate?Q=d(Y,L,I):(s.value.minDate&&c(Y,L)||s.value.maxDate&&u(Y,L))&&(Q=!0):Q=!0,Q},g=Y=>Array.isArray(s.value.allowedDates)&&!s.value.allowedDates.length?!0:s.value.allowedDates?!vc(Y,s.value.allowedDates):!1,_=Y=>!l(Y),m=Y=>n.value.noDisabledRange?!by({start:Y[0],end:Y[1]}).some(L=>_(L)):!0,b=Y=>{if(Y){const L=ze(Y);return L>=+t.yearRange[0]&&L<=t.yearRange[1]}return!0},w=(Y,L)=>!!(Array.isArray(Y)&&Y[L]&&(n.value.maxRange||n.value.minRange)&&b(Y[L])),$=(Y,L,I=0)=>{if(w(L,I)&&b(Y)){const V=_y(Y,L[I]),Q=Hy(L[I],Y),Z=Q.length===1?0:Q.filter(ye=>_(ye)).length,le=Math.abs(V)-(n.value.minMaxRawRange?0:Z);if(n.value.minRange&&n.value.maxRange)return le>=+n.value.minRange&&le<=+n.value.maxRange;if(n.value.minRange)return le>=+n.value.minRange;if(n.value.maxRange)return le<=+n.value.maxRange}return!0},A=()=>!t.enableTimePicker||t.monthPicker||t.yearPicker||t.ignoreTimeValidation,D=Y=>Array.isArray(Y)?[Y[0]?Ku(Y[0]):null,Y[1]?Ku(Y[1]):null]:Ku(Y),x=(Y,L,I)=>Y.find(V=>+V.hours===Qs(L)&&V.minutes==="*"?!0:+V.minutes===Oi(L)&&+V.hours===Qs(L))&&I,y=(Y,L,I)=>{const[V,Q]=Y,[Z,le]=L;return!x(V,Z,I)&&!x(Q,le,I)&&I},S=(Y,L)=>{const I=Array.isArray(L)?L:[L];return Array.isArray(t.disabledTimes)?Array.isArray(t.disabledTimes[0])?y(t.disabledTimes,I,Y):!I.some(V=>x(t.disabledTimes,V,Y)):Y},E=(Y,L)=>{const I=Array.isArray(L)?[wo(L[0]),L[1]?wo(L[1]):void 0]:wo(L),V=!t.disabledTimes(I);return Y&&V},T=(Y,L)=>t.disabledTimes?Array.isArray(t.disabledTimes)?S(L,Y):E(L,Y):L,C=Y=>{let L=!0;if(!Y||A())return!0;const I=!s.value.minDate&&!s.value.maxDate?D(Y):Y;return(t.maxTime||s.value.maxDate)&&(L=gm(t.maxTime,s.value.maxDate,"max",Jt(I),L)),(t.minTime||s.value.minDate)&&(L=gm(t.minTime,s.value.minDate,"min",Jt(I),L)),T(Y,L)},B=Y=>{if(!t.monthPicker)return!0;let L=!0;const I=we(os(Y));if(s.value.minDate&&s.value.maxDate){const V=we(os(s.value.minDate)),Q=we(os(s.value.maxDate));return Dt(I,V)&&$t(I,Q)||tt(I,V)||tt(I,Q)}if(s.value.minDate){const V=we(os(s.value.minDate));L=Dt(I,V)||tt(I,V)}if(s.value.maxDate){const V=we(os(s.value.maxDate));L=$t(I,V)||tt(I,V)}return L},J=_e(()=>Y=>!t.enableTimePicker||t.ignoreTimeValidation?!0:C(Y)),ae=_e(()=>Y=>t.monthPicker?Array.isArray(Y)&&(n.value.enabled||i.value.enabled)?!Y.filter(L=>!B(L)).length:B(Y):!0);return{isDisabled:_,validateDate:l,validateMonthYearInRange:f,isDateRangeAllowed:m,checkMinMaxRange:$,isValidTime:C,isTimeValid:J,isMonthValid:ae}},tu=()=>{const t=_e(()=>(s,i)=>s?.includes(i)),e=_e(()=>(s,i)=>s.count?s.solo?!0:i===0:!0),n=_e(()=>(s,i)=>s.count?s.solo?!0:i===s.count-1:!0);return{hideNavigationButtons:t,showLeftIcon:e,showRightIcon:n}},ZR=(t,e,n)=>{const s=ve(0),i=Ts({[yo.timePicker]:!t.enableTimePicker||t.timePicker||t.monthPicker,[yo.calendar]:!1,[yo.header]:!1}),o=_e(()=>t.monthPicker||t.timePicker),r=d=>{var f;if((f=t.flow)!=null&&f.length){if(!d&&o.value)return u();i[d]=!0,Object.keys(i).filter(g=>!i[g]).length||u()}},a=()=>{var d,f;(d=t.flow)!=null&&d.length&&s.value!==-1&&(s.value+=1,e("flow-step",s.value),u()),((f=t.flow)==null?void 0:f.length)===s.value&&en().then(()=>l())},l=()=>{s.value=-1},c=(d,f,...g)=>{var _,m;t.flow[s.value]===d&&n.value&&((m=(_=n.value)[f])==null||m.call(_,...g))},u=(d=0)=>{d&&(s.value+=d),c(ln.month,"toggleMonthPicker",!0),c(ln.year,"toggleYearPicker",!0),c(ln.calendar,"toggleTimePicker",!1,!0),c(ln.time,"toggleTimePicker",!0,!0);const f=t.flow[s.value];(f===ln.hours||f===ln.minutes||f===ln.seconds)&&c(f,"toggleTimePicker",!0,!0,f)};return{childMount:r,updateFlowStep:a,resetFlow:l,handleFlow:u,flowStep:s}},eL={key:1,class:"dp__input_wrap"},tL=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-disabled","aria-invalid"],nL={key:2,class:"dp--clear-btn"},sL=["aria-label"],iL=Nt({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Qc},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 s=n,i=t,{defaultedTextInput:o,defaultedAriaLabels:r,defaultedInline:a,defaultedConfig:l,defaultedRange:c,defaultedMultiDates:u,defaultedUI:d,getDefaultPattern:f,getDefaultStartTime:g}=xt(i),{checkMinMaxRange:_}=ji(i),m=ve(),b=ve(null),w=ve(!1),$=ve(!1),A=ve(!1),D=ve(null),x=_e(()=>({dp__pointer:!i.disabled&&!i.readonly&&!o.value.enabled,dp__disabled:i.disabled,dp__input_readonly:!o.value.enabled,dp__input:!0,dp__input_icon_pad:!i.hideInputIcon,dp__input_valid:typeof i.state=="boolean"?i.state:!1,dp__input_invalid:typeof i.state=="boolean"?!i.state:!1,dp__input_focus:w.value||i.isMenuOpen,dp__input_reg:!o.value.enabled,...d.value.input??{}})),y=()=>{s("set-input-date",null),i.clearable&&i.autoApply&&(s("set-empty-date"),m.value=null)},S=U=>{const X=g();return _I(U,o.value.format??f(),X??jy({},i.enableSeconds),i.inputValue,A.value,i.formatLocale)},E=U=>{const{rangeSeparator:X}=o.value,[R,ee]=U.split(`${X}`);if(R){const oe=S(R.trim()),P=ee?S(ee.trim()):null;if(wr(oe,P))return;const se=oe&&P?[oe,P]:[oe];_(P,se,0)&&(m.value=oe?se:null)}},T=()=>{A.value=!0},C=U=>{if(c.value.enabled)E(U);else if(u.value.enabled){const X=U.split(";");m.value=X.map(R=>S(R.trim())).filter(R=>R)}else m.value=S(U)},B=U=>{var X;const R=typeof U=="string"?U:(X=U.target)==null?void 0:X.value;R!==""?(o.value.openMenu&&!i.isMenuOpen&&s("open"),C(R),s("set-input-date",m.value)):y(),A.value=!1,s("update:input-value",R),s("text-input",U,m.value)},J=U=>{o.value.enabled?(C(U.target.value),o.value.enterSubmit&&Ud(m.value)&&i.inputValue!==""?(s("set-input-date",m.value,!0),m.value=null):o.value.enterSubmit&&i.inputValue===""&&(m.value=null,s("clear"))):L(U)},ae=(U,X)=>{var R;if(D.value&&X&&!$.value)return U.preventDefault(),$.value=!0,(R=D.value)==null?void 0:R.focus();o.value.enabled&&o.value.tabSubmit&&C(U.target.value),o.value.tabSubmit&&Ud(m.value)&&i.inputValue!==""?(s("set-input-date",m.value,!0,!0),m.value=null):o.value.tabSubmit&&i.inputValue===""&&(m.value=null,s("clear",!0))},Y=()=>{w.value=!0,s("focus"),en().then(()=>{var U;o.value.enabled&&o.value.selectOnFocus&&((U=b.value)==null||U.select())})},L=U=>{if(U.preventDefault(),Ci(U,l.value,!0),o.value.enabled&&o.value.openMenu&&!a.value.input){if(o.value.openMenu==="open"&&!i.isMenuOpen)return s("open");if(o.value.openMenu==="toggle")return s("toggle")}else o.value.enabled||s("toggle")},I=()=>{s("real-blur"),w.value=!1,(!i.isMenuOpen||a.value.enabled&&a.value.input)&&s("blur"),i.autoApply&&o.value.enabled&&m.value&&!i.isMenuOpen&&(s("set-input-date",m.value),s("select-date"),m.value=null)},V=U=>{Ci(U,l.value,!0),s("clear")},Q=(U,X)=>{if(U.key==="Tab"&&ae(U,X),U.key==="Enter"&&J(U),!o.value.enabled){if(U.code==="Tab")return;U.preventDefault()}},Z=()=>{var U;(U=b.value)==null||U.focus({preventScroll:!0})},le=U=>{m.value=U},ye=U=>{U.key===mt.tab&&($.value=!1,ae(U))};return e({focusInput:Z,setParsedDate:le}),(U,X)=>{var R,ee;return M(),F("div",{onClick:L},[U.$slots.trigger&&!U.$slots["dp-input"]&&!q(a).enabled?Ie(U.$slots,"trigger",{key:0}):re("",!0),!U.$slots.trigger&&(!q(a).enabled||q(a).input)?(M(),F("div",eL,[U.$slots["dp-input"]&&!U.$slots.trigger&&(!q(a).enabled||q(a).enabled&&q(a).input)?Ie(U.$slots,"dp-input",{key:0,value:t.inputValue,isMenuOpen:t.isMenuOpen,onInput:B,onEnter:J,onTab:ae,onClear:V,onBlur:I,onKeypress:Q,onPaste:T,onFocus:Y,openMenu:()=>U.$emit("open"),closeMenu:()=>U.$emit("close"),toggleMenu:()=>U.$emit("toggle")}):re("",!0),U.$slots["dp-input"]?re("",!0):(M(),F("input",{key:1,id:U.uid?`dp-input-${U.uid}`:void 0,ref_key:"inputRef",ref:b,"data-test":"dp-input",name:U.name,class:Ce(x.value),inputmode:q(o).enabled?"text":"none",placeholder:U.placeholder,disabled:U.disabled,readonly:U.readonly,required:U.required,value:t.inputValue,autocomplete:U.autocomplete,"aria-disabled":U.disabled||void 0,"aria-invalid":U.state===!1?!0:void 0,onInput:B,onBlur:I,onFocus:Y,onKeypress:Q,onKeydown:X[0]||(X[0]=oe=>Q(oe,!0)),onPaste:T},null,42,tL)),h("div",{onClick:X[3]||(X[3]=oe=>s("toggle"))},[U.$slots["input-icon"]&&!U.hideInputIcon?(M(),F("span",{key:0,class:"dp__input_icon",onClick:X[1]||(X[1]=oe=>s("toggle"))},[Ie(U.$slots,"input-icon")])):re("",!0),!U.$slots["input-icon"]&&!U.hideInputIcon&&!U.$slots["dp-input"]?(M(),Le(q(Lr),{key:1,"aria-label":(R=q(r))==null?void 0:R.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:X[2]||(X[2]=oe=>s("toggle"))},null,8,["aria-label"])):re("",!0)]),U.$slots["clear-icon"]&&t.inputValue&&U.clearable&&!U.disabled&&!U.readonly?(M(),F("span",nL,[Ie(U.$slots,"clear-icon",{clear:V})])):re("",!0),U.clearable&&!U.$slots["clear-icon"]&&t.inputValue&&!U.disabled&&!U.readonly?(M(),F("button",{key:3,ref_key:"clearBtnRef",ref:D,"aria-label":(ee=q(r))==null?void 0:ee.clearInput,class:"dp--clear-btn",type:"button",onBlur:X[4]||(X[4]=oe=>$.value=!1),onKeydown:X[5]||(X[5]=oe=>q(vn)(oe,()=>V(oe),!0,ye)),onClick:X[6]||(X[6]=Oa(oe=>V(oe),["prevent"]))},[Se(q(Iy),{class:"dp__input_icons","data-test":"clear-icon"})],40,sL)):re("",!0)])):re("",!0)])}}}),oL=typeof window<"u"?window:void 0,Zu=()=>{},rL=t=>Lc()?(Th(t),!0):!1,aL=(t,e,n,s)=>{if(!t)return Zu;let i=Zu;const o=Bt(()=>q(t),a=>{i(),a&&(a.addEventListener(e,n,s),i=()=>{a.removeEventListener(e,n,s),i=Zu})},{immediate:!0,flush:"post"}),r=()=>{o(),i()};return rL(r),r},lL=(t,e,n,s={})=>{const{window:i=oL,event:o="pointerdown"}=s;return i?aL(i,o,r=>{const a=Ht(t),l=Ht(e);!a||!l||a===r.target||r.composedPath().includes(a)||r.composedPath().includes(l)||n(r)},{passive:!0}):void 0},cL=Nt({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Qc},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 s=n,i=t,o=Do(),r=ve(!1),a=Ca(i,"modelValue"),l=Ca(i,"timezone"),c=ve(null),u=ve(null),d=ve(null),f=ve(!1),g=ve(null),_=ve(!1),m=ve(!1),b=ve(!1),w=ve(!1),{setMenuFocused:$,setShiftKey:A}=Ky(),{clearArrowNav:D}=Hi(),{validateDate:x,isValidTime:y}=ji(i),{defaultedTransitions:S,defaultedTextInput:E,defaultedInline:T,defaultedConfig:C,defaultedRange:B,defaultedMultiDates:J}=xt(i),{menuTransition:ae,showTransition:Y}=Xa(S);qt(()=>{ee(i.modelValue),en().then(()=>{if(!T.value.enabled){const ce=ye(g.value);ce?.addEventListener("scroll",H),window?.addEventListener("resize",W)}}),T.value.enabled&&(r.value=!0),window?.addEventListener("keyup",ie),window?.addEventListener("keydown",j)}),Ir(()=>{if(!T.value.enabled){const ce=ye(g.value);ce?.removeEventListener("scroll",H),window?.removeEventListener("resize",W)}window?.removeEventListener("keyup",ie),window?.removeEventListener("keydown",j)});const L=Rn(o,"all",i.presetDates),I=Rn(o,"input");Bt([a,l],()=>{ee(a.value)},{deep:!0});const{openOnTop:V,menuStyle:Q,xCorrect:Z,setMenuPosition:le,getScrollableParent:ye,shadowRender:U}=GR({menuRef:c,menuRefInner:u,inputRef:d,pickerWrapperRef:g,inline:T,emit:s,props:i,slots:o}),{inputValue:X,internalModelValue:R,parseExternalModelValue:ee,emitModelValue:oe,formatInputValue:P,checkBeforeEmit:se}=HI(s,i,f),ue=_e(()=>({dp__main:!0,dp__theme_dark:i.dark,dp__theme_light:!i.dark,dp__flex_display:T.value.enabled,"dp--flex-display-collapsed":b.value,dp__flex_display_with_input:T.value.input})),xe=_e(()=>i.dark?"dp__theme_dark":"dp__theme_light"),N=_e(()=>i.teleport?{to:typeof i.teleport=="boolean"?"body":i.teleport,disabled:!i.teleport||T.value.enabled}:{}),he=_e(()=>({class:"dp__outer_menu_wrap"})),v=_e(()=>T.value.enabled&&(i.timePicker||i.monthPicker||i.yearPicker||i.quarterPicker)),O=()=>{var ce,$e;return($e=(ce=d.value)==null?void 0:ce.$el)==null?void 0:$e.getBoundingClientRect()},H=()=>{r.value&&(C.value.closeOnScroll?Be():le())},W=()=>{var ce;r.value&&le();const $e=(ce=u.value)==null?void 0:ce.$el.getBoundingClientRect().width;b.value=document.body.offsetWidth<=$e},ie=ce=>{ce.key==="Tab"&&!T.value.enabled&&!i.teleport&&C.value.tabOutClosesMenu&&(g.value.contains(document.activeElement)||Be()),m.value=ce.shiftKey},j=ce=>{m.value=ce.shiftKey},te=()=>{!i.disabled&&!i.readonly&&(U(bm,i),le(!1),r.value=!0,r.value&&s("open"),r.value||Ve(),ee(i.modelValue))},G=()=>{var ce;X.value="",Ve(),(ce=d.value)==null||ce.setParsedDate(null),s("update:model-value",null),s("update:model-timezone-value",null),s("cleared"),C.value.closeOnClearValue&&Be()},de=()=>{const ce=R.value;return!ce||!Array.isArray(ce)&&x(ce)?!0:Array.isArray(ce)?J.value.enabled||ce.length===2&&x(ce[0])&&x(ce[1])?!0:B.value.partialRange&&!i.timePicker?x(ce[0]):!1:!1},ge=()=>{se()&&de()?(oe(),Be()):s("invalid-select",R.value)},fe=ce=>{Re(),oe(),C.value.closeOnAutoApply&&!ce&&Be()},Re=()=>{d.value&&E.value.enabled&&d.value.setParsedDate(R.value)},De=(ce=!1)=>{i.autoApply&&y(R.value)&&de()&&(B.value.enabled&&Array.isArray(R.value)?(B.value.partialRange||R.value.length===2)&&fe(ce):fe(ce))},Ve=()=>{E.value.enabled||(R.value=null)},Be=()=>{T.value.enabled||(r.value&&(r.value=!1,Z.value=!1,$(!1),A(!1),D(),s("closed"),X.value&&ee(a.value)),Ve(),s("blur"))},et=(ce,$e,Me=!1)=>{if(!ce){R.value=null;return}const nn=Array.isArray(ce)?!ce.some(Os=>!x(Os)):x(ce),xn=y(ce);nn&&xn&&(w.value=!0,R.value=ce,$e&&(_.value=Me,ge(),s("text-submit")),en().then(()=>{w.value=!1}))},Ge=()=>{i.autoApply&&y(R.value)&&oe(),Re()},pt=()=>r.value?Be():te(),on=ce=>{R.value=ce},Hn=()=>{E.value.enabled&&(f.value=!0,P()),s("focus")},ii=()=>{if(E.value.enabled&&(f.value=!1,ee(i.modelValue),_.value)){const ce=pI(g.value,m.value);ce?.focus()}s("blur")},Qn=ce=>{u.value&&u.value.updateMonthYear(0,{month:hm(ce.month),year:hm(ce.year)})},Ds=ce=>{ee(ce??i.modelValue)},Vt=(ce,$e)=>{var Me;(Me=u.value)==null||Me.switchView(ce,$e)},ne=ce=>C.value.onClickOutside?C.value.onClickOutside(ce):Be(),ke=(ce=0)=>{var $e;($e=u.value)==null||$e.handleFlow(ce)};return lL(c,d,()=>ne(de)),e({closeMenu:Be,selectDate:ge,clearValue:G,openMenu:te,onScroll:H,formatInputValue:P,updateInternalModelValue:on,setMonthYear:Qn,parseModel:Ds,switchView:Vt,toggleMenu:pt,handleFlow:ke,dpWrapMenuRef:c}),(ce,$e)=>(M(),F("div",{ref_key:"pickerWrapperRef",ref:g,class:Ce(ue.value),"data-datepicker-instance":""},[Se(iL,zt({ref_key:"inputRef",ref:d,"input-value":q(X),"onUpdate:inputValue":$e[0]||($e[0]=Me=>Pt(X)?X.value=Me:null),"is-menu-open":r.value},ce.$props,{onClear:G,onOpen:te,onSetInputDate:et,onSetEmptyDate:q(oe),onSelectDate:ge,onToggle:pt,onClose:Be,onFocus:Hn,onBlur:ii,onRealBlur:$e[1]||($e[1]=Me=>f.value=!1),onTextInput:$e[2]||($e[2]=Me=>ce.$emit("text-input",Me))}),dn({_:2},[Ue(q(I),(Me,nn)=>({name:Me,fn:Pe(xn=>[Ie(ce.$slots,Me,Qt(mn(xn)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(M(),Le(Mo(ce.teleport?DA:"div"),Qt(mn(N.value)),{default:Pe(()=>[Se(At,{name:q(ae)(q(V)),css:q(Y)&&!q(T).enabled},{default:Pe(()=>[r.value?(M(),F("div",zt({key:0,ref_key:"dpWrapMenuRef",ref:c},he.value,{class:{"dp--menu-wrapper":!q(T).enabled},style:q(T).enabled?void 0:q(Q)}),[Se(bm,zt({ref_key:"dpMenuRef",ref:u},ce.$props,{"internal-model-value":q(R),"onUpdate:internalModelValue":$e[3]||($e[3]=Me=>Pt(R)?R.value=Me:null),class:{[xe.value]:!0,"dp--menu-wrapper":ce.teleport},"open-on-top":q(V),"no-overlay-focus":v.value,collapse:b.value,"get-input-rect":O,"is-text-input-date":w.value,onClosePicker:Be,onSelectDate:ge,onAutoApply:De,onTimeUpdate:Ge,onFlowStep:$e[4]||($e[4]=Me=>ce.$emit("flow-step",Me)),onUpdateMonthYear:$e[5]||($e[5]=Me=>ce.$emit("update-month-year",Me)),onInvalidSelect:$e[6]||($e[6]=Me=>ce.$emit("invalid-select",q(R))),onAutoApplyInvalid:$e[7]||($e[7]=Me=>ce.$emit("invalid-select",Me)),onInvalidFixedRange:$e[8]||($e[8]=Me=>ce.$emit("invalid-fixed-range",Me)),onRecalculatePosition:q(le),onTooltipOpen:$e[9]||($e[9]=Me=>ce.$emit("tooltip-open",Me)),onTooltipClose:$e[10]||($e[10]=Me=>ce.$emit("tooltip-close",Me)),onTimePickerOpen:$e[11]||($e[11]=Me=>ce.$emit("time-picker-open",Me)),onTimePickerClose:$e[12]||($e[12]=Me=>ce.$emit("time-picker-close",Me)),onAmPmChange:$e[13]||($e[13]=Me=>ce.$emit("am-pm-change",Me)),onRangeStart:$e[14]||($e[14]=Me=>ce.$emit("range-start",Me)),onRangeEnd:$e[15]||($e[15]=Me=>ce.$emit("range-end",Me)),onDateUpdate:$e[16]||($e[16]=Me=>ce.$emit("date-update",Me)),onInvalidDate:$e[17]||($e[17]=Me=>ce.$emit("invalid-date",Me)),onOverlayToggle:$e[18]||($e[18]=Me=>ce.$emit("overlay-toggle",Me))}),dn({_:2},[Ue(q(L),(Me,nn)=>({name:Me,fn:Pe(xn=>[Ie(ce.$slots,Me,Qt(mn({...xn})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):re("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),Za=(()=>{const t=cL;return t.install=e=>{e.component("Vue3DatePicker",t)},t})(),uL=Object.freeze(Object.defineProperty({__proto__:null,default:Za},Symbol.toStringTag,{value:"Module"}));Object.entries(uL).forEach(([t,e])=>{t!=="default"&&(Za[t]=e)});const dL={name:"newDashboardAPIKey",components:{VueDatePicker:Za},data(){return{newKeyData:{ExpiredAt:Cn().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,ht("/api/newDashboardAPIKey",this.newKeyData,t=>{t.status?(this.$emit("created",t.data),this.store.newMessage("Server","New API Key created","success"),this.$emit("close")):this.store.newMessage("Server",t.message,"danger"),this.submitting=!1})},fixDate(t){return console.log(Cn(t).format("YYYY-MM-DDTHH:mm:ss")),Cn(t).format("YYYY-MM-DDTHH:mm:ss")},parseTime(t){t?this.newKeyData.ExpiredAt=Cn(t).format("YYYY-MM-DD HH:mm:ss"):this.newKeyData.ExpiredAt=void 0}}},hL={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)"}},fL={class:"card m-auto rounded-3 mt-5"},pL={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},gL=h("h6",{class:"mb-0"},"Create API Key",-1),mL={class:"card-body d-flex gap-2 p-4 flex-column"},_L=h("small",{class:"text-muted"},"When should this API Key expire?",-1),vL={class:"d-flex align-items-center gap-2"},bL={class:"form-check"},yL=["disabled"],wL=h("label",{class:"form-check-label",for:"neverExpire"},[be(" Never Expire ("),h("i",{class:"bi bi-emoji-grimace-fill"}),be(" Don't think that's a good idea) ")],-1),xL={key:0,class:"bi bi-check-lg me-2"};function kL(t,e,n,s,i,o){const r=He("VueDatePicker");return M(),F("div",hL,[h("div",fL,[h("div",pL,[gL,h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=a=>this.$emit("close"))})]),h("div",mL,[_L,h("div",vL,[Se(r,{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",bL,[Oe(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[1]||(e[1]=a=>this.newKeyData.neverExpire=a),id:"neverExpire",disabled:this.submitting},null,8,yL),[[_n,this.newKeyData.neverExpire]]),wL]),h("button",{class:Ce(["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]=a=>this.submitNewAPIKey())},[this.submitting?re("",!0):(M(),F("i",xL)),be(" "+me(this.submitting?"Creating...":"Done"),1)],2)])])])}const SL=We(dL,[["render",kL]]),$L={name:"dashboardAPIKey",props:{apiKey:Object},setup(){return{store:Xe()}},data(){return{confirmDelete:!1}},methods:{deleteAPIKey(){ht("/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")})}}},el=t=>(Ut("data-v-0cc2f367"),t=t(),Kt(),t),AL={class:"card rounded-3 shadow-sm"},CL={key:0,class:"card-body d-flex gap-3 align-items-center apiKey-card-body"},EL={class:"d-flex align-items-center gap-2"},PL=el(()=>h("small",{class:"text-muted"},"Key",-1)),TL={style:{"word-break":"break-all"}},ML={class:"d-flex align-items-center gap-2 ms-auto"},DL=el(()=>h("small",{class:"text-muted"},"Expire At",-1)),OL=el(()=>h("i",{class:"bi bi-trash-fill"},null,-1)),IL=[OL],RL={key:0,class:"card-body d-flex gap-3 align-items-center justify-content-end"},LL=el(()=>h("i",{class:"bi bi-check-lg"},null,-1)),NL=[LL],FL=el(()=>h("i",{class:"bi bi-x-lg"},null,-1)),BL=[FL];function VL(t,e,n,s,i,o){return M(),F("div",AL,[this.confirmDelete?(M(),F(Te,{key:1},[this.store.getActiveCrossServer()?re("",!0):(M(),F("div",RL,[be(" 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]=r=>this.deleteAPIKey())},NL),h("a",{role:"button",class:"btn btn-sm bg-secondary-subtle text-secondary-emphasis rounded-3",onClick:e[2]||(e[2]=r=>this.confirmDelete=!1)},BL)]))],64)):(M(),F("div",CL,[h("div",EL,[PL,h("span",TL,me(this.apiKey.Key),1)]),h("div",ML,[DL,be(" "+me(this.apiKey.ExpiredAt?this.apiKey.ExpiredAt:"Never"),1)]),this.store.getActiveCrossServer()?re("",!0):(M(),F("a",{key:0,role:"button",class:"btn btn-sm bg-danger-subtle text-danger-emphasis rounded-3",onClick:e[0]||(e[0]=r=>this.confirmDelete=!0)},IL))]))])}const HL=We($L,[["render",VL],["__scopeId","data-v-0cc2f367"]]),jL={name:"dashboardAPIKeys",components:{DashboardAPIKey:HL,NewDashboardAPIKey:SL},setup(){return{store:Xe()}},data(){return{value:this.store.Configuration.Server.dashboard_api_key,apiKeys:[],newDashboardAPIKey:!1}},methods:{async toggleDashboardAPIKeys(){await ht("/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 ${this.value?"enabled":"disabled"}`,"danger"))})}},watch:{value:{immediate:!0,handler(t){t?wt("/api/getDashboardAPIKeys",{},e=>{console.log(e),e.status?this.apiKeys=e.data:(this.apiKeys=[],this.store.newMessage("Server",e.message,"danger"))}):this.apiKeys=[]}}}},e0=t=>(Ut("data-v-45b66fb8"),t=t(),Kt(),t),WL={class:"card mb-4 shadow rounded-3"},zL={class:"card-header d-flex"},YL={key:0,class:"form-check form-switch ms-auto"},UL={class:"form-check-label",for:"allowAPIKeysSwitch"},KL={key:0,class:"card-body position-relative d-flex flex-column gap-2"},qL=e0(()=>h("i",{class:"bi bi-key me-2"},null,-1)),GL={key:1,class:"card",style:{height:"300px"}},JL=e0(()=>h("div",{class:"card-body d-flex text-muted"},[h("span",{class:"m-auto"}," No Dashboard API Key ")],-1)),XL=[JL],QL={key:2,class:"d-flex flex-column gap-2 position-relative",style:{"min-height":"300px"}};function ZL(t,e,n,s,i,o){const r=He("DashboardAPIKey"),a=He("NewDashboardAPIKey");return M(),F("div",WL,[h("div",zL,[be(" API Keys "),this.store.getActiveCrossServer()?re("",!0):(M(),F("div",YL,[Oe(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=l=>this.value=l),onChange:e[1]||(e[1]=l=>this.toggleDashboardAPIKeys()),role:"switch",id:"allowAPIKeysSwitch"},null,544),[[_n,this.value]]),h("label",UL,me(this.value?"Enabled":"Disabled"),1)]))]),this.value?(M(),F("div",KL,[this.store.getActiveCrossServer()?re("",!0):(M(),F("button",{key:0,class:"ms-auto btn bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle rounded-3 shadow-sm",onClick:e[2]||(e[2]=l=>this.newDashboardAPIKey=!0)},[qL,be(" Create ")])),this.apiKeys.length===0?(M(),F("div",GL,XL)):(M(),F("div",QL,[Se(Bi,{name:"apiKey"},{default:Pe(()=>[(M(!0),F(Te,null,Ue(this.apiKeys,l=>(M(),Le(r,{apiKey:l,key:l.Key,onDeleted:e[3]||(e[3]=c=>this.apiKeys=c)},null,8,["apiKey"]))),128))]),_:1})])),Se(At,{name:"zoomReversed"},{default:Pe(()=>[this.newDashboardAPIKey?(M(),Le(a,{key:0,onCreated:e[4]||(e[4]=l=>this.apiKeys=l),onClose:e[5]||(e[5]=l=>this.newDashboardAPIKey=!1)})):re("",!0)]),_:1})])):re("",!0)])}const e3=We(jL,[["render",ZL],["__scopeId","data-v-45b66fb8"]]),t3={name:"accountSettingsMFA",setup(){const t=Xe(),e=`input_${Ps()}`;return{store:t,uuid:e}},data(){return{status:!1}},mounted(){this.status=this.store.Configuration.Account.enable_totp},methods:{async resetMFA(){await ht("/api/updateDashboardConfigurationItem",{section:"Account",key:"totp_verified",value:"false"},async t=>{await ht("/api/updateDashboardConfigurationItem",{section:"Account",key:"enable_totp",value:"false"},e=>{e.status&&this.$router.push("/2FASetup")})})}}},n3={class:"d-flex align-items-center"},s3=h("strong",null,"Multi-Factor Authentication",-1),i3={class:"form-check form-switch ms-3"},o3=h("i",{class:"bi bi-shield-lock-fill me-2"},null,-1);function r3(t,e,n,s,i,o){return M(),F("div",null,[h("div",n3,[s3,h("div",i3,[Oe(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=r=>this.status=r),role:"switch",id:"allowMFAKeysSwitch"},null,512),[[_n,this.status]])]),this.status?(M(),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]=r=>this.resetMFA())},[o3,be(" "+me(this.store.Configuration.Account.totp_verified?"Reset":"Setup")+" MFA ",1)])):re("",!0)])])}const a3=We(t3,[["render",r3]]),l3={name:"settings",methods:{ipV46RegexCheck:MM},components:{AccountSettingsMFA:a3,DashboardAPIKeys:e3,DashboardSettingsInputIPAddressAndPort:ZD,DashboardTheme:LD,DashboardSettingsInputWireguardConfigurationPath:ED,AccountSettingsInputPassword:fD,AccountSettingsInputUsername:HM,PeersDefaultSettingsInput:TM},setup(){return{dashboardConfigurationStore:Xe()}},watch:{}},c3={class:"mt-md-5 mt-3"},u3={class:"container-md"},d3=h("h3",{class:"mb-3 text-body"},"Settings",-1),h3={class:"card mb-4 shadow rounded-3"},f3=h("p",{class:"card-header"},"Peers Default Settings",-1),p3={class:"card-body"},g3={class:"card mb-4 shadow rounded-3"},m3=h("p",{class:"card-header"},"WireGuard Configurations Settings",-1),_3={class:"card-body"},v3={class:"card mb-4 shadow rounded-3"},b3=h("p",{class:"card-header"},"Account Settings",-1),y3={class:"card-body d-flex gap-4 flex-column"},w3=h("hr",{class:"m-0"},null,-1),x3={key:0,class:"m-0"};function k3(t,e,n,s,i,o){const r=He("DashboardTheme"),a=He("PeersDefaultSettingsInput"),l=He("DashboardSettingsInputWireguardConfigurationPath"),c=He("AccountSettingsInputUsername"),u=He("AccountSettingsInputPassword"),d=He("AccountSettingsMFA"),f=He("DashboardAPIKeys");return M(),F("div",c3,[h("div",u3,[d3,Se(r),h("div",h3,[f3,h("div",p3,[Se(a,{targetData:"peer_global_dns",title:"DNS"}),Se(a,{targetData:"peer_endpoint_allowed_ip",title:"Peer Endpoint Allowed IPs"}),Se(a,{targetData:"peer_mtu",title:"MTU (Max Transmission Unit)"}),Se(a,{targetData:"peer_keep_alive",title:"Persistent Keepalive"}),Se(a,{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."})])]),h("div",g3,[m3,h("div",_3,[Se(l,{targetData:"wg_conf_path",title:"Configurations Directory",warning:!0,"warning-text":"Remember to remove / at the end of your path. e.g /etc/wireguard"})])]),h("div",v3,[b3,h("div",y3,[Se(c,{targetData:"username",title:"Username"}),w3,Se(u,{targetData:"password"}),this.dashboardConfigurationStore.getActiveCrossServer()?re("",!0):(M(),F("hr",x3)),this.dashboardConfigurationStore.getActiveCrossServer()?re("",!0):(M(),Le(d,{key:1}))])]),Se(f)])])}const S3=We(l3,[["render",k3]]),$3={name:"setup",components:{},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,ht("/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})}}},A3=["data-bs-theme"],C3={class:"m-auto text-body",style:{width:"500px"}},E3=h("span",{class:"dashboardLogo display-4"},"Nice to meet you!",-1),P3=h("p",{class:"mb-5"},"Please fill in the following fields to finish setup 😊",-1),T3=h("h3",null,"Create an account",-1),M3={key:0,class:"alert alert-danger"},D3={class:"d-flex flex-column gap-3"},O3={id:"createAccount",class:"d-flex flex-column gap-2"},I3={class:"form-group text-body"},R3=h("label",{for:"username",class:"mb-1 text-muted"},[h("small",null,"Pick an username you like")],-1),L3={class:"form-group text-body"},N3=h("label",{for:"password",class:"mb-1 text-muted"},[h("small",null,"Create a password (at least 8 characters)")],-1),F3={class:"form-group text-body"},B3=h("label",{for:"confirmPassword",class:"mb-1 text-muted"},[h("small",null,"Confirm password")],-1),V3=["disabled"],H3={key:0,class:"d-flex align-items-center w-100"},j3=h("i",{class:"bi bi-chevron-right ms-auto"},null,-1),W3={key:1,class:"d-flex align-items-center w-100"},z3=h("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},[h("span",{class:"visually-hidden"},"Loading...")],-1);function Y3(t,e,n,s,i,o){return M(),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",C3,[E3,P3,h("div",null,[T3,this.errorMessage?(M(),F("div",M3,me(this.errorMessage),1)):re("",!0),h("div",D3,[h("div",O3,[h("div",I3,[R3,Oe(h("input",{type:"text","onUpdate:modelValue":e[0]||(e[0]=r=>this.setup.username=r),class:"form-control",id:"username",name:"username",placeholder:"Maybe something like 'wiredragon'?",required:""},null,512),[[je,this.setup.username]])]),h("div",L3,[N3,Oe(h("input",{type:"password","onUpdate:modelValue":e[1]||(e[1]=r=>this.setup.newPassword=r),class:"form-control",id:"password",name:"password",placeholder:"Make sure is strong enough",required:""},null,512),[[je,this.setup.newPassword]])]),h("div",F3,[B3,Oe(h("input",{type:"password","onUpdate:modelValue":e[2]||(e[2]=r=>this.setup.repeatNewPassword=r),class:"form-control",id:"confirmPassword",name:"confirmPassword",placeholder:"and you can remember it :)",required:""},null,512),[[je,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]=r=>this.submit())},[!this.loading&&!this.done?(M(),F("span",H3,[be(" Next"),j3])):(M(),F("span",W3,[be(" Saving..."),z3]))],8,V3)])])])],8,A3)}const U3=We($3,[["render",Y3]]);function xf(t){return t.includes(":")?6:t.includes(".")?4:0}function K3(t){const e=xf(t);if(!e)throw new Error(`Invalid IP address: ${t}`);let n=0n,s=0n;const i=Object.create(null);if(e===4)for(const o of t.split(".").map(BigInt).reverse())n+=o*2n**s,s+=8n;else{if(t.includes(".")&&(i.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),i.scopeid=a}const o=t.split(":"),r=o.indexOf("");if(r!==-1)for(;o.length<8;)o.splice(r,0,"");for(const a of o.map(l=>BigInt(parseInt(l||0,16))).reverse())n+=a*2n**s,s+=16n}return i.number=n,i.version=e,i}const ym={4:32,6:128},q3=t=>t.includes("/")?xf(t):0;function G3(t){const e=q3(t),n=Object.create(null);if(n.single=!1,e)n.cidr=t,n.version=e;else{const d=xf(t);if(d)n.cidr=`${t}/${ym[d]}`,n.version=d,n.single=!0;else throw new Error(`Network is not a CIDR or IP: ${t}`)}const[s,i]=n.cidr.split("/");n.prefix=i;const{number:o,version:r}=K3(s),a=ym[r],l=o.toString(2).padStart(a,"0"),c=Number(a-i),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(),rL=new RegExp(`(?:^${ts}$)|(?:^${gf}$)`),oL=new RegExp(`^${ts}$`),aL=new RegExp(`^${gf}$`),pf=t=>t&&t.exact?rL:new RegExp(`(?:${Hr(t)}${ts}${Hr(t)})|(?:${Hr(t)}${gf}${Hr(t)})`,"g");pf.v4=t=>t&&t.exact?oL:new RegExp(`${Hr(t)}${ts}${Hr(t)}`,"g");pf.v6=t=>t&&t.exact?aL:new RegExp(`${Hr(t)}${gf}${Hr(t)}`,"g");const _S={exact:!1},yS=`${pf.v4().source}\\/(3[0-2]|[12]?[0-9])`,vS=`${pf.v6().source}\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])`,lL=new RegExp(`^${yS}$`),cL=new RegExp(`^${vS}$`),uL=({exact:t}=_S)=>t?lL:new RegExp(yS,"g"),dL=({exact:t}=_S)=>t?cL:new RegExp(vS,"g"),bS=uL({exact:!0}),wS=dL({exact:!0}),T_=t=>bS.test(t)?4:wS.test(t)?6:0;T_.v4=t=>bS.test(t);T_.v6=t=>wS.test(t);const Tt=t=>{const e=nt();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]])},vi=x_("WireguardConfigurationsStore",{state:()=>({Configurations:void 0,searchString:"",ConfigurationListInterval:void 0,PeerScheduleJobs:{dropdowns:{Field:[{display:Tt("Total Received"),value:"total_receive",unit:"GB",type:"number"},{display:Tt("Total Sent"),value:"total_sent",unit:"GB",type:"number"},{display:Tt("Total Usage"),value:"total_data",unit:"GB",type:"number"},{display:Tt("Date"),value:"date",type:"date"}],Operator:[{display:Tt("larger than"),value:"lgt"}],Action:[{display:Tt("Restrict Peer"),value:"restrict"},{display:Tt("Delete Peer"),value:"delete"}]}}}),actions:{async getConfigurations(){await Vt("/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 T_(t)!==0}}}),He=(t,e)=>{const n=t.__vccOpts||t;for(const[i,s]of e)n[i]=s;return n},hL={name:"localeText",props:{t:""},computed:{getLocaleText(){return Tt(this.t)}}};function fL(t,e,n,i,s,r){return xe(this.getLocaleText)}const Qe=He(hL,[["render",fL]]),gL={name:"navbar",components:{LocaleText:Qe},setup(){const t=vi(),e=nt();return{wireguardConfigurationsStore:t,dashboardConfigurationStore:e}},data(){return{updateAvailable:!1,updateMessage:"Checking for update...",updateUrl:""}},mounted(){Vt("/api/getDashboardUpdate",{},t=>{t.status?(t.data&&(this.updateAvailable=!0,this.updateUrl=t.data),this.updateMessage=t.message):(this.updateMessage=Tt("Failed to check available update"),console.log(`Failed to get update: ${t.message}`))})}},po=t=>(bn("data-v-c16dfe93"),t=t(),wn(),t),pL=["data-bs-theme"],mL={id:"sidebarMenu",class:"bg-body-tertiary sidebar border h-100 rounded-3 shadow overflow-y-scroll"},_L={class:"sidebar-sticky pt-3"},yL={class:"nav flex-column px-2"},vL={class:"nav-item"},bL=po(()=>g("i",{class:"bi bi-house me-2"},null,-1)),wL={class:"nav-item"},xL=po(()=>g("i",{class:"bi bi-gear me-2"},null,-1)),EL=po(()=>g("hr",{class:"text-body"},null,-1)),SL={class:"sidebar-heading px-3 mt-4 mb-1 text-muted text-center"},CL=po(()=>g("i",{class:"bi bi-body-text me-2"},null,-1)),TL={class:"nav flex-column px-2"},kL={class:"nav-item"},AL=po(()=>g("hr",{class:"text-body"},null,-1)),ML={class:"sidebar-heading px-3 mt-4 mb-1 text-muted text-center"},IL=po(()=>g("i",{class:"bi bi-tools me-2"},null,-1)),PL={class:"nav flex-column px-2"},RL={class:"nav-item"},DL={class:"nav-item"},$L=po(()=>g("hr",{class:"text-body"},null,-1)),LL={class:"nav flex-column px-2"},OL={class:"nav-item"},NL=po(()=>g("i",{class:"bi bi-box-arrow-left me-2"},null,-1)),FL={class:"nav-item",style:{"font-size":"0.8rem"}},BL=["href"],VL={class:"nav-link text-muted rounded-3"},zL={key:1,class:"nav-link text-muted rounded-3"};function WL(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("RouterLink");return D(),V("div",{class:Me(["col-md-3 col-lg-2 d-md-block p-3 navbar-container",{active:this.dashboardConfigurationStore.ShowNavBar}]),"data-bs-theme":i.dashboardConfigurationStore.Configuration.Server.dashboard_theme,style:{height:"calc(-50px + 100vh)"}},[g("nav",mL,[g("div",_L,[g("ul",yL,[g("li",vL,[B(a,{class:"nav-link rounded-3",to:"/","exact-active-class":"active"},{default:Re(()=>[bL,B(o,{t:"Home"})]),_:1})]),g("li",wL,[B(a,{class:"nav-link rounded-3",to:"/settings","exact-active-class":"active"},{default:Re(()=>[xL,B(o,{t:"Settings"})]),_:1})])]),EL,g("h6",SL,[CL,B(o,{t:"WireGuard Configurations"})]),g("ul",TL,[g("li",kL,[(D(!0),V($e,null,Xe(this.wireguardConfigurationsStore.Configurations,l=>(D(),Ce(a,{to:"/configuration/"+l.Name+"/peers",class:"nav-link nav-conf-link rounded-3","active-class":"active"},{default:Re(()=>[g("span",{class:Me(["dot me-2",{active:l.Status}])},null,2),Ye(" "+xe(l.Name),1)]),_:2},1032,["to"]))),256))])]),AL,g("h6",ML,[IL,B(o,{t:"Tools"})]),g("ul",PL,[g("li",RL,[B(a,{to:"/ping",class:"nav-link rounded-3","active-class":"active"},{default:Re(()=>[Ye("Ping")]),_:1})]),g("li",DL,[B(a,{to:"/traceroute",class:"nav-link rounded-3","active-class":"active"},{default:Re(()=>[Ye("Traceroute")]),_:1})])]),$L,g("ul",LL,[g("li",OL,[g("a",{class:"nav-link text-danger rounded-3",onClick:e[0]||(e[0]=l=>this.dashboardConfigurationStore.signOut()),role:"button",style:{"font-weight":"bold"}},[NL,B(o,{t:"Sign Out"})])]),g("li",FL,[this.updateAvailable?(D(),V("a",{key:0,href:this.updateUrl,class:"text-decoration-none rounded-3",target:"_blank"},[g("small",VL,[B(o,{t:this.updateMessage},null,8,["t"]),Ye(" ("),B(o,{t:"Current Version:"}),Ye(" "+xe(i.dashboardConfigurationStore.Configuration.Server.version)+") ",1)])],8,BL)):(D(),V("small",zL,[B(o,{t:this.updateMessage},null,8,["t"]),Ye(" ("+xe(i.dashboardConfigurationStore.Configuration.Server.version)+") ",1)]))])])])])],10,pL)}const HL=He(gL,[["render",WL],["__scopeId","data-v-c16dfe93"]]),YL={name:"message",components:{LocaleText:Qe},props:{message:Object},mounted(){setTimeout(()=>{this.message.show=!1},5e3)}},jL=["id"],KL={class:"card-body"},UL={class:"fw-bold d-block",style:{"text-transform":"uppercase"}};function GL(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",{class:Me(["card shadow rounded-3 position-relative mb-2",{"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,style:{width:"400px"}},[g("div",KL,[g("small",UL,[B(o,{t:"FROM "}),Ye(" "+xe(this.message.from),1)]),Ye(" "+xe(this.message.content),1)])],10,jL)}const xS=He(YL,[["render",GL]]),XL={name:"index",components:{Message:xS,Navbar:HL},async setup(){return{dashboardConfigurationStore:nt()}},computed:{getMessages(){return this.dashboardConfigurationStore.Messages.filter(t=>t.show)}}},qL=["data-bs-theme"],ZL={class:"row h-100"},JL={class:"col-md-9 ml-sm-auto col-lg-10 px-md-4 overflow-y-scroll mb-0",style:{height:"calc(100vh - 50px)"}},QL={class:"messageCentre text-body position-fixed"};function eO(t,e,n,i,s,r){const o=Se("Navbar"),a=Se("RouterView"),l=Se("Message");return D(),V("div",{class:"container-fluid flex-grow-1 main","data-bs-theme":this.dashboardConfigurationStore.Configuration.Server.dashboard_theme},[g("div",ZL,[B(o),g("main",JL,[(D(),Ce(f_,null,{default:Re(()=>[B(a,null,{default:Re(({Component:c})=>[B(Rt,{name:"fade2",mode:"out-in"},{default:Re(()=>[(D(),Ce(ga(c)))]),_:2},1024)]),_:1})]),_:1})),g("div",QL,[B(jl,{name:"message",tag:"div",class:"position-relative"},{default:Re(()=>[(D(!0),V($e,null,Xe(r.getMessages.slice().reverse(),c=>(D(),Ce(l,{message:c,key:c.id},null,8,["message"]))),128))]),_:1})])])])],8,qL)}const tO=He(XL,[["render",eO],["__scopeId","data-v-b776d181"]]);var ES={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(lx,function(){var n=1e3,i=6e4,s=36e5,r="millisecond",o="second",a="minute",l="hour",c="day",u="week",d="month",h="quarter",f="year",p="date",m="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|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,b={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 L=["th","st","nd","rd"],I=N%100;return"["+N+(L[(I-20)%10]||L[I]||L[0])+"]"}},E=function(N,L,I){var W=String(N);return!W||W.length>=L?N:""+Array(L+1-W.length).join(I)+N},C={s:E,z:function(N){var L=-N.utcOffset(),I=Math.abs(L),W=Math.floor(I/60),X=I%60;return(L<=0?"+":"-")+E(W,2,"0")+":"+E(X,2,"0")},m:function N(L,I){if(L.date()1)return N(ne[0])}else{var ue=L.name;x[ue]=L,X=ue}return!W&&X&&(w=X),X||!W&&w},P=function(N,L){if(k(N))return N.clone();var I=typeof L=="object"?L:{};return I.date=N,I.args=arguments,new H(I)},F=C;F.l=A,F.i=k,F.w=function(N,L){return P(N,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var H=function(){function N(I){this.$L=A(I.locale,null,!0),this.parse(I),this.$x=this.$x||I.x||{},this[T]=!0}var L=N.prototype;return L.parse=function(I){this.$d=function(W){var X=W.date,J=W.utc;if(X===null)return new Date(NaN);if(F.u(X))return new Date;if(X instanceof Date)return new Date(X);if(typeof X=="string"&&!/Z$/i.test(X)){var ne=X.match(y);if(ne){var ue=ne[2]-1||0,Y=(ne[7]||"0").substring(0,3);return J?new Date(Date.UTC(ne[1],ue,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,Y)):new Date(ne[1],ue,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,Y)}}return new Date(X)}(I),this.init()},L.init=function(){var I=this.$d;this.$y=I.getFullYear(),this.$M=I.getMonth(),this.$D=I.getDate(),this.$W=I.getDay(),this.$H=I.getHours(),this.$m=I.getMinutes(),this.$s=I.getSeconds(),this.$ms=I.getMilliseconds()},L.$utils=function(){return F},L.isValid=function(){return this.$d.toString()!==m},L.isSame=function(I,W){var X=P(I);return this.startOf(W)<=X&&X<=this.endOf(W)},L.isAfter=function(I,W){return P(I){if(t.status===200)return t.json();throw new Error(t.statusText)}).then(()=>{this.endTime=pi(),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?`${pi().subtract(this.startTime).millisecond()}ms`:this.refreshing?Tt("Pinging..."):this.errorMsg?this.errorMsg:"N/A"}}},Kl=t=>(bn("data-v-ed7817c7"),t=t(),wn(),t),sO={class:"card rounded-3"},rO={class:"card-body"},oO={class:"d-flex gap-3 w-100 remoteServerContainer"},aO={class:"d-flex gap-3 align-items-center flex-grow-1"},lO=Kl(()=>g("i",{class:"bi bi-server"},null,-1)),cO={class:"d-flex gap-3 align-items-center flex-grow-1"},uO=Kl(()=>g("i",{class:"bi bi-key-fill"},null,-1)),dO={class:"d-flex gap-2 button-group"},hO=Kl(()=>g("i",{class:"bi bi-trash"},null,-1)),fO=[hO],gO=Kl(()=>g("i",{class:"bi bi-arrow-right-circle"},null,-1)),pO=[gO],mO={class:"card-footer gap-2 d-flex align-items-center"},_O={key:0,class:"spin ms-auto text-primary-emphasis"},yO=Kl(()=>g("i",{class:"bi bi-arrow-clockwise"},null,-1)),vO=[yO],bO=Kl(()=>g("i",{class:"bi bi-arrow-clockwise me"},null,-1)),wO=[bO];function xO(t,e,n,i,s,r){return D(),V("div",sO,[g("div",rO,[g("div",oO,[g("div",aO,[lO,Oe(g("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),[[Ke,this.server.host]])]),g("div",cO,[uO,Oe(g("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),[[Ke,this.server.apiKey]])]),g("div",dO,[g("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"},fO),g("button",{onClick:e[5]||(e[5]=o=>this.connect()),class:Me([{disabled:!this.active},"ms-auto btn btn-sm bg-success-subtle text-success-emphasis border-1 border-success-subtle"])},pO,2)])])]),g("div",mO,[g("span",{class:Me(["dot ms-0 me-2",[this.active?"active":"inactive"]])},null,2),g("small",null,xe(this.getHandshakeTime),1),this.refreshing?(D(),V("div",_O,vO)):(D(),V("a",{key:1,role:"button",onClick:e[6]||(e[6]=o=>this.handshake()),class:"text-primary-emphasis text-decoration-none ms-auto disabled"},wO))])])}const EO=He(iO,[["render",xO],["__scopeId","data-v-ed7817c7"]]),SO={name:"RemoteServerList",setup(){return{store:nt()}},components:{LocaleText:Qe,RemoteServer:EO}},CO={class:"w-100 mt-3"},TO={class:"d-flex align-items-center mb-3"},kO={class:"mb-0"},AO=g("i",{class:"bi bi-plus-circle-fill me-2"},null,-1),MO={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"}},IO={key:0,class:"text-muted m-auto"},PO=g("i",{class:"bi bi-plus-circle-fill mx-1"},null,-1);function RO(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("RemoteServer");return D(),V("div",CO,[g("div",TO,[g("h5",kO,[B(o,{t:"Server List"})]),g("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"},[AO,B(o,{t:"Server"})])]),g("div",MO,[(D(!0),V($e,null,Xe(this.store.CrossServerConfiguration.ServerList,(l,c)=>(D(),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?(D(),V("h6",IO,[B(o,{t:"Click"}),PO,B(o,{t:"to add your server"})])):ce("",!0)])])}const DO=He(SO,[["render",RO]]),$O={name:"signInInput",methods:{GetLocale:Tt},props:{id:"",data:"",type:"",placeholder:""},computed:{getLocaleText(){return Tt(this.placeholder)}}},LO=["type","id","name","placeholder"];function OO(t,e,n,i,s,r){return Oe((D(),V("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,LO)),[[QE,this.data[this.id]]])}const NO=He($O,[["render",OO]]),FO={name:"signInTOTP",methods:{GetLocale:Tt},props:{data:""},computed:{getLocaleText(){return Tt("OTP from your authenticator")}}},BO=["placeholder"];function VO(t,e,n,i,s,r){return Oe((D(),V("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,BO)),[[Ke,this.data.totp]])}const zO=He(FO,[["render",VO]]),WO={name:"signin",components:{SignInTOTP:zO,SignInInput:NO,LocaleText:Qe,RemoteServerList:DO,Message:xS},async setup(){const t=nt();let e="dark",n=!1,i;return t.IsElectronApp||await Promise.all([Vt("/api/getDashboardTheme",{},s=>{e=s.data}),Vt("/api/isTotpEnabled",{},s=>{n=s.data}),Vt("/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 Tt(t)}},methods:{GetLocale:Tt,async auth(){this.data.username&&this.data.password&&(this.totpEnabled&&this.data.totp||!this.totpEnabled)?(this.loading=!0,await kt("/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"))})}}},ma=t=>(bn("data-v-2fa13e60"),t=t(),wn(),t),HO=["data-bs-theme"],YO={class:"login-box m-auto"},jO={class:"m-auto",style:{width:"700px"}},KO={class:"mb-0 text-body"},UO=ma(()=>g("span",{class:"dashboardLogo display-3"},[g("strong",null,"WGDashboard")],-1)),GO={key:0,class:"alert alert-danger mt-2 mb-0",role:"alert"},XO={class:"form-group text-body"},qO=ma(()=>g("label",{for:"username",class:"text-left",style:{"font-size":"1rem"}},[g("i",{class:"bi bi-person-circle"})],-1)),ZO={class:"form-group text-body"},JO=ma(()=>g("label",{for:"password",class:"text-left",style:{"font-size":"1rem"}},[g("i",{class:"bi bi-key-fill"})],-1)),QO={key:0,class:"form-group text-body"},eN=ma(()=>g("label",{for:"totp",class:"text-left",style:{"font-size":"1rem"}},[g("i",{class:"bi bi-lock-fill"})],-1)),tN={class:"btn btn-lg btn-dark ms-auto mt-4 w-100 d-flex btn-brand signInBtn",ref:"signInBtn"},nN={key:0,class:"d-flex w-100"},iN=ma(()=>g("i",{class:"ms-auto bi bi-chevron-right"},null,-1)),sN={key:1,class:"d-flex w-100 align-items-center"},rN=ma(()=>g("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},null,-1)),oN={key:3,class:"d-flex mt-3"},aN={class:"form-check form-switch ms-auto"},lN={class:"form-check-label",for:"flexSwitchCheckChecked"},cN={class:"text-muted pb-3 d-block w-100 text-center mt-3"},uN=ma(()=>g("a",{href:"https://github.com/donaldzou",target:"_blank"},[g("strong",null,"Donald Zou")],-1)),dN={class:"messageCentre text-body position-absolute end-0 m-3"};function hN(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("SignInInput"),l=Se("SignInTOTP"),c=Se("RemoteServerList"),u=Se("Message");return D(),V("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},[g("div",YO,[g("div",jO,[g("h4",KO,[B(o,{t:"Welcome to"})]),UO,s.loginError?(D(),V("div",GO,[B(o,{t:this.loginErrorMessage},null,8,["t"])])):ce("",!0),this.store.CrossServerConfiguration.Enable?(D(),Ce(c,{key:2})):(D(),V("form",{key:1,onSubmit:e[0]||(e[0]=d=>{d.preventDefault(),this.auth()})},[g("div",XO,[qO,B(a,{id:"username",data:this.data,type:"text",placeholder:"Username"},null,8,["data"])]),g("div",ZO,[JO,B(a,{id:"password",data:this.data,type:"password",placeholder:"Password"},null,8,["data"])]),i.totpEnabled?(D(),V("div",QO,[eN,B(l,{data:this.data},null,8,["data"])])):ce("",!0),g("button",tN,[this.loading?(D(),V("span",sN,[B(o,{t:"Signing In..."}),rN])):(D(),V("span",nN,[B(o,{t:"Sign In"}),iN]))],512)],32)),this.store.IsElectronApp?ce("",!0):(D(),V("div",oN,[g("div",aN,[Oe(g("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),[[Jn,this.store.CrossServerConfiguration.Enable]]),g("label",lN,[B(o,{t:"Access Remote Server"})])])]))])]),g("small",cN,[Ye(" WGDashboard "+xe(this.version)+" | Developed with ❤️ by ",1),uN]),g("div",dN,[B(jl,{name:"message",tag:"div",class:"position-relative"},{default:Re(()=>[(D(!0),V($e,null,Xe(r.getMessages.slice().reverse(),d=>(D(),Ce(u,{message:d,key:d.id},null,8,["message"]))),128))]),_:1})])],8,HO)}const fN=He(WO,[["render",hN],["__scopeId","data-v-2fa13e60"]]),gN={name:"configurationCard",components:{LocaleText:Qe},props:{c:{Name:String,Status:Boolean,PublicKey:String,PrivateKey:String}},data(){return{configurationToggling:!1}},setup(){return{dashboardConfigurationStore:nt()}},methods:{toggle(){this.configurationToggling=!0,Vt("/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})}}},pN={class:"card conf_card rounded-3 shadow text-decoration-none"},mN={class:"mb-0"},_N={class:"card-title mb-0"},yN=g("h6",{class:"mb-0 ms-auto"},[g("i",{class:"bi bi-chevron-right"})],-1),vN={class:"card-footer d-flex gap-2 flex-column"},bN={class:"row"},wN={class:"col-6 col-md-3"},xN=g("i",{class:"bi bi-arrow-down-up me-2"},null,-1),EN={class:"text-primary-emphasis col-6 col-md-3"},SN=g("i",{class:"bi bi-arrow-down me-2"},null,-1),CN={class:"text-success-emphasis col-6 col-md-3"},TN=g("i",{class:"bi bi-arrow-up me-2"},null,-1),kN={class:"text-md-end col-6 col-md-3"},AN={class:"d-flex align-items-center gap-2"},MN={class:"text-muted"},IN={style:{"word-break":"keep-all"}},PN={class:"mb-0 d-block d-lg-inline-block"},RN={style:{"line-break":"anywhere"}},DN={class:"form-check form-switch ms-auto"},$N=["for"],LN={key:4,class:"spinner-border spinner-border-sm ms-2","aria-hidden":"true"},ON=["disabled","id"];function NN(t,e,n,i,s,r){const o=Se("RouterLink"),a=Se("LocaleText");return D(),V("div",pN,[B(o,{to:"/configuration/"+n.c.Name+"/peers",class:"card-body d-flex align-items-center gap-3 flex-wrap text-decoration-none"},{default:Re(()=>[g("h6",mN,[g("span",{class:Me(["dot",{active:n.c.Status}])},null,2)]),g("h6",_N,[g("samp",null,xe(n.c.Name),1)]),yN]),_:1},8,["to"]),g("div",vN,[g("div",bN,[g("small",wN,[xN,Ye(xe(n.c.DataUsage.Total>0?n.c.DataUsage.Total.toFixed(4):0)+" GB ",1)]),g("small",EN,[SN,Ye(xe(n.c.DataUsage.Receive>0?n.c.DataUsage.Receive.toFixed(4):0)+" GB ",1)]),g("small",CN,[TN,Ye(xe(n.c.DataUsage.Sent>0?n.c.DataUsage.Sent.toFixed(4):0)+" GB ",1)]),g("small",kN,[g("span",{class:Me(["dot me-2",{active:n.c.ConnectedPeers>0}])},null,2),Ye(xe(n.c.ConnectedPeers)+" ",1),B(a,{t:"Peers"})])]),g("div",AN,[g("small",MN,[g("strong",IN,[B(a,{t:"Public Key"})])]),g("small",PN,[g("samp",RN,xe(n.c.PublicKey),1)]),g("div",DN,[g("label",{class:"form-check-label",style:{cursor:"pointer"},for:"switch"+n.c.PrivateKey},[!n.c.Status&&this.configurationToggling?(D(),Ce(a,{key:0,t:"Turning Off..."})):n.c.Status&&this.configurationToggling?(D(),Ce(a,{key:1,t:"Turning On..."})):n.c.Status&&!this.configurationToggling?(D(),Ce(a,{key:2,t:"On"})):!n.c.Status&&!this.configurationToggling?(D(),Ce(a,{key:3,t:"Off"})):ce("",!0),this.configurationToggling?(D(),V("span",LN)):ce("",!0)],8,$N),Oe(g("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,ON),[[Jn,n.c.Status]])])])])])}const FN=He(gN,[["render",NN]]),BN={name:"configurationList",components:{LocaleText:Qe,ConfigurationCard:FN},async setup(){return{wireguardConfigurationsStore:vi()}},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)}},SS=t=>(bn("data-v-106e7dee"),t=t(),wn(),t),VN={class:"mt-md-5 mt-3"},zN={class:"container-md"},WN={class:"d-flex mb-4 configurationListTitle"},HN={class:"text-body d-flex"},YN=SS(()=>g("i",{class:"bi bi-body-text me-2"},null,-1)),jN=SS(()=>g("i",{class:"bi bi-plus-circle-fill me-2"},null,-1)),KN={key:0},UN={key:0,class:"text-muted"},GN={key:1,class:"d-flex gap-3 flex-column mb-3"};function XN(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("RouterLink"),l=Se("ConfigurationCard");return D(),V("div",VN,[g("div",zN,[g("div",WN,[g("h3",HN,[YN,g("span",null,[B(o,{t:"WireGuard Configurations"})])]),B(a,{to:"/new_configuration",class:"btn btn-dark btn-brand rounded-3 px-3 py-2 shadow ms-auto rounded-3"},{default:Re(()=>[jN,B(o,{t:"Configuration"})]),_:1})]),B(Rt,{name:"fade",mode:"out-in"},{default:Re(()=>[this.configurationLoaded?(D(),V("div",KN,[this.wireguardConfigurationsStore.Configurations.length===0?(D(),V("p",UN,[B(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."})])):(D(),V("div",GN,[(D(!0),V($e,null,Xe(this.wireguardConfigurationsStore.Configurations,c=>(D(),Ce(l,{key:c.Name,c},null,8,["c"]))),128))]))])):ce("",!0)]),_:1})])])}const qN=He(BN,[["render",XN],["__scopeId","data-v-106e7dee"]]);let bd;const ZN=new Uint8Array(16);function JN(){if(!bd&&(bd=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!bd))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return bd(ZN)}const Dn=[];for(let t=0;t<256;++t)Dn.push((t+256).toString(16).slice(1));function QN(t,e=0){return Dn[t[e+0]]+Dn[t[e+1]]+Dn[t[e+2]]+Dn[t[e+3]]+"-"+Dn[t[e+4]]+Dn[t[e+5]]+"-"+Dn[t[e+6]]+Dn[t[e+7]]+"-"+Dn[t[e+8]]+Dn[t[e+9]]+"-"+Dn[t[e+10]]+Dn[t[e+11]]+Dn[t[e+12]]+Dn[t[e+13]]+Dn[t[e+14]]+Dn[t[e+15]]}const e3=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),db={randomUUID:e3};function Os(t,e,n){if(db.randomUUID&&!e&&!t)return db.randomUUID();t=t||{};const i=t.random||(t.rng||JN)();if(i[6]=i[6]&15|64,i[8]=i[8]&63|128,e){n=n||0;for(let s=0;s<16;++s)e[n+s]=i[s];return e}return QN(i)}const t3={components:{LocaleText:Qe},props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const t=nt(),e=`input_${Os()}`;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 kt("/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})}}},n3={class:"form-group mb-2"},i3=["for"],s3=["id","disabled"],r3={class:"invalid-feedback"},o3={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1"},a3=g("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1);function l3(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",n3,[g("label",{for:this.uuid,class:"text-muted mb-1"},[g("strong",null,[g("small",null,[B(o,{t:this.title},null,8,["t"])])])],8,i3),Oe(g("input",{type:"text",class:Me(["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,s3),[[Ke,this.value]]),g("div",r3,xe(this.invalidFeedback),1),n.warning?(D(),V("div",o3,[g("small",null,[a3,B(o,{t:n.warningText},null,8,["t"])])])):ce("",!0)])}const c3=He(t3,[["render",l3]]),u3=t=>{},d3={name:"accountSettingsInputUsername",components:{LocaleText:Qe},props:{targetData:String,title:String},setup(){const t=nt(),e=`input_${Os()}`;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 kt("/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}))}}},h3={class:"form-group mb-2"},f3=["for"],g3=["id","disabled"],p3={class:"invalid-feedback"};function m3(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",h3,[g("label",{for:this.uuid,class:"text-muted mb-1"},[g("strong",null,[g("small",null,[B(o,{t:this.title},null,8,["t"])])])],8,f3),Oe(g("input",{type:"text",class:Me(["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,g3),[[Ke,this.value]]),g("div",p3,xe(this.invalidFeedback),1)])}const _3=He(d3,[["render",m3]]),y3={name:"accountSettingsInputPassword",components:{LocaleText:Qe},props:{targetData:String,warning:!1,warningText:""},setup(){const t=nt(),e=`input_${Os()}`;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 kt("/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}}},v3={class:"d-flex flex-column"},b3={class:"row"},w3={class:"col-sm"},x3={class:"form-group mb-2"},E3=["for"],S3=["id"],C3={key:0,class:"invalid-feedback d-block"},T3={class:"col-sm"},k3={class:"form-group mb-2"},A3=["for"],M3=["id"],I3={class:"col-sm"},P3={class:"form-group mb-2"},R3=["for"],D3=["id"],$3=["disabled"],L3=g("i",{class:"bi bi-save2-fill me-2"},null,-1);function O3(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",v3,[g("div",b3,[g("div",w3,[g("div",x3,[g("label",{for:"currentPassword_"+this.uuid,class:"text-muted mb-1"},[g("strong",null,[g("small",null,[B(o,{t:"Current Password"})])])],8,E3),Oe(g("input",{type:"password",class:Me(["form-control mb-2",{"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,S3),[[Ke,this.value.currentPassword]]),s.showInvalidFeedback?(D(),V("div",C3,xe(this.invalidFeedback),1)):ce("",!0)])]),g("div",T3,[g("div",k3,[g("label",{for:"newPassword_"+this.uuid,class:"text-muted mb-1"},[g("strong",null,[g("small",null,[B(o,{t:"New Password"})])])],8,A3),Oe(g("input",{type:"password",class:Me(["form-control mb-2",{"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,M3),[[Ke,this.value.newPassword]])])]),g("div",I3,[g("div",P3,[g("label",{for:"repeatNewPassword_"+this.uuid,class:"text-muted mb-1"},[g("strong",null,[g("small",null,[B(o,{t:"Repeat New Password"})])])],8,R3),Oe(g("input",{type:"password",class:Me(["form-control mb-2",{"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,D3),[[Ke,this.value.repeatNewPassword]])])])]),g("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())},[L3,B(o,{t:"Update Password"})],8,$3)])}const N3=He(y3,[["render",O3]]),F3={name:"dashboardSettingsInputWireguardConfigurationPath",components:{LocaleText:Qe},props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const t=nt(),e=vi(),n=`input_${Os()}`;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 kt("/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}))}}},B3={class:"form-group"},V3=["for"],z3={class:"d-flex gap-2 align-items-start"},W3={class:"flex-grow-1"},H3=["id","disabled"],Y3={class:"invalid-feedback fw-bold"},j3=["disabled"],K3={key:0,class:"bi bi-save2-fill"},U3={key:1,class:"spinner-border spinner-border-sm"},G3={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"},X3=g("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1);function q3(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",B3,[g("label",{for:this.uuid,class:"text-muted mb-1"},[g("strong",null,[g("small",null,[B(o,{t:this.title},null,8,["t"])])])],8,V3),g("div",z3,[g("div",W3,[Oe(g("input",{type:"text",class:Me(["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,H3),[[Ke,this.value]]),g("div",Y3,xe(this.invalidFeedback),1)]),g("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?(D(),V("span",U3)):(D(),V("i",K3))],8,j3)]),n.warning?(D(),V("div",G3,[g("small",null,[X3,B(o,{t:n.warningText},null,8,["t"])])])):ce("",!0)])}const Z3=He(F3,[["render",q3]]),J3={name:"dashboardTheme",components:{LocaleText:Qe},setup(){return{dashboardConfigurationStore:nt()}},methods:{async switchTheme(t){await kt("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_theme",value:t},e=>{e.status&&(this.dashboardConfigurationStore.Configuration.Server.dashboard_theme=t)})}}},Q3={class:"card mb-4 shadow rounded-3"},eF={class:"card-header"},tF={class:"card-body d-flex gap-2"},nF=g("i",{class:"bi bi-sun-fill me-2"},null,-1),iF=g("i",{class:"bi bi-moon-fill me-2"},null,-1);function sF(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",Q3,[g("p",eF,[B(o,{t:"Dashboard Theme"})]),g("div",tF,[g("button",{class:Me(["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"))},[nF,B(o,{t:"Light"})],2),g("button",{class:Me(["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"))},[iF,B(o,{t:"Dark"})],2)])])}const rF=He(J3,[["render",sF]]),oF={name:"dashboardSettingsInputIPAddressAndPort",props:{},setup(){const t=nt(),e=`input_${Os()}`;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 kt("/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)})}}},aF={class:"invalid-feedback d-block mt-0"},lF={class:"row"},cF={class:"form-group mb-2 col-sm"},uF=["for"],dF=g("strong",null,[g("small",null,"Dashboard IP Address")],-1),hF=[dF],fF=["id"],gF=g("div",{class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block"},[g("small",null,[g("i",{class:"bi bi-exclamation-triangle-fill me-2"}),g("code",null,"0.0.0.0"),Ye(" means it can be access by anyone with your server IP Address.")])],-1),pF={class:"form-group col-sm"},mF=["for"],_F=g("strong",null,[g("small",null,"Dashboard Port")],-1),yF=[_F],vF=["id"],bF=g("button",{class:"btn btn-success btn-sm fw-bold rounded-3"},[g("i",{class:"bi bi-floppy-fill me-2"}),Ye("Update Dashboard Settings & Restart ")],-1);function wF(t,e,n,i,s,r){return D(),V("div",null,[g("div",aF,xe(this.invalidFeedback),1),g("div",lF,[g("div",cF,[g("label",{for:"app_ip_"+this.uuid,class:"text-muted mb-1"},hF,8,uF),Oe(g("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,fF),[[Ke,this.app_ip]]),gF]),g("div",pF,[g("label",{for:"app_port_"+this.uuid,class:"text-muted mb-1"},yF,8,mF),Oe(g("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,vF),[[Ke,this.app_port]])])]),bF])}const xF=He(oF,[["render",wF]]);function Ve(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 ss(t,e){const n=Ve(t);return isNaN(e)?yt(t,NaN):(e&&n.setDate(n.getDate()+e),n)}function us(t,e){const n=Ve(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 CS(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=Ve(t),u=i||n?us(c,i+n*12):c,d=r||s?ss(u,r+s*7):u,h=a+o*60,p=(l+h*60)*1e3;return yt(t,d.getTime()+p)}function EF(t,e){const n=+Ve(t);return yt(t,n+e)}const TS=6048e5,SF=864e5,CF=6e4,kS=36e5,TF=1e3;function kF(t,e){return EF(t,e*kS)}let AF={};function _a(){return AF}function fs(t,e){const n=_a(),i=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,s=Ve(t),r=s.getDay(),o=(r=s.getTime()?n+1:e.getTime()>=o.getTime()?n:n-1}function hb(t){const e=Ve(t);return e.setHours(0,0,0,0),e}function yh(t){const e=Ve(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 MS(t,e){const n=hb(t),i=hb(e),s=+n-yh(n),r=+i-yh(i);return Math.round((s-r)/SF)}function MF(t){const e=AS(t),n=yt(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),xl(n)}function IF(t,e){const n=e*3;return us(t,n)}function k_(t,e){return us(t,e*12)}function fb(t,e){const n=Ve(t),i=Ve(e),s=n.getTime()-i.getTime();return s<0?-1:s>0?1:s}function IS(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function zc(t){if(!IS(t)&&typeof t!="number")return!1;const e=Ve(t);return!isNaN(Number(e))}function gb(t){const e=Ve(t);return Math.trunc(e.getMonth()/3)+1}function PF(t,e){const n=Ve(t),i=Ve(e);return n.getFullYear()-i.getFullYear()}function RF(t,e){const n=Ve(t),i=Ve(e),s=fb(n,i),r=Math.abs(PF(n,i));n.setFullYear(1584),i.setFullYear(1584);const o=fb(n,i)===-s,a=s*(r-+o);return a===0?0:a}function PS(t,e){const n=Ve(t.start),i=Ve(t.end);let s=+n>+i;const r=s?+n:+i,o=s?i:n;o.setHours(0,0,0,0);let a=e?.step??1;if(!a)return[];a<0&&(a=-a,s=!s);const l=[];for(;+o<=r;)l.push(Ve(o)),o.setDate(o.getDate()+a),o.setHours(0,0,0,0);return s?l.reverse():l}function Ko(t){const e=Ve(t),n=e.getMonth(),i=n-n%3;return e.setMonth(i,1),e.setHours(0,0,0,0),e}function DF(t,e){const n=Ve(t.start),i=Ve(t.end);let s=+n>+i;const r=s?+Ko(n):+Ko(i);let o=Ko(s?i:n),a=e?.step??1;if(!a)return[];a<0&&(a=-a,s=!s);const l=[];for(;+o<=r;)l.push(Ve(o)),o=IF(o,a);return s?l.reverse():l}function $F(t){const e=Ve(t);return e.setDate(1),e.setHours(0,0,0,0),e}function RS(t){const e=Ve(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function ru(t){const e=Ve(t),n=yt(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function DS(t,e){const n=_a(),i=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,s=Ve(t),r=s.getDay(),o=(r{let i;const s=LF[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 Pg(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const NF={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},FF={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},BF={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},VF={date:Pg({formats:NF,defaultWidth:"full"}),time:Pg({formats:FF,defaultWidth:"full"}),dateTime:Pg({formats:BF,defaultWidth:"full"})},zF={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},WF=(t,e,n,i)=>zF[t];function ac(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 HF={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},YF={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},jF={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"]},KF={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"]},UF={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"}},GF={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"}},XF=(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"},qF={ordinalNumber:XF,era:ac({values:HF,defaultWidth:"wide"}),quarter:ac({values:YF,defaultWidth:"wide",argumentCallback:t=>t-1}),month:ac({values:jF,defaultWidth:"wide"}),day:ac({values:KF,defaultWidth:"wide"}),dayPeriod:ac({values:UF,defaultWidth:"wide",formattingValues:GF,defaultFormattingWidth:"wide"})};function lc(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)?JF(a,d=>d.test(o)):ZF(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 ZF(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function JF(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 e5=/^(\d+)(th|st|nd|rd)?/i,t5=/\d+/i,n5={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},i5={any:[/^b/i,/^(a|c)/i]},s5={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},r5={any:[/1/i,/2/i,/3/i,/4/i]},o5={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},a5={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]},l5={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},c5={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]},u5={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},d5={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}},h5={ordinalNumber:QF({matchPattern:e5,parsePattern:t5,valueCallback:t=>parseInt(t,10)}),era:lc({matchPatterns:n5,defaultMatchWidth:"wide",parsePatterns:i5,defaultParseWidth:"any"}),quarter:lc({matchPatterns:s5,defaultMatchWidth:"wide",parsePatterns:r5,defaultParseWidth:"any",valueCallback:t=>t+1}),month:lc({matchPatterns:o5,defaultMatchWidth:"wide",parsePatterns:a5,defaultParseWidth:"any"}),day:lc({matchPatterns:l5,defaultMatchWidth:"wide",parsePatterns:c5,defaultParseWidth:"any"}),dayPeriod:lc({matchPatterns:u5,defaultMatchWidth:"any",parsePatterns:d5,defaultParseWidth:"any"})},$S={code:"en-US",formatDistance:OF,formatLong:VF,formatRelative:WF,localize:qF,match:h5,options:{weekStartsOn:0,firstWeekContainsDate:1}};function f5(t){const e=Ve(t);return MS(e,ru(e))+1}function A_(t){const e=Ve(t),n=+xl(e)-+MF(e);return Math.round(n/TS)+1}function M_(t,e){const n=Ve(t),i=n.getFullYear(),s=_a(),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=fs(o,e),l=yt(t,0);l.setFullYear(i,0,r),l.setHours(0,0,0,0);const c=fs(l,e);return n.getTime()>=a.getTime()?i+1:n.getTime()>=c.getTime()?i:i-1}function g5(t,e){const n=_a(),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),fs(r,e)}function I_(t,e){const n=Ve(t),i=+fs(n,e)-+g5(n,e);return Math.round(i/TS)+1}function Et(t,e){const n=t<0?"-":"",i=Math.abs(t).toString().padStart(e,"0");return n+i}const Tr={y(t,e){const n=t.getFullYear(),i=n>0?n:1-n;return Et(e==="yy"?i%100:i,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):Et(n+1,2)},d(t,e){return Et(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 Et(t.getHours()%12||12,e.length)},H(t,e){return Et(t.getHours(),e.length)},m(t,e){return Et(t.getMinutes(),e.length)},s(t,e){return Et(t.getSeconds(),e.length)},S(t,e){const n=e.length,i=t.getMilliseconds(),s=Math.trunc(i*Math.pow(10,n-3));return Et(s,e.length)}},Pa={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},mb={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 Tr.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 Et(o,2)}return e==="Yo"?n.ordinalNumber(r,{unit:"year"}):Et(r,e.length)},R:function(t,e){const n=AS(t);return Et(n,e.length)},u:function(t,e){const n=t.getFullYear();return Et(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 Et(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 Et(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 Tr.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 Et(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"}):Et(s,e.length)},I:function(t,e,n){const i=A_(t);return e==="Io"?n.ordinalNumber(i,{unit:"week"}):Et(i,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):Tr.d(t,e)},D:function(t,e,n){const i=f5(t);return e==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):Et(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 Et(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 Et(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 Et(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=Pa.noon:i===0?s=Pa.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=Pa.evening:i>=12?s=Pa.afternoon:i>=4?s=Pa.morning:s=Pa.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 Tr.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):Tr.H(t,e)},K:function(t,e,n){const i=t.getHours()%12;return e==="Ko"?n.ordinalNumber(i,{unit:"hour"}):Et(i,e.length)},k:function(t,e,n){let i=t.getHours();return i===0&&(i=24),e==="ko"?n.ordinalNumber(i,{unit:"hour"}):Et(i,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):Tr.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):Tr.s(t,e)},S:function(t,e){return Tr.S(t,e)},X:function(t,e,n){const i=t.getTimezoneOffset();if(i===0)return"Z";switch(e){case"X":return yb(i);case"XXXX":case"XX":return Bo(i);case"XXXXX":case"XXX":default:return Bo(i,":")}},x:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"x":return yb(i);case"xxxx":case"xx":return Bo(i);case"xxxxx":case"xxx":default:return Bo(i,":")}},O:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+_b(i,":");case"OOOO":default:return"GMT"+Bo(i,":")}},z:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+_b(i,":");case"zzzz":default:return"GMT"+Bo(i,":")}},t:function(t,e,n){const i=Math.trunc(t.getTime()/1e3);return Et(i,e.length)},T:function(t,e,n){const i=t.getTime();return Et(i,e.length)}};function _b(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+Et(r,2)}function yb(t,e){return t%60===0?(t>0?"-":"+")+Et(Math.abs(t)/60,2):Bo(t,e)}function Bo(t,e=""){const n=t>0?"-":"+",i=Math.abs(t),s=Et(Math.trunc(i/60),2),r=Et(i%60,2);return n+s+e+r}const vb=(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"})}},LS=(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"})}},p5=(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],i=n[1],s=n[2];if(!s)return vb(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}}",vb(i,e)).replace("{{time}}",LS(s,e))},Zp={p:LS,P:p5},m5=/^D+$/,_5=/^Y+$/,y5=["D","DD","YY","YYYY"];function OS(t){return m5.test(t)}function NS(t){return _5.test(t)}function Jp(t,e,n){const i=v5(t,e,n);if(console.warn(i),y5.includes(t))throw new RangeError(i)}function v5(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 b5=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,w5=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,x5=/^'([^]*?)'?$/,E5=/''/g,S5=/[a-zA-Z]/;function Rs(t,e,n){const i=_a(),s=n?.locale??i.locale??$S,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=Ve(t);if(!zc(a))throw new RangeError("Invalid time value");let l=e.match(w5).map(u=>{const d=u[0];if(d==="p"||d==="P"){const h=Zp[d];return h(u,s.formatLong)}return u}).join("").match(b5).map(u=>{if(u==="''")return{isToken:!1,value:"'"};const d=u[0];if(d==="'")return{isToken:!1,value:C5(u)};if(mb[d])return{isToken:!0,value:u};if(d.match(S5))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&&NS(d)||!n?.useAdditionalDayOfYearTokens&&OS(d))&&Jp(d,e,String(t));const h=mb[d[0]];return h(a,d,s.localize,c)}).join("")}function C5(t){const e=t.match(x5);return e?e[1].replace(E5,"'"):t}function T5(t){return Ve(t).getDay()}function k5(t){const e=Ve(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 A5(){return Object.assign({},_a())}function pr(t){return Ve(t).getHours()}function M5(t){let n=Ve(t).getDay();return n===0&&(n=7),n}function oo(t){return Ve(t).getMinutes()}function at(t){return Ve(t).getMonth()}function El(t){return Ve(t).getSeconds()}function Ge(t){return Ve(t).getFullYear()}function Sl(t,e){const n=Ve(t),i=Ve(e);return n.getTime()>i.getTime()}function ou(t,e){const n=Ve(t),i=Ve(e);return+n<+i}function Za(t,e){const n=Ve(t),i=Ve(e);return+n==+i}function I5(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 P5=10;class FS{subPriority=0;validate(e,n){return!0}}class R5 extends FS{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 D5 extends FS{priority=P5;subPriority=-1;set(e,n){return n.timestampIsSet?e:yt(e,I5(e,Date))}}class bt{run(e,n,i,s){const r=this.parse(e,n,i,s);return r?{setter:new R5(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(e,n,i){return!0}}class $5 extends bt{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 sn={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}/},xs={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 rn(t,e){return t&&{value:e(t.value),rest:t.rest}}function jt(t,e){const n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function Es(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*kS+r*CF+o*TF),rest:e.slice(n[0].length)}}function BS(t){return jt(sn.anyDigitsSigned,t)}function en(t,e){switch(t){case 1:return jt(sn.singleDigit,e);case 2:return jt(sn.twoDigits,e);case 3:return jt(sn.threeDigits,e);case 4:return jt(sn.fourDigits,e);default:return jt(new RegExp("^\\d{1,"+t+"}"),e)}}function vh(t,e){switch(t){case 1:return jt(sn.singleDigitSigned,e);case 2:return jt(sn.twoDigitsSigned,e);case 3:return jt(sn.threeDigitsSigned,e);case 4:return jt(sn.fourDigitsSigned,e);default:return jt(new RegExp("^-?\\d{1,"+t+"}"),e)}}function P_(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 VS(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 zS(t){return t%400===0||t%4===0&&t%100!==0}class L5 extends bt{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 rn(en(4,e),s);case"yo":return rn(i.ordinalNumber(e,{unit:"year"}),s);default:return rn(en(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=VS(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 O5 extends bt{priority=130;parse(e,n,i){const s=r=>({year:r,isTwoDigitYear:n==="YY"});switch(n){case"Y":return rn(en(4,e),s);case"Yo":return rn(i.ordinalNumber(e,{unit:"year"}),s);default:return rn(en(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=VS(i.year,r);return e.setFullYear(a,0,s.firstWeekContainsDate),e.setHours(0,0,0,0),fs(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),fs(e,s)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}class N5 extends bt{priority=130;parse(e,n){return vh(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),xl(s)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class F5 extends bt{priority=130;parse(e,n){return vh(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 B5 extends bt{priority=120;parse(e,n,i){switch(n){case"Q":case"QQ":return en(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 V5 extends bt{priority=120;parse(e,n,i){switch(n){case"q":case"qq":return en(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 z5 extends bt{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 rn(jt(sn.month,e),s);case"MM":return rn(en(2,e),s);case"Mo":return rn(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 W5 extends bt{priority=110;parse(e,n,i){const s=r=>r-1;switch(n){case"L":return rn(jt(sn.month,e),s);case"LL":return rn(en(2,e),s);case"Lo":return rn(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 H5(t,e,n){const i=Ve(t),s=I_(i,n)-e;return i.setDate(i.getDate()-s*7),i}class Y5 extends bt{priority=100;parse(e,n,i){switch(n){case"w":return jt(sn.week,e);case"wo":return i.ordinalNumber(e,{unit:"week"});default:return en(n.length,e)}}validate(e,n){return n>=1&&n<=53}set(e,n,i,s){return fs(H5(e,i,s),s)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}function j5(t,e){const n=Ve(t),i=A_(n)-e;return n.setDate(n.getDate()-i*7),n}class K5 extends bt{priority=100;parse(e,n,i){switch(n){case"I":return jt(sn.week,e);case"Io":return i.ordinalNumber(e,{unit:"week"});default:return en(n.length,e)}}validate(e,n){return n>=1&&n<=53}set(e,n,i){return xl(j5(e,i))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}const U5=[31,28,31,30,31,30,31,31,30,31,30,31],G5=[31,29,31,30,31,30,31,31,30,31,30,31];class X5 extends bt{priority=90;subPriority=1;parse(e,n,i){switch(n){case"d":return jt(sn.date,e);case"do":return i.ordinalNumber(e,{unit:"date"});default:return en(n.length,e)}}validate(e,n){const i=e.getFullYear(),s=zS(i),r=e.getMonth();return s?n>=1&&n<=G5[r]:n>=1&&n<=U5[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 q5 extends bt{priority=90;subpriority=1;parse(e,n,i){switch(n){case"D":case"DD":return jt(sn.dayOfYear,e);case"Do":return i.ordinalNumber(e,{unit:"date"});default:return en(n.length,e)}}validate(e,n){const i=e.getFullYear();return zS(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=_a(),s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,r=Ve(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 ss(r,u)}class Z5 extends bt{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 J5 extends bt{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 rn(en(n.length,e),r);case"eo":return rn(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 Q5 extends bt{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 rn(en(n.length,e),r);case"co":return rn(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 eB(t,e){const n=Ve(t),i=M5(n),s=e-i;return ss(n,s)}class tB extends bt{priority=90;parse(e,n,i){const s=r=>r===0?7:r;switch(n){case"i":case"ii":return en(n.length,e);case"io":return i.ordinalNumber(e,{unit:"day"});case"iii":return rn(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 rn(i.day(e,{width:"narrow",context:"formatting"}),s);case"iiiiii":return rn(i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),s);case"iiii":default:return rn(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=eB(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 nB extends bt{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(P_(i),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]}class iB extends bt{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(P_(i),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]}class sB extends bt{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(P_(i),0,0,0),e}incompatibleTokens=["a","b","t","T"]}class rB extends bt{priority=70;parse(e,n,i){switch(n){case"h":return jt(sn.hour12h,e);case"ho":return i.ordinalNumber(e,{unit:"hour"});default:return en(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 oB extends bt{priority=70;parse(e,n,i){switch(n){case"H":return jt(sn.hour23h,e);case"Ho":return i.ordinalNumber(e,{unit:"hour"});default:return en(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 aB extends bt{priority=70;parse(e,n,i){switch(n){case"K":return jt(sn.hour11h,e);case"Ko":return i.ordinalNumber(e,{unit:"hour"});default:return en(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 lB extends bt{priority=70;parse(e,n,i){switch(n){case"k":return jt(sn.hour24h,e);case"ko":return i.ordinalNumber(e,{unit:"hour"});default:return en(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 cB extends bt{priority=60;parse(e,n,i){switch(n){case"m":return jt(sn.minute,e);case"mo":return i.ordinalNumber(e,{unit:"minute"});default:return en(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 uB extends bt{priority=50;parse(e,n,i){switch(n){case"s":return jt(sn.second,e);case"so":return i.ordinalNumber(e,{unit:"second"});default:return en(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 dB extends bt{priority=30;parse(e,n){const i=s=>Math.trunc(s*Math.pow(10,-n.length+3));return rn(en(n.length,e),i)}set(e,n,i){return e.setMilliseconds(i),e}incompatibleTokens=["t","T"]}class hB extends bt{priority=10;parse(e,n){switch(n){case"X":return Es(xs.basicOptionalMinutes,e);case"XX":return Es(xs.basic,e);case"XXXX":return Es(xs.basicOptionalSeconds,e);case"XXXXX":return Es(xs.extendedOptionalSeconds,e);case"XXX":default:return Es(xs.extended,e)}}set(e,n,i){return n.timestampIsSet?e:yt(e,e.getTime()-yh(e)-i)}incompatibleTokens=["t","T","x"]}class fB extends bt{priority=10;parse(e,n){switch(n){case"x":return Es(xs.basicOptionalMinutes,e);case"xx":return Es(xs.basic,e);case"xxxx":return Es(xs.basicOptionalSeconds,e);case"xxxxx":return Es(xs.extendedOptionalSeconds,e);case"xxx":default:return Es(xs.extended,e)}}set(e,n,i){return n.timestampIsSet?e:yt(e,e.getTime()-yh(e)-i)}incompatibleTokens=["t","T","X"]}class gB extends bt{priority=40;parse(e){return BS(e)}set(e,n,i){return[yt(e,i*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}class pB extends bt{priority=20;parse(e){return BS(e)}set(e,n,i){return[yt(e,i),{timestampIsSet:!0}]}incompatibleTokens="*"}const mB={G:new $5,y:new L5,Y:new O5,R:new N5,u:new F5,Q:new B5,q:new V5,M:new z5,L:new W5,w:new Y5,I:new K5,d:new X5,D:new q5,E:new Z5,e:new J5,c:new Q5,i:new tB,a:new nB,b:new iB,B:new sB,h:new rB,H:new oB,K:new aB,k:new lB,m:new cB,s:new uB,S:new dB,X:new hB,x:new fB,t:new gB,T:new pB},_B=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,yB=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,vB=/^'([^]*?)'?$/,bB=/''/g,wB=/\S/,xB=/[a-zA-Z]/;function Qp(t,e,n,i){const s=A5(),r=i?.locale??s.locale??$S,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===""?Ve(n):yt(n,NaN);const l={firstWeekContainsDate:o,weekStartsOn:a,locale:r},c=[new D5],u=e.match(yB).map(m=>{const y=m[0];if(y in Zp){const v=Zp[y];return v(m,r.formatLong)}return m}).join("").match(_B),d=[];for(let m of u){!i?.useAdditionalWeekYearTokens&&NS(m)&&Jp(m,e,t),!i?.useAdditionalDayOfYearTokens&&OS(m)&&Jp(m,e,t);const y=m[0],v=mB[y];if(v){const{incompatibleTokens:b}=v;if(Array.isArray(b)){const C=d.find(w=>b.includes(w.token)||w.token===y);if(C)throw new RangeError(`The format string mustn't contain \`${C.fullToken}\` and \`${m}\` at the same time`)}else if(v.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:y,fullToken:m});const E=v.run(t,m,r.match,l);if(!E)return yt(n,NaN);c.push(E.setter),t=E.rest}else{if(y.match(xB))throw new RangeError("Format string contains an unescaped latin alphabet character `"+y+"`");if(m==="''"?m="'":y==="'"&&(m=EB(m)),t.indexOf(m)===0)t=t.slice(m.length);else return yt(n,NaN)}}if(t.length>0&&wB.test(t))return yt(n,NaN);const h=c.map(m=>m.priority).sort((m,y)=>y-m).filter((m,y,v)=>v.indexOf(m)===y).map(m=>c.filter(y=>y.priority===m).sort((y,v)=>v.subPriority-y.subPriority)).map(m=>m[0]);let f=Ve(n);if(isNaN(f.getTime()))return yt(n,NaN);const p={};for(const m of h){if(!m.validate(f,l))return yt(n,NaN);const y=m.set(f,p,l);Array.isArray(y)?(f=y[0],Object.assign(p,y[1])):f=y}return yt(n,f)}function EB(t){return t.match(vB)[1].replace(bB,"'")}function bb(t,e){const n=Ko(t),i=Ko(e);return+n==+i}function SB(t,e){return ss(t,-e)}function WS(t,e){const n=Ve(t),i=n.getFullYear(),s=n.getDate(),r=yt(t,0);r.setFullYear(i,e,15),r.setHours(0,0,0,0);const o=k5(r);return n.setMonth(e,Math.min(s,o)),n}function It(t,e){let n=Ve(t);return isNaN(+n)?yt(t,NaN):(e.year!=null&&n.setFullYear(e.year),e.month!=null&&(n=WS(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 CB(t,e){const n=Ve(t);return n.setHours(e),n}function HS(t,e){const n=Ve(t);return n.setMilliseconds(e),n}function TB(t,e){const n=Ve(t);return n.setMinutes(e),n}function YS(t,e){const n=Ve(t);return n.setSeconds(e),n}function Ts(t,e){const n=Ve(t);return isNaN(+n)?yt(t,NaN):(n.setFullYear(e),n)}function Cl(t,e){return us(t,-e)}function kB(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=Cl(t,i+n*12),u=SB(c,r+s*7),d=a+o*60,f=(l+d*60)*1e3;return yt(t,u.getTime()-f)}function jS(t,e){return k_(t,-e)}function Ul(){const t=TR();return D(),V("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...t},[g("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"}),g("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"}),g("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"}),g("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"})])}Ul.compatConfig={MODE:3};function KS(){return D(),V("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[g("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"}),g("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"})])}KS.compatConfig={MODE:3};function D_(){return D(),V("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[g("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"})])}D_.compatConfig={MODE:3};function $_(){return D(),V("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[g("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"})])}$_.compatConfig={MODE:3};function L_(){return D(),V("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[g("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"}),g("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"})])}L_.compatConfig={MODE:3};function O_(){return D(),V("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[g("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"})])}O_.compatConfig={MODE:3};function N_(){return D(),V("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[g("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"})])}N_.compatConfig={MODE:3};const _i=(t,e)=>e?new Date(t.toLocaleString("en-US",{timeZone:e})):new Date(t),F_=(t,e,n)=>em(t,e,n)||Ee(),AB=(t,e,n)=>{const i=e.dateInTz?_i(new Date(t),e.dateInTz):Ee(t);return n?ni(i,!0):i},em=(t,e,n)=>{if(!t)return null;const i=n?ni(Ee(t),!0):Ee(t);return e?e.exactMatch?AB(t,e,n):_i(i,e.timezone):i},MB=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 es=(t=>(t.month="month",t.year="year",t))(es||{}),Vo=(t=>(t.top="top",t.bottom="bottom",t))(Vo||{}),ta=(t=>(t.header="header",t.calendar="calendar",t.timePicker="timePicker",t))(ta||{}),zn=(t=>(t.month="month",t.year="year",t.calendar="calendar",t.time="time",t.minutes="minutes",t.hours="hours",t.seconds="seconds",t))(zn||{});const IB=["timestamp","date","iso"];var Xn=(t=>(t.up="up",t.down="down",t.left="left",t.right="right",t))(Xn||{}),Lt=(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))(Lt||{});function wb(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 PB(t){return e=>Rs(_i(new Date(`2017-01-0${e}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:t})}const RB=(t,e,n)=>{const i=[1,2,3,4,5,6,7];let s;if(t!==null)try{s=i.map(PB(t))}catch{s=i.map(wb(e))}else s=i.map(wb(e));const r=s.slice(0,n),o=s.slice(n+1,s.length);return[s[n]].concat(...o).concat(...r)},B_=(t,e,n)=>{const i=[];for(let s=+t[0];s<=+t[1];s++)i.push({value:+s,text:qS(s,e)});return n?i.reverse():i},US=(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=Rs(_i(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}})},DB=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],mn=t=>{const e=Q(t);return e!=null&&e.$el?e?.$el:e},$B=t=>({type:"dot",...t??{}}),GS=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,V_={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,xb=t=>t===0?t:!t||isNaN(+t)?null:+t,Eb=t=>t===null,XS=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},LB=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?+tLB(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}}})),Qr=(t,e,n=!1)=>{t&&e.allowStopPropagation&&(n&&t.stopImmediatePropagation(),t.stopPropagation())},OB=()=>["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 NB(t,e){let n=[...document.querySelectorAll(OB())];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 tm=(t,e)=>t?.querySelector(`[data-dp-element="${e}"]`),qS=(t,e)=>new Intl.NumberFormat(e,{useGrouping:!1,style:"decimal"}).format(t),z_=t=>Rs(t,"dd-MM-yyyy"),Rg=t=>Array.isArray(t),bh=(t,e)=>e.get(z_(t)),FB=(t,e)=>t?e?e instanceof Map?!!bh(t,e):e(Ee(t)):!1:!0,Qn=(t,e,n=!1,i)=>{if(t.key===Lt.enter||t.key===Lt.space)return n&&t.preventDefault(),e();if(i)return i(t)},BB=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(t=>navigator.userAgent.includes(t))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,Sb=(t,e,n,i,s,r)=>{const o=Qp(t,e.slice(0,t.length),new Date,{locale:r});return zc(o)&&IS(o)?i||s?o:It(o,{hours:+n.hours,minutes:+n?.minutes,seconds:+n?.seconds,milliseconds:0}):null},VB=(t,e,n,i,s,r)=>{const o=Array.isArray(n)?n[0]:n;if(typeof e=="string")return Sb(t,e,o,i,s,r);if(Array.isArray(e)){let a=null;for(const l of e)if(a=Sb(t,l,o,i,s,r),a)break;return a}return typeof e=="function"?e(t):null},Ee=t=>t?new Date(t):new Date,zB=(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()},ni=(t,e)=>{const n=Ee(JSON.parse(JSON.stringify(t))),i=It(n,{hours:0,minutes:0,seconds:0,milliseconds:0});return e?$F(i):i},eo=(t,e,n,i)=>{let s=t?Ee(t):Ee();return(e||e===0)&&(s=CB(s,+e)),(n||n===0)&&(s=TB(s,+n)),(i||i===0)&&(s=YS(s,+i)),HS(s,0)},Xt=(t,e)=>!t||!e?!1:ou(ni(t),ni(e)),ct=(t,e)=>!t||!e?!1:Za(ni(t),ni(e)),nn=(t,e)=>!t||!e?!1:Sl(ni(t),ni(e)),mf=(t,e,n)=>t!=null&&t[0]&&t!=null&&t[1]?nn(n,t[0])&&Xt(n,t[1]):t!=null&&t[0]&&e?nn(n,t[0])&&Xt(n,e)||Xt(n,t[0])&&nn(n,e):!1,rs=t=>{const e=It(new Date(t),{date:1});return ni(e)},Dg=(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},na=t=>({hours:pr(t),minutes:oo(t),seconds:El(t)}),ZS=(t,e)=>{if(e){const n=Ge(Ee(e));if(n>t)return 12;if(n===t)return at(Ee(e))}},JS=(t,e)=>{if(e){const n=Ge(Ee(e));return n{if(t)return Ge(Ee(t))},QS=(t,e)=>{const n=nn(t,e)?e:t,i=nn(e,t)?e:t;return PS({start:n,end:i})},WB=t=>{const e=us(t,1);return{month:at(e),year:Ge(e)}},er=(t,e)=>{const n=fs(t,{weekStartsOn:+e}),i=DS(t,{weekStartsOn:+e});return[n,i]},eC=(t,e)=>{const n={hours:pr(Ee()),minutes:oo(Ee()),seconds:e?El(Ee()):0};return Object.assign(n,t)},Yr=(t,e,n)=>[It(Ee(t),{date:1}),It(Ee(),{month:e,year:n,date:1})],sr=(t,e,n)=>{let i=t?Ee(t):Ee();return(e||e===0)&&(i=WS(i,e)),n&&(i=Ts(i,n)),i},tC=(t,e,n,i,s)=>{if(!i||s&&!e||!s&&!n)return!1;const r=s?us(t,1):Cl(t,1),o=[at(r),Ge(r)];return s?!YB(...o,e):!HB(...o,n)},HB=(t,e,n)=>Xt(...Yr(n,t,e))||ct(...Yr(n,t,e)),YB=(t,e,n)=>nn(...Yr(n,t,e))||ct(...Yr(n,t,e)),nC=(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)?`${Rs(t[0],r,a)}${s&&!t[1]?"":i}${t[1]?Rs(t[1],r,a):""}`:Rs(t,r,a)},Ra=t=>{if(t)return null;throw new Error(V_.prop("partial-range"))},wd=(t,e)=>{if(e)return t();throw new Error(V_.prop("range"))},nm=t=>Array.isArray(t)?zc(t[0])&&(t[1]?zc(t[1]):!0):t?zc(t):!1,jB=(t,e)=>It(e??Ee(),{hours:+t.hours||0,minutes:+t.minutes||0,seconds:+t.seconds||0}),$g=(t,e,n,i)=>{if(!t)return!0;if(i){const s=n==="max"?ou(t,e):Sl(t,e),r={seconds:0,milliseconds:0};return s||Za(It(t,r),It(e,r))}return n==="max"?t.getTime()<=e.getTime():t.getTime()>=e.getTime()},Lg=(t,e,n)=>t?jB(t,e):Ee(n??e),Cb=(t,e,n,i,s)=>{if(Array.isArray(i)){const o=Lg(t,i[0],e),a=Lg(t,i[1],e);return $g(i[0],o,n,!!e)&&$g(i[1],a,n,!!e)&&s}const r=Lg(t,i,e);return $g(i,r,n,!!e)&&s},Og=t=>It(Ee(),na(t)),KB=(t,e)=>t instanceof Map?Array.from(t.values()).filter(n=>Ge(Ee(n))===e).map(n=>at(n)):[],iC=(t,e,n)=>typeof t=="function"?t({month:e,year:n}):!!t.months.find(i=>i.month===e&&i.year===n),W_=(t,e)=>typeof t=="function"?t(e):t.years.includes(e),sC=t=>Rs(t,"yyyy-MM-dd"),cc=Ns({menuFocused:!1,shiftKeyInMenu:!1}),rC=()=>{const t=n=>{cc.menuFocused=n},e=n=>{cc.shiftKeyInMenu!==n&&(cc.shiftKeyInMenu=n)};return{control:be(()=>({shiftKeyInMenu:cc.shiftKeyInMenu,menuFocused:cc.menuFocused})),setMenuFocused:t,setShiftKey:e}},$t=Ns({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),Ng=we(null),xd=we(!1),Fg=we(!1),Bg=we(!1),Vg=we(!1),Nn=we(0),tn=we(0),mo=()=>{const t=be(()=>xd.value?[...$t.selectionGrid,$t.actionRow].filter(d=>d.length):Fg.value?[...$t.timePicker[0],...$t.timePicker[1],Vg.value?[]:[Ng.value],$t.actionRow].filter(d=>d.length):Bg.value?[...$t.monthPicker,$t.actionRow]:[$t.monthYear,...$t.calendar,$t.time,$t.actionRow].filter(d=>d.length)),e=d=>{Nn.value=d?Nn.value+1:Nn.value-1;let h=null;t.value[tn.value]&&(h=t.value[tn.value][Nn.value]),!h&&t.value[tn.value+(d?1:-1)]?(tn.value=tn.value+(d?1:-1),Nn.value=d?0:t.value[tn.value].length-1):h||(Nn.value=d?Nn.value-1:Nn.value+1)},n=d=>{tn.value===0&&!d||tn.value===t.value.length&&d||(tn.value=d?tn.value+1:tn.value-1,t.value[tn.value]?t.value[tn.value]&&!t.value[tn.value][Nn.value]&&Nn.value!==0&&(Nn.value=t.value[tn.value].length-1):tn.value=d?tn.value-1:tn.value+1)},i=d=>{let h=null;t.value[tn.value]&&(h=t.value[tn.value][Nn.value]),h?h.focus({preventScroll:!xd.value}):Nn.value=d?Nn.value-1:Nn.value+1},s=()=>{e(!0),i(!0)},r=()=>{e(!1),i(!1)},o=()=>{n(!1),i(!0)},a=()=>{n(!0),i(!0)},l=(d,h)=>{$t[h]=d},c=(d,h)=>{$t[h]=d},u=()=>{Nn.value=0,tn.value=0};return{buildMatrix:l,buildMultiLevelMatrix:c,setTimePickerBackRef:d=>{Ng.value=d},setSelectionGrid:d=>{xd.value=d,u(),d||($t.selectionGrid=[])},setTimePicker:(d,h=!1)=>{Fg.value=d,Vg.value=h,u(),d||($t.timePicker[0]=[],$t.timePicker[1]=[])},setTimePickerElements:(d,h=0)=>{$t.timePicker[h]=d},arrowRight:s,arrowLeft:r,arrowUp:o,arrowDown:a,clearArrowNav:()=>{$t.monthYear=[],$t.calendar=[],$t.time=[],$t.actionRow=[],$t.selectionGrid=[],$t.timePicker[0]=[],$t.timePicker[1]=[],xd.value=!1,Fg.value=!1,Vg.value=!1,Bg.value=!1,u(),Ng.value=null},setMonthPicker:d=>{Bg.value=d,u()},refSets:$t}},Tb=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??{}}),UB=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??{}}),kb=t=>t?typeof t=="boolean"?t?2:0:+t>=2?+t:2:0,GB=t=>{const e=typeof t=="object"&&t,n={static:!0,solo:!1};if(!t)return{...n,count:kb(!1)};const i=e?t:{},s=e?i.count??!0:t,r=kb(s);return Object.assign(n,i,{count:r})},XB=(t,e,n)=>t||(typeof n=="string"?n:e),qB=t=>typeof t=="boolean"?t?Tb({}):!1:Tb(t),ZB=t=>{const e={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - "};return typeof t=="object"?{...e,...t??{},enabled:!0}:{...e,enabled:t}},JB=t=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...t??{}}),QB=t=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...t??{}}),e4=t=>{const e={input:!1};return typeof t=="object"?{...e,...t??{},enabled:!0}:{enabled:t,...e}},t4=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??{}}),n4=t=>{const e={dates:Array.isArray(t)?t.map(n=>Ee(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof t=="function"?t:{...e,...t??{}}},i4=t=>typeof t=="object"?{type:t?.type??"local",hideOnOffsetDates:t?.hideOnOffsetDates??!1}:{type:t,hideOnOffsetDates:!1},s4=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}},r4=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},zg=(t,e,n)=>new Map(t.map(i=>{const s=F_(i,e,n);return[z_(s),s]})),o4=(t,e)=>t.length?new Map(t.map(n=>{const i=F_(n.date,e);return[z_(i),n]})):null,a4=t=>{var e;return{minDate:em(t.minDate,t.timezone,t.isSpecific),maxDate:em(t.maxDate,t.timezone,t.isSpecific),disabledDates:Rg(t.disabledDates)?zg(t.disabledDates,t.timezone,t.isSpecific):t.disabledDates,allowedDates:Rg(t.allowedDates)?zg(t.allowedDates,t.timezone,t.isSpecific):null,highlight:typeof t.highlight=="object"&&Rg((e=t.highlight)==null?void 0:e.dates)?zg(t.highlight.dates,t.timezone):t.highlight,markers:o4(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},c4=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]}))}),Wt=t=>{const e=()=>{const x=t.enableSeconds?":ss":"",T=t.enableMinutes?":mm":"";return t.is24?`HH${T}${x}`:`hh${T}${x} aa`},n=()=>{var x;return t.format?t.format:t.monthPicker?"MM/yyyy":t.timePicker?e():t.weekPicker?`${((x=y.value)==null?void 0:x.type)==="iso"?"RR":"ww"}-yyyy`:t.yearPicker?"yyyy":t.quarterPicker?"QQQ/yyyy":t.enableTimePicker?`MM/dd/yyyy, ${e()}`:"MM/dd/yyyy"},i=x=>eC(x,t.enableSeconds),s=()=>C.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=be(()=>GB(t.multiCalendars)),o=be(()=>s()),a=be(()=>UB(t.ariaLabels)),l=be(()=>JB(t.filters)),c=be(()=>qB(t.transitions)),u=be(()=>QB(t.actionRow)),d=be(()=>XB(t.previewFormat,t.format,n())),h=be(()=>ZB(t.textInput)),f=be(()=>e4(t.inline)),p=be(()=>t4(t.config)),m=be(()=>n4(t.highlight)),y=be(()=>i4(t.weekNumbers)),v=be(()=>r4(t.timezone)),b=be(()=>l4(t.multiDates)),E=be(()=>a4({minDate:t.minDate,maxDate:t.maxDate,disabledDates:t.disabledDates,allowedDates:t.allowedDates,highlight:m.value,markers:t.markers,timezone:v.value,isSpecific:t.monthPicker||t.yearPicker||t.quarterPicker})),C=be(()=>s4(t.range)),w=be(()=>c4(t.ui));return{defaultedTransitions:c,defaultedMultiCalendars:r,defaultedStartTime:o,defaultedAriaLabels:a,defaultedFilters:l,defaultedActionRow:u,defaultedPreviewFormat:d,defaultedTextInput:h,defaultedInline:f,defaultedConfig:p,defaultedHighlight:m,defaultedWeekNumbers:y,defaultedRange:C,propDates:E,defaultedTz:v,defaultedMultiDates:b,defaultedUI:w,getDefaultPattern:n,getDefaultStartTime:s}},u4=(t,e,n)=>{const i=we(),{defaultedTextInput:s,defaultedRange:r,defaultedTz:o,defaultedMultiDates:a,getDefaultPattern:l}=Wt(e),c=we(""),u=Zc(e,"format"),d=Zc(e,"formatLocale");fn(i,()=>{typeof e.onInternalModelChange=="function"&&t("internal-model-change",i.value,le(!0))},{deep:!0}),fn(r,($,oe)=>{$.enabled!==oe.enabled&&(i.value=null)}),fn(u,()=>{X()});const h=$=>o.value.timezone&&o.value.convertModel?_i($,o.value.timezone):$,f=$=>{if(o.value.timezone&&o.value.convertModel){const oe=MB(o.value.timezone);return kF($,oe)}return $},p=($,oe,de=!1)=>nC($,e.format,e.formatLocale,s.value.rangeSeparator,e.modelAuto,oe??l(),de),m=$=>$?e.modelType?ne($):{hours:pr($),minutes:oo($),seconds:e.enableSeconds?El($):0}:null,y=$=>e.modelType?ne($):{month:at($),year:Ge($)},v=$=>Array.isArray($)?a.value.enabled?$.map(oe=>b(oe,Ts(Ee(),oe))):wd(()=>[Ts(Ee(),$[0]),$[1]?Ts(Ee(),$[1]):Ra(r.value.partialRange)],r.value.enabled):Ts(Ee(),+$),b=($,oe)=>(typeof $=="string"||typeof $=="number")&&e.modelType?J($):oe,E=$=>Array.isArray($)?[b($[0],eo(null,+$[0].hours,+$[0].minutes,$[0].seconds)),b($[1],eo(null,+$[1].hours,+$[1].minutes,$[1].seconds))]:b($,eo(null,$.hours,$.minutes,$.seconds)),C=$=>{const oe=It(Ee(),{date:1});return Array.isArray($)?a.value.enabled?$.map(de=>b(de,sr(oe,+de.month,+de.year))):wd(()=>[b($[0],sr(oe,+$[0].month,+$[0].year)),b($[1],$[1]?sr(oe,+$[1].month,+$[1].year):Ra(r.value.partialRange))],r.value.enabled):b($,sr(oe,+$.month,+$.year))},w=$=>{if(Array.isArray($))return $.map(oe=>J(oe));throw new Error(V_.dateArr("multi-dates"))},x=$=>{if(Array.isArray($)&&r.value.enabled){const oe=$[0],de=$[1];return[Ee(Array.isArray(oe)?oe[0]:null),Ee(Array.isArray(de)?de[0]:null)]}return Ee($[0])},T=$=>e.modelAuto?Array.isArray($)?[J($[0]),J($[1])]:e.autoApply?[J($)]:[J($),null]:Array.isArray($)?wd(()=>$[1]?[J($[0]),$[1]?J($[1]):Ra(r.value.partialRange)]:[J($[0])],r.value.enabled):J($),k=()=>{Array.isArray(i.value)&&r.value.enabled&&i.value.length===1&&i.value.push(Ra(r.value.partialRange))},A=()=>{const $=i.value;return[ne($[0]),$[1]?ne($[1]):Ra(r.value.partialRange)]},P=()=>i.value[1]?A():ne(Tn(i.value[0])),F=()=>(i.value||[]).map($=>ne($)),H=($=!1)=>($||k(),e.modelAuto?P():a.value.enabled?F():Array.isArray(i.value)?wd(()=>A(),r.value.enabled):ne(Tn(i.value))),te=$=>!$||Array.isArray($)&&!$.length?null:e.timePicker?E(Tn($)):e.monthPicker?C(Tn($)):e.yearPicker?v(Tn($)):a.value.enabled?w(Tn($)):e.weekPicker?x(Tn($)):T(Tn($)),N=$=>{const oe=te($);nm(Tn(oe))?(i.value=Tn(oe),X()):(i.value=null,c.value="")},L=()=>{const $=oe=>Rs(oe,s.value.format);return`${$(i.value[0])} ${s.value.rangeSeparator} ${i.value[1]?$(i.value[1]):""}`},I=()=>n.value&&i.value?Array.isArray(i.value)?L():Rs(i.value,s.value.format):p(i.value),W=()=>i.value?a.value.enabled?i.value.map($=>p($)).join("; "):s.value.enabled&&typeof s.value.format=="string"?I():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=$=>{if(e.utc){const oe=new Date($);return e.utc==="preserve"?new Date(oe.getTime()+oe.getTimezoneOffset()*6e4):oe}return e.modelType?IB.includes(e.modelType)?h(new Date($)):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?h(Qp($,l(),new Date,{locale:d.value})):h(Qp($,e.modelType,new Date,{locale:d.value})):h(new Date($))},ne=$=>$?e.utc?zB($,e.utc==="preserve",e.enableSeconds):e.modelType?e.modelType==="timestamp"?+f($):e.modelType==="iso"?f($).toISOString():e.modelType==="format"&&(typeof e.format=="string"||!e.format)?p(f($)):p(f($),e.modelType,!0):f($):"",ue=($,oe=!1,de=!1)=>{if(de)return $;if(t("update:model-value",$),o.value.emitTimezone&&oe){const ve=Array.isArray($)?$.map(z=>_i(Tn(z),o.value.emitTimezone)):_i(Tn($),o.value.emitTimezone);t("update:model-timezone-value",ve)}},Y=$=>Array.isArray(i.value)?a.value.enabled?i.value.map(oe=>$(oe)):[$(i.value[0]),i.value[1]?$(i.value[1]):Ra(r.value.partialRange)]:$(Tn(i.value)),Z=()=>{if(Array.isArray(i.value)){const $=er(i.value[0],e.weekStart),oe=i.value[1]?er(i.value[1],e.weekStart):[];return[$.map(de=>Ee(de)),oe.map(de=>Ee(de))]}return er(i.value,e.weekStart).map($=>Ee($))},M=($,oe)=>ue(Tn(Y($)),!1,oe),ie=$=>{const oe=Z();return $?oe:t("update:model-value",Z())},le=($=!1)=>($||X(),e.monthPicker?M(y,$):e.timePicker?M(m,$):e.yearPicker?M(Ge,$):e.weekPicker?ie($):ue(H($),!0,$));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:le}},d4=(t,e)=>{const{defaultedFilters:n,propDates:i}=Wt(t),{validateMonthYearInRange:s}=_o(t),r=(u,d)=>{let h=u;return n.value.months.includes(at(h))?(h=d?us(u,1):Cl(u,1),r(h,d)):h},o=(u,d)=>{let h=u;return n.value.years.includes(Ge(h))?(h=d?k_(u,1):jS(u,1),o(h,d)):h},a=(u,d=!1)=>{const h=It(Ee(),{month:t.month,year:t.year});let f=u?us(h,1):Cl(h,1);t.disableYearSelect&&(f=Ts(f,t.year));let p=at(f),m=Ge(f);n.value.months.includes(p)&&(f=r(f,u),p=at(f),m=Ge(f)),n.value.years.includes(m)&&(f=o(f,u),m=Ge(f)),s(p,m,u,t.preventMinMaxNavigation)&&l(p,m,d)},l=(u,d,h)=>{e("update-month-year",{month:u,year:d,fromNav:h})},c=be(()=>u=>tC(It(Ee(),{month:t.month,year:t.year}),i.value.maxDate,i.value.minDate,t.preventMinMaxNavigation,u));return{handleMonthYearChange:a,isDisabled:c,updateMonthYear:l}},_f={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:()=>({})}},ps={..._f,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}},h4=["title"],f4=["disabled"],g4=cn({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...ps},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,getDefaultPattern:d}=Wt(i),{isTimeValid:h,isMonthValid:f}=_o(i),{buildMatrix:p}=mo(),m=we(null),y=we(null),v=we(!1),b=we({}),E=we(null),C=we(null);xn(()=>{i.arrowNavigation&&p([mn(m),mn(y)],"actionRow"),w(),window.addEventListener("resize",w)}),Yl(()=>{window.removeEventListener("resize",w)});const w=()=>{v.value=!1,setTimeout(()=>{var L,I;const W=(L=E.value)==null?void 0:L.getBoundingClientRect(),X=(I=C.value)==null?void 0:I.getBoundingClientRect();W&&X&&(b.value.maxWidth=`${X.width-W.width-20}px`),v.value=!0},0)},x=be(()=>c.value.enabled&&!c.value.partialRange&&i.internalModelValue?i.internalModelValue.length===2:!0),T=be(()=>!h.value(i.internalModelValue)||!f.value(i.internalModelValue)||!x.value),k=()=>{const L=r.value;return i.timePicker||i.monthPicker,L(Tn(i.internalModelValue))},A=()=>{const L=i.internalModelValue;return o.value.count>0?`${P(L[0])} - ${P(L[1])}`:[P(L[0]),P(L[1])]},P=L=>nC(L,r.value,i.formatLocale,a.value.rangeSeparator,i.modelAuto,d()),F=be(()=>!i.internalModelValue||!i.menuMount?"":typeof r.value=="string"?Array.isArray(i.internalModelValue)?i.internalModelValue.length===2&&i.internalModelValue[1]?A():u.value.enabled?i.internalModelValue.map(L=>`${P(L)}`):i.modelAuto?`${P(i.internalModelValue[0])}`:`${P(i.internalModelValue[0])} -`:P(i.internalModelValue):k()),H=()=>u.value.enabled?"; ":" - ",te=be(()=>Array.isArray(F.value)?F.value.join(H()):F.value),N=()=>{h.value(i.internalModelValue)&&f.value(i.internalModelValue)&&x.value?n("select-date"):n("invalid-select")};return(L,I)=>(D(),V("div",{ref_key:"actionRowRef",ref:C,class:"dp__action_row"},[L.$slots["action-row"]?Ne(L.$slots,"action-row",In(yn({key:0},{internalModelValue:L.internalModelValue,disabled:T.value,selectDate:()=>L.$emit("select-date"),closePicker:()=>L.$emit("close-picker")}))):(D(),V($e,{key:1},[Q(s).showPreview?(D(),V("div",{key:0,class:"dp__selection_preview",title:te.value,style:Mn(b.value)},[L.$slots["action-preview"]&&v.value?Ne(L.$slots,"action-preview",{key:0,value:L.internalModelValue}):ce("",!0),!L.$slots["action-preview"]&&v.value?(D(),V($e,{key:1},[Ye(xe(te.value),1)],64)):ce("",!0)],12,h4)):ce("",!0),g("div",{ref_key:"actionBtnContainer",ref:E,class:"dp__action_buttons","data-dp-element":"action-row"},[L.$slots["action-buttons"]?Ne(L.$slots,"action-buttons",{key:0,value:L.internalModelValue}):ce("",!0),L.$slots["action-buttons"]?ce("",!0):(D(),V($e,{key:1},[!Q(l).enabled&&Q(s).showCancel?(D(),V("button",{key:0,ref_key:"cancelButtonRef",ref:m,type:"button",class:"dp__action_button dp__action_cancel",onClick:I[0]||(I[0]=W=>L.$emit("close-picker")),onKeydown:I[1]||(I[1]=W=>Q(Qn)(W,()=>L.$emit("close-picker")))},xe(L.cancelText),545)):ce("",!0),Q(s).showNow?(D(),V("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:I[2]||(I[2]=W=>L.$emit("select-now")),onKeydown:I[3]||(I[3]=W=>Q(Qn)(W,()=>L.$emit("select-now")))},xe(L.nowButtonLabel),33)):ce("",!0),Q(s).showSelect?(D(),V("button",{key:2,ref_key:"selectButtonRef",ref:y,type:"button",class:"dp__action_button dp__action_select",disabled:T.value,"data-test":"select-button",onKeydown:I[4]||(I[4]=W=>Q(Qn)(W,()=>N())),onClick:N},xe(L.selectText),41,f4)):ce("",!0)],64))],512)],64))],512))}}),p4=["role","aria-label","tabindex"],m4={class:"dp__selection_grid_header"},_4=["aria-selected","aria-disabled","data-test","onClick","onKeydown","onMouseover"],y4=["aria-label"],Ou=cn({__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}=mo(),o=n,a=t,{defaultedAriaLabels:l,defaultedTextInput:c,defaultedConfig:u}=Wt(a),{hideNavigationButtons:d}=bf(),h=we(!1),f=we(null),p=we(null),m=we([]),y=we(),v=we(null),b=we(0),E=we(null);gE(()=>{f.value=null}),xn(()=>{Rn().then(()=>F()),a.noOverlayFocus||w(),C(!0)}),Yl(()=>C(!1));const C=Y=>{var Z;a.arrowNavigation&&((Z=a.headerRefs)!=null&&Z.length?r(Y):i(Y))},w=()=>{var Y;const Z=mn(p);Z&&(c.value.enabled||(f.value?(Y=f.value)==null||Y.focus({preventScroll:!0}):Z.focus({preventScroll:!0})),h.value=Z.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!a.useRelative,"dp--overlay-relative":a.useRelative})),T=be(()=>a.useRelative?{height:`${a.height}px`,width:"260px"}:void 0),k=be(()=>({dp__overlay_col:!0})),A=be(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:h.value,dp__button_bottom:a.isLast})),P=be(()=>{var Y,Z;return{dp__overlay_container:!0,dp__container_flex:((Y=a.items)==null?void 0:Y.length)<=6,dp__container_block:((Z=a.items)==null?void 0:Z.length)>6}});fn(()=>a.items,()=>F(!1),{deep:!0});const F=(Y=!0)=>{Rn().then(()=>{const Z=mn(f),M=mn(p),ie=mn(v),le=mn(E),$=ie?ie.getBoundingClientRect().height:0;M&&(M.getBoundingClientRect().height?b.value=M.getBoundingClientRect().height-$:b.value=u.value.modeHeight-$),Z&&le&&Y&&(le.scrollTop=Z.offsetTop-le.offsetTop-(b.value/2-Z.getBoundingClientRect().height)-$)})},H=Y=>{Y.disabled||o("selected",Y.value)},te=()=>{o("toggle"),o("reset-flow")},N=()=>{a.escClose&&te()},L=(Y,Z,M,ie)=>{Y&&((Z.active||Z.value===a.focusValue)&&(f.value=Y),a.arrowNavigation&&(Array.isArray(m.value[M])?m.value[M][ie]=Y:m.value[M]=[Y],I()))},I=()=>{var Y,Z;const M=(Y=a.headerRefs)!=null&&Y.length?[a.headerRefs].concat(m.value):m.value.concat([a.skipButtonRef?[]:[v.value]]);s(Tn(M),(Z=a.headerRefs)!=null&&Z.length?"monthPicker":"selectionGrid")},W=Y=>{a.arrowNavigation||Qr(Y,u.value,!0)},X=Y=>{y.value=Y,o("hover-value",Y)},J=()=>{if(te(),!a.isLast){const Y=tm(a.menuWrapRef??null,"action-row");if(Y){const Z=XS(Y);Z?.focus()}}},ne=Y=>{switch(Y.key){case Lt.esc:return N();case Lt.arrowLeft:return W(Y);case Lt.arrowRight:return W(Y);case Lt.arrowUp:return W(Y);case Lt.arrowDown:return W(Y);default:return}},ue=Y=>{if(Y.key===Lt.enter)return te();if(Y.key===Lt.tab)return J()};return e({focusGrid:w}),(Y,Z)=>{var M;return D(),V("div",{ref_key:"gridWrapRef",ref:p,class:Me(x.value),style:Mn(T.value),role:Y.useRelative?void 0:"dialog","aria-label":Y.overlayLabel,tabindex:Y.useRelative?void 0:"0",onKeydown:ne,onClick:Z[0]||(Z[0]=iu(()=>{},["prevent"]))},[g("div",{ref_key:"containerRef",ref:E,class:Me(P.value),style:Mn({"--dp-overlay-height":`${b.value}px`}),role:"grid"},[g("div",m4,[Ne(Y.$slots,"header")]),Y.$slots.overlay?Ne(Y.$slots,"overlay",{key:0}):(D(!0),V($e,{key:1},Xe(Y.items,(ie,le)=>(D(),V("div",{key:le,class:Me(["dp__overlay_row",{dp__flex_row:Y.items.length>=3}]),role:"row"},[(D(!0),V($e,null,Xe(ie,($,oe)=>(D(),V("div",{key:$.value,ref_for:!0,ref:de=>L(de,$,le,oe),role:"gridcell",class:Me(k.value),"aria-selected":$.active||void 0,"aria-disabled":$.disabled||void 0,tabindex:"0","data-test":$.text,onClick:iu(de=>H($),["prevent"]),onKeydown:de=>Q(Qn)(de,()=>H($),!0),onMouseover:de=>X($.value)},[g("div",{class:Me($.className)},[Y.$slots.item?Ne(Y.$slots,"item",{key:0,item:$}):ce("",!0),Y.$slots.item?ce("",!0):(D(),V($e,{key:1},[Ye(xe($.text),1)],64))],2)],42,_4))),128))],2))),128))],6),Y.$slots["button-icon"]?Oe((D(),V("button",{key:0,ref_key:"toggleButton",ref:v,type:"button","aria-label":(M=Q(l))==null?void 0:M.toggleOverlay,class:Me(A.value),tabindex:"0",onClick:te,onKeydown:ue},[Ne(Y.$slots,"button-icon")],42,y4)),[[th,!Q(d)(Y.hideNavigation,Y.type)]]):ce("",!0)],46,p4)}}}),yf=cn({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(t){const e=t,n=be(()=>e.multiCalendars>0?[...Array(e.multiCalendars).keys()]:[0]),i=be(()=>({dp__instance_calendar:e.multiCalendars>0}));return(s,r)=>(D(),V("div",{class:Me({dp__menu_inner:!s.stretch,"dp--menu--inner-stretched":s.stretch,dp__flex_display:s.multiCalendars>0,"dp--flex-display-collapsed":s.collapse})},[(D(!0),V($e,null,Xe(n.value,(o,a)=>(D(),V("div",{key:o,class:Me(i.value)},[Ne(s.$slots,"default",{instance:o,index:a})],2))),128))],2))}}),v4=["data-dp-element","aria-label","aria-disabled"],Wc=cn({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(t,{emit:e}){const n=e,i=we(null);return xn(()=>n("set-ref",i)),(s,r)=>(D(),V("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=>Q(Qn)(o,()=>s.$emit("activate"),!0))},[g("span",{class:Me(["dp__inner_nav",{dp__inner_nav_disabled:s.disabled}])},[Ne(s.$slots,"default")],2)],40,v4))}}),b4=["aria-label","data-test"],oC=cn({__name:"YearModePicker",props:{...ps,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}=bf(),{defaultedConfig:o,defaultedMultiCalendars:a,defaultedAriaLabels:l,defaultedTransitions:c,defaultedUI:u}=Wt(i),{showTransition:d,transitionName:h}=Nu(c),f=we(!1),p=(v=!1,b)=>{f.value=!f.value,n("toggle-year-picker",{flow:v,show:b})},m=v=>{f.value=!1,n("year-select",v)},y=(v=!1)=>{n("handle-year",v)};return(v,b)=>{var E,C,w,x,T;return D(),V($e,null,[g("div",{class:Me(["dp--year-mode-picker",{"dp--hidden-el":f.value}])},[Q(r)(Q(a),t.instance)?(D(),Ce(Wc,{key:0,ref:"mpPrevIconRef","aria-label":(E=Q(l))==null?void 0:E.prevYear,disabled:t.isDisabled(!1),class:Me((C=Q(u))==null?void 0:C.navBtnPrev),onActivate:b[0]||(b[0]=k=>y(!1))},{default:Re(()=>[v.$slots["arrow-left"]?Ne(v.$slots,"arrow-left",{key:0}):ce("",!0),v.$slots["arrow-left"]?ce("",!0):(D(),Ce(Q(D_),{key:1}))]),_:3},8,["aria-label","disabled","class"])):ce("",!0),g("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${t.year}-${(w=Q(l))==null?void 0:w.openYearsOverlay}`,"data-test":`year-mode-btn-${t.instance}`,onClick:b[1]||(b[1]=()=>p(!1)),onKeydown:b[2]||(b[2]=eS(()=>p(!1),["enter"]))},[v.$slots.year?Ne(v.$slots,"year",{key:0,year:t.year}):ce("",!0),v.$slots.year?ce("",!0):(D(),V($e,{key:1},[Ye(xe(t.year),1)],64))],40,b4),Q(s)(Q(a),t.instance)?(D(),Ce(Wc,{key:1,ref:"mpNextIconRef","aria-label":(x=Q(l))==null?void 0:x.nextYear,disabled:t.isDisabled(!0),class:Me((T=Q(u))==null?void 0:T.navBtnNext),onActivate:b[3]||(b[3]=k=>y(!0))},{default:Re(()=>[v.$slots["arrow-right"]?Ne(v.$slots,"arrow-right",{key:0}):ce("",!0),v.$slots["arrow-right"]?ce("",!0):(D(),Ce(Q($_),{key:1}))]),_:3},8,["aria-label","disabled","class"])):ce("",!0)],2),B(Rt,{name:Q(h)(t.showYearPicker),css:Q(d)},{default:Re(()=>{var k,A;return[t.showYearPicker?(D(),Ce(Ou,{key:0,items:t.items,"text-input":v.textInput,"esc-close":v.escClose,config:v.config,"is-last":v.autoApply&&!Q(o).keepActionRow,"hide-navigation":v.hideNavigation,"aria-labels":v.ariaLabels,"overlay-label":(A=(k=Q(l))==null?void 0:k.yearPicker)==null?void 0:A.call(k,!0),type:"year",onToggle:p,onSelected:b[4]||(b[4]=P=>m(P))},jn({"button-icon":Re(()=>[v.$slots["calendar-icon"]?Ne(v.$slots,"calendar-icon",{key:0}):ce("",!0),v.$slots["calendar-icon"]?ce("",!0):(D(),Ce(Q(Ul),{key:1}))]),_:2},[v.$slots["year-overlay-value"]?{name:"item",fn:Re(({item:P})=>[Ne(v.$slots,"year-overlay-value",{text:P.text,value:P.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):ce("",!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]},Y_=(t,e,n)=>{let i=t.value?t.value.slice():[];return i.length===2&&i[1]!==null&&(i=[]),i.length?Xt(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},vf=(t,e,n,i)=>{t&&(t[0]&&t[1]&&n&&e("auto-apply"),t[0]&&!t[1]&&i&&n&&e("auto-apply"))},aC=t=>{Array.isArray(t.value)&&t.value.length<=2&&t.range?t.modelValue.value=t.value.map(e=>_i(Ee(e),t.timezone)):Array.isArray(t.value)||(t.modelValue.value=_i(Ee(t.value),t.timezone))},lC=(t,e,n,i)=>Array.isArray(e.value)&&(e.value.length===2||e.value.length===1&&i.value.partialRange)?i.value.fixedStart&&(nn(t,e.value[0])||ct(t,e.value[0]))?[e.value[0],t]:i.value.fixedEnd&&(Xt(t,e.value[1])||ct(t,e.value[1]))?[t,e.value[1]]:(n("invalid-fixed-range",t),e.value):[],cC=({multiCalendars:t,range:e,highlight:n,propDates:i,calendars:s,modelValue:r,props:o,filters:a,year:l,month:c,emit:u})=>{const d=be(()=>B_(o.yearRange,o.locale,o.reverseYears)),h=we([!1]),f=be(()=>(P,F)=>{const H=It(rs(new Date),{month:c.value(P),year:l.value(P)}),te=F?RS(H):ru(H);return tC(te,i.value.maxDate,i.value.minDate,o.preventMinMaxNavigation,F)}),p=()=>Array.isArray(r.value)&&t.value.solo&&r.value[1],m=()=>{for(let P=0;P{if(!P)return m();const F=It(Ee(),s.value[P]);return s.value[0].year=Ge(jS(F,t.value.count-1)),m()},v=(P,F)=>{const H=RF(F,P);return e.value.showLastInRange&&H>1?F:P},b=P=>o.focusStartDate||t.value.solo?P[0]:P[1]?v(P[0],P[1]):P[0],E=()=>{if(r.value){const P=Array.isArray(r.value)?b(r.value):r.value;s.value[0]={month:at(P),year:Ge(P)}}},C=()=>{E(),t.value.count&&m()};fn(r,(P,F)=>{o.isTextInputDate&&JSON.stringify(P??{})!==JSON.stringify(F??{})&&C()}),xn(()=>{C()});const w=(P,F)=>{s.value[F].year=P,u("update-month-year",{instance:F,year:P,month:s.value[F].month}),t.value.count&&!t.value.solo&&y(F)},x=be(()=>P=>Tl(d.value,F=>{var H;const te=l.value(P)===F.value,N=au(F.value,kl(i.value.minDate),kl(i.value.maxDate))||((H=a.value.years)==null?void 0:H.includes(l.value(P))),L=W_(n.value,F.value);return{active:te,disabled:N,highlighted:L}})),T=(P,F)=>{w(P,F),A(F)},k=(P,F=!1)=>{if(!f.value(P,F)){const H=F?l.value(P)+1:l.value(P)-1;w(H,P)}},A=(P,F=!1,H)=>{F||u("reset-flow"),H!==void 0?h.value[P]=H:h.value[P]=!h.value[P],h.value[P]?u("overlay-toggle",{open:!0,overlay:zn.year}):(u("overlay-closed"),u("overlay-toggle",{open:!1,overlay:zn.year}))};return{isDisabled:f,groupedYears:x,showYearPicker:h,selectYear:w,toggleYearPicker:A,handleYearSelect:T,handleYear:k}},w4=(t,e)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:i,defaultedTransitions:s,defaultedConfig:r,defaultedRange:o,defaultedHighlight:a,propDates:l,defaultedTz:c,defaultedFilters:u,defaultedMultiDates:d}=Wt(t),h=()=>{t.isTextInputDate&&C(Ge(Ee(t.startDate)),0)},{modelValue:f,year:p,month:m,calendars:y}=Fu(t,e,h),v=be(()=>US(t.formatLocale,t.locale,t.monthNameFormat)),b=we(null),{checkMinMaxRange:E}=_o(t),{selectYear:C,groupedYears:w,showYearPicker:x,toggleYearPicker:T,handleYearSelect:k,handleYear:A,isDisabled:P}=cC({modelValue:f,multiCalendars:n,range:o,highlight:a,calendars:y,year:p,propDates:l,month:m,filters:u,props:t,emit:e});xn(()=>{t.startDate&&(f.value&&t.focusStartDate||!f.value)&&C(Ge(Ee(t.startDate)),0)});const F=M=>M?{month:at(M),year:Ge(M)}:{month:null,year:null},H=()=>f.value?Array.isArray(f.value)?f.value.map(M=>F(M)):F(f.value):F(),te=(M,ie)=>{const le=y.value[M],$=H();return Array.isArray($)?$.some(oe=>oe.year===le?.year&&oe.month===ie):le?.year===$.year&&ie===$.month},N=(M,ie,le)=>{var $,oe;const de=H();return Array.isArray(de)?p.value(ie)===(($=de[le])==null?void 0:$.year)&&M===((oe=de[le])==null?void 0:oe.month):!1},L=(M,ie)=>{if(o.value.enabled){const le=H();if(Array.isArray(f.value)&&Array.isArray(le)){const $=N(M,ie,0)||N(M,ie,1),oe=sr(rs(Ee()),M,p.value(ie));return mf(f.value,b.value,oe)&&!$}return!1}return!1},I=be(()=>M=>Tl(v.value,ie=>{var le;const $=te(M,ie.value),oe=au(ie.value,ZS(p.value(M),l.value.minDate),JS(p.value(M),l.value.maxDate))||KB(l.value.disabledDates,p.value(M)).includes(ie.value)||((le=u.value.months)==null?void 0:le.includes(ie.value)),de=L(ie.value,M),ve=iC(a.value,ie.value,p.value(M));return{active:$,disabled:oe,isBetween:de,highlighted:ve}})),W=(M,ie)=>sr(rs(Ee()),M,p.value(ie)),X=(M,ie)=>{const le=f.value?f.value:rs(new Date);f.value=sr(le,M,p.value(ie)),e("auto-apply"),e("update-flow-step")},J=(M,ie)=>{const le=W(M,ie);o.value.fixedEnd||o.value.fixedStart?f.value=lC(le,f,e,o):f.value?E(le,f.value)&&(f.value=Y_(f,W(M,ie),e)):f.value=[W(M,ie)],Rn().then(()=>{vf(f.value,e,t.autoApply,t.modelAuto)})},ne=(M,ie)=>{H_(W(M,ie),f,d.value.limit),e("auto-apply",!0)},ue=(M,ie)=>(y.value[ie].month=M,Z(ie,y.value[ie].year,M),d.value.enabled?ne(M,ie):o.value.enabled?J(M,ie):X(M,ie)),Y=(M,ie)=>{C(M,ie),Z(ie,M,null)},Z=(M,ie,le)=>{let $=le;if(!$&&$!==0){const oe=H();$=Array.isArray(oe)?oe[M].month:oe.month}e("update-month-year",{instance:M,year:ie,month:$})};return{groupedMonths:I,groupedYears:w,year:p,isDisabled:P,defaultedMultiCalendars:n,defaultedAriaLabels:i,defaultedTransitions:s,defaultedConfig:r,showYearPicker:x,modelValue:f,presetDate:(M,ie)=>{aC({value:M,modelValue:f,range:o.value.enabled,timezone:ie?void 0:c.value.timezone}),e("auto-apply")},setHoverDate:(M,ie)=>{b.value=W(M,ie)},selectMonth:ue,selectYear:Y,toggleYearPicker:T,handleYearSelect:k,handleYear:A,getModelMonthYear:H}},x4=cn({compatConfig:{MODE:3},__name:"MonthPicker",props:{...ps},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=pa(),r=ki(s,"yearMode"),o=t;xn(()=>{o.shadow||i("mount",null)});const{groupedMonths:a,groupedYears:l,year:c,isDisabled:u,defaultedMultiCalendars:d,defaultedConfig:h,showYearPicker:f,modelValue:p,presetDate:m,setHoverDate:y,selectMonth:v,selectYear:b,toggleYearPicker:E,handleYearSelect:C,handleYear:w,getModelMonthYear:x}=w4(o,i);return e({getSidebarProps:()=>({modelValue:p,year:c,getModelMonthYear:x,selectMonth:v,selectYear:b,handleYear:w}),presetDate:m,toggleYearPicker:T=>E(0,T)}),(T,k)=>(D(),Ce(yf,{"multi-calendars":Q(d).count,collapse:T.collapse,stretch:""},{default:Re(({instance:A})=>[T.$slots["top-extra"]?Ne(T.$slots,"top-extra",{key:0,value:T.internalModelValue}):ce("",!0),T.$slots["month-year"]?Ne(T.$slots,"month-year",In(yn({key:1},{year:Q(c),months:Q(a)(A),years:Q(l)(A),selectMonth:Q(v),selectYear:Q(b),instance:A}))):(D(),Ce(Ou,{key:2,items:Q(a)(A),"arrow-navigation":T.arrowNavigation,"is-last":T.autoApply&&!Q(h).keepActionRow,"esc-close":T.escClose,height:Q(h).modeHeight,config:T.config,"no-overlay-focus":!!(T.noOverlayFocus||T.textInput),"use-relative":"",type:"month",onSelected:P=>Q(v)(P,A),onHoverValue:P=>Q(y)(P,A)},jn({header:Re(()=>[B(oC,yn(T.$props,{items:Q(l)(A),instance:A,"show-year-picker":Q(f)[A],year:Q(c)(A),"is-disabled":P=>Q(u)(A,P),onHandleYear:P=>Q(w)(A,P),onYearSelect:P=>Q(C)(P,A),onToggleYearPicker:P=>Q(E)(A,P?.flow,P?.show)}),jn({_:2},[Xe(Q(r),(P,F)=>({name:P,fn:Re(H=>[Ne(T.$slots,P,In(Zn(H)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[T.$slots["month-overlay-value"]?{name:"item",fn:Re(({item:P})=>[Ne(T.$slots,"month-overlay-value",{text:P.text,value:P.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"]))}}),E4=(t,e)=>{const n=()=>{t.isTextInputDate&&(u.value=Ge(Ee(t.startDate)))},{modelValue:i}=Fu(t,e,n),s=we(null),{defaultedHighlight:r,defaultedMultiDates:o,defaultedFilters:a,defaultedRange:l,propDates:c}=Wt(t),u=we();xn(()=>{t.startDate&&(i.value&&t.focusStartDate||!i.value)&&(u.value=Ge(Ee(t.startDate)))});const d=m=>Array.isArray(i.value)?i.value.some(y=>Ge(y)===m):i.value?Ge(i.value)===m:!1,h=m=>l.value.enabled&&Array.isArray(i.value)?mf(i.value,s.value,p(m)):!1,f=be(()=>Tl(B_(t.yearRange,t.locale,t.reverseYears),m=>{const y=d(m.value),v=au(m.value,kl(c.value.minDate),kl(c.value.maxDate))||a.value.years.includes(m.value),b=h(m.value)&&!y,E=W_(r.value,m.value);return{active:y,disabled:v,isBetween:b,highlighted:E}})),p=m=>Ts(rs(ru(new Date)),m);return{groupedYears:f,modelValue:i,focusYear:u,setHoverValue:m=>{s.value=Ts(rs(new Date),m)},selectYear:m=>{var y;if(e("update-month-year",{instance:0,year:m}),o.value.enabled)return i.value?Array.isArray(i.value)&&(((y=i.value)==null?void 0:y.map(v=>Ge(v))).includes(m)?i.value=i.value.filter(v=>Ge(v)!==m):i.value.push(Ts(ni(Ee()),m))):i.value=[Ts(ni(ru(Ee())),m)],e("auto-apply",!0);l.value.enabled?(i.value=Y_(i,p(m),e),Rn().then(()=>{vf(i.value,e,t.autoApply,t.modelAuto)})):(i.value=p(m),e("auto-apply"))}}},S4=cn({compatConfig:{MODE:3},__name:"YearPicker",props:{...ps},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}=E4(s,i),{defaultedConfig:u}=Wt(s);return e({getSidebarProps:()=>({modelValue:o,selectYear:l})}),(d,h)=>(D(),V("div",null,[d.$slots["top-extra"]?Ne(d.$slots,"top-extra",{key:0,value:d.internalModelValue}):ce("",!0),d.$slots["month-year"]?Ne(d.$slots,"month-year",In(yn({key:1},{years:Q(r),selectYear:Q(l)}))):(D(),Ce(Ou,{key:2,items:Q(r),"is-last":d.autoApply&&!Q(u).keepActionRow,height:Q(u).modeHeight,config:d.config,"no-overlay-focus":!!(d.noOverlayFocus||d.textInput),"focus-value":Q(a),type:"year","use-relative":"",onSelected:Q(l),onHoverValue:Q(c)},jn({_:2},[d.$slots["year-overlay-value"]?{name:"item",fn:Re(({item:f})=>[Ne(d.$slots,"year-overlay-value",{text:f.text,value:f.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),C4={key:0,class:"dp__time_input"},T4=["data-test","aria-label","onKeydown","onClick","onMousedown"],k4=g("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),A4=g("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),M4=["aria-label","disabled","data-test","onKeydown","onClick"],I4=["data-test","aria-label","onKeydown","onClick","onMousedown"],P4=g("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),R4=g("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),D4={key:0},$4=["aria-label"],L4=cn({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},...ps},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}=mo(),{defaultedAriaLabels:a,defaultedTransitions:l,defaultedFilters:c,defaultedConfig:u,defaultedRange:d}=Wt(s),{transitionName:h,showTransition:f}=Nu(l),p=Ns({hours:!1,minutes:!1,seconds:!1}),m=we("AM"),y=we(null),v=we([]),b=we(),E=we(!1);xn(()=>{i("mounted")});const C=S=>It(new Date,{hours:S.hours,minutes:S.minutes,seconds:s.enableSeconds?S.seconds:0,milliseconds:0}),w=be(()=>S=>W(S,s[S])||T(S,s[S])),x=be(()=>({hours:s.hours,minutes:s.minutes,seconds:s.seconds})),T=(S,O)=>d.value.enabled&&!d.value.disableTimeRangeValidation?!s.validateTime(S,O):!1,k=(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=be(()=>S=>!Y(+s[S]+ +s[`${S}Increment`],S)||k(S,!0)),P=be(()=>S=>!Y(+s[S]-+s[`${S}Increment`],S)||k(S,!1)),F=(S,O)=>CS(It(Ee(),S),O),H=(S,O)=>kB(It(Ee(),S),O),te=be(()=>({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=be(()=>{const S=[{type:"hours"}];return s.enableMinutes&&S.push({type:"",separator:!0},{type:"minutes"}),s.enableSeconds&&S.push({type:"",separator:!0},{type:"seconds"}),S}),L=be(()=>N.value.filter(S=>!S.separator)),I=be(()=>S=>{if(S==="hours"){const O=oe(+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`],re=S==="hours"&&!s.is24?U:0,j=[];for(let se=re;se({active:!1,disabled:c.value.times[S].includes(se.value)||!Y(se.value,S)||W(S,se.value)||T(S,se.value)}))},ne=S=>S>=0?S:59,ue=S=>S>=0?S:23,Y=(S,O)=>{const K=s.minTime?C(Dg(s.minTime)):null,U=s.maxTime?C(Dg(s.maxTime)):null,re=C(Dg(x.value,O,O==="minutes"||O==="seconds"?ne(S):ue(S)));return K&&U?(ou(re,U)||Za(re,U))&&(Sl(re,K)||Za(re,K)):K?Sl(re,K)||Za(re,K):U?ou(re,U)||Za(re,U):!0},Z=S=>s[`no${S[0].toUpperCase()+S.slice(1)}Overlay`],M=S=>{Z(S)||(p[S]=!p[S],p[S]?(E.value=!0,i("overlay-opened",S)):(E.value=!1,i("overlay-closed",S)))},ie=S=>S==="hours"?pr:S==="minutes"?oo:El,le=()=>{b.value&&clearTimeout(b.value)},$=(S,O=!0,K)=>{const U=O?F:H,re=O?+s[`${S}Increment`]:-+s[`${S}Increment`];Y(+s[S]+re,S)&&i(`update:${S}`,ie(S)(U({[S]:+s[S]},{[S]:+s[`${S}Increment`]}))),!(K!=null&&K.keyboard)&&u.value.timeArrowHoldThreshold&&(b.value=setTimeout(()=>{$(S,O)},u.value.timeArrowHoldThreshold))},oe=S=>s.is24?S:(S>=12?m.value="PM":m.value="AM",DB(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)},ve=S=>{p[S]=!0},z=(S,O,K)=>{if(S&&s.arrowNavigation){Array.isArray(v.value[O])?v.value[O][K]=S:v.value[O]=[S];const U=v.value.reduce((re,j)=>j.map((se,ee)=>[...re[ee]||[],j[ee]]),[]);o(s.closeTimePickerBtn),y.value&&(U[1]=U[1].concat(y.value)),r(U,s.order)}},ge=(S,O)=>(M(S),i(`update:${S}`,O));return e({openChildCmp:ve}),(S,O)=>{var K;return S.disabled?ce("",!0):(D(),V("div",C4,[(D(!0),V($e,null,Xe(N.value,(U,re)=>{var j,se,ee;return D(),V("div",{key:re,class:Me(te.value)},[U.separator?(D(),V($e,{key:0},[E.value?ce("",!0):(D(),V($e,{key:0},[Ye(":")],64))],64)):(D(),V($e,{key:1},[g("button",{ref_for:!0,ref:fe=>z(fe,re,0),type:"button",class:Me({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=Q(a))==null?void 0:j.incrementValue(U.type),tabindex:"0",onKeydown:fe=>Q(Qn)(fe,()=>$(U.type,!0,{keyboard:!0}),!0),onClick:fe=>Q(u).timeArrowHoldThreshold?void 0:$(U.type,!0),onMousedown:fe=>Q(u).timeArrowHoldThreshold?$(U.type,!0):void 0,onMouseup:le},[s.timePickerInline?(D(),V($e,{key:1},[S.$slots["tp-inline-arrow-up"]?Ne(S.$slots,"tp-inline-arrow-up",{key:0}):(D(),V($e,{key:1},[k4,A4],64))],64)):(D(),V($e,{key:0},[S.$slots["arrow-up"]?Ne(S.$slots,"arrow-up",{key:0}):ce("",!0),S.$slots["arrow-up"]?ce("",!0):(D(),Ce(Q(O_),{key:1}))],64))],42,T4),g("button",{ref_for:!0,ref:fe=>z(fe,re,1),type:"button","aria-label":`${I.value(U.type).text}-${(se=Q(a))==null?void 0:se.openTpOverlay(U.type)}`,class:Me({dp__time_display:!0,dp__time_display_block:!S.timePickerInline,dp__time_display_inline:S.timePickerInline,"dp--time-invalid":w.value(U.type),"dp--time-overlay-btn":!w.value(U.type),"dp--hidden-el":E.value}),disabled:Z(U.type),tabindex:"0","data-test":`${U.type}-toggle-overlay-btn-${s.order}`,onKeydown:fe=>Q(Qn)(fe,()=>M(U.type),!0),onClick:fe=>M(U.type)},[S.$slots[U.type]?Ne(S.$slots,U.type,{key:0,text:I.value(U.type).text,value:I.value(U.type).value}):ce("",!0),S.$slots[U.type]?ce("",!0):(D(),V($e,{key:1},[Ye(xe(I.value(U.type).text),1)],64))],42,M4),g("button",{ref_for:!0,ref:fe=>z(fe,re,2),type:"button",class:Me({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:P.value(U.type),"dp--hidden-el":E.value}),"data-test":`${U.type}-time-dec-btn-${s.order}`,"aria-label":(ee=Q(a))==null?void 0:ee.decrementValue(U.type),tabindex:"0",onKeydown:fe=>Q(Qn)(fe,()=>$(U.type,!1,{keyboard:!0}),!0),onClick:fe=>Q(u).timeArrowHoldThreshold?void 0:$(U.type,!1),onMousedown:fe=>Q(u).timeArrowHoldThreshold?$(U.type,!1):void 0,onMouseup:le},[s.timePickerInline?(D(),V($e,{key:1},[S.$slots["tp-inline-arrow-down"]?Ne(S.$slots,"tp-inline-arrow-down",{key:0}):(D(),V($e,{key:1},[P4,R4],64))],64)):(D(),V($e,{key:0},[S.$slots["arrow-down"]?Ne(S.$slots,"arrow-down",{key:0}):ce("",!0),S.$slots["arrow-down"]?ce("",!0):(D(),Ce(Q(N_),{key:1}))],64))],42,I4)],64))],2)}),128)),S.is24?ce("",!0):(D(),V("div",D4,[S.$slots["am-pm-button"]?Ne(S.$slots,"am-pm-button",{key:0,toggle:de,value:m.value}):ce("",!0),S.$slots["am-pm-button"]?ce("",!0):(D(),V("button",{key:1,ref_key:"amPmButton",ref:y,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(K=Q(a))==null?void 0:K.amPmButton,tabindex:"0",onClick:de,onKeydown:O[0]||(O[0]=U=>Q(Qn)(U,()=>de(),!0))},xe(m.value),41,$4))])),(D(!0),V($e,null,Xe(L.value,(U,re)=>(D(),Ce(Rt,{key:re,name:Q(h)(p[U.type]),css:Q(f)},{default:Re(()=>{var j,se;return[p[U.type]?(D(),Ce(Ou,{key:0,items:J(U.type),"is-last":S.autoApply&&!Q(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":(se=(j=Q(a)).timeOverlay)==null?void 0:se.call(j,U.type),onSelected:ee=>ge(U.type,ee),onToggle:ee=>M(U.type),onResetFlow:O[1]||(O[1]=ee=>S.$emit("reset-flow"))},jn({"button-icon":Re(()=>[S.$slots["clock-icon"]?Ne(S.$slots,"clock-icon",{key:0}):ce("",!0),S.$slots["clock-icon"]?ce("",!0):(D(),Ce(ga(S.timePickerInline?Q(Ul):Q(L_)),{key:1}))]),_:2},[S.$slots[`${U.type}-overlay-value`]?{name:"item",fn:Re(({item:ee})=>[Ne(S.$slots,`${U.type}-overlay-value`,{text:ee.text,value:ee.value})]),key:"0"}:void 0,S.$slots[`${U.type}-overlay-header`]?{name:"header",fn:Re(()=>[Ne(S.$slots,`${U.type}-overlay-header`,{toggle:()=>M(U.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):ce("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),O4={class:"dp--tp-wrap"},N4=["aria-label","tabindex"],F4=["role","aria-label","tabindex"],B4=["aria-label"],uC=cn({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},...ps},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}=mo(),a=pa(),{defaultedTransitions:l,defaultedAriaLabels:c,defaultedTextInput:u,defaultedConfig:d,defaultedRange:h}=Wt(s),{transitionName:f,showTransition:p}=Nu(l),{hideNavigationButtons:m}=bf(),y=we(null),v=we(null),b=we([]),E=we(null),C=we(!1);xn(()=>{i("mount"),!s.timePicker&&s.arrowNavigation?r([mn(y.value)],"time"):o(!0,s.timePicker)});const w=be(()=>h.value.enabled&&s.modelAuto?GS(s.internalModelValue):!0),x=we(!1),T=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}),k=be(()=>{const J=[];if(h.value.enabled)for(let ne=0;ne<2;ne++)J.push(T(ne));else J.push(T(0));return J}),A=(J,ne=!1,ue="")=>{ne||i("reset-flow"),x.value=J,i(J?"overlay-opened":"overlay-closed",zn.time),s.arrowNavigation&&o(J),Rn(()=>{ue!==""&&b.value[0]&&b.value[0].openChildCmp(ue)})},P=be(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:s.autoApply&&!d.value.keepActionRow})),F=ki(a,"timePicker"),H=(J,ne,ue)=>h.value.enabled?ne===0?[J,k.value[1][ue]]:[k.value[0][ue],J]:J,te=J=>{i("update:hours",J)},N=J=>{i("update:minutes",J)},L=J=>{i("update:seconds",J)},I=()=>{if(E.value&&!u.value.enabled&&!s.noOverlayFocus){const J=XS(E.value);J&&J.focus({preventScroll:!0})}},W=J=>{C.value=!1,i("overlay-closed",J)},X=J=>{C.value=!0,i("overlay-opened",J)};return e({toggleTimePicker:A}),(J,ne)=>{var ue;return D(),V("div",O4,[!J.timePicker&&!J.timePickerInline?Oe((D(),V("button",{key:0,ref_key:"openTimePickerBtn",ref:y,type:"button",class:Me({...P.value,"dp--hidden-el":x.value}),"aria-label":(ue=Q(c))==null?void 0:ue.openTimePicker,tabindex:J.noOverlayFocus?void 0:0,"data-test":"open-time-picker-btn",onKeydown:ne[0]||(ne[0]=Y=>Q(Qn)(Y,()=>A(!0))),onClick:ne[1]||(ne[1]=Y=>A(!0))},[J.$slots["clock-icon"]?Ne(J.$slots,"clock-icon",{key:0}):ce("",!0),J.$slots["clock-icon"]?ce("",!0):(D(),Ce(Q(L_),{key:1}))],42,N4)),[[th,!Q(m)(J.hideNavigation,"time")]]):ce("",!0),B(Rt,{name:Q(f)(x.value),css:Q(p)&&!J.timePickerInline},{default:Re(()=>{var Y,Z;return[x.value||J.timePicker||J.timePickerInline?(D(),V("div",{key:0,ref_key:"overlayRef",ref:E,role:J.timePickerInline?void 0:"dialog",class:Me({dp__overlay:!J.timePickerInline,"dp--overlay-absolute":!s.timePicker&&!J.timePickerInline,"dp--overlay-relative":s.timePicker}),style:Mn(J.timePicker?{height:`${Q(d).modeHeight}px`}:void 0),"aria-label":(Y=Q(c))==null?void 0:Y.timePicker,tabindex:J.timePickerInline?void 0:0},[g("div",{class:Me(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"]?Ne(J.$slots,"time-picker-overlay",{key:0,hours:t.hours,minutes:t.minutes,seconds:t.seconds,setHours:te,setMinutes:N,setSeconds:L}):ce("",!0),J.$slots["time-picker-overlay"]?ce("",!0):(D(),V("div",{key:1,class:Me(J.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(D(!0),V($e,null,Xe(k.value,(M,ie)=>Oe((D(),Ce(L4,yn({key:ie,ref_for:!0},{...J.$props,order:ie,hours:M.hours,minutes:M.minutes,seconds:M.seconds,closeTimePickerBtn:v.value,disabledTimesConfig:t.disabledTimesConfig,disabled:ie===0?Q(h).fixedStart:Q(h).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:b,"validate-time":(le,$)=>t.validateTime(le,H($,ie,le)),"onUpdate:hours":le=>te(H(le,ie,"hours")),"onUpdate:minutes":le=>N(H(le,ie,"minutes")),"onUpdate:seconds":le=>L(H(le,ie,"seconds")),onMounted:I,onOverlayClosed:W,onOverlayOpened:X,onAmPmChange:ne[2]||(ne[2]=le=>J.$emit("am-pm-change",le))}),jn({_:2},[Xe(Q(F),(le,$)=>({name:le,fn:Re(oe=>[Ne(J.$slots,le,yn({ref_for:!0},oe))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[th,ie===0?!0:w.value]])),128))],2)),!J.timePicker&&!J.timePickerInline?Oe((D(),V("button",{key:2,ref_key:"closeTimePickerBtn",ref:v,type:"button",class:Me({...P.value,"dp--hidden-el":C.value}),"aria-label":(Z=Q(c))==null?void 0:Z.closeTimePicker,tabindex:"0",onKeydown:ne[3]||(ne[3]=M=>Q(Qn)(M,()=>A(!1))),onClick:ne[4]||(ne[4]=M=>A(!1))},[J.$slots["calendar-icon"]?Ne(J.$slots,"calendar-icon",{key:0}):ce("",!0),J.$slots["calendar-icon"]?ce("",!0):(D(),Ce(Q(Ul),{key:1}))],42,B4)),[[th,!Q(m)(J.hideNavigation,"time")]]):ce("",!0)],2)],14,F4)):ce("",!0)]}),_:3},8,["name","css"])])}}}),dC=(t,e,n,i)=>{const{defaultedRange:s}=Wt(t),r=(E,C)=>Array.isArray(e[E])?e[E][C]:e[E],o=E=>t.enableSeconds?Array.isArray(e.seconds)?e.seconds[E]:e.seconds:0,a=(E,C)=>E?C!==void 0?eo(E,r("hours",C),r("minutes",C),o(C)):eo(E,e.hours,e.minutes,o()):YS(Ee(),o(C)),l=(E,C)=>{e[E]=C},c=be(()=>t.modelAuto&&s.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:s.value.enabled),u=(E,C)=>{const w=Object.fromEntries(Object.keys(e).map(x=>x===E?[x,C]:[x,e[x]].slice()));if(c.value&&!s.value.disableTimeRangeValidation){const x=k=>n.value?eo(n.value[k],w.hours[k],w.minutes[k],w.seconds[k]):null,T=k=>HS(n.value[k],0);return!(ct(x(0),x(1))&&(Sl(x(0),T(1))||ou(x(1),T(0))))}return!0},d=(E,C)=>{u(E,C)&&(l(E,C),i&&i())},h=E=>{d("hours",E)},f=E=>{d("minutes",E)},p=E=>{d("seconds",E)},m=(E,C,w,x)=>{C&&h(E),!C&&!w&&f(E),w&&p(E),n.value&&x(n.value)},y=E=>{if(E){const C=Array.isArray(E),w=C?[+E[0].hours,+E[1].hours]:+E.hours,x=C?[+E[0].minutes,+E[1].minutes]:+E.minutes,T=C?[+E[0].seconds,+E[1].seconds]:+E.seconds;l("hours",w),l("minutes",x),t.enableSeconds&&l("seconds",T)}},v=(E,C)=>{const w={hours:Array.isArray(e.hours)?e.hours[E]:e.hours,disabledArr:[]};return(C||C===0)&&(w.hours=C),Array.isArray(t.disabledTimes)&&(w.disabledArr=s.value.enabled&&Array.isArray(t.disabledTimes[E])?t.disabledTimes[E]:t.disabledTimes),w},b=be(()=>(E,C)=>{var w;if(Array.isArray(t.disabledTimes)){const{disabledArr:x,hours:T}=v(E,C),k=x.filter(A=>+A.hours===T);return((w=k[0])==null?void 0:w.minutes)==="*"?{hours:[T],minutes:void 0,seconds:void 0}:{hours:[],minutes:k?.map(A=>+A.minutes)??[],seconds:k?.map(A=>A.seconds?+A.seconds:void 0)??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:l,updateHours:h,updateMinutes:f,updateSeconds:p,getSetDateTime:a,updateTimeValues:m,getSecondsValue:o,assignStartTime:y,validateTime:u,disabledTimesConfig:b}},V4=(t,e)=>{const n=()=>{t.isTextInputDate&&C()},{modelValue:i,time:s}=Fu(t,e,n),{defaultedStartTime:r,defaultedRange:o,defaultedTz:a}=Wt(t),{updateTimeValues:l,getSetDateTime:c,setTime:u,assignStartTime:d,disabledTimesConfig:h,validateTime:f}=dC(t,s,i,p);function p(){e("update-flow-step")}const m=x=>{const{hours:T,minutes:k,seconds:A}=x;return{hours:+T,minutes:+k,seconds:A?+A:0}},y=()=>{if(t.startTime){if(Array.isArray(t.startTime)){const T=m(t.startTime[0]),k=m(t.startTime[1]);return[It(Ee(),T),It(Ee(),k)]}const x=m(t.startTime);return It(Ee(),x)}return o.value.enabled?[null,null]:null},v=()=>{if(o.value.enabled){const[x,T]=y();i.value=[_i(c(x,0),a.value.timezone),_i(c(T,1),a.value.timezone)]}else i.value=_i(c(y()),a.value.timezone)},b=x=>Array.isArray(x)?[na(Ee(x[0])),na(Ee(x[1]))]:[na(x??Ee())],E=(x,T,k)=>{u("hours",x),u("minutes",T),u("seconds",t.enableSeconds?k:0)},C=()=>{const[x,T]=b(i.value);return o.value.enabled?E([x.hours,T.hours],[x.minutes,T.minutes],[x.seconds,T.seconds]):E(x.hours,x.minutes,x.seconds)};xn(()=>{if(!t.shadow)return d(r.value),i.value?C():v()});const w=()=>{Array.isArray(i.value)?i.value=i.value.map((x,T)=>x&&c(x,T)):i.value=c(i.value),e("time-update")};return{modelValue:i,time:s,disabledTimesConfig:h,updateTime:(x,T=!0,k=!1)=>{l(x,T,k,w)},validateTime:f}},z4=cn({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...ps},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=pa(),o=ki(r,"timePicker"),a=we(null),{time:l,modelValue:c,disabledTimesConfig:u,updateTime:d,validateTime:h}=V4(s,i);return xn(()=>{s.shadow||i("mount",null)}),e({getSidebarProps:()=>({modelValue:c,time:l,updateTime:d}),toggleTimePicker:(f,p=!1,m="")=>{var y;(y=a.value)==null||y.toggleTimePicker(f,p,m)}}),(f,p)=>(D(),Ce(yf,{"multi-calendars":0,stretch:""},{default:Re(()=>[B(uC,yn({ref_key:"tpRef",ref:a},f.$props,{hours:Q(l).hours,minutes:Q(l).minutes,seconds:Q(l).seconds,"internal-model-value":f.internalModelValue,"disabled-times-config":Q(u),"validate-time":Q(h),"onUpdate:hours":p[0]||(p[0]=m=>Q(d)(m)),"onUpdate:minutes":p[1]||(p[1]=m=>Q(d)(m,!1)),"onUpdate:seconds":p[2]||(p[2]=m=>Q(d)(m,!1,!0)),onAmPmChange:p[3]||(p[3]=m=>f.$emit("am-pm-change",m)),onResetFlow:p[4]||(p[4]=m=>f.$emit("reset-flow")),onOverlayClosed:p[5]||(p[5]=m=>f.$emit("overlay-toggle",{open:!1,overlay:m})),onOverlayOpened:p[6]||(p[6]=m=>f.$emit("overlay-toggle",{open:!0,overlay:m}))}),jn({_:2},[Xe(Q(o),(m,y)=>({name:m,fn:Re(v=>[Ne(f.$slots,m,In(Zn(v)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),W4={class:"dp--header-wrap"},H4={key:0,class:"dp__month_year_wrap"},Y4={key:0},j4={class:"dp__month_year_wrap"},K4=["data-dp-element","aria-label","data-test","onClick","onKeydown"],U4=cn({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:()=>[]},...ps},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:h}=Wt(s),{transitionName:f,showTransition:p}=Nu(r),{buildMatrix:m}=mo(),{handleMonthYearChange:y,isDisabled:v,updateMonthYear:b}=d4(s,i),{showLeftIcon:E,showRightIcon:C}=bf(),w=we(!1),x=we(!1),T=we(!1),k=we([null,null,null,null]);xn(()=>{i("mount")});const A=Z=>({get:()=>s[Z],set:M=>{const ie=Z===es.month?es.year:es.month;i("update-month-year",{[Z]:M,[ie]:s[ie]}),Z===es.month?W(!0):X(!0)}}),P=be(A(es.month)),F=be(A(es.year)),H=be(()=>Z=>({month:s.month,year:s.year,items:Z===es.month?s.months:s.years,instance:s.instance,updateMonthYear:b,toggle:Z===es.month?W:X})),te=be(()=>s.months.find(M=>M.value===s.month)||{text:"",value:0}),N=be(()=>Tl(s.months,Z=>{const M=s.month===Z.value,ie=au(Z.value,ZS(s.year,d.value.minDate),JS(s.year,d.value.maxDate))||l.value.months.includes(Z.value),le=iC(u.value,Z.value,s.year);return{active:M,disabled:ie,highlighted:le}})),L=be(()=>Tl(s.years,Z=>{const M=s.year===Z.value,ie=au(Z.value,kl(d.value.minDate),kl(d.value.maxDate))||l.value.years.includes(Z.value),le=W_(u.value,Z.value);return{active:M,disabled:ie,highlighted:le}})),I=(Z,M,ie)=>{ie!==void 0?Z.value=ie:Z.value=!Z.value,Z.value?(T.value=!0,i("overlay-opened",M)):(T.value=!1,i("overlay-closed",M))},W=(Z=!1,M)=>{J(Z),I(w,zn.month,M)},X=(Z=!1,M)=>{J(Z),I(x,zn.year,M)},J=Z=>{Z||i("reset-flow")},ne=(Z,M)=>{s.arrowNavigation&&(k.value[M]=mn(Z),m(k.value,"monthYear"))},ue=be(()=>{var Z,M,ie,le,$,oe;return[{type:es.month,index:1,toggle:W,modelValue:P.value,updateModelValue:de=>P.value=de,text:te.value.text,showSelectionGrid:w.value,items:N.value,ariaLabel:(Z=o.value)==null?void 0:Z.openMonthsOverlay,overlayLabel:((ie=(M=o.value).monthPicker)==null?void 0:ie.call(M,!0))??void 0},{type:es.year,index:2,toggle:X,modelValue:F.value,updateModelValue:de=>F.value=de,text:qS(s.year,s.locale),showSelectionGrid:x.value,items:L.value,ariaLabel:(le=o.value)==null?void 0:le.openYearsOverlay,overlayLabel:((oe=($=o.value).yearPicker)==null?void 0:oe.call($,!0))??void 0}]}),Y=be(()=>s.disableYearSelect?[ue.value[0]]:s.yearFirst?[...ue.value].reverse():ue.value);return e({toggleMonthPicker:W,toggleYearPicker:X,handleMonthYearChange:y}),(Z,M)=>{var ie,le,$,oe,de,ve;return D(),V("div",W4,[Z.$slots["month-year"]?(D(),V("div",H4,[Ne(Z.$slots,"month-year",In(Zn({month:t.month,year:t.year,months:t.months,years:t.years,updateMonthYear:Q(b),handleMonthYearChange:Q(y),instance:t.instance})))])):(D(),V($e,{key:1},[Z.$slots["top-extra"]?(D(),V("div",Y4,[Ne(Z.$slots,"top-extra",{value:Z.internalModelValue})])):ce("",!0),g("div",j4,[Q(E)(Q(a),t.instance)&&!Z.vertical?(D(),Ce(Wc,{key:0,"aria-label":(ie=Q(o))==null?void 0:ie.prevMonth,disabled:Q(v)(!1),class:Me((le=Q(h))==null?void 0:le.navBtnPrev),"el-name":"action-prev",onActivate:M[0]||(M[0]=z=>Q(y)(!1,!0)),onSetRef:M[1]||(M[1]=z=>ne(z,0))},{default:Re(()=>[Z.$slots["arrow-left"]?Ne(Z.$slots,"arrow-left",{key:0}):ce("",!0),Z.$slots["arrow-left"]?ce("",!0):(D(),Ce(Q(D_),{key:1}))]),_:3},8,["aria-label","disabled","class"])):ce("",!0),g("div",{class:Me(["dp__month_year_wrap",{dp__year_disable_select:Z.disableYearSelect}])},[(D(!0),V($e,null,Xe(Y.value,(z,ge)=>(D(),V($e,{key:z.type},[g("button",{ref_for:!0,ref:S=>ne(S,ge+1),type:"button","data-dp-element":`overlay-${z.type}`,class:Me(["dp__btn dp__month_year_select",{"dp--hidden-el":T.value}]),"aria-label":`${z.text}-${z.ariaLabel}`,"data-test":`${z.type}-toggle-overlay-${t.instance}`,onClick:z.toggle,onKeydown:S=>Q(Qn)(S,()=>z.toggle(),!0)},[Z.$slots[z.type]?Ne(Z.$slots,z.type,{key:0,text:z.text,value:s[z.type]}):ce("",!0),Z.$slots[z.type]?ce("",!0):(D(),V($e,{key:1},[Ye(xe(z.text),1)],64))],42,K4),B(Rt,{name:Q(f)(z.showSelectionGrid),css:Q(p)},{default:Re(()=>[z.showSelectionGrid?(D(),Ce(Ou,{key:0,items:z.items,"arrow-navigation":Z.arrowNavigation,"hide-navigation":Z.hideNavigation,"is-last":Z.autoApply&&!Q(c).keepActionRow,"skip-button-ref":!1,config:Z.config,type:z.type,"header-refs":[],"esc-close":Z.escClose,"menu-wrap-ref":Z.menuWrapRef,"text-input":Z.textInput,"aria-labels":Z.ariaLabels,"overlay-label":z.overlayLabel,onSelected:z.updateModelValue,onToggle:z.toggle},jn({"button-icon":Re(()=>[Z.$slots["calendar-icon"]?Ne(Z.$slots,"calendar-icon",{key:0}):ce("",!0),Z.$slots["calendar-icon"]?ce("",!0):(D(),Ce(Q(Ul),{key:1}))]),_:2},[Z.$slots[`${z.type}-overlay-value`]?{name:"item",fn:Re(({item:S})=>[Ne(Z.$slots,`${z.type}-overlay-value`,{text:S.text,value:S.value})]),key:"0"}:void 0,Z.$slots[`${z.type}-overlay`]?{name:"overlay",fn:Re(()=>[Ne(Z.$slots,`${z.type}-overlay`,yn({ref_for:!0},H.value(z.type)))]),key:"1"}:void 0,Z.$slots[`${z.type}-overlay-header`]?{name:"header",fn:Re(()=>[Ne(Z.$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"])):ce("",!0)]),_:2},1032,["name","css"])],64))),128))],2),Q(E)(Q(a),t.instance)&&Z.vertical?(D(),Ce(Wc,{key:1,"aria-label":($=Q(o))==null?void 0:$.prevMonth,"el-name":"action-prev",disabled:Q(v)(!1),class:Me((oe=Q(h))==null?void 0:oe.navBtnPrev),onActivate:M[2]||(M[2]=z=>Q(y)(!1,!0))},{default:Re(()=>[Z.$slots["arrow-up"]?Ne(Z.$slots,"arrow-up",{key:0}):ce("",!0),Z.$slots["arrow-up"]?ce("",!0):(D(),Ce(Q(O_),{key:1}))]),_:3},8,["aria-label","disabled","class"])):ce("",!0),Q(C)(Q(a),t.instance)?(D(),Ce(Wc,{key:2,ref:"rightIcon","el-name":"action-next",disabled:Q(v)(!0),"aria-label":(de=Q(o))==null?void 0:de.nextMonth,class:Me((ve=Q(h))==null?void 0:ve.navBtnNext),onActivate:M[3]||(M[3]=z=>Q(y)(!0,!0)),onSetRef:M[4]||(M[4]=z=>ne(z,Z.disableYearSelect?2:3))},{default:Re(()=>[Z.$slots[Z.vertical?"arrow-down":"arrow-right"]?Ne(Z.$slots,Z.vertical?"arrow-down":"arrow-right",{key:0}):ce("",!0),Z.$slots[Z.vertical?"arrow-down":"arrow-right"]?ce("",!0):(D(),Ce(ga(Z.vertical?Q(N_):Q($_)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):ce("",!0)])],64))])}}}),G4={class:"dp__calendar_header",role:"row"},X4={key:0,class:"dp__calendar_header_item",role:"gridcell"},q4=["aria-label"],Z4=g("div",{class:"dp__calendar_header_separator"},null,-1),J4={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},Q4={class:"dp__cell_inner"},eV=["id","aria-pressed","aria-disabled","aria-label","data-test","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],tV=cn({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},...ps},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}=mo(),{defaultedTransitions:o,defaultedConfig:a,defaultedAriaLabels:l,defaultedMultiCalendars:c,defaultedWeekNumbers:u,defaultedMultiDates:d,defaultedUI:h}=Wt(s),f=we(null),p=we({bottom:"",left:"",transform:""}),m=we([]),y=we(null),v=we(!0),b=we(""),E=we({startX:0,endX:0,startY:0,endY:0}),C=we([]),w=we({left:"50%"}),x=we(!1),T=be(()=>s.calendar?s.calendar(s.mappedDates):s.mappedDates),k=be(()=>s.dayNames?Array.isArray(s.dayNames)?s.dayNames:s.dayNames(s.locale,+s.weekStart):RB(s.formatLocale,s.locale,+s.weekStart));xn(()=>{i("mount",{cmp:"calendar",refs:m}),a.value.noSwipe||y.value&&(y.value.addEventListener("touchstart",ne,{passive:!1}),y.value.addEventListener("touchend",ue,{passive:!1}),y.value.addEventListener("touchmove",Y,{passive:!1})),s.monthChangeOnScroll&&y.value&&y.value.addEventListener("wheel",ie,{passive:!1})});const A=z=>z?s.vertical?"vNext":"next":s.vertical?"vPrevious":"previous",P=(z,ge)=>{if(s.transitions){const S=ni(sr(Ee(),s.month,s.year));b.value=nn(ni(sr(Ee(),z,ge)),S)?o.value[A(!0)]:o.value[A(!1)],v.value=!1,Rn(()=>{v.value=!0})}},F=be(()=>({...h.value.calendar??{}})),H=be(()=>z=>{const ge=$B(z);return{dp__marker_dot:ge.type==="dot",dp__marker_line:ge.type==="line"}}),te=be(()=>z=>ct(z,f.value)),N=be(()=>({dp__calendar:!0,dp__calendar_next:c.value.count>0&&s.instance!==0})),L=be(()=>z=>s.hideOffsetDates?z.current:!0),I=async(z,ge)=>{const{width:S,height:O}=z.getBoundingClientRect();f.value=ge.value;let K={left:`${S/2}px`},U=-50;if(await Rn(),C.value[0]){const{left:re,width:j}=C.value[0].getBoundingClientRect();re<0&&(K={left:"0"},U=0,w.value.left=`${S/2}px`),window.innerWidth{var O,K,U;const re=mn(m.value[ge][S]);re&&((O=z.marker)!=null&&O.customPosition&&(U=(K=z.marker)==null?void 0:K.tooltip)!=null&&U.length?p.value=z.marker.customPosition(re):await I(re,z),i("tooltip-open",z.marker))},X=async(z,ge,S)=>{var O,K;if(x.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,ge,S)},J=z=>{f.value&&(f.value=null,p.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),i("tooltip-close",z.marker))},ne=z=>{E.value.startX=z.changedTouches[0].screenX,E.value.startY=z.changedTouches[0].screenY},ue=z=>{E.value.endX=z.changedTouches[0].screenX,E.value.endY=z.changedTouches[0].screenY,Z()},Y=z=>{s.vertical&&!s.inline&&z.preventDefault()},Z=()=>{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")},M=(z,ge,S)=>{z&&(Array.isArray(m.value[ge])?m.value[ge][S]=z:m.value[ge]=[z]),s.arrowNavigation&&r(m.value,"calendar")},ie=z=>{s.monthChangeOnScroll&&(z.preventDefault(),i("handle-scroll",z))},le=z=>u.value.type==="local"?I_(z.value,{weekStartsOn:+s.weekStart}):u.value.type==="iso"?A_(z.value):typeof u.value.type=="function"?u.value.type(z.value):"",$=z=>{const ge=z[0];return u.value.hideOnOffsetDates?z.some(S=>S.current)?le(ge):"":le(ge)},oe=(z,ge,S=!0)=>{S&&BB()||d.value.enabled||(Qr(z,a.value),i("select-date",ge))},de=z=>{Qr(z,a.value)},ve=z=>{d.value.enabled&&d.value.dragSelect?(x.value=!0,i("select-date",z)):d.value.enabled&&i("select-date",z)};return e({triggerTransition:P}),(z,ge)=>(D(),V("div",{class:Me(N.value)},[g("div",{ref_key:"calendarWrapRef",ref:y,class:Me(F.value),role:"grid"},[g("div",G4,[z.weekNumbers?(D(),V("div",X4,xe(z.weekNumName),1)):ce("",!0),(D(!0),V($e,null,Xe(k.value,(S,O)=>{var K,U;return D(),V("div",{key:O,class:"dp__calendar_header_item",role:"gridcell","data-test":"calendar-header","aria-label":(U=(K=Q(l))==null?void 0:K.weekDay)==null?void 0:U.call(K,O)},[z.$slots["calendar-header"]?Ne(z.$slots,"calendar-header",{key:0,day:S,index:O}):ce("",!0),z.$slots["calendar-header"]?ce("",!0):(D(),V($e,{key:1},[Ye(xe(S),1)],64))],8,q4)}),128))]),Z4,B(Rt,{name:b.value,css:!!z.transitions},{default:Re(()=>[v.value?(D(),V("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:ge[1]||(ge[1]=S=>x.value=!1)},[(D(!0),V($e,null,Xe(T.value,(S,O)=>(D(),V("div",{key:O,class:"dp__calendar_row",role:"row"},[z.weekNumbers?(D(),V("div",J4,[g("div",Q4,xe($(S.days)),1)])):ce("",!0),(D(!0),V($e,null,Xe(S.days,(K,U)=>{var re,j,se;return D(),V("div",{id:Q(sC)(K.value),ref_for:!0,ref:ee=>M(ee,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=(re=Q(l))==null?void 0:re.day)==null?void 0:j.call(re,K),tabindex:"0","data-test":K.value,onClick:iu(ee=>oe(ee,K),["prevent"]),onTouchend:ee=>oe(ee,K,!1),onKeydown:ee=>Q(Qn)(ee,()=>z.$emit("select-date",K)),onMouseenter:ee=>X(K,O,U),onMouseleave:ee=>J(K),onMousedown:ee=>ve(K),onMouseup:ge[0]||(ge[0]=ee=>x.value=!1)},[g("div",{class:Me(["dp__cell_inner",K.classData])},[z.$slots.day&&L.value(K)?Ne(z.$slots,"day",{key:0,day:+K.text,date:K.value}):ce("",!0),z.$slots.day?ce("",!0):(D(),V($e,{key:1},[Ye(xe(K.text),1)],64)),K.marker&&L.value(K)?(D(),V($e,{key:2},[z.$slots.marker?Ne(z.$slots,"marker",{key:0,marker:K.marker,day:+K.text,date:K.value}):(D(),V("div",{key:1,class:Me(H.value(K.marker)),style:Mn(K.marker.color?{backgroundColor:K.marker.color}:{})},null,6))],64)):ce("",!0),te.value(K.value)?(D(),V("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:C,class:"dp__marker_tooltip",style:Mn(p.value)},[(se=K.marker)!=null&&se.tooltip?(D(),V("div",{key:0,class:"dp__tooltip_content",onClick:de},[(D(!0),V($e,null,Xe(K.marker.tooltip,(ee,fe)=>(D(),V("div",{key:fe,class:"dp__tooltip_text"},[z.$slots["marker-tooltip"]?Ne(z.$slots,"marker-tooltip",{key:0,tooltip:ee,day:K.value}):ce("",!0),z.$slots["marker-tooltip"]?ce("",!0):(D(),V($e,{key:1},[g("div",{class:"dp__tooltip_mark",style:Mn(ee.color?{backgroundColor:ee.color}:{})},null,4),g("div",null,xe(ee.text),1)],64))]))),128)),g("div",{class:"dp__arrow_bottom_tp",style:Mn(w.value)},null,4)])):ce("",!0)],4)):ce("",!0)],2)],40,eV)}),128))]))),128))],32)):ce("",!0)]),_:3},8,["name","css"])],2)],2))}}),Ab=t=>Array.isArray(t),nV=(t,e,n,i)=>{const s=we([]),r=we(new Date),o=we(),a=()=>ne(t.isTextInputDate),{modelValue:l,calendars:c,time:u,today:d}=Fu(t,e,a),{defaultedMultiCalendars:h,defaultedStartTime:f,defaultedRange:p,defaultedConfig:m,defaultedTz:y,propDates:v,defaultedMultiDates:b}=Wt(t),{validateMonthYearInRange:E,isDisabled:C,isDateRangeAllowed:w,checkMinMaxRange:x}=_o(t),{updateTimeValues:T,getSetDateTime:k,setTime:A,assignStartTime:P,validateTime:F,disabledTimesConfig:H}=dC(t,u,l,i),te=be(()=>ae=>c.value[ae]?c.value[ae].month:0),N=be(()=>ae=>c.value[ae]?c.value[ae].year:0),L=ae=>!m.value.keepViewOnOffsetClick||ae?!0:!o.value,I=(ae,Te,he,ke=!1)=>{var De,Ht;L(ke)&&(c.value[ae]||(c.value[ae]={month:0,year:0}),c.value[ae].month=Eb(Te)?(De=c.value[ae])==null?void 0:De.month:Te,c.value[ae].year=Eb(he)?(Ht=c.value[ae])==null?void 0:Ht.year:he)},W=()=>{t.autoApply&&e("select-date")};xn(()=>{t.shadow||(l.value||(z(),f.value&&P(f.value)),ne(!0),t.focusStartDate&&t.startDate&&z())});const X=be(()=>{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)},ne=(ae=!1)=>{if(l.value)return Array.isArray(l.value)?(s.value=l.value,$(ae)):Z(l.value,ae);if(h.value.count&&ae&&!t.startDate)return Y(Ee(),ae)},ue=()=>Array.isArray(l.value)&&p.value.enabled?at(l.value[0])===at(l.value[1]??l.value[0]):!1,Y=(ae=new Date,Te=!1)=>{if((!h.value.count||!h.value.static||Te)&&I(0,at(ae),Ge(ae)),h.value.count&&(!h.value.solo||!l.value||ue()))for(let he=1;he{Y(ae),A("hours",pr(ae)),A("minutes",oo(ae)),A("seconds",El(ae)),h.value.count&&Te&&ve()},M=ae=>{if(h.value.count){if(h.value.solo)return 0;const Te=at(ae[0]),he=at(ae[1]);return Math.abs(he-Te){ae[1]&&p.value.showLastInRange?Y(ae[M(ae)],Te):Y(ae[0],Te);const he=(ke,De)=>[ke(ae[0]),ae[1]?ke(ae[1]):u[De][1]];A("hours",he(pr,"hours")),A("minutes",he(oo,"minutes")),A("seconds",he(El,"seconds"))},le=(ae,Te)=>{if((p.value.enabled||t.weekPicker)&&!b.value.enabled)return ie(ae,Te);if(b.value.enabled&&Te){const he=ae[ae.length-1];return Z(he,Te)}},$=ae=>{const Te=l.value;le(Te,ae),h.value.count&&h.value.solo&&ve()},oe=(ae,Te)=>{const he=It(Ee(),{month:te.value(Te),year:N.value(Te)}),ke=ae<0?us(he,1):Cl(he,1);E(at(ke),Ge(ke),ae<0,t.preventMinMaxNavigation)&&(I(Te,at(ke),Ge(ke)),e("update-month-year",{instance:Te,month:at(ke),year:Ge(ke)}),h.value.count&&!h.value.solo&&de(Te),n())},de=ae=>{for(let Te=ae-1;Te>=0;Te--){const he=Cl(It(Ee(),{month:te.value(Te+1),year:N.value(Te+1)}),1);I(Te,at(he),Ge(he))}for(let Te=ae+1;Te<=h.value.count-1;Te++){const he=us(It(Ee(),{month:te.value(Te-1),year:N.value(Te-1)}),1);I(Te,at(he),Ge(he))}},ve=()=>{if(Array.isArray(l.value)&&l.value.length===2){const ae=Ee(Ee(l.value[1]?l.value[1]:us(l.value[0],1))),[Te,he]=[at(l.value[0]),Ge(l.value[0])],[ke,De]=[at(l.value[1]),Ge(l.value[1])];(Te!==ke||Te===ke&&he!==De)&&h.value.solo&&I(1,at(ae),Ge(ae))}else l.value&&!Array.isArray(l.value)&&(I(0,at(l.value),Ge(l.value)),Y(Ee()))},z=()=>{t.startDate&&(I(0,at(Ee(t.startDate)),Ge(Ee(t.startDate))),h.value.count&&de(0))},ge=(ae,Te)=>{if(t.monthChangeOnScroll){const he=new Date().getTime()-r.value.getTime(),ke=Math.abs(ae.deltaY);let De=500;ke>1&&(De=100),ke>100&&(De=0),he>De&&(r.value=new Date,oe(t.monthChangeOnScroll!=="inverse"?-ae.deltaY:ae.deltaY,Te))}},S=(ae,Te,he=!1)=>{t.monthChangeOnArrows&&t.vertical===he&&O(ae,Te)},O=(ae,Te)=>{oe(ae==="right"?-1:1,Te)},K=ae=>{if(v.value.markers)return bh(ae.value,v.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]}},re=(ae,Te,he,ke)=>{if(t.sixWeeks&&ae.length<6){const De=6-ae.length,Ht=(Te.getDay()+7-ke)%7,un=6-(he.getDay()+7-ke)%7,[Di,zs]=U(Ht,un);for(let dn=1;dn<=De;dn++)if(zs?!!(dn%2)==Di:Di){const En=ae[0].days[0],Sn=j(ss(En.value,-7),at(Te));ae.unshift({days:Sn})}else{const En=ae[ae.length-1],Sn=En.days[En.days.length-1],ii=j(ss(Sn.value,1),at(Te));ae.push({days:ii})}}return ae},j=(ae,Te)=>{const he=Ee(ae),ke=[];for(let De=0;De<7;De++){const Ht=ss(he,De),un=at(Ht)!==Te;ke.push({text:t.hideOffsetDates&&un?"":Ht.getDate(),value:Ht,current:!un,classData:{}})}return ke},se=(ae,Te)=>{const he=[],ke=new Date(Te,ae),De=new Date(Te,ae+1,0),Ht=t.weekStart,un=fs(ke,{weekStartsOn:Ht}),Di=zs=>{const dn=j(zs,ae);if(he.push({days:dn}),!he[he.length-1].days.some(En=>ct(ni(En.value),ni(De)))){const En=ss(zs,7);Di(En)}};return Di(un),re(he,ke,De,Ht)},ee=ae=>{const Te=eo(Ee(ae.value),u.hours,u.minutes,Be());e("date-update",Te),b.value.enabled?H_(Te,l,b.value.limit):l.value=Te,i(),Rn().then(()=>{J()})},fe=ae=>p.value.noDisabledRange?QS(s.value[0],ae).some(Te=>C(Te)):!1,me=()=>{s.value=l.value?l.value.slice():[],s.value.length===2&&!(p.value.fixedStart||p.value.fixedEnd)&&(s.value=[])},pe=(ae,Te)=>{const he=[Ee(ae.value),ss(Ee(ae.value),+p.value.autoRange)];w(he)?(Te&&Le(ae.value),s.value=he):e("invalid-date",ae.value)},Le=ae=>{const Te=at(Ee(ae)),he=Ge(Ee(ae));if(I(0,Te,he),h.value.count>0)for(let ke=1;ke{if(fe(ae.value)||!x(ae.value,l.value,p.value.fixedStart?0:1))return e("invalid-date",ae.value);s.value=lC(Ee(ae.value),l,e,p)},ze=(ae,Te)=>{if(me(),p.value.autoRange)return pe(ae,Te);if(p.value.fixedStart||p.value.fixedEnd)return Ae(ae);s.value[0]?x(Ee(ae.value),l.value)&&!fe(ae.value)?Xt(Ee(ae.value),Ee(s.value[0]))?(s.value.unshift(Ee(ae.value)),e("range-end",s.value[0])):(s.value[1]=Ee(ae.value),e("range-end",s.value[1])):(t.autoApply&&e("auto-apply-invalid",ae.value),e("invalid-date",ae.value)):(s.value[0]=Ee(ae.value),e("range-start",s.value[0]))},Be=(ae=!0)=>t.enableSeconds?Array.isArray(u.seconds)?ae?u.seconds[0]:u.seconds[1]:u.seconds:0,it=ae=>{s.value[ae]=eo(s.value[ae],u.hours[ae],u.minutes[ae],Be(ae!==1))},Ze=()=>{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]))},Mt=()=>{s.value.length&&(s.value[0]&&!s.value[1]?it(0):(it(0),it(1),i()),Ze(),l.value=s.value.slice(),vf(s.value,e,t.autoApply,t.modelAuto))},gn=(ae,Te=!1)=>{if(C(ae.value)||!ae.current&&t.hideOffsetDates)return e("invalid-date",ae.value);if(o.value=JSON.parse(JSON.stringify(ae)),!p.value.enabled)return ee(ae);Ab(u.hours)&&Ab(u.minutes)&&!b.value.enabled&&(ze(ae,Te),Mt())},Un=(ae,Te)=>{var he;I(ae,Te.month,Te.year,!0),h.value.count&&!h.value.solo&&de(ae),e("update-month-year",{instance:ae,month:Te.month,year:Te.year}),n(h.value.solo?ae:void 0);const ke=(he=t.flow)!=null&&he.length?t.flow[t.flowStep]:void 0;!Te.fromNav&&(ke===zn.month||ke===zn.year)&&i()},Ri=(ae,Te)=>{aC({value:ae,modelValue:l,range:p.value.enabled,timezone:Te?void 0:y.value.timezone}),W(),t.multiCalendars&&Rn().then(()=>ne(!0))},wi=()=>{const ae=F_(Ee(),y.value);p.value.enabled?l.value&&Array.isArray(l.value)&&l.value[0]?l.value=Xt(ae,l.value[0])?[ae,l.value[0]]:[l.value[0],ae]:l.value=[ae]:l.value=ae,W()},Xi=()=>{if(Array.isArray(l.value))if(b.value.enabled){const ae=Ut();l.value[l.value.length-1]=k(ae)}else l.value=l.value.map((ae,Te)=>ae&&k(ae,Te));else l.value=k(l.value);e("time-update")},Ut=()=>Array.isArray(l.value)&&l.value.length?l.value[l.value.length-1]:null;return{calendars:c,modelValue:l,month:te,year:N,time:u,disabledTimesConfig:H,today:d,validateTime:F,getCalendarDays:se,getMarker:K,handleScroll:ge,handleSwipe:O,handleArrow:S,selectDate:gn,updateMonthYear:Un,presetDate:Ri,selectCurrentDate:wi,updateTime:(ae,Te=!0,he=!1)=>{T(ae,Te,he,Xi)},assignMonthAndYear:Y}},iV={key:0},sV=cn({__name:"DatePicker",props:{...ps},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:h,getCalendarDays:f,getMarker:p,handleArrow:m,handleScroll:y,handleSwipe:v,selectDate:b,updateMonthYear:E,presetDate:C,selectCurrentDate:w,updateTime:x,assignMonthAndYear:T}=nV(s,i,ue,Y),k=pa(),{setHoverDate:A,getDayClassData:P,clearHoverDate:F}=wV(l,s),{defaultedMultiCalendars:H}=Wt(s),te=we([]),N=we([]),L=we(null),I=ki(k,"calendar"),W=ki(k,"monthYear"),X=ki(k,"timePicker"),J=ge=>{s.shadow||i("mount",ge)};fn(r,()=>{s.shadow||setTimeout(()=>{i("recalculate-position")},0)},{deep:!0}),fn(H,(ge,S)=>{ge.count-S.count>0&&T()},{deep:!0});const ne=be(()=>ge=>f(o.value(ge),a.value(ge)).map(S=>({...S,days:S.days.map(O=>(O.marker=p(O),O.classData=P(O),O))})));function ue(ge){var S;ge||ge===0?(S=N.value[ge])==null||S.triggerTransition(o.value(ge),a.value(ge)):N.value.forEach((O,K)=>O.triggerTransition(o.value(K),a.value(K)))}function Y(){i("update-flow-step")}const Z=(ge,S=!1)=>{b(ge,S),s.spaceConfirm&&i("select-date")},M=(ge,S,O=0)=>{var K;(K=te.value[O])==null||K.toggleMonthPicker(ge,S)},ie=(ge,S,O=0)=>{var K;(K=te.value[O])==null||K.toggleYearPicker(ge,S)},le=(ge,S,O)=>{var K;(K=L.value)==null||K.toggleTimePicker(ge,S,O)},$=(ge,S)=>{var O;if(!s.range){const K=l.value?l.value:d,U=S?new Date(S):K,re=ge?fs(U,{weekStartsOn:1}):DS(U,{weekStartsOn:1});b({value:re,current:at(U)===o.value(0),text:"",classData:{}}),(O=document.getElementById(sC(re)))==null||O.focus()}},oe=ge=>{var S;(S=te.value[0])==null||S.handleMonthYearChange(ge,!0)},de=ge=>{E(0,{month:o.value(0),year:a.value(0)+(ge?1:-1),fromNav:!0})},ve=(ge,S)=>{ge===zn.time&&i(`time-picker-${S?"open":"close"}`),i("overlay-toggle",{open:S,overlay:ge})},z=ge=>{i("overlay-toggle",{open:!1,overlay:ge}),i("focus-menu")};return e({clearHoverDate:F,presetDate:C,selectCurrentDate:w,toggleMonthPicker:M,toggleYearPicker:ie,toggleTimePicker:le,handleArrow:m,updateMonthYear:E,getSidebarProps:()=>({modelValue:l,month:o,year:a,time:c,updateTime:x,updateMonthYear:E,selectDate:b,presetDate:C}),changeMonth:oe,changeYear:de,selectWeekDate:$}),(ge,S)=>(D(),V($e,null,[B(yf,{"multi-calendars":Q(H).count,collapse:ge.collapse},{default:Re(({instance:O,index:K})=>[ge.disableMonthYearSelect?ce("",!0):(D(),Ce(U4,yn({key:0,ref:U=>{U&&(te.value[K]=U)},months:Q(US)(ge.formatLocale,ge.locale,ge.monthNameFormat),years:Q(B_)(ge.yearRange,ge.locale,ge.reverseYears),month:Q(o)(O),year:Q(a)(O),instance:O},ge.$props,{onMount:S[0]||(S[0]=U=>J(Q(ta).header)),onResetFlow:S[1]||(S[1]=U=>ge.$emit("reset-flow")),onUpdateMonthYear:U=>Q(E)(O,U),onOverlayClosed:z,onOverlayOpened:S[2]||(S[2]=U=>ge.$emit("overlay-toggle",{open:!0,overlay:U}))}),jn({_:2},[Xe(Q(W),(U,re)=>({name:U,fn:Re(j=>[Ne(ge.$slots,U,In(Zn(j)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),B(tV,yn({ref:U=>{U&&(N.value[K]=U)},"mapped-dates":ne.value(O),month:Q(o)(O),year:Q(a)(O),instance:O},ge.$props,{onSelectDate:U=>Q(b)(U,O!==1),onHandleSpace:U=>Z(U,O!==1),onSetHoverDate:S[3]||(S[3]=U=>Q(A)(U)),onHandleScroll:U=>Q(y)(U,O),onHandleSwipe:U=>Q(v)(U,O),onMount:S[4]||(S[4]=U=>J(Q(ta).calendar)),onResetFlow:S[5]||(S[5]=U=>ge.$emit("reset-flow")),onTooltipOpen:S[6]||(S[6]=U=>ge.$emit("tooltip-open",U)),onTooltipClose:S[7]||(S[7]=U=>ge.$emit("tooltip-close",U))}),jn({_:2},[Xe(Q(I),(U,re)=>({name:U,fn:Re(j=>[Ne(ge.$slots,U,In(Zn({...j})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),ge.enableTimePicker?(D(),V("div",iV,[ge.$slots["time-picker"]?Ne(ge.$slots,"time-picker",In(yn({key:0},{time:Q(c),updateTime:Q(x)}))):(D(),Ce(uC,yn({key:1,ref_key:"timePickerRef",ref:L},ge.$props,{hours:Q(c).hours,minutes:Q(c).minutes,seconds:Q(c).seconds,"internal-model-value":ge.internalModelValue,"disabled-times-config":Q(u),"validate-time":Q(h),onMount:S[8]||(S[8]=O=>J(Q(ta).timePicker)),"onUpdate:hours":S[9]||(S[9]=O=>Q(x)(O)),"onUpdate:minutes":S[10]||(S[10]=O=>Q(x)(O,!1)),"onUpdate:seconds":S[11]||(S[11]=O=>Q(x)(O,!1,!0)),onResetFlow:S[12]||(S[12]=O=>ge.$emit("reset-flow")),onOverlayClosed:S[13]||(S[13]=O=>ve(O,!1)),onOverlayOpened:S[14]||(S[14]=O=>ve(O,!0)),onAmPmChange:S[15]||(S[15]=O=>ge.$emit("am-pm-change",O))}),jn({_:2},[Xe(Q(X),(O,K)=>({name:O,fn:Re(U=>[Ne(ge.$slots,O,In(Zn(U)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):ce("",!0)],64))}}),rV=(t,e)=>{const n=we(),{defaultedMultiCalendars:i,defaultedConfig:s,defaultedHighlight:r,defaultedRange:o,propDates:a,defaultedFilters:l,defaultedMultiDates:c}=Wt(t),{modelValue:u,year:d,month:h,calendars:f}=Fu(t,e),{isDisabled:p}=_o(t),{selectYear:m,groupedYears:y,showYearPicker:v,isDisabled:b,toggleYearPicker:E,handleYearSelect:C,handleYear:w}=cC({modelValue:u,multiCalendars:i,range:o,highlight:r,calendars:f,propDates:a,month:h,year:d,filters:l,props:t,emit:e}),x=(L,I)=>[L,I].map(W=>Rs(W,"MMMM",{locale:t.formatLocale})).join("-"),T=be(()=>L=>u.value?Array.isArray(u.value)?u.value.some(I=>bb(L,I)):bb(u.value,L):!1),k=L=>{if(o.value.enabled){if(Array.isArray(u.value)){const I=ct(L,u.value[0])||ct(L,u.value[1]);return mf(u.value,n.value,L)&&!I}return!1}return!1},A=(L,I)=>L.quarter===gb(I)&&L.year===Ge(I),P=L=>typeof r.value=="function"?r.value({quarter:gb(L),year:Ge(L)}):!!r.value.quarters.find(I=>A(I,L)),F=be(()=>L=>{const I=It(new Date,{year:d.value(L)});return DF({start:ru(I),end:RS(I)}).map(W=>{const X=Ko(W),J=pb(W),ne=p(W),ue=k(X),Y=P(X);return{text:x(X,J),value:X,active:T.value(X),highlighted:Y,disabled:ne,isBetween:ue}})}),H=L=>{H_(L,u,c.value.limit),e("auto-apply",!0)},te=L=>{u.value=Y_(u,L,e),vf(u.value,e,t.autoApply,t.modelAuto)},N=L=>{u.value=L,e("auto-apply")};return{defaultedConfig:s,defaultedMultiCalendars:i,groupedYears:y,year:d,isDisabled:b,quarters:F,showYearPicker:v,modelValue:u,setHoverDate:L=>{n.value=L},selectYear:m,selectQuarter:(L,I,W)=>{if(!W)return f.value[I].month=at(pb(L)),c.value.enabled?H(L):o.value.enabled?te(L):N(L)},toggleYearPicker:E,handleYearSelect:C,handleYear:w}},oV={class:"dp--quarter-items"},aV=["data-test","disabled","onClick","onMouseover"],lV=cn({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...ps},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=pa(),o=ki(r,"yearMode"),{defaultedMultiCalendars:a,defaultedConfig:l,groupedYears:c,year:u,isDisabled:d,quarters:h,modelValue:f,showYearPicker:p,setHoverDate:m,selectQuarter:y,toggleYearPicker:v,handleYearSelect:b,handleYear:E}=rV(s,i);return e({getSidebarProps:()=>({modelValue:f,year:u,selectQuarter:y,handleYearSelect:b,handleYear:E})}),(C,w)=>(D(),Ce(yf,{"multi-calendars":Q(a).count,collapse:C.collapse,stretch:""},{default:Re(({instance:x})=>[g("div",{class:"dp-quarter-picker-wrap",style:Mn({minHeight:`${Q(l).modeHeight}px`})},[C.$slots["top-extra"]?Ne(C.$slots,"top-extra",{key:0,value:C.internalModelValue}):ce("",!0),g("div",null,[B(oC,yn(C.$props,{items:Q(c)(x),instance:x,"show-year-picker":Q(p)[x],year:Q(u)(x),"is-disabled":T=>Q(d)(x,T),onHandleYear:T=>Q(E)(x,T),onYearSelect:T=>Q(b)(T,x),onToggleYearPicker:T=>Q(v)(x,T?.flow,T?.show)}),jn({_:2},[Xe(Q(o),(T,k)=>({name:T,fn:Re(A=>[Ne(C.$slots,T,In(Zn(A)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),g("div",oV,[(D(!0),V($e,null,Xe(Q(h)(x),(T,k)=>(D(),V("div",{key:k},[g("button",{type:"button",class:Me(["dp--qr-btn",{"dp--qr-btn-active":T.active,"dp--qr-btn-between":T.isBetween,"dp--qr-btn-disabled":T.disabled,"dp--highlighted":T.highlighted}]),"data-test":T.value,disabled:T.disabled,onClick:A=>Q(y)(T.value,x,T.disabled),onMouseover:A=>Q(m)(T.value)},[C.$slots.quarter?Ne(C.$slots,"quarter",{key:0,value:T.value,text:T.text}):(D(),V($e,{key:1},[Ye(xe(T.text),1)],64))],42,aV)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),cV=["id","tabindex","role","aria-label"],uV={key:0,class:"dp--menu-load-container"},dV=g("span",{class:"dp--menu-loader"},null,-1),hV=[dV],fV={key:1,class:"dp--menu-header"},gV={key:0,class:"dp__sidebar_left"},pV=["data-test","onClick","onKeydown"],mV={key:2,class:"dp__sidebar_right"},_V={key:3,class:"dp__action_extra"},Mb=cn({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{..._f,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=we(null),o=be(()=>{const{openOnTop:j,...se}=s;return{...se,flowStep:A.value,collapse:s.collapse,noOverlayFocus:s.noOverlayFocus,menuWrapRef:r.value}}),{setMenuFocused:a,setShiftKey:l,control:c}=rC(),u=pa(),{defaultedTextInput:d,defaultedInline:h,defaultedConfig:f,defaultedUI:p}=Wt(s),m=we(null),y=we(0),v=we(null),b=we(!1),E=we(null);xn(()=>{if(!s.shadow){b.value=!0,C(),window.addEventListener("resize",C);const j=mn(r);if(j&&!d.value.enabled&&!h.value.enabled&&(a(!0),I()),j){const se=ee=>{f.value.allowPreventDefault&&ee.preventDefault(),Qr(ee,f.value,!0)};j.addEventListener("pointerdown",se),j.addEventListener("mousedown",se)}}}),Yl(()=>{window.removeEventListener("resize",C)});const C=()=>{const j=mn(v);j&&(y.value=j.getBoundingClientRect().width)},{arrowRight:w,arrowLeft:x,arrowDown:T,arrowUp:k}=mo(),{flowStep:A,updateFlowStep:P,childMount:F,resetFlow:H,handleFlow:te}=xV(s,i,E),N=be(()=>s.monthPicker?x4:s.yearPicker?S4:s.timePicker?z4:s.quarterPicker?lV:sV),L=be(()=>{var j;if(f.value.arrowLeft)return f.value.arrowLeft;const se=(j=r.value)==null?void 0:j.getBoundingClientRect(),ee=s.getInputRect();return ee?.width=(se?.right??0)&&ee?.width{const j=mn(r);j&&j.focus({preventScroll:!0})},W=be(()=>{var j;return((j=E.value)==null?void 0:j.getSidebarProps())||{}}),X=()=>{s.openOnTop&&i("recalculate-position")},J=ki(u,"action"),ne=be(()=>s.monthPicker||s.yearPicker?ki(u,"monthYear"):s.timePicker?ki(u,"timePicker"):ki(u,"shared")),ue=be(()=>s.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),Y=be(()=>({dp__menu_disabled:s.disabled,dp__menu_readonly:s.readonly,"dp-menu-loading":s.loading})),Z=be(()=>({dp__menu:!0,dp__menu_index:!h.value.enabled,dp__relative:h.value.enabled,...p.value.menu??{}})),M=j=>{Qr(j,f.value,!0)},ie=()=>{s.escClose&&i("close-picker")},le=j=>{if(s.arrowNavigation){if(j===Xn.up)return k();if(j===Xn.down)return T();if(j===Xn.left)return x();if(j===Xn.right)return w()}else j===Xn.left||j===Xn.up?z("handleArrow",Xn.left,0,j===Xn.up):z("handleArrow",Xn.right,0,j===Xn.down)},$=j=>{l(j.shiftKey),!s.disableMonthYearSelect&&j.code===Lt.tab&&j.target.classList.contains("dp__menu")&&c.value.shiftKeyInMenu&&(j.preventDefault(),Qr(j,f.value,!0),i("close-picker"))},oe=()=>{I(),i("time-picker-close")},de=j=>{var se,ee,fe;(se=E.value)==null||se.toggleTimePicker(!1,!1),(ee=E.value)==null||ee.toggleMonthPicker(!1,!1,j),(fe=E.value)==null||fe.toggleYearPicker(!1,!1,j)},ve=(j,se=0)=>{var ee,fe,me;return j==="month"?(ee=E.value)==null?void 0:ee.toggleMonthPicker(!1,!0,se):j==="year"?(fe=E.value)==null?void 0:fe.toggleYearPicker(!1,!0,se):j==="time"?(me=E.value)==null?void 0:me.toggleTimePicker(!0,!1):de(se)},z=(j,...se)=>{var ee,fe;(ee=E.value)!=null&&ee[j]&&((fe=E.value)==null||fe[j](...se))},ge=()=>{z("selectCurrentDate")},S=(j,se)=>{z("presetDate",j,se)},O=()=>{z("clearHoverDate")},K=(j,se)=>{z("updateMonthYear",j,se)},U=(j,se)=>{j.preventDefault(),le(se)},re=j=>{var se,ee,fe;if($(j),j.key===Lt.home||j.key===Lt.end)return z("selectWeekDate",j.key===Lt.home,j.target.getAttribute("id"));switch((j.key===Lt.pageUp||j.key===Lt.pageDown)&&(j.shiftKey?(z("changeYear",j.key===Lt.pageUp),(se=tm(r.value,"overlay-year"))==null||se.focus()):(z("changeMonth",j.key===Lt.pageUp),(ee=tm(r.value,j.key===Lt.pageUp?"action-prev":"action-next"))==null||ee.focus()),j.target.getAttribute("id")&&((fe=r.value)==null||fe.focus({preventScroll:!0}))),j.key){case Lt.esc:return ie();case Lt.arrowLeft:return U(j,Xn.left);case Lt.arrowRight:return U(j,Xn.right);case Lt.arrowUp:return U(j,Xn.up);case Lt.arrowDown:return U(j,Xn.down);default:return}};return e({updateMonthYear:K,switchView:ve,handleFlow:te}),(j,se)=>{var ee,fe,me;return D(),V("div",{id:j.uid?`dp-menu-${j.uid}`:void 0,ref_key:"dpMenuRef",ref:r,tabindex:Q(h).enabled?void 0:"0",role:Q(h).enabled?void 0:"dialog","aria-label":(ee=j.ariaLabels)==null?void 0:ee.menu,class:Me(Z.value),style:Mn({"--dp-arrow-left":L.value}),onMouseleave:O,onClick:M,onKeydown:re},[(j.disabled||j.readonly)&&Q(h).enabled||j.loading?(D(),V("div",{key:0,class:Me(Y.value)},[j.loading?(D(),V("div",uV,hV)):ce("",!0)],2)):ce("",!0),j.$slots["menu-header"]?(D(),V("div",fV,[Ne(j.$slots,"menu-header")])):ce("",!0),!Q(h).enabled&&!j.teleportCenter?(D(),V("div",{key:2,class:Me(ue.value)},null,2)):ce("",!0),g("div",{ref_key:"innerMenuRef",ref:v,class:Me({dp__menu_content_wrapper:((fe=j.presetDates)==null?void 0:fe.length)||!!j.$slots["left-sidebar"]||!!j.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":t.collapse&&(((me=j.presetDates)==null?void 0:me.length)||!!j.$slots["left-sidebar"]||!!j.$slots["right-sidebar"])}),style:Mn({"--dp-menu-width":`${y.value}px`})},[j.$slots["left-sidebar"]?(D(),V("div",gV,[Ne(j.$slots,"left-sidebar",In(Zn(W.value)))])):ce("",!0),j.presetDates.length?(D(),V("div",{key:1,class:Me({"dp--preset-dates-collapsed":t.collapse,"dp--preset-dates":!0})},[(D(!0),V($e,null,Xe(j.presetDates,(pe,Le)=>(D(),V($e,{key:Le},[pe.slot?Ne(j.$slots,pe.slot,{key:0,presetDate:S,label:pe.label,value:pe.value}):(D(),V("button",{key:1,type:"button",style:Mn(pe.style||{}),class:Me(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":t.collapse}]),"data-test":pe.testId??void 0,onClick:iu(Ae=>S(pe.value,pe.noTz),["prevent"]),onKeydown:Ae=>Q(Qn)(Ae,()=>S(pe.value,pe.noTz),!0)},xe(pe.label),47,pV))],64))),128))],2)):ce("",!0),g("div",{ref_key:"calendarWrapperRef",ref:m,class:"dp__instance_calendar",role:"document"},[(D(),Ce(ga(N.value),yn({ref_key:"dynCmpRef",ref:E},o.value,{"flow-step":Q(A),onMount:Q(F),onUpdateFlowStep:Q(P),onResetFlow:Q(H),onFocusMenu:I,onSelectDate:se[0]||(se[0]=pe=>j.$emit("select-date")),onDateUpdate:se[1]||(se[1]=pe=>j.$emit("date-update",pe)),onTooltipOpen:se[2]||(se[2]=pe=>j.$emit("tooltip-open",pe)),onTooltipClose:se[3]||(se[3]=pe=>j.$emit("tooltip-close",pe)),onAutoApply:se[4]||(se[4]=pe=>j.$emit("auto-apply",pe)),onRangeStart:se[5]||(se[5]=pe=>j.$emit("range-start",pe)),onRangeEnd:se[6]||(se[6]=pe=>j.$emit("range-end",pe)),onInvalidFixedRange:se[7]||(se[7]=pe=>j.$emit("invalid-fixed-range",pe)),onTimeUpdate:se[8]||(se[8]=pe=>j.$emit("time-update")),onAmPmChange:se[9]||(se[9]=pe=>j.$emit("am-pm-change",pe)),onTimePickerOpen:se[10]||(se[10]=pe=>j.$emit("time-picker-open",pe)),onTimePickerClose:oe,onRecalculatePosition:X,onUpdateMonthYear:se[11]||(se[11]=pe=>j.$emit("update-month-year",pe)),onAutoApplyInvalid:se[12]||(se[12]=pe=>j.$emit("auto-apply-invalid",pe)),onInvalidDate:se[13]||(se[13]=pe=>j.$emit("invalid-date",pe)),onOverlayToggle:se[14]||(se[14]=pe=>j.$emit("overlay-toggle",pe)),"onUpdate:internalModelValue":se[15]||(se[15]=pe=>j.$emit("update:internal-model-value",pe))}),jn({_:2},[Xe(ne.value,(pe,Le)=>({name:pe,fn:Re(Ae=>[Ne(j.$slots,pe,In(Zn({...Ae})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),j.$slots["right-sidebar"]?(D(),V("div",mV,[Ne(j.$slots,"right-sidebar",In(Zn(W.value)))])):ce("",!0),j.$slots["action-extra"]?(D(),V("div",_V,[j.$slots["action-extra"]?Ne(j.$slots,"action-extra",{key:0,selectCurrentDate:ge}):ce("",!0)])):ce("",!0)],6),!j.autoApply||Q(f).keepActionRow?(D(),Ce(g4,yn({key:3,"menu-mount":b.value},o.value,{"calendar-width":y.value,onClosePicker:se[16]||(se[16]=pe=>j.$emit("close-picker")),onSelectDate:se[17]||(se[17]=pe=>j.$emit("select-date")),onInvalidSelect:se[18]||(se[18]=pe=>j.$emit("invalid-select")),onSelectNow:ge}),jn({_:2},[Xe(Q(J),(pe,Le)=>({name:pe,fn:Re(Ae=>[Ne(j.$slots,pe,In(Zn({...Ae})))])}))]),1040,["menu-mount","calendar-width"])):ce("",!0)],46,cV)}}});var Ka=(t=>(t.center="center",t.left="left",t.right="right",t))(Ka||{});const yV=({menuRef:t,menuRefInner:e,inputRef:n,pickerWrapperRef:i,inline:s,emit:r,props:o,slots:a})=>{const{defaultedConfig:l}=Wt(o),c=we({}),u=we(!1),d=we({top:"0",left:"0"}),h=we(!1),f=Zc(o,"teleportCenter");fn(f,()=>{d.value=JSON.parse(JSON.stringify({})),w()});const p=I=>{if(o.teleport){const W=I.getBoundingClientRect();return{left:W.left+window.scrollX,top:W.top+window.scrollY}}return{top:0,left:0}},m=(I,W)=>{d.value.left=`${I+W-c.value.width}px`},y=I=>{d.value.left=`${I}px`},v=(I,W)=>{o.position===Ka.left&&y(I),o.position===Ka.right&&m(I,W),o.position===Ka.center&&(d.value.left=`${I+W/2-c.value.width/2}px`)},b=I=>{const{width:W,height:X}=I.getBoundingClientRect(),{top:J,left:ne}=o.altPosition?o.altPosition(I):p(I);return{top:+J,left:+ne,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},C=()=>{const I=mn(n),{top:W,left:X,transform:J}=o.altPosition(I);d.value={top:`${W}px`,left:`${X}px`,transform:J??""}},w=(I=!0)=>{var W;if(!s.value.enabled){if(f.value)return E();if(o.altPosition!==null)return C();if(I){const X=o.teleport?(W=e.value)==null?void 0:W.$el:t.value;X&&(c.value=X.getBoundingClientRect()),r("recalculate-position")}return H()}},x=({inputEl:I,left:W,width:X})=>{window.screen.width>768&&!u.value&&v(W,X),A(I)},T=I=>{const{top:W,left:X,height:J,width:ne}=b(I);d.value.top=`${J+W+ +o.offset}px`,h.value=!1,u.value||(d.value.left=`${X+ne/2-c.value.width/2}px`),x({inputEl:I,left:X,width:ne})},k=I=>{const{top:W,left:X,width:J}=b(I);d.value.top=`${W-+o.offset-c.value.height}px`,h.value=!0,x({inputEl:I,left:X,width:J})},A=I=>{if(o.autoPosition){const{left:W,width:X}=b(I),{left:J,right:ne}=c.value;if(!u.value){if(Math.abs(J)!==Math.abs(ne)){if(J<=0)return u.value=!0,y(W);if(ne>=document.documentElement.clientWidth)return u.value=!0,m(W,X)}return v(W,X)}}},P=()=>{const I=mn(n);if(I){const{height:W}=c.value,{top:X,height:J}=I.getBoundingClientRect(),ne=window.innerHeight-X-J,ue=X;return W<=ne?Vo.bottom:W>ne&&W<=ue?Vo.top:ne>=ue?Vo.bottom:Vo.top}return Vo.bottom},F=I=>P()===Vo.bottom?T(I):k(I),H=()=>{const I=mn(n);if(I)return o.autoPosition?F(I):T(I)},te=function(I){if(I){const W=I.scrollHeight>I.clientHeight,X=window.getComputedStyle(I).overflowY.indexOf("hidden")!==-1;return W&&!X}return!0},N=function(I){return!I||I===document.body||I.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:te(I)?I:N(I.assignedSlot&&l.value.shadowDom?I.assignedSlot.parentNode:I.parentNode)},L=I=>{if(I)switch(o.position){case Ka.left:return{left:0,transform:"translateX(0)"};case Ka.right:return{left:`${I.width}px`,transform:"translateX(-100%)"};default:return{left:`${I.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:h,menuStyle:d,xCorrect:u,setMenuPosition:w,getScrollableParent:N,shadowRender:(I,W)=>{var X,J,ne;const ue=document.createElement("div"),Y=(X=mn(n))==null?void 0:X.getBoundingClientRect();ue.setAttribute("id","dp--temp-container");const Z=(J=i.value)!=null&&J.clientWidth?i.value:document.body;Z.append(ue);const M=L(Y),ie=l.value.shadowDom?Object.keys(a).filter($=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes($)):Object.keys(a),le=la(I,{...W,shadow:!0,style:{opacity:0,position:"absolute",...M}},Object.fromEntries(ie.map($=>[$,a[$]])));Kv(le,ue),c.value=(ne=le.el)==null?void 0:ne.getBoundingClientRect(),Kv(null,ue),Z.removeChild(ue)}}},kr=[{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"]}],vV=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],bV={all:()=>kr,monthYear:()=>kr.filter(t=>t.use.includes("month-year")),input:()=>vV,timePicker:()=>kr.filter(t=>t.use.includes("time")),action:()=>kr.filter(t=>t.use.includes("action")),calendar:()=>kr.filter(t=>t.use.includes("calendar")),menu:()=>kr.filter(t=>t.use.includes("menu")),shared:()=>kr.filter(t=>t.use.includes("shared")),yearMode:()=>kr.filter(t=>t.use.includes("year-mode"))},ki=(t,e,n)=>{const i=[];return bV[e]().forEach(s=>{t[s.name]&&i.push(s.name)}),n!=null&&n.length&&n.forEach(s=>{s.slot&&i.push(s.slot)}),i},Nu=t=>{const e=be(()=>i=>t.value?i?t.value.open:t.value.close:""),n=be(()=>i=>t.value?i?t.value.menuAppearTop:t.value.menuAppearBottom:"");return{transitionName:e,showTransition:!!t.value,menuTransition:n}},Fu=(t,e,n)=>{const{defaultedRange:i,defaultedTz:s}=Wt(t),r=Ee(_i(Ee(),s.value.timezone)),o=we([{month:at(r),year:Ge(r)}]),a=h=>{const f={hours:pr(r),minutes:oo(r),seconds:0};return i.value.enabled?[f[h],f[h]]:f[h]},l=Ns({hours:a("hours"),minutes:a("minutes"),seconds:a("seconds")});fn(i,(h,f)=>{h.enabled!==f.enabled&&(l.hours=a("hours"),l.minutes=a("minutes"),l.seconds=a("seconds"))},{deep:!0});const c=be({get:()=>t.internalModelValue,set:h=>{!t.readonly&&!t.disabled&&e("update:internal-model-value",h)}}),u=be(()=>h=>o.value[h]?o.value[h].month:0),d=be(()=>h=>o.value[h]?o.value[h].year:0);return fn(c,(h,f)=>{n&&JSON.stringify(h??{})!==JSON.stringify(f??{})&&n()},{deep:!0}),{calendars:o,time:l,modelValue:c,month:u,year:d,today:r}},wV=(t,e)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:i,defaultedUI:s,defaultedHighlight:r,defaultedTz:o,propDates:a,defaultedRange:l}=Wt(e),{isDisabled:c}=_o(e),u=we(null),d=we(_i(new Date,o.value.timezone)),h=M=>{!M.current&&e.hideOffsetDates||(u.value=M.value)},f=()=>{u.value=null},p=M=>Array.isArray(t.value)&&l.value.enabled&&t.value[0]&&u.value?M?nn(u.value,t.value[0]):Xt(u.value,t.value[0]):!0,m=(M,ie)=>{const le=()=>t.value?ie?t.value[0]||null:t.value[1]:null,$=t.value&&Array.isArray(t.value)?le():null;return ct(Ee(M.value),$)},y=M=>{const ie=Array.isArray(t.value)?t.value[0]:null;return M?!Xt(u.value??null,ie):!0},v=(M,ie=!0)=>(l.value.enabled||e.weekPicker)&&Array.isArray(t.value)&&t.value.length===2?e.hideOffsetDates&&!M.current?!1:ct(Ee(M.value),t.value[ie?0:1]):l.value.enabled?m(M,ie)&&y(ie)||ct(M.value,Array.isArray(t.value)?t.value[0]:null)&&p(ie):!1,b=(M,ie)=>{if(Array.isArray(t.value)&&t.value[0]&&t.value.length===1){const le=ct(M.value,u.value);return ie?nn(t.value[0],M.value)&&le:Xt(t.value[0],M.value)&&le}return!1},E=M=>!t.value||e.hideOffsetDates&&!M.current?!1:l.value.enabled?e.modelAuto&&Array.isArray(t.value)?ct(M.value,t.value[0]?t.value[0]:d.value):!1:i.value.enabled&&Array.isArray(t.value)?t.value.some(ie=>ct(ie,M.value)):ct(M.value,t.value?t.value:d.value),C=M=>{if(l.value.autoRange||e.weekPicker){if(u.value){if(e.hideOffsetDates&&!M.current)return!1;const ie=ss(u.value,+l.value.autoRange),le=er(Ee(u.value),e.weekStart);return e.weekPicker?ct(le[1],Ee(M.value)):ct(ie,Ee(M.value))}return!1}return!1},w=M=>{if(l.value.autoRange||e.weekPicker){if(u.value){const ie=ss(u.value,+l.value.autoRange);if(e.hideOffsetDates&&!M.current)return!1;const le=er(Ee(u.value),e.weekStart);return e.weekPicker?nn(M.value,le[0])&&Xt(M.value,le[1]):nn(M.value,u.value)&&Xt(M.value,ie)}return!1}return!1},x=M=>{if(l.value.autoRange||e.weekPicker){if(u.value){if(e.hideOffsetDates&&!M.current)return!1;const ie=er(Ee(u.value),e.weekStart);return e.weekPicker?ct(ie[0],M.value):ct(u.value,M.value)}return!1}return!1},T=M=>mf(t.value,u.value,M.value),k=()=>e.modelAuto&&Array.isArray(e.internalModelValue)?!!e.internalModelValue[0]:!1,A=()=>e.modelAuto?GS(e.internalModelValue):!0,P=M=>{if(e.weekPicker)return!1;const ie=l.value.enabled?!v(M)&&!v(M,!1):!0;return!c(M.value)&&!E(M)&&!(!M.current&&e.hideOffsetDates)&&ie},F=M=>l.value.enabled?e.modelAuto?k()&&E(M):!1:E(M),H=M=>r.value?FB(M.value,a.value.highlight):!1,te=M=>{const ie=c(M.value);return ie&&(typeof r.value=="function"?!r.value(M.value,ie):!r.value.options.highlightDisabled)},N=M=>{var ie;return typeof r.value=="function"?r.value(M.value):(ie=r.value.weekdays)==null?void 0:ie.includes(M.value.getDay())},L=M=>(l.value.enabled||e.weekPicker)&&(!(n.value.count>0)||M.current)&&A()&&!(!M.current&&e.hideOffsetDates)&&!E(M)?T(M):!1,I=M=>{const{isRangeStart:ie,isRangeEnd:le}=ne(M),$=l.value.enabled?ie||le:!1;return{dp__cell_offset:!M.current,dp__pointer:!e.disabled&&!(!M.current&&e.hideOffsetDates)&&!c(M.value),dp__cell_disabled:c(M.value),dp__cell_highlight:!te(M)&&(H(M)||N(M))&&!F(M)&&!$&&!x(M)&&!(L(M)&&e.weekPicker)&&!le,dp__cell_highlight_active:!te(M)&&(H(M)||N(M))&&F(M),dp__today:!e.noToday&&ct(M.value,d.value)&&M.current,"dp--past":Xt(M.value,d.value),"dp--future":nn(M.value,d.value)}},W=M=>({dp__active_date:F(M),dp__date_hover:P(M)}),X=M=>{if(t.value&&!Array.isArray(t.value)){const ie=er(t.value,e.weekStart);return{...Y(M),dp__range_start:ct(ie[0],M.value),dp__range_end:ct(ie[1],M.value),dp__range_between_week:nn(M.value,ie[0])&&Xt(M.value,ie[1])}}return{...Y(M)}},J=M=>{if(t.value&&Array.isArray(t.value)){const ie=er(t.value[0],e.weekStart),le=t.value[1]?er(t.value[1],e.weekStart):[];return{...Y(M),dp__range_start:ct(ie[0],M.value)||ct(le[0],M.value),dp__range_end:ct(ie[1],M.value)||ct(le[1],M.value),dp__range_between_week:nn(M.value,ie[0])&&Xt(M.value,ie[1])||nn(M.value,le[0])&&Xt(M.value,le[1]),dp__range_between:nn(M.value,ie[1])&&Xt(M.value,le[0])}}return{...Y(M)}},ne=M=>{const ie=n.value.count>0?M.current&&v(M)&&A():v(M)&&A(),le=n.value.count>0?M.current&&v(M,!1)&&A():v(M,!1)&&A();return{isRangeStart:ie,isRangeEnd:le}},ue=M=>{const{isRangeStart:ie,isRangeEnd:le}=ne(M);return{dp__range_start:ie,dp__range_end:le,dp__range_between:L(M),dp__date_hover:ct(M.value,u.value)&&!ie&&!le&&!e.weekPicker,dp__date_hover_start:b(M,!0),dp__date_hover_end:b(M,!1)}},Y=M=>({...ue(M),dp__cell_auto_range:w(M),dp__cell_auto_range_start:x(M),dp__cell_auto_range_end:C(M)}),Z=M=>l.value.enabled?l.value.autoRange?Y(M):e.modelAuto?{...W(M),...ue(M)}:e.weekPicker?J(M):ue(M):e.weekPicker?X(M):W(M);return{setHoverDate:h,clearHoverDate:f,getDayClassData:M=>e.hideOffsetDates&&!M.current?{}:{...I(M),...Z(M),[e.dayClass?e.dayClass(M.value,e.internalModelValue):""]:!0,...s.value.calendarCell??{}}}},_o=t=>{const{defaultedFilters:e,defaultedRange:n,propDates:i,defaultedMultiDates:s}=Wt(t),r=N=>i.value.disabledDates?typeof i.value.disabledDates=="function"?i.value.disabledDates(Ee(N)):!!bh(N,i.value.disabledDates):!1,o=N=>i.value.maxDate?t.yearPicker?Ge(N)>Ge(i.value.maxDate):nn(N,i.value.maxDate):!1,a=N=>i.value.minDate?t.yearPicker?Ge(N){const L=o(N),I=a(N),W=r(N),X=e.value.months.map(Z=>+Z).includes(at(N)),J=t.disabledWeekDays.length?t.disabledWeekDays.some(Z=>+Z===T5(N)):!1,ne=f(N),ue=Ge(N),Y=ue<+t.yearRange[0]||ue>+t.yearRange[1];return!(L||I||W||X||Y||J||ne)},c=(N,L)=>Xt(...Yr(i.value.minDate,N,L))||ct(...Yr(i.value.minDate,N,L)),u=(N,L)=>nn(...Yr(i.value.maxDate,N,L))||ct(...Yr(i.value.maxDate,N,L)),d=(N,L,I)=>{let W=!1;return i.value.maxDate&&I&&u(N,L)&&(W=!0),i.value.minDate&&!I&&c(N,L)&&(W=!0),W},h=(N,L,I,W)=>{let X=!1;return W?i.value.minDate&&i.value.maxDate?X=d(N,L,I):(i.value.minDate&&c(N,L)||i.value.maxDate&&u(N,L))&&(X=!0):X=!0,X},f=N=>Array.isArray(i.value.allowedDates)&&!i.value.allowedDates.length?!0:i.value.allowedDates?!bh(N,i.value.allowedDates):!1,p=N=>!l(N),m=N=>n.value.noDisabledRange?!PS({start:N[0],end:N[1]}).some(L=>p(L)):!0,y=N=>{if(N){const L=Ge(N);return L>=+t.yearRange[0]&&L<=t.yearRange[1]}return!0},v=(N,L)=>!!(Array.isArray(N)&&N[L]&&(n.value.maxRange||n.value.minRange)&&y(N[L])),b=(N,L,I=0)=>{if(v(L,I)&&y(N)){const W=MS(N,L[I]),X=QS(L[I],N),J=X.length===1?0:X.filter(ue=>p(ue)).length,ne=Math.abs(W)-(n.value.minMaxRawRange?0:J);if(n.value.minRange&&n.value.maxRange)return ne>=+n.value.minRange&&ne<=+n.value.maxRange;if(n.value.minRange)return ne>=+n.value.minRange;if(n.value.maxRange)return ne<=+n.value.maxRange}return!0},E=()=>!t.enableTimePicker||t.monthPicker||t.yearPicker||t.ignoreTimeValidation,C=N=>Array.isArray(N)?[N[0]?Og(N[0]):null,N[1]?Og(N[1]):null]:Og(N),w=(N,L,I)=>N.find(W=>+W.hours===pr(L)&&W.minutes==="*"?!0:+W.minutes===oo(L)&&+W.hours===pr(L))&&I,x=(N,L,I)=>{const[W,X]=N,[J,ne]=L;return!w(W,J,I)&&!w(X,ne,I)&&I},T=(N,L)=>{const I=Array.isArray(L)?L:[L];return Array.isArray(t.disabledTimes)?Array.isArray(t.disabledTimes[0])?x(t.disabledTimes,I,N):!I.some(W=>w(t.disabledTimes,W,N)):N},k=(N,L)=>{const I=Array.isArray(L)?[na(L[0]),L[1]?na(L[1]):void 0]:na(L),W=!t.disabledTimes(I);return N&&W},A=(N,L)=>t.disabledTimes?Array.isArray(t.disabledTimes)?T(L,N):k(L,N):L,P=N=>{let L=!0;if(!N||E())return!0;const I=!i.value.minDate&&!i.value.maxDate?C(N):N;return(t.maxTime||i.value.maxDate)&&(L=Cb(t.maxTime,i.value.maxDate,"max",Tn(I),L)),(t.minTime||i.value.minDate)&&(L=Cb(t.minTime,i.value.minDate,"min",Tn(I),L)),A(N,L)},F=N=>{if(!t.monthPicker)return!0;let L=!0;const I=Ee(rs(N));if(i.value.minDate&&i.value.maxDate){const W=Ee(rs(i.value.minDate)),X=Ee(rs(i.value.maxDate));return nn(I,W)&&Xt(I,X)||ct(I,W)||ct(I,X)}if(i.value.minDate){const W=Ee(rs(i.value.minDate));L=nn(I,W)||ct(I,W)}if(i.value.maxDate){const W=Ee(rs(i.value.maxDate));L=Xt(I,W)||ct(I,W)}return L},H=be(()=>N=>!t.enableTimePicker||t.ignoreTimeValidation?!0:P(N)),te=be(()=>N=>t.monthPicker?Array.isArray(N)&&(n.value.enabled||s.value.enabled)?!N.filter(L=>!F(L)).length:F(N):!0);return{isDisabled:p,validateDate:l,validateMonthYearInRange:h,isDateRangeAllowed:m,checkMinMaxRange:b,isValidTime:P,isTimeValid:H,isMonthValid:te}},bf=()=>{const t=be(()=>(i,s)=>i?.includes(s)),e=be(()=>(i,s)=>i.count?i.solo?!0:s===0:!0),n=be(()=>(i,s)=>i.count?i.solo?!0:s===i.count-1:!0);return{hideNavigationButtons:t,showLeftIcon:e,showRightIcon:n}},xV=(t,e,n)=>{const i=we(0),s=Ns({[ta.timePicker]:!t.enableTimePicker||t.timePicker||t.monthPicker,[ta.calendar]:!1,[ta.header]:!1}),r=be(()=>t.monthPicker||t.timePicker),o=d=>{var h;if((h=t.flow)!=null&&h.length){if(!d&&r.value)return u();s[d]=!0,Object.keys(s).filter(f=>!s[f]).length||u()}},a=()=>{var d,h;(d=t.flow)!=null&&d.length&&i.value!==-1&&(i.value+=1,e("flow-step",i.value),u()),((h=t.flow)==null?void 0:h.length)===i.value&&Rn().then(()=>l())},l=()=>{i.value=-1},c=(d,h,...f)=>{var p,m;t.flow[i.value]===d&&n.value&&((m=(p=n.value)[h])==null||m.call(p,...f))},u=(d=0)=>{d&&(i.value+=d),c(zn.month,"toggleMonthPicker",!0),c(zn.year,"toggleYearPicker",!0),c(zn.calendar,"toggleTimePicker",!1,!0),c(zn.time,"toggleTimePicker",!0,!0);const h=t.flow[i.value];(h===zn.hours||h===zn.minutes||h===zn.seconds)&&c(h,"toggleTimePicker",!0,!0,h)};return{childMount:o,updateFlowStep:a,resetFlow:l,handleFlow:u,flowStep:i}},EV={key:1,class:"dp__input_wrap"},SV=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-disabled","aria-invalid"],CV={key:2,class:"dp--clear-btn"},TV=["aria-label"],kV=cn({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},..._f},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:h,getDefaultStartTime:f}=Wt(s),{checkMinMaxRange:p}=_o(s),m=we(),y=we(null),v=we(!1),b=we(!1),E=we(!1),C=we(null),w=be(()=>({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:v.value||s.isMenuOpen,dp__input_reg:!r.value.enabled,...d.value.input??{}})),x=()=>{i("set-input-date",null),s.clearable&&s.autoApply&&(i("set-empty-date"),m.value=null)},T=Y=>{const Z=f();return VB(Y,r.value.format??h(),Z??eC({},s.enableSeconds),s.inputValue,E.value,s.formatLocale)},k=Y=>{const{rangeSeparator:Z}=r.value,[M,ie]=Y.split(`${Z}`);if(M){const le=T(M.trim()),$=ie?T(ie.trim()):null;if(Sl(le,$))return;const oe=le&&$?[le,$]:[le];p($,oe,0)&&(m.value=le?oe:null)}},A=()=>{E.value=!0},P=Y=>{if(c.value.enabled)k(Y);else if(u.value.enabled){const Z=Y.split(";");m.value=Z.map(M=>T(M.trim())).filter(M=>M)}else m.value=T(Y)},F=Y=>{var Z;const M=typeof Y=="string"?Y:(Z=Y.target)==null?void 0:Z.value;M!==""?(r.value.openMenu&&!s.isMenuOpen&&i("open"),P(M),i("set-input-date",m.value)):x(),E.value=!1,i("update:input-value",M),i("text-input",Y,m.value)},H=Y=>{r.value.enabled?(P(Y.target.value),r.value.enterSubmit&&nm(m.value)&&s.inputValue!==""?(i("set-input-date",m.value,!0),m.value=null):r.value.enterSubmit&&s.inputValue===""&&(m.value=null,i("clear"))):L(Y)},te=(Y,Z)=>{var M;if(C.value&&Z&&!b.value)return Y.preventDefault(),b.value=!0,(M=C.value)==null?void 0:M.focus();r.value.enabled&&r.value.tabSubmit&&P(Y.target.value),r.value.tabSubmit&&nm(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))},N=()=>{v.value=!0,i("focus"),Rn().then(()=>{var Y;r.value.enabled&&r.value.selectOnFocus&&((Y=y.value)==null||Y.select())})},L=Y=>{if(Y.preventDefault(),Qr(Y,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")},I=()=>{i("real-blur"),v.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)},W=Y=>{Qr(Y,l.value,!0),i("clear")},X=(Y,Z)=>{if(Y.key==="Tab"&&te(Y,Z),Y.key==="Enter"&&H(Y),!r.value.enabled){if(Y.code==="Tab")return;Y.preventDefault()}},J=()=>{var Y;(Y=y.value)==null||Y.focus({preventScroll:!0})},ne=Y=>{m.value=Y},ue=Y=>{Y.key===Lt.tab&&(b.value=!1,te(Y))};return e({focusInput:J,setParsedDate:ne}),(Y,Z)=>{var M,ie;return D(),V("div",{onClick:L},[Y.$slots.trigger&&!Y.$slots["dp-input"]&&!Q(a).enabled?Ne(Y.$slots,"trigger",{key:0}):ce("",!0),!Y.$slots.trigger&&(!Q(a).enabled||Q(a).input)?(D(),V("div",EV,[Y.$slots["dp-input"]&&!Y.$slots.trigger&&(!Q(a).enabled||Q(a).enabled&&Q(a).input)?Ne(Y.$slots,"dp-input",{key:0,value:t.inputValue,isMenuOpen:t.isMenuOpen,onInput:F,onEnter:H,onTab:te,onClear:W,onBlur:I,onKeypress:X,onPaste:A,onFocus:N,openMenu:()=>Y.$emit("open"),closeMenu:()=>Y.$emit("close"),toggleMenu:()=>Y.$emit("toggle")}):ce("",!0),Y.$slots["dp-input"]?ce("",!0):(D(),V("input",{key:1,id:Y.uid?`dp-input-${Y.uid}`:void 0,ref_key:"inputRef",ref:y,"data-test":"dp-input",name:Y.name,class:Me(w.value),inputmode:Q(r).enabled?"text":"none",placeholder:Y.placeholder,disabled:Y.disabled,readonly:Y.readonly,required:Y.required,value:t.inputValue,autocomplete:Y.autocomplete,"aria-disabled":Y.disabled||void 0,"aria-invalid":Y.state===!1?!0:void 0,onInput:F,onBlur:I,onFocus:N,onKeypress:X,onKeydown:Z[0]||(Z[0]=le=>X(le,!0)),onPaste:A},null,42,SV)),g("div",{onClick:Z[3]||(Z[3]=le=>i("toggle"))},[Y.$slots["input-icon"]&&!Y.hideInputIcon?(D(),V("span",{key:0,class:"dp__input_icon",onClick:Z[1]||(Z[1]=le=>i("toggle"))},[Ne(Y.$slots,"input-icon")])):ce("",!0),!Y.$slots["input-icon"]&&!Y.hideInputIcon&&!Y.$slots["dp-input"]?(D(),Ce(Q(Ul),{key:1,"aria-label":(M=Q(o))==null?void 0:M.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:Z[2]||(Z[2]=le=>i("toggle"))},null,8,["aria-label"])):ce("",!0)]),Y.$slots["clear-icon"]&&t.inputValue&&Y.clearable&&!Y.disabled&&!Y.readonly?(D(),V("span",CV,[Ne(Y.$slots,"clear-icon",{clear:W})])):ce("",!0),Y.clearable&&!Y.$slots["clear-icon"]&&t.inputValue&&!Y.disabled&&!Y.readonly?(D(),V("button",{key:3,ref_key:"clearBtnRef",ref:C,"aria-label":(ie=Q(o))==null?void 0:ie.clearInput,class:"dp--clear-btn",type:"button",onBlur:Z[4]||(Z[4]=le=>b.value=!1),onKeydown:Z[5]||(Z[5]=le=>Q(Qn)(le,()=>W(le),!0,ue)),onClick:Z[6]||(Z[6]=iu(le=>W(le),["prevent"]))},[B(Q(KS),{class:"dp__input_icons","data-test":"clear-icon"})],40,TV)):ce("",!0)])):ce("",!0)])}}}),AV=typeof window<"u"?window:void 0,Wg=()=>{},MV=t=>ef()?(e_(t),!0):!1,IV=(t,e,n,i)=>{if(!t)return Wg;let s=Wg;const r=fn(()=>Q(t),a=>{s(),a&&(a.addEventListener(e,n,i),s=()=>{a.removeEventListener(e,n,i),s=Wg})},{immediate:!0,flush:"post"}),o=()=>{r(),s()};return MV(o),o},PV=(t,e,n,i={})=>{const{window:s=AV,event:r="pointerdown"}=i;return s?IV(s,r,o=>{const a=mn(t),l=mn(e);!a||!l||a===o.target||o.composedPath().includes(a)||o.composedPath().includes(l)||n(o)},{passive:!0}):void 0},RV=cn({compatConfig:{MODE:3},__name:"VueDatePicker",props:{..._f},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=pa(),o=we(!1),a=Zc(s,"modelValue"),l=Zc(s,"timezone"),c=we(null),u=we(null),d=we(null),h=we(!1),f=we(null),p=we(!1),m=we(!1),y=we(!1),v=we(!1),{setMenuFocused:b,setShiftKey:E}=rC(),{clearArrowNav:C}=mo(),{validateDate:w,isValidTime:x}=_o(s),{defaultedTransitions:T,defaultedTextInput:k,defaultedInline:A,defaultedConfig:P,defaultedRange:F,defaultedMultiDates:H}=Wt(s),{menuTransition:te,showTransition:N}=Nu(T);xn(()=>{ie(s.modelValue),Rn().then(()=>{if(!A.value.enabled){const he=ue(f.value);he?.addEventListener("scroll",K),window?.addEventListener("resize",U)}}),A.value.enabled&&(o.value=!0),window?.addEventListener("keyup",re),window?.addEventListener("keydown",j)}),Yl(()=>{if(!A.value.enabled){const he=ue(f.value);he?.removeEventListener("scroll",K),window?.removeEventListener("resize",U)}window?.removeEventListener("keyup",re),window?.removeEventListener("keydown",j)});const L=ki(r,"all",s.presetDates),I=ki(r,"input");fn([a,l],()=>{ie(a.value)},{deep:!0});const{openOnTop:W,menuStyle:X,xCorrect:J,setMenuPosition:ne,getScrollableParent:ue,shadowRender:Y}=yV({menuRef:c,menuRefInner:u,inputRef:d,pickerWrapperRef:f,inline:A,emit:i,props:s,slots:r}),{inputValue:Z,internalModelValue:M,parseExternalModelValue:ie,emitModelValue:le,formatInputValue:$,checkBeforeEmit:oe}=u4(i,s,h),de=be(()=>({dp__main:!0,dp__theme_dark:s.dark,dp__theme_light:!s.dark,dp__flex_display:A.value.enabled,"dp--flex-display-collapsed":y.value,dp__flex_display_with_input:A.value.input})),ve=be(()=>s.dark?"dp__theme_dark":"dp__theme_light"),z=be(()=>s.teleport?{to:typeof s.teleport=="boolean"?"body":s.teleport,disabled:!s.teleport||A.value.enabled}:{}),ge=be(()=>({class:"dp__outer_menu_wrap"})),S=be(()=>A.value.enabled&&(s.timePicker||s.monthPicker||s.yearPicker||s.quarterPicker)),O=()=>{var he,ke;return(ke=(he=d.value)==null?void 0:he.$el)==null?void 0:ke.getBoundingClientRect()},K=()=>{o.value&&(P.value.closeOnScroll?Be():ne())},U=()=>{var he;o.value&&ne();const ke=(he=u.value)==null?void 0:he.$el.getBoundingClientRect().width;y.value=document.body.offsetWidth<=ke},re=he=>{he.key==="Tab"&&!A.value.enabled&&!s.teleport&&P.value.tabOutClosesMenu&&(f.value.contains(document.activeElement)||Be()),m.value=he.shiftKey},j=he=>{m.value=he.shiftKey},se=()=>{!s.disabled&&!s.readonly&&(Y(Mb,s),ne(!1),o.value=!0,o.value&&i("open"),o.value||ze(),ie(s.modelValue))},ee=()=>{var he;Z.value="",ze(),(he=d.value)==null||he.setParsedDate(null),i("update:model-value",null),i("update:model-timezone-value",null),i("cleared"),P.value.closeOnClearValue&&Be()},fe=()=>{const he=M.value;return!he||!Array.isArray(he)&&w(he)?!0:Array.isArray(he)?H.value.enabled||he.length===2&&w(he[0])&&w(he[1])?!0:F.value.partialRange&&!s.timePicker?w(he[0]):!1:!1},me=()=>{oe()&&fe()?(le(),Be()):i("invalid-select",M.value)},pe=he=>{Le(),le(),P.value.closeOnAutoApply&&!he&&Be()},Le=()=>{d.value&&k.value.enabled&&d.value.setParsedDate(M.value)},Ae=(he=!1)=>{s.autoApply&&x(M.value)&&fe()&&(F.value.enabled&&Array.isArray(M.value)?(F.value.partialRange||M.value.length===2)&&pe(he):pe(he))},ze=()=>{k.value.enabled||(M.value=null)},Be=()=>{A.value.enabled||(o.value&&(o.value=!1,J.value=!1,b(!1),E(!1),C(),i("closed"),Z.value&&ie(a.value)),ze(),i("blur"))},it=(he,ke,De=!1)=>{if(!he){M.value=null;return}const Ht=Array.isArray(he)?!he.some(Di=>!w(Di)):w(he),un=x(he);Ht&&un&&(v.value=!0,M.value=he,ke&&(p.value=De,me(),i("text-submit")),Rn().then(()=>{v.value=!1}))},Ze=()=>{s.autoApply&&x(M.value)&&le(),Le()},Mt=()=>o.value?Be():se(),gn=he=>{M.value=he},Un=()=>{k.value.enabled&&(h.value=!0,$()),i("focus")},Ri=()=>{if(k.value.enabled&&(h.value=!1,ie(s.modelValue),p.value)){const he=NB(f.value,m.value);he?.focus()}i("blur")},wi=he=>{u.value&&u.value.updateMonthYear(0,{month:xb(he.month),year:xb(he.year)})},Xi=he=>{ie(he??s.modelValue)},Ut=(he,ke)=>{var De;(De=u.value)==null||De.switchView(he,ke)},ae=he=>P.value.onClickOutside?P.value.onClickOutside(he):Be(),Te=(he=0)=>{var ke;(ke=u.value)==null||ke.handleFlow(he)};return PV(c,d,()=>ae(fe)),e({closeMenu:Be,selectDate:me,clearValue:ee,openMenu:se,onScroll:K,formatInputValue:$,updateInternalModelValue:gn,setMonthYear:wi,parseModel:Xi,switchView:Ut,toggleMenu:Mt,handleFlow:Te,dpWrapMenuRef:c}),(he,ke)=>(D(),V("div",{ref_key:"pickerWrapperRef",ref:f,class:Me(de.value),"data-datepicker-instance":""},[B(kV,yn({ref_key:"inputRef",ref:d,"input-value":Q(Z),"onUpdate:inputValue":ke[0]||(ke[0]=De=>Qt(Z)?Z.value=De:null),"is-menu-open":o.value},he.$props,{onClear:ee,onOpen:se,onSetInputDate:it,onSetEmptyDate:Q(le),onSelectDate:me,onToggle:Mt,onClose:Be,onFocus:Un,onBlur:Ri,onRealBlur:ke[1]||(ke[1]=De=>h.value=!1),onTextInput:ke[2]||(ke[2]=De=>he.$emit("text-input",De))}),jn({_:2},[Xe(Q(I),(De,Ht)=>({name:De,fn:Re(un=>[Ne(he.$slots,De,In(Zn(un)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(D(),Ce(ga(he.teleport?tD:"div"),In(Zn(z.value)),{default:Re(()=>[B(Rt,{name:Q(te)(Q(W)),css:Q(N)&&!Q(A).enabled},{default:Re(()=>[o.value?(D(),V("div",yn({key:0,ref_key:"dpWrapMenuRef",ref:c},ge.value,{class:{"dp--menu-wrapper":!Q(A).enabled},style:Q(A).enabled?void 0:Q(X)}),[B(Mb,yn({ref_key:"dpMenuRef",ref:u},he.$props,{"internal-model-value":Q(M),"onUpdate:internalModelValue":ke[3]||(ke[3]=De=>Qt(M)?M.value=De:null),class:{[ve.value]:!0,"dp--menu-wrapper":he.teleport},"open-on-top":Q(W),"no-overlay-focus":S.value,collapse:y.value,"get-input-rect":O,"is-text-input-date":v.value,onClosePicker:Be,onSelectDate:me,onAutoApply:Ae,onTimeUpdate:Ze,onFlowStep:ke[4]||(ke[4]=De=>he.$emit("flow-step",De)),onUpdateMonthYear:ke[5]||(ke[5]=De=>he.$emit("update-month-year",De)),onInvalidSelect:ke[6]||(ke[6]=De=>he.$emit("invalid-select",Q(M))),onAutoApplyInvalid:ke[7]||(ke[7]=De=>he.$emit("invalid-select",De)),onInvalidFixedRange:ke[8]||(ke[8]=De=>he.$emit("invalid-fixed-range",De)),onRecalculatePosition:Q(ne),onTooltipOpen:ke[9]||(ke[9]=De=>he.$emit("tooltip-open",De)),onTooltipClose:ke[10]||(ke[10]=De=>he.$emit("tooltip-close",De)),onTimePickerOpen:ke[11]||(ke[11]=De=>he.$emit("time-picker-open",De)),onTimePickerClose:ke[12]||(ke[12]=De=>he.$emit("time-picker-close",De)),onAmPmChange:ke[13]||(ke[13]=De=>he.$emit("am-pm-change",De)),onRangeStart:ke[14]||(ke[14]=De=>he.$emit("range-start",De)),onRangeEnd:ke[15]||(ke[15]=De=>he.$emit("range-end",De)),onDateUpdate:ke[16]||(ke[16]=De=>he.$emit("date-update",De)),onInvalidDate:ke[17]||(ke[17]=De=>he.$emit("invalid-date",De)),onOverlayToggle:ke[18]||(ke[18]=De=>he.$emit("overlay-toggle",De))}),jn({_:2},[Xe(Q(L),(De,Ht)=>({name:De,fn:Re(un=>[Ne(he.$slots,De,In(Zn({...un})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):ce("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),Bu=(()=>{const t=RV;return t.install=e=>{e.component("Vue3DatePicker",t)},t})(),DV=Object.freeze(Object.defineProperty({__proto__:null,default:Bu},Symbol.toStringTag,{value:"Module"}));Object.entries(DV).forEach(([t,e])=>{t!=="default"&&(Bu[t]=e)});const $V={name:"newDashboardAPIKey",components:{LocaleText:Qe,VueDatePicker:Bu},data(){return{newKeyData:{ExpiredAt:pi().add(7,"d").format("YYYY-MM-DD HH:mm:ss"),neverExpire:!1},submitting:!1}},setup(){return{store:nt()}},mounted(){console.log(this.newKeyData.ExpiredAt)},methods:{submitNewAPIKey(){this.submitting=!0,kt("/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(pi(t).format("YYYY-MM-DDTHH:mm:ss")),pi(t).format("YYYY-MM-DDTHH:mm:ss")},parseTime(t){t?this.newKeyData.ExpiredAt=pi(t).format("YYYY-MM-DD HH:mm:ss"):this.newKeyData.ExpiredAt=void 0}}},LV={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)"}},OV={class:"card m-auto rounded-3 mt-5"},NV={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},FV={class:"mb-0"},BV={class:"card-body d-flex gap-2 p-4 flex-column"},VV={class:"text-muted"},zV={class:"d-flex align-items-center gap-2"},WV={class:"form-check"},HV=["disabled"],YV={class:"form-check-label",for:"neverExpire"},jV=g("i",{class:"bi bi-emoji-grimace-fill me-2"},null,-1),KV={key:0,class:"bi bi-check-lg me-2"};function UV(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("VueDatePicker");return D(),V("div",LV,[g("div",OV,[g("div",NV,[g("h6",FV,[B(o,{t:"Create API Key"})]),g("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=l=>this.$emit("close"))})]),g("div",BV,[g("small",VV,[B(o,{t:"When should this API Key expire?"})]),g("div",zV,[B(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"])]),g("div",WV,[Oe(g("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,HV),[[Jn,this.newKeyData.neverExpire]]),g("label",YV,[B(o,{t:"Never Expire"}),Ye(" ("),jV,B(o,{t:"Don't think that's a good idea"}),Ye(") ")])]),g("button",{class:Me(["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?ce("",!0):(D(),V("i",KV)),this.submitting?(D(),Ce(o,{key:1,t:"Creating..."})):(D(),Ce(o,{key:2,t:"Create"}))],2)])])])}const GV=He($V,[["render",UV]]),XV={name:"dashboardAPIKey",components:{LocaleText:Qe},props:{apiKey:Object},setup(){return{store:nt()}},data(){return{confirmDelete:!1}},methods:{deleteAPIKey(){kt("/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")})}}},j_=t=>(bn("data-v-a76253c8"),t=t(),wn(),t),qV={class:"card rounded-3 shadow-sm"},ZV={key:0,class:"card-body d-flex gap-3 align-items-center apiKey-card-body"},JV={class:"d-flex align-items-center gap-2"},QV={class:"text-muted"},e6={style:{"word-break":"break-all"}},t6={class:"d-flex align-items-center gap-2 ms-auto"},n6={class:"text-muted"},i6=j_(()=>g("i",{class:"bi bi-trash-fill"},null,-1)),s6=[i6],r6={key:0,class:"card-body d-flex gap-3 align-items-center justify-content-end"},o6=j_(()=>g("i",{class:"bi bi-check-lg"},null,-1)),a6=[o6],l6=j_(()=>g("i",{class:"bi bi-x-lg"},null,-1)),c6=[l6];function u6(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",qV,[this.confirmDelete?(D(),V($e,{key:1},[this.store.getActiveCrossServer()?ce("",!0):(D(),V("div",r6,[B(o,{t:"Are you sure to delete this API key?"}),g("a",{role:"button",class:"btn btn-sm bg-success-subtle text-success-emphasis rounded-3",onClick:e[1]||(e[1]=a=>this.deleteAPIKey())},a6),g("a",{role:"button",class:"btn btn-sm bg-secondary-subtle text-secondary-emphasis rounded-3",onClick:e[2]||(e[2]=a=>this.confirmDelete=!1)},c6)]))],64)):(D(),V("div",ZV,[g("div",JV,[g("small",QV,[B(o,{t:"Key"})]),g("span",e6,xe(this.apiKey.Key),1)]),g("div",t6,[g("small",n6,[B(o,{t:"Expire At"})]),this.apiKey.ExpiredAt?ce("",!0):(D(),Ce(o,{key:0,t:"Never Expire"})),g("span",null,xe(this.apiKey.ExpiredAt),1)]),this.store.getActiveCrossServer()?ce("",!0):(D(),V("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)},s6))]))])}const d6=He(XV,[["render",u6],["__scopeId","data-v-a76253c8"]]),h6={name:"dashboardAPIKeys",components:{LocaleText:Qe,DashboardAPIKey:d6,NewDashboardAPIKey:GV},setup(){return{store:nt()}},data(){return{value:this.store.Configuration.Server.dashboard_api_key,apiKeys:[],newDashboardAPIKey:!1}},methods:{async toggleDashboardAPIKeys(){await kt("/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?Vt("/api/getDashboardAPIKeys",{},e=>{console.log(e),e.status?this.apiKeys=e.data:(this.apiKeys=[],this.store.newMessage("Server",e.message,"danger"))}):this.apiKeys=[]}}}},f6=t=>(bn("data-v-167c06a6"),t=t(),wn(),t),g6={class:"card mb-4 shadow rounded-3"},p6={class:"card-header d-flex"},m6={key:0,class:"form-check form-switch ms-auto"},_6={class:"form-check-label",for:"allowAPIKeysSwitch"},y6={key:0,class:"card-body position-relative d-flex flex-column gap-2"},v6=f6(()=>g("i",{class:"bi bi-plus-circle-fill me-2"},null,-1)),b6={key:1,class:"card",style:{height:"300px"}},w6={class:"card-body d-flex text-muted"},x6={class:"m-auto"},E6={key:2,class:"d-flex flex-column gap-2 position-relative",style:{"min-height":"300px"}};function S6(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("DashboardAPIKey"),l=Se("NewDashboardAPIKey");return D(),V("div",g6,[g("div",p6,[B(o,{t:"API Keys"}),this.store.getActiveCrossServer()?ce("",!0):(D(),V("div",m6,[Oe(g("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),[[Jn,this.value]]),g("label",_6,[this.value?(D(),Ce(o,{key:0,t:"Enabled"})):(D(),Ce(o,{key:1,t:"Disabled"}))])]))]),this.value?(D(),V("div",y6,[this.store.getActiveCrossServer()?ce("",!0):(D(),V("button",{key:0,class:"ms-auto 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)},[v6,B(o,{t:"API Key"})])),this.apiKeys.length===0?(D(),V("div",b6,[g("div",w6,[g("span",x6,[B(o,{t:"No WGDashboard API Key"})])])])):(D(),V("div",E6,[B(jl,{name:"apiKey"},{default:Re(()=>[(D(!0),V($e,null,Xe(this.apiKeys,c=>(D(),Ce(a,{apiKey:c,key:c.Key,onDeleted:e[3]||(e[3]=u=>this.apiKeys=u)},null,8,["apiKey"]))),128))]),_:1})])),B(Rt,{name:"zoomReversed"},{default:Re(()=>[this.newDashboardAPIKey?(D(),Ce(l,{key:0,onCreated:e[4]||(e[4]=c=>this.apiKeys=c),onClose:e[5]||(e[5]=c=>this.newDashboardAPIKey=!1)})):ce("",!0)]),_:1})])):ce("",!0)])}const C6=He(h6,[["render",S6],["__scopeId","data-v-167c06a6"]]),T6={name:"accountSettingsMFA",components:{LocaleText:Qe},setup(){const t=nt(),e=`input_${Os()}`;return{store:t,uuid:e}},data(){return{status:!1}},mounted(){this.status=this.store.Configuration.Account.enable_totp},methods:{async resetMFA(){await kt("/api/updateDashboardConfigurationItem",{section:"Account",key:"totp_verified",value:"false"},async t=>{await kt("/api/updateDashboardConfigurationItem",{section:"Account",key:"enable_totp",value:"false"},e=>{e.status&&this.$router.push("/2FASetup")})})}}},k6={class:"d-flex align-items-center"},A6={class:"form-check form-switch ms-3"},M6=g("i",{class:"bi bi-shield-lock-fill me-2"},null,-1);function I6(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",null,[g("div",k6,[g("strong",null,[B(o,{t:"Multi-Factor Authentication (MFA)"})]),g("div",A6,[Oe(g("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=a=>this.status=a),role:"switch",id:"allowMFAKeysSwitch"},null,512),[[Jn,this.status]])]),this.status?(D(),V("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())},[M6,this.store.Configuration.Account.totp_verified?(D(),Ce(o,{key:0,t:"Reset"})):(D(),Ce(o,{key:1,t:"Setup"})),Ye(" MFA ")])):ce("",!0)])])}const P6=He(T6,[["render",I6]]),R6={name:"dashboardLanguage",components:{LocaleText:Qe},setup(){return{store:nt()}},data(){return{languages:void 0}},mounted(){Vt("/api/locale/available",{},t=>{this.languages=t.data})},methods:{changeLanguage(t){kt("/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)}}},D6={class:"card mb-4 shadow rounded-3"},$6={class:"card-header"},L6={class:"card-body d-flex gap-2"},O6={class:"dropdown w-100"},N6=["disabled"],F6={key:1},B6={class:"dropdown-menu rounded-3 shadow"},V6=["onClick"],z6={class:"me-auto mb-0"},W6={class:"d-block",style:{"font-size":"0.8rem"}},H6={key:0,class:"bi bi-check text-primary fs-5"};function Y6(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",D6,[g("p",$6,[B(o,{t:"Dashboard Language"})]),g("div",L6,[g("div",O6,[g("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?(D(),V("span",F6,xe(r.currentLanguage?.lang_name_localized),1)):(D(),Ce(o,{key:0,t:"Loading..."}))],8,N6),g("ul",B6,[(D(!0),V($e,null,Xe(this.languages,a=>(D(),V("li",null,[g("a",{class:"dropdown-item d-flex align-items-center",role:"button",onClick:l=>this.changeLanguage(a.lang_id)},[g("p",z6,[Ye(xe(a.lang_name_localized)+" ",1),g("small",W6,xe(a.lang_name),1)]),r.currentLanguage?.lang_id===a.lang_id?(D(),V("i",H6)):ce("",!0)],8,V6)]))),256))])])])])}const j6=He(R6,[["render",Y6],["__scopeId","data-v-d705f35f"]]),K6={name:"dashboardIPPortInput",components:{LocaleText:Qe},setup(){return{store:nt()}},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 kt("/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}))}}},U6={class:"card mb-4 shadow rounded-3"},G6={class:"card-header"},X6={class:"card-body"},q6={class:"row gx-3"},Z6={class:"col-sm"},J6={class:"form-group mb-2"},Q6={for:"input_dashboard_ip",class:"text-muted mb-1"},ez=["disabled"],tz={class:"invalid-feedback"},nz={class:"col-sm"},iz={class:"form-group mb-2"},sz={for:"input_dashboard_ip",class:"text-muted mb-1"},rz=["disabled"],oz={class:"invalid-feedback"},az={class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1 mb-2"},lz=g("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1);function cz(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",U6,[g("p",G6,[B(o,{t:"Dashboard IP Address & Listen Port"})]),g("div",X6,[g("div",q6,[g("div",Z6,[g("div",J6,[g("label",Q6,[g("strong",null,[g("small",null,[B(o,{t:"IP Address / Hostname"})])])]),Oe(g("input",{type:"text",class:Me(["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,ez),[[Ke,this.ipAddress]]),g("div",tz,xe(this.invalidFeedback),1)])]),g("div",nz,[g("div",iz,[g("label",sz,[g("strong",null,[g("small",null,[B(o,{t:"Listen Port"})])])]),Oe(g("input",{type:"number",class:Me(["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,rz),[[Ke,this.port]]),g("div",oz,xe(this.invalidFeedback),1)])])]),g("div",az,[g("small",null,[lz,B(o,{t:"Manual restart of WGDashboard is needed to apply changes on IP Address and Listen Port"})])])])])}const uz=He(K6,[["render",cz]]),dz={name:"settings",methods:{ipV46RegexCheck:u3},components:{DashboardIPPortInput:uz,DashboardLanguage:j6,LocaleText:Qe,AccountSettingsMFA:P6,DashboardAPIKeys:C6,DashboardSettingsInputIPAddressAndPort:xF,DashboardTheme:rF,DashboardSettingsInputWireguardConfigurationPath:Z3,AccountSettingsInputPassword:N3,AccountSettingsInputUsername:_3,PeersDefaultSettingsInput:c3},setup(){return{dashboardConfigurationStore:nt()}}},hz={class:"mt-md-5 mt-3"},fz={class:"container-md"},gz={class:"mb-3 text-body"},pz={class:"card mb-4 shadow rounded-3"},mz={class:"card-header"},_z={class:"card-body"},yz={class:"card mb-4 shadow rounded-3"},vz={class:"card-header"},bz={class:"card-body"},wz=g("hr",{class:"mb-4"},null,-1),xz={class:"row gx-4"},Ez={class:"col-sm"},Sz={class:"col-sm"},Cz={class:"card mb-4 shadow rounded-3"},Tz={class:"card-header"},kz={class:"card-body d-flex gap-4 flex-column"},Az=g("hr",{class:"m-0"},null,-1),Mz={key:0,class:"m-0"};function Iz(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("PeersDefaultSettingsInput"),l=Se("DashboardSettingsInputWireguardConfigurationPath"),c=Se("DashboardTheme"),u=Se("DashboardLanguage"),d=Se("DashboardIPPortInput"),h=Se("AccountSettingsInputUsername"),f=Se("AccountSettingsInputPassword"),p=Se("AccountSettingsMFA"),m=Se("DashboardAPIKeys");return D(),V("div",hz,[g("div",fz,[g("h3",gz,[B(o,{t:"Settings"})]),g("div",pz,[g("p",mz,[B(o,{t:"Peers Default Settings"})]),g("div",_z,[B(a,{targetData:"peer_global_dns",title:"DNS"}),B(a,{targetData:"peer_endpoint_allowed_ip",title:"Endpoint Allowed IPs"}),B(a,{targetData:"peer_mtu",title:"MTU"}),B(a,{targetData:"peer_keep_alive",title:"Persistent Keepalive"}),B(a,{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."})])]),g("div",yz,[g("p",vz,[B(o,{t:"WireGuard Configurations Settings"})]),g("div",bz,[B(l,{targetData:"wg_conf_path",title:"Configurations Directory",warning:!0,"warning-text":"Remember to remove / at the end of your path. e.g /etc/wireguard"})])]),wz,g("div",xz,[g("div",Ez,[B(c)]),g("div",Sz,[B(u)])]),B(d),g("div",Cz,[g("p",Tz,[B(o,{t:"WGDashboard Account Settings"})]),g("div",kz,[B(h,{targetData:"username",title:"Username"}),Az,B(f,{targetData:"password"}),this.dashboardConfigurationStore.getActiveCrossServer()?ce("",!0):(D(),V("hr",Mz)),this.dashboardConfigurationStore.getActiveCrossServer()?ce("",!0):(D(),Ce(p,{key:1}))])]),B(m)])])}const Pz=He(dz,[["render",Iz]]),Rz={name:"setup",components:{LocaleText:Qe},setup(){return{store:nt()}},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,kt("/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})}}},Dz=["data-bs-theme"],$z={class:"m-auto text-body",style:{width:"500px"}},Lz={class:"dashboardLogo display-4"},Oz={class:"mb-5"},Nz={key:0,class:"alert alert-danger"},Fz={class:"d-flex flex-column gap-3"},Bz={id:"createAccount",class:"d-flex flex-column gap-2"},Vz={class:"form-group text-body"},zz={for:"username",class:"mb-1 text-muted"},Wz={class:"form-group text-body"},Hz={for:"password",class:"mb-1 text-muted"},Yz={class:"form-group text-body"},jz={for:"confirmPassword",class:"mb-1 text-muted"},Kz=["disabled"],Uz={key:0,class:"d-flex align-items-center w-100"},Gz=g("i",{class:"bi bi-chevron-right ms-auto"},null,-1),Xz={key:1,class:"d-flex align-items-center w-100"},qz=g("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},[g("span",{class:"visually-hidden"},"Loading...")],-1);function Zz(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.store.Configuration.Server.dashboard_theme},[g("div",$z,[g("span",Lz,[B(o,{t:"Nice to meet you!"})]),g("p",Oz,[B(o,{t:"Please fill in the following fields to finish setup"}),Ye(" 😊")]),g("div",null,[g("h3",null,[B(o,{t:"Create an account"})]),this.errorMessage?(D(),V("div",Nz,xe(this.errorMessage),1)):ce("",!0),g("div",Fz,[g("form",Bz,[g("div",Vz,[g("label",zz,[g("small",null,[B(o,{t:"Enter an username you like"})])]),Oe(g("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),[[Ke,this.setup.username]])]),g("div",Wz,[g("label",Hz,[g("small",null,[B(o,{t:"Enter a password"}),g("code",null,[B(o,{t:"(At least 8 characters and make sure is strong enough!)"})])])]),Oe(g("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),[[Ke,this.setup.newPassword]])]),g("div",Yz,[g("label",jz,[g("small",null,[B(o,{t:"Confirm password"})])]),Oe(g("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),[[Ke,this.setup.repeatNewPassword]])])]),g("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?(D(),V("span",Uz,[B(o,{t:"Next"}),Gz])):(D(),V("span",Xz,[B(o,{t:"Saving..."}),qz]))],8,Kz)])])])],8,Dz)}const Jz=He(Rz,[["render",Zz]]);function K_(t){return t.includes(":")?6:t.includes(".")?4:0}function Qz(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(h=>Number(h).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 Ib={4:32,6:128},eW=t=>t.includes("/")?K_(t):0;function tW(t){const e=eW(t),n=Object.create(null);if(n.single=!1,e)n.cidr=t,n.version=e;else{const d=K_(t);if(d)n.cidr=`${t}/${Ib[d]}`,n.version=d,n.single=!0;else throw new Error(`Network is not a CIDR or IP: ${t}`)}const[i,s]=n.cidr.split("/");n.prefix=s;const{number:r,version:o}=Qz(i),a=Ib[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(x){var y=new Float64Array(16);if(x)for(var S=0;S>16&1),E[C-1]&=65535;E[15]=T[15]-32767-(E[14]>>16&1),S=E[15]>>16&1,E[14]&=65535,s(T,E,1-S)}for(var C=0;C<16;++C)x[2*C]=T[C]&255,x[2*C+1]=T[C]>>8}function n(x){for(var y=0;y<16;++y)x[(y+1)%16]+=(y<15?1:38)*Math.floor(x[y]/65536),x[y]&=65535}function s(x,y,S){for(var E,T=~(S-1),C=0;C<16;++C)E=T&(x[C]^y[C]),x[C]^=E,y[C]^=E}function i(x,y,S){for(var E=0;E<16;++E)x[E]=y[E]+S[E]|0}function o(x,y,S){for(var E=0;E<16;++E)x[E]=y[E]-S[E]|0}function r(x,y,S){for(var E=new Float64Array(31),T=0;T<16;++T)for(var C=0;C<16;++C)E[T+C]+=y[T]*S[C];for(var T=0;T<15;++T)E[T]+=38*E[T+16];for(var T=0;T<16;++T)x[T]=E[T];n(x),n(x)}function a(x,y){for(var S=t(),E=0;E<16;++E)S[E]=y[E];for(var E=253;E>=0;--E)r(S,S,S),E!==2&&E!==4&&r(S,S,y);for(var E=0;E<16;++E)x[E]=S[E]}function l(x){x[31]=x[31]&127|64,x[0]&=248}function c(x){for(var y,S=new Uint8Array(32),E=t([1]),T=t([9]),C=t(),B=t([1]),J=t(),ae=t(),Y=t([56129,1]),L=t([9]),I=0;I<32;++I)S[I]=x[I];l(S);for(var I=254;I>=0;--I)y=S[I>>>3]>>>(I&7)&1,s(E,T,y),s(C,B,y),i(J,E,C),o(E,E,C),i(C,T,B),o(T,T,B),r(B,J,J),r(ae,E,E),r(E,C,E),r(C,T,J),i(J,E,C),o(E,E,C),r(T,E,E),o(C,B,ae),r(E,C,Y),i(E,E,B),r(C,C,E),r(E,B,ae),r(B,T,L),r(T,J,J),s(E,T,y),s(C,B,y);return a(C,C),r(E,E,C),e(S,E),S}function u(){var x=new Uint8Array(32);return window.crypto.getRandomValues(x),x}function d(){var x=u();return l(x),x}function f(x,y){for(var S=Uint8Array.from([y[0]>>2&63,(y[0]<<4|y[1]>>4)&63,(y[1]<<2|y[2]>>6)&63,y[2]&63]),E=0;E<4;++E)x[E]=S[E]+65+(25-S[E]>>8&6)-(51-S[E]>>8&75)-(61-S[E]>>8&15)+(62-S[E]>>8&3)}function g(x){var y,S=new Uint8Array(44);for(y=0;y<32/3;++y)f(S.subarray(y*4),x.subarray(y*3));return f(S.subarray(y*4),Uint8Array.from([x[y*3+0],x[y*3+1],0])),S[43]=61,String.fromCharCode.apply(null,S)}function _(x){let y=window.atob(x),S=y.length,E=new Uint8Array(S);for(let C=0;C>>8&255,y>>>16&255,y>>>24&255)}function b(x,y){x.push(y&255,y>>>8&255)}function w(x,y){for(var S=0;S>>1:y>>>1;A.table[S]=y}}for(var T=-1,C=0;C>>8^A.table[(T^x[C])&255];return(T^-1)>>>0}function D(x){for(var y=[],S=[],E=0,T=0;T{t.status?(this.success=!0,await this.store.getConfigurations(),setTimeout(()=>{this.$router.push("/")},1e3)):(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(i=>i.length>0).length!==2)throw Error();let n=G3(t),s=n.end-n.start;this.numberOfAvailableIPs=s.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")}}}},X3={class:"mt-5"},Q3={class:"container mb-4"},Z3={class:"mb-4 d-flex align-items-center gap-4"},eN=h("h3",{class:"mb-0 text-body"},[h("i",{class:"bi bi-chevron-left me-4"}),be(" New Configuration ")],-1),tN={class:"card rounded-3 shadow"},nN=h("div",{class:"card-header"},"Configuration Name",-1),sN={class:"card-body"},iN=["disabled"],oN={class:"invalid-feedback"},rN={key:0},aN={key:1},lN=h("ul",{class:"mb-0"},[h("li",null,"Configuration name already exist."),h("li",null,'Configuration name can only contain 15 lower/uppercase alphabet, numbers, "_"(underscore), "="(equal), "+"(plus), "."(period/dot), "-"(dash/hyphen)')],-1),cN={class:"card rounded-3 shadow"},uN=h("div",{class:"card-header"},"Private Key / Public Key / Pre-Shared Key",-1),dN={class:"card-body",style:{"font-family":"var(--bs-font-monospace)"}},hN={class:"mb-2"},fN=h("label",{class:"text-muted fw-bold mb-1"},[h("small",null,"PRIVATE KEY")],-1),pN={class:"input-group"},gN=["disabled"],mN=h("i",{class:"bi bi-arrow-repeat"},null,-1),_N=[mN],vN=h("label",{class:"text-muted fw-bold mb-1"},[h("small",null,"PUBLIC KEY")],-1),bN={class:"card rounded-3 shadow"},yN=h("div",{class:"card-header"},"Listen Port",-1),wN={class:"card-body"},xN=["disabled"],kN={class:"invalid-feedback"},SN={key:0},$N={key:1},AN={class:"card rounded-3 shadow"},CN={class:"card-header d-flex align-items-center"},EN={class:"badge rounded-pill text-bg-success ms-auto"},PN={class:"card-body"},TN=["disabled"],MN={class:"invalid-feedback"},DN={key:0},ON={key:1},IN=h("hr",null,null,-1),RN={class:"accordion",id:"newConfigurationOptionalAccordion"},LN={class:"accordion-item"},NN=h("h2",{class:"accordion-header"},[h("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#newConfigurationOptionalAccordionCollapse"}," Optional Settings ")],-1),FN={id:"newConfigurationOptionalAccordionCollapse",class:"accordion-collapse collapse","data-bs-parent":"#newConfigurationOptionalAccordion"},BN={class:"accordion-body d-flex flex-column gap-3"},VN={class:"card rounded-3"},HN=h("div",{class:"card-header"},"PreUp",-1),jN={class:"card-body"},WN={class:"card rounded-3"},zN=h("div",{class:"card-header"},"PreDown",-1),YN={class:"card-body"},UN={class:"card rounded-3"},KN=h("div",{class:"card-header"},"PostUp",-1),qN={class:"card-body"},GN={class:"card rounded-3"},JN=h("div",{class:"card-header"},"PostDown",-1),XN={class:"card-body"},QN=["disabled"],ZN={key:0,class:"d-flex w-100"},e5=h("i",{class:"bi bi-check-circle-fill ms-2"},null,-1),t5={key:1,class:"d-flex w-100"},n5=h("i",{class:"bi bi-save-fill ms-2"},null,-1),s5={key:2,class:"d-flex w-100 align-items-center"},i5=h("span",{class:"ms-2 spinner-border spinner-border-sm",role:"status"},null,-1);function o5(t,e,n,s,i,o){const r=He("RouterLink");return M(),F("div",X3,[h("div",Q3,[h("div",Z3,[Se(r,{to:"/",class:"text-decoration-none"},{default:Pe(()=>[eN]),_:1})]),h("form",{class:"text-body d-flex flex-column gap-3",onSubmit:e[10]||(e[10]=a=>{a.preventDefault(),this.saveNewConfiguration()})},[h("div",tN,[nN,h("div",sN,[Oe(h("input",{type:"text",class:"form-control",placeholder:"ex. wg1",id:"ConfigurationName","onUpdate:modelValue":e[0]||(e[0]=a=>this.newConfiguration.ConfigurationName=a),disabled:this.loading,required:""},null,8,iN),[[je,this.newConfiguration.ConfigurationName]]),h("div",oN,[this.error?(M(),F("div",rN,me(this.errorMessage),1)):(M(),F("div",aN,[be(" Configuration name is invalid. Possible reasons: "),lN]))])])]),h("div",cN,[uN,h("div",dN,[h("div",hN,[fN,h("div",pN,[Oe(h("input",{type:"text",class:"form-control",id:"PrivateKey",required:"",disabled:this.loading,"onUpdate:modelValue":e[1]||(e[1]=a=>this.newConfiguration.PrivateKey=a)},null,8,gN),[[je,this.newConfiguration.PrivateKey]]),h("button",{class:"btn btn-outline-primary",type:"button",title:"Regenerate Private Key",onClick:e[2]||(e[2]=a=>o.wireguardGenerateKeypair())},_N)])]),h("div",null,[vN,Oe(h("input",{type:"text",class:"form-control",id:"PublicKey","onUpdate:modelValue":e[3]||(e[3]=a=>this.newConfiguration.PublicKey=a),disabled:""},null,512),[[je,this.newConfiguration.PublicKey]])])])]),h("div",bN,[yN,h("div",wN,[Oe(h("input",{type:"number",class:"form-control",placeholder:"0-65353",id:"ListenPort",min:"1",max:"65353","onUpdate:modelValue":e[4]||(e[4]=a=>this.newConfiguration.ListenPort=a),disabled:this.loading,required:""},null,8,xN),[[je,this.newConfiguration.ListenPort]]),h("div",kN,[this.error?(M(),F("div",SN,me(this.errorMessage),1)):(M(),F("div",$N," Invalid port "))])])]),h("div",AN,[h("div",CN,[be(" IP Address & Range "),h("span",EN,me(i.numberOfAvailableIPs)+" Available IPs",1)]),h("div",PN,[Oe(h("input",{type:"text",class:"form-control",placeholder:"Ex: 10.0.0.1/24",id:"Address","onUpdate:modelValue":e[5]||(e[5]=a=>this.newConfiguration.Address=a),disabled:this.loading,required:""},null,8,TN),[[je,this.newConfiguration.Address]]),h("div",MN,[this.error?(M(),F("div",DN,me(this.errorMessage),1)):(M(),F("div",ON," IP address & range is invalid. "))])])]),IN,h("div",RN,[h("div",LN,[NN,h("div",FN,[h("div",BN,[h("div",VN,[HN,h("div",jN,[Oe(h("input",{type:"text",class:"form-control",id:"preUp","onUpdate:modelValue":e[6]||(e[6]=a=>this.newConfiguration.PreUp=a)},null,512),[[je,this.newConfiguration.PreUp]])])]),h("div",WN,[zN,h("div",YN,[Oe(h("input",{type:"text",class:"form-control",id:"preDown","onUpdate:modelValue":e[7]||(e[7]=a=>this.newConfiguration.PreDown=a)},null,512),[[je,this.newConfiguration.PreDown]])])]),h("div",UN,[KN,h("div",qN,[Oe(h("input",{type:"text",class:"form-control",id:"postUp","onUpdate:modelValue":e[8]||(e[8]=a=>this.newConfiguration.PostUp=a)},null,512),[[je,this.newConfiguration.PostUp]])])]),h("div",GN,[JN,h("div",XN,[Oe(h("input",{type:"text",class:"form-control",id:"postDown","onUpdate:modelValue":e[9]||(e[9]=a=>this.newConfiguration.PostDown=a)},null,512),[[je,this.newConfiguration.PostDown]])])])])])])]),h("button",{class:"btn btn-dark btn-brand rounded-3 px-3 py-2 shadow ms-auto",disabled:!this.goodToSubmit},[this.success?(M(),F("span",ZN,[be(" Success! "),e5])):this.loading?(M(),F("span",s5,[be(" Saving... "),i5])):(M(),F("span",t5,[be(" Save Configuration "),n5]))],8,QN)],32)])])}const r5=We(J3,[["render",o5]]),a5={name:"configuration"},l5={class:"mt-md-5 mt-3 text-body"};function c5(t,e,n,s,i,o){const r=He("RouterView");return M(),F("div",l5,[Se(r,null,{default:Pe(({Component:a,route:l})=>[Se(At,{name:"fade2",mode:"out-in"},{default:Pe(()=>[(M(),Le(Wh,null,{default:Pe(()=>[(M(),Le(Mo(a),{key:l.path}))]),_:2},1024))]),_:2},1024)]),_:1})])}const u5=We(a5,[["render",c5]]),d5={name:"peerSearch",setup(){const t=Xe(),e=Tn();return{store:t,wireguardConfigurationStore:e}},props:{configuration:Object},data(){return{sort:{status:"Status",name:"Name",allowed_ip:"Allowed IP",restricted:"Restricted"},interval:{5e3:"5 Seconds",1e4:"10 Seconds",3e4:"30 Seconds",6e4:"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){ht("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_sort",value:t},e=>{e.status&&this.store.getConfiguration()})},updateRefreshInterval(t){ht("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_refresh_interval",value:t},e=>{e.status&&this.store.getConfiguration()})},downloadAllPeer(){wt(`/api/downloadAllPeers/${this.configuration.Name}`,{},t=>{console.log(t),window.wireguard.generateZipFiles(t,this.configuration.Name)})}},mounted(){}},ni=t=>(Ut("data-v-8d540b8b"),t=t(),Kt(),t),h5={class:"mb-3"},f5={class:"d-flex gap-2 z-3 peerSearchContainer"},p5=ni(()=>h("i",{class:"bi bi-plus-lg me-2"},null,-1)),g5=ni(()=>h("i",{class:"bi bi-download me-2"},null,-1)),m5={class:"mt-3 mt-md-0 flex-grow-1"},_5=ni(()=>h("i",{class:"bi bi-filter-circle me-2"},null,-1)),v5=ni(()=>h("i",{class:"bi bi-three-dots"},null,-1)),b5=[v5],y5={key:0,class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll displayModal"},w5={class:"container-md d-flex h-100 w-100"},x5={class:"m-auto modal-dialog-centered dashboardModal"},k5={class:"card rounded-3 shadow w-100"},S5={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},$5=ni(()=>h("h4",{class:"mb-0 fw-normal"},"Display ",-1)),A5={class:"card-body px-4 pb-4 d-flex gap-3 flex-column"},C5=ni(()=>h("p",{class:"text-muted fw-bold mb-2"},[h("small",null,"Sort by")],-1)),E5={class:"list-group"},P5=["onClick"],T5={class:"me-auto"},M5={key:0,class:"bi bi-check text-primary"},D5=ni(()=>h("p",{class:"text-muted fw-bold mb-2"},[h("small",null,"Refresh interval")],-1)),O5={class:"list-group"},I5=["onClick"],R5={class:"me-auto"},L5={key:0,class:"bi bi-check text-primary"},N5={key:0,class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll displayModal"},F5={class:"container-md d-flex h-100 w-100"},B5={class:"m-auto modal-dialog-centered dashboardModal"},V5={class:"card rounded-3 shadow w-100"},H5={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},j5=ni(()=>h("h4",{class:"mb-0 fw-normal"},"Configuration Settings ",-1)),W5={class:"card-body px-4 pb-4 d-flex gap-3 flex-column"},z5=ni(()=>h("p",{class:"text-muted fw-bold mb-2"},[h("small",null,"Peer Jobs")],-1)),Y5={class:"list-group"};function U5(t,e,n,s,i,o){const r=He("RouterLink");return M(),F("div",h5,[h("div",f5,[Se(r,{to:"create",class:"text-decoration-none btn text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle shadow-sm"},{default:Pe(()=>[p5,be("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]=a=>this.downloadAllPeer())},[g5,be(" Download All ")]),h("div",m5,[Oe(h("input",{class:"form-control rounded-3 bg-secondary-subtle border-1 border-secondary-subtle shadow-sm w-100",placeholder:"Search Peers...",id:"searchPeers",onKeyup:e[1]||(e[1]=a=>this.debounce()),"onUpdate:modelValue":e[2]||(e[2]=a=>this.searchString=a)},null,544),[[je,this.searchString]])]),h("button",{onClick:e[3]||(e[3]=a=>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"},[_5,be(" 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]=a=>this.showMoreSettings=!0),type:"button","aria-expanded":"false"},b5),Se(At,{name:"zoom"},{default:Pe(()=>[this.showDisplaySettings?(M(),F("div",y5,[h("div",w5,[h("div",x5,[h("div",k5,[h("div",S5,[$5,h("button",{type:"button",class:"btn-close ms-auto",onClick:e[5]||(e[5]=a=>this.showDisplaySettings=!1)})]),h("div",A5,[h("div",null,[C5,h("div",E5,[(M(!0),F(Te,null,Ue(this.sort,(a,l)=>(M(),F("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:c=>this.updateSort(l)},[h("span",T5,me(a),1),s.store.Configuration.Server.dashboard_sort===l?(M(),F("i",M5)):re("",!0)],8,P5))),256))])]),h("div",null,[D5,h("div",O5,[(M(!0),F(Te,null,Ue(this.interval,(a,l)=>(M(),F("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:c=>this.updateRefreshInterval(l)},[h("span",R5,me(a),1),s.store.Configuration.Server.dashboard_refresh_interval===l?(M(),F("i",L5)):re("",!0)],8,I5))),256))])])])])])])])):re("",!0)]),_:1}),Se(At,{name:"zoom"},{default:Pe(()=>[this.showMoreSettings?(M(),F("div",N5,[h("div",F5,[h("div",B5,[h("div",V5,[h("div",H5,[j5,h("button",{type:"button",class:"btn-close ms-auto",onClick:e[6]||(e[6]=a=>this.showMoreSettings=!1)})]),h("div",W5,[h("div",null,[z5,h("div",Y5,[h("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:e[7]||(e[7]=a=>this.$emit("jobsAll"))}," Active Jobs "),h("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:e[8]||(e[8]=a=>this.$emit("jobLogs"))}," Logs ")])])])])])])])):re("",!0)]),_:1})])])}const K5=We(d5,[["render",U5],["__scopeId","data-v-8d540b8b"]]);function q5(t){return Lc()?(Th(t),!0):!1}function t0(t){return typeof t=="function"?t():q(t)}const n0=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const G5=Object.prototype.toString,J5=t=>G5.call(t)==="[object Object]",sc=()=>{},X5=Q5();function Q5(){var t,e;return n0&&((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 sa(t){var e;const n=t0(t);return(e=n?.$el)!=null?e:n}const s0=n0?window:void 0;function ed(...t){let e,n,s,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,s,i]=t,e=s0):[e,n,s,i]=t,!e)return sc;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const o=[],r=()=>{o.forEach(u=>u()),o.length=0},a=(u,d,f,g)=>(u.addEventListener(d,f,g),()=>u.removeEventListener(d,f,g)),l=Bt(()=>[sa(e),t0(i)],([u,d])=>{if(r(),!u)return;const f=J5(d)?{...d}:d;o.push(...n.flatMap(g=>s.map(_=>a(u,g,_,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),r()};return q5(c),c}let wm=!1;function Z5(t,e,n={}){const{window:s=s0,ignore:i=[],capture:o=!0,detectIframe:r=!1}=n;if(!s)return sc;X5&&!wm&&(wm=!0,Array.from(s.document.body.children).forEach(f=>f.addEventListener("click",sc)),s.document.documentElement.addEventListener("click",sc));let a=!0;const l=f=>i.some(g=>{if(typeof g=="string")return Array.from(s.document.querySelectorAll(g)).some(_=>_===f.target||f.composedPath().includes(_));{const _=sa(g);return _&&(f.target===_||f.composedPath().includes(_))}}),u=[ed(s,"click",f=>{const g=sa(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:o}),ed(s,"pointerdown",f=>{const g=sa(t);a=!l(f)&&!!(g&&!f.composedPath().includes(g))},{passive:!0}),r&&ed(s,"blur",f=>{setTimeout(()=>{var g;const _=sa(t);((g=s.document.activeElement)==null?void 0:g.tagName)==="IFRAME"&&!_?.contains(s.document.activeElement)&&e(f)},0)})].filter(Boolean);return()=>u.forEach(f=>f())}const eF={name:"peerSettingsDropdown",setup(){return{dashboardStore:Xe()}},props:{Peer:Object},data(){return{deleteBtnDisabled:!1,restrictBtnDisabled:!1,allowAccessBtnDisabled:!1}},methods:{downloadPeer(){wt("/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),s=`${t.data.fileName}.conf`,i=document.createElement("a");i.href=n,i.download=s,i.click(),this.dashboardStore.newMessage("WGDashboard","Peer download started","success")}else this.dashboardStore.newMessage("Server",t.message,"danger")})},downloadQRCode(){wt("/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,ht(`/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,ht(`/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,ht(`/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})}}},hs=t=>(Ut("data-v-772e5b77"),t=t(),Kt(),t),tF={class:"dropdown-menu mt-2 shadow-lg d-block rounded-3",style:{"max-width":"200px"}},nF={key:0},sF=hs(()=>h("small",{class:"w-100 dropdown-item text-muted",style:{"white-space":"break-spaces","font-size":"0.7rem"}},[be("Download & QR Code is not available due to no "),h("code",null,"private key"),be(" set for this peer ")],-1)),iF=[sF],oF={key:1,class:"d-flex",style:{"padding-left":"var(--bs-dropdown-item-padding-x)","padding-right":"var(--bs-dropdown-item-padding-x)"}},rF=hs(()=>h("i",{class:"me-auto bi bi-download"},null,-1)),aF=[rF],lF=hs(()=>h("i",{class:"me-auto bi bi-qr-code"},null,-1)),cF=[lF],uF=hs(()=>h("i",{class:"me-auto bi bi-share"},null,-1)),dF=[uF],hF=hs(()=>h("li",null,[h("hr",{class:"dropdown-divider"})],-1)),fF=hs(()=>h("i",{class:"me-auto bi bi-pen"},null,-1)),pF=hs(()=>h("i",{class:"me-auto bi bi-app-indicator"},null,-1)),gF=hs(()=>h("li",null,[h("hr",{class:"dropdown-divider"})],-1)),mF=hs(()=>h("i",{class:"me-auto bi bi-lock"},null,-1)),_F=hs(()=>h("i",{class:"me-auto bi bi-trash"},null,-1)),vF={key:1},bF=hs(()=>h("i",{class:"me-auto bi bi-unlock"},null,-1));function yF(t,e,n,s,i,o){return M(),F("ul",tF,[this.Peer.restricted?(M(),F("li",vF,[h("a",{class:Ce(["dropdown-item d-flex text-warning",{disabled:this.restrictBtnDisabled}]),onClick:e[7]||(e[7]=r=>this.allowAccessPeer()),role:"button"},[bF,be(" "+me(this.allowAccessBtnDisabled?"Allowing...":"Allow Access"),1)],2)])):(M(),F(Te,{key:0},[this.Peer.private_key?(M(),F("li",oF,[h("a",{class:"dropdown-item text-center px-0 rounded-3",role:"button",onClick:e[0]||(e[0]=r=>this.downloadPeer())},aF),h("a",{class:"dropdown-item text-center px-0 rounded-3",role:"button",onClick:e[1]||(e[1]=r=>this.downloadQRCode())},cF),h("a",{class:"dropdown-item text-center px-0 rounded-3",role:"button",onClick:e[2]||(e[2]=r=>this.$emit("share"))},dF)])):(M(),F("li",nF,iF)),hF,h("li",null,[h("a",{class:"dropdown-item d-flex",role:"button",onClick:e[3]||(e[3]=r=>this.$emit("setting"))},[fF,be(" Edit ")])]),h("li",null,[h("a",{class:"dropdown-item d-flex",role:"button",onClick:e[4]||(e[4]=r=>this.$emit("jobs"))},[pF,be(" Schedule Jobs ")])]),gF,h("li",null,[h("a",{class:Ce(["dropdown-item d-flex text-warning",{disabled:this.restrictBtnDisabled}]),onClick:e[5]||(e[5]=r=>this.restrictPeer()),role:"button"},[mF,be(" "+me(this.restrictBtnDisabled?"Restricting...":"Restrict Access"),1)],2)]),h("li",null,[h("a",{class:Ce(["dropdown-item d-flex fw-bold text-danger",{disabled:this.deleteBtnDisabled}]),onClick:e[6]||(e[6]=r=>this.deletePeer()),role:"button"},[_F,be(" "+me(this.deleteBtnDisabled?"Deleting...":"Delete"),1)],2)])],64))])}const wF=We(eF,[["render",yF],["__scopeId","data-v-772e5b77"]]),xF={name:"peer",components:{PeerSettingsDropdown:wF},props:{Peer:Object},data(){return{}},setup(){const t=ve(null),e=ve(!1);return Z5(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}}},Io=t=>(Ut("data-v-f311ec95"),t=t(),Kt(),t),kF={key:0,class:"card-header bg-transparent d-flex align-items-center gap-2 border-0"},SF={style:{"font-size":"0.8rem"},class:"ms-auto d-flex gap-2"},$F={class:"text-primary"},AF=Io(()=>h("i",{class:"bi bi-arrow-down"},null,-1)),CF={class:"text-success"},EF=Io(()=>h("i",{class:"bi bi-arrow-up"},null,-1)),PF={key:0,class:"text-secondary"},TF=Io(()=>h("i",{class:"bi bi-arrows-angle-contract"},null,-1)),MF={key:1,class:"border-0 card-header bg-transparent text-warning fw-bold",style:{"font-size":"0.8rem"}},DF=Io(()=>h("i",{class:"bi-lock-fill me-2"},null,-1)),OF={class:"card-body pt-1",style:{"font-size":"0.9rem"}},IF={class:"mb-2"},RF=Io(()=>h("small",{class:"text-muted"},"Public Key",-1)),LF={class:"mb-0"},NF={class:"d-flex align-items-end"},FF=Io(()=>h("small",{class:"text-muted"},"Allowed IP",-1)),BF={class:"mb-0"},VF=Io(()=>h("h5",{class:"mb-0"},[h("i",{class:"bi bi-three-dots"})],-1)),HF=[VF];function jF(t,e,n,s,i,o){const r=He("PeerSettingsDropdown");return M(),F("div",{class:Ce(["card shadow-sm rounded-3 peerCard bg-transparent",{"border-warning":n.Peer.restricted}])},[h("div",null,[n.Peer.restricted?(M(),F("div",MF,[DF,be(" Access Restricted ")])):(M(),F("div",kF,[h("div",{class:Ce(["dot ms-0",{active:n.Peer.status==="running"}])},null,2),h("div",SF,[h("span",$F,[AF,h("strong",null,me((n.Peer.cumu_receive+n.Peer.total_receive).toFixed(4)),1),be(" GB ")]),h("span",CF,[EF,h("strong",null,me((n.Peer.cumu_sent+n.Peer.total_sent).toFixed(4)),1),be(" GB ")]),n.Peer.latest_handshake!=="No Handshake"?(M(),F("span",PF,[TF,be(" "+me(o.getLatestHandshake)+" ago ",1)])):re("",!0)])]))]),h("div",OF,[h("h6",null,me(n.Peer.name?n.Peer.name:"Untitled Peer"),1),h("div",IF,[RF,h("p",LF,[h("samp",null,me(n.Peer.id),1)])]),h("div",NF,[h("div",null,[FF,h("p",BF,[h("samp",null,me(n.Peer.allowed_ip),1)])]),h("div",{class:Ce(["ms-auto px-2 rounded-3 subMenuBtn",{active:this.subMenuOpened}])},[h("a",{role:"button",class:"text-body",onClick:e[0]||(e[0]=a=>this.subMenuOpened=!0)},HF),Se(At,{name:"slide-fade"},{default:Pe(()=>[this.subMenuOpened?(M(),Le(r,{key:0,onQrcode:e[1]||(e[1]=a=>this.$emit("qrcode",a)),onSetting:e[2]||(e[2]=a=>this.$emit("setting")),onJobs:e[3]||(e[3]=a=>this.$emit("jobs")),onRefresh:e[4]||(e[4]=a=>this.$emit("refresh")),onShare:e[5]||(e[5]=a=>this.$emit("share")),Peer:n.Peer,ref:"target"},null,8,["Peer"])):re("",!0)]),_:1})],2)])])],2)}const WF=We(xF,[["render",jF],["__scopeId","data-v-f311ec95"]]);/*! - + */(function(){function t(w){var x=new Float64Array(16);if(w)for(var T=0;T>16&1),k[P-1]&=65535;k[15]=A[15]-32767-(k[14]>>16&1),T=k[15]>>16&1,k[14]&=65535,i(A,k,1-T)}for(var P=0;P<16;++P)w[2*P]=A[P]&255,w[2*P+1]=A[P]>>8}function n(w){for(var x=0;x<16;++x)w[(x+1)%16]+=(x<15?1:38)*Math.floor(w[x]/65536),w[x]&=65535}function i(w,x,T){for(var k,A=~(T-1),P=0;P<16;++P)k=A&(w[P]^x[P]),w[P]^=k,x[P]^=k}function s(w,x,T){for(var k=0;k<16;++k)w[k]=x[k]+T[k]|0}function r(w,x,T){for(var k=0;k<16;++k)w[k]=x[k]-T[k]|0}function o(w,x,T){for(var k=new Float64Array(31),A=0;A<16;++A)for(var P=0;P<16;++P)k[A+P]+=x[A]*T[P];for(var A=0;A<15;++A)k[A]+=38*k[A+16];for(var A=0;A<16;++A)w[A]=k[A];n(w),n(w)}function a(w,x){for(var T=t(),k=0;k<16;++k)T[k]=x[k];for(var k=253;k>=0;--k)o(T,T,T),k!==2&&k!==4&&o(T,T,x);for(var k=0;k<16;++k)w[k]=T[k]}function l(w){w[31]=w[31]&127|64,w[0]&=248}function c(w){for(var x,T=new Uint8Array(32),k=t([1]),A=t([9]),P=t(),F=t([1]),H=t(),te=t(),N=t([56129,1]),L=t([9]),I=0;I<32;++I)T[I]=w[I];l(T);for(var I=254;I>=0;--I)x=T[I>>>3]>>>(I&7)&1,i(k,A,x),i(P,F,x),s(H,k,P),r(k,k,P),s(P,A,F),r(A,A,F),o(F,H,H),o(te,k,k),o(k,P,k),o(P,A,H),s(H,k,P),r(k,k,P),o(A,k,k),r(P,F,te),o(k,P,N),s(k,k,F),o(P,P,k),o(k,F,te),o(F,A,L),o(A,H,H),i(k,A,x),i(P,F,x);return a(P,P),o(k,k,P),e(T,k),T}function u(){var w=new Uint8Array(32);return window.crypto.getRandomValues(w),w}function d(){var w=u();return l(w),w}function h(w,x){for(var T=Uint8Array.from([x[0]>>2&63,(x[0]<<4|x[1]>>4)&63,(x[1]<<2|x[2]>>6)&63,x[2]&63]),k=0;k<4;++k)w[k]=T[k]+65+(25-T[k]>>8&6)-(51-T[k]>>8&75)-(61-T[k]>>8&15)+(62-T[k]>>8&3)}function f(w){var x,T=new Uint8Array(44);for(x=0;x<32/3;++x)h(T.subarray(x*4),w.subarray(x*3));return h(T.subarray(x*4),Uint8Array.from([w[x*3+0],w[x*3+1],0])),T[43]=61,String.fromCharCode.apply(null,T)}function p(w){let x=window.atob(w),T=x.length,k=new Uint8Array(T);for(let P=0;P>>8&255,x>>>16&255,x>>>24&255)}function y(w,x){w.push(x&255,x>>>8&255)}function v(w,x){for(var T=0;T>>1:x>>>1;E.table[T]=x}}for(var A=-1,P=0;P>>8^E.table[(A^w[P])&255];return(A^-1)>>>0}function C(w){for(var x=[],T=[],k=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=tW(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")}}}},iW={class:"mt-5"},sW={class:"container mb-4"},rW={class:"mb-4 d-flex align-items-center gap-4"},oW={class:"mb-0 text-body"},aW=g("i",{class:"bi bi-chevron-left me-4"},null,-1),lW={class:"card rounded-3 shadow"},cW={class:"card-header"},uW={class:"card-body"},dW=["disabled"],hW={class:"invalid-feedback"},fW={key:0},gW={key:1},pW={class:"mb-0"},mW={class:"card rounded-3 shadow"},_W={class:"card-header"},yW={class:"card-body",style:{"font-family":"var(--bs-font-monospace)"}},vW={class:"mb-2"},bW={class:"text-muted fw-bold mb-1"},wW={class:"input-group"},xW=["disabled"],EW=g("i",{class:"bi bi-arrow-repeat"},null,-1),SW=[EW],CW={class:"text-muted fw-bold mb-1"},TW={class:"card rounded-3 shadow"},kW={class:"card-header"},AW={class:"card-body"},MW=["disabled"],IW={class:"invalid-feedback"},PW={key:0},RW={key:1},DW={class:"card rounded-3 shadow"},$W={class:"card-header d-flex align-items-center"},LW={class:"badge rounded-pill text-bg-success ms-auto"},OW={class:"card-body"},NW=["disabled"],FW={class:"invalid-feedback"},BW={key:0},VW={key:1},zW=g("hr",null,null,-1),WW={class:"accordion",id:"newConfigurationOptionalAccordion"},HW={class:"accordion-item"},YW={class:"accordion-header"},jW={class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#newConfigurationOptionalAccordionCollapse"},KW={id:"newConfigurationOptionalAccordionCollapse",class:"accordion-collapse collapse","data-bs-parent":"#newConfigurationOptionalAccordion"},UW={class:"accordion-body d-flex flex-column gap-3"},GW={class:"card rounded-3"},XW=g("div",{class:"card-header"},"PreUp",-1),qW={class:"card-body"},ZW={class:"card rounded-3"},JW=g("div",{class:"card-header"},"PreDown",-1),QW={class:"card-body"},e8={class:"card rounded-3"},t8=g("div",{class:"card-header"},"PostUp",-1),n8={class:"card-body"},i8={class:"card rounded-3"},s8=g("div",{class:"card-header"},"PostDown",-1),r8={class:"card-body"},o8=["disabled"],a8={key:0,class:"d-flex w-100"},l8=g("i",{class:"bi bi-check-circle-fill ms-2"},null,-1),c8={key:1,class:"d-flex w-100"},u8=g("i",{class:"bi bi-save-fill ms-2"},null,-1),d8={key:2,class:"d-flex w-100 align-items-center"},h8=g("span",{class:"ms-2 spinner-border spinner-border-sm",role:"status"},null,-1);function f8(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("RouterLink");return D(),V("div",iW,[g("div",sW,[g("div",rW,[B(a,{to:"/",class:"text-decoration-none"},{default:Re(()=>[g("h3",oW,[aW,B(o,{t:"New Configuration"})])]),_:1})]),g("form",{class:"text-body d-flex flex-column gap-3",onSubmit:e[10]||(e[10]=l=>{l.preventDefault(),this.saveNewConfiguration()})},[g("div",lW,[g("div",cW,[B(o,{t:"Configuration Name"})]),g("div",uW,[Oe(g("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,dW),[[Ke,this.newConfiguration.ConfigurationName]]),g("div",hW,[this.error?(D(),V("div",fW,xe(this.errorMessage),1)):(D(),V("div",gW,[B(o,{t:"Configuration name is invalid. Possible reasons:"}),g("ul",pW,[g("li",null,[B(o,{t:"Configuration name already exist."})]),g("li",null,[B(o,{t:"Configuration name can only contain 15 lower/uppercase alphabet, numbers, underscore, equal sign, plus sign, period and hyphen."})])])]))])])]),g("div",mW,[g("div",_W,[B(o,{t:"Private Key"}),Ye(" & "),B(o,{t:"Public Key"})]),g("div",yW,[g("div",vW,[g("label",bW,[g("small",null,[B(o,{t:"Private Key"})])]),g("div",wW,[Oe(g("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,xW),[[Ke,this.newConfiguration.PrivateKey]]),g("button",{class:"btn btn-outline-primary",type:"button",title:"Regenerate Private Key",onClick:e[2]||(e[2]=l=>r.wireguardGenerateKeypair())},SW)])]),g("div",null,[g("label",CW,[g("small",null,[B(o,{t:"Public Key"})])]),Oe(g("input",{type:"text",class:"form-control",id:"PublicKey","onUpdate:modelValue":e[3]||(e[3]=l=>this.newConfiguration.PublicKey=l),disabled:""},null,512),[[Ke,this.newConfiguration.PublicKey]])])])]),g("div",TW,[g("div",kW,[B(o,{t:"Listen Port"})]),g("div",AW,[Oe(g("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,MW),[[Ke,this.newConfiguration.ListenPort]]),g("div",IW,[this.error?(D(),V("div",PW,xe(this.errorMessage),1)):(D(),V("div",RW,[B(o,{t:"Invalid port"})]))])])]),g("div",DW,[g("div",$W,[B(o,{t:"IP Address/CIDR"}),g("span",LW,xe(s.numberOfAvailableIPs)+" Available IPs",1)]),g("div",OW,[Oe(g("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,NW),[[Ke,this.newConfiguration.Address]]),g("div",FW,[this.error?(D(),V("div",BW,xe(this.errorMessage),1)):(D(),V("div",VW," IP Address/CIDR is invalid "))])])]),zW,g("div",WW,[g("div",HW,[g("h2",YW,[g("button",jW,[B(o,{t:"Optional Settings"})])]),g("div",KW,[g("div",UW,[g("div",GW,[XW,g("div",qW,[Oe(g("input",{type:"text",class:"form-control",id:"preUp","onUpdate:modelValue":e[6]||(e[6]=l=>this.newConfiguration.PreUp=l)},null,512),[[Ke,this.newConfiguration.PreUp]])])]),g("div",ZW,[JW,g("div",QW,[Oe(g("input",{type:"text",class:"form-control",id:"preDown","onUpdate:modelValue":e[7]||(e[7]=l=>this.newConfiguration.PreDown=l)},null,512),[[Ke,this.newConfiguration.PreDown]])])]),g("div",e8,[t8,g("div",n8,[Oe(g("input",{type:"text",class:"form-control",id:"postUp","onUpdate:modelValue":e[8]||(e[8]=l=>this.newConfiguration.PostUp=l)},null,512),[[Ke,this.newConfiguration.PostUp]])])]),g("div",i8,[s8,g("div",r8,[Oe(g("input",{type:"text",class:"form-control",id:"postDown","onUpdate:modelValue":e[9]||(e[9]=l=>this.newConfiguration.PostDown=l)},null,512),[[Ke,this.newConfiguration.PostDown]])])])])])])]),g("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?(D(),V("span",a8,[B(o,{t:"Success"}),Ye("! "),l8])):this.loading?(D(),V("span",d8,[B(o,{t:"Saving..."}),h8])):(D(),V("span",c8,[B(o,{t:"Save Configuration"}),u8]))],8,o8)],32)])])}const g8=He(nW,[["render",f8]]),p8={name:"configuration"},m8={class:"mt-md-5 mt-3 text-body"};function _8(t,e,n,i,s,r){const o=Se("RouterView");return D(),V("div",m8,[B(o,null,{default:Re(({Component:a,route:l})=>[B(Rt,{name:"fade2",mode:"out-in"},{default:Re(()=>[(D(),Ce(f_,null,{default:Re(()=>[(D(),Ce(ga(a),{key:l.path}))]),_:2},1024))]),_:2},1024)]),_:1})])}const y8=He(p8,[["render",_8]]),v8={name:"peerSearch",components:{LocaleText:Qe},setup(){const t=nt(),e=vi();return{store:t,wireguardConfigurationStore:e}},props:{configuration:Object},data(){return{sort:{status:Tt("Status"),name:Tt("Name"),allowed_ip:Tt("Allowed IPs"),restricted:Tt("Restricted")},interval:{5e3:Tt("5 Seconds"),1e4:Tt("10 Seconds"),3e4:Tt("30 Seconds"),6e4:Tt("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){kt("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_sort",value:t},e=>{e.status&&this.store.getConfiguration()})},updateRefreshInterval(t){kt("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_refresh_interval",value:t},e=>{e.status&&this.store.getConfiguration()})},downloadAllPeer(){Vt(`/api/downloadAllPeers/${this.configuration.Name}`,{},t=>{console.log(t),window.wireguard.generateZipFiles(t,this.configuration.Name)})}},computed:{searchBarPlaceholder(){return Tt("Search Peers...")}}},wf=t=>(bn("data-v-c8fa0b7d"),t=t(),wn(),t),b8={class:"mb-3"},w8={class:"d-flex gap-2 z-3 peerSearchContainer"},x8=wf(()=>g("i",{class:"bi bi-plus-lg me-2"},null,-1)),E8=wf(()=>g("i",{class:"bi bi-download me-2"},null,-1)),S8={class:"mt-3 mt-md-0 flex-grow-1"},C8=["placeholder"],T8=wf(()=>g("i",{class:"bi bi-filter-circle me-2"},null,-1)),k8=wf(()=>g("i",{class:"bi bi-three-dots"},null,-1)),A8=[k8],M8={key:0,class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll displayModal"},I8={class:"container-md d-flex h-100 w-100"},P8={class:"m-auto modal-dialog-centered dashboardModal"},R8={class:"card rounded-3 shadow w-100"},D8={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},$8={class:"mb-0 fw-normal"},L8={class:"card-body px-4 pb-4 d-flex gap-3 flex-column"},O8={class:"text-muted fw-bold mb-2"},N8={class:"list-group"},F8=["onClick"],B8={class:"me-auto"},V8={key:0,class:"bi bi-check text-primary"},z8={class:"text-muted fw-bold mb-2"},W8={class:"list-group"},H8=["onClick"],Y8={class:"me-auto"},j8={key:0,class:"bi bi-check text-primary"},K8={key:0,class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll displayModal"},U8={class:"container-md d-flex h-100 w-100"},G8={class:"m-auto modal-dialog-centered dashboardModal"},X8={class:"card rounded-3 shadow w-100"},q8={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},Z8={class:"mb-0 fw-normal"},J8={class:"card-body px-4 pb-4 d-flex gap-3 flex-column"},Q8={class:"text-muted fw-bold mb-2"},eH={class:"list-group"};function tH(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("RouterLink");return D(),V("div",b8,[g("div",w8,[B(a,{to:"create",class:"text-decoration-none btn text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle shadow-sm"},{default:Re(()=>[x8,B(o,{t:"Peer"})]),_:1}),g("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())},[E8,B(o,{t:"Download All"})]),g("div",S8,[Oe(g("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,C8),[[Ke,this.searchString]])]),g("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"},[T8,B(o,{t:"Display"})]),g("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.showMoreSettings=!0),type:"button","aria-expanded":"false"},A8),B(Rt,{name:"zoom"},{default:Re(()=>[this.showDisplaySettings?(D(),V("div",M8,[g("div",I8,[g("div",P8,[g("div",R8,[g("div",D8,[g("h4",$8,[B(o,{t:"Display"})]),g("button",{type:"button",class:"btn-close ms-auto",onClick:e[5]||(e[5]=l=>this.showDisplaySettings=!1)})]),g("div",L8,[g("div",null,[g("p",O8,[g("small",null,[B(o,{t:"Sort by"})])]),g("div",N8,[(D(!0),V($e,null,Xe(this.sort,(l,c)=>(D(),V("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:u=>this.updateSort(c)},[g("span",B8,xe(l),1),i.store.Configuration.Server.dashboard_sort===c?(D(),V("i",V8)):ce("",!0)],8,F8))),256))])]),g("div",null,[g("p",z8,[g("small",null,[B(o,{t:"Refresh Interval"})])]),g("div",W8,[(D(!0),V($e,null,Xe(this.interval,(l,c)=>(D(),V("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:u=>this.updateRefreshInterval(c)},[g("span",Y8,xe(l),1),i.store.Configuration.Server.dashboard_refresh_interval===c?(D(),V("i",j8)):ce("",!0)],8,H8))),256))])])])])])])])):ce("",!0)]),_:1}),B(Rt,{name:"zoom"},{default:Re(()=>[this.showMoreSettings?(D(),V("div",K8,[g("div",U8,[g("div",G8,[g("div",X8,[g("div",q8,[g("h4",Z8,[B(o,{t:"Configuration Settings"})]),g("button",{type:"button",class:"btn-close ms-auto",onClick:e[6]||(e[6]=l=>this.showMoreSettings=!1)})]),g("div",J8,[g("div",null,[g("p",Q8,[g("small",null,[B(o,{t:"Peer Jobs"})])]),g("div",eH,[g("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:e[7]||(e[7]=l=>this.$emit("jobsAll"))},[B(o,{t:"Active Jobs"})]),g("a",{class:"list-group-item list-group-item-action d-flex",role:"button",onClick:e[8]||(e[8]=l=>this.$emit("jobLogs"))},[B(o,{t:"Logs"})])])])])])])])])):ce("",!0)]),_:1})])])}const nH=He(v8,[["render",tH],["__scopeId","data-v-c8fa0b7d"]]);function iH(t){return ef()?(e_(t),!0):!1}function hC(t){return typeof t=="function"?t():Q(t)}const fC=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const sH=Object.prototype.toString,rH=t=>sH.call(t)==="[object Object]",sh=()=>{},oH=aH();function aH(){var t,e;return fC&&((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 bc(t){var e;const n=hC(t);return(e=n?.$el)!=null?e:n}const gC=fC?window:void 0;function Hg(...t){let e,n,i,s;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,i,s]=t,e=gC):[e,n,i,s]=t,!e)return sh;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const r=[],o=()=>{r.forEach(u=>u()),r.length=0},a=(u,d,h,f)=>(u.addEventListener(d,h,f),()=>u.removeEventListener(d,h,f)),l=fn(()=>[bc(e),hC(s)],([u,d])=>{if(o(),!u)return;const h=rH(d)?{...d}:d;r.push(...n.flatMap(f=>i.map(p=>a(u,f,p,h))))},{immediate:!0,flush:"post"}),c=()=>{l(),o()};return iH(c),c}let Pb=!1;function lH(t,e,n={}){const{window:i=gC,ignore:s=[],capture:r=!0,detectIframe:o=!1}=n;if(!i)return sh;oH&&!Pb&&(Pb=!0,Array.from(i.document.body.children).forEach(h=>h.addEventListener("click",sh)),i.document.documentElement.addEventListener("click",sh));let a=!0;const l=h=>s.some(f=>{if(typeof f=="string")return Array.from(i.document.querySelectorAll(f)).some(p=>p===h.target||h.composedPath().includes(p));{const p=bc(f);return p&&(h.target===p||h.composedPath().includes(p))}}),u=[Hg(i,"click",h=>{const f=bc(t);if(!(!f||f===h.target||h.composedPath().includes(f))){if(h.detail===0&&(a=!l(h)),!a){a=!0;return}e(h)}},{passive:!0,capture:r}),Hg(i,"pointerdown",h=>{const f=bc(t);a=!l(h)&&!!(f&&!h.composedPath().includes(f))},{passive:!0}),o&&Hg(i,"blur",h=>{setTimeout(()=>{var f;const p=bc(t);((f=i.document.activeElement)==null?void 0:f.tagName)==="IFRAME"&&!p?.contains(i.document.activeElement)&&e(h)},0)})].filter(Boolean);return()=>u.forEach(h=>h())}const cH={name:"peerSettingsDropdown",components:{LocaleText:Qe},setup(){return{dashboardStore:nt()}},props:{Peer:Object},data(){return{deleteBtnDisabled:!1,restrictBtnDisabled:!1,allowAccessBtnDisabled:!1}},methods:{downloadPeer(){Vt("/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(){Vt("/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,kt(`/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,kt(`/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,kt(`/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})}}},Fs=t=>(bn("data-v-e53c14b2"),t=t(),wn(),t),uH={class:"dropdown-menu mt-2 shadow-lg d-block rounded-3",style:{"max-width":"200px"}},dH={key:0},hH={class:"w-100 dropdown-item text-muted",style:{"white-space":"break-spaces","font-size":"0.7rem"}},fH={key:1,class:"d-flex",style:{"padding-left":"var(--bs-dropdown-item-padding-x)","padding-right":"var(--bs-dropdown-item-padding-x)"}},gH=Fs(()=>g("i",{class:"me-auto bi bi-download"},null,-1)),pH=[gH],mH=Fs(()=>g("i",{class:"me-auto bi bi-qr-code"},null,-1)),_H=[mH],yH=Fs(()=>g("i",{class:"me-auto bi bi-share"},null,-1)),vH=[yH],bH=Fs(()=>g("li",null,[g("hr",{class:"dropdown-divider"})],-1)),wH=Fs(()=>g("i",{class:"me-auto bi bi-pen"},null,-1)),xH=Fs(()=>g("i",{class:"me-auto bi bi-app-indicator"},null,-1)),EH=Fs(()=>g("li",null,[g("hr",{class:"dropdown-divider"})],-1)),SH=Fs(()=>g("i",{class:"me-auto bi bi-lock"},null,-1)),CH=Fs(()=>g("i",{class:"me-auto bi bi-trash"},null,-1)),TH={key:1},kH=Fs(()=>g("i",{class:"me-auto bi bi-unlock"},null,-1));function AH(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("ul",uH,[this.Peer.restricted?(D(),V("li",TH,[g("a",{class:Me(["dropdown-item d-flex text-warning",{disabled:this.allowAccessBtnDisabled}]),onClick:e[7]||(e[7]=a=>this.allowAccessPeer()),role:"button"},[kH,this.allowAccessBtnDisabled?(D(),Ce(o,{key:1,t:"Allowing Access..."})):(D(),Ce(o,{key:0,t:"Allow Access"}))],2)])):(D(),V($e,{key:0},[this.Peer.private_key?(D(),V("li",fH,[g("a",{class:"dropdown-item text-center px-0 rounded-3",role:"button",onClick:e[0]||(e[0]=a=>this.downloadPeer())},pH),g("a",{class:"dropdown-item text-center px-0 rounded-3",role:"button",onClick:e[1]||(e[1]=a=>this.downloadQRCode())},_H),g("a",{class:"dropdown-item text-center px-0 rounded-3",role:"button",onClick:e[2]||(e[2]=a=>this.$emit("share"))},vH)])):(D(),V("li",dH,[g("small",hH,[B(o,{t:"Download & QR Code is not available due to no private key set for this peer"})])])),bH,g("li",null,[g("a",{class:"dropdown-item d-flex",role:"button",onClick:e[3]||(e[3]=a=>this.$emit("setting"))},[wH,Ye(),B(o,{t:"Peer Settings"})])]),g("li",null,[g("a",{class:"dropdown-item d-flex",role:"button",onClick:e[4]||(e[4]=a=>this.$emit("jobs"))},[xH,Ye(),B(o,{t:"Schedule Jobs"})])]),EH,g("li",null,[g("a",{class:Me(["dropdown-item d-flex text-warning",{disabled:this.restrictBtnDisabled}]),onClick:e[5]||(e[5]=a=>this.restrictPeer()),role:"button"},[SH,this.restrictBtnDisabled?(D(),Ce(o,{key:1,t:"Restricting..."})):(D(),Ce(o,{key:0,t:"Restrict Access"}))],2)]),g("li",null,[g("a",{class:Me(["dropdown-item d-flex fw-bold text-danger",{disabled:this.deleteBtnDisabled}]),onClick:e[6]||(e[6]=a=>this.deletePeer()),role:"button"},[CH,this.deleteBtnDisabled?(D(),Ce(o,{key:1,t:"Deleting..."})):(D(),Ce(o,{key:0,t:"Delete"}))],2)])],64))])}const MH=He(cH,[["render",AH],["__scopeId","data-v-e53c14b2"]]),IH={name:"peer",components:{LocaleText:Qe,PeerSettingsDropdown:MH},props:{Peer:Object},data(){return{}},setup(){const t=we(null),e=we(!1);return lH(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}}},Vu=t=>(bn("data-v-4a343fe2"),t=t(),wn(),t),PH={key:0,class:"card-header bg-transparent d-flex align-items-center gap-2 border-0"},RH={style:{"font-size":"0.8rem"},class:"ms-auto d-flex gap-2"},DH={class:"text-primary"},$H=Vu(()=>g("i",{class:"bi bi-arrow-down"},null,-1)),LH={class:"text-success"},OH=Vu(()=>g("i",{class:"bi bi-arrow-up"},null,-1)),NH={key:0,class:"text-secondary"},FH=Vu(()=>g("i",{class:"bi bi-arrows-angle-contract"},null,-1)),BH={key:1,class:"border-0 card-header bg-transparent text-warning fw-bold",style:{"font-size":"0.8rem"}},VH=Vu(()=>g("i",{class:"bi-lock-fill me-2"},null,-1)),zH={class:"card-body pt-1",style:{"font-size":"0.9rem"}},WH={class:"mb-2"},HH={class:"text-muted"},YH={class:"mb-0"},jH={class:"d-flex align-items-end"},KH={class:"text-muted"},UH={class:"mb-0"},GH=Vu(()=>g("h5",{class:"mb-0"},[g("i",{class:"bi bi-three-dots"})],-1)),XH=[GH];function qH(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("PeerSettingsDropdown");return D(),V("div",{class:Me(["card shadow-sm rounded-3 peerCard bg-transparent",{"border-warning":n.Peer.restricted}])},[g("div",null,[n.Peer.restricted?(D(),V("div",BH,[VH,B(o,{t:"Access Restricted"})])):(D(),V("div",PH,[g("div",{class:Me(["dot ms-0",{active:n.Peer.status==="running"}])},null,2),g("div",RH,[g("span",DH,[$H,g("strong",null,xe((n.Peer.cumu_receive+n.Peer.total_receive).toFixed(4)),1),Ye(" GB ")]),g("span",LH,[OH,g("strong",null,xe((n.Peer.cumu_sent+n.Peer.total_sent).toFixed(4)),1),Ye(" GB ")]),n.Peer.latest_handshake!=="No Handshake"?(D(),V("span",NH,[FH,Ye(" "+xe(r.getLatestHandshake)+" ago ",1)])):ce("",!0)])]))]),g("div",zH,[g("h6",null,xe(n.Peer.name?n.Peer.name:"Untitled Peer"),1),g("div",WH,[g("small",HH,[B(o,{t:"Public Key"})]),g("p",YH,[g("samp",null,xe(n.Peer.id),1)])]),g("div",jH,[g("div",null,[g("small",KH,[B(o,{t:"Allowed IPs"})]),g("p",UH,[g("samp",null,xe(n.Peer.allowed_ip),1)])]),g("div",{class:Me(["ms-auto px-2 rounded-3 subMenuBtn",{active:this.subMenuOpened}])},[g("a",{role:"button",class:"text-body",onClick:e[0]||(e[0]=l=>this.subMenuOpened=!0)},XH),B(Rt,{name:"slide-fade"},{default:Re(()=>[this.subMenuOpened?(D(),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"])):ce("",!0)]),_:1})],2)])])],2)}const ZH=He(IH,[["render",qH],["__scopeId","data-v-4a343fe2"]]);/*! * @kurkle/color v0.3.2 * https://github.com/kurkle/color#readme * (c) 2023 Jukka Kurkela * Released under the MIT License - - */function tl(t){return t+.5|0}const wi=(t,e,n)=>Math.max(Math.min(t,n),e);function ia(t){return wi(tl(t*2.55),0,255)}function Pi(t){return wi(tl(t*255),0,255)}function Ws(t){return wi(tl(t/2.55)/100,0,1)}function xm(t){return wi(tl(t*100),0,100)}const Yn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Kd=[..."0123456789ABCDEF"],zF=t=>Kd[t&15],YF=t=>Kd[(t&240)>>4]+Kd[t&15],Dl=t=>(t&240)>>4===(t&15),UF=t=>Dl(t.r)&&Dl(t.g)&&Dl(t.b)&&Dl(t.a);function KF(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&Yn[t[1]]*17,g:255&Yn[t[2]]*17,b:255&Yn[t[3]]*17,a:e===5?Yn[t[4]]*17:255}:(e===7||e===9)&&(n={r:Yn[t[1]]<<4|Yn[t[2]],g:Yn[t[3]]<<4|Yn[t[4]],b:Yn[t[5]]<<4|Yn[t[6]],a:e===9?Yn[t[7]]<<4|Yn[t[8]]:255})),n}const qF=(t,e)=>t<255?e(t):"";function GF(t){var e=UF(t)?zF:YF;return t?"#"+e(t.r)+e(t.g)+e(t.b)+qF(t.a,e):void 0}const JF=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function i0(t,e,n){const s=e*Math.min(n,1-n),i=(o,r=(o+t/30)%12)=>n-s*Math.max(Math.min(r-3,9-r,1),-1);return[i(0),i(8),i(4)]}function XF(t,e,n){const s=(i,o=(i+t/60)%6)=>n-n*e*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function QF(t,e,n){const s=i0(t,1,.5);let i;for(e+n>1&&(i=1/(e+n),e*=i,n*=i),i=0;i<3;i++)s[i]*=1-e-n,s[i]+=e;return s}function ZF(t,e,n,s,i){return t===i?(e-n)/s+(e.5?u/(2-o-r):u/(o+r),l=ZF(n,s,i,u,o),l=l*60+.5),[l|0,c||0,a]}function Sf(t,e,n,s){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,s)).map(Pi)}function $f(t,e,n){return Sf(i0,t,e,n)}function eB(t,e,n){return Sf(QF,t,e,n)}function tB(t,e,n){return Sf(XF,t,e,n)}function o0(t){return(t%360+360)%360}function nB(t){const e=JF.exec(t);let n=255,s;if(!e)return;e[5]!==s&&(n=e[6]?ia(+e[5]):Pi(+e[5]));const i=o0(+e[2]),o=+e[3]/100,r=+e[4]/100;return e[1]==="hwb"?s=eB(i,o,r):e[1]==="hsv"?s=tB(i,o,r):s=$f(i,o,r),{r:s[0],g:s[1],b:s[2],a:n}}function sB(t,e){var n=kf(t);n[0]=o0(n[0]+e),n=$f(n),t.r=n[0],t.g=n[1],t.b=n[2]}function iB(t){if(!t)return;const e=kf(t),n=e[0],s=xm(e[1]),i=xm(e[2]);return t.a<255?`hsla(${n}, ${s}%, ${i}%, ${Ws(t.a)})`:`hsl(${n}, ${s}%, ${i}%)`}const km={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Sm={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function oB(){const t={},e=Object.keys(Sm),n=Object.keys(km);let s,i,o,r,a;for(s=0;s>16&255,o>>8&255,o&255]}return t}let Ol;function rB(t){Ol||(Ol=oB(),Ol.transparent=[0,0,0,0]);const e=Ol[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const aB=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function lB(t){const e=aB.exec(t);let n=255,s,i,o;if(e){if(e[7]!==s){const r=+e[7];n=e[8]?ia(r):wi(r*255,0,255)}return s=+e[1],i=+e[3],o=+e[5],s=255&(e[2]?ia(s):wi(s,0,255)),i=255&(e[4]?ia(i):wi(i,0,255)),o=255&(e[6]?ia(o):wi(o,0,255)),{r:s,g:i,b:o,a:n}}}function cB(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${Ws(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const td=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,Go=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function uB(t,e,n){const s=Go(Ws(t.r)),i=Go(Ws(t.g)),o=Go(Ws(t.b));return{r:Pi(td(s+n*(Go(Ws(e.r))-s))),g:Pi(td(i+n*(Go(Ws(e.g))-i))),b:Pi(td(o+n*(Go(Ws(e.b))-o))),a:t.a+n*(e.a-t.a)}}function Il(t,e,n){if(t){let s=kf(t);s[e]=Math.max(0,Math.min(s[e]+s[e]*n,e===0?360:1)),s=$f(s),t.r=s[0],t.g=s[1],t.b=s[2]}}function r0(t,e){return t&&Object.assign(e||{},t)}function $m(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Pi(t[3]))):(e=r0(t,{r:0,g:0,b:0,a:1}),e.a=Pi(e.a)),e}function dB(t){return t.charAt(0)==="r"?lB(t):nB(t)}class Fa{constructor(e){if(e instanceof Fa)return e;const n=typeof e;let s;n==="object"?s=$m(e):n==="string"&&(s=KF(e)||rB(e)||dB(e)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var e=r0(this._rgb);return e&&(e.a=Ws(e.a)),e}set rgb(e){this._rgb=$m(e)}rgbString(){return this._valid?cB(this._rgb):void 0}hexString(){return this._valid?GF(this._rgb):void 0}hslString(){return this._valid?iB(this._rgb):void 0}mix(e,n){if(e){const s=this.rgb,i=e.rgb;let o;const r=n===o?.5:n,a=2*r-1,l=s.a-i.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,s.r=255&c*s.r+o*i.r+.5,s.g=255&c*s.g+o*i.g+.5,s.b=255&c*s.b+o*i.b+.5,s.a=r*s.a+(1-r)*i.a,this.rgb=s}return this}interpolate(e,n){return e&&(this._rgb=uB(this._rgb,e._rgb,n)),this}clone(){return new Fa(this.rgb)}alpha(e){return this._rgb.a=Pi(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=tl(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Il(this._rgb,2,e),this}darken(e){return Il(this._rgb,2,-e),this}saturate(e){return Il(this._rgb,1,e),this}desaturate(e){return Il(this._rgb,1,-e),this}rotate(e){return sB(this._rgb,e),this}}/*! - + */function zu(t){return t+.5|0}const jr=(t,e,n)=>Math.max(Math.min(t,n),e);function wc(t){return jr(zu(t*2.55),0,255)}function to(t){return jr(zu(t*255),0,255)}function tr(t){return jr(zu(t/2.55)/100,0,1)}function Rb(t){return jr(zu(t*100),0,100)}const Fi={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},im=[..."0123456789ABCDEF"],JH=t=>im[t&15],QH=t=>im[(t&240)>>4]+im[t&15],Ed=t=>(t&240)>>4===(t&15),eY=t=>Ed(t.r)&&Ed(t.g)&&Ed(t.b)&&Ed(t.a);function tY(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&Fi[t[1]]*17,g:255&Fi[t[2]]*17,b:255&Fi[t[3]]*17,a:e===5?Fi[t[4]]*17:255}:(e===7||e===9)&&(n={r:Fi[t[1]]<<4|Fi[t[2]],g:Fi[t[3]]<<4|Fi[t[4]],b:Fi[t[5]]<<4|Fi[t[6]],a:e===9?Fi[t[7]]<<4|Fi[t[8]]:255})),n}const nY=(t,e)=>t<255?e(t):"";function iY(t){var e=eY(t)?JH:QH;return t?"#"+e(t.r)+e(t.g)+e(t.b)+nY(t.a,e):void 0}const sY=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function pC(t,e,n){const i=e*Math.min(n,1-n),s=(r,o=(r+t/30)%12)=>n-i*Math.max(Math.min(o-3,9-o,1),-1);return[s(0),s(8),s(4)]}function rY(t,e,n){const i=(s,r=(s+t/60)%6)=>n-n*e*Math.max(Math.min(r,4-r,1),0);return[i(5),i(3),i(1)]}function oY(t,e,n){const i=pC(t,1,.5);let s;for(e+n>1&&(s=1/(e+n),e*=s,n*=s),s=0;s<3;s++)i[s]*=1-e-n,i[s]+=e;return i}function aY(t,e,n,i,s){return t===s?(e-n)/i+(e.5?u/(2-r-o):u/(r+o),l=aY(n,i,s,u,r),l=l*60+.5),[l|0,c||0,a]}function G_(t,e,n,i){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,i)).map(to)}function X_(t,e,n){return G_(pC,t,e,n)}function lY(t,e,n){return G_(oY,t,e,n)}function cY(t,e,n){return G_(rY,t,e,n)}function mC(t){return(t%360+360)%360}function uY(t){const e=sY.exec(t);let n=255,i;if(!e)return;e[5]!==i&&(n=e[6]?wc(+e[5]):to(+e[5]));const s=mC(+e[2]),r=+e[3]/100,o=+e[4]/100;return e[1]==="hwb"?i=lY(s,r,o):e[1]==="hsv"?i=cY(s,r,o):i=X_(s,r,o),{r:i[0],g:i[1],b:i[2],a:n}}function dY(t,e){var n=U_(t);n[0]=mC(n[0]+e),n=X_(n),t.r=n[0],t.g=n[1],t.b=n[2]}function hY(t){if(!t)return;const e=U_(t),n=e[0],i=Rb(e[1]),s=Rb(e[2]);return t.a<255?`hsla(${n}, ${i}%, ${s}%, ${tr(t.a)})`:`hsl(${n}, ${i}%, ${s}%)`}const Db={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},$b={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function fY(){const t={},e=Object.keys($b),n=Object.keys(Db);let i,s,r,o,a;for(i=0;i>16&255,r>>8&255,r&255]}return t}let Sd;function gY(t){Sd||(Sd=fY(),Sd.transparent=[0,0,0,0]);const e=Sd[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const pY=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function mY(t){const e=pY.exec(t);let n=255,i,s,r;if(e){if(e[7]!==i){const o=+e[7];n=e[8]?wc(o):jr(o*255,0,255)}return i=+e[1],s=+e[3],r=+e[5],i=255&(e[2]?wc(i):jr(i,0,255)),s=255&(e[4]?wc(s):jr(s,0,255)),r=255&(e[6]?wc(r):jr(r,0,255)),{r:i,g:s,b:r,a:n}}}function _Y(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${tr(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const Yg=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,Da=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function yY(t,e,n){const i=Da(tr(t.r)),s=Da(tr(t.g)),r=Da(tr(t.b));return{r:to(Yg(i+n*(Da(tr(e.r))-i))),g:to(Yg(s+n*(Da(tr(e.g))-s))),b:to(Yg(r+n*(Da(tr(e.b))-r))),a:t.a+n*(e.a-t.a)}}function Cd(t,e,n){if(t){let i=U_(t);i[e]=Math.max(0,Math.min(i[e]+i[e]*n,e===0?360:1)),i=X_(i),t.r=i[0],t.g=i[1],t.b=i[2]}}function _C(t,e){return t&&Object.assign(e||{},t)}function Lb(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=to(t[3]))):(e=_C(t,{r:0,g:0,b:0,a:1}),e.a=to(e.a)),e}function vY(t){return t.charAt(0)==="r"?mY(t):uY(t)}class lu{constructor(e){if(e instanceof lu)return e;const n=typeof e;let i;n==="object"?i=Lb(e):n==="string"&&(i=tY(e)||gY(e)||vY(e)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var e=_C(this._rgb);return e&&(e.a=tr(e.a)),e}set rgb(e){this._rgb=Lb(e)}rgbString(){return this._valid?_Y(this._rgb):void 0}hexString(){return this._valid?iY(this._rgb):void 0}hslString(){return this._valid?hY(this._rgb):void 0}mix(e,n){if(e){const i=this.rgb,s=e.rgb;let r;const o=n===r?.5:n,a=2*o-1,l=i.a-s.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;r=1-c,i.r=255&c*i.r+r*s.r+.5,i.g=255&c*i.g+r*s.g+.5,i.b=255&c*i.b+r*s.b+.5,i.a=o*i.a+(1-o)*s.a,this.rgb=i}return this}interpolate(e,n){return e&&(this._rgb=yY(this._rgb,e._rgb,n)),this}clone(){return new lu(this.rgb)}alpha(e){return this._rgb.a=to(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=zu(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Cd(this._rgb,2,e),this}darken(e){return Cd(this._rgb,2,-e),this}saturate(e){return Cd(this._rgb,1,e),this}desaturate(e){return Cd(this._rgb,1,-e),this}rotate(e){return dY(this._rgb,e),this}}/*! * Chart.js v4.4.1 * https://www.chartjs.org * (c) 2023 Chart.js Contributors * Released under the MIT License - - */function Ns(){}const hB=(()=>{let t=0;return()=>t++})();function it(t){return t===null||typeof t>"u"}function vt(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function nt(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function Ct(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function Mn(t,e){return Ct(t)?t:e}function qe(t,e){return typeof t>"u"?e:t}const fB=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:+t/e,a0=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function ft(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function ct(t,e,n,s){let i,o,r;if(vt(t))if(o=t.length,s)for(i=o-1;i>=0;i--)e.call(n,t[i],i);else for(i=0;it,x:t=>t.x,y:t=>t.y};function mB(t){const e=t.split("."),n=[];let s="";for(const i of e)s+=i,s.endsWith("\\")?s=s.slice(0,-1)+".":(n.push(s),s="");return n}function _B(t){const e=mB(t);return n=>{for(const s of e){if(s==="")break;n=n&&n[s]}return n}}function Ii(t,e){return(Am[e]||(Am[e]=_B(e)))(t)}function Af(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Va=t=>typeof t<"u",Ri=t=>typeof t=="function",Cm=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function vB(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const yt=Math.PI,bt=2*yt,bB=bt+yt,wc=Number.POSITIVE_INFINITY,yB=yt/180,Rt=yt/2,io=yt/4,Em=yt*2/3,xi=Math.log10,As=Math.sign;function wa(t,e,n){return Math.abs(t-e)i-o).pop(),e}function $r(t){return!isNaN(parseFloat(t))&&isFinite(t)}function xB(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function c0(t,e,n){let s,i,o;for(s=0,i=t.length;sl&&c=Math.min(e,n)-s&&t<=Math.max(e,n)+s}function Ef(t,e,n){n=n||(r=>t[r]1;)o=i+s>>1,n(o)?i=o:s=o;return{lo:i,hi:s}}const Ks=(t,e,n,s)=>Ef(t,n,s?i=>{const o=t[i][e];return ot[i][e]Ef(t,n,s=>t[s][e]>=n);function AB(t,e,n){let s=0,i=t.length;for(;ss&&t[i-1]>n;)i--;return s>0||i{const s="_onData"+Af(n),i=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...o){const r=i.apply(this,o);return t._chartjs.listeners.forEach(a=>{typeof a[s]=="function"&&a[s](...o)}),r}})})}function Mm(t,e){const n=t._chartjs;if(!n)return;const s=n.listeners,i=s.indexOf(e);i!==-1&&s.splice(i,1),!(s.length>0)&&(d0.forEach(o=>{delete t[o]}),delete t._chartjs)}function h0(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const f0=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function p0(t,e){let n=[],s=!1;return function(...i){n=i,s||(s=!0,f0.call(window,()=>{s=!1,t.apply(e,n)}))}}function EB(t,e){let n;return function(...s){return e?(clearTimeout(n),n=setTimeout(t,e,s)):t.apply(this,s),e}}const Pf=t=>t==="start"?"left":t==="end"?"right":"center",an=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2,PB=(t,e,n,s)=>t===(s?"left":"right")?n:t==="center"?(e+n)/2:e;function g0(t,e,n){const s=e.length;let i=0,o=s;if(t._sorted){const{iScale:r,_parsed:a}=t,l=r.axis,{min:c,max:u,minDefined:d,maxDefined:f}=r.getUserBounds();d&&(i=Zt(Math.min(Ks(a,l,c).lo,n?s:Ks(e,l,r.getPixelForValue(c)).lo),0,s-1)),f?o=Zt(Math.max(Ks(a,r.axis,u,!0).hi+1,n?0:Ks(e,l,r.getPixelForValue(u),!0).hi+1),i,s)-i:o=s-i}return{start:i,count:o}}function m0(t){const{xScale:e,yScale:n,_scaleRanges:s}=t,i={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!s)return t._scaleRanges=i,!0;const o=s.xmin!==e.min||s.xmax!==e.max||s.ymin!==n.min||s.ymax!==n.max;return Object.assign(s,i),o}const Rl=t=>t===0||t===1,Dm=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*bt/n)),Om=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*bt/n)+1,xa={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*Rt)+1,easeOutSine:t=>Math.sin(t*Rt),easeInOutSine:t=>-.5*(Math.cos(yt*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>Rl(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Rl(t)?t:Dm(t,.075,.3),easeOutElastic:t=>Rl(t)?t:Om(t,.075,.3),easeInOutElastic(t){return Rl(t)?t:t<.5?.5*Dm(t*2,.1125,.45):.5+.5*Om(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-xa.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?xa.easeInBounce(t*2)*.5:xa.easeOutBounce(t*2-1)*.5+.5};function Tf(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function Im(t){return Tf(t)?t:new Fa(t)}function nd(t){return Tf(t)?t:new Fa(t).saturate(.5).darken(.1).hexString()}const TB=["x","y","borderWidth","radius","tension"],MB=["color","borderColor","backgroundColor"];function DB(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:MB},numbers:{type:"number",properties:TB}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function OB(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Rm=new Map;function IB(t,e){e=e||{};const n=t+JSON.stringify(e);let s=Rm.get(n);return s||(s=new Intl.NumberFormat(t,e),Rm.set(n,s)),s}function nl(t,e,n){return IB(e,n).format(t)}const _0={values(t){return vt(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const s=this.chart.options.locale;let i,o=t;if(n.length>1){const c=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(c<1e-4||c>1e15)&&(i="scientific"),o=RB(t,n)}const r=xi(Math.abs(o)),a=isNaN(r)?1:Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:i,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),nl(t,s,l)},logarithmic(t,e,n){if(t===0)return"0";const s=n[e].significand||t/Math.pow(10,Math.floor(xi(t)));return[1,2,3,5,10,15].includes(s)||e>.8*n.length?_0.numeric.call(this,t,e,n):""}};function RB(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var nu={formatters:_0};function LB(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,n)=>n.lineWidth,tickColor:(e,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:nu.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const Eo=Object.create(null),Gd=Object.create(null);function ka(t,e){if(!e)return t;const n=e.split(".");for(let s=0,i=n.length;ss.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(s,i)=>nd(i.backgroundColor),this.hoverBorderColor=(s,i)=>nd(i.borderColor),this.hoverColor=(s,i)=>nd(i.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(n)}set(e,n){return sd(this,e,n)}get(e){return ka(this,e)}describe(e,n){return sd(Gd,e,n)}override(e,n){return sd(Eo,e,n)}route(e,n,s,i){const o=ka(this,e),r=ka(this,s),a="_"+n;Object.defineProperties(o,{[a]:{value:o[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[a],c=r[i];return nt(l)?Object.assign({},c,l):qe(l,c)},set(l){this[a]=l}}})}apply(e){e.forEach(n=>n(this))}}var Et=new NB({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[DB,OB,LB]);function FB(t){return!t||it(t.size)||it(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function xc(t,e,n,s,i){let o=e[i];return o||(o=e[i]=t.measureText(i).width,n.push(i)),o>s&&(s=o),s}function BB(t,e,n,s){s=s||{};let i=s.data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==e&&(i=s.data={},o=s.garbageCollect=[],s.font=e),t.save(),t.font=e;let r=0;const a=n.length;let l,c,u,d,f;for(l=0;ln.length){for(l=0;l0&&t.stroke()}}function qs(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.xe.top-n&&t.y0&&o.strokeColor!=="";let l,c;for(t.save(),t.font=i.string,jB(t,o),l=0;l+t||0;function Mf(t,e){const n={},s=nt(e),i=s?Object.keys(e):e,o=nt(t)?s?r=>qe(t[r],t[e[r]]):r=>t[r]:()=>t;for(const r of i)n[r]=qB(o(r));return n}function b0(t){return Mf(t,{top:"y",right:"x",bottom:"y",left:"x"})}function xo(t){return Mf(t,["topLeft","topRight","bottomLeft","bottomRight"])}function hn(t){const e=b0(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Yt(t,e){t=t||{},e=e||Et.font;let n=qe(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let s=qe(t.style,e.style);s&&!(""+s).match(UB)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);const i={family:qe(t.family,e.family),lineHeight:KB(qe(t.lineHeight,e.lineHeight),n),size:n,style:s,weight:qe(t.weight,e.weight),string:""};return i.string=FB(i),i}function oa(t,e,n,s){let i=!0,o,r,a;for(o=0,r=t.length;on&&a===0?0:a+l;return{min:r(s,-Math.abs(o)),max:r(i,o)}}function Wi(t,e){return Object.assign(Object.create(t),e)}function Df(t,e=[""],n,s,i=()=>t[0]){const o=n||t;typeof s>"u"&&(s=k0("_fallback",t));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:o,_fallback:s,_getTarget:i,override:a=>Df([a,...t],e,o,s)};return new Proxy(r,{deleteProperty(a,l){return delete a[l],delete a._keys,delete t[0][l],!0},get(a,l){return w0(a,l,()=>s4(l,e,t,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(a,l){return Fm(a).includes(l)},ownKeys(a){return Fm(a)},set(a,l,c){const u=a._storage||(a._storage=i());return a[l]=u[l]=c,delete a._keys,!0}})}function Ar(t,e,n,s){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:y0(t,s),setContext:o=>Ar(t,o,n,s),override:o=>Ar(t.override(o),e,n,s)};return new Proxy(i,{deleteProperty(o,r){return delete o[r],delete t[r],!0},get(o,r,a){return w0(o,r,()=>XB(o,r,a))},getOwnPropertyDescriptor(o,r){return o._descriptors.allKeys?Reflect.has(t,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,r)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(o,r){return Reflect.has(t,r)},ownKeys(){return Reflect.ownKeys(t)},set(o,r,a){return t[r]=a,delete o[r],!0}})}function y0(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:s=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:n,indexable:s,isScriptable:Ri(n)?n:()=>n,isIndexable:Ri(s)?s:()=>s}}const JB=(t,e)=>t?t+Af(e):e,Of=(t,e)=>nt(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function w0(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const s=n();return t[e]=s,s}function XB(t,e,n){const{_proxy:s,_context:i,_subProxy:o,_descriptors:r}=t;let a=s[e];return Ri(a)&&r.isScriptable(e)&&(a=QB(e,a,t,n)),vt(a)&&a.length&&(a=ZB(e,a,t,r.isIndexable)),Of(e,a)&&(a=Ar(a,i,o&&o[e],r)),a}function QB(t,e,n,s){const{_proxy:i,_context:o,_subProxy:r,_stack:a}=n;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);a.add(t);let l=e(o,r||s);return a.delete(t),Of(t,l)&&(l=If(i._scopes,i,t,l)),l}function ZB(t,e,n,s){const{_proxy:i,_context:o,_subProxy:r,_descriptors:a}=n;if(typeof o.index<"u"&&s(t))return e[o.index%e.length];if(nt(e[0])){const l=e,c=i._scopes.filter(u=>u!==l);e=[];for(const u of l){const d=If(c,i,t,u);e.push(Ar(d,o,r&&r[t],a))}}return e}function x0(t,e,n){return Ri(t)?t(e,n):t}const e4=(t,e)=>t===!0?e:typeof t=="string"?Ii(e,t):void 0;function t4(t,e,n,s,i){for(const o of e){const r=e4(n,o);if(r){t.add(r);const a=x0(r._fallback,n,i);if(typeof a<"u"&&a!==n&&a!==s)return a}else if(r===!1&&typeof s<"u"&&n!==s)return null}return!1}function If(t,e,n,s){const i=e._rootScopes,o=x0(e._fallback,n,s),r=[...t,...i],a=new Set;a.add(s);let l=Nm(a,r,n,o||n,s);return l===null||typeof o<"u"&&o!==n&&(l=Nm(a,r,o,l,s),l===null)?!1:Df(Array.from(a),[""],i,o,()=>n4(e,n,s))}function Nm(t,e,n,s,i){for(;n;)n=t4(t,e,n,s,i);return n}function n4(t,e,n){const s=t._getTarget();e in s||(s[e]={});const i=s[e];return vt(i)&&nt(n)?n:i||{}}function s4(t,e,n,s){let i;for(const o of e)if(i=k0(JB(o,t),n),typeof i<"u")return Of(t,i)?If(n,s,t,i):i}function k0(t,e){for(const n of e){if(!n)continue;const s=n[t];if(typeof s<"u")return s}}function Fm(t){let e=t._keys;return e||(e=t._keys=i4(t._scopes)),e}function i4(t){const e=new Set;for(const n of t)for(const s of Object.keys(n).filter(i=>!i.startsWith("_")))e.add(s);return Array.from(e)}function S0(t,e,n,s){const{iScale:i}=t,{key:o="r"}=this._parsing,r=new Array(s);let a,l,c,u;for(a=0,l=s;aet==="x"?"y":"x";function r4(t,e,n,s){const i=t.skip?e:t,o=e,r=n.skip?e:n,a=qd(o,i),l=qd(r,o);let c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=s*c,f=s*u;return{previous:{x:o.x-d*(r.x-i.x),y:o.y-d*(r.y-i.y)},next:{x:o.x+f*(r.x-i.x),y:o.y+f*(r.y-i.y)}}}function a4(t,e,n){const s=t.length;let i,o,r,a,l,c=Cr(t,0);for(let u=0;u!c.skip)),e.cubicInterpolationMode==="monotone")c4(t,i);else{let c=s?t[t.length-1]:t[0];for(o=0,r=t.length;ot.ownerDocument.defaultView.getComputedStyle(t,null);function h4(t,e){return ou(t).getPropertyValue(e)}const f4=["top","right","bottom","left"];function ko(t,e,n){const s={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=f4[i];s[o]=parseFloat(t[e+"-"+o+n])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const p4=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function g4(t,e){const n=t.touches,s=n&&n.length?n[0]:t,{offsetX:i,offsetY:o}=s;let r=!1,a,l;if(p4(i,o,t.target))a=i,l=o;else{const c=e.getBoundingClientRect();a=s.clientX-c.left,l=s.clientY-c.top,r=!0}return{x:a,y:l,box:r}}function uo(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:s}=e,i=ou(n),o=i.boxSizing==="border-box",r=ko(i,"padding"),a=ko(i,"border","width"),{x:l,y:c,box:u}=g4(t,n),d=r.left+(u&&a.left),f=r.top+(u&&a.top);let{width:g,height:_}=e;return o&&(g-=r.width+a.width,_-=r.height+a.height),{x:Math.round((l-d)/g*n.width/s),y:Math.round((c-f)/_*n.height/s)}}function m4(t,e,n){let s,i;if(e===void 0||n===void 0){const o=Lf(t);if(!o)e=t.clientWidth,n=t.clientHeight;else{const r=o.getBoundingClientRect(),a=ou(o),l=ko(a,"border","width"),c=ko(a,"padding");e=r.width-c.width-l.width,n=r.height-c.height-l.height,s=kc(a.maxWidth,o,"clientWidth"),i=kc(a.maxHeight,o,"clientHeight")}}return{width:e,height:n,maxWidth:s||wc,maxHeight:i||wc}}const Nl=t=>Math.round(t*10)/10;function _4(t,e,n,s){const i=ou(t),o=ko(i,"margin"),r=kc(i.maxWidth,t,"clientWidth")||wc,a=kc(i.maxHeight,t,"clientHeight")||wc,l=m4(t,e,n);let{width:c,height:u}=l;if(i.boxSizing==="content-box"){const f=ko(i,"border","width"),g=ko(i,"padding");c-=g.width+f.width,u-=g.height+f.height}return c=Math.max(0,c-o.width),u=Math.max(0,s?c/s:u-o.height),c=Nl(Math.min(c,r,l.maxWidth)),u=Nl(Math.min(u,a,l.maxHeight)),c&&!u&&(u=Nl(c/2)),(e!==void 0||n!==void 0)&&s&&l.height&&u>l.height&&(u=l.height,c=Nl(Math.floor(u*s))),{width:c,height:u}}function Bm(t,e,n){const s=e||1,i=Math.floor(t.height*s),o=Math.floor(t.width*s);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const r=t.canvas;return r.style&&(n||!r.style.height&&!r.style.width)&&(r.style.height=`${t.height}px`,r.style.width=`${t.width}px`),t.currentDevicePixelRatio!==s||r.height!==i||r.width!==o?(t.currentDevicePixelRatio=s,r.height=i,r.width=o,t.ctx.setTransform(s,0,0,s,0,0),!0):!1}const v4=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};Rf()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t}();function Vm(t,e){const n=h4(t,e),s=n&&n.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function ho(t,e,n,s){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function b4(t,e,n,s){return{x:t.x+n*(e.x-t.x),y:s==="middle"?n<.5?t.y:e.y:s==="after"?n<1?t.y:e.y:n>0?e.y:t.y}}function y4(t,e,n,s){const i={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},r=ho(t,i,n),a=ho(i,o,n),l=ho(o,e,n),c=ho(r,a,n),u=ho(a,l,n);return ho(c,u,n)}const w4=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,s){return n-s},leftForLtr(n,s){return n-s}}},x4=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function ar(t,e,n){return t?w4(e,n):x4()}function A0(t,e){let n,s;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,s=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=s)}function C0(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function E0(t){return t==="angle"?{between:Ha,compare:kB,normalize:On}:{between:Us,compare:(e,n)=>e-n,normalize:e=>e}}function Hm({start:t,end:e,count:n,loop:s,style:i}){return{start:t%n,end:e%n,loop:s&&(e-t+1)%n===0,style:i}}function k4(t,e,n){const{property:s,start:i,end:o}=n,{between:r,normalize:a}=E0(s),l=e.length;let{start:c,end:u,loop:d}=t,f,g;if(d){for(c+=l,u+=l,f=0,g=l;fl(i,A,w)&&a(i,A)!==0,x=()=>a(o,w)===0||l(o,A,w),y=()=>m||D(),S=()=>!m||x();for(let E=u,T=u;E<=d;++E)$=e[E%r],!$.skip&&(w=c($[s]),w!==A&&(m=l(w,i,o),b===null&&y()&&(b=a(w,i)===0?E:T),b!==null&&S()&&(_.push(Hm({start:b,end:E,loop:f,count:r,style:g})),b=null),T=E,A=w));return b!==null&&_.push(Hm({start:b,end:d,loop:f,count:r,style:g})),_}function T0(t,e){const n=[],s=t.segments;for(let i=0;ii&&t[o%e].skip;)o--;return o%=e,{start:i,end:o}}function $4(t,e,n,s){const i=t.length,o=[];let r=e,a=t[e],l;for(l=e+1;l<=n;++l){const c=t[l%i];c.skip||c.stop?a.skip||(s=!1,o.push({start:e%i,end:(l-1)%i,loop:s}),e=r=c.stop?l:null):(r=l,a.skip&&(e=l)),a=c}return r!==null&&o.push({start:e%i,end:r%i,loop:s}),o}function A4(t,e){const n=t.points,s=t.options.spanGaps,i=n.length;if(!i)return[];const o=!!t._loop,{start:r,end:a}=S4(n,i,o,s);if(s===!0)return jm(t,[{start:r,end:a,loop:o}],n,e);const l=a{let t=0;return()=>t++})();function gt(t){return t===null||typeof t>"u"}function Nt(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function ut(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function qt(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function xi(t,e){return qt(t)?t:e}function tt(t,e){return typeof t>"u"?e:t}const wY=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:+t/e,yC=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function Pt(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function Ct(t,e,n,i){let s,r,o;if(Nt(t))if(r=t.length,i)for(s=r-1;s>=0;s--)e.call(n,t[s],s);else for(s=0;st,x:t=>t.x,y:t=>t.y};function SY(t){const e=t.split("."),n=[];let i="";for(const s of e)i+=s,i.endsWith("\\")?i=i.slice(0,-1)+".":(n.push(i),i="");return n}function CY(t){const e=SY(t);return n=>{for(const i of e){if(i==="")break;n=n&&n[i]}return n}}function ao(t,e){return(Ob[e]||(Ob[e]=CY(e)))(t)}function q_(t){return t.charAt(0).toUpperCase()+t.slice(1)}const uu=t=>typeof t<"u",lo=t=>typeof t=="function",Nb=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function TY(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const Bt=Math.PI,Ft=2*Bt,kY=Ft+Bt,Eh=Number.POSITIVE_INFINITY,AY=Bt/180,on=Bt/2,Do=Bt/4,Fb=Bt*2/3,Kr=Math.log10,Ds=Math.sign;function Yc(t,e,n){return Math.abs(t-e)s-r).pop(),e}function Al(t){return!isNaN(parseFloat(t))&&isFinite(t)}function IY(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function bC(t,e,n){let i,s,r;for(i=0,s=t.length;il&&c=Math.min(e,n)-i&&t<=Math.max(e,n)+i}function J_(t,e,n){n=n||(o=>t[o]1;)r=s+i>>1,n(r)?s=r:i=r;return{lo:s,hi:i}}const or=(t,e,n,i)=>J_(t,n,i?s=>{const r=t[s][e];return rt[s][e]J_(t,n,i=>t[i][e]>=n);function $Y(t,e,n){let i=0,s=t.length;for(;ii&&t[s-1]>n;)s--;return i>0||s{const i="_onData"+q_(n),s=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...r){const o=s.apply(this,r);return t._chartjs.listeners.forEach(a=>{typeof a[i]=="function"&&a[i](...r)}),o}})})}function zb(t,e){const n=t._chartjs;if(!n)return;const i=n.listeners,s=i.indexOf(e);s!==-1&&i.splice(s,1),!(i.length>0)&&(xC.forEach(r=>{delete t[r]}),delete t._chartjs)}function EC(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const SC=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function CC(t,e){let n=[],i=!1;return function(...s){n=s,i||(i=!0,SC.call(window,()=>{i=!1,t.apply(e,n)}))}}function OY(t,e){let n;return function(...i){return e?(clearTimeout(n),n=setTimeout(t,e,i)):t.apply(this,i),e}}const Q_=t=>t==="start"?"left":t==="end"?"right":"center",Bn=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2,NY=(t,e,n,i)=>t===(i?"left":"right")?n:t==="center"?(e+n)/2:e;function TC(t,e,n){const i=e.length;let s=0,r=i;if(t._sorted){const{iScale:o,_parsed:a}=t,l=o.axis,{min:c,max:u,minDefined:d,maxDefined:h}=o.getUserBounds();d&&(s=Pn(Math.min(or(a,l,c).lo,n?i:or(e,l,o.getPixelForValue(c)).lo),0,i-1)),h?r=Pn(Math.max(or(a,o.axis,u,!0).hi+1,n?0:or(e,l,o.getPixelForValue(u),!0).hi+1),s,i)-s:r=i-s}return{start:s,count:r}}function kC(t){const{xScale:e,yScale:n,_scaleRanges:i}=t,s={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!i)return t._scaleRanges=s,!0;const r=i.xmin!==e.min||i.xmax!==e.max||i.ymin!==n.min||i.ymax!==n.max;return Object.assign(i,s),r}const Td=t=>t===0||t===1,Wb=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*Ft/n)),Hb=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*Ft/n)+1,jc={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*on)+1,easeOutSine:t=>Math.sin(t*on),easeInOutSine:t=>-.5*(Math.cos(Bt*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>Td(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Td(t)?t:Wb(t,.075,.3),easeOutElastic:t=>Td(t)?t:Hb(t,.075,.3),easeInOutElastic(t){return Td(t)?t:t<.5?.5*Wb(t*2,.1125,.45):.5+.5*Hb(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-jc.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?jc.easeInBounce(t*2)*.5:jc.easeOutBounce(t*2-1)*.5+.5};function ey(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function Yb(t){return ey(t)?t:new lu(t)}function jg(t){return ey(t)?t:new lu(t).saturate(.5).darken(.1).hexString()}const FY=["x","y","borderWidth","radius","tension"],BY=["color","borderColor","backgroundColor"];function VY(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:BY},numbers:{type:"number",properties:FY}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function zY(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const jb=new Map;function WY(t,e){e=e||{};const n=t+JSON.stringify(e);let i=jb.get(n);return i||(i=new Intl.NumberFormat(t,e),jb.set(n,i)),i}function Wu(t,e,n){return WY(e,n).format(t)}const AC={values(t){return Nt(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const i=this.chart.options.locale;let s,r=t;if(n.length>1){const c=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(c<1e-4||c>1e15)&&(s="scientific"),r=HY(t,n)}const o=Kr(Math.abs(r)),a=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),l={notation:s,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),Wu(t,i,l)},logarithmic(t,e,n){if(t===0)return"0";const i=n[e].significand||t/Math.pow(10,Math.floor(Kr(t)));return[1,2,3,5,10,15].includes(i)||e>.8*n.length?AC.numeric.call(this,t,e,n):""}};function HY(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var xf={formatters:AC};function YY(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,n)=>n.lineWidth,tickColor:(e,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:xf.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const ca=Object.create(null),rm=Object.create(null);function Kc(t,e){if(!e)return t;const n=e.split(".");for(let i=0,s=n.length;ii.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(i,s)=>jg(s.backgroundColor),this.hoverBorderColor=(i,s)=>jg(s.borderColor),this.hoverColor=(i,s)=>jg(s.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(n)}set(e,n){return Kg(this,e,n)}get(e){return Kc(this,e)}describe(e,n){return Kg(rm,e,n)}override(e,n){return Kg(ca,e,n)}route(e,n,i,s){const r=Kc(this,e),o=Kc(this,i),a="_"+n;Object.defineProperties(r,{[a]:{value:r[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[a],c=o[s];return ut(l)?Object.assign({},c,l):tt(l,c)},set(l){this[a]=l}}})}apply(e){e.forEach(n=>n(this))}}var Zt=new jY({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[VY,zY,YY]);function KY(t){return!t||gt(t.size)||gt(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Sh(t,e,n,i,s){let r=e[s];return r||(r=e[s]=t.measureText(s).width,n.push(s)),r>i&&(i=r),i}function UY(t,e,n,i){i=i||{};let s=i.data=i.data||{},r=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(s=i.data={},r=i.garbageCollect=[],i.font=e),t.save(),t.font=e;let o=0;const a=n.length;let l,c,u,d,h;for(l=0;ln.length){for(l=0;l0&&t.stroke()}}function ar(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.xe.top-n&&t.y0&&r.strokeColor!=="";let l,c;for(t.save(),t.font=s.string,qY(t,r),l=0;l+t||0;function ty(t,e){const n={},i=ut(e),s=i?Object.keys(e):e,r=ut(t)?i?o=>tt(t[o],t[e[o]]):o=>t[o]:()=>t;for(const o of s)n[o]=nj(r(o));return n}function IC(t){return ty(t,{top:"y",right:"x",bottom:"y",left:"x"})}function ia(t){return ty(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Kn(t){const e=IC(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function vn(t,e){t=t||{},e=e||Zt.font;let n=tt(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let i=tt(t.style,e.style);i&&!(""+i).match(ej)&&(console.warn('Invalid font style specified: "'+i+'"'),i=void 0);const s={family:tt(t.family,e.family),lineHeight:tj(tt(t.lineHeight,e.lineHeight),n),size:n,style:i,weight:tt(t.weight,e.weight),string:""};return s.string=KY(s),s}function xc(t,e,n,i){let s=!0,r,o,a;for(r=0,o=t.length;rn&&a===0?0:a+l;return{min:o(i,-Math.abs(r)),max:o(s,r)}}function yo(t,e){return Object.assign(Object.create(t),e)}function ny(t,e=[""],n,i,s=()=>t[0]){const r=n||t;typeof i>"u"&&(i=$C("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:r,_fallback:i,_getTarget:s,override:a=>ny([a,...t],e,r,i)};return new Proxy(o,{deleteProperty(a,l){return delete a[l],delete a._keys,delete t[0][l],!0},get(a,l){return RC(a,l,()=>dj(l,e,t,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(a,l){return Gb(a).includes(l)},ownKeys(a){return Gb(a)},set(a,l,c){const u=a._storage||(a._storage=s());return a[l]=u[l]=c,delete a._keys,!0}})}function Ml(t,e,n,i){const s={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:PC(t,i),setContext:r=>Ml(t,r,n,i),override:r=>Ml(t.override(r),e,n,i)};return new Proxy(s,{deleteProperty(r,o){return delete r[o],delete t[o],!0},get(r,o,a){return RC(r,o,()=>rj(r,o,a))},getOwnPropertyDescriptor(r,o){return r._descriptors.allKeys?Reflect.has(t,o)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,o)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(r,o){return Reflect.has(t,o)},ownKeys(){return Reflect.ownKeys(t)},set(r,o,a){return t[o]=a,delete r[o],!0}})}function PC(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:i=e.indexable,_allKeys:s=e.allKeys}=t;return{allKeys:s,scriptable:n,indexable:i,isScriptable:lo(n)?n:()=>n,isIndexable:lo(i)?i:()=>i}}const sj=(t,e)=>t?t+q_(e):e,iy=(t,e)=>ut(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function RC(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const i=n();return t[e]=i,i}function rj(t,e,n){const{_proxy:i,_context:s,_subProxy:r,_descriptors:o}=t;let a=i[e];return lo(a)&&o.isScriptable(e)&&(a=oj(e,a,t,n)),Nt(a)&&a.length&&(a=aj(e,a,t,o.isIndexable)),iy(e,a)&&(a=Ml(a,s,r&&r[e],o)),a}function oj(t,e,n,i){const{_proxy:s,_context:r,_subProxy:o,_stack:a}=n;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);a.add(t);let l=e(r,o||i);return a.delete(t),iy(t,l)&&(l=sy(s._scopes,s,t,l)),l}function aj(t,e,n,i){const{_proxy:s,_context:r,_subProxy:o,_descriptors:a}=n;if(typeof r.index<"u"&&i(t))return e[r.index%e.length];if(ut(e[0])){const l=e,c=s._scopes.filter(u=>u!==l);e=[];for(const u of l){const d=sy(c,s,t,u);e.push(Ml(d,r,o&&o[t],a))}}return e}function DC(t,e,n){return lo(t)?t(e,n):t}const lj=(t,e)=>t===!0?e:typeof t=="string"?ao(e,t):void 0;function cj(t,e,n,i,s){for(const r of e){const o=lj(n,r);if(o){t.add(o);const a=DC(o._fallback,n,s);if(typeof a<"u"&&a!==n&&a!==i)return a}else if(o===!1&&typeof i<"u"&&n!==i)return null}return!1}function sy(t,e,n,i){const s=e._rootScopes,r=DC(e._fallback,n,i),o=[...t,...s],a=new Set;a.add(i);let l=Ub(a,o,n,r||n,i);return l===null||typeof r<"u"&&r!==n&&(l=Ub(a,o,r,l,i),l===null)?!1:ny(Array.from(a),[""],s,r,()=>uj(e,n,i))}function Ub(t,e,n,i,s){for(;n;)n=cj(t,e,n,i,s);return n}function uj(t,e,n){const i=t._getTarget();e in i||(i[e]={});const s=i[e];return Nt(s)&&ut(n)?n:s||{}}function dj(t,e,n,i){let s;for(const r of e)if(s=$C(sj(r,t),n),typeof s<"u")return iy(t,s)?sy(n,i,t,s):s}function $C(t,e){for(const n of e){if(!n)continue;const i=n[t];if(typeof i<"u")return i}}function Gb(t){let e=t._keys;return e||(e=t._keys=hj(t._scopes)),e}function hj(t){const e=new Set;for(const n of t)for(const i of Object.keys(n).filter(s=>!s.startsWith("_")))e.add(i);return Array.from(e)}function LC(t,e,n,i){const{iScale:s}=t,{key:r="r"}=this._parsing,o=new Array(i);let a,l,c,u;for(a=0,l=i;aet==="x"?"y":"x";function gj(t,e,n,i){const s=t.skip?e:t,r=e,o=n.skip?e:n,a=sm(r,s),l=sm(o,r);let c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=i*c,h=i*u;return{previous:{x:r.x-d*(o.x-s.x),y:r.y-d*(o.y-s.y)},next:{x:r.x+h*(o.x-s.x),y:r.y+h*(o.y-s.y)}}}function pj(t,e,n){const i=t.length;let s,r,o,a,l,c=Il(t,0);for(let u=0;u!c.skip)),e.cubicInterpolationMode==="monotone")_j(t,s);else{let c=i?t[t.length-1]:t[0];for(r=0,o=t.length;rt.ownerDocument.defaultView.getComputedStyle(t,null);function bj(t,e){return Cf(t).getPropertyValue(e)}const wj=["top","right","bottom","left"];function sa(t,e,n){const i={};n=n?"-"+n:"";for(let s=0;s<4;s++){const r=wj[s];i[r]=parseFloat(t[e+"-"+r+n])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const xj=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function Ej(t,e){const n=t.touches,i=n&&n.length?n[0]:t,{offsetX:s,offsetY:r}=i;let o=!1,a,l;if(xj(s,r,t.target))a=s,l=r;else{const c=e.getBoundingClientRect();a=i.clientX-c.left,l=i.clientY-c.top,o=!0}return{x:a,y:l,box:o}}function zo(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:i}=e,s=Cf(n),r=s.boxSizing==="border-box",o=sa(s,"padding"),a=sa(s,"border","width"),{x:l,y:c,box:u}=Ej(t,n),d=o.left+(u&&a.left),h=o.top+(u&&a.top);let{width:f,height:p}=e;return r&&(f-=o.width+a.width,p-=o.height+a.height),{x:Math.round((l-d)/f*n.width/i),y:Math.round((c-h)/p*n.height/i)}}function Sj(t,e,n){let i,s;if(e===void 0||n===void 0){const r=oy(t);if(!r)e=t.clientWidth,n=t.clientHeight;else{const o=r.getBoundingClientRect(),a=Cf(r),l=sa(a,"border","width"),c=sa(a,"padding");e=o.width-c.width-l.width,n=o.height-c.height-l.height,i=Ch(a.maxWidth,r,"clientWidth"),s=Ch(a.maxHeight,r,"clientHeight")}}return{width:e,height:n,maxWidth:i||Eh,maxHeight:s||Eh}}const Ad=t=>Math.round(t*10)/10;function Cj(t,e,n,i){const s=Cf(t),r=sa(s,"margin"),o=Ch(s.maxWidth,t,"clientWidth")||Eh,a=Ch(s.maxHeight,t,"clientHeight")||Eh,l=Sj(t,e,n);let{width:c,height:u}=l;if(s.boxSizing==="content-box"){const h=sa(s,"border","width"),f=sa(s,"padding");c-=f.width+h.width,u-=f.height+h.height}return c=Math.max(0,c-r.width),u=Math.max(0,i?c/i:u-r.height),c=Ad(Math.min(c,o,l.maxWidth)),u=Ad(Math.min(u,a,l.maxHeight)),c&&!u&&(u=Ad(c/2)),(e!==void 0||n!==void 0)&&i&&l.height&&u>l.height&&(u=l.height,c=Ad(Math.floor(u*i))),{width:c,height:u}}function Xb(t,e,n){const i=e||1,s=Math.floor(t.height*i),r=Math.floor(t.width*i);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const o=t.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${t.height}px`,o.style.width=`${t.width}px`),t.currentDevicePixelRatio!==i||o.height!==s||o.width!==r?(t.currentDevicePixelRatio=i,o.height=s,o.width=r,t.ctx.setTransform(i,0,0,i,0,0),!0):!1}const Tj=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};ry()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t}();function qb(t,e){const n=bj(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function Wo(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function kj(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:i==="middle"?n<.5?t.y:e.y:i==="after"?n<1?t.y:e.y:n>0?e.y:t.y}}function Aj(t,e,n,i){const s={x:t.cp2x,y:t.cp2y},r={x:e.cp1x,y:e.cp1y},o=Wo(t,s,n),a=Wo(s,r,n),l=Wo(r,e,n),c=Wo(o,a,n),u=Wo(a,l,n);return Wo(c,u,n)}const Mj=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,i){return n-i},leftForLtr(n,i){return n-i}}},Ij=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function ol(t,e,n){return t?Mj(e,n):Ij()}function NC(t,e){let n,i;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=i)}function FC(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function BC(t){return t==="angle"?{between:du,compare:PY,normalize:Si}:{between:rr,compare:(e,n)=>e-n,normalize:e=>e}}function Zb({start:t,end:e,count:n,loop:i,style:s}){return{start:t%n,end:e%n,loop:i&&(e-t+1)%n===0,style:s}}function Pj(t,e,n){const{property:i,start:s,end:r}=n,{between:o,normalize:a}=BC(i),l=e.length;let{start:c,end:u,loop:d}=t,h,f;if(d){for(c+=l,u+=l,h=0,f=l;hl(s,E,v)&&a(s,E)!==0,w=()=>a(r,v)===0||l(r,E,v),x=()=>m||C(),T=()=>!m||w();for(let k=u,A=u;k<=d;++k)b=e[k%o],!b.skip&&(v=c(b[i]),v!==E&&(m=l(v,s,r),y===null&&x()&&(y=a(v,s)===0?k:A),y!==null&&T()&&(p.push(Zb({start:y,end:k,loop:h,count:o,style:f})),y=null),A=k,E=v));return y!==null&&p.push(Zb({start:y,end:d,loop:h,count:o,style:f})),p}function zC(t,e){const n=[],i=t.segments;for(let s=0;ss&&t[r%e].skip;)r--;return r%=e,{start:s,end:r}}function Dj(t,e,n,i){const s=t.length,r=[];let o=e,a=t[e],l;for(l=e+1;l<=n;++l){const c=t[l%s];c.skip||c.stop?a.skip||(i=!1,r.push({start:e%s,end:(l-1)%s,loop:i}),e=o=c.stop?l:null):(o=l,a.skip&&(e=l)),a=c}return o!==null&&r.push({start:e%s,end:o%s,loop:i}),r}function $j(t,e){const n=t.points,i=t.options.spanGaps,s=n.length;if(!s)return[];const r=!!t._loop,{start:o,end:a}=Rj(n,s,r,i);if(i===!0)return Jb(t,[{start:o,end:a,loop:r}],n,e);const l=aa({chart:e,initial:n.initial,numSteps:r,currentStep:Math.min(s-n.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=f0.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((s,i)=>{if(!s.running||!s.items.length)return;const o=s.items;let r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(e),a=!0):(o[r]=o[o.length-1],o.pop());a&&(i.draw(),this._notify(i,s,e,"progress")),o.length||(s.running=!1,this._notify(i,s,e,"complete"),s.initial=!1),n+=o.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let s=n.get(e);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,s)),s}listen(e,n,s){this._getAnims(e).listeners[n].push(s)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((s,i)=>Math.max(s,i._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const s=n.items;let i=s.length-1;for(;i>=0;--i)s[i].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var Bs=new P4;const zm="transparent",T4={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const s=Im(t||zm),i=s.valid&&Im(e||zm);return i&&i.valid?i.mix(s,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class M4{constructor(e,n,s,i){const o=n[s];i=oa([e.to,i,o,e.from]);const r=oa([e.from,o,i]);this._active=!0,this._fn=e.fn||T4[e.type||typeof r],this._easing=xa[e.easing]||xa.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=s,this._from=r,this._to=i,this._promises=void 0}active(){return this._active}update(e,n,s){if(this._active){this._notify(!1);const i=this._target[this._prop],o=s-this._start,r=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(r,e.duration)),this._total+=o,this._loop=!!e.loop,this._to=oa([e.to,n,i,e.from]),this._from=oa([e.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,s=this._duration,i=this._prop,o=this._from,r=this._loop,a=this._to;let l;if(this._active=o!==a&&(r||n1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[i]=this._fn(o,a,l)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,s)=>{e.push({res:n,rej:s})})}_notify(e){const n=e?"res":"rej",s=this._promises||[];for(let i=0;i{const o=e[i];if(!nt(o))return;const r={};for(const a of n)r[a]=o[a];(vt(o.properties)&&o.properties||[i]).forEach(a=>{(a===i||!s.has(a))&&s.set(a,r)})})}_animateOptions(e,n){const s=n.options,i=O4(e,s);if(!i)return[];const o=this._createAnimations(i,s);return s.$shared&&D4(e.options.$animations,s).then(()=>{e.options=s},()=>{}),o}_createAnimations(e,n){const s=this._properties,i=[],o=e.$animations||(e.$animations={}),r=Object.keys(n),a=Date.now();let l;for(l=r.length-1;l>=0;--l){const c=r[l];if(c.charAt(0)==="$")continue;if(c==="options"){i.push(...this._animateOptions(e,n));continue}const u=n[c];let d=o[c];const f=s.get(c);if(d)if(f&&d.active()){d.update(f,u,a);continue}else d.cancel();if(!f||!f.duration){e[c]=u;continue}o[c]=d=new M4(f,e,c,u),i.push(d)}return i}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const s=this._createAnimations(e,n);if(s.length)return Bs.add(this._chart,s),!0}}function D4(t,e){const n=[],s=Object.keys(e);for(let i=0;i0||!n&&o<0)return i.index}return null}function Gm(t,e){const{chart:n,_cachedMeta:s}=t,i=n._stacks||(n._stacks={}),{iScale:o,vScale:r,index:a}=s,l=o.axis,c=r.axis,u=N4(o,r,s),d=e.length;let f;for(let g=0;gn[s].axis===e).shift()}function V4(t,e){return Wi(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function H4(t,e,n){return Wi(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function Xr(t,e){const n=t.controller.index,s=t.vScale&&t.vScale.axis;if(s){e=e||t._parsed;for(const i of e){const o=i._stacks;if(!o||o[s]===void 0||o[s][n]===void 0)return;delete o[s][n],o[s]._visualValues!==void 0&&o[s]._visualValues[n]!==void 0&&delete o[s]._visualValues[n]}}}const od=t=>t==="reset"||t==="none",Jm=(t,e)=>e?t:Object.assign({},t),j4=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:D0(n,!0),values:null};class zi{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Km(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&Xr(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,s=this.getDataset(),i=(d,f,g,_)=>d==="x"?f:d==="r"?_:g,o=n.xAxisID=qe(s.xAxisID,id(e,"x")),r=n.yAxisID=qe(s.yAxisID,id(e,"y")),a=n.rAxisID=qe(s.rAxisID,id(e,"r")),l=n.indexAxis,c=n.iAxisID=i(l,o,r,a),u=n.vAxisID=i(l,r,o,a);n.xScale=this.getScaleForId(o),n.yScale=this.getScaleForId(r),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Mm(this._data,this),e._stacked&&Xr(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),s=this._data;if(nt(n))this._data=L4(n);else if(s!==n){if(s){Mm(s,this);const i=this._cachedMeta;Xr(i),i._parsed=[]}n&&Object.isExtensible(n)&&CB(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,s=this.getDataset();let i=!1;this._dataCheck();const o=n._stacked;n._stacked=Km(n.vScale,n),n.stack!==s.stack&&(i=!0,Xr(n),n.stack=s.stack),this._resyncElements(e),(i||o!==n._stacked)&&Gm(this,n._parsed)}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),s=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:s,_data:i}=this,{iScale:o,_stacked:r}=s,a=o.axis;let l=e===0&&n===i.length?!0:s._sorted,c=e>0&&s._parsed[e-1],u,d,f;if(this._parsing===!1)s._parsed=i,s._sorted=!0,f=i;else{vt(i[e])?f=this.parseArrayData(s,i,e,n):nt(i[e])?f=this.parseObjectData(s,i,e,n):f=this.parsePrimitiveData(s,i,e,n);const g=()=>d[a]===null||c&&d[a]m||d=0;--f)if(!_()){this.updateRangeFromParsed(c,e,g,l);break}}return c}getAllParsedValues(e){const n=this._cachedMeta._parsed,s=[];let i,o,r;for(i=0,o=n.length;i=0&&ethis.getContext(s,i,n),m=c.resolveNamedOptions(f,g,_,d);return m.$shared&&(m.$shared=l,o[r]=Object.freeze(Jm(m,l))),m}_resolveAnimations(e,n,s){const i=this.chart,o=this._cachedDataOpts,r=`animation-${n}`,a=o[r];if(a)return a;let l;if(i.options.animation!==!1){const u=this.chart.config,d=u.datasetAnimationScopeKeys(this._type,n),f=u.getOptionScopes(this.getDataset(),d);l=u.createResolver(f,this.getContext(e,s,n))}const c=new M0(i,l&&l.animations);return l&&l._cacheable&&(o[r]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||od(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const s=this.resolveDataElementOptions(e,n),i=this._sharedOptions,o=this.getSharedOptions(s),r=this.includeOptions(n,o)||o!==i;return this.updateSharedOptions(o,n,s),{sharedOptions:o,includeOptions:r}}updateElement(e,n,s,i){od(i)?Object.assign(e,s):this._resolveAnimations(n,i).update(e,s)}updateSharedOptions(e,n,s){e&&!od(n)&&this._resolveAnimations(void 0,n).update(e,s)}_setStyle(e,n,s,i){e.active=i;const o=this.getStyle(n,i);this._resolveAnimations(n,s,i).update(e,{options:!i&&this.getSharedOptions(o)||o})}removeHoverStyle(e,n,s){this._setStyle(e,s,"active",!1)}setHoverStyle(e,n,s){this._setStyle(e,s,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,s=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const i=s.length,o=n.length,r=Math.min(o,i);r&&this.parse(0,r),o>i?this._insertElements(i,o-i,e):o{for(c.length+=n,a=c.length-1;a>=r;a--)c[a]=c[a-n]};for(l(o),a=e;ai-o))}return t._cache.$bar}function z4(t){const e=t.iScale,n=W4(e,t.type);let s=e._length,i,o,r,a;const l=()=>{r===32767||r===-32768||(Va(a)&&(s=Math.min(s,Math.abs(r-a)||s)),a=r)};for(i=0,o=n.length;i0?i[t-1]:null,a=tMath.abs(a)&&(l=a,c=r),e[n.axis]=c,e._custom={barStart:l,barEnd:c,start:i,end:o,min:r,max:a}}function O0(t,e,n,s){return vt(t)?K4(t,e,n,s):e[n.axis]=n.parse(t,s),e}function Xm(t,e,n,s){const i=t.iScale,o=t.vScale,r=i.getLabels(),a=i===o,l=[];let c,u,d,f;for(c=n,u=n+s;c=n?1:-1)}function G4(t){let e,n,s,i,o;return t.horizontal?(e=t.base>t.x,n="left",s="right"):(e=t.basel.controller.options.grouped),o=s.options.stacked,r=[],a=l=>{const c=l.controller.getParsed(n),u=c&&c[l.vScale.axis];if(it(u)||isNaN(u))return!0};for(const l of i)if(!(n!==void 0&&a(l))&&((o===!1||r.indexOf(l.stack)===-1||o===void 0&&l.stack===void 0)&&r.push(l.stack),l.index===e))break;return r.length||r.push(void 0),r}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,n,s){const i=this._getStacks(e,s),o=n!==void 0?i.indexOf(n):-1;return o===-1?i.length-1:o}_getRuler(){const e=this.options,n=this._cachedMeta,s=n.iScale,i=[];let o,r;for(o=0,r=n.data.length;o=0;--s)n=Math.max(n,e[s].size(this.resolveDataElementOptions(s))/2);return n>0&&n}getLabelAndValue(e){const n=this._cachedMeta,s=this.chart.data.labels||[],{xScale:i,yScale:o}=n,r=this.getParsed(e),a=i.getLabelForValue(r.x),l=o.getLabelForValue(r.y),c=r._custom;return{label:s[e]||"",value:"("+a+", "+l+(c?", "+c:"")+")"}}update(e){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,e)}updateElements(e,n,s,i){const o=i==="reset",{iScale:r,vScale:a}=this._cachedMeta,{sharedOptions:l,includeOptions:c}=this._getSharedOptions(n,i),u=r.axis,d=a.axis;for(let f=n;fHa(A,a,l,!0)?1:Math.max(D,D*n,x,x*n),_=(A,D,x)=>Ha(A,a,l,!0)?-1:Math.min(D,D*n,x,x*n),m=g(0,c,d),b=g(Rt,u,f),w=_(yt,c,d),$=_(yt+Rt,u,f);s=(m-w)/2,i=(b-$)/2,o=-(m+w)/2,r=-(b+$)/2}return{ratioX:s,ratioY:i,offsetX:o,offsetY:r}}class R0 extends zi{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:e=>e!=="spacing",_indexable:e=>e!=="spacing"&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:s,color:i}}=e.legend.options;return n.labels.map((o,r)=>{const l=e.getDatasetMeta(0).controller.getStyle(r);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:i,lineWidth:l.borderWidth,pointStyle:s,hidden:!e.getDataVisibility(r),index:r}})}return[]}},onClick(e,n,s){s.chart.toggleDataVisibility(n.index),s.chart.update()}}}};constructor(e,n){super(e,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,n){const s=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=s;else{let o=l=>+s[l];if(nt(s[e])){const{key:l="value"}=this._parsing;o=c=>+Ii(s[c],l)}let r,a;for(r=e,a=e+n;r0&&!isNaN(e)?bt*(Math.abs(e)/n):0}getLabelAndValue(e){const n=this._cachedMeta,s=this.chart,i=s.data.labels||[],o=nl(n._parsed[e],s.options.locale);return{label:i[e]||"",value:o}}getMaxBorderWidth(e){let n=0;const s=this.chart;let i,o,r,a,l;if(!e){for(i=0,o=s.data.datasets.length;i0&&this.getParsed(n-1);for(let x=0;x=$){S.skip=!0;continue}const E=this.getParsed(x),T=it(E[g]),C=S[f]=r.getPixelForValue(E[f],x),B=S[g]=o||T?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,E,l):E[g],x);S.skip=isNaN(C)||isNaN(B)||T,S.stop=x>0&&Math.abs(E[f]-D[f])>b,m&&(S.parsed=E,S.raw=c.data[x]),d&&(S.options=u||this.resolveDataElementOptions(x,y.active?"active":i)),w||this.updateElement(y,x,S,i),D=E}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,s=n.options&&n.options.borderWidth||0,i=e.data||[];if(!i.length)return s;const o=i[0].size(this.resolveDataElementOptions(0)),r=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(s,o,r)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}class tV extends zi{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:s,color:i}}=e.legend.options;return n.labels.map((o,r)=>{const l=e.getDatasetMeta(0).controller.getStyle(r);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:i,lineWidth:l.borderWidth,pointStyle:s,hidden:!e.getDataVisibility(r),index:r}})}return[]}},onClick(e,n,s){s.chart.toggleDataVisibility(n.index),s.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,n){super(e,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const n=this._cachedMeta,s=this.chart,i=s.data.labels||[],o=nl(n._parsed[e].r,s.options.locale);return{label:i[e]||"",value:o}}parseObjectData(e,n,s,i){return S0.bind(this)(e,n,s,i)}update(e){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,e)}getMinMax(){const e=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach((s,i)=>{const o=this.getParsed(i).r;!isNaN(o)&&this.chart.getDataVisibility(i)&&(on.max&&(n.max=o))}),n}_updateRadius(){const e=this.chart,n=e.chartArea,s=e.options,i=Math.min(n.right-n.left,n.bottom-n.top),o=Math.max(i/2,0),r=Math.max(s.cutoutPercentage?o/100*s.cutoutPercentage:1,0),a=(o-r)/e.getVisibleDatasetCount();this.outerRadius=o-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,n,s,i){const o=i==="reset",r=this.chart,l=r.options.animation,c=this._cachedMeta.rScale,u=c.xCenter,d=c.yCenter,f=c.getIndexAngle(0)-.5*yt;let g=f,_;const m=360/this.countVisibleElements();for(_=0;_{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&n++}),n}_computeAngle(e,n,s){return this.chart.getDataVisibility(e)?rs(this.resolveDataElementOptions(e,n).angle||s):0}}class nV extends R0{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}class sV extends zi{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(e){const n=this._cachedMeta.vScale,s=this.getParsed(e);return{label:n.getLabels()[e],value:""+n.getLabelForValue(s[n.axis])}}parseObjectData(e,n,s,i){return S0.bind(this)(e,n,s,i)}update(e){const n=this._cachedMeta,s=n.dataset,i=n.data||[],o=n.iScale.getLabels();if(s.points=i,e!=="resize"){const r=this.resolveDatasetElementOptions(e);this.options.showLine||(r.borderWidth=0);const a={_loop:!0,_fullLoop:o.length===i.length,options:r};this.updateElement(s,void 0,a,e)}this.updateElements(i,0,i.length,e)}updateElements(e,n,s,i){const o=this._cachedMeta.rScale,r=i==="reset";for(let a=n;a0&&this.getParsed(n-1);for(let D=n;D0&&Math.abs(y[g]-A[g])>w,b&&(S.parsed=y,S.raw=c.data[D]),f&&(S.options=d||this.resolveDataElementOptions(D,x.active?"active":i)),$||this.updateElement(x,D,S,i),A=y}this.updateSharedOptions(d,i,u)}getMaxOverflow(){const e=this._cachedMeta,n=e.data||[];if(!this.options.showLine){let a=0;for(let l=n.length-1;l>=0;--l)a=Math.max(a,n[l].size(this.resolveDataElementOptions(l))/2);return a>0&&a}const s=e.dataset,i=s.options&&s.options.borderWidth||0;if(!n.length)return i;const o=n[0].size(this.resolveDataElementOptions(0)),r=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(i,o,r)/2}}function ro(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Nf{static override(e){Object.assign(Nf.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return ro()}parse(){return ro()}format(){return ro()}add(){return ro()}diff(){return ro()}startOf(){return ro()}endOf(){return ro()}}var oV={_date:Nf};function rV(t,e,n,s){const{controller:i,data:o,_sorted:r}=t,a=i._cachedMeta.iScale;if(a&&e===a.axis&&e!=="r"&&r&&o.length){const l=a._reversePixels?$B:Ks;if(s){if(i._sharedOptions){const c=o[0],u=typeof c.getRange=="function"&&c.getRange(e);if(u){const d=l(o,e,n-u),f=l(o,e,n+u);return{lo:d.lo,hi:f.hi}}}}else return l(o,e,n)}return{lo:0,hi:o.length-1}}function sl(t,e,n,s,i){const o=t.getSortedVisibleDatasetMetas(),r=n[e];for(let a=0,l=o.length;a{l[r](e[n],i)&&(o.push({element:l,datasetIndex:c,index:u}),a=a||l.inRange(e.x,e.y,i))}),s&&!a?[]:o}var uV={evaluateInteractionItems:sl,modes:{index(t,e,n,s){const i=uo(e,t),o=n.axis||"x",r=n.includeInvisible||!1,a=n.intersect?ad(t,i,o,s,r):ld(t,i,o,!1,s,r),l=[];return a.length?(t.getSortedVisibleDatasetMetas().forEach(c=>{const u=a[0].index,d=c.data[u];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:u})}),l):[]},dataset(t,e,n,s){const i=uo(e,t),o=n.axis||"xy",r=n.includeInvisible||!1;let a=n.intersect?ad(t,i,o,s,r):ld(t,i,o,!1,s,r);if(a.length>0){const l=a[0].datasetIndex,c=t.getDatasetMeta(l).data;a=[];for(let u=0;un.pos===e)}function t_(t,e){return t.filter(n=>N0.indexOf(n.pos)===-1&&n.box.axis===e)}function Zr(t,e){return t.sort((n,s)=>{const i=e?s:n,o=e?n:s;return i.weight===o.weight?i.index-o.index:i.weight-o.weight})}function dV(t){const e=[];let n,s,i,o,r,a;for(n=0,s=(t||[]).length;nc.box.fullSize),!0),s=Zr(Qr(e,"left"),!0),i=Zr(Qr(e,"right")),o=Zr(Qr(e,"top"),!0),r=Zr(Qr(e,"bottom")),a=t_(e,"x"),l=t_(e,"y");return{fullSize:n,leftAndTop:s.concat(o),rightAndBottom:i.concat(l).concat(r).concat(a),chartArea:Qr(e,"chartArea"),vertical:s.concat(i).concat(l),horizontal:o.concat(r).concat(a)}}function n_(t,e,n,s){return Math.max(t[n],e[n])+Math.max(t[s],e[s])}function F0(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function gV(t,e,n,s){const{pos:i,box:o}=n,r=t.maxPadding;if(!nt(i)){n.size&&(t[i]-=n.size);const d=s[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?o.height:o.width),n.size=d.size/d.count,t[i]+=n.size}o.getPadding&&F0(r,o.getPadding());const a=Math.max(0,e.outerWidth-n_(r,t,"left","right")),l=Math.max(0,e.outerHeight-n_(r,t,"top","bottom")),c=a!==t.w,u=l!==t.h;return t.w=a,t.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function mV(t){const e=t.maxPadding;function n(s){const i=Math.max(e[s]-t[s],0);return t[s]+=i,i}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function _V(t,e){const n=e.maxPadding;function s(i){const o={left:0,top:0,right:0,bottom:0};return i.forEach(r=>{o[r]=Math.max(e[r],n[r])}),o}return s(t?["left","right"]:["top","bottom"])}function ra(t,e,n,s){const i=[];let o,r,a,l,c,u;for(o=0,r=t.length,c=0;o{typeof m.beforeLayout=="function"&&m.beforeLayout()});const u=l.reduce((m,b)=>b.box.options&&b.box.options.display===!1?m:m+1,0)||1,d=Object.freeze({outerWidth:e,outerHeight:n,padding:i,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/u,hBoxMaxHeight:r/2}),f=Object.assign({},i);F0(f,hn(s));const g=Object.assign({maxPadding:f,w:o,h:r,x:i.left,y:i.top},i),_=fV(l.concat(c),d);ra(a.fullSize,g,d,_),ra(l,g,d,_),ra(c,g,d,_)&&ra(l,g,d,_),mV(g),s_(a.leftAndTop,g,d,_),g.x+=g.w,g.y+=g.h,s_(a.rightAndBottom,g,d,_),t.chartArea={left:g.left,top:g.top,right:g.left+g.w,bottom:g.top+g.h,height:g.h,width:g.w},ct(a.chartArea,m=>{const b=m.box;Object.assign(b,t.chartArea),b.update(g.w,g.h,{left:0,top:0,right:0,bottom:0})})}};class B0{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,s){}removeEventListener(e,n,s){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,s,i){return n=Math.max(0,n||e.width),s=s||e.height,{width:n,height:Math.max(0,i?Math.floor(n/i):s)}}isAttached(e){return!0}updateConfig(e){}}class vV extends B0{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const ic="$chartjs",bV={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},i_=t=>t===null||t==="";function yV(t,e){const n=t.style,s=t.getAttribute("height"),i=t.getAttribute("width");if(t[ic]={initial:{height:s,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",i_(i)){const o=Vm(t,"width");o!==void 0&&(t.width=o)}if(i_(s))if(t.style.height==="")t.height=t.width/(e||2);else{const o=Vm(t,"height");o!==void 0&&(t.height=o)}return t}const V0=v4?{passive:!0}:!1;function wV(t,e,n){t.addEventListener(e,n,V0)}function xV(t,e,n){t.canvas.removeEventListener(e,n,V0)}function kV(t,e){const n=bV[t.type]||t.type,{x:s,y:i}=uo(t,e);return{type:n,chart:e,native:t,x:s!==void 0?s:null,y:i!==void 0?i:null}}function Sc(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function SV(t,e,n){const s=t.canvas,i=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Sc(a.addedNodes,s),r=r&&!Sc(a.removedNodes,s);r&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function $V(t,e,n){const s=t.canvas,i=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Sc(a.removedNodes,s),r=r&&!Sc(a.addedNodes,s);r&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const Wa=new Map;let o_=0;function H0(){const t=window.devicePixelRatio;t!==o_&&(o_=t,Wa.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function AV(t,e){Wa.size||window.addEventListener("resize",H0),Wa.set(t,e)}function CV(t){Wa.delete(t),Wa.size||window.removeEventListener("resize",H0)}function EV(t,e,n){const s=t.canvas,i=s&&Lf(s);if(!i)return;const o=p0((a,l)=>{const c=i.clientWidth;n(a,l),c{const l=a[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||o(c,u)});return r.observe(i),AV(t,o),r}function cd(t,e,n){n&&n.disconnect(),e==="resize"&&CV(t)}function PV(t,e,n){const s=t.canvas,i=p0(o=>{t.ctx!==null&&n(kV(o,t))},t);return wV(s,e,i),i}class TV extends B0{acquireContext(e,n){const s=e&&e.getContext&&e.getContext("2d");return s&&s.canvas===e?(yV(e,n),s):null}releaseContext(e){const n=e.canvas;if(!n[ic])return!1;const s=n[ic].initial;["height","width"].forEach(o=>{const r=s[o];it(r)?n.removeAttribute(o):n.setAttribute(o,r)});const i=s.style||{};return Object.keys(i).forEach(o=>{n.style[o]=i[o]}),n.width=n.width,delete n[ic],!0}addEventListener(e,n,s){this.removeEventListener(e,n);const i=e.$proxies||(e.$proxies={}),r={attach:SV,detach:$V,resize:EV}[n]||PV;i[n]=r(e,n,s)}removeEventListener(e,n){const s=e.$proxies||(e.$proxies={}),i=s[n];if(!i)return;({attach:cd,detach:cd,resize:cd}[n]||xV)(e,n,i),s[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,s,i){return _4(e,n,s,i)}isAttached(e){const n=Lf(e);return!!(n&&n.isConnected)}}function MV(t){return!Rf()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?vV:TV}let si=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:n,y:s}=this.getProps(["x","y"],e);return{x:n,y:s}}hasValue(){return $r(this.x)&&$r(this.y)}getProps(e,n){const s=this.$animations;if(!n||!s)return this;const i={};return e.forEach(o=>{i[o]=s[o]&&s[o].active()?s[o]._to:this[o]}),i}};function DV(t,e){const n=t.options.ticks,s=OV(t),i=Math.min(n.maxTicksLimit||s,s),o=n.major.enabled?RV(e):[],r=o.length,a=o[0],l=o[r-1],c=[];if(r>i)return LV(e,c,o,r/i),c;const u=IV(o,e,i);if(r>0){let d,f;const g=r>1?Math.round((l-a)/(r-1)):null;for(Bl(e,c,u,it(g)?0:a-g,a),d=0,f=r-1;di)return l}return Math.max(i,1)}function RV(t){const e=[];let n,s;for(n=0,s=t.length;nt==="left"?"right":t==="right"?"left":t,r_=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,a_=(t,e)=>Math.min(e||t,t);function l_(t,e){const n=[],s=t.length/e,i=t.length;let o=0;for(;or+a)))return l}function VV(t,e){ct(t,n=>{const s=n.gc,i=s.length/2;let o;if(i>e){for(o=0;os?s:n,s=i&&n>s?n:s,{min:Mn(n,Mn(s,n)),max:Mn(s,Mn(n,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){ft(this.options.beforeUpdate,[this])}update(e,n,s){const{beginAtZero:i,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=GB(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=o||s<=1||!this.isHorizontal()){this.labelRotation=i;return}const u=this._getLabelSizes(),d=u.widest.width,f=u.highest.height,g=Zt(this.chart.width-d,0,this.maxWidth);a=e.offset?this.maxWidth/s:g/(s-1),d+6>a&&(a=g/(s-(e.offset?.5:1)),l=this.maxHeight-ea(e.grid)-n.padding-c_(e.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),r=Cf(Math.min(Math.asin(Zt((u.highest.height+6)/a,-1,1)),Math.asin(Zt(l/c,-1,1))-Math.asin(Zt(f/c,-1,1)))),r=Math.max(i,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){ft(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){ft(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:s,title:i,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){const l=c_(i,n.options.font);if(a?(e.width=this.maxWidth,e.height=ea(o)+l):(e.height=this.maxHeight,e.width=ea(o)+l),s.display&&this.ticks.length){const{first:c,last:u,widest:d,highest:f}=this._getLabelSizes(),g=s.padding*2,_=rs(this.labelRotation),m=Math.cos(_),b=Math.sin(_);if(a){const w=s.mirror?0:b*d.width+m*f.height;e.height=Math.min(this.maxHeight,e.height+w+g)}else{const w=s.mirror?0:m*d.width+b*f.height;e.width=Math.min(this.maxWidth,e.width+w+g)}this._calculatePadding(c,u,b,m)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,s,i){const{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,g=0;l?c?(f=i*e.width,g=s*n.height):(f=s*e.height,g=i*n.width):o==="start"?g=n.width:o==="end"?f=e.width:o!=="inner"&&(f=e.width/2,g=n.width/2),this.paddingLeft=Math.max((f-u+r)*this.width/(this.width-u),0),this.paddingRight=Math.max((g-d+r)*this.width/(this.width-d),0)}else{let u=n.height/2,d=e.height/2;o==="start"?(u=0,d=e.height):o==="end"&&(u=n.height,d=0),this.paddingTop=u+r,this.paddingBottom=d+r}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){ft(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,s;for(n=0,s=e.length;n({width:r[T]||0,height:a[T]||0});return{first:E(0),last:E(n-1),widest:E(y),highest:E(S),widths:r,heights:a}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return SB(this._alignToPixels?oo(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&ea*i?a/s:l/i:l*i0}_computeGridLineItems(e){const n=this.axis,s=this.chart,i=this.options,{grid:o,position:r,border:a}=i,l=o.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),f=ea(o),g=[],_=a.setContext(this.getContext()),m=_.display?_.width:0,b=m/2,w=function(I){return oo(s,I,m)};let $,A,D,x,y,S,E,T,C,B,J,ae;if(r==="top")$=w(this.bottom),S=this.bottom-f,T=$-b,B=w(e.top)+b,ae=e.bottom;else if(r==="bottom")$=w(this.top),B=e.top,ae=w(e.bottom)-b,S=$+b,T=this.top+f;else if(r==="left")$=w(this.right),y=this.right-f,E=$-b,C=w(e.left)+b,J=e.right;else if(r==="right")$=w(this.left),C=e.left,J=w(e.right)-b,y=$+b,E=this.left+f;else if(n==="x"){if(r==="center")$=w((e.top+e.bottom)/2+.5);else if(nt(r)){const I=Object.keys(r)[0],V=r[I];$=w(this.chart.scales[I].getPixelForValue(V))}B=e.top,ae=e.bottom,S=$+b,T=S+f}else if(n==="y"){if(r==="center")$=w((e.left+e.right)/2);else if(nt(r)){const I=Object.keys(r)[0],V=r[I];$=w(this.chart.scales[I].getPixelForValue(V))}y=$-b,E=y-f,C=e.left,J=e.right}const Y=qe(i.ticks.maxTicksLimit,d),L=Math.max(1,Math.ceil(d/Y));for(A=0;A0&&(oe-=R/2);break}ye={left:oe,top:ee,width:R+U.width,height:X+U.height,color:L.backdropColor}}b.push({label:D,font:T,textOffset:J,options:{rotation:m,color:V,strokeColor:Q,strokeWidth:Z,textAlign:le,textBaseline:ae,translation:[x,y],backdrop:ye}})}return b}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-rs(this.labelRotation))return e==="top"?"left":"right";let i="center";return n.align==="start"?i="left":n.align==="end"?i="right":n.align==="inner"&&(i="inner"),i}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:s,mirror:i,padding:o}}=this.options,r=this._getLabelSizes(),a=e+o,l=r.widest.width;let c,u;return n==="left"?i?(u=this.right+o,s==="near"?c="left":s==="center"?(c="center",u+=l/2):(c="right",u+=l)):(u=this.right-a,s==="near"?c="right":s==="center"?(c="center",u-=l/2):(c="left",u=this.left)):n==="right"?i?(u=this.left+o,s==="near"?c="right":s==="center"?(c="center",u-=l/2):(c="left",u-=l)):(u=this.left+a,s==="near"?c="left":s==="center"?(c="center",u+=l/2):(c="right",u=this.right)):c="right",{textAlign:c,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:s,top:i,width:o,height:r}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(s,i,o,r),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const i=this.ticks.findIndex(o=>o.value===e);return i>=0?n.setContext(this.getContext(i)).lineWidth:0}drawGrid(e){const n=this.options.grid,s=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let o,r;const a=(l,c,u)=>{!u.width||!u.color||(s.save(),s.lineWidth=u.width,s.strokeStyle=u.color,s.setLineDash(u.borderDash||[]),s.lineDashOffset=u.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(n.display)for(o=0,r=i.length;o{this.draw(o)}}]:[{z:s,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",i=[];let o,r;for(o=0,r=n.length;o{const s=n.split("."),i=s.pop(),o=[t].concat(s).join("."),r=e[n].split("."),a=r.pop(),l=r.join(".");Et.route(o,i,l,a)})}function KV(t){return"id"in t&&"defaults"in t}class qV{constructor(){this.controllers=new Vl(zi,"datasets",!0),this.elements=new Vl(si,"elements"),this.plugins=new Vl(Object,"plugins"),this.scales=new Vl(Ro,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,s){[...n].forEach(i=>{const o=s||this._getRegistryForType(i);s||o.isForType(i)||o===this.plugins&&i.id?this._exec(e,o,i):ct(i,r=>{const a=s||this._getRegistryForType(r);this._exec(e,a,r)})})}_exec(e,n,s){const i=Af(e);ft(s["before"+i],[],s),n[e](s),ft(s["after"+i],[],s)}_getRegistryForType(e){for(let n=0;no.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(i(n,s),e,"stop"),this._notify(i(s,n),e,"start")}}function JV(t){const e={},n=[],s=Object.keys(_s.plugins.items);for(let o=0;o1&&u_(t[0].toLowerCase());if(s)return s}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function d_(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function s6(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(s=>s.xAxisID===t||s.yAxisID===t);if(n.length)return d_(t,"x",n[0])||d_(t,"y",n[0])}return{}}function i6(t,e){const n=Eo[t.type]||{scales:{}},s=e.scales||{},i=Xd(t.type,e),o=Object.create(null);return Object.keys(s).forEach(r=>{const a=s[r];if(!nt(a))return console.error(`Invalid scale configuration for scale: ${r}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${r}`);const l=Qd(r,a,s6(r,t),Et.scales[a.type]),c=t6(l,i),u=n.scales||{};o[r]=ya(Object.create(null),[{axis:l},a,u[l],u[c]])}),t.data.datasets.forEach(r=>{const a=r.type||t.type,l=r.indexAxis||Xd(a,e),u=(Eo[a]||{}).scales||{};Object.keys(u).forEach(d=>{const f=e6(d,l),g=r[f+"AxisID"]||f;o[g]=o[g]||Object.create(null),ya(o[g],[{axis:f},s[g],u[d]])})}),Object.keys(o).forEach(r=>{const a=o[r];ya(a,[Et.scales[a.type],Et.scale])}),o}function j0(t){const e=t.options||(t.options={});e.plugins=qe(e.plugins,{}),e.scales=i6(t,e)}function W0(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function o6(t){return t=t||{},t.data=W0(t.data),j0(t),t}const h_=new Map,z0=new Set;function Hl(t,e){let n=h_.get(t);return n||(n=e(),h_.set(t,n),z0.add(n)),n}const ta=(t,e,n)=>{const s=Ii(e,n);s!==void 0&&t.add(s)};let r6=class{constructor(e){this._config=o6(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=W0(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),j0(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Hl(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return Hl(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return Hl(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,s=this.type;return Hl(`${s}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const s=this._scopeCache;let i=s.get(e);return(!i||n)&&(i=new Map,s.set(e,i)),i}getOptionScopes(e,n,s){const{options:i,type:o}=this,r=this._cachedScopes(e,s),a=r.get(n);if(a)return a;const l=new Set;n.forEach(u=>{e&&(l.add(e),u.forEach(d=>ta(l,e,d))),u.forEach(d=>ta(l,i,d)),u.forEach(d=>ta(l,Eo[o]||{},d)),u.forEach(d=>ta(l,Et,d)),u.forEach(d=>ta(l,Gd,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),z0.has(n)&&r.set(n,c),c}chartOptionScopes(){const{options:e,type:n}=this;return[e,Eo[n]||{},Et.datasets[n]||{},{type:n},Et,Gd]}resolveNamedOptions(e,n,s,i=[""]){const o={$shared:!0},{resolver:r,subPrefixes:a}=f_(this._resolverCache,e,i);let l=r;if(l6(r,n)){o.$shared=!1,s=Ri(s)?s():s;const c=this.createResolver(e,s,a);l=Ar(r,s,c)}for(const c of n)o[c]=l[c];return o}createResolver(e,n,s=[""],i){const{resolver:o}=f_(this._resolverCache,e,s);return nt(n)?Ar(o,n,void 0,i):o}};function f_(t,e,n){let s=t.get(e);s||(s=new Map,t.set(e,s));const i=n.join();let o=s.get(i);return o||(o={resolver:Df(e,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},s.set(i,o)),o}const a6=t=>nt(t)&&Object.getOwnPropertyNames(t).some(e=>Ri(t[e]));function l6(t,e){const{isScriptable:n,isIndexable:s}=y0(t);for(const i of e){const o=n(i),r=s(i),a=(r||o)&&t[i];if(o&&(Ri(a)||a6(a))||r&&vt(a))return!0}return!1}var c6="4.4.1";const u6=["top","bottom","left","right","chartArea"];function p_(t,e){return t==="top"||t==="bottom"||u6.indexOf(t)===-1&&e==="x"}function g_(t,e){return function(n,s){return n[t]===s[t]?n[e]-s[e]:n[t]-s[t]}}function m_(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),ft(n&&n.onComplete,[t],e)}function d6(t){const e=t.chart,n=e.options.animation;ft(n&&n.onProgress,[t],e)}function Y0(t){return Rf()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const oc={},__=t=>{const e=Y0(t);return Object.values(oc).filter(n=>n.canvas===e).pop()};function h6(t,e,n){const s=Object.keys(t);for(const i of s){const o=+i;if(o>=e){const r=t[i];delete t[i],(n>0||o>e)&&(t[o+n]=r)}}}function f6(t,e,n,s){return!n||t.type==="mouseout"?null:s?e:t}function jl(t,e,n){return t.options.clip?t[n]:e[n]}function p6(t,e){const{xScale:n,yScale:s}=t;return n&&s?{left:jl(n,e,"left"),right:jl(n,e,"right"),top:jl(s,e,"top"),bottom:jl(s,e,"bottom")}:e}let ru=class{static defaults=Et;static instances=oc;static overrides=Eo;static registry=_s;static version=c6;static getChart=__;static register(...e){_s.add(...e),v_()}static unregister(...e){_s.remove(...e),v_()}constructor(e,n){const s=this.config=new r6(n),i=Y0(e),o=__(i);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const r=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||MV(i)),this.platform.updateConfig(s);const a=this.platform.acquireContext(i,r.aspectRatio),l=a&&a.canvas,c=l&&l.height,u=l&&l.width;if(this.id=hB(),this.ctx=a,this.canvas=l,this.width=u,this.height=c,this._options=r,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new GV,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=EB(d=>this.update(d),r.resizeDelay||0),this._dataChanges=[],oc[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}Bs.listen(this,"complete",m_),Bs.listen(this,"progress",d6),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:s,height:i,_aspectRatio:o}=this;return it(e)?n&&o?o:i?s/i:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return _s}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Bm(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Lm(this.canvas,this.ctx),this}stop(){return Bs.stop(this),this}resize(e,n){Bs.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const s=this.options,i=this.canvas,o=s.maintainAspectRatio&&this.aspectRatio,r=this.platform.getMaximumSize(i,e,n,o),a=s.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=r.width,this.height=r.height,this._aspectRatio=this.aspectRatio,Bm(this,a,!0)&&(this.notifyPlugins("resize",{size:r}),ft(s.onResize,[this,r],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};ct(n,(s,i)=>{s.id=i})}buildOrUpdateScales(){const e=this.options,n=e.scales,s=this.scales,i=Object.keys(s).reduce((r,a)=>(r[a]=!1,r),{});let o=[];n&&(o=o.concat(Object.keys(n).map(r=>{const a=n[r],l=Qd(r,a),c=l==="r",u=l==="x";return{options:a,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),ct(o,r=>{const a=r.options,l=a.id,c=Qd(l,a),u=qe(a.type,r.dtype);(a.position===void 0||p_(a.position,c)!==p_(r.dposition))&&(a.position=r.dposition),i[l]=!0;let d=null;if(l in s&&s[l].type===u)d=s[l];else{const f=_s.getScale(u);d=new f({id:l,type:u,ctx:this.ctx,chart:this}),s[d.id]=d}d.init(a,e)}),ct(i,(r,a)=>{r||delete s[a]}),ct(s,r=>{qn.configure(this,r,r.options),qn.addBox(this,r)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,s=e.length;if(e.sort((i,o)=>i.index-o.index),s>n){for(let i=n;in.length&&delete this._stacks,e.forEach((s,i)=>{n.filter(o=>o===s._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let s,i;for(this._removeUnreferencedMetasets(),s=0,i=n.length;s{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const s=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!s.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let r=0;for(let c=0,u=this.data.datasets.length;c{c.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(g_("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){ct(this.scales,e=>{qn.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),s=new Set(e.events);(!Cm(n,s)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:s,start:i,count:o}of n){const r=s==="_removeElements"?-o:o;h6(e,i,r)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,s=o=>new Set(e.filter(r=>r[0]===o).map((r,a)=>a+","+r.splice(1).join(","))),i=s(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;qn.update(this,this.width,this.height,e);const n=this.chartArea,s=n.width<=0||n.height<=0;this._layers=[],ct(this.boxes,i=>{s&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,o)=>{i._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,s=this.data.datasets.length;n=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,s=e._clip,i=!s.disabled,o=p6(e,this.chartArea),r={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(i&&su(n,{left:s.left===!1?0:o.left-s.left,right:s.right===!1?this.width:o.right+s.right,top:s.top===!1?0:o.top-s.top,bottom:s.bottom===!1?this.height:o.bottom+s.bottom}),e.controller.draw(),i&&iu(n),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(e){return qs(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,s,i){const o=uV.modes[n];return typeof o=="function"?o(this,e,s,i):[]}getDatasetMeta(e){const n=this.data.datasets[e],s=this._metasets;let i=s.filter(o=>o&&o._dataset===n).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},s.push(i)),i}getContext(){return this.$context||(this.$context=Wi(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const s=this.getDatasetMeta(e);return typeof s.hidden=="boolean"?!s.hidden:!n.hidden}setDatasetVisibility(e,n){const s=this.getDatasetMeta(e);s.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,s){const i=s?"show":"hide",o=this.getDatasetMeta(e),r=o.controller._resolveAnimations(void 0,i);Va(n)?(o.data[n].hidden=!s,this.update()):(this.setDatasetVisibility(e,s),r.update(o,{visible:s}),this.update(a=>a.datasetIndex===e?i:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),Bs.remove(this),e=0,n=this.data.datasets.length;e{n.addEventListener(this,o,r),e[o]=r},i=(o,r,a)=>{o.offsetX=r,o.offsetY=a,this._eventHandler(o)};ct(this.options.events,o=>s(o,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,s=(l,c)=>{n.addEventListener(this,l,c),e[l]=c},i=(l,c)=>{e[l]&&(n.removeEventListener(this,l,c),delete e[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let r;const a=()=>{i("attach",a),this.attached=!0,this.resize(),s("resize",o),s("detach",r)};r=()=>{this.attached=!1,i("resize",o),this._stop(),this._resize(0,0),s("attach",a)},n.isAttached(this.canvas)?a():r()}unbindEvents(){ct(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},ct(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,s){const i=s?"set":"remove";let o,r,a,l;for(n==="dataset"&&(o=this.getDatasetMeta(e[0].datasetIndex),o.controller["_"+i+"DatasetHoverStyle"]()),a=0,l=e.length;a{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[r],index:r}});!bc(s,n)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,n))}notifyPlugins(e,n,s){return this._plugins.notify(this,e,n,s)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,s){const i=this.options.hover,o=(l,c)=>l.filter(u=>!c.some(d=>u.datasetIndex===d.datasetIndex&&u.index===d.index)),r=o(n,e),a=s?e:o(e,n);r.length&&this.updateHoverStyle(r,i.mode,!1),a.length&&i.mode&&this.updateHoverStyle(a,i.mode,!0)}_eventHandler(e,n){const s={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},i=r=>(r.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",s,i)===!1)return;const o=this._handleEvent(e,n,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,i),(o||s.changed)&&this.render(),this}_handleEvent(e,n,s){const{_active:i=[],options:o}=this,r=n,a=this._getActiveElements(e,i,s,r),l=vB(e),c=f6(e,this._lastEvent,s,l);s&&(this._lastEvent=null,ft(o.onHover,[e,a,this],this),l&&ft(o.onClick,[e,a,this],this));const u=!bc(a,i);return(u||n)&&(this._active=a,this._updateHoverStyles(a,i,n)),this._lastEvent=c,u}_getActiveElements(e,n,s,i){if(e.type==="mouseout")return[];if(!s)return n;const o=this.options.hover;return this.getElementsAtEventForMode(e,o.mode,o,i)}};function v_(){return ct(ru.instances,t=>t._plugins.invalidate())}function g6(t,e,n){const{startAngle:s,pixelMargin:i,x:o,y:r,outerRadius:a,innerRadius:l}=e;let c=i/a;t.beginPath(),t.arc(o,r,a,s-c,n+c),l>i?(c=i/l,t.arc(o,r,l,n+c,s-c,!0)):t.arc(o,r,i,n+Rt,s-Rt),t.closePath(),t.clip()}function m6(t){return Mf(t,["outerStart","outerEnd","innerStart","innerEnd"])}function _6(t,e,n,s){const i=m6(t.options.borderRadius),o=(n-e)/2,r=Math.min(o,s*e/2),a=l=>{const c=(n-Math.min(o,l))*s/2;return Zt(l,0,Math.min(o,c))};return{outerStart:a(i.outerStart),outerEnd:a(i.outerEnd),innerStart:Zt(i.innerStart,0,r),innerEnd:Zt(i.innerEnd,0,r)}}function Jo(t,e,n,s){return{x:n+t*Math.cos(e),y:s+t*Math.sin(e)}}function $c(t,e,n,s,i,o){const{x:r,y:a,startAngle:l,pixelMargin:c,innerRadius:u}=e,d=Math.max(e.outerRadius+s+n-c,0),f=u>0?u+s+n+c:0;let g=0;const _=i-l;if(s){const L=u>0?u-s:0,I=d>0?d-s:0,V=(L+I)/2,Q=V!==0?_*V/(V+s):_;g=(_-Q)/2}const m=Math.max(.001,_*d-n/yt)/d,b=(_-m)/2,w=l+b+g,$=i-b-g,{outerStart:A,outerEnd:D,innerStart:x,innerEnd:y}=_6(e,f,d,$-w),S=d-A,E=d-D,T=w+A/S,C=$-D/E,B=f+x,J=f+y,ae=w+x/B,Y=$-y/J;if(t.beginPath(),o){const L=(T+C)/2;if(t.arc(r,a,d,T,L),t.arc(r,a,d,L,C),D>0){const Z=Jo(E,C,r,a);t.arc(Z.x,Z.y,D,C,$+Rt)}const I=Jo(J,$,r,a);if(t.lineTo(I.x,I.y),y>0){const Z=Jo(J,Y,r,a);t.arc(Z.x,Z.y,y,$+Rt,Y+Math.PI)}const V=($-y/f+(w+x/f))/2;if(t.arc(r,a,f,$-y/f,V,!0),t.arc(r,a,f,V,w+x/f,!0),x>0){const Z=Jo(B,ae,r,a);t.arc(Z.x,Z.y,x,ae+Math.PI,w-Rt)}const Q=Jo(S,w,r,a);if(t.lineTo(Q.x,Q.y),A>0){const Z=Jo(S,T,r,a);t.arc(Z.x,Z.y,A,w-Rt,T)}}else{t.moveTo(r,a);const L=Math.cos(T)*d+r,I=Math.sin(T)*d+a;t.lineTo(L,I);const V=Math.cos(C)*d+r,Q=Math.sin(C)*d+a;t.lineTo(V,Q)}t.closePath()}function v6(t,e,n,s,i){const{fullCircles:o,startAngle:r,circumference:a}=e;let l=e.endAngle;if(o){$c(t,e,n,s,l,i);for(let c=0;ce!=="borderDash"};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,n,s){const i=this.getProps(["x","y"],s),{angle:o,distance:r}=u0(i,{x:e,y:n}),{startAngle:a,endAngle:l,innerRadius:c,outerRadius:u,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],s),f=(this.options.spacing+this.options.borderWidth)/2,_=qe(d,l-a)>=bt||Ha(o,a,l),m=Us(r,c+f,u+f);return _&&m}getCenterPoint(e){const{x:n,y:s,startAngle:i,endAngle:o,innerRadius:r,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:l,spacing:c}=this.options,u=(i+o)/2,d=(r+a+c+l)/2;return{x:n+Math.cos(u)*d,y:s+Math.sin(u)*d}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:n,circumference:s}=this,i=(n.offset||0)/4,o=(n.spacing||0)/2,r=n.circular;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=s>bt?Math.floor(s/bt):0,s===0||this.innerRadius<0||this.outerRadius<0)return;e.save();const a=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(a)*i,Math.sin(a)*i);const l=1-Math.sin(Math.min(yt,s||0)),c=i*l;e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,v6(e,this,c,o,r),b6(e,this,c,o,r),e.restore()}}function U0(t,e,n=e){t.lineCap=qe(n.borderCapStyle,e.borderCapStyle),t.setLineDash(qe(n.borderDash,e.borderDash)),t.lineDashOffset=qe(n.borderDashOffset,e.borderDashOffset),t.lineJoin=qe(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=qe(n.borderWidth,e.borderWidth),t.strokeStyle=qe(n.borderColor,e.borderColor)}function w6(t,e,n){t.lineTo(n.x,n.y)}function x6(t){return t.stepped?VB:t.tension||t.cubicInterpolationMode==="monotone"?HB:w6}function K0(t,e,n={}){const s=t.length,{start:i=0,end:o=s-1}=n,{start:r,end:a}=e,l=Math.max(i,r),c=Math.min(o,a),u=ia&&o>a;return{count:s,start:l,loop:e.loop,ilen:c(r+(c?a-D:D))%o,A=()=>{m!==b&&(t.lineTo(u,b),t.lineTo(u,m),t.lineTo(u,w))};for(l&&(g=i[$(0)],t.moveTo(g.x,g.y)),f=0;f<=a;++f){if(g=i[$(f)],g.skip)continue;const D=g.x,x=g.y,y=D|0;y===_?(xb&&(b=x),u=(d*u+D)/++d):(A(),t.lineTo(D,x),_=y,d=0,m=b=x),w=x}A()}function Zd(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?S6:k6}function $6(t){return t.stepped?b4:t.tension||t.cubicInterpolationMode==="monotone"?y4:ho}function A6(t,e,n,s){let i=e._path;i||(i=e._path=new Path2D,e.path(i,n,s)&&i.closePath()),U0(t,e.options),t.stroke(i)}function C6(t,e,n,s){const{segments:i,options:o}=e,r=Zd(e);for(const a of i)U0(t,o,a.style),t.beginPath(),r(t,e,a,{start:n,end:n+s-1})&&t.closePath(),t.stroke()}const E6=typeof Path2D=="function";function P6(t,e,n,s){E6&&!e.options.segment?A6(t,e,n,s):C6(t,e,n,s)}class au extends si{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,n){const s=this.options;if((s.tension||s.cubicInterpolationMode==="monotone")&&!s.stepped&&!this._pointsUpdated){const i=s.spanGaps?this._loop:this._fullLoop;d4(this._points,s,e,i,n),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=A4(this,this.options.segment))}first(){const e=this.segments,n=this.points;return e.length&&n[e[0].start]}last(){const e=this.segments,n=this.points,s=e.length;return s&&n[e[s-1].end]}interpolate(e,n){const s=this.options,i=e[n],o=this.points,r=T0(this,{property:n,start:i,end:i});if(!r.length)return;const a=[],l=$6(s);let c,u;for(c=0,u=r.length;c=n)return t.slice(e,e+n);const r=[],a=(n-2)/(o-2);let l=0;const c=e+n-1;let u=e,d,f,g,_,m;for(r[l++]=t[u],d=0;dg&&(g=_,f=t[$],m=$);r[l++]=f,u=m}return r[l++]=t[c],r}function F6(t,e,n,s){let i=0,o=0,r,a,l,c,u,d,f,g,_,m;const b=[],w=e+n-1,$=t[e].x,D=t[w].x-$;for(r=e;rm&&(m=c,f=r),i=(o*i+a.x)/++o;else{const y=r-1;if(!it(d)&&!it(f)){const S=Math.min(d,f),E=Math.max(d,f);S!==g&&S!==y&&b.push({...t[S],x:i}),E!==g&&E!==y&&b.push({...t[E],x:i})}r>0&&y!==g&&b.push(t[y]),b.push(a),u=x,o=0,_=m=c,d=f=g=r}}return b}function G0(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,writable:!0,value:e})}}function y_(t){t.data.datasets.forEach(e=>{G0(e)})}function B6(t,e){const n=e.length;let s=0,i;const{iScale:o}=t,{min:r,max:a,minDefined:l,maxDefined:c}=o.getUserBounds();return l&&(s=Zt(Ks(e,o.axis,r).lo,0,n-1)),c?i=Zt(Ks(e,o.axis,a).hi+1,s,n)-s:i=n-s,{start:s,count:i}}var V6={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,n)=>{if(!n.enabled){y_(t);return}const s=t.width;t.data.datasets.forEach((i,o)=>{const{_data:r,indexAxis:a}=i,l=t.getDatasetMeta(o),c=r||i.data;if(oa([a,t.options.indexAxis])==="y"||!l.controller.supportsDecimation)return;const u=t.scales[l.xAxisID];if(u.type!=="linear"&&u.type!=="time"||t.options.parsing)return;let{start:d,count:f}=B6(l,c);const g=n.threshold||4*s;if(f<=g){G0(i);return}it(r)&&(i._data=c,delete i.data,Object.defineProperty(i,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(m){this._data=m}}));let _;switch(n.algorithm){case"lttb":_=N6(c,d,f,s,n);break;case"min-max":_=F6(c,d,f,s);break;default:throw new Error(`Unsupported decimation algorithm '${n.algorithm}'`)}i._decimated=_})},destroy(t){y_(t)}};function H6(t,e,n){const s=t.segments,i=t.points,o=e.points,r=[];for(const a of s){let{start:l,end:c}=a;c=Ff(l,c,i);const u=eh(n,i[l],i[c],a.loop);if(!e.segments){r.push({source:a,target:u,start:i[l],end:i[c]});continue}const d=T0(e,u);for(const f of d){const g=eh(n,o[f.start],o[f.end],f.loop),_=P0(a,i,g);for(const m of _)r.push({source:m,target:f,start:{[n]:w_(u,g,"start",Math.max)},end:{[n]:w_(u,g,"end",Math.min)}})}}return r}function eh(t,e,n,s){if(s)return;let i=e[t],o=n[t];return t==="angle"&&(i=On(i),o=On(o)),{property:t,start:i,end:o}}function j6(t,e){const{x:n=null,y:s=null}=t||{},i=e.points,o=[];return e.segments.forEach(({start:r,end:a})=>{a=Ff(r,a,i);const l=i[r],c=i[a];s!==null?(o.push({x:l.x,y:s}),o.push({x:c.x,y:s})):n!==null&&(o.push({x:n,y:l.y}),o.push({x:n,y:c.y}))}),o}function Ff(t,e,n){for(;e>t;e--){const s=n[e];if(!isNaN(s.x)&&!isNaN(s.y))break}return e}function w_(t,e,n,s){return t&&e?s(t[n],e[n]):t?t[n]:e?e[n]:0}function J0(t,e){let n=[],s=!1;return vt(t)?(s=!0,n=t):n=j6(t,e),n.length?new au({points:n,options:{tension:0},_loop:s,_fullLoop:s}):null}function x_(t){return t&&t.fill!==!1}function W6(t,e,n){let i=t[e].fill;const o=[e];let r;if(!n)return i;for(;i!==!1&&o.indexOf(i)===-1;){if(!Ct(i))return i;if(r=t[i],!r)return!1;if(r.visible)return i;o.push(i),i=r.fill}return!1}function z6(t,e,n){const s=q6(t);if(nt(s))return isNaN(s.value)?!1:s;let i=parseFloat(s);return Ct(i)&&Math.floor(i)===i?Y6(s[0],e,i,n):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function Y6(t,e,n,s){return(t==="-"||t==="+")&&(n=e+n),n===e||n<0||n>=s?!1:n}function U6(t,e){let n=null;return t==="start"?n=e.bottom:t==="end"?n=e.top:nt(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}function K6(t,e,n){let s;return t==="start"?s=n:t==="end"?s=e.options.reverse?e.min:e.max:nt(t)?s=t.value:s=e.getBaseValue(),s}function q6(t){const e=t.options,n=e.fill;let s=qe(n&&n.target,n);return s===void 0&&(s=!!e.backgroundColor),s===!1||s===null?!1:s===!0?"origin":s}function G6(t){const{scale:e,index:n,line:s}=t,i=[],o=s.segments,r=s.points,a=J6(e,n);a.push(J0({x:null,y:e.bottom},s));for(let l=0;l=0;--r){const a=i[r].$filler;a&&(a.line.updateControlPoints(o,a.axis),s&&a.fill&&hd(t.ctx,a,o))}},beforeDatasetsDraw(t,e,n){if(n.drawTime!=="beforeDatasetsDraw")return;const s=t.getSortedVisibleDatasetMetas();for(let i=s.length-1;i>=0;--i){const o=s[i].$filler;x_(o)&&hd(t.ctx,o,t.chartArea)}},beforeDatasetDraw(t,e,n){const s=e.meta.$filler;!x_(s)||n.drawTime!=="beforeDatasetDraw"||hd(t.ctx,s,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const A_=(t,e)=>{let{boxHeight:n=e,boxWidth:s=e}=t;return t.usePointStyle&&(n=Math.min(n,e),s=t.pointStyleWidth||Math.min(s,e)),{boxWidth:s,boxHeight:n,itemHeight:Math.max(e,n)}},aH=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class C_ extends si{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n,s){this.maxWidth=e,this.maxHeight=n,this._margins=s,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let n=ft(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter(s=>e.filter(s,this.chart.data))),e.sort&&(n=n.sort((s,i)=>e.sort(s,i,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:e,ctx:n}=this;if(!e.display){this.width=this.height=0;return}const s=e.labels,i=Yt(s.font),o=i.size,r=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=A_(s,o);let c,u;n.font=i.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(r,o,a,l)+10):(u=this.maxHeight,c=this._fitCols(r,i,a,l)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(u,e.maxHeight||this.maxHeight)}_fitRows(e,n,s,i){const{ctx:o,maxWidth:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],u=i+a;let d=e;o.textAlign="left",o.textBaseline="middle";let f=-1,g=-u;return this.legendItems.forEach((_,m)=>{const b=s+n/2+o.measureText(_.text).width;(m===0||c[c.length-1]+b+2*a>r)&&(d+=u,c[c.length-(m>0?0:1)]=0,g+=u,f++),l[m]={left:0,top:g,row:f,width:b,height:i},c[c.length-1]+=b+a}),d}_fitCols(e,n,s,i){const{ctx:o,maxHeight:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],u=r-e;let d=a,f=0,g=0,_=0,m=0;return this.legendItems.forEach((b,w)=>{const{itemWidth:$,itemHeight:A}=lH(s,n,o,b,i);w>0&&g+A+2*a>u&&(d+=f+a,c.push({width:f,height:g}),_+=f+a,m++,f=g=0),l[w]={left:_,top:g,col:m,width:$,height:A},f=Math.max(f,$),g+=A+a}),d+=f,c.push({width:f,height:g}),d}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:s,labels:{padding:i},rtl:o}}=this,r=ar(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=an(s,this.left+i,this.right-this.lineWidths[a]);for(const c of n)a!==c.row&&(a=c.row,l=an(s,this.left+i,this.right-this.lineWidths[a])),c.top+=this.top+e+i,c.left=r.leftForLtr(r.x(l),c.width),l+=c.width+i}else{let a=0,l=an(s,this.top+e+i,this.bottom-this.columnSizes[a].height);for(const c of n)c.col!==a&&(a=c.col,l=an(s,this.top+e+i,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+i,c.left=r.leftForLtr(r.x(c.left),c.width),l+=c.height+i}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;su(e,this),this._draw(),iu(e)}}_draw(){const{options:e,columnSizes:n,lineWidths:s,ctx:i}=this,{align:o,labels:r}=e,a=Et.color,l=ar(e.rtl,this.left,this.width),c=Yt(r.font),{padding:u}=r,d=c.size,f=d/2;let g;this.drawTitle(),i.textAlign=l.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=c.string;const{boxWidth:_,boxHeight:m,itemHeight:b}=A_(r,d),w=function(y,S,E){if(isNaN(_)||_<=0||isNaN(m)||m<0)return;i.save();const T=qe(E.lineWidth,1);if(i.fillStyle=qe(E.fillStyle,a),i.lineCap=qe(E.lineCap,"butt"),i.lineDashOffset=qe(E.lineDashOffset,0),i.lineJoin=qe(E.lineJoin,"miter"),i.lineWidth=T,i.strokeStyle=qe(E.strokeStyle,a),i.setLineDash(qe(E.lineDash,[])),r.usePointStyle){const C={radius:m*Math.SQRT2/2,pointStyle:E.pointStyle,rotation:E.rotation,borderWidth:T},B=l.xPlus(y,_/2),J=S+f;v0(i,C,B,J,r.pointStyleWidth&&_)}else{const C=S+Math.max((d-m)/2,0),B=l.leftForLtr(y,_),J=xo(E.borderRadius);i.beginPath(),Object.values(J).some(ae=>ae!==0)?ja(i,{x:B,y:C,w:_,h:m,radius:J}):i.rect(B,C,_,m),i.fill(),T!==0&&i.stroke()}i.restore()},$=function(y,S,E){Po(i,E.text,y,S+b/2,c,{strikethrough:E.hidden,textAlign:l.textAlign(E.textAlign)})},A=this.isHorizontal(),D=this._computeTitleHeight();A?g={x:an(o,this.left+u,this.right-s[0]),y:this.top+u+D,line:0}:g={x:this.left+u,y:an(o,this.top+D+u,this.bottom-n[0].height),line:0},A0(this.ctx,e.textDirection);const x=b+u;this.legendItems.forEach((y,S)=>{i.strokeStyle=y.fontColor,i.fillStyle=y.fontColor;const E=i.measureText(y.text).width,T=l.textAlign(y.textAlign||(y.textAlign=r.textAlign)),C=_+f+E;let B=g.x,J=g.y;l.setWidth(this.width),A?S>0&&B+C+u>this.right&&(J=g.y+=x,g.line++,B=g.x=an(o,this.left+u,this.right-s[g.line])):S>0&&J+x>this.bottom&&(B=g.x=B+n[g.line].width+u,g.line++,J=g.y=an(o,this.top+D+u,this.bottom-n[g.line].height));const ae=l.x(B);if(w(ae,J,y),B=PB(T,B+_+f,A?B+C:this.right,e.rtl),$(l.x(B),J,y),A)g.x+=C+u;else if(typeof y.text!="string"){const Y=c.lineHeight;g.y+=Q0(y,Y)+u}else g.y+=x}),C0(this.ctx,e.textDirection)}drawTitle(){const e=this.options,n=e.title,s=Yt(n.font),i=hn(n.padding);if(!n.display)return;const o=ar(e.rtl,this.left,this.width),r=this.ctx,a=n.position,l=s.size/2,c=i.top+l;let u,d=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),u=this.top+c,d=an(e.align,d,this.right-f);else{const _=this.columnSizes.reduce((m,b)=>Math.max(m,b.height),0);u=c+an(e.align,this.top,this.bottom-_-e.labels.padding-this._computeTitleHeight())}const g=an(a,d,d+f);r.textAlign=o.textAlign(Pf(a)),r.textBaseline="middle",r.strokeStyle=n.color,r.fillStyle=n.color,r.font=s.string,Po(r,n.text,g,u,s)}_computeTitleHeight(){const e=this.options.title,n=Yt(e.font),s=hn(e.padding);return e.display?n.lineHeight+s.height:0}_getLegendItemAt(e,n){let s,i,o;if(Us(e,this.left,this.right)&&Us(n,this.top,this.bottom)){for(o=this.legendHitBoxes,s=0;so.length>r.length?o:r)),e+n.size/2+s.measureText(i).width}function uH(t,e,n){let s=t;return typeof e.text!="string"&&(s=Q0(e,n)),s}function Q0(t,e){const n=t.text?t.text.length:0;return e*n}function dH(t,e){return!!((t==="mousemove"||t==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(t==="click"||t==="mouseup"))}var hH={id:"legend",_element:C_,start(t,e,n){const s=t.legend=new C_({ctx:t.ctx,options:n,chart:t});qn.configure(t,s,n),qn.addBox(t,s)},stop(t){qn.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const s=t.legend;qn.configure(t,s,n),s.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const s=e.datasetIndex,i=n.chart;i.isDatasetVisible(s)?(i.hide(s),e.hidden=!0):(i.show(s),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:s,textAlign:i,color:o,useBorderRadius:r,borderRadius:a}}=t.legend.options;return t._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(n?0:void 0),u=hn(c.borderWidth);return{text:e[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:c.borderColor,pointStyle:s||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:r&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Z0 extends si{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n){const s=this.options;if(this.left=0,this.top=0,!s.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=n;const i=vt(s.text)?s.text.length:1;this._padding=hn(s.padding);const o=i*Yt(s.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:n,left:s,bottom:i,right:o,options:r}=this,a=r.align;let l=0,c,u,d;return this.isHorizontal()?(u=an(a,s,o),d=n+e,c=o-s):(r.position==="left"?(u=s+e,d=an(a,i,n),l=yt*-.5):(u=o-e,d=an(a,n,i),l=yt*.5),c=i-n),{titleX:u,titleY:d,maxWidth:c,rotation:l}}draw(){const e=this.ctx,n=this.options;if(!n.display)return;const s=Yt(n.font),o=s.lineHeight/2+this._padding.top,{titleX:r,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);Po(e,n.text,0,0,s,{color:n.color,maxWidth:l,rotation:c,textAlign:Pf(n.align),textBaseline:"middle",translation:[r,a]})}}function fH(t,e){const n=new Z0({ctx:t.ctx,options:e,chart:t});qn.configure(t,n,e),qn.addBox(t,n),t.titleBlock=n}var pH={id:"title",_element:Z0,start(t,e,n){fH(t,n)},stop(t){const e=t.titleBlock;qn.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const s=t.titleBlock;qn.configure(t,s,n),s.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const aa={average(t){if(!t.length)return!1;let e,n,s=0,i=0,o=0;for(e=0,n=t.length;ea({chart:e,initial:n.initial,numSteps:o,currentStep:Math.min(i-n.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=SC.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((i,s)=>{if(!i.running||!i.items.length)return;const r=i.items;let o=r.length-1,a=!1,l;for(;o>=0;--o)l=r[o],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(e),a=!0):(r[o]=r[r.length-1],r.pop());a&&(s.draw(),this._notify(s,i,e,"progress")),r.length||(i.running=!1,this._notify(s,i,e,"complete"),i.initial=!1),n+=r.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let i=n.get(e);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,i)),i}listen(e,n,i){this._getAnims(e).listeners[n].push(i)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((i,s)=>Math.max(i,s._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const i=n.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var Xs=new Nj;const e1="transparent",Fj={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const i=Yb(t||e1),s=i.valid&&Yb(e||e1);return s&&s.valid?s.mix(i,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class Bj{constructor(e,n,i,s){const r=n[i];s=xc([e.to,s,r,e.from]);const o=xc([e.from,r,s]);this._active=!0,this._fn=e.fn||Fj[e.type||typeof o],this._easing=jc[e.easing]||jc.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=i,this._from=o,this._to=s,this._promises=void 0}active(){return this._active}update(e,n,i){if(this._active){this._notify(!1);const s=this._target[this._prop],r=i-this._start,o=this._duration-r;this._start=i,this._duration=Math.floor(Math.max(o,e.duration)),this._total+=r,this._loop=!!e.loop,this._to=xc([e.to,n,s,e.from]),this._from=xc([e.from,s,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,i=this._duration,s=this._prop,r=this._from,o=this._loop,a=this._to;let l;if(this._active=r!==a&&(o||n1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[s]=this._fn(r,a,l)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,i)=>{e.push({res:n,rej:i})})}_notify(e){const n=e?"res":"rej",i=this._promises||[];for(let s=0;s{const r=e[s];if(!ut(r))return;const o={};for(const a of n)o[a]=r[a];(Nt(r.properties)&&r.properties||[s]).forEach(a=>{(a===s||!i.has(a))&&i.set(a,o)})})}_animateOptions(e,n){const i=n.options,s=zj(e,i);if(!s)return[];const r=this._createAnimations(s,i);return i.$shared&&Vj(e.options.$animations,i).then(()=>{e.options=i},()=>{}),r}_createAnimations(e,n){const i=this._properties,s=[],r=e.$animations||(e.$animations={}),o=Object.keys(n),a=Date.now();let l;for(l=o.length-1;l>=0;--l){const c=o[l];if(c.charAt(0)==="$")continue;if(c==="options"){s.push(...this._animateOptions(e,n));continue}const u=n[c];let d=r[c];const h=i.get(c);if(d)if(h&&d.active()){d.update(h,u,a);continue}else d.cancel();if(!h||!h.duration){e[c]=u;continue}r[c]=d=new Bj(h,e,c,u),s.push(d)}return s}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const i=this._createAnimations(e,n);if(i.length)return Xs.add(this._chart,i),!0}}function Vj(t,e){const n=[],i=Object.keys(e);for(let s=0;s0||!n&&r<0)return s.index}return null}function r1(t,e){const{chart:n,_cachedMeta:i}=t,s=n._stacks||(n._stacks={}),{iScale:r,vScale:o,index:a}=i,l=r.axis,c=o.axis,u=jj(r,o,i),d=e.length;let h;for(let f=0;fn[i].axis===e).shift()}function Gj(t,e){return yo(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function Xj(t,e,n){return yo(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function uc(t,e){const n=t.controller.index,i=t.vScale&&t.vScale.axis;if(i){e=e||t._parsed;for(const s of e){const r=s._stacks;if(!r||r[i]===void 0||r[i][n]===void 0)return;delete r[i][n],r[i]._visualValues!==void 0&&r[i]._visualValues[n]!==void 0&&delete r[i]._visualValues[n]}}}const Gg=t=>t==="reset"||t==="none",o1=(t,e)=>e?t:Object.assign({},t),qj=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:HC(n,!0),values:null};class vo{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=i1(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&uc(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,i=this.getDataset(),s=(d,h,f,p)=>d==="x"?h:d==="r"?p:f,r=n.xAxisID=tt(i.xAxisID,Ug(e,"x")),o=n.yAxisID=tt(i.yAxisID,Ug(e,"y")),a=n.rAxisID=tt(i.rAxisID,Ug(e,"r")),l=n.indexAxis,c=n.iAxisID=s(l,r,o,a),u=n.vAxisID=s(l,o,r,a);n.xScale=this.getScaleForId(r),n.yScale=this.getScaleForId(o),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&zb(this._data,this),e._stacked&&uc(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),i=this._data;if(ut(n))this._data=Yj(n);else if(i!==n){if(i){zb(i,this);const s=this._cachedMeta;uc(s),s._parsed=[]}n&&Object.isExtensible(n)&&LY(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,i=this.getDataset();let s=!1;this._dataCheck();const r=n._stacked;n._stacked=i1(n.vScale,n),n.stack!==i.stack&&(s=!0,uc(n),n.stack=i.stack),this._resyncElements(e),(s||r!==n._stacked)&&r1(this,n._parsed)}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),i=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:i,_data:s}=this,{iScale:r,_stacked:o}=i,a=r.axis;let l=e===0&&n===s.length?!0:i._sorted,c=e>0&&i._parsed[e-1],u,d,h;if(this._parsing===!1)i._parsed=s,i._sorted=!0,h=s;else{Nt(s[e])?h=this.parseArrayData(i,s,e,n):ut(s[e])?h=this.parseObjectData(i,s,e,n):h=this.parsePrimitiveData(i,s,e,n);const f=()=>d[a]===null||c&&d[a]m||d=0;--h)if(!p()){this.updateRangeFromParsed(c,e,f,l);break}}return c}getAllParsedValues(e){const n=this._cachedMeta._parsed,i=[];let s,r,o;for(s=0,r=n.length;s=0&&ethis.getContext(i,s,n),m=c.resolveNamedOptions(h,f,p,d);return m.$shared&&(m.$shared=l,r[o]=Object.freeze(o1(m,l))),m}_resolveAnimations(e,n,i){const s=this.chart,r=this._cachedDataOpts,o=`animation-${n}`,a=r[o];if(a)return a;let l;if(s.options.animation!==!1){const u=this.chart.config,d=u.datasetAnimationScopeKeys(this._type,n),h=u.getOptionScopes(this.getDataset(),d);l=u.createResolver(h,this.getContext(e,i,n))}const c=new WC(s,l&&l.animations);return l&&l._cacheable&&(r[o]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||Gg(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const i=this.resolveDataElementOptions(e,n),s=this._sharedOptions,r=this.getSharedOptions(i),o=this.includeOptions(n,r)||r!==s;return this.updateSharedOptions(r,n,i),{sharedOptions:r,includeOptions:o}}updateElement(e,n,i,s){Gg(s)?Object.assign(e,i):this._resolveAnimations(n,s).update(e,i)}updateSharedOptions(e,n,i){e&&!Gg(n)&&this._resolveAnimations(void 0,n).update(e,i)}_setStyle(e,n,i,s){e.active=s;const r=this.getStyle(n,s);this._resolveAnimations(n,i,s).update(e,{options:!s&&this.getSharedOptions(r)||r})}removeHoverStyle(e,n,i){this._setStyle(e,i,"active",!1)}setHoverStyle(e,n,i){this._setStyle(e,i,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,i=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const s=i.length,r=n.length,o=Math.min(r,s);o&&this.parse(0,o),r>s?this._insertElements(s,r-s,e):r{for(c.length+=n,a=c.length-1;a>=o;a--)c[a]=c[a-n]};for(l(r),a=e;as-r))}return t._cache.$bar}function Jj(t){const e=t.iScale,n=Zj(e,t.type);let i=e._length,s,r,o,a;const l=()=>{o===32767||o===-32768||(uu(a)&&(i=Math.min(i,Math.abs(o-a)||i)),a=o)};for(s=0,r=n.length;s0?s[t-1]:null,a=tMath.abs(a)&&(l=a,c=o),e[n.axis]=c,e._custom={barStart:l,barEnd:c,start:s,end:r,min:o,max:a}}function YC(t,e,n,i){return Nt(t)?tK(t,e,n,i):e[n.axis]=n.parse(t,i),e}function a1(t,e,n,i){const s=t.iScale,r=t.vScale,o=s.getLabels(),a=s===r,l=[];let c,u,d,h;for(c=n,u=n+i;c=n?1:-1)}function iK(t){let e,n,i,s,r;return t.horizontal?(e=t.base>t.x,n="left",i="right"):(e=t.basel.controller.options.grouped),r=i.options.stacked,o=[],a=l=>{const c=l.controller.getParsed(n),u=c&&c[l.vScale.axis];if(gt(u)||isNaN(u))return!0};for(const l of s)if(!(n!==void 0&&a(l))&&((r===!1||o.indexOf(l.stack)===-1||r===void 0&&l.stack===void 0)&&o.push(l.stack),l.index===e))break;return o.length||o.push(void 0),o}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,n,i){const s=this._getStacks(e,i),r=n!==void 0?s.indexOf(n):-1;return r===-1?s.length-1:r}_getRuler(){const e=this.options,n=this._cachedMeta,i=n.iScale,s=[];let r,o;for(r=0,o=n.data.length;r=0;--i)n=Math.max(n,e[i].size(this.resolveDataElementOptions(i))/2);return n>0&&n}getLabelAndValue(e){const n=this._cachedMeta,i=this.chart.data.labels||[],{xScale:s,yScale:r}=n,o=this.getParsed(e),a=s.getLabelForValue(o.x),l=r.getLabelForValue(o.y),c=o._custom;return{label:i[e]||"",value:"("+a+", "+l+(c?", "+c:"")+")"}}update(e){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,e)}updateElements(e,n,i,s){const r=s==="reset",{iScale:o,vScale:a}=this._cachedMeta,{sharedOptions:l,includeOptions:c}=this._getSharedOptions(n,s),u=o.axis,d=a.axis;for(let h=n;hdu(E,a,l,!0)?1:Math.max(C,C*n,w,w*n),p=(E,C,w)=>du(E,a,l,!0)?-1:Math.min(C,C*n,w,w*n),m=f(0,c,d),y=f(on,u,h),v=p(Bt,c,d),b=p(Bt+on,u,h);i=(m-v)/2,s=(y-b)/2,r=-(m+v)/2,o=-(y+b)/2}return{ratioX:i,ratioY:s,offsetX:r,offsetY:o}}class KC extends vo{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:e=>e!=="spacing",_indexable:e=>e!=="spacing"&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:i,color:s}}=e.legend.options;return n.labels.map((r,o)=>{const l=e.getDatasetMeta(0).controller.getStyle(o);return{text:r,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:s,lineWidth:l.borderWidth,pointStyle:i,hidden:!e.getDataVisibility(o),index:o}})}return[]}},onClick(e,n,i){i.chart.toggleDataVisibility(n.index),i.chart.update()}}}};constructor(e,n){super(e,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,n){const i=this.getDataset().data,s=this._cachedMeta;if(this._parsing===!1)s._parsed=i;else{let r=l=>+i[l];if(ut(i[e])){const{key:l="value"}=this._parsing;r=c=>+ao(i[c],l)}let o,a;for(o=e,a=e+n;o0&&!isNaN(e)?Ft*(Math.abs(e)/n):0}getLabelAndValue(e){const n=this._cachedMeta,i=this.chart,s=i.data.labels||[],r=Wu(n._parsed[e],i.options.locale);return{label:s[e]||"",value:r}}getMaxBorderWidth(e){let n=0;const i=this.chart;let s,r,o,a,l;if(!e){for(s=0,r=i.data.datasets.length;s0&&this.getParsed(n-1);for(let w=0;w=b){T.skip=!0;continue}const k=this.getParsed(w),A=gt(k[f]),P=T[h]=o.getPixelForValue(k[h],w),F=T[f]=r||A?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,k,l):k[f],w);T.skip=isNaN(P)||isNaN(F)||A,T.stop=w>0&&Math.abs(k[h]-C[h])>y,m&&(T.parsed=k,T.raw=c.data[w]),d&&(T.options=u||this.resolveDataElementOptions(w,x.active?"active":s)),v||this.updateElement(x,w,T,s),C=k}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,i=n.options&&n.options.borderWidth||0,s=e.data||[];if(!s.length)return i;const r=s[0].size(this.resolveDataElementOptions(0)),o=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(i,r,o)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}class cK extends vo{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:i,color:s}}=e.legend.options;return n.labels.map((r,o)=>{const l=e.getDatasetMeta(0).controller.getStyle(o);return{text:r,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:s,lineWidth:l.borderWidth,pointStyle:i,hidden:!e.getDataVisibility(o),index:o}})}return[]}},onClick(e,n,i){i.chart.toggleDataVisibility(n.index),i.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,n){super(e,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const n=this._cachedMeta,i=this.chart,s=i.data.labels||[],r=Wu(n._parsed[e].r,i.options.locale);return{label:s[e]||"",value:r}}parseObjectData(e,n,i,s){return LC.bind(this)(e,n,i,s)}update(e){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,e)}getMinMax(){const e=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach((i,s)=>{const r=this.getParsed(s).r;!isNaN(r)&&this.chart.getDataVisibility(s)&&(rn.max&&(n.max=r))}),n}_updateRadius(){const e=this.chart,n=e.chartArea,i=e.options,s=Math.min(n.right-n.left,n.bottom-n.top),r=Math.max(s/2,0),o=Math.max(i.cutoutPercentage?r/100*i.cutoutPercentage:1,0),a=(r-o)/e.getVisibleDatasetCount();this.outerRadius=r-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,n,i,s){const r=s==="reset",o=this.chart,l=o.options.animation,c=this._cachedMeta.rScale,u=c.xCenter,d=c.yCenter,h=c.getIndexAngle(0)-.5*Bt;let f=h,p;const m=360/this.countVisibleElements();for(p=0;p{!isNaN(this.getParsed(s).r)&&this.chart.getDataVisibility(s)&&n++}),n}_computeAngle(e,n,i){return this.chart.getDataVisibility(e)?as(this.resolveDataElementOptions(e,n).angle||i):0}}class uK extends KC{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}class dK extends vo{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(e){const n=this._cachedMeta.vScale,i=this.getParsed(e);return{label:n.getLabels()[e],value:""+n.getLabelForValue(i[n.axis])}}parseObjectData(e,n,i,s){return LC.bind(this)(e,n,i,s)}update(e){const n=this._cachedMeta,i=n.dataset,s=n.data||[],r=n.iScale.getLabels();if(i.points=s,e!=="resize"){const o=this.resolveDatasetElementOptions(e);this.options.showLine||(o.borderWidth=0);const a={_loop:!0,_fullLoop:r.length===s.length,options:o};this.updateElement(i,void 0,a,e)}this.updateElements(s,0,s.length,e)}updateElements(e,n,i,s){const r=this._cachedMeta.rScale,o=s==="reset";for(let a=n;a0&&this.getParsed(n-1);for(let C=n;C0&&Math.abs(x[f]-E[f])>v,y&&(T.parsed=x,T.raw=c.data[C]),h&&(T.options=d||this.resolveDataElementOptions(C,w.active?"active":s)),b||this.updateElement(w,C,T,s),E=x}this.updateSharedOptions(d,s,u)}getMaxOverflow(){const e=this._cachedMeta,n=e.data||[];if(!this.options.showLine){let a=0;for(let l=n.length-1;l>=0;--l)a=Math.max(a,n[l].size(this.resolveDataElementOptions(l))/2);return a>0&&a}const i=e.dataset,s=i.options&&i.options.borderWidth||0;if(!n.length)return s;const r=n[0].size(this.resolveDataElementOptions(0)),o=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(s,r,o)/2}}function Lo(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class ay{static override(e){Object.assign(ay.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return Lo()}parse(){return Lo()}format(){return Lo()}add(){return Lo()}diff(){return Lo()}startOf(){return Lo()}endOf(){return Lo()}}var fK={_date:ay};function gK(t,e,n,i){const{controller:s,data:r,_sorted:o}=t,a=s._cachedMeta.iScale;if(a&&e===a.axis&&e!=="r"&&o&&r.length){const l=a._reversePixels?DY:or;if(i){if(s._sharedOptions){const c=r[0],u=typeof c.getRange=="function"&&c.getRange(e);if(u){const d=l(r,e,n-u),h=l(r,e,n+u);return{lo:d.lo,hi:h.hi}}}}else return l(r,e,n)}return{lo:0,hi:r.length-1}}function Hu(t,e,n,i,s){const r=t.getSortedVisibleDatasetMetas(),o=n[e];for(let a=0,l=r.length;a{l[o](e[n],s)&&(r.push({element:l,datasetIndex:c,index:u}),a=a||l.inRange(e.x,e.y,s))}),i&&!a?[]:r}var yK={evaluateInteractionItems:Hu,modes:{index(t,e,n,i){const s=zo(e,t),r=n.axis||"x",o=n.includeInvisible||!1,a=n.intersect?qg(t,s,r,i,o):Zg(t,s,r,!1,i,o),l=[];return a.length?(t.getSortedVisibleDatasetMetas().forEach(c=>{const u=a[0].index,d=c.data[u];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:u})}),l):[]},dataset(t,e,n,i){const s=zo(e,t),r=n.axis||"xy",o=n.includeInvisible||!1;let a=n.intersect?qg(t,s,r,i,o):Zg(t,s,r,!1,i,o);if(a.length>0){const l=a[0].datasetIndex,c=t.getDatasetMeta(l).data;a=[];for(let u=0;un.pos===e)}function d1(t,e){return t.filter(n=>GC.indexOf(n.pos)===-1&&n.box.axis===e)}function hc(t,e){return t.sort((n,i)=>{const s=e?i:n,r=e?n:i;return s.weight===r.weight?s.index-r.index:s.weight-r.weight})}function vK(t){const e=[];let n,i,s,r,o,a;for(n=0,i=(t||[]).length;nc.box.fullSize),!0),i=hc(dc(e,"left"),!0),s=hc(dc(e,"right")),r=hc(dc(e,"top"),!0),o=hc(dc(e,"bottom")),a=d1(e,"x"),l=d1(e,"y");return{fullSize:n,leftAndTop:i.concat(r),rightAndBottom:s.concat(l).concat(o).concat(a),chartArea:dc(e,"chartArea"),vertical:i.concat(s).concat(l),horizontal:r.concat(o).concat(a)}}function h1(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function XC(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function EK(t,e,n,i){const{pos:s,box:r}=n,o=t.maxPadding;if(!ut(s)){n.size&&(t[s]-=n.size);const d=i[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?r.height:r.width),n.size=d.size/d.count,t[s]+=n.size}r.getPadding&&XC(o,r.getPadding());const a=Math.max(0,e.outerWidth-h1(o,t,"left","right")),l=Math.max(0,e.outerHeight-h1(o,t,"top","bottom")),c=a!==t.w,u=l!==t.h;return t.w=a,t.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function SK(t){const e=t.maxPadding;function n(i){const s=Math.max(e[i]-t[i],0);return t[i]+=s,s}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function CK(t,e){const n=e.maxPadding;function i(s){const r={left:0,top:0,right:0,bottom:0};return s.forEach(o=>{r[o]=Math.max(e[o],n[o])}),r}return i(t?["left","right"]:["top","bottom"])}function Ec(t,e,n,i){const s=[];let r,o,a,l,c,u;for(r=0,o=t.length,c=0;r{typeof m.beforeLayout=="function"&&m.beforeLayout()});const u=l.reduce((m,y)=>y.box.options&&y.box.options.display===!1?m:m+1,0)||1,d=Object.freeze({outerWidth:e,outerHeight:n,padding:s,availableWidth:r,availableHeight:o,vBoxMaxWidth:r/2/u,hBoxMaxHeight:o/2}),h=Object.assign({},s);XC(h,Kn(i));const f=Object.assign({maxPadding:h,w:r,h:o,x:s.left,y:s.top},s),p=wK(l.concat(c),d);Ec(a.fullSize,f,d,p),Ec(l,f,d,p),Ec(c,f,d,p)&&Ec(l,f,d,p),SK(f),f1(a.leftAndTop,f,d,p),f.x+=f.w,f.y+=f.h,f1(a.rightAndBottom,f,d,p),t.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},Ct(a.chartArea,m=>{const y=m.box;Object.assign(y,t.chartArea),y.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})})}};class qC{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,i){}removeEventListener(e,n,i){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,i,s){return n=Math.max(0,n||e.width),i=i||e.height,{width:n,height:Math.max(0,s?Math.floor(n/s):i)}}isAttached(e){return!0}updateConfig(e){}}class TK extends qC{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const rh="$chartjs",kK={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},g1=t=>t===null||t==="";function AK(t,e){const n=t.style,i=t.getAttribute("height"),s=t.getAttribute("width");if(t[rh]={initial:{height:i,width:s,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",g1(s)){const r=qb(t,"width");r!==void 0&&(t.width=r)}if(g1(i))if(t.style.height==="")t.height=t.width/(e||2);else{const r=qb(t,"height");r!==void 0&&(t.height=r)}return t}const ZC=Tj?{passive:!0}:!1;function MK(t,e,n){t.addEventListener(e,n,ZC)}function IK(t,e,n){t.canvas.removeEventListener(e,n,ZC)}function PK(t,e){const n=kK[t.type]||t.type,{x:i,y:s}=zo(t,e);return{type:n,chart:e,native:t,x:i!==void 0?i:null,y:s!==void 0?s:null}}function Th(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function RK(t,e,n){const i=t.canvas,s=new MutationObserver(r=>{let o=!1;for(const a of r)o=o||Th(a.addedNodes,i),o=o&&!Th(a.removedNodes,i);o&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}function DK(t,e,n){const i=t.canvas,s=new MutationObserver(r=>{let o=!1;for(const a of r)o=o||Th(a.removedNodes,i),o=o&&!Th(a.addedNodes,i);o&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}const fu=new Map;let p1=0;function JC(){const t=window.devicePixelRatio;t!==p1&&(p1=t,fu.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function $K(t,e){fu.size||window.addEventListener("resize",JC),fu.set(t,e)}function LK(t){fu.delete(t),fu.size||window.removeEventListener("resize",JC)}function OK(t,e,n){const i=t.canvas,s=i&&oy(i);if(!s)return;const r=CC((a,l)=>{const c=s.clientWidth;n(a,l),c{const l=a[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||r(c,u)});return o.observe(s),$K(t,r),o}function Jg(t,e,n){n&&n.disconnect(),e==="resize"&&LK(t)}function NK(t,e,n){const i=t.canvas,s=CC(r=>{t.ctx!==null&&n(PK(r,t))},t);return MK(i,e,s),s}class FK extends qC{acquireContext(e,n){const i=e&&e.getContext&&e.getContext("2d");return i&&i.canvas===e?(AK(e,n),i):null}releaseContext(e){const n=e.canvas;if(!n[rh])return!1;const i=n[rh].initial;["height","width"].forEach(r=>{const o=i[r];gt(o)?n.removeAttribute(r):n.setAttribute(r,o)});const s=i.style||{};return Object.keys(s).forEach(r=>{n.style[r]=s[r]}),n.width=n.width,delete n[rh],!0}addEventListener(e,n,i){this.removeEventListener(e,n);const s=e.$proxies||(e.$proxies={}),o={attach:RK,detach:DK,resize:OK}[n]||NK;s[n]=o(e,n,i)}removeEventListener(e,n){const i=e.$proxies||(e.$proxies={}),s=i[n];if(!s)return;({attach:Jg,detach:Jg,resize:Jg}[n]||IK)(e,n,s),i[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,i,s){return Cj(e,n,i,s)}isAttached(e){const n=oy(e);return!!(n&&n.isConnected)}}function BK(t){return!ry()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?TK:FK}let vr=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:n,y:i}=this.getProps(["x","y"],e);return{x:n,y:i}}hasValue(){return Al(this.x)&&Al(this.y)}getProps(e,n){const i=this.$animations;if(!n||!i)return this;const s={};return e.forEach(r=>{s[r]=i[r]&&i[r].active()?i[r]._to:this[r]}),s}};function VK(t,e){const n=t.options.ticks,i=zK(t),s=Math.min(n.maxTicksLimit||i,i),r=n.major.enabled?HK(e):[],o=r.length,a=r[0],l=r[o-1],c=[];if(o>s)return YK(e,c,r,o/s),c;const u=WK(r,e,s);if(o>0){let d,h;const f=o>1?Math.round((l-a)/(o-1)):null;for(Id(e,c,u,gt(f)?0:a-f,a),d=0,h=o-1;ds)return l}return Math.max(s,1)}function HK(t){const e=[];let n,i;for(n=0,i=t.length;nt==="left"?"right":t==="right"?"left":t,m1=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,_1=(t,e)=>Math.min(e||t,t);function y1(t,e){const n=[],i=t.length/e,s=t.length;let r=0;for(;ro+a)))return l}function GK(t,e){Ct(t,n=>{const i=n.gc,s=i.length/2;let r;if(s>e){for(r=0;ri?i:n,i=s&&n>i?n:i,{min:xi(n,xi(i,n)),max:xi(i,xi(n,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Pt(this.options.beforeUpdate,[this])}update(e,n,i){const{beginAtZero:s,grace:r,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=ij(this,r,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=r||i<=1||!this.isHorizontal()){this.labelRotation=s;return}const u=this._getLabelSizes(),d=u.widest.width,h=u.highest.height,f=Pn(this.chart.width-d,0,this.maxWidth);a=e.offset?this.maxWidth/i:f/(i-1),d+6>a&&(a=f/(i-(e.offset?.5:1)),l=this.maxHeight-fc(e.grid)-n.padding-v1(e.title,this.chart.options.font),c=Math.sqrt(d*d+h*h),o=Z_(Math.min(Math.asin(Pn((u.highest.height+6)/a,-1,1)),Math.asin(Pn(l/c,-1,1))-Math.asin(Pn(h/c,-1,1)))),o=Math.max(s,Math.min(r,o))),this.labelRotation=o}afterCalculateLabelRotation(){Pt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Pt(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:i,title:s,grid:r}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const l=v1(s,n.options.font);if(a?(e.width=this.maxWidth,e.height=fc(r)+l):(e.height=this.maxHeight,e.width=fc(r)+l),i.display&&this.ticks.length){const{first:c,last:u,widest:d,highest:h}=this._getLabelSizes(),f=i.padding*2,p=as(this.labelRotation),m=Math.cos(p),y=Math.sin(p);if(a){const v=i.mirror?0:y*d.width+m*h.height;e.height=Math.min(this.maxHeight,e.height+v+f)}else{const v=i.mirror?0:m*d.width+y*h.height;e.width=Math.min(this.maxWidth,e.width+v+f)}this._calculatePadding(c,u,y,m)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,i,s){const{ticks:{align:r,padding:o},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let h=0,f=0;l?c?(h=s*e.width,f=i*n.height):(h=i*e.height,f=s*n.width):r==="start"?f=n.width:r==="end"?h=e.width:r!=="inner"&&(h=e.width/2,f=n.width/2),this.paddingLeft=Math.max((h-u+o)*this.width/(this.width-u),0),this.paddingRight=Math.max((f-d+o)*this.width/(this.width-d),0)}else{let u=n.height/2,d=e.height/2;r==="start"?(u=0,d=e.height):r==="end"&&(u=n.height,d=0),this.paddingTop=u+o,this.paddingBottom=d+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Pt(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,i;for(n=0,i=e.length;n({width:o[A]||0,height:a[A]||0});return{first:k(0),last:k(n-1),widest:k(x),highest:k(T),widths:o,heights:a}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return RY(this._alignToPixels?$o(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&ea*s?a/i:l/s:l*s0}_computeGridLineItems(e){const n=this.axis,i=this.chart,s=this.options,{grid:r,position:o,border:a}=s,l=r.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),h=fc(r),f=[],p=a.setContext(this.getContext()),m=p.display?p.width:0,y=m/2,v=function(I){return $o(i,I,m)};let b,E,C,w,x,T,k,A,P,F,H,te;if(o==="top")b=v(this.bottom),T=this.bottom-h,A=b-y,F=v(e.top)+y,te=e.bottom;else if(o==="bottom")b=v(this.top),F=e.top,te=v(e.bottom)-y,T=b+y,A=this.top+h;else if(o==="left")b=v(this.right),x=this.right-h,k=b-y,P=v(e.left)+y,H=e.right;else if(o==="right")b=v(this.left),P=e.left,H=v(e.right)-y,x=b+y,k=this.left+h;else if(n==="x"){if(o==="center")b=v((e.top+e.bottom)/2+.5);else if(ut(o)){const I=Object.keys(o)[0],W=o[I];b=v(this.chart.scales[I].getPixelForValue(W))}F=e.top,te=e.bottom,T=b+y,A=T+h}else if(n==="y"){if(o==="center")b=v((e.left+e.right)/2);else if(ut(o)){const I=Object.keys(o)[0],W=o[I];b=v(this.chart.scales[I].getPixelForValue(W))}x=b-y,k=x-h,P=e.left,H=e.right}const N=tt(s.ticks.maxTicksLimit,d),L=Math.max(1,Math.ceil(d/N));for(E=0;E0&&(le-=M/2);break}ue={left:le,top:ie,width:M+Y.width,height:Z+Y.height,color:L.backdropColor}}y.push({label:C,font:A,textOffset:H,options:{rotation:m,color:W,strokeColor:X,strokeWidth:J,textAlign:ne,textBaseline:te,translation:[w,x],backdrop:ue}})}return y}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-as(this.labelRotation))return e==="top"?"left":"right";let s="center";return n.align==="start"?s="left":n.align==="end"?s="right":n.align==="inner"&&(s="inner"),s}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:i,mirror:s,padding:r}}=this.options,o=this._getLabelSizes(),a=e+r,l=o.widest.width;let c,u;return n==="left"?s?(u=this.right+r,i==="near"?c="left":i==="center"?(c="center",u+=l/2):(c="right",u+=l)):(u=this.right-a,i==="near"?c="right":i==="center"?(c="center",u-=l/2):(c="left",u=this.left)):n==="right"?s?(u=this.left+r,i==="near"?c="right":i==="center"?(c="center",u-=l/2):(c="left",u-=l)):(u=this.left+a,i==="near"?c="left":i==="center"?(c="center",u+=l/2):(c="right",u=this.right)):c="right",{textAlign:c,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:i,top:s,width:r,height:o}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(i,s,r,o),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const s=this.ticks.findIndex(r=>r.value===e);return s>=0?n.setContext(this.getContext(s)).lineWidth:0}drawGrid(e){const n=this.options.grid,i=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let r,o;const a=(l,c,u)=>{!u.width||!u.color||(i.save(),i.lineWidth=u.width,i.strokeStyle=u.color,i.setLineDash(u.borderDash||[]),i.lineDashOffset=u.borderDashOffset,i.beginPath(),i.moveTo(l.x,l.y),i.lineTo(c.x,c.y),i.stroke(),i.restore())};if(n.display)for(r=0,o=s.length;r{this.draw(r)}}]:[{z:i,draw:r=>{this.drawBackground(),this.drawGrid(r),this.drawTitle()}},{z:s,draw:()=>{this.drawBorder()}},{z:n,draw:r=>{this.drawLabels(r)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",s=[];let r,o;for(r=0,o=n.length;r{const i=n.split("."),s=i.pop(),r=[t].concat(i).join("."),o=e[n].split("."),a=o.pop(),l=o.join(".");Zt.route(r,s,l,a)})}function tU(t){return"id"in t&&"defaults"in t}class nU{constructor(){this.controllers=new Pd(vo,"datasets",!0),this.elements=new Pd(vr,"elements"),this.plugins=new Pd(Object,"plugins"),this.scales=new Pd(ya,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,i){[...n].forEach(s=>{const r=i||this._getRegistryForType(s);i||r.isForType(s)||r===this.plugins&&s.id?this._exec(e,r,s):Ct(s,o=>{const a=i||this._getRegistryForType(o);this._exec(e,a,o)})})}_exec(e,n,i){const s=q_(e);Pt(i["before"+s],[],i),n[e](i),Pt(i["after"+s],[],i)}_getRegistryForType(e){for(let n=0;nr.filter(a=>!o.some(l=>a.plugin.id===l.plugin.id));this._notify(s(n,i),e,"stop"),this._notify(s(i,n),e,"start")}}function sU(t){const e={},n=[],i=Object.keys(vs.plugins.items);for(let r=0;r1&&b1(t[0].toLowerCase());if(i)return i}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function w1(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function dU(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(i=>i.xAxisID===t||i.yAxisID===t);if(n.length)return w1(t,"x",n[0])||w1(t,"y",n[0])}return{}}function hU(t,e){const n=ca[t.type]||{scales:{}},i=e.scales||{},s=am(t.type,e),r=Object.create(null);return Object.keys(i).forEach(o=>{const a=i[o];if(!ut(a))return console.error(`Invalid scale configuration for scale: ${o}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${o}`);const l=lm(o,a,dU(o,t),Zt.scales[a.type]),c=cU(l,s),u=n.scales||{};r[o]=Hc(Object.create(null),[{axis:l},a,u[l],u[c]])}),t.data.datasets.forEach(o=>{const a=o.type||t.type,l=o.indexAxis||am(a,e),u=(ca[a]||{}).scales||{};Object.keys(u).forEach(d=>{const h=lU(d,l),f=o[h+"AxisID"]||h;r[f]=r[f]||Object.create(null),Hc(r[f],[{axis:h},i[f],u[d]])})}),Object.keys(r).forEach(o=>{const a=r[o];Hc(a,[Zt.scales[a.type],Zt.scale])}),r}function QC(t){const e=t.options||(t.options={});e.plugins=tt(e.plugins,{}),e.scales=hU(t,e)}function eT(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function fU(t){return t=t||{},t.data=eT(t.data),QC(t),t}const x1=new Map,tT=new Set;function Rd(t,e){let n=x1.get(t);return n||(n=e(),x1.set(t,n),tT.add(n)),n}const gc=(t,e,n)=>{const i=ao(e,n);i!==void 0&&t.add(i)};let gU=class{constructor(e){this._config=fU(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=eT(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),QC(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Rd(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return Rd(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return Rd(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,i=this.type;return Rd(`${i}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const i=this._scopeCache;let s=i.get(e);return(!s||n)&&(s=new Map,i.set(e,s)),s}getOptionScopes(e,n,i){const{options:s,type:r}=this,o=this._cachedScopes(e,i),a=o.get(n);if(a)return a;const l=new Set;n.forEach(u=>{e&&(l.add(e),u.forEach(d=>gc(l,e,d))),u.forEach(d=>gc(l,s,d)),u.forEach(d=>gc(l,ca[r]||{},d)),u.forEach(d=>gc(l,Zt,d)),u.forEach(d=>gc(l,rm,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),tT.has(n)&&o.set(n,c),c}chartOptionScopes(){const{options:e,type:n}=this;return[e,ca[n]||{},Zt.datasets[n]||{},{type:n},Zt,rm]}resolveNamedOptions(e,n,i,s=[""]){const r={$shared:!0},{resolver:o,subPrefixes:a}=E1(this._resolverCache,e,s);let l=o;if(mU(o,n)){r.$shared=!1,i=lo(i)?i():i;const c=this.createResolver(e,i,a);l=Ml(o,i,c)}for(const c of n)r[c]=l[c];return r}createResolver(e,n,i=[""],s){const{resolver:r}=E1(this._resolverCache,e,i);return ut(n)?Ml(r,n,void 0,s):r}};function E1(t,e,n){let i=t.get(e);i||(i=new Map,t.set(e,i));const s=n.join();let r=i.get(s);return r||(r={resolver:ny(e,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},i.set(s,r)),r}const pU=t=>ut(t)&&Object.getOwnPropertyNames(t).some(e=>lo(t[e]));function mU(t,e){const{isScriptable:n,isIndexable:i}=PC(t);for(const s of e){const r=n(s),o=i(s),a=(o||r)&&t[s];if(r&&(lo(a)||pU(a))||o&&Nt(a))return!0}return!1}var _U="4.4.1";const yU=["top","bottom","left","right","chartArea"];function S1(t,e){return t==="top"||t==="bottom"||yU.indexOf(t)===-1&&e==="x"}function C1(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}function T1(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),Pt(n&&n.onComplete,[t],e)}function vU(t){const e=t.chart,n=e.options.animation;Pt(n&&n.onProgress,[t],e)}function nT(t){return ry()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const oh={},k1=t=>{const e=nT(t);return Object.values(oh).filter(n=>n.canvas===e).pop()};function bU(t,e,n){const i=Object.keys(t);for(const s of i){const r=+s;if(r>=e){const o=t[s];delete t[s],(n>0||r>e)&&(t[r+n]=o)}}}function wU(t,e,n,i){return!n||t.type==="mouseout"?null:i?e:t}function Dd(t,e,n){return t.options.clip?t[n]:e[n]}function xU(t,e){const{xScale:n,yScale:i}=t;return n&&i?{left:Dd(n,e,"left"),right:Dd(n,e,"right"),top:Dd(i,e,"top"),bottom:Dd(i,e,"bottom")}:e}let Tf=class{static defaults=Zt;static instances=oh;static overrides=ca;static registry=vs;static version=_U;static getChart=k1;static register(...e){vs.add(...e),A1()}static unregister(...e){vs.remove(...e),A1()}constructor(e,n){const i=this.config=new gU(n),s=nT(e),r=k1(s);if(r)throw new Error("Canvas is already in use. Chart with ID '"+r.id+"' must be destroyed before the canvas with ID '"+r.canvas.id+"' can be reused.");const o=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||BK(s)),this.platform.updateConfig(i);const a=this.platform.acquireContext(s,o.aspectRatio),l=a&&a.canvas,c=l&&l.height,u=l&&l.width;if(this.id=bY(),this.ctx=a,this.canvas=l,this.width=u,this.height=c,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new iU,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=OY(d=>this.update(d),o.resizeDelay||0),this._dataChanges=[],oh[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}Xs.listen(this,"complete",T1),Xs.listen(this,"progress",vU),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:i,height:s,_aspectRatio:r}=this;return gt(e)?n&&r?r:s?i/s:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return vs}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Xb(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Kb(this.canvas,this.ctx),this}stop(){return Xs.stop(this),this}resize(e,n){Xs.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const i=this.options,s=this.canvas,r=i.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(s,e,n,r),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,Xb(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),Pt(i.onResize,[this,o],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Ct(n,(i,s)=>{i.id=s})}buildOrUpdateScales(){const e=this.options,n=e.scales,i=this.scales,s=Object.keys(i).reduce((o,a)=>(o[a]=!1,o),{});let r=[];n&&(r=r.concat(Object.keys(n).map(o=>{const a=n[o],l=lm(o,a),c=l==="r",u=l==="x";return{options:a,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),Ct(r,o=>{const a=o.options,l=a.id,c=lm(l,a),u=tt(a.type,o.dtype);(a.position===void 0||S1(a.position,c)!==S1(o.dposition))&&(a.position=o.dposition),s[l]=!0;let d=null;if(l in i&&i[l].type===u)d=i[l];else{const h=vs.getScale(u);d=new h({id:l,type:u,ctx:this.ctx,chart:this}),i[d.id]=d}d.init(a,e)}),Ct(s,(o,a)=>{o||delete i[a]}),Ct(i,o=>{Wi.configure(this,o,o.options),Wi.addBox(this,o)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,i=e.length;if(e.sort((s,r)=>s.index-r.index),i>n){for(let s=n;sn.length&&delete this._stacks,e.forEach((i,s)=>{n.filter(r=>r===i._dataset).length===0&&this._destroyDatasetMeta(s)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let i,s;for(this._removeUnreferencedMetasets(),i=0,s=n.length;i{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const i=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let c=0,u=this.data.datasets.length;c{c.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(C1("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){Ct(this.scales,e=>{Wi.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),i=new Set(e.events);(!Nb(n,i)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:i,start:s,count:r}of n){const o=i==="_removeElements"?-r:r;bU(e,s,o)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,i=r=>new Set(e.filter(o=>o[0]===r).map((o,a)=>a+","+o.splice(1).join(","))),s=i(0);for(let r=1;rr.split(",")).map(r=>({method:r[1],start:+r[2],count:+r[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Wi.update(this,this.width,this.height,e);const n=this.chartArea,i=n.width<=0||n.height<=0;this._layers=[],Ct(this.boxes,s=>{i&&s.position==="chartArea"||(s.configure&&s.configure(),this._layers.push(...s._layers()))},this),this._layers.forEach((s,r)=>{s._idx=r}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,i=this.data.datasets.length;n=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,i=e._clip,s=!i.disabled,r=xU(e,this.chartArea),o={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",o)!==!1&&(s&&Ef(n,{left:i.left===!1?0:r.left-i.left,right:i.right===!1?this.width:r.right+i.right,top:i.top===!1?0:r.top-i.top,bottom:i.bottom===!1?this.height:r.bottom+i.bottom}),e.controller.draw(),s&&Sf(n),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(e){return ar(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,i,s){const r=yK.modes[n];return typeof r=="function"?r(this,e,i,s):[]}getDatasetMeta(e){const n=this.data.datasets[e],i=this._metasets;let s=i.filter(r=>r&&r._dataset===n).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},i.push(s)),s}getContext(){return this.$context||(this.$context=yo(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const i=this.getDatasetMeta(e);return typeof i.hidden=="boolean"?!i.hidden:!n.hidden}setDatasetVisibility(e,n){const i=this.getDatasetMeta(e);i.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,i){const s=i?"show":"hide",r=this.getDatasetMeta(e),o=r.controller._resolveAnimations(void 0,s);uu(n)?(r.data[n].hidden=!i,this.update()):(this.setDatasetVisibility(e,i),o.update(r,{visible:i}),this.update(a=>a.datasetIndex===e?s:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),Xs.remove(this),e=0,n=this.data.datasets.length;e{n.addEventListener(this,r,o),e[r]=o},s=(r,o,a)=>{r.offsetX=o,r.offsetY=a,this._eventHandler(r)};Ct(this.options.events,r=>i(r,s))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,i=(l,c)=>{n.addEventListener(this,l,c),e[l]=c},s=(l,c)=>{e[l]&&(n.removeEventListener(this,l,c),delete e[l])},r=(l,c)=>{this.canvas&&this.resize(l,c)};let o;const a=()=>{s("attach",a),this.attached=!0,this.resize(),i("resize",r),i("detach",o)};o=()=>{this.attached=!1,s("resize",r),this._stop(),this._resize(0,0),i("attach",a)},n.isAttached(this.canvas)?a():o()}unbindEvents(){Ct(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},Ct(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,i){const s=i?"set":"remove";let r,o,a,l;for(n==="dataset"&&(r=this.getDatasetMeta(e[0].datasetIndex),r.controller["_"+s+"DatasetHoverStyle"]()),a=0,l=e.length;a{const a=this.getDatasetMeta(r);if(!a)throw new Error("No dataset found at index "+r);return{datasetIndex:r,element:a.data[o],index:o}});!wh(i,n)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,n))}notifyPlugins(e,n,i){return this._plugins.notify(this,e,n,i)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,i){const s=this.options.hover,r=(l,c)=>l.filter(u=>!c.some(d=>u.datasetIndex===d.datasetIndex&&u.index===d.index)),o=r(n,e),a=i?e:r(e,n);o.length&&this.updateHoverStyle(o,s.mode,!1),a.length&&s.mode&&this.updateHoverStyle(a,s.mode,!0)}_eventHandler(e,n){const i={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},s=o=>(o.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",i,s)===!1)return;const r=this._handleEvent(e,n,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,s),(r||i.changed)&&this.render(),this}_handleEvent(e,n,i){const{_active:s=[],options:r}=this,o=n,a=this._getActiveElements(e,s,i,o),l=TY(e),c=wU(e,this._lastEvent,i,l);i&&(this._lastEvent=null,Pt(r.onHover,[e,a,this],this),l&&Pt(r.onClick,[e,a,this],this));const u=!wh(a,s);return(u||n)&&(this._active=a,this._updateHoverStyles(a,s,n)),this._lastEvent=c,u}_getActiveElements(e,n,i,s){if(e.type==="mouseout")return[];if(!i)return n;const r=this.options.hover;return this.getElementsAtEventForMode(e,r.mode,r,s)}};function A1(){return Ct(Tf.instances,t=>t._plugins.invalidate())}function EU(t,e,n){const{startAngle:i,pixelMargin:s,x:r,y:o,outerRadius:a,innerRadius:l}=e;let c=s/a;t.beginPath(),t.arc(r,o,a,i-c,n+c),l>s?(c=s/l,t.arc(r,o,l,n+c,i-c,!0)):t.arc(r,o,s,n+on,i-on),t.closePath(),t.clip()}function SU(t){return ty(t,["outerStart","outerEnd","innerStart","innerEnd"])}function CU(t,e,n,i){const s=SU(t.options.borderRadius),r=(n-e)/2,o=Math.min(r,i*e/2),a=l=>{const c=(n-Math.min(r,l))*i/2;return Pn(l,0,Math.min(r,c))};return{outerStart:a(s.outerStart),outerEnd:a(s.outerEnd),innerStart:Pn(s.innerStart,0,o),innerEnd:Pn(s.innerEnd,0,o)}}function $a(t,e,n,i){return{x:n+t*Math.cos(e),y:i+t*Math.sin(e)}}function kh(t,e,n,i,s,r){const{x:o,y:a,startAngle:l,pixelMargin:c,innerRadius:u}=e,d=Math.max(e.outerRadius+i+n-c,0),h=u>0?u+i+n+c:0;let f=0;const p=s-l;if(i){const L=u>0?u-i:0,I=d>0?d-i:0,W=(L+I)/2,X=W!==0?p*W/(W+i):p;f=(p-X)/2}const m=Math.max(.001,p*d-n/Bt)/d,y=(p-m)/2,v=l+y+f,b=s-y-f,{outerStart:E,outerEnd:C,innerStart:w,innerEnd:x}=CU(e,h,d,b-v),T=d-E,k=d-C,A=v+E/T,P=b-C/k,F=h+w,H=h+x,te=v+w/F,N=b-x/H;if(t.beginPath(),r){const L=(A+P)/2;if(t.arc(o,a,d,A,L),t.arc(o,a,d,L,P),C>0){const J=$a(k,P,o,a);t.arc(J.x,J.y,C,P,b+on)}const I=$a(H,b,o,a);if(t.lineTo(I.x,I.y),x>0){const J=$a(H,N,o,a);t.arc(J.x,J.y,x,b+on,N+Math.PI)}const W=(b-x/h+(v+w/h))/2;if(t.arc(o,a,h,b-x/h,W,!0),t.arc(o,a,h,W,v+w/h,!0),w>0){const J=$a(F,te,o,a);t.arc(J.x,J.y,w,te+Math.PI,v-on)}const X=$a(T,v,o,a);if(t.lineTo(X.x,X.y),E>0){const J=$a(T,A,o,a);t.arc(J.x,J.y,E,v-on,A)}}else{t.moveTo(o,a);const L=Math.cos(A)*d+o,I=Math.sin(A)*d+a;t.lineTo(L,I);const W=Math.cos(P)*d+o,X=Math.sin(P)*d+a;t.lineTo(W,X)}t.closePath()}function TU(t,e,n,i,s){const{fullCircles:r,startAngle:o,circumference:a}=e;let l=e.endAngle;if(r){kh(t,e,n,i,l,s);for(let c=0;ce!=="borderDash"};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,n,i){const s=this.getProps(["x","y"],i),{angle:r,distance:o}=wC(s,{x:e,y:n}),{startAngle:a,endAngle:l,innerRadius:c,outerRadius:u,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),h=(this.options.spacing+this.options.borderWidth)/2,p=tt(d,l-a)>=Ft||du(r,a,l),m=rr(o,c+h,u+h);return p&&m}getCenterPoint(e){const{x:n,y:i,startAngle:s,endAngle:r,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:l,spacing:c}=this.options,u=(s+r)/2,d=(o+a+c+l)/2;return{x:n+Math.cos(u)*d,y:i+Math.sin(u)*d}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:n,circumference:i}=this,s=(n.offset||0)/4,r=(n.spacing||0)/2,o=n.circular;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=i>Ft?Math.floor(i/Ft):0,i===0||this.innerRadius<0||this.outerRadius<0)return;e.save();const a=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(a)*s,Math.sin(a)*s);const l=1-Math.sin(Math.min(Bt,i||0)),c=s*l;e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,TU(e,this,c,r,o),kU(e,this,c,r,o),e.restore()}}function iT(t,e,n=e){t.lineCap=tt(n.borderCapStyle,e.borderCapStyle),t.setLineDash(tt(n.borderDash,e.borderDash)),t.lineDashOffset=tt(n.borderDashOffset,e.borderDashOffset),t.lineJoin=tt(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=tt(n.borderWidth,e.borderWidth),t.strokeStyle=tt(n.borderColor,e.borderColor)}function MU(t,e,n){t.lineTo(n.x,n.y)}function IU(t){return t.stepped?GY:t.tension||t.cubicInterpolationMode==="monotone"?XY:MU}function sT(t,e,n={}){const i=t.length,{start:s=0,end:r=i-1}=n,{start:o,end:a}=e,l=Math.max(s,o),c=Math.min(r,a),u=sa&&r>a;return{count:i,start:l,loop:e.loop,ilen:c(o+(c?a-C:C))%r,E=()=>{m!==y&&(t.lineTo(u,y),t.lineTo(u,m),t.lineTo(u,v))};for(l&&(f=s[b(0)],t.moveTo(f.x,f.y)),h=0;h<=a;++h){if(f=s[b(h)],f.skip)continue;const C=f.x,w=f.y,x=C|0;x===p?(wy&&(y=w),u=(d*u+C)/++d):(E(),t.lineTo(C,w),p=x,d=0,m=y=w),v=w}E()}function cm(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?RU:PU}function DU(t){return t.stepped?kj:t.tension||t.cubicInterpolationMode==="monotone"?Aj:Wo}function $U(t,e,n,i){let s=e._path;s||(s=e._path=new Path2D,e.path(s,n,i)&&s.closePath()),iT(t,e.options),t.stroke(s)}function LU(t,e,n,i){const{segments:s,options:r}=e,o=cm(e);for(const a of s)iT(t,r,a.style),t.beginPath(),o(t,e,a,{start:n,end:n+i-1})&&t.closePath(),t.stroke()}const OU=typeof Path2D=="function";function NU(t,e,n,i){OU&&!e.options.segment?$U(t,e,n,i):LU(t,e,n,i)}class kf extends vr{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,n){const i=this.options;if((i.tension||i.cubicInterpolationMode==="monotone")&&!i.stepped&&!this._pointsUpdated){const s=i.spanGaps?this._loop:this._fullLoop;vj(this._points,i,e,s,n),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=$j(this,this.options.segment))}first(){const e=this.segments,n=this.points;return e.length&&n[e[0].start]}last(){const e=this.segments,n=this.points,i=e.length;return i&&n[e[i-1].end]}interpolate(e,n){const i=this.options,s=e[n],r=this.points,o=zC(this,{property:n,start:s,end:s});if(!o.length)return;const a=[],l=DU(i);let c,u;for(c=0,u=o.length;c=n)return t.slice(e,e+n);const o=[],a=(n-2)/(r-2);let l=0;const c=e+n-1;let u=e,d,h,f,p,m;for(o[l++]=t[u],d=0;df&&(f=p,h=t[b],m=b);o[l++]=h,u=m}return o[l++]=t[c],o}function KU(t,e,n,i){let s=0,r=0,o,a,l,c,u,d,h,f,p,m;const y=[],v=e+n-1,b=t[e].x,C=t[v].x-b;for(o=e;om&&(m=c,h=o),s=(r*s+a.x)/++r;else{const x=o-1;if(!gt(d)&&!gt(h)){const T=Math.min(d,h),k=Math.max(d,h);T!==f&&T!==x&&y.push({...t[T],x:s}),k!==f&&k!==x&&y.push({...t[k],x:s})}o>0&&x!==f&&y.push(t[x]),y.push(a),u=w,r=0,p=m=c,d=h=f=o}}return y}function oT(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,writable:!0,value:e})}}function I1(t){t.data.datasets.forEach(e=>{oT(e)})}function UU(t,e){const n=e.length;let i=0,s;const{iScale:r}=t,{min:o,max:a,minDefined:l,maxDefined:c}=r.getUserBounds();return l&&(i=Pn(or(e,r.axis,o).lo,0,n-1)),c?s=Pn(or(e,r.axis,a).hi+1,i,n)-i:s=n-i,{start:i,count:s}}var GU={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,n)=>{if(!n.enabled){I1(t);return}const i=t.width;t.data.datasets.forEach((s,r)=>{const{_data:o,indexAxis:a}=s,l=t.getDatasetMeta(r),c=o||s.data;if(xc([a,t.options.indexAxis])==="y"||!l.controller.supportsDecimation)return;const u=t.scales[l.xAxisID];if(u.type!=="linear"&&u.type!=="time"||t.options.parsing)return;let{start:d,count:h}=UU(l,c);const f=n.threshold||4*i;if(h<=f){oT(s);return}gt(o)&&(s._data=c,delete s.data,Object.defineProperty(s,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(m){this._data=m}}));let p;switch(n.algorithm){case"lttb":p=jU(c,d,h,i,n);break;case"min-max":p=KU(c,d,h,i);break;default:throw new Error(`Unsupported decimation algorithm '${n.algorithm}'`)}s._decimated=p})},destroy(t){I1(t)}};function XU(t,e,n){const i=t.segments,s=t.points,r=e.points,o=[];for(const a of i){let{start:l,end:c}=a;c=ly(l,c,s);const u=um(n,s[l],s[c],a.loop);if(!e.segments){o.push({source:a,target:u,start:s[l],end:s[c]});continue}const d=zC(e,u);for(const h of d){const f=um(n,r[h.start],r[h.end],h.loop),p=VC(a,s,f);for(const m of p)o.push({source:m,target:h,start:{[n]:P1(u,f,"start",Math.max)},end:{[n]:P1(u,f,"end",Math.min)}})}}return o}function um(t,e,n,i){if(i)return;let s=e[t],r=n[t];return t==="angle"&&(s=Si(s),r=Si(r)),{property:t,start:s,end:r}}function qU(t,e){const{x:n=null,y:i=null}=t||{},s=e.points,r=[];return e.segments.forEach(({start:o,end:a})=>{a=ly(o,a,s);const l=s[o],c=s[a];i!==null?(r.push({x:l.x,y:i}),r.push({x:c.x,y:i})):n!==null&&(r.push({x:n,y:l.y}),r.push({x:n,y:c.y}))}),r}function ly(t,e,n){for(;e>t;e--){const i=n[e];if(!isNaN(i.x)&&!isNaN(i.y))break}return e}function P1(t,e,n,i){return t&&e?i(t[n],e[n]):t?t[n]:e?e[n]:0}function aT(t,e){let n=[],i=!1;return Nt(t)?(i=!0,n=t):n=qU(t,e),n.length?new kf({points:n,options:{tension:0},_loop:i,_fullLoop:i}):null}function R1(t){return t&&t.fill!==!1}function ZU(t,e,n){let s=t[e].fill;const r=[e];let o;if(!n)return s;for(;s!==!1&&r.indexOf(s)===-1;){if(!qt(s))return s;if(o=t[s],!o)return!1;if(o.visible)return s;r.push(s),s=o.fill}return!1}function JU(t,e,n){const i=nG(t);if(ut(i))return isNaN(i.value)?!1:i;let s=parseFloat(i);return qt(s)&&Math.floor(s)===s?QU(i[0],e,s,n):["origin","start","end","stack","shape"].indexOf(i)>=0&&i}function QU(t,e,n,i){return(t==="-"||t==="+")&&(n=e+n),n===e||n<0||n>=i?!1:n}function eG(t,e){let n=null;return t==="start"?n=e.bottom:t==="end"?n=e.top:ut(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}function tG(t,e,n){let i;return t==="start"?i=n:t==="end"?i=e.options.reverse?e.min:e.max:ut(t)?i=t.value:i=e.getBaseValue(),i}function nG(t){const e=t.options,n=e.fill;let i=tt(n&&n.target,n);return i===void 0&&(i=!!e.backgroundColor),i===!1||i===null?!1:i===!0?"origin":i}function iG(t){const{scale:e,index:n,line:i}=t,s=[],r=i.segments,o=i.points,a=sG(e,n);a.push(aT({x:null,y:e.bottom},i));for(let l=0;l=0;--o){const a=s[o].$filler;a&&(a.line.updateControlPoints(r,a.axis),i&&a.fill&&tp(t.ctx,a,r))}},beforeDatasetsDraw(t,e,n){if(n.drawTime!=="beforeDatasetsDraw")return;const i=t.getSortedVisibleDatasetMetas();for(let s=i.length-1;s>=0;--s){const r=i[s].$filler;R1(r)&&tp(t.ctx,r,t.chartArea)}},beforeDatasetDraw(t,e,n){const i=e.meta.$filler;!R1(i)||n.drawTime!=="beforeDatasetDraw"||tp(t.ctx,i,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const O1=(t,e)=>{let{boxHeight:n=e,boxWidth:i=e}=t;return t.usePointStyle&&(n=Math.min(n,e),i=t.pointStyleWidth||Math.min(i,e)),{boxWidth:i,boxHeight:n,itemHeight:Math.max(e,n)}},pG=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class N1 extends vr{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n,i){this.maxWidth=e,this.maxHeight=n,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let n=Pt(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter(i=>e.filter(i,this.chart.data))),e.sort&&(n=n.sort((i,s)=>e.sort(i,s,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:e,ctx:n}=this;if(!e.display){this.width=this.height=0;return}const i=e.labels,s=vn(i.font),r=s.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=O1(i,r);let c,u;n.font=s.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(o,r,a,l)+10):(u=this.maxHeight,c=this._fitCols(o,s,a,l)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(u,e.maxHeight||this.maxHeight)}_fitRows(e,n,i,s){const{ctx:r,maxWidth:o,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],u=s+a;let d=e;r.textAlign="left",r.textBaseline="middle";let h=-1,f=-u;return this.legendItems.forEach((p,m)=>{const y=i+n/2+r.measureText(p.text).width;(m===0||c[c.length-1]+y+2*a>o)&&(d+=u,c[c.length-(m>0?0:1)]=0,f+=u,h++),l[m]={left:0,top:f,row:h,width:y,height:s},c[c.length-1]+=y+a}),d}_fitCols(e,n,i,s){const{ctx:r,maxHeight:o,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],u=o-e;let d=a,h=0,f=0,p=0,m=0;return this.legendItems.forEach((y,v)=>{const{itemWidth:b,itemHeight:E}=mG(i,n,r,y,s);v>0&&f+E+2*a>u&&(d+=h+a,c.push({width:h,height:f}),p+=h+a,m++,h=f=0),l[v]={left:p,top:f,col:m,width:b,height:E},h=Math.max(h,b),f+=E+a}),d+=h,c.push({width:h,height:f}),d}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:i,labels:{padding:s},rtl:r}}=this,o=ol(r,this.left,this.width);if(this.isHorizontal()){let a=0,l=Bn(i,this.left+s,this.right-this.lineWidths[a]);for(const c of n)a!==c.row&&(a=c.row,l=Bn(i,this.left+s,this.right-this.lineWidths[a])),c.top+=this.top+e+s,c.left=o.leftForLtr(o.x(l),c.width),l+=c.width+s}else{let a=0,l=Bn(i,this.top+e+s,this.bottom-this.columnSizes[a].height);for(const c of n)c.col!==a&&(a=c.col,l=Bn(i,this.top+e+s,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+s,c.left=o.leftForLtr(o.x(c.left),c.width),l+=c.height+s}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;Ef(e,this),this._draw(),Sf(e)}}_draw(){const{options:e,columnSizes:n,lineWidths:i,ctx:s}=this,{align:r,labels:o}=e,a=Zt.color,l=ol(e.rtl,this.left,this.width),c=vn(o.font),{padding:u}=o,d=c.size,h=d/2;let f;this.drawTitle(),s.textAlign=l.textAlign("left"),s.textBaseline="middle",s.lineWidth=.5,s.font=c.string;const{boxWidth:p,boxHeight:m,itemHeight:y}=O1(o,d),v=function(x,T,k){if(isNaN(p)||p<=0||isNaN(m)||m<0)return;s.save();const A=tt(k.lineWidth,1);if(s.fillStyle=tt(k.fillStyle,a),s.lineCap=tt(k.lineCap,"butt"),s.lineDashOffset=tt(k.lineDashOffset,0),s.lineJoin=tt(k.lineJoin,"miter"),s.lineWidth=A,s.strokeStyle=tt(k.strokeStyle,a),s.setLineDash(tt(k.lineDash,[])),o.usePointStyle){const P={radius:m*Math.SQRT2/2,pointStyle:k.pointStyle,rotation:k.rotation,borderWidth:A},F=l.xPlus(x,p/2),H=T+h;MC(s,P,F,H,o.pointStyleWidth&&p)}else{const P=T+Math.max((d-m)/2,0),F=l.leftForLtr(x,p),H=ia(k.borderRadius);s.beginPath(),Object.values(H).some(te=>te!==0)?hu(s,{x:F,y:P,w:p,h:m,radius:H}):s.rect(F,P,p,m),s.fill(),A!==0&&s.stroke()}s.restore()},b=function(x,T,k){ua(s,k.text,x,T+y/2,c,{strikethrough:k.hidden,textAlign:l.textAlign(k.textAlign)})},E=this.isHorizontal(),C=this._computeTitleHeight();E?f={x:Bn(r,this.left+u,this.right-i[0]),y:this.top+u+C,line:0}:f={x:this.left+u,y:Bn(r,this.top+C+u,this.bottom-n[0].height),line:0},NC(this.ctx,e.textDirection);const w=y+u;this.legendItems.forEach((x,T)=>{s.strokeStyle=x.fontColor,s.fillStyle=x.fontColor;const k=s.measureText(x.text).width,A=l.textAlign(x.textAlign||(x.textAlign=o.textAlign)),P=p+h+k;let F=f.x,H=f.y;l.setWidth(this.width),E?T>0&&F+P+u>this.right&&(H=f.y+=w,f.line++,F=f.x=Bn(r,this.left+u,this.right-i[f.line])):T>0&&H+w>this.bottom&&(F=f.x=F+n[f.line].width+u,f.line++,H=f.y=Bn(r,this.top+C+u,this.bottom-n[f.line].height));const te=l.x(F);if(v(te,H,x),F=NY(A,F+p+h,E?F+P:this.right,e.rtl),b(l.x(F),H,x),E)f.x+=P+u;else if(typeof x.text!="string"){const N=c.lineHeight;f.y+=cT(x,N)+u}else f.y+=w}),FC(this.ctx,e.textDirection)}drawTitle(){const e=this.options,n=e.title,i=vn(n.font),s=Kn(n.padding);if(!n.display)return;const r=ol(e.rtl,this.left,this.width),o=this.ctx,a=n.position,l=i.size/2,c=s.top+l;let u,d=this.left,h=this.width;if(this.isHorizontal())h=Math.max(...this.lineWidths),u=this.top+c,d=Bn(e.align,d,this.right-h);else{const p=this.columnSizes.reduce((m,y)=>Math.max(m,y.height),0);u=c+Bn(e.align,this.top,this.bottom-p-e.labels.padding-this._computeTitleHeight())}const f=Bn(a,d,d+h);o.textAlign=r.textAlign(Q_(a)),o.textBaseline="middle",o.strokeStyle=n.color,o.fillStyle=n.color,o.font=i.string,ua(o,n.text,f,u,i)}_computeTitleHeight(){const e=this.options.title,n=vn(e.font),i=Kn(e.padding);return e.display?n.lineHeight+i.height:0}_getLegendItemAt(e,n){let i,s,r;if(rr(e,this.left,this.right)&&rr(n,this.top,this.bottom)){for(r=this.legendHitBoxes,i=0;ir.length>o.length?r:o)),e+n.size/2+i.measureText(s).width}function yG(t,e,n){let i=t;return typeof e.text!="string"&&(i=cT(e,n)),i}function cT(t,e){const n=t.text?t.text.length:0;return e*n}function vG(t,e){return!!((t==="mousemove"||t==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(t==="click"||t==="mouseup"))}var bG={id:"legend",_element:N1,start(t,e,n){const i=t.legend=new N1({ctx:t.ctx,options:n,chart:t});Wi.configure(t,i,n),Wi.addBox(t,i)},stop(t){Wi.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const i=t.legend;Wi.configure(t,i,n),i.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const i=e.datasetIndex,s=n.chart;s.isDatasetVisible(i)?(s.hide(i),e.hidden=!0):(s.show(i),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:i,textAlign:s,color:r,useBorderRadius:o,borderRadius:a}}=t.legend.options;return t._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(n?0:void 0),u=Kn(c.borderWidth);return{text:e[l.index].label,fillStyle:c.backgroundColor,fontColor:r,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:c.borderColor,pointStyle:i||c.pointStyle,rotation:c.rotation,textAlign:s||c.textAlign,borderRadius:o&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class uT extends vr{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n){const i=this.options;if(this.left=0,this.top=0,!i.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=n;const s=Nt(i.text)?i.text.length:1;this._padding=Kn(i.padding);const r=s*vn(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=r:this.width=r}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:n,left:i,bottom:s,right:r,options:o}=this,a=o.align;let l=0,c,u,d;return this.isHorizontal()?(u=Bn(a,i,r),d=n+e,c=r-i):(o.position==="left"?(u=i+e,d=Bn(a,s,n),l=Bt*-.5):(u=r-e,d=Bn(a,n,s),l=Bt*.5),c=s-n),{titleX:u,titleY:d,maxWidth:c,rotation:l}}draw(){const e=this.ctx,n=this.options;if(!n.display)return;const i=vn(n.font),r=i.lineHeight/2+this._padding.top,{titleX:o,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(r);ua(e,n.text,0,0,i,{color:n.color,maxWidth:l,rotation:c,textAlign:Q_(n.align),textBaseline:"middle",translation:[o,a]})}}function wG(t,e){const n=new uT({ctx:t.ctx,options:e,chart:t});Wi.configure(t,n,e),Wi.addBox(t,n),t.titleBlock=n}var xG={id:"title",_element:uT,start(t,e,n){wG(t,n)},stop(t){const e=t.titleBlock;Wi.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const i=t.titleBlock;Wi.configure(t,i,n),i.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Sc={average(t){if(!t.length)return!1;let e,n,i=0,s=0,r=0;for(e=0,n=t.length;e-1?t.split(` -`):t}function gH(t,e){const{element:n,datasetIndex:s,index:i}=e,o=t.getDatasetMeta(s).controller,{label:r,value:a}=o.getLabelAndValue(i);return{chart:t,label:r,parsed:o.getParsed(i),raw:t.data.datasets[s].data[i],formattedValue:a,dataset:o.getDataset(),dataIndex:i,datasetIndex:s,element:n}}function E_(t,e){const n=t.chart.ctx,{body:s,footer:i,title:o}=t,{boxWidth:r,boxHeight:a}=e,l=Yt(e.bodyFont),c=Yt(e.titleFont),u=Yt(e.footerFont),d=o.length,f=i.length,g=s.length,_=hn(e.padding);let m=_.height,b=0,w=s.reduce((D,x)=>D+x.before.length+x.lines.length+x.after.length,0);if(w+=t.beforeBody.length+t.afterBody.length,d&&(m+=d*c.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),w){const D=e.displayColors?Math.max(a,l.lineHeight):l.lineHeight;m+=g*D+(w-g)*l.lineHeight+(w-1)*e.bodySpacing}f&&(m+=e.footerMarginTop+f*u.lineHeight+(f-1)*e.footerSpacing);let $=0;const A=function(D){b=Math.max(b,n.measureText(D).width+$)};return n.save(),n.font=c.string,ct(t.title,A),n.font=l.string,ct(t.beforeBody.concat(t.afterBody),A),$=e.displayColors?r+2+e.boxPadding:0,ct(s,D=>{ct(D.before,A),ct(D.lines,A),ct(D.after,A)}),$=0,n.font=u.string,ct(t.footer,A),n.restore(),b+=_.width,{width:b,height:m}}function mH(t,e){const{y:n,height:s}=e;return nt.height-s/2?"bottom":"center"}function _H(t,e,n,s){const{x:i,width:o}=s,r=n.caretSize+n.caretPadding;if(t==="left"&&i+o+r>e.width||t==="right"&&i-o-r<0)return!0}function vH(t,e,n,s){const{x:i,width:o}=n,{width:r,chartArea:{left:a,right:l}}=t;let c="center";return s==="center"?c=i<=(a+l)/2?"left":"right":i<=o/2?c="left":i>=r-o/2&&(c="right"),_H(c,t,e,n)&&(c="center"),c}function P_(t,e,n){const s=n.yAlign||e.yAlign||mH(t,n);return{xAlign:n.xAlign||e.xAlign||vH(t,e,n,s),yAlign:s}}function bH(t,e){let{x:n,width:s}=t;return e==="right"?n-=s:e==="center"&&(n-=s/2),n}function yH(t,e,n){let{y:s,height:i}=t;return e==="top"?s+=n:e==="bottom"?s-=i+n:s-=i/2,s}function T_(t,e,n,s){const{caretSize:i,caretPadding:o,cornerRadius:r}=t,{xAlign:a,yAlign:l}=n,c=i+o,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:g}=xo(r);let _=bH(e,a);const m=yH(e,l,c);return l==="center"?a==="left"?_+=c:a==="right"&&(_-=c):a==="left"?_-=Math.max(u,f)+i:a==="right"&&(_+=Math.max(d,g)+i),{x:Zt(_,0,s.width-e.width),y:Zt(m,0,s.height-e.height)}}function Wl(t,e,n){const s=hn(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-s.right:t.x+s.left}function M_(t){return ms([],Vs(t))}function wH(t,e,n){return Wi(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function D_(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const e1={beforeTitle:Ns,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,s=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(s>0&&e.dataIndex"u"?e1[e].call(n,s):i}class O_ extends si{static positioners=aa;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,s=this.options.setContext(this.getContext()),i=s.enabled&&n.options.animation&&s.animations,o=new M0(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=wH(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:s}=n,i=Sn(s,"beforeTitle",this,e),o=Sn(s,"title",this,e),r=Sn(s,"afterTitle",this,e);let a=[];return a=ms(a,Vs(i)),a=ms(a,Vs(o)),a=ms(a,Vs(r)),a}getBeforeBody(e,n){return M_(Sn(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:s}=n,i=[];return ct(e,o=>{const r={before:[],lines:[],after:[]},a=D_(s,o);ms(r.before,Vs(Sn(a,"beforeLabel",this,o))),ms(r.lines,Sn(a,"label",this,o)),ms(r.after,Vs(Sn(a,"afterLabel",this,o))),i.push(r)}),i}getAfterBody(e,n){return M_(Sn(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:s}=n,i=Sn(s,"beforeFooter",this,e),o=Sn(s,"footer",this,e),r=Sn(s,"afterFooter",this,e);let a=[];return a=ms(a,Vs(i)),a=ms(a,Vs(o)),a=ms(a,Vs(r)),a}_createItems(e){const n=this._active,s=this.chart.data,i=[],o=[],r=[];let a=[],l,c;for(l=0,c=n.length;le.filter(u,d,f,s))),e.itemSort&&(a=a.sort((u,d)=>e.itemSort(u,d,s))),ct(a,u=>{const d=D_(e.callbacks,u);i.push(Sn(d,"labelColor",this,u)),o.push(Sn(d,"labelPointStyle",this,u)),r.push(Sn(d,"labelTextColor",this,u))}),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=r,this.dataPoints=a,a}update(e,n){const s=this.options.setContext(this.getContext()),i=this._active;let o,r=[];if(!i.length)this.opacity!==0&&(o={opacity:0});else{const a=aa[s.position].call(this,i,this._eventPosition);r=this._createItems(s),this.title=this.getTitle(r,s),this.beforeBody=this.getBeforeBody(r,s),this.body=this.getBody(r,s),this.afterBody=this.getAfterBody(r,s),this.footer=this.getFooter(r,s);const l=this._size=E_(this,s),c=Object.assign({},a,l),u=P_(this.chart,s,c),d=T_(s,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,o={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=r,this.$context=void 0,o&&this._resolveAnimations().update(this,o),e&&s.external&&s.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,s,i){const o=this.getCaretPosition(e,s,i);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)}getCaretPosition(e,n,s){const{xAlign:i,yAlign:o}=this,{caretSize:r,cornerRadius:a}=s,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:d}=xo(a),{x:f,y:g}=e,{width:_,height:m}=n;let b,w,$,A,D,x;return o==="center"?(D=g+m/2,i==="left"?(b=f,w=b-r,A=D+r,x=D-r):(b=f+_,w=b+r,A=D-r,x=D+r),$=b):(i==="left"?w=f+Math.max(l,u)+r:i==="right"?w=f+_-Math.max(c,d)-r:w=this.caretX,o==="top"?(A=g,D=A-r,b=w-r,$=w+r):(A=g+m,D=A+r,b=w+r,$=w-r),x=A),{x1:b,x2:w,x3:$,y1:A,y2:D,y3:x}}drawTitle(e,n,s){const i=this.title,o=i.length;let r,a,l;if(o){const c=ar(s.rtl,this.x,this.width);for(e.x=Wl(this,s.titleAlign,s),n.textAlign=c.textAlign(s.titleAlign),n.textBaseline="middle",r=Yt(s.titleFont),a=s.titleSpacing,n.fillStyle=s.titleColor,n.font=r.string,l=0;l$!==0)?(e.beginPath(),e.fillStyle=o.multiKeyBackground,ja(e,{x:m,y:_,w:c,h:l,radius:w}),e.fill(),e.stroke(),e.fillStyle=r.backgroundColor,e.beginPath(),ja(e,{x:b,y:_+1,w:c-2,h:l-2,radius:w}),e.fill()):(e.fillStyle=o.multiKeyBackground,e.fillRect(m,_,c,l),e.strokeRect(m,_,c,l),e.fillStyle=r.backgroundColor,e.fillRect(b,_+1,c-2,l-2))}e.fillStyle=this.labelTextColors[s]}drawBody(e,n,s){const{body:i}=this,{bodySpacing:o,bodyAlign:r,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=s,d=Yt(s.bodyFont);let f=d.lineHeight,g=0;const _=ar(s.rtl,this.x,this.width),m=function(E){n.fillText(E,_.x(e.x+g),e.y+f/2),e.y+=f+o},b=_.textAlign(r);let w,$,A,D,x,y,S;for(n.textAlign=r,n.textBaseline="middle",n.font=d.string,e.x=Wl(this,b,s),n.fillStyle=s.bodyColor,ct(this.beforeBody,m),g=a&&b!=="right"?r==="center"?c/2+u:c+2+u:0,D=0,y=i.length;D0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,s=this.$animations,i=s&&s.x,o=s&&s.y;if(i||o){const r=aa[e.position].call(this,this._active,this._eventPosition);if(!r)return;const a=this._size=E_(this,e),l=Object.assign({},r,this._size),c=P_(n,e,l),u=T_(e,l,c,n);(i._to!==u.x||o._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=r.x,this.caretY=r.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let s=this.opacity;if(!s)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};s=Math.abs(s)<.001?0:s;const r=hn(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(e.save(),e.globalAlpha=s,this.drawBackground(o,e,i,n),A0(e,n.textDirection),o.y+=r.top,this.drawTitle(o,e,n),this.drawBody(o,e,n),this.drawFooter(o,e,n),C0(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const s=this._active,i=e.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),o=!bc(s,i),r=this._positionChanged(i,n);(o||r)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,s=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],r=this._getActiveElements(e,o,n,s),a=this._positionChanged(r,e),l=n||!bc(r,o)||a;return l&&(this._active=r,(i.enabled||i.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),l}_getActiveElements(e,n,s,i){const o=this.options;if(e.type==="mouseout")return[];if(!i)return n.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const r=this.chart.getElementsAtEventForMode(e,o.mode,o,s);return o.reverse&&r.reverse(),r}_positionChanged(e,n){const{caretX:s,caretY:i,options:o}=this,r=aa[o.position].call(this,e,n);return r!==!1&&(s!==r.x||i!==r.y)}}var xH={id:"tooltip",_element:O_,positioners:aa,afterInit(t,e,n){n&&(t.tooltip=new O_({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:e1},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>t!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const kH=(t,e,n,s)=>(typeof e=="string"?(n=t.push(e)-1,s.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function SH(t,e,n,s){const i=t.indexOf(e);if(i===-1)return kH(t,e,n,s);const o=t.lastIndexOf(e);return i!==o?n:i}const $H=(t,e)=>t===null?null:Zt(Math.round(t),0,e);function I_(t){const e=this.getLabels();return t>=0&&tn.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function CH(t,e){const n=[],{bounds:i,step:o,min:r,max:a,precision:l,count:c,maxTicks:u,maxDigits:d,includeBounds:f}=t,g=o||1,_=u-1,{min:m,max:b}=e,w=!it(r),$=!it(a),A=!it(c),D=(b-m)/(d+1);let x=Pm((b-m)/_/g)*g,y,S,E,T;if(x<1e-14&&!w&&!$)return[{value:m},{value:b}];T=Math.ceil(b/x)-Math.floor(m/x),T>_&&(x=Pm(T*x/_/g)*g),it(l)||(y=Math.pow(10,l),x=Math.ceil(x*y)/y),i==="ticks"?(S=Math.floor(m/x)*x,E=Math.ceil(b/x)*x):(S=m,E=b),w&&$&&o&&xB((a-r)/o,x/1e3)?(T=Math.round(Math.min((a-r)/x,u)),x=(a-r)/T,S=r,E=a):A?(S=w?r:S,E=$?a:E,T=c-1,x=(E-S)/T):(T=(E-S)/x,wa(T,Math.round(T),x/1e3)?T=Math.round(T):T=Math.ceil(T));const C=Math.max(Tm(x),Tm(S));y=Math.pow(10,it(l)?C:l),S=Math.round(S*y)/y,E=Math.round(E*y)/y;let B=0;for(w&&(f&&S!==r?(n.push({value:r}),Sa)break;n.push({value:J})}return $&&f&&E!==a?n.length&&wa(n[n.length-1].value,a,R_(a,D,t))?n[n.length-1].value=a:n.push({value:a}):(!$||E===a)&&n.push({value:E}),n}function R_(t,e,{horizontal:n,minRotation:s}){const i=rs(s),o=(n?Math.sin(i):Math.cos(i))||.001,r=.75*e*(""+t).length;return Math.min(e/o,r)}class Ac extends Ro{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,n){return it(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:n,maxDefined:s}=this.getUserBounds();let{min:i,max:o}=this;const r=l=>i=n?i:l,a=l=>o=s?o:l;if(e){const l=As(i),c=As(o);l<0&&c<0?a(0):l>0&&c>0&&r(0)}if(i===o){let l=o===0?1:Math.abs(o*.05);a(o+l),e||r(i-l)}this.min=i,this.max=o}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:s}=e,i;return s?(i=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),n=n||11),n&&(i=Math.min(n,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let s=this.getTickLimit();s=Math.max(2,s);const i={maxTicks:s,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},o=this._range||this,r=CH(i,o);return e.bounds==="ticks"&&c0(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const e=this.ticks;let n=this.min,s=this.max;if(super.configure(),this.options.offset&&e.length){const i=(s-n)/Math.max(e.length-1,1)/2;n-=i,s+=i}this._startValue=n,this._endValue=s,this._valueRange=s-n}getLabelForValue(e){return nl(e,this.chart.options.locale,this.options.ticks.format)}}class EH extends Ac{static id="linear";static defaults={ticks:{callback:nu.formatters.numeric}};determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Ct(e)?e:0,this.max=Ct(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,s=rs(this.options.ticks.minRotation),i=(e?Math.sin(s):Math.cos(s))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,o.lineHeight/i))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}const za=t=>Math.floor(xi(t)),ao=(t,e)=>Math.pow(10,za(t)+e);function L_(t){return t/Math.pow(10,za(t))===1}function N_(t,e,n){const s=Math.pow(10,n),i=Math.floor(t/s);return Math.ceil(e/s)-i}function PH(t,e){const n=e-t;let s=za(n);for(;N_(t,e,s)>10;)s++;for(;N_(t,e,s)<10;)s--;return Math.min(s,za(t))}function TH(t,{min:e,max:n}){e=Mn(t.min,e);const s=[],i=za(e);let o=PH(e,n),r=o<0?Math.pow(10,Math.abs(o)):1;const a=Math.pow(10,o),l=i>o?Math.pow(10,i):0,c=Math.round((e-l)*r)/r,u=Math.floor((e-l)/a/10)*a*10;let d=Math.floor((c-u)/Math.pow(10,o)),f=Mn(t.min,Math.round((l+u+d*Math.pow(10,o))*r)/r);for(;f=10?d=d<15?15:20:d++,d>=20&&(o++,d=2,r=o>=0?1:r),f=Math.round((l+u+d*Math.pow(10,o))*r)/r;const g=Mn(t.max,f);return s.push({value:g,major:L_(g),significand:d}),s}class MH extends Ro{static id="logarithmic";static defaults={ticks:{callback:nu.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,n){const s=Ac.prototype.parse.apply(this,[e,n]);if(s===0){this._zero=!0;return}return Ct(s)&&s>0?s:null}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Ct(e)?Math.max(0,e):null,this.max=Ct(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Ct(this._userMin)&&(this.min=e===ao(this.min,0)?ao(this.min,-1):ao(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let s=this.min,i=this.max;const o=a=>s=e?s:a,r=a=>i=n?i:a;s===i&&(s<=0?(o(1),r(10)):(o(ao(s,-1)),r(ao(i,1)))),s<=0&&o(ao(i,-1)),i<=0&&r(ao(s,1)),this.min=s,this.max=i}buildTicks(){const e=this.options,n={min:this._userMin,max:this._userMax},s=TH(n,this);return e.bounds==="ticks"&&c0(s,this,"value"),e.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}getLabelForValue(e){return e===void 0?"0":nl(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=xi(e),this._valueRange=xi(this.max)-xi(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(xi(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const n=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+n*this._valueRange)}}function th(t){const e=t.ticks;if(e.display&&t.display){const n=hn(e.backdropPadding);return qe(e.font&&e.font.size,Et.font.size)+n.height}return 0}function DH(t,e,n){return n=vt(n)?n:[n],{w:BB(t,e.string,n),h:n.length*e.lineHeight}}function F_(t,e,n,s,i){return t===s||t===i?{start:e-n/2,end:e+n/2}:ti?{start:e-n,end:e}:{start:e,end:e+n}}function OH(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},n=Object.assign({},e),s=[],i=[],o=t._pointLabels.length,r=t.options.pointLabels,a=r.centerPointLabels?yt/o:0;for(let l=0;le.r&&(a=(s.end-e.r)/o,t.r=Math.max(t.r,e.r+a)),i.starte.b&&(l=(i.end-e.b)/r,t.b=Math.max(t.b,e.b+l))}function RH(t,e,n){const s=t.drawingArea,{extra:i,additionalAngle:o,padding:r,size:a}=n,l=t.getPointPosition(e,s+i+r,o),c=Math.round(Cf(On(l.angle+Rt))),u=VH(l.y,a.h,c),d=FH(c),f=BH(l.x,a.w,d);return{visible:!0,x:l.x,y:u,textAlign:d,left:f,top:u,right:f+a.w,bottom:u+a.h}}function LH(t,e){if(!e)return!0;const{left:n,top:s,right:i,bottom:o}=t;return!(qs({x:n,y:s},e)||qs({x:n,y:o},e)||qs({x:i,y:s},e)||qs({x:i,y:o},e))}function NH(t,e,n){const s=[],i=t._pointLabels.length,o=t.options,{centerPointLabels:r,display:a}=o.pointLabels,l={extra:th(o)/2,additionalAngle:r?yt/i:0};let c;for(let u=0;u270||n<90)&&(t-=e),t}function HH(t,e,n){const{left:s,top:i,right:o,bottom:r}=n,{backdropColor:a}=e;if(!it(a)){const l=xo(e.borderRadius),c=hn(e.backdropPadding);t.fillStyle=a;const u=s-c.left,d=i-c.top,f=o-s+c.width,g=r-i+c.height;Object.values(l).some(_=>_!==0)?(t.beginPath(),ja(t,{x:u,y:d,w:f,h:g,radius:l}),t.fill()):t.fillRect(u,d,f,g)}}function jH(t,e){const{ctx:n,options:{pointLabels:s}}=t;for(let i=e-1;i>=0;i--){const o=t._pointLabelItems[i];if(!o.visible)continue;const r=s.setContext(t.getPointLabelContext(i));HH(n,r,o);const a=Yt(r.font),{x:l,y:c,textAlign:u}=o;Po(n,t._pointLabels[i],l,c+a.lineHeight/2,a,{color:r.color,textAlign:u,textBaseline:"middle"})}}function t1(t,e,n,s){const{ctx:i}=t;if(n)i.arc(t.xCenter,t.yCenter,e,0,bt);else{let o=t.getPointPosition(0,e);i.moveTo(o.x,o.y);for(let r=1;r{const i=ft(this.options.pointLabels.callback,[n,s],this);return i||i===0?i:""}).filter((n,s)=>this.chart.getDataVisibility(s))}fit(){const e=this.options;e.display&&e.pointLabels.display?OH(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,n,s,i){this.xCenter+=Math.floor((e-n)/2),this.yCenter+=Math.floor((s-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,n,s,i))}getIndexAngle(e){const n=bt/(this._pointLabels.length||1),s=this.options.startAngle||0;return On(e*n+rs(s))}getDistanceFromCenterForValue(e){if(it(e))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*n:(e-this.min)*n}getValueForDistanceFromCenter(e){if(it(e))return NaN;const n=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(e){const n=this._pointLabels||[];if(e>=0&&e{if(d!==0){l=this.getDistanceFromCenterForValue(u.value);const f=this.getContext(d),g=i.setContext(f),_=o.setContext(f);WH(this,g,l,r,_)}}),s.display){for(e.save(),a=r-1;a>=0;a--){const u=s.setContext(this.getPointLabelContext(a)),{color:d,lineWidth:f}=u;!f||!d||(e.lineWidth=f,e.strokeStyle=d,e.setLineDash(u.borderDash),e.lineDashOffset=u.borderDashOffset,l=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),c=this.getPointPosition(a,l),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,n=this.options,s=n.ticks;if(!s.display)return;const i=this.getIndexAngle(0);let o,r;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(i),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&!n.reverse)return;const c=s.setContext(this.getContext(l)),u=Yt(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){e.font=u.string,r=e.measureText(a.label).width,e.fillStyle=c.backdropColor;const d=hn(c.backdropPadding);e.fillRect(-r/2-d.left,-o-u.size/2-d.top,r+d.width,u.size+d.height)}Po(e,a.label,0,-o,u,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),e.restore()}drawTitle(){}}const lu={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},An=Object.keys(lu);function B_(t,e){return t-e}function V_(t,e){if(it(e))return null;const n=t._adapter,{parser:s,round:i,isoWeekday:o}=t._parseOpts;let r=e;return typeof s=="function"&&(r=s(r)),Ct(r)||(r=typeof s=="string"?n.parse(r,s):n.parse(r)),r===null?null:(i&&(r=i==="week"&&($r(o)||o===!0)?n.startOf(r,"isoWeek",o):n.startOf(r,i)),+r)}function H_(t,e,n,s){const i=An.length;for(let o=An.indexOf(t);o=An.indexOf(n);o--){const r=An[o];if(lu[r].common&&t._adapter.diff(i,s,r)>=e-1)return r}return An[n?An.indexOf(n):0]}function KH(t){for(let e=An.indexOf(t)+1,n=An.length;e=e?n[s]:n[i];t[o]=!0}}function qH(t,e,n,s){const i=t._adapter,o=+i.startOf(e[0].value,s),r=e[e.length-1].value;let a,l;for(a=o;a<=r;a=+i.add(a,1,s))l=n[a],l>=0&&(e[l].major=!0);return e}function W_(t,e,n){const s=[],i={},o=e.length;let r,a;for(r=0;r+e.value))}initOffsets(e=[]){let n=0,s=0,i,o;this.options.offset&&e.length&&(i=this.getDecimalForValue(e[0]),e.length===1?n=1-i:n=(this.getDecimalForValue(e[1])-i)/2,o=this.getDecimalForValue(e[e.length-1]),e.length===1?s=o:s=(o-this.getDecimalForValue(e[e.length-2]))/2);const r=e.length<3?.5:.25;n=Zt(n,0,r),s=Zt(s,0,r),this._offsets={start:n,end:s,factor:1/(n+1+s)}}_generate(){const e=this._adapter,n=this.min,s=this.max,i=this.options,o=i.time,r=o.unit||H_(o.minUnit,n,s,this._getLabelCapacity(n)),a=qe(i.ticks.stepSize,1),l=r==="week"?o.isoWeekday:!1,c=$r(l)||l===!0,u={};let d=n,f,g;if(c&&(d=+e.startOf(d,"isoWeek",l)),d=+e.startOf(d,c?"day":r),e.diff(s,n,r)>1e5*a)throw new Error(n+" and "+s+" are too far apart with stepSize of "+a+" "+r);const _=i.ticks.source==="data"&&this.getDataTimestamps();for(f=d,g=0;f+m)}getLabelForValue(e){const n=this._adapter,s=this.options.time;return s.tooltipFormat?n.format(e,s.tooltipFormat):n.format(e,s.displayFormats.datetime)}format(e,n){const i=this.options.time.displayFormats,o=this._unit,r=n||i[o];return this._adapter.format(e,r)}_tickFormatFunction(e,n,s,i){const o=this.options,r=o.ticks.callback;if(r)return ft(r,[e,n,s],this);const a=o.time.displayFormats,l=this._unit,c=this._majorUnit,u=l&&a[l],d=c&&a[c],f=s[n],g=c&&d&&f&&f.major;return this._adapter.format(e,i||(g?d:u))}generateTickLabels(e){let n,s,i;for(n=0,s=e.length;n0?a:1}getDataTimestamps(){let e=this._cache.data||[],n,s;if(e.length)return e;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(n=0,s=i.length;n=t[s].pos&&e<=t[i].pos&&({lo:s,hi:i}=Ks(t,"pos",e)),{pos:o,time:a}=t[s],{pos:r,time:l}=t[i]):(e>=t[s].time&&e<=t[i].time&&({lo:s,hi:i}=Ks(t,"time",e)),{time:o,pos:a}=t[s],{time:r,pos:l}=t[i]);const c=r-o;return c?a+(l-a)*(e-o)/c:a}class GH extends nh{static id="timeseries";static defaults=nh.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=zl(n,this.min),this._tableRange=zl(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:s}=this,i=[],o=[];let r,a,l,c,u;for(r=0,a=e.length;r=n&&c<=s&&i.push(c);if(i.length<2)return[{time:n,pos:0},{time:s,pos:1}];for(r=0,a=i.length;ri-o)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const n=this.getDataTimestamps(),s=this.getLabelTimestamps();return n.length&&s.length?e=this.normalize(n.concat(s)):e=n.length?n:s,e=this._cache.all=e,e}getDecimalForValue(e){return(zl(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,s=this.getDecimalForPixel(e)/n.factor-n.end;return zl(this._table,s*this._tableRange+this._minPos,!0)}}const n1={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},JH={ariaLabel:{type:String},ariaDescribedby:{type:String}},XH={type:{type:String,required:!0},...n1,...JH},QH=Ob[0]==="2"?(t,e)=>Object.assign(t,{attrs:e}):(t,e)=>Object.assign(t,e);function Xo(t){return Fc(t)?Ze(t):t}function ZH(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return Fc(e)?new Proxy(t,{}):t}function e8(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function s1(t,e){t.labels=e}function i1(t,e,n){const s=[];t.datasets=e.map(i=>{const o=t.datasets.find(r=>r[n]===i[n]);return!o||!i.data||s.includes(o)?{...i}:(s.push(o),Object.assign(o,i),o)})}function t8(t,e){const n={labels:[],datasets:[]};return s1(n,t.labels),i1(n,t.datasets,e),n}const n8=Nt({props:XH,setup(t,e){let{expose:n,slots:s}=e;const i=ve(null),o=Fh(null);n({chart:o});const r=()=>{if(!i.value)return;const{type:c,data:u,options:d,plugins:f,datasetIdKey:g}=t,_=t8(u,g),m=ZH(_,u);o.value=new ru(i.value,{type:c,data:m,options:{...d},plugins:f})},a=()=>{const c=Ze(o.value);c&&(c.destroy(),o.value=null)},l=c=>{c.update(t.updateMode)};return qt(r),Yh(a),Bt([()=>t.options,()=>t.data],(c,u)=>{let[d,f]=c,[g,_]=u;const m=Ze(o.value);if(!m)return;let b=!1;if(d){const w=Xo(d),$=Xo(g);w&&w!==$&&(e8(m,w),b=!0)}if(f){const w=Xo(f.labels),$=Xo(_.labels),A=Xo(f.datasets),D=Xo(_.datasets);w!==$&&(s1(m.config.data,w),b=!0),A&&A!==D&&(i1(m.config.data,A,t.datasetIdKey),b=!0)}b&&en(()=>{l(m)})},{deep:!0}),()=>Co("canvas",{role:"img",ariaLabel:t.ariaLabel,ariaDescribedby:t.ariaDescribedby,ref:i},[Co("p",{},[s.default?s.default():""])])}});function o1(t,e){return ru.register(e),Nt({props:n1,setup(n,s){let{expose:i}=s;const o=Fh(null),r=a=>{o.value=a?.chart};return i({chart:o}),()=>Co(n8,QH({ref:r},{type:t,...n}))}})}const s8=o1("bar",I0),i8=o1("line",L0);function Zs(t){return Array.isArray?Array.isArray(t):l1(t)==="[object Array]"}const o8=1/0;function r8(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-o8?"-0":e}function a8(t){return t==null?"":r8(t)}function ks(t){return typeof t=="string"}function r1(t){return typeof t=="number"}function l8(t){return t===!0||t===!1||c8(t)&&l1(t)=="[object Boolean]"}function a1(t){return typeof t=="object"}function c8(t){return a1(t)&&t!==null}function In(t){return t!=null}function fd(t){return!t.trim().length}function l1(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const u8="Incorrect 'index' type",d8=t=>`Invalid value for key ${t}`,h8=t=>`Pattern length exceeds max of ${t}.`,f8=t=>`Missing ${t} property in key`,p8=t=>`Property 'weight' in key '${t}' must be a positive integer`,z_=Object.prototype.hasOwnProperty;class g8{constructor(e){this._keys=[],this._keyMap={};let n=0;e.forEach(s=>{let i=c1(s);this._keys.push(i),this._keyMap[i.id]=i,n+=i.weight}),this._keys.forEach(s=>{s.weight/=n})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function c1(t){let e=null,n=null,s=null,i=1,o=null;if(ks(t)||Zs(t))s=t,e=Y_(t),n=sh(t);else{if(!z_.call(t,"name"))throw new Error(f8("name"));const r=t.name;if(s=r,z_.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(p8(r));e=Y_(r),n=sh(r),o=t.getFn}return{path:e,id:n,weight:i,src:s,getFn:o}}function Y_(t){return Zs(t)?t:t.split(".")}function sh(t){return Zs(t)?t.join("."):t}function m8(t,e){let n=[],s=!1;const i=(o,r,a)=>{if(In(o))if(!r[a])n.push(o);else{let l=r[a];const c=o[l];if(!In(c))return;if(a===r.length-1&&(ks(c)||r1(c)||l8(c)))n.push(a8(c));else if(Zs(c)){s=!0;for(let u=0,d=c.length;ut.score===e.score?t.idx{this._keysMap[n.id]=s})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,ks(this.docs[0])?this.docs.forEach((e,n)=>{this._addString(e,n)}):this.docs.forEach((e,n)=>{this._addObject(e,n)}),this.norm.clear())}add(e){const n=this.size();ks(e)?this._addString(e,n):this._addObject(e,n)}removeAt(e){this.records.splice(e,1);for(let n=e,s=this.size();n{let r=i.getFn?i.getFn(e):this.getFn(e,i.path);if(In(r)){if(Zs(r)){let a=[];const l=[{nestedArrIndex:-1,value:r}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(In(u))if(ks(u)&&!fd(u)){let d={v:u,i:c,n:this.norm.get(u)};a.push(d)}else Zs(u)&&u.forEach((d,f)=>{l.push({nestedArrIndex:f,value:d})})}s.$[o]=a}else if(ks(r)&&!fd(r)){let a={v:r,n:this.norm.get(r)};s.$[o]=a}}}),this.records.push(s)}toJSON(){return{keys:this.keys,records:this.records}}}function u1(t,e,{getFn:n=Ke.getFn,fieldNormWeight:s=Ke.fieldNormWeight}={}){const i=new Bf({getFn:n,fieldNormWeight:s});return i.setKeys(t.map(c1)),i.setSources(e),i.create(),i}function k8(t,{getFn:e=Ke.getFn,fieldNormWeight:n=Ke.fieldNormWeight}={}){const{keys:s,records:i}=t,o=new Bf({getFn:e,fieldNormWeight:n});return o.setKeys(s),o.setIndexRecords(i),o}function Yl(t,{errors:e=0,currentLocation:n=0,expectedLocation:s=0,distance:i=Ke.distance,ignoreLocation:o=Ke.ignoreLocation}={}){const r=e/t.length;if(o)return r;const a=Math.abs(s-n);return i?r+a/i:a?1:r}function S8(t=[],e=Ke.minMatchCharLength){let n=[],s=-1,i=-1,o=0;for(let r=t.length;o=e&&n.push([s,i]),s=-1)}return t[o-1]&&o-s>=e&&n.push([s,o-1]),n}const po=32;function $8(t,e,n,{location:s=Ke.location,distance:i=Ke.distance,threshold:o=Ke.threshold,findAllMatches:r=Ke.findAllMatches,minMatchCharLength:a=Ke.minMatchCharLength,includeMatches:l=Ke.includeMatches,ignoreLocation:c=Ke.ignoreLocation}={}){if(e.length>po)throw new Error(h8(po));const u=e.length,d=t.length,f=Math.max(0,Math.min(s,d));let g=o,_=f;const m=a>1||l,b=m?Array(d):[];let w;for(;(w=t.indexOf(e,_))>-1;){let S=Yl(e,{currentLocation:w,expectedLocation:f,distance:i,ignoreLocation:c});if(g=Math.min(S,g),_=w+u,m){let E=0;for(;E=C;Y-=1){let L=Y-1,I=n[t.charAt(L)];if(m&&(b[L]=+!!I),J[Y]=(J[Y+1]<<1|1)&I,S&&(J[Y]|=($[Y+1]|$[Y])<<1|1|$[Y+1]),J[Y]&x&&(A=Yl(e,{errors:S,currentLocation:L,expectedLocation:f,distance:i,ignoreLocation:c}),A<=g)){if(g=A,_=L,_<=f)break;C=Math.max(1,2*f-_)}}if(Yl(e,{errors:S+1,currentLocation:f,expectedLocation:f,distance:i,ignoreLocation:c})>g)break;$=J}const y={isMatch:_>=0,score:Math.max(.001,A)};if(m){const S=S8(b,a);S.length?l&&(y.indices=S):y.isMatch=!1}return y}function A8(t){let e={};for(let n=0,s=t.length;n{this.chunks.push({pattern:f,alphabet:A8(f),startIndex:g})},d=this.pattern.length;if(d>po){let f=0;const g=d%po,_=d-g;for(;f<_;)u(this.pattern.substr(f,po),f),f+=po;if(g){const m=d-po;u(this.pattern.substr(m),m)}}else u(this.pattern,0)}searchIn(e){const{isCaseSensitive:n,includeMatches:s}=this.options;if(n||(e=e.toLowerCase()),this.pattern===e){let _={isMatch:!0,score:0};return s&&(_.indices=[[0,e.length-1]]),_}const{location:i,distance:o,threshold:r,findAllMatches:a,minMatchCharLength:l,ignoreLocation:c}=this.options;let u=[],d=0,f=!1;this.chunks.forEach(({pattern:_,alphabet:m,startIndex:b})=>{const{isMatch:w,score:$,indices:A}=$8(e,_,m,{location:i+b,distance:o,threshold:r,findAllMatches:a,minMatchCharLength:l,includeMatches:s,ignoreLocation:c});w&&(f=!0),d+=$,w&&A&&(u=[...u,...A])});let g={isMatch:f,score:f?d/this.chunks.length:1};return f&&s&&(g.indices=u),g}}class Yi{constructor(e){this.pattern=e}static isMultiMatch(e){return U_(e,this.multiRegex)}static isSingleMatch(e){return U_(e,this.singleRegex)}search(){}}function U_(t,e){const n=t.match(e);return n?n[1]:null}class C8 extends Yi{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const n=e===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class E8 extends Yi{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const s=e.indexOf(this.pattern)===-1;return{isMatch:s,score:s?0:1,indices:[0,e.length-1]}}}class P8 extends Yi{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const n=e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class T8 extends Yi{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const n=!e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class M8 extends Yi{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const n=e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class D8 extends Yi{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const n=!e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class h1 extends Yi{constructor(e,{location:n=Ke.location,threshold:s=Ke.threshold,distance:i=Ke.distance,includeMatches:o=Ke.includeMatches,findAllMatches:r=Ke.findAllMatches,minMatchCharLength:a=Ke.minMatchCharLength,isCaseSensitive:l=Ke.isCaseSensitive,ignoreLocation:c=Ke.ignoreLocation}={}){super(e),this._bitapSearch=new d1(e,{location:n,threshold:s,distance:i,includeMatches:o,findAllMatches:r,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class f1 extends Yi{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let n=0,s;const i=[],o=this.pattern.length;for(;(s=e.indexOf(this.pattern,n))>-1;)n=s+o,i.push([s,n-1]);const r=!!i.length;return{isMatch:r,score:r?0:1,indices:i}}}const ih=[C8,f1,P8,T8,D8,M8,E8,h1],K_=ih.length,O8=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,I8="|";function R8(t,e={}){return t.split(I8).map(n=>{let s=n.trim().split(O8).filter(o=>o&&!!o.trim()),i=[];for(let o=0,r=s.length;o!!(t[Cc.AND]||t[Cc.OR]),B8=t=>!!t[ah.PATH],V8=t=>!Zs(t)&&a1(t)&&!lh(t),q_=t=>({[Cc.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function p1(t,e,{auto:n=!0}={}){const s=i=>{let o=Object.keys(i);const r=B8(i);if(!r&&o.length>1&&!lh(i))return s(q_(i));if(V8(i)){const l=r?i[ah.PATH]:o[0],c=r?i[ah.PATTERN]:i[l];if(!ks(c))throw new Error(d8(l));const u={keyId:sh(l),pattern:c};return n&&(u.searcher=rh(c,e)),u}let a={children:[],operator:o[0]};return o.forEach(l=>{const c=i[l];Zs(c)&&c.forEach(u=>{a.children.push(s(u))})}),a};return lh(t)||(t=q_(t)),s(t)}function H8(t,{ignoreFieldNorm:e=Ke.ignoreFieldNorm}){t.forEach(n=>{let s=1;n.matches.forEach(({key:i,norm:o,score:r})=>{const a=i?i.weight:null;s*=Math.pow(r===0&&a?Number.EPSILON:r,(a||1)*(e?1:o))}),n.score=s})}function j8(t,e){const n=t.matches;e.matches=[],In(n)&&n.forEach(s=>{if(!In(s.indices)||!s.indices.length)return;const{indices:i,value:o}=s;let r={indices:i,value:o};s.key&&(r.key=s.key.src),s.idx>-1&&(r.refIndex=s.idx),e.matches.push(r)})}function W8(t,e){e.score=t.score}function z8(t,e,{includeMatches:n=Ke.includeMatches,includeScore:s=Ke.includeScore}={}){const i=[];return n&&i.push(j8),s&&i.push(W8),t.map(o=>{const{idx:r}=o,a={item:e[r],refIndex:r};return i.length&&i.forEach(l=>{l(o,a)}),a})}class Nr{constructor(e,n={},s){this.options={...Ke,...n},this.options.useExtendedSearch,this._keyStore=new g8(this.options.keys),this.setCollection(e,s)}setCollection(e,n){if(this._docs=e,n&&!(n instanceof Bf))throw new Error(u8);this._myIndex=n||u1(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){In(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const n=[];for(let s=0,i=this._docs.length;s-1&&(l=l.slice(0,n)),z8(l,this._docs,{includeMatches:s,includeScore:i})}_searchStringList(e){const n=rh(e,this.options),{records:s}=this._myIndex,i=[];return s.forEach(({v:o,i:r,n:a})=>{if(!In(o))return;const{isMatch:l,score:c,indices:u}=n.searchIn(o);l&&i.push({item:o,idx:r,matches:[{score:c,value:o,norm:a,indices:u}]})}),i}_searchLogical(e){const n=p1(e,this.options),s=(a,l,c)=>{if(!a.children){const{keyId:d,searcher:f}=a,g=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(l,d),searcher:f});return g&&g.length?[{idx:c,item:l,matches:g}]:[]}const u=[];for(let d=0,f=a.children.length;d{if(In(a)){let c=s(n,a,l);c.length&&(o[l]||(o[l]={idx:l,item:a,matches:[]},r.push(o[l])),c.forEach(({matches:u})=>{o[l].matches.push(...u)}))}}),r}_searchObjectList(e){const n=rh(e,this.options),{keys:s,records:i}=this._myIndex,o=[];return i.forEach(({$:r,i:a})=>{if(!In(r))return;let l=[];s.forEach((c,u)=>{l.push(...this._findMatches({key:c,value:r[u],searcher:n}))}),l.length&&o.push({idx:a,item:r,matches:l})}),o}_findMatches({key:e,value:n,searcher:s}){if(!In(n))return[];let i=[];if(Zs(n))n.forEach(({v:o,i:r,n:a})=>{if(!In(o))return;const{isMatch:l,score:c,indices:u}=s.searchIn(o);l&&i.push({score:c,key:e,value:o,idx:r,norm:a,indices:u})});else{const{v:o,n:r}=n,{isMatch:a,score:l,indices:c}=s.searchIn(o);a&&i.push({score:l,key:e,value:o,norm:r,indices:c})}return i}}Nr.version="7.0.0";Nr.createIndex=u1;Nr.parseIndex=k8;Nr.config=Ke;Nr.parseQuery=p1;F8(N8);const Y8={name:"peerSettings",props:{selectedPeer:Object},data(){return{data:void 0,dataChanged:!1,showKey:!1,saving:!1}},setup(){return{dashboardConfigurationStore:Xe()}},methods:{reset(){this.selectedPeer&&(this.data=JSON.parse(JSON.stringify(this.selectedPeer)),this.dataChanged=!1)},savePeer(){this.saving=!0,ht(`/api/updatePeerSettings/${this.$route.params.id}`,this.data,t=>{this.saving=!1,t.status?this.dashboardConfigurationStore.newMessage("Server","Peer Updated!","success"):this.dashboardConfigurationStore.newMessage("Server",t.message,"danger"),this.$emit("refresh")})},resetPeerData(t){this.saving=!0,ht(`/api/resetPeerData/${this.$route.params.id}`,{id:this.data.id,type:t},e=>{this.saving=!1,e.status?this.dashboardConfigurationStore.newMessage("Server","Peer data usage reset successfully.","success"):this.dashboardConfigurationStore.newMessage("Server",e.message,"danger"),this.$emit("refresh")})}},beforeMount(){this.reset()},mounted(){this.$el.querySelectorAll("input").forEach(t=>{t.addEventListener("keyup",()=>{this.dataChanged=!0})})}},tn=t=>(Ut("data-v-5c34b056"),t=t(),Kt(),t),U8={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},K8={class:"container d-flex h-100 w-100"},q8={class:"m-auto modal-dialog-centered dashboardModal"},G8={class:"card rounded-3 shadow flex-grow-1"},J8={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},X8=tn(()=>h("h4",{class:"mb-0"},"Peer Settings",-1)),Q8={key:0,class:"card-body px-4 pb-4"},Z8={class:"d-flex flex-column gap-2 mb-4"},ej={class:"d-flex align-items-center"},tj=tn(()=>h("small",{class:"text-muted"},"Public Key",-1)),nj={class:"ms-auto"},sj=tn(()=>h("label",{for:"peer_name_textbox",class:"form-label"},[h("small",{class:"text-muted"},"Name")],-1)),ij=["disabled"],oj={class:"d-flex position-relative"},rj=tn(()=>h("label",{for:"peer_private_key_textbox",class:"form-label"},[h("small",{class:"text-muted"},[be("Private Key "),h("code",null,"(Required for QR Code and Download)")])],-1)),aj=["type","disabled"],lj=tn(()=>h("label",{for:"peer_allowed_ip_textbox",class:"form-label"},[h("small",{class:"text-muted"},[be("Allowed IPs "),h("code",null,"(Required)")])],-1)),cj=["disabled"],uj=tn(()=>h("label",{for:"peer_endpoint_allowed_ips",class:"form-label"},[h("small",{class:"text-muted"},[be("Endpoint Allowed IPs "),h("code",null,"(Required)")])],-1)),dj=["disabled"],hj=tn(()=>h("label",{for:"peer_DNS_textbox",class:"form-label"},[h("small",{class:"text-muted"},"DNS")],-1)),fj=["disabled"],pj={class:"accordion mt-3",id:"peerSettingsAccordion"},gj={class:"accordion-item"},mj=tn(()=>h("h2",{class:"accordion-header"},[h("button",{class:"accordion-button rounded-3 collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#peerSettingsAccordionOptional"}," Optional Settings ")],-1)),_j={id:"peerSettingsAccordionOptional",class:"accordion-collapse collapse","data-bs-parent":"#peerSettingsAccordion"},vj={class:"accordion-body d-flex flex-column gap-2 mb-2"},bj=tn(()=>h("label",{for:"peer_preshared_key_textbox",class:"form-label"},[h("small",{class:"text-muted"},"Pre-Shared Key")],-1)),yj=["disabled"],wj=tn(()=>h("label",{for:"peer_mtu",class:"form-label"},[h("small",{class:"text-muted"},"MTU")],-1)),xj=["disabled"],kj=tn(()=>h("label",{for:"peer_keep_alive",class:"form-label"},[h("small",{class:"text-muted"},"Persistent Keepalive")],-1)),Sj=["disabled"],$j=tn(()=>h("hr",null,null,-1)),Aj={class:"d-flex gap-2 align-items-center"},Cj=tn(()=>h("strong",null,"Reset Data Usage",-1)),Ej={class:"d-flex gap-2 ms-auto"},Pj=tn(()=>h("i",{class:"bi bi-arrow-down-up me-2"},null,-1)),Tj=tn(()=>h("i",{class:"bi bi-arrow-down me-2"},null,-1)),Mj=tn(()=>h("i",{class:"bi bi-arrow-up me-2"},null,-1)),Dj={class:"d-flex align-items-center gap-2"},Oj=["disabled"],Ij=tn(()=>h("i",{class:"bi bi-arrow-clockwise ms-2"},null,-1)),Rj=["disabled"],Lj=tn(()=>h("i",{class:"bi bi-save-fill ms-2"},null,-1));function Nj(t,e,n,s,i,o){return M(),F("div",U8,[h("div",K8,[h("div",q8,[h("div",G8,[h("div",J8,[X8,h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=r=>this.$emit("close"))})]),this.data?(M(),F("div",Q8,[h("div",Z8,[h("div",ej,[tj,h("small",nj,[h("samp",null,me(this.data.id),1)])]),h("div",null,[sj,Oe(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[1]||(e[1]=r=>this.data.name=r),id:"peer_name_textbox",placeholder:""},null,8,ij),[[je,this.data.name]])]),h("div",null,[h("div",oj,[rj,h("a",{role:"button",class:"ms-auto text-decoration-none toggleShowKey",onClick:e[2]||(e[2]=r=>this.showKey=!this.showKey)},[h("i",{class:Ce(["bi",[this.showKey?"bi-eye-slash-fill":"bi-eye-fill"]])},null,2)])]),Oe(h("input",{type:[this.showKey?"text":"password"],class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[3]||(e[3]=r=>this.data.private_key=r),id:"peer_private_key_textbox",style:{"padding-right":"40px"}},null,8,aj),[[_C,this.data.private_key]])]),h("div",null,[lj,Oe(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[4]||(e[4]=r=>this.data.allowed_ip=r),id:"peer_allowed_ip_textbox"},null,8,cj),[[je,this.data.allowed_ip]])]),h("div",null,[uj,Oe(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[5]||(e[5]=r=>this.data.endpoint_allowed_ip=r),id:"peer_endpoint_allowed_ips"},null,8,dj),[[je,this.data.endpoint_allowed_ip]])]),h("div",null,[hj,Oe(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[6]||(e[6]=r=>this.data.DNS=r),id:"peer_DNS_textbox"},null,8,fj),[[je,this.data.DNS]])]),h("div",pj,[h("div",gj,[mj,h("div",_j,[h("div",vj,[h("div",null,[bj,Oe(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[7]||(e[7]=r=>this.data.preshared_key=r),id:"peer_preshared_key_textbox"},null,8,yj),[[je,this.data.preshared_key]])]),h("div",null,[wj,Oe(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[8]||(e[8]=r=>this.data.mtu=r),id:"peer_mtu"},null,8,xj),[[je,this.data.mtu]])]),h("div",null,[kj,Oe(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[9]||(e[9]=r=>this.data.keepalive=r),id:"peer_keep_alive"},null,8,Sj),[[je,this.data.keepalive]])])])])])]),$j,h("div",Aj,[Cj,h("div",Ej,[h("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:e[10]||(e[10]=r=>this.resetPeerData("total"))},[Pj,be(" Total ")]),h("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:e[11]||(e[11]=r=>this.resetPeerData("receive"))},[Tj,be(" Received ")]),h("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:e[12]||(e[12]=r=>this.resetPeerData("sent"))},[Mj,be(" Sent ")])])])]),h("div",Dj,[h("button",{class:"btn btn-secondary rounded-3 shadow",onClick:e[13]||(e[13]=r=>this.reset()),disabled:!this.dataChanged||this.saving},[be(" Revert "),Ij],8,Oj),h("button",{class:"ms-auto btn btn-dark btn-brand rounded-3 px-3 py-2 shadow",disabled:!this.dataChanged||this.saving,onClick:e[14]||(e[14]=r=>this.savePeer())},[be(" Save Peer"),Lj],8,Rj)])])):re("",!0)])])])])}const Fj=We(Y8,[["render",Nj],["__scopeId","data-v-5c34b056"]]);var Lo={},Bj=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},g1={},Bn={};let Vf;const Vj=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Bn.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17};Bn.getSymbolTotalCodewords=function(e){return Vj[e]};Bn.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};Bn.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');Vf=e};Bn.isKanjiModeEnabled=function(){return typeof Vf<"u"};Bn.toSJIS=function(e){return Vf(e)};var cu={};(function(t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2};function e(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+n)}}t.isValid=function(s){return s&&typeof s.bit<"u"&&s.bit>=0&&s.bit<4},t.from=function(s,i){if(t.isValid(s))return s;try{return e(s)}catch{return i}}})(cu);function m1(){this.buffer=[],this.length=0}m1.prototype={get:function(t){const e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)===1},put:function(t,e){for(let n=0;n>>e-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var Hj=m1;function il(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}il.prototype.set=function(t,e,n,s){const i=t*this.size+e;this.data[i]=n,s&&(this.reservedBit[i]=!0)};il.prototype.get=function(t,e){return this.data[t*this.size+e]};il.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n};il.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var jj=il,_1={};(function(t){const e=Bn.getSymbolSize;t.getRowColCoords=function(s){if(s===1)return[];const i=Math.floor(s/7)+2,o=e(s),r=o===145?26:Math.ceil((o-13)/(2*i-2))*2,a=[o-7];for(let l=1;l=0&&i<=7},t.from=function(i){return t.isValid(i)?parseInt(i,10):void 0},t.getPenaltyN1=function(i){const o=i.size;let r=0,a=0,l=0,c=null,u=null;for(let d=0;d=5&&(r+=e.N1+(a-5)),c=g,a=1),g=i.get(f,d),g===u?l++:(l>=5&&(r+=e.N1+(l-5)),u=g,l=1)}a>=5&&(r+=e.N1+(a-5)),l>=5&&(r+=e.N1+(l-5))}return r},t.getPenaltyN2=function(i){const o=i.size;let r=0;for(let a=0;a=10&&(a===1488||a===93)&&r++,l=l<<1&2047|i.get(u,c),u>=10&&(l===1488||l===93)&&r++}return r*e.N3},t.getPenaltyN4=function(i){let o=0;const r=i.data.length;for(let l=0;l=0;){const r=o[0];for(let l=0;l0){const o=new Uint8Array(this.degree);return o.set(s,i),o}return s};var zj=Hf,x1={},Ui={},jf={};jf.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40};var Ms={};const k1="[0-9]+",Yj="[A-Z $%*+\\-./:]+";let Ya="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";Ya=Ya.replace(/u/g,"\\u");const Uj="(?:(?![A-Z0-9 $%*+\\-./:]|"+Ya+`)(?:.|[\r -]))+`;Ms.KANJI=new RegExp(Ya,"g");Ms.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Ms.BYTE=new RegExp(Uj,"g");Ms.NUMERIC=new RegExp(k1,"g");Ms.ALPHANUMERIC=new RegExp(Yj,"g");const Kj=new RegExp("^"+Ya+"$"),qj=new RegExp("^"+k1+"$"),Gj=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Ms.testKanji=function(e){return Kj.test(e)};Ms.testNumeric=function(e){return qj.test(e)};Ms.testAlphanumeric=function(e){return Gj.test(e)};(function(t){const e=jf,n=Ms;t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(o,r){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!e.isValid(r))throw new Error("Invalid version: "+r);return r>=1&&r<10?o.ccBits[0]:r<27?o.ccBits[1]:o.ccBits[2]},t.getBestModeForData=function(o){return n.testNumeric(o)?t.NUMERIC:n.testAlphanumeric(o)?t.ALPHANUMERIC:n.testKanji(o)?t.KANJI:t.BYTE},t.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},t.isValid=function(o){return o&&o.bit&&o.ccBits};function s(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+i)}}t.from=function(o,r){if(t.isValid(o))return o;try{return s(o)}catch{return r}}})(Ui);(function(t){const e=Bn,n=uu,s=cu,i=Ui,o=jf,r=7973,a=e.getBCHDigit(r);function l(f,g,_){for(let m=1;m<=40;m++)if(g<=t.getCapacity(m,_,f))return m}function c(f,g){return i.getCharCountIndicator(f,g)+4}function u(f,g){let _=0;return f.forEach(function(m){const b=c(m.mode,g);_+=b+m.getBitsLength()}),_}function d(f,g){for(let _=1;_<=40;_++)if(u(f,_)<=t.getCapacity(_,g,i.MIXED))return _}t.from=function(g,_){return o.isValid(g)?parseInt(g,10):_},t.getCapacity=function(g,_,m){if(!o.isValid(g))throw new Error("Invalid QR Code version");typeof m>"u"&&(m=i.BYTE);const b=e.getSymbolTotalCodewords(g),w=n.getTotalCodewordsCount(g,_),$=(b-w)*8;if(m===i.MIXED)return $;const A=$-c(m,g);switch(m){case i.NUMERIC:return Math.floor(A/10*3);case i.ALPHANUMERIC:return Math.floor(A/11*2);case i.KANJI:return Math.floor(A/13);case i.BYTE:default:return Math.floor(A/8)}},t.getBestVersionForData=function(g,_){let m;const b=s.from(_,s.M);if(Array.isArray(g)){if(g.length>1)return d(g,b);if(g.length===0)return 1;m=g[0]}else m=g;return l(m.mode,m.getLength(),b)},t.getEncodedBits=function(g){if(!o.isValid(g)||g<7)throw new Error("Invalid QR Code version");let _=g<<12;for(;e.getBCHDigit(_)-a>=0;)_^=r<=0;)i^=$1<0&&(s=this.data.substr(n),i=parseInt(s,10),e.put(i,o*3+1))};var Qj=Er;const Zj=Ui,pd=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Pr(t){this.mode=Zj.ALPHANUMERIC,this.data=t}Pr.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)};Pr.prototype.getLength=function(){return this.data.length};Pr.prototype.getBitsLength=function(){return Pr.getBitsLength(this.data.length)};Pr.prototype.write=function(e){let n;for(n=0;n+2<=this.data.length;n+=2){let s=pd.indexOf(this.data[n])*45;s+=pd.indexOf(this.data[n+1]),e.put(s,11)}this.data.length%2&&e.put(pd.indexOf(this.data[n]),6)};var eW=Pr,tW=function(e){for(var n=[],s=e.length,i=0;i=55296&&o<=56319&&s>i+1){var r=e.charCodeAt(i+1);r>=56320&&r<=57343&&(o=(o-55296)*1024+r-56320+65536,i+=1)}if(o<128){n.push(o);continue}if(o<2048){n.push(o>>6|192),n.push(o&63|128);continue}if(o<55296||o>=57344&&o<65536){n.push(o>>12|224),n.push(o>>6&63|128),n.push(o&63|128);continue}if(o>=65536&&o<=1114111){n.push(o>>18|240),n.push(o>>12&63|128),n.push(o>>6&63|128),n.push(o&63|128);continue}n.push(239,191,189)}return new Uint8Array(n).buffer};const nW=tW,sW=Ui;function Tr(t){this.mode=sW.BYTE,typeof t=="string"&&(t=nW(t)),this.data=new Uint8Array(t)}Tr.getBitsLength=function(e){return e*8};Tr.prototype.getLength=function(){return this.data.length};Tr.prototype.getBitsLength=function(){return Tr.getBitsLength(this.data.length)};Tr.prototype.write=function(t){for(let e=0,n=this.data.length;e=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[e]+` -Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),t.put(n,13)}};var aW=Mr,C1={exports:{}};(function(t){var e={single_source_shortest_paths:function(n,s,i){var o={},r={};r[s]=0;var a=e.PriorityQueue.make();a.push(s,0);for(var l,c,u,d,f,g,_,m,b;!a.empty();){l=a.pop(),c=l.value,d=l.cost,f=n[c]||{};for(u in f)f.hasOwnProperty(u)&&(g=f[u],_=d+g,m=r[u],b=typeof r[u]>"u",(b||m>_)&&(r[u]=_,a.push(u,_),o[u]=c))}if(typeof i<"u"&&typeof r[i]>"u"){var w=["Could not find a path from ",s," to ",i,"."].join("");throw new Error(w)}return o},extract_shortest_path_from_predecessor_list:function(n,s){for(var i=[],o=s;o;)i.push(o),n[o],o=n[o];return i.reverse(),i},find_path:function(n,s,i){var o=e.single_source_shortest_paths(n,s,i);return e.extract_shortest_path_from_predecessor_list(o,i)},PriorityQueue:{make:function(n){var s=e.PriorityQueue,i={},o;n=n||{};for(o in s)s.hasOwnProperty(o)&&(i[o]=s[o]);return i.queue=[],i.sorter=n.sorter||s.default_sorter,i},default_sorter:function(n,s){return n.cost-s.cost},push:function(n,s){var i={value:n,cost:s};this.queue.push(i),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};t.exports=e})(C1);var lW=C1.exports;(function(t){const e=Ui,n=Qj,s=eW,i=iW,o=aW,r=Ms,a=Bn,l=lW;function c(w){return unescape(encodeURIComponent(w)).length}function u(w,$,A){const D=[];let x;for(;(x=w.exec(A))!==null;)D.push({data:x[0],index:x.index,mode:$,length:x[0].length});return D}function d(w){const $=u(r.NUMERIC,e.NUMERIC,w),A=u(r.ALPHANUMERIC,e.ALPHANUMERIC,w);let D,x;return a.isKanjiModeEnabled()?(D=u(r.BYTE,e.BYTE,w),x=u(r.KANJI,e.KANJI,w)):(D=u(r.BYTE_KANJI,e.BYTE,w),x=[]),$.concat(A,D,x).sort(function(S,E){return S.index-E.index}).map(function(S){return{data:S.data,mode:S.mode,length:S.length}})}function f(w,$){switch($){case e.NUMERIC:return n.getBitsLength(w);case e.ALPHANUMERIC:return s.getBitsLength(w);case e.KANJI:return o.getBitsLength(w);case e.BYTE:return i.getBitsLength(w)}}function g(w){return w.reduce(function($,A){const D=$.length-1>=0?$[$.length-1]:null;return D&&D.mode===A.mode?($[$.length-1].data+=A.data,$):($.push(A),$)},[])}function _(w){const $=[];for(let A=0;A=0&&a<=6&&(l===0||l===6)||l>=0&&l<=6&&(a===0||a===6)||a>=2&&a<=4&&l>=2&&l<=4?t.set(o+a,r+l,!0,!0):t.set(o+a,r+l,!1,!0))}}function _W(t){const e=t.size;for(let n=8;n>a&1)===1,t.set(i,o,r,!0),t.set(o,i,r,!0)}function _d(t,e,n){const s=t.size,i=pW.getEncodedBits(e,n);let o,r;for(o=0;o<15;o++)r=(i>>o&1)===1,o<6?t.set(o,8,r,!0):o<8?t.set(o+1,8,r,!0):t.set(s-15+o,8,r,!0),o<8?t.set(8,s-o-1,r,!0):o<9?t.set(8,15-o-1+1,r,!0):t.set(8,15-o-1,r,!0);t.set(s-8,8,1,!0)}function yW(t,e){const n=t.size;let s=-1,i=n-1,o=7,r=0;for(let a=n-1;a>0;a-=2)for(a===6&&a--;;){for(let l=0;l<2;l++)if(!t.isReserved(i,a-l)){let c=!1;r>>o&1)===1),t.set(i,a-l,c),o--,o===-1&&(r++,o=7)}if(i+=s,i<0||n<=i){i-=s,s=-s;break}}}function wW(t,e,n){const s=new cW;n.forEach(function(l){s.put(l.mode.bit,4),s.put(l.getLength(),gW.getCharCountIndicator(l.mode,t)),l.write(s)});const i=hu.getSymbolTotalCodewords(t),o=dh.getTotalCodewordsCount(t,e),r=(i-o)*8;for(s.getLengthInBits()+4<=r&&s.put(0,4);s.getLengthInBits()%8!==0;)s.putBit(0);const a=(r-s.getLengthInBits())/8;for(let l=0;lC+w.before.length+w.lines.length+w.after.length,0);if(v+=t.beforeBody.length+t.afterBody.length,d&&(m+=d*c.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),v){const C=e.displayColors?Math.max(a,l.lineHeight):l.lineHeight;m+=f*C+(v-f)*l.lineHeight+(v-1)*e.bodySpacing}h&&(m+=e.footerMarginTop+h*u.lineHeight+(h-1)*e.footerSpacing);let b=0;const E=function(C){y=Math.max(y,n.measureText(C).width+b)};return n.save(),n.font=c.string,Ct(t.title,E),n.font=l.string,Ct(t.beforeBody.concat(t.afterBody),E),b=e.displayColors?o+2+e.boxPadding:0,Ct(i,C=>{Ct(C.before,E),Ct(C.lines,E),Ct(C.after,E)}),b=0,n.font=u.string,Ct(t.footer,E),n.restore(),y+=p.width,{width:y,height:m}}function SG(t,e){const{y:n,height:i}=e;return nt.height-i/2?"bottom":"center"}function CG(t,e,n,i){const{x:s,width:r}=i,o=n.caretSize+n.caretPadding;if(t==="left"&&s+r+o>e.width||t==="right"&&s-r-o<0)return!0}function TG(t,e,n,i){const{x:s,width:r}=n,{width:o,chartArea:{left:a,right:l}}=t;let c="center";return i==="center"?c=s<=(a+l)/2?"left":"right":s<=r/2?c="left":s>=o-r/2&&(c="right"),CG(c,t,e,n)&&(c="center"),c}function B1(t,e,n){const i=n.yAlign||e.yAlign||SG(t,n);return{xAlign:n.xAlign||e.xAlign||TG(t,e,n,i),yAlign:i}}function kG(t,e){let{x:n,width:i}=t;return e==="right"?n-=i:e==="center"&&(n-=i/2),n}function AG(t,e,n){let{y:i,height:s}=t;return e==="top"?i+=n:e==="bottom"?i-=s+n:i-=s/2,i}function V1(t,e,n,i){const{caretSize:s,caretPadding:r,cornerRadius:o}=t,{xAlign:a,yAlign:l}=n,c=s+r,{topLeft:u,topRight:d,bottomLeft:h,bottomRight:f}=ia(o);let p=kG(e,a);const m=AG(e,l,c);return l==="center"?a==="left"?p+=c:a==="right"&&(p-=c):a==="left"?p-=Math.max(u,h)+s:a==="right"&&(p+=Math.max(d,f)+s),{x:Pn(p,0,i.width-e.width),y:Pn(m,0,i.height-e.height)}}function $d(t,e,n){const i=Kn(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-i.right:t.x+i.left}function z1(t){return ys([],qs(t))}function MG(t,e,n){return yo(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function W1(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const dT={beforeTitle:js,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,i=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(i>0&&e.dataIndex"u"?dT[e].call(n,i):s}class H1 extends vr{static positioners=Sc;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,i=this.options.setContext(this.getContext()),s=i.enabled&&n.options.animation&&i.animations,r=new WC(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=MG(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:i}=n,s=ai(i,"beforeTitle",this,e),r=ai(i,"title",this,e),o=ai(i,"afterTitle",this,e);let a=[];return a=ys(a,qs(s)),a=ys(a,qs(r)),a=ys(a,qs(o)),a}getBeforeBody(e,n){return z1(ai(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:i}=n,s=[];return Ct(e,r=>{const o={before:[],lines:[],after:[]},a=W1(i,r);ys(o.before,qs(ai(a,"beforeLabel",this,r))),ys(o.lines,ai(a,"label",this,r)),ys(o.after,qs(ai(a,"afterLabel",this,r))),s.push(o)}),s}getAfterBody(e,n){return z1(ai(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:i}=n,s=ai(i,"beforeFooter",this,e),r=ai(i,"footer",this,e),o=ai(i,"afterFooter",this,e);let a=[];return a=ys(a,qs(s)),a=ys(a,qs(r)),a=ys(a,qs(o)),a}_createItems(e){const n=this._active,i=this.chart.data,s=[],r=[],o=[];let a=[],l,c;for(l=0,c=n.length;le.filter(u,d,h,i))),e.itemSort&&(a=a.sort((u,d)=>e.itemSort(u,d,i))),Ct(a,u=>{const d=W1(e.callbacks,u);s.push(ai(d,"labelColor",this,u)),r.push(ai(d,"labelPointStyle",this,u)),o.push(ai(d,"labelTextColor",this,u))}),this.labelColors=s,this.labelPointStyles=r,this.labelTextColors=o,this.dataPoints=a,a}update(e,n){const i=this.options.setContext(this.getContext()),s=this._active;let r,o=[];if(!s.length)this.opacity!==0&&(r={opacity:0});else{const a=Sc[i.position].call(this,s,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const l=this._size=F1(this,i),c=Object.assign({},a,l),u=B1(this.chart,i,c),d=V1(i,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,r={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=o,this.$context=void 0,r&&this._resolveAnimations().update(this,r),e&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,i,s){const r=this.getCaretPosition(e,i,s);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)}getCaretPosition(e,n,i){const{xAlign:s,yAlign:r}=this,{caretSize:o,cornerRadius:a}=i,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:d}=ia(a),{x:h,y:f}=e,{width:p,height:m}=n;let y,v,b,E,C,w;return r==="center"?(C=f+m/2,s==="left"?(y=h,v=y-o,E=C+o,w=C-o):(y=h+p,v=y+o,E=C-o,w=C+o),b=y):(s==="left"?v=h+Math.max(l,u)+o:s==="right"?v=h+p-Math.max(c,d)-o:v=this.caretX,r==="top"?(E=f,C=E-o,y=v-o,b=v+o):(E=f+m,C=E+o,y=v+o,b=v-o),w=E),{x1:y,x2:v,x3:b,y1:E,y2:C,y3:w}}drawTitle(e,n,i){const s=this.title,r=s.length;let o,a,l;if(r){const c=ol(i.rtl,this.x,this.width);for(e.x=$d(this,i.titleAlign,i),n.textAlign=c.textAlign(i.titleAlign),n.textBaseline="middle",o=vn(i.titleFont),a=i.titleSpacing,n.fillStyle=i.titleColor,n.font=o.string,l=0;lb!==0)?(e.beginPath(),e.fillStyle=r.multiKeyBackground,hu(e,{x:m,y:p,w:c,h:l,radius:v}),e.fill(),e.stroke(),e.fillStyle=o.backgroundColor,e.beginPath(),hu(e,{x:y,y:p+1,w:c-2,h:l-2,radius:v}),e.fill()):(e.fillStyle=r.multiKeyBackground,e.fillRect(m,p,c,l),e.strokeRect(m,p,c,l),e.fillStyle=o.backgroundColor,e.fillRect(y,p+1,c-2,l-2))}e.fillStyle=this.labelTextColors[i]}drawBody(e,n,i){const{body:s}=this,{bodySpacing:r,bodyAlign:o,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=i,d=vn(i.bodyFont);let h=d.lineHeight,f=0;const p=ol(i.rtl,this.x,this.width),m=function(k){n.fillText(k,p.x(e.x+f),e.y+h/2),e.y+=h+r},y=p.textAlign(o);let v,b,E,C,w,x,T;for(n.textAlign=o,n.textBaseline="middle",n.font=d.string,e.x=$d(this,y,i),n.fillStyle=i.bodyColor,Ct(this.beforeBody,m),f=a&&y!=="right"?o==="center"?c/2+u:c+2+u:0,C=0,x=s.length;C0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,i=this.$animations,s=i&&i.x,r=i&&i.y;if(s||r){const o=Sc[e.position].call(this,this._active,this._eventPosition);if(!o)return;const a=this._size=F1(this,e),l=Object.assign({},o,this._size),c=B1(n,e,l),u=V1(e,l,c,n);(s._to!==u.x||r._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=o.x,this.caretY=o.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(n);const s={width:this.width,height:this.height},r={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const o=Kn(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(e.save(),e.globalAlpha=i,this.drawBackground(r,e,s,n),NC(e,n.textDirection),r.y+=o.top,this.drawTitle(r,e,n),this.drawBody(r,e,n),this.drawFooter(r,e,n),FC(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const i=this._active,s=e.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),r=!wh(i,s),o=this._positionChanged(s,n);(r||o)&&(this._active=s,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,i=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,r=this._active||[],o=this._getActiveElements(e,r,n,i),a=this._positionChanged(o,e),l=n||!wh(o,r)||a;return l&&(this._active=o,(s.enabled||s.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),l}_getActiveElements(e,n,i,s){const r=this.options;if(e.type==="mouseout")return[];if(!s)return n.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const o=this.chart.getElementsAtEventForMode(e,r.mode,r,i);return r.reverse&&o.reverse(),o}_positionChanged(e,n){const{caretX:i,caretY:s,options:r}=this,o=Sc[r.position].call(this,e,n);return o!==!1&&(i!==o.x||s!==o.y)}}var IG={id:"tooltip",_element:H1,positioners:Sc,afterInit(t,e,n){n&&(t.tooltip=new H1({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:dT},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>t!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const PG=(t,e,n,i)=>(typeof e=="string"?(n=t.push(e)-1,i.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function RG(t,e,n,i){const s=t.indexOf(e);if(s===-1)return PG(t,e,n,i);const r=t.lastIndexOf(e);return s!==r?n:s}const DG=(t,e)=>t===null?null:Pn(Math.round(t),0,e);function Y1(t){const e=this.getLabels();return t>=0&&tn.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function LG(t,e){const n=[],{bounds:s,step:r,min:o,max:a,precision:l,count:c,maxTicks:u,maxDigits:d,includeBounds:h}=t,f=r||1,p=u-1,{min:m,max:y}=e,v=!gt(o),b=!gt(a),E=!gt(c),C=(y-m)/(d+1);let w=Bb((y-m)/p/f)*f,x,T,k,A;if(w<1e-14&&!v&&!b)return[{value:m},{value:y}];A=Math.ceil(y/w)-Math.floor(m/w),A>p&&(w=Bb(A*w/p/f)*f),gt(l)||(x=Math.pow(10,l),w=Math.ceil(w*x)/x),s==="ticks"?(T=Math.floor(m/w)*w,k=Math.ceil(y/w)*w):(T=m,k=y),v&&b&&r&&IY((a-o)/r,w/1e3)?(A=Math.round(Math.min((a-o)/w,u)),w=(a-o)/A,T=o,k=a):E?(T=v?o:T,k=b?a:k,A=c-1,w=(k-T)/A):(A=(k-T)/w,Yc(A,Math.round(A),w/1e3)?A=Math.round(A):A=Math.ceil(A));const P=Math.max(Vb(w),Vb(T));x=Math.pow(10,gt(l)?P:l),T=Math.round(T*x)/x,k=Math.round(k*x)/x;let F=0;for(v&&(h&&T!==o?(n.push({value:o}),Ta)break;n.push({value:H})}return b&&h&&k!==a?n.length&&Yc(n[n.length-1].value,a,j1(a,C,t))?n[n.length-1].value=a:n.push({value:a}):(!b||k===a)&&n.push({value:k}),n}function j1(t,e,{horizontal:n,minRotation:i}){const s=as(i),r=(n?Math.sin(s):Math.cos(s))||.001,o=.75*e*(""+t).length;return Math.min(e/r,o)}class Ah extends ya{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,n){return gt(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:n,maxDefined:i}=this.getUserBounds();let{min:s,max:r}=this;const o=l=>s=n?s:l,a=l=>r=i?r:l;if(e){const l=Ds(s),c=Ds(r);l<0&&c<0?a(0):l>0&&c>0&&o(0)}if(s===r){let l=r===0?1:Math.abs(r*.05);a(r+l),e||o(s-l)}this.min=s,this.max=r}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:i}=e,s;return i?(s=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,s>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${s} ticks. Limiting to 1000.`),s=1e3)):(s=this.computeTickLimit(),n=n||11),n&&(s=Math.min(n,s)),s}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let i=this.getTickLimit();i=Math.max(2,i);const s={maxTicks:i,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},r=this._range||this,o=LG(s,r);return e.bounds==="ticks"&&bC(o,this,"value"),e.reverse?(o.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),o}configure(){const e=this.ticks;let n=this.min,i=this.max;if(super.configure(),this.options.offset&&e.length){const s=(i-n)/Math.max(e.length-1,1)/2;n-=s,i+=s}this._startValue=n,this._endValue=i,this._valueRange=i-n}getLabelForValue(e){return Wu(e,this.chart.options.locale,this.options.ticks.format)}}class OG extends Ah{static id="linear";static defaults={ticks:{callback:xf.formatters.numeric}};determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=qt(e)?e:0,this.max=qt(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,i=as(this.options.ticks.minRotation),s=(e?Math.sin(i):Math.cos(i))||.001,r=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,r.lineHeight/s))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}const gu=t=>Math.floor(Kr(t)),Oo=(t,e)=>Math.pow(10,gu(t)+e);function K1(t){return t/Math.pow(10,gu(t))===1}function U1(t,e,n){const i=Math.pow(10,n),s=Math.floor(t/i);return Math.ceil(e/i)-s}function NG(t,e){const n=e-t;let i=gu(n);for(;U1(t,e,i)>10;)i++;for(;U1(t,e,i)<10;)i--;return Math.min(i,gu(t))}function FG(t,{min:e,max:n}){e=xi(t.min,e);const i=[],s=gu(e);let r=NG(e,n),o=r<0?Math.pow(10,Math.abs(r)):1;const a=Math.pow(10,r),l=s>r?Math.pow(10,s):0,c=Math.round((e-l)*o)/o,u=Math.floor((e-l)/a/10)*a*10;let d=Math.floor((c-u)/Math.pow(10,r)),h=xi(t.min,Math.round((l+u+d*Math.pow(10,r))*o)/o);for(;h=10?d=d<15?15:20:d++,d>=20&&(r++,d=2,o=r>=0?1:o),h=Math.round((l+u+d*Math.pow(10,r))*o)/o;const f=xi(t.max,h);return i.push({value:f,major:K1(f),significand:d}),i}class BG extends ya{static id="logarithmic";static defaults={ticks:{callback:xf.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,n){const i=Ah.prototype.parse.apply(this,[e,n]);if(i===0){this._zero=!0;return}return qt(i)&&i>0?i:null}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=qt(e)?Math.max(0,e):null,this.max=qt(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!qt(this._userMin)&&(this.min=e===Oo(this.min,0)?Oo(this.min,-1):Oo(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let i=this.min,s=this.max;const r=a=>i=e?i:a,o=a=>s=n?s:a;i===s&&(i<=0?(r(1),o(10)):(r(Oo(i,-1)),o(Oo(s,1)))),i<=0&&r(Oo(s,-1)),s<=0&&o(Oo(i,1)),this.min=i,this.max=s}buildTicks(){const e=this.options,n={min:this._userMin,max:this._userMax},i=FG(n,this);return e.bounds==="ticks"&&bC(i,this,"value"),e.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}getLabelForValue(e){return e===void 0?"0":Wu(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=Kr(e),this._valueRange=Kr(this.max)-Kr(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Kr(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const n=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+n*this._valueRange)}}function dm(t){const e=t.ticks;if(e.display&&t.display){const n=Kn(e.backdropPadding);return tt(e.font&&e.font.size,Zt.font.size)+n.height}return 0}function VG(t,e,n){return n=Nt(n)?n:[n],{w:UY(t,e.string,n),h:n.length*e.lineHeight}}function G1(t,e,n,i,s){return t===i||t===s?{start:e-n/2,end:e+n/2}:ts?{start:e-n,end:e}:{start:e,end:e+n}}function zG(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},n=Object.assign({},e),i=[],s=[],r=t._pointLabels.length,o=t.options.pointLabels,a=o.centerPointLabels?Bt/r:0;for(let l=0;le.r&&(a=(i.end-e.r)/r,t.r=Math.max(t.r,e.r+a)),s.starte.b&&(l=(s.end-e.b)/o,t.b=Math.max(t.b,e.b+l))}function HG(t,e,n){const i=t.drawingArea,{extra:s,additionalAngle:r,padding:o,size:a}=n,l=t.getPointPosition(e,i+s+o,r),c=Math.round(Z_(Si(l.angle+on))),u=GG(l.y,a.h,c),d=KG(c),h=UG(l.x,a.w,d);return{visible:!0,x:l.x,y:u,textAlign:d,left:h,top:u,right:h+a.w,bottom:u+a.h}}function YG(t,e){if(!e)return!0;const{left:n,top:i,right:s,bottom:r}=t;return!(ar({x:n,y:i},e)||ar({x:n,y:r},e)||ar({x:s,y:i},e)||ar({x:s,y:r},e))}function jG(t,e,n){const i=[],s=t._pointLabels.length,r=t.options,{centerPointLabels:o,display:a}=r.pointLabels,l={extra:dm(r)/2,additionalAngle:o?Bt/s:0};let c;for(let u=0;u270||n<90)&&(t-=e),t}function XG(t,e,n){const{left:i,top:s,right:r,bottom:o}=n,{backdropColor:a}=e;if(!gt(a)){const l=ia(e.borderRadius),c=Kn(e.backdropPadding);t.fillStyle=a;const u=i-c.left,d=s-c.top,h=r-i+c.width,f=o-s+c.height;Object.values(l).some(p=>p!==0)?(t.beginPath(),hu(t,{x:u,y:d,w:h,h:f,radius:l}),t.fill()):t.fillRect(u,d,h,f)}}function qG(t,e){const{ctx:n,options:{pointLabels:i}}=t;for(let s=e-1;s>=0;s--){const r=t._pointLabelItems[s];if(!r.visible)continue;const o=i.setContext(t.getPointLabelContext(s));XG(n,o,r);const a=vn(o.font),{x:l,y:c,textAlign:u}=r;ua(n,t._pointLabels[s],l,c+a.lineHeight/2,a,{color:o.color,textAlign:u,textBaseline:"middle"})}}function hT(t,e,n,i){const{ctx:s}=t;if(n)s.arc(t.xCenter,t.yCenter,e,0,Ft);else{let r=t.getPointPosition(0,e);s.moveTo(r.x,r.y);for(let o=1;o{const s=Pt(this.options.pointLabels.callback,[n,i],this);return s||s===0?s:""}).filter((n,i)=>this.chart.getDataVisibility(i))}fit(){const e=this.options;e.display&&e.pointLabels.display?zG(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,n,i,s){this.xCenter+=Math.floor((e-n)/2),this.yCenter+=Math.floor((i-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,n,i,s))}getIndexAngle(e){const n=Ft/(this._pointLabels.length||1),i=this.options.startAngle||0;return Si(e*n+as(i))}getDistanceFromCenterForValue(e){if(gt(e))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*n:(e-this.min)*n}getValueForDistanceFromCenter(e){if(gt(e))return NaN;const n=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(e){const n=this._pointLabels||[];if(e>=0&&e{if(d!==0){l=this.getDistanceFromCenterForValue(u.value);const h=this.getContext(d),f=s.setContext(h),p=r.setContext(h);ZG(this,f,l,o,p)}}),i.display){for(e.save(),a=o-1;a>=0;a--){const u=i.setContext(this.getPointLabelContext(a)),{color:d,lineWidth:h}=u;!h||!d||(e.lineWidth=h,e.strokeStyle=d,e.setLineDash(u.borderDash),e.lineDashOffset=u.borderDashOffset,l=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),c=this.getPointPosition(a,l),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,n=this.options,i=n.ticks;if(!i.display)return;const s=this.getIndexAngle(0);let r,o;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(s),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&!n.reverse)return;const c=i.setContext(this.getContext(l)),u=vn(c.font);if(r=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){e.font=u.string,o=e.measureText(a.label).width,e.fillStyle=c.backdropColor;const d=Kn(c.backdropPadding);e.fillRect(-o/2-d.left,-r-u.size/2-d.top,o+d.width,u.size+d.height)}ua(e,a.label,0,-r,u,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),e.restore()}drawTitle(){}}const Af={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},hi=Object.keys(Af);function X1(t,e){return t-e}function q1(t,e){if(gt(e))return null;const n=t._adapter,{parser:i,round:s,isoWeekday:r}=t._parseOpts;let o=e;return typeof i=="function"&&(o=i(o)),qt(o)||(o=typeof i=="string"?n.parse(o,i):n.parse(o)),o===null?null:(s&&(o=s==="week"&&(Al(r)||r===!0)?n.startOf(o,"isoWeek",r):n.startOf(o,s)),+o)}function Z1(t,e,n,i){const s=hi.length;for(let r=hi.indexOf(t);r=hi.indexOf(n);r--){const o=hi[r];if(Af[o].common&&t._adapter.diff(s,i,o)>=e-1)return o}return hi[n?hi.indexOf(n):0]}function t7(t){for(let e=hi.indexOf(t)+1,n=hi.length;e=e?n[i]:n[s];t[r]=!0}}function n7(t,e,n,i){const s=t._adapter,r=+s.startOf(e[0].value,i),o=e[e.length-1].value;let a,l;for(a=r;a<=o;a=+s.add(a,1,i))l=n[a],l>=0&&(e[l].major=!0);return e}function Q1(t,e,n){const i=[],s={},r=e.length;let o,a;for(o=0;o+e.value))}initOffsets(e=[]){let n=0,i=0,s,r;this.options.offset&&e.length&&(s=this.getDecimalForValue(e[0]),e.length===1?n=1-s:n=(this.getDecimalForValue(e[1])-s)/2,r=this.getDecimalForValue(e[e.length-1]),e.length===1?i=r:i=(r-this.getDecimalForValue(e[e.length-2]))/2);const o=e.length<3?.5:.25;n=Pn(n,0,o),i=Pn(i,0,o),this._offsets={start:n,end:i,factor:1/(n+1+i)}}_generate(){const e=this._adapter,n=this.min,i=this.max,s=this.options,r=s.time,o=r.unit||Z1(r.minUnit,n,i,this._getLabelCapacity(n)),a=tt(s.ticks.stepSize,1),l=o==="week"?r.isoWeekday:!1,c=Al(l)||l===!0,u={};let d=n,h,f;if(c&&(d=+e.startOf(d,"isoWeek",l)),d=+e.startOf(d,c?"day":o),e.diff(i,n,o)>1e5*a)throw new Error(n+" and "+i+" are too far apart with stepSize of "+a+" "+o);const p=s.ticks.source==="data"&&this.getDataTimestamps();for(h=d,f=0;h+m)}getLabelForValue(e){const n=this._adapter,i=this.options.time;return i.tooltipFormat?n.format(e,i.tooltipFormat):n.format(e,i.displayFormats.datetime)}format(e,n){const s=this.options.time.displayFormats,r=this._unit,o=n||s[r];return this._adapter.format(e,o)}_tickFormatFunction(e,n,i,s){const r=this.options,o=r.ticks.callback;if(o)return Pt(o,[e,n,i],this);const a=r.time.displayFormats,l=this._unit,c=this._majorUnit,u=l&&a[l],d=c&&a[c],h=i[n],f=c&&d&&h&&h.major;return this._adapter.format(e,s||(f?d:u))}generateTickLabels(e){let n,i,s;for(n=0,i=e.length;n0?a:1}getDataTimestamps(){let e=this._cache.data||[],n,i;if(e.length)return e;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(n=0,i=s.length;n=t[i].pos&&e<=t[s].pos&&({lo:i,hi:s}=or(t,"pos",e)),{pos:r,time:a}=t[i],{pos:o,time:l}=t[s]):(e>=t[i].time&&e<=t[s].time&&({lo:i,hi:s}=or(t,"time",e)),{time:r,pos:a}=t[i],{time:o,pos:l}=t[s]);const c=o-r;return c?a+(l-a)*(e-r)/c:a}class i7 extends hm{static id="timeseries";static defaults=hm.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=Ld(n,this.min),this._tableRange=Ld(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:i}=this,s=[],r=[];let o,a,l,c,u;for(o=0,a=e.length;o=n&&c<=i&&s.push(c);if(s.length<2)return[{time:n,pos:0},{time:i,pos:1}];for(o=0,a=s.length;os-r)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const n=this.getDataTimestamps(),i=this.getLabelTimestamps();return n.length&&i.length?e=this.normalize(n.concat(i)):e=n.length?n:i,e=this._cache.all=e,e}getDecimalForValue(e){return(Ld(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,i=this.getDecimalForPixel(e)/n.factor-n.end;return Ld(this._table,i*this._tableRange+this._minPos,!0)}}const fT={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},s7={ariaLabel:{type:String},ariaDescribedby:{type:String}},r7={type:{type:String,required:!0},...fT,...s7},o7=HE[0]==="2"?(t,e)=>Object.assign(t,{attrs:e}):(t,e)=>Object.assign(t,e);function La(t){return nf(t)?lt(t):t}function a7(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return nf(e)?new Proxy(t,{}):t}function l7(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function gT(t,e){t.labels=e}function pT(t,e,n){const i=[];t.datasets=e.map(s=>{const r=t.datasets.find(o=>o[n]===s[n]);return!r||!s.data||i.includes(r)?{...s}:(i.push(r),Object.assign(r,s),r)})}function c7(t,e){const n={labels:[],datasets:[]};return gT(n,t.labels),pT(n,t.datasets,e),n}const u7=cn({props:r7,setup(t,e){let{expose:n,slots:i}=e;const s=we(null),r=l_(null);n({chart:r});const o=()=>{if(!s.value)return;const{type:c,data:u,options:d,plugins:h,datasetIdKey:f}=t,p=c7(u,f),m=a7(p,u);r.value=new Tf(s.value,{type:c,data:m,options:{...d},plugins:h})},a=()=>{const c=lt(r.value);c&&(c.destroy(),r.value=null)},l=c=>{c.update(t.updateMode)};return xn(o),p_(a),fn([()=>t.options,()=>t.data],(c,u)=>{let[d,h]=c,[f,p]=u;const m=lt(r.value);if(!m)return;let y=!1;if(d){const v=La(d),b=La(f);v&&v!==b&&(l7(m,v),y=!0)}if(h){const v=La(h.labels),b=La(p.labels),E=La(h.datasets),C=La(p.datasets);v!==b&&(gT(m.config.data,v),y=!0),E&&E!==C&&(pT(m.config.data,E,t.datasetIdKey),y=!0)}y&&Rn(()=>{l(m)})},{deep:!0}),()=>la("canvas",{role:"img",ariaLabel:t.ariaLabel,ariaDescribedby:t.ariaDescribedby,ref:s},[la("p",{},[i.default?i.default():""])])}});function mT(t,e){return Tf.register(e),cn({props:fT,setup(n,i){let{expose:s}=i;const r=l_(null),o=a=>{r.value=a?.chart};return s({chart:r}),()=>la(u7,o7({ref:o},{type:t,...n}))}})}const d7=mT("bar",jC),h7=mT("line",UC);function mr(t){return Array.isArray?Array.isArray(t):vT(t)==="[object Array]"}const f7=1/0;function g7(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-f7?"-0":e}function p7(t){return t==null?"":g7(t)}function ks(t){return typeof t=="string"}function _T(t){return typeof t=="number"}function m7(t){return t===!0||t===!1||_7(t)&&vT(t)=="[object Boolean]"}function yT(t){return typeof t=="object"}function _7(t){return yT(t)&&t!==null}function Ci(t){return t!=null}function np(t){return!t.trim().length}function vT(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const y7="Incorrect 'index' type",v7=t=>`Invalid value for key ${t}`,b7=t=>`Pattern length exceeds max of ${t}.`,w7=t=>`Missing ${t} property in key`,x7=t=>`Property 'weight' in key '${t}' must be a positive integer`,ew=Object.prototype.hasOwnProperty;class E7{constructor(e){this._keys=[],this._keyMap={};let n=0;e.forEach(i=>{let s=bT(i);this._keys.push(s),this._keyMap[s.id]=s,n+=s.weight}),this._keys.forEach(i=>{i.weight/=n})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function bT(t){let e=null,n=null,i=null,s=1,r=null;if(ks(t)||mr(t))i=t,e=tw(t),n=fm(t);else{if(!ew.call(t,"name"))throw new Error(w7("name"));const o=t.name;if(i=o,ew.call(t,"weight")&&(s=t.weight,s<=0))throw new Error(x7(o));e=tw(o),n=fm(o),r=t.getFn}return{path:e,id:n,weight:s,src:i,getFn:r}}function tw(t){return mr(t)?t:t.split(".")}function fm(t){return mr(t)?t.join("."):t}function S7(t,e){let n=[],i=!1;const s=(r,o,a)=>{if(Ci(r))if(!o[a])n.push(r);else{let l=o[a];const c=r[l];if(!Ci(c))return;if(a===o.length-1&&(ks(c)||_T(c)||m7(c)))n.push(p7(c));else if(mr(c)){i=!0;for(let u=0,d=c.length;ut.score===e.score?t.idx{this._keysMap[n.id]=i})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,ks(this.docs[0])?this.docs.forEach((e,n)=>{this._addString(e,n)}):this.docs.forEach((e,n)=>{this._addObject(e,n)}),this.norm.clear())}add(e){const n=this.size();ks(e)?this._addString(e,n):this._addObject(e,n)}removeAt(e){this.records.splice(e,1);for(let n=e,i=this.size();n{let o=s.getFn?s.getFn(e):this.getFn(e,s.path);if(Ci(o)){if(mr(o)){let a=[];const l=[{nestedArrIndex:-1,value:o}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(Ci(u))if(ks(u)&&!np(u)){let d={v:u,i:c,n:this.norm.get(u)};a.push(d)}else mr(u)&&u.forEach((d,h)=>{l.push({nestedArrIndex:h,value:d})})}i.$[r]=a}else if(ks(o)&&!np(o)){let a={v:o,n:this.norm.get(o)};i.$[r]=a}}}),this.records.push(i)}toJSON(){return{keys:this.keys,records:this.records}}}function wT(t,e,{getFn:n=Je.getFn,fieldNormWeight:i=Je.fieldNormWeight}={}){const s=new cy({getFn:n,fieldNormWeight:i});return s.setKeys(t.map(bT)),s.setSources(e),s.create(),s}function P7(t,{getFn:e=Je.getFn,fieldNormWeight:n=Je.fieldNormWeight}={}){const{keys:i,records:s}=t,r=new cy({getFn:e,fieldNormWeight:n});return r.setKeys(i),r.setIndexRecords(s),r}function Od(t,{errors:e=0,currentLocation:n=0,expectedLocation:i=0,distance:s=Je.distance,ignoreLocation:r=Je.ignoreLocation}={}){const o=e/t.length;if(r)return o;const a=Math.abs(i-n);return s?o+a/s:a?1:o}function R7(t=[],e=Je.minMatchCharLength){let n=[],i=-1,s=-1,r=0;for(let o=t.length;r=e&&n.push([i,s]),i=-1)}return t[r-1]&&r-i>=e&&n.push([i,r-1]),n}const jo=32;function D7(t,e,n,{location:i=Je.location,distance:s=Je.distance,threshold:r=Je.threshold,findAllMatches:o=Je.findAllMatches,minMatchCharLength:a=Je.minMatchCharLength,includeMatches:l=Je.includeMatches,ignoreLocation:c=Je.ignoreLocation}={}){if(e.length>jo)throw new Error(b7(jo));const u=e.length,d=t.length,h=Math.max(0,Math.min(i,d));let f=r,p=h;const m=a>1||l,y=m?Array(d):[];let v;for(;(v=t.indexOf(e,p))>-1;){let T=Od(e,{currentLocation:v,expectedLocation:h,distance:s,ignoreLocation:c});if(f=Math.min(T,f),p=v+u,m){let k=0;for(;k=P;N-=1){let L=N-1,I=n[t.charAt(L)];if(m&&(y[L]=+!!I),H[N]=(H[N+1]<<1|1)&I,T&&(H[N]|=(b[N+1]|b[N])<<1|1|b[N+1]),H[N]&w&&(E=Od(e,{errors:T,currentLocation:L,expectedLocation:h,distance:s,ignoreLocation:c}),E<=f)){if(f=E,p=L,p<=h)break;P=Math.max(1,2*h-p)}}if(Od(e,{errors:T+1,currentLocation:h,expectedLocation:h,distance:s,ignoreLocation:c})>f)break;b=H}const x={isMatch:p>=0,score:Math.max(.001,E)};if(m){const T=R7(y,a);T.length?l&&(x.indices=T):x.isMatch=!1}return x}function $7(t){let e={};for(let n=0,i=t.length;n{this.chunks.push({pattern:h,alphabet:$7(h),startIndex:f})},d=this.pattern.length;if(d>jo){let h=0;const f=d%jo,p=d-f;for(;h{const{isMatch:v,score:b,indices:E}=D7(e,p,m,{location:s+y,distance:r,threshold:o,findAllMatches:a,minMatchCharLength:l,includeMatches:i,ignoreLocation:c});v&&(h=!0),d+=b,v&&E&&(u=[...u,...E])});let f={isMatch:h,score:h?d/this.chunks.length:1};return h&&i&&(f.indices=u),f}}class bo{constructor(e){this.pattern=e}static isMultiMatch(e){return nw(e,this.multiRegex)}static isSingleMatch(e){return nw(e,this.singleRegex)}search(){}}function nw(t,e){const n=t.match(e);return n?n[1]:null}class L7 extends bo{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const n=e===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class O7 extends bo{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const i=e.indexOf(this.pattern)===-1;return{isMatch:i,score:i?0:1,indices:[0,e.length-1]}}}class N7 extends bo{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const n=e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class F7 extends bo{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const n=!e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class B7 extends bo{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const n=e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class V7 extends bo{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const n=!e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class ET extends bo{constructor(e,{location:n=Je.location,threshold:i=Je.threshold,distance:s=Je.distance,includeMatches:r=Je.includeMatches,findAllMatches:o=Je.findAllMatches,minMatchCharLength:a=Je.minMatchCharLength,isCaseSensitive:l=Je.isCaseSensitive,ignoreLocation:c=Je.ignoreLocation}={}){super(e),this._bitapSearch=new xT(e,{location:n,threshold:i,distance:s,includeMatches:r,findAllMatches:o,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class ST extends bo{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let n=0,i;const s=[],r=this.pattern.length;for(;(i=e.indexOf(this.pattern,n))>-1;)n=i+r,s.push([i,n-1]);const o=!!s.length;return{isMatch:o,score:o?0:1,indices:s}}}const gm=[L7,ST,N7,F7,V7,B7,O7,ET],iw=gm.length,z7=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,W7="|";function H7(t,e={}){return t.split(W7).map(n=>{let i=n.trim().split(z7).filter(r=>r&&!!r.trim()),s=[];for(let r=0,o=i.length;r!!(t[Mh.AND]||t[Mh.OR]),U7=t=>!!t[_m.PATH],G7=t=>!mr(t)&&yT(t)&&!ym(t),sw=t=>({[Mh.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function CT(t,e,{auto:n=!0}={}){const i=s=>{let r=Object.keys(s);const o=U7(s);if(!o&&r.length>1&&!ym(s))return i(sw(s));if(G7(s)){const l=o?s[_m.PATH]:r[0],c=o?s[_m.PATTERN]:s[l];if(!ks(c))throw new Error(v7(l));const u={keyId:fm(l),pattern:c};return n&&(u.searcher=mm(c,e)),u}let a={children:[],operator:r[0]};return r.forEach(l=>{const c=s[l];mr(c)&&c.forEach(u=>{a.children.push(i(u))})}),a};return ym(t)||(t=sw(t)),i(t)}function X7(t,{ignoreFieldNorm:e=Je.ignoreFieldNorm}){t.forEach(n=>{let i=1;n.matches.forEach(({key:s,norm:r,score:o})=>{const a=s?s.weight:null;i*=Math.pow(o===0&&a?Number.EPSILON:o,(a||1)*(e?1:r))}),n.score=i})}function q7(t,e){const n=t.matches;e.matches=[],Ci(n)&&n.forEach(i=>{if(!Ci(i.indices)||!i.indices.length)return;const{indices:s,value:r}=i;let o={indices:s,value:r};i.key&&(o.key=i.key.src),i.idx>-1&&(o.refIndex=i.idx),e.matches.push(o)})}function Z7(t,e){e.score=t.score}function J7(t,e,{includeMatches:n=Je.includeMatches,includeScore:i=Je.includeScore}={}){const s=[];return n&&s.push(q7),i&&s.push(Z7),t.map(r=>{const{idx:o}=r,a={item:e[o],refIndex:o};return s.length&&s.forEach(l=>{l(r,a)}),a})}class Gl{constructor(e,n={},i){this.options={...Je,...n},this.options.useExtendedSearch,this._keyStore=new E7(this.options.keys),this.setCollection(e,i)}setCollection(e,n){if(this._docs=e,n&&!(n instanceof cy))throw new Error(y7);this._myIndex=n||wT(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Ci(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const n=[];for(let i=0,s=this._docs.length;i-1&&(l=l.slice(0,n)),J7(l,this._docs,{includeMatches:i,includeScore:s})}_searchStringList(e){const n=mm(e,this.options),{records:i}=this._myIndex,s=[];return i.forEach(({v:r,i:o,n:a})=>{if(!Ci(r))return;const{isMatch:l,score:c,indices:u}=n.searchIn(r);l&&s.push({item:r,idx:o,matches:[{score:c,value:r,norm:a,indices:u}]})}),s}_searchLogical(e){const n=CT(e,this.options),i=(a,l,c)=>{if(!a.children){const{keyId:d,searcher:h}=a,f=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(l,d),searcher:h});return f&&f.length?[{idx:c,item:l,matches:f}]:[]}const u=[];for(let d=0,h=a.children.length;d{if(Ci(a)){let c=i(n,a,l);c.length&&(r[l]||(r[l]={idx:l,item:a,matches:[]},o.push(r[l])),c.forEach(({matches:u})=>{r[l].matches.push(...u)}))}}),o}_searchObjectList(e){const n=mm(e,this.options),{keys:i,records:s}=this._myIndex,r=[];return s.forEach(({$:o,i:a})=>{if(!Ci(o))return;let l=[];i.forEach((c,u)=>{l.push(...this._findMatches({key:c,value:o[u],searcher:n}))}),l.length&&r.push({idx:a,item:o,matches:l})}),r}_findMatches({key:e,value:n,searcher:i}){if(!Ci(n))return[];let s=[];if(mr(n))n.forEach(({v:r,i:o,n:a})=>{if(!Ci(r))return;const{isMatch:l,score:c,indices:u}=i.searchIn(r);l&&s.push({score:c,key:e,value:r,idx:o,norm:a,indices:u})});else{const{v:r,n:o}=n,{isMatch:a,score:l,indices:c}=i.searchIn(r);a&&s.push({score:l,key:e,value:r,norm:o,indices:c})}return s}}Gl.version="7.0.0";Gl.createIndex=wT;Gl.parseIndex=P7;Gl.config=Je;Gl.parseQuery=CT;K7(j7);const Q7={name:"peerSettings",components:{LocaleText:Qe},props:{selectedPeer:Object},data(){return{data:void 0,dataChanged:!1,showKey:!1,saving:!1}},setup(){return{dashboardConfigurationStore:nt()}},methods:{reset(){this.selectedPeer&&(this.data=JSON.parse(JSON.stringify(this.selectedPeer)),this.dataChanged=!1)},savePeer(){this.saving=!0,kt(`/api/updatePeerSettings/${this.$route.params.id}`,this.data,t=>{this.saving=!1,t.status?this.dashboardConfigurationStore.newMessage("Server","Peer saved","success"):this.dashboardConfigurationStore.newMessage("Server",t.message,"danger"),this.$emit("refresh")})},resetPeerData(t){this.saving=!0,kt(`/api/resetPeerData/${this.$route.params.id}`,{id:this.data.id,type:t},e=>{this.saving=!1,e.status?this.dashboardConfigurationStore.newMessage("Server","Peer data usage reset successfully","success"):this.dashboardConfigurationStore.newMessage("Server",e.message,"danger"),this.$emit("refresh")})}},beforeMount(){this.reset()},mounted(){this.$el.querySelectorAll("input").forEach(t=>{t.addEventListener("keyup",()=>{this.dataChanged=!0})})}},Xl=t=>(bn("data-v-2c571abb"),t=t(),wn(),t),eX={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},tX={class:"container d-flex h-100 w-100"},nX={class:"m-auto modal-dialog-centered dashboardModal"},iX={class:"card rounded-3 shadow flex-grow-1"},sX={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},rX={class:"mb-0"},oX={key:0,class:"card-body px-4 pb-4"},aX={class:"d-flex flex-column gap-2 mb-4"},lX={class:"d-flex align-items-center"},cX={class:"text-muted"},uX={class:"ms-auto"},dX={for:"peer_name_textbox",class:"form-label"},hX={class:"text-muted"},fX=["disabled"],gX={class:"d-flex position-relative"},pX={for:"peer_private_key_textbox",class:"form-label"},mX={class:"text-muted"},_X=["type","disabled"],yX={for:"peer_allowed_ip_textbox",class:"form-label"},vX={class:"text-muted"},bX=["disabled"],wX={for:"peer_endpoint_allowed_ips",class:"form-label"},xX={class:"text-muted"},EX=["disabled"],SX={for:"peer_DNS_textbox",class:"form-label"},CX={class:"text-muted"},TX=["disabled"],kX={class:"accordion mt-3",id:"peerSettingsAccordion"},AX={class:"accordion-item"},MX={class:"accordion-header"},IX={class:"accordion-button rounded-3 collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#peerSettingsAccordionOptional"},PX={id:"peerSettingsAccordionOptional",class:"accordion-collapse collapse","data-bs-parent":"#peerSettingsAccordion"},RX={class:"accordion-body d-flex flex-column gap-2 mb-2"},DX={for:"peer_preshared_key_textbox",class:"form-label"},$X={class:"text-muted"},LX=["disabled"],OX={for:"peer_mtu",class:"form-label"},NX={class:"text-muted"},FX=["disabled"],BX={for:"peer_keep_alive",class:"form-label"},VX={class:"text-muted"},zX=["disabled"],WX=Xl(()=>g("hr",null,null,-1)),HX={class:"d-flex gap-2 align-items-center"},YX={class:"d-flex gap-2 ms-auto"},jX=Xl(()=>g("i",{class:"bi bi-arrow-down-up me-2"},null,-1)),KX=Xl(()=>g("i",{class:"bi bi-arrow-down me-2"},null,-1)),UX=Xl(()=>g("i",{class:"bi bi-arrow-up me-2"},null,-1)),GX={class:"d-flex align-items-center gap-2"},XX=["disabled"],qX=Xl(()=>g("i",{class:"bi bi-arrow-clockwise ms-2"},null,-1)),ZX=["disabled"],JX=Xl(()=>g("i",{class:"bi bi-save-fill ms-2"},null,-1));function QX(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",eX,[g("div",tX,[g("div",nX,[g("div",iX,[g("div",sX,[g("h4",rX,[B(o,{t:"Peer Settings"})]),g("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=a=>this.$emit("close"))})]),this.data?(D(),V("div",oX,[g("div",aX,[g("div",lX,[g("small",cX,[B(o,{t:"Public Key"})]),g("small",uX,[g("samp",null,xe(this.data.id),1)])]),g("div",null,[g("label",dX,[g("small",hX,[B(o,{t:"Name"})])]),Oe(g("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[1]||(e[1]=a=>this.data.name=a),id:"peer_name_textbox",placeholder:""},null,8,fX),[[Ke,this.data.name]])]),g("div",null,[g("div",gX,[g("label",pX,[g("small",mX,[B(o,{t:"Private Key"}),g("code",null,[B(o,{t:"(Required for QR Code and Download)"})])])]),g("a",{role:"button",class:"ms-auto text-decoration-none toggleShowKey",onClick:e[2]||(e[2]=a=>this.showKey=!this.showKey)},[g("i",{class:Me(["bi",[this.showKey?"bi-eye-slash-fill":"bi-eye-fill"]])},null,2)])]),Oe(g("input",{type:[this.showKey?"text":"password"],class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[3]||(e[3]=a=>this.data.private_key=a),id:"peer_private_key_textbox",style:{"padding-right":"40px"}},null,8,_X),[[QE,this.data.private_key]])]),g("div",null,[g("label",yX,[g("small",vX,[B(o,{t:"Allowed IPs"}),g("code",null,[B(o,{t:"(Required)"})])])]),Oe(g("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[4]||(e[4]=a=>this.data.allowed_ip=a),id:"peer_allowed_ip_textbox"},null,8,bX),[[Ke,this.data.allowed_ip]])]),g("div",null,[g("label",wX,[g("small",xX,[B(o,{t:"Endpoint Allowed IPs"}),g("code",null,[B(o,{t:"(Required)"})])])]),Oe(g("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[5]||(e[5]=a=>this.data.endpoint_allowed_ip=a),id:"peer_endpoint_allowed_ips"},null,8,EX),[[Ke,this.data.endpoint_allowed_ip]])]),g("div",null,[g("label",SX,[g("small",CX,[B(o,{t:"DNS"})])]),Oe(g("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[6]||(e[6]=a=>this.data.DNS=a),id:"peer_DNS_textbox"},null,8,TX),[[Ke,this.data.DNS]])]),g("div",kX,[g("div",AX,[g("h2",MX,[g("button",IX,[B(o,{t:"Optional Settings"})])]),g("div",PX,[g("div",RX,[g("div",null,[g("label",DX,[g("small",$X,[B(o,{t:"Pre-Shared Key"})])]),Oe(g("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[7]||(e[7]=a=>this.data.preshared_key=a),id:"peer_preshared_key_textbox"},null,8,LX),[[Ke,this.data.preshared_key]])]),g("div",null,[g("label",OX,[g("small",NX,[B(o,{t:"MTU"})])]),Oe(g("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[8]||(e[8]=a=>this.data.mtu=a),id:"peer_mtu"},null,8,FX),[[Ke,this.data.mtu]])]),g("div",null,[g("label",BX,[g("small",VX,[B(o,{t:"Persistent Keepalive"})])]),Oe(g("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[9]||(e[9]=a=>this.data.keepalive=a),id:"peer_keep_alive"},null,8,zX),[[Ke,this.data.keepalive]])])])])])]),WX,g("div",HX,[g("strong",null,[B(o,{t:"Reset Data Usage"})]),g("div",YX,[g("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:e[10]||(e[10]=a=>this.resetPeerData("total"))},[jX,B(o,{t:"Total"})]),g("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:e[11]||(e[11]=a=>this.resetPeerData("receive"))},[KX,B(o,{t:"Received"})]),g("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:e[12]||(e[12]=a=>this.resetPeerData("sent"))},[UX,B(o,{t:"Sent"})])])])]),g("div",GX,[g("button",{class:"btn btn-secondary rounded-3 shadow",onClick:e[13]||(e[13]=a=>this.reset()),disabled:!this.dataChanged||this.saving},[B(o,{t:"Revert"}),qX],8,XX),g("button",{class:"ms-auto btn btn-dark btn-brand rounded-3 px-3 py-2 shadow",disabled:!this.dataChanged||this.saving,onClick:e[14]||(e[14]=a=>this.savePeer())},[B(o,{t:"Save Peer"}),JX],8,ZX)])])):ce("",!0)])])])])}const e9=He(Q7,[["render",QX],["__scopeId","data-v-2c571abb"]]);var va={},t9=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},TT={},Pi={};let uy;const n9=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Pi.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17};Pi.getSymbolTotalCodewords=function(e){return n9[e]};Pi.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};Pi.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');uy=e};Pi.isKanjiModeEnabled=function(){return typeof uy<"u"};Pi.toSJIS=function(e){return uy(e)};var Mf={};(function(t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2};function e(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+n)}}t.isValid=function(i){return i&&typeof i.bit<"u"&&i.bit>=0&&i.bit<4},t.from=function(i,s){if(t.isValid(i))return i;try{return e(i)}catch{return s}}})(Mf);function kT(){this.buffer=[],this.length=0}kT.prototype={get:function(t){const e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)===1},put:function(t,e){for(let n=0;n>>e-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var i9=kT;function Yu(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}Yu.prototype.set=function(t,e,n,i){const s=t*this.size+e;this.data[s]=n,i&&(this.reservedBit[s]=!0)};Yu.prototype.get=function(t,e){return this.data[t*this.size+e]};Yu.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n};Yu.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var s9=Yu,AT={};(function(t){const e=Pi.getSymbolSize;t.getRowColCoords=function(i){if(i===1)return[];const s=Math.floor(i/7)+2,r=e(i),o=r===145?26:Math.ceil((r-13)/(2*s-2))*2,a=[r-7];for(let l=1;l=0&&s<=7},t.from=function(s){return t.isValid(s)?parseInt(s,10):void 0},t.getPenaltyN1=function(s){const r=s.size;let o=0,a=0,l=0,c=null,u=null;for(let d=0;d=5&&(o+=e.N1+(a-5)),c=f,a=1),f=s.get(h,d),f===u?l++:(l>=5&&(o+=e.N1+(l-5)),u=f,l=1)}a>=5&&(o+=e.N1+(a-5)),l>=5&&(o+=e.N1+(l-5))}return o},t.getPenaltyN2=function(s){const r=s.size;let o=0;for(let a=0;a=10&&(a===1488||a===93)&&o++,l=l<<1&2047|s.get(u,c),u>=10&&(l===1488||l===93)&&o++}return o*e.N3},t.getPenaltyN4=function(s){let r=0;const o=s.data.length;for(let l=0;l=0;){const o=r[0];for(let l=0;l0){const r=new Uint8Array(this.degree);return r.set(i,s),r}return i};var o9=dy,DT={},wo={},hy={};hy.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40};var Bs={};const $T="[0-9]+",a9="[A-Z $%*+\\-./:]+";let pu="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";pu=pu.replace(/u/g,"\\u");const l9="(?:(?![A-Z0-9 $%*+\\-./:]|"+pu+`)(?:.|[\r +]))+`;Bs.KANJI=new RegExp(pu,"g");Bs.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Bs.BYTE=new RegExp(l9,"g");Bs.NUMERIC=new RegExp($T,"g");Bs.ALPHANUMERIC=new RegExp(a9,"g");const c9=new RegExp("^"+pu+"$"),u9=new RegExp("^"+$T+"$"),d9=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Bs.testKanji=function(e){return c9.test(e)};Bs.testNumeric=function(e){return u9.test(e)};Bs.testAlphanumeric=function(e){return d9.test(e)};(function(t){const e=hy,n=Bs;t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(r,o){if(!r.ccBits)throw new Error("Invalid mode: "+r);if(!e.isValid(o))throw new Error("Invalid version: "+o);return o>=1&&o<10?r.ccBits[0]:o<27?r.ccBits[1]:r.ccBits[2]},t.getBestModeForData=function(r){return n.testNumeric(r)?t.NUMERIC:n.testAlphanumeric(r)?t.ALPHANUMERIC:n.testKanji(r)?t.KANJI:t.BYTE},t.toString=function(r){if(r&&r.id)return r.id;throw new Error("Invalid mode")},t.isValid=function(r){return r&&r.bit&&r.ccBits};function i(s){if(typeof s!="string")throw new Error("Param is not a string");switch(s.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+s)}}t.from=function(r,o){if(t.isValid(r))return r;try{return i(r)}catch{return o}}})(wo);(function(t){const e=Pi,n=If,i=Mf,s=wo,r=hy,o=7973,a=e.getBCHDigit(o);function l(h,f,p){for(let m=1;m<=40;m++)if(f<=t.getCapacity(m,p,h))return m}function c(h,f){return s.getCharCountIndicator(h,f)+4}function u(h,f){let p=0;return h.forEach(function(m){const y=c(m.mode,f);p+=y+m.getBitsLength()}),p}function d(h,f){for(let p=1;p<=40;p++)if(u(h,p)<=t.getCapacity(p,f,s.MIXED))return p}t.from=function(f,p){return r.isValid(f)?parseInt(f,10):p},t.getCapacity=function(f,p,m){if(!r.isValid(f))throw new Error("Invalid QR Code version");typeof m>"u"&&(m=s.BYTE);const y=e.getSymbolTotalCodewords(f),v=n.getTotalCodewordsCount(f,p),b=(y-v)*8;if(m===s.MIXED)return b;const E=b-c(m,f);switch(m){case s.NUMERIC:return Math.floor(E/10*3);case s.ALPHANUMERIC:return Math.floor(E/11*2);case s.KANJI:return Math.floor(E/13);case s.BYTE:default:return Math.floor(E/8)}},t.getBestVersionForData=function(f,p){let m;const y=i.from(p,i.M);if(Array.isArray(f)){if(f.length>1)return d(f,y);if(f.length===0)return 1;m=f[0]}else m=f;return l(m.mode,m.getLength(),y)},t.getEncodedBits=function(f){if(!r.isValid(f)||f<7)throw new Error("Invalid QR Code version");let p=f<<12;for(;e.getBCHDigit(p)-a>=0;)p^=o<=0;)s^=OT<0&&(i=this.data.substr(n),s=parseInt(i,10),e.put(s,r*3+1))};var g9=Pl;const p9=wo,ip=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Rl(t){this.mode=p9.ALPHANUMERIC,this.data=t}Rl.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)};Rl.prototype.getLength=function(){return this.data.length};Rl.prototype.getBitsLength=function(){return Rl.getBitsLength(this.data.length)};Rl.prototype.write=function(e){let n;for(n=0;n+2<=this.data.length;n+=2){let i=ip.indexOf(this.data[n])*45;i+=ip.indexOf(this.data[n+1]),e.put(i,11)}this.data.length%2&&e.put(ip.indexOf(this.data[n]),6)};var m9=Rl,_9=function(e){for(var n=[],i=e.length,s=0;s=55296&&r<=56319&&i>s+1){var o=e.charCodeAt(s+1);o>=56320&&o<=57343&&(r=(r-55296)*1024+o-56320+65536,s+=1)}if(r<128){n.push(r);continue}if(r<2048){n.push(r>>6|192),n.push(r&63|128);continue}if(r<55296||r>=57344&&r<65536){n.push(r>>12|224),n.push(r>>6&63|128),n.push(r&63|128);continue}if(r>=65536&&r<=1114111){n.push(r>>18|240),n.push(r>>12&63|128),n.push(r>>6&63|128),n.push(r&63|128);continue}n.push(239,191,189)}return new Uint8Array(n).buffer};const y9=_9,v9=wo;function Dl(t){this.mode=v9.BYTE,typeof t=="string"&&(t=y9(t)),this.data=new Uint8Array(t)}Dl.getBitsLength=function(e){return e*8};Dl.prototype.getLength=function(){return this.data.length};Dl.prototype.getBitsLength=function(){return Dl.getBitsLength(this.data.length)};Dl.prototype.write=function(t){for(let e=0,n=this.data.length;e=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[e]+` +Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),t.put(n,13)}};var E9=$l,FT={exports:{}};(function(t){var e={single_source_shortest_paths:function(n,i,s){var r={},o={};o[i]=0;var a=e.PriorityQueue.make();a.push(i,0);for(var l,c,u,d,h,f,p,m,y;!a.empty();){l=a.pop(),c=l.value,d=l.cost,h=n[c]||{};for(u in h)h.hasOwnProperty(u)&&(f=h[u],p=d+f,m=o[u],y=typeof o[u]>"u",(y||m>p)&&(o[u]=p,a.push(u,p),r[u]=c))}if(typeof s<"u"&&typeof o[s]>"u"){var v=["Could not find a path from ",i," to ",s,"."].join("");throw new Error(v)}return r},extract_shortest_path_from_predecessor_list:function(n,i){for(var s=[],r=i;r;)s.push(r),n[r],r=n[r];return s.reverse(),s},find_path:function(n,i,s){var r=e.single_source_shortest_paths(n,i,s);return e.extract_shortest_path_from_predecessor_list(r,s)},PriorityQueue:{make:function(n){var i=e.PriorityQueue,s={},r;n=n||{};for(r in i)i.hasOwnProperty(r)&&(s[r]=i[r]);return s.queue=[],s.sorter=n.sorter||i.default_sorter,s},default_sorter:function(n,i){return n.cost-i.cost},push:function(n,i){var s={value:n,cost:i};this.queue.push(s),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};t.exports=e})(FT);var S9=FT.exports;(function(t){const e=wo,n=g9,i=m9,s=b9,r=E9,o=Bs,a=Pi,l=S9;function c(v){return unescape(encodeURIComponent(v)).length}function u(v,b,E){const C=[];let w;for(;(w=v.exec(E))!==null;)C.push({data:w[0],index:w.index,mode:b,length:w[0].length});return C}function d(v){const b=u(o.NUMERIC,e.NUMERIC,v),E=u(o.ALPHANUMERIC,e.ALPHANUMERIC,v);let C,w;return a.isKanjiModeEnabled()?(C=u(o.BYTE,e.BYTE,v),w=u(o.KANJI,e.KANJI,v)):(C=u(o.BYTE_KANJI,e.BYTE,v),w=[]),b.concat(E,C,w).sort(function(T,k){return T.index-k.index}).map(function(T){return{data:T.data,mode:T.mode,length:T.length}})}function h(v,b){switch(b){case e.NUMERIC:return n.getBitsLength(v);case e.ALPHANUMERIC:return i.getBitsLength(v);case e.KANJI:return r.getBitsLength(v);case e.BYTE:return s.getBitsLength(v)}}function f(v){return v.reduce(function(b,E){const C=b.length-1>=0?b[b.length-1]:null;return C&&C.mode===E.mode?(b[b.length-1].data+=E.data,b):(b.push(E),b)},[])}function p(v){const b=[];for(let E=0;E=0&&a<=6&&(l===0||l===6)||l>=0&&l<=6&&(a===0||a===6)||a>=2&&a<=4&&l>=2&&l<=4?t.set(r+a,o+l,!0,!0):t.set(r+a,o+l,!1,!0))}}function D9(t){const e=t.size;for(let n=8;n>a&1)===1,t.set(s,r,o,!0),t.set(r,s,o,!0)}function op(t,e,n){const i=t.size,s=I9.getEncodedBits(e,n);let r,o;for(r=0;r<15;r++)o=(s>>r&1)===1,r<6?t.set(r,8,o,!0):r<8?t.set(r+1,8,o,!0):t.set(i-15+r,8,o,!0),r<8?t.set(8,i-r-1,o,!0):r<9?t.set(8,15-r-1+1,o,!0):t.set(8,15-r-1,o,!0);t.set(i-8,8,1,!0)}function O9(t,e){const n=t.size;let i=-1,s=n-1,r=7,o=0;for(let a=n-1;a>0;a-=2)for(a===6&&a--;;){for(let l=0;l<2;l++)if(!t.isReserved(s,a-l)){let c=!1;o>>r&1)===1),t.set(s,a-l,c),r--,r===-1&&(o++,r=7)}if(s+=i,s<0||n<=s){s-=i,i=-i;break}}}function N9(t,e,n){const i=new C9;n.forEach(function(l){i.put(l.mode.bit,4),i.put(l.getLength(),P9.getCharCountIndicator(l.mode,t)),l.write(i)});const s=Rf.getSymbolTotalCodewords(t),r=wm.getTotalCodewordsCount(t,e),o=(s-r)*8;for(i.getLengthInBits()+4<=o&&i.put(0,4);i.getLengthInBits()%8!==0;)i.putBit(0);const a=(o-i.getLengthInBits())/8;for(let l=0;l=7&&bW(l,e),yW(l,r),isNaN(s)&&(s=uh.getBestMask(l,_d.bind(null,l,n))),uh.applyMask(s,l),_d(l,n,s),{modules:l,version:e,errorCorrectionLevel:n,maskPattern:s,segments:i}}g1.create=function(e,n){if(typeof e>"u"||e==="")throw new Error("No input text");let s=gd.M,i,o;return typeof n<"u"&&(s=gd.from(n.errorCorrectionLevel,gd.M),i=Pc.from(n.version),o=uh.from(n.maskPattern),n.toSJISFunc&&hu.setToSJISFunction(n.toSJISFunc)),kW(e,i,s,o)};var E1={},Wf={};(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 s=n.slice().replace("#","").split("");if(s.length<3||s.length===5||s.length>8)throw new Error("Invalid hex color: "+n);(s.length===3||s.length===4)&&(s=Array.prototype.concat.apply([],s.map(function(o){return[o,o]}))),s.length===6&&s.push("F","F");const i=parseInt(s.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+s.slice(0,6).join("")}}t.getOptions=function(s){s||(s={}),s.color||(s.color={});const i=typeof s.margin>"u"||s.margin===null||s.margin<0?4:s.margin,o=s.width&&s.width>=21?s.width:void 0,r=s.scale||4;return{width:o,scale:o?4:r,margin:i,color:{dark:e(s.color.dark||"#000000ff"),light:e(s.color.light||"#ffffffff")},type:s.type,rendererOpts:s.rendererOpts||{}}},t.getScale=function(s,i){return i.width&&i.width>=s+i.margin*2?i.width/(s+i.margin*2):i.scale},t.getImageWidth=function(s,i){const o=t.getScale(s,i);return Math.floor((s+i.margin*2)*o)},t.qrToImageData=function(s,i,o){const r=i.modules.size,a=i.modules.data,l=t.getScale(r,o),c=Math.floor((r+o.margin*2)*l),u=o.margin*l,d=[o.color.light,o.color.dark];for(let f=0;f=u&&g>=u&&f"u"&&(!r||!r.getContext)&&(l=r,r=void 0),r||(c=s()),l=e.getOptions(l);const u=e.getImageWidth(o.modules.size,l),d=c.getContext("2d"),f=d.createImageData(u,u);return e.qrToImageData(f.data,o,l),n(d,c,u),d.putImageData(f,0,0),c},t.renderToDataURL=function(o,r,a){let l=a;typeof l>"u"&&(!r||!r.getContext)&&(l=r,r=void 0),l||(l={});const c=t.render(o,r,l),u=l.type||"image/png",d=l.rendererOpts||{};return c.toDataURL(u,d.quality)}})(E1);var P1={};const SW=Wf;function X_(t,e){const n=t.a/255,s=e+'="'+t.hex+'"';return n<1?s+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':s}function vd(t,e,n){let s=t+e;return typeof n<"u"&&(s+=" "+n),s}function $W(t,e,n){let s="",i=0,o=!1,r=0;for(let a=0;a0&&l>0&&t[a-1]||(s+=o?vd("M",l+n,.5+c+n):vd("m",i,0),i=0,o=!1),l+1':"",c="',u='viewBox="0 0 '+a+" "+a+'"',f=''+l+c+` -`;return typeof s=="function"&&s(null,f),f};const AW=Bj,hh=g1,T1=E1,CW=P1;function zf(t,e,n,s,i){const o=[].slice.call(arguments,1),r=o.length,a=typeof o[r-1]=="function";if(!a&&!AW())throw new Error("Callback required as last argument");if(a){if(r<2)throw new Error("Too few arguments provided");r===2?(i=n,n=e,e=s=void 0):r===3&&(e.getContext&&typeof i>"u"?(i=s,s=void 0):(i=s,s=n,n=e,e=void 0))}else{if(r<1)throw new Error("Too few arguments provided");return r===1?(n=e,e=s=void 0):r===2&&!e.getContext&&(s=n,n=e,e=void 0),new Promise(function(l,c){try{const u=hh.create(n,s);l(t(u,e,s))}catch(u){c(u)}})}try{const l=hh.create(n,s);i(null,t(l,e,s))}catch(l){i(l)}}Lo.create=hh.create;Lo.toCanvas=zf.bind(null,T1.render);Lo.toDataURL=zf.bind(null,T1.renderToDataURL);Lo.toString=zf.bind(null,function(t,e,n){return CW.render(t,n)});const EW={name:"peerQRCode",props:{peerConfigData:String},mounted(){Lo.toCanvas(document.querySelector("#qrcode"),this.peerConfigData,t=>{t&&console.error(t)})}},PW={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0"},TW={class:"container d-flex h-100 w-100"},MW={class:"m-auto modal-dialog-centered dashboardModal justify-content-center"},DW={class:"card rounded-3 shadow"},OW={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},IW=h("h4",{class:"mb-0"},"QR Code",-1),RW={class:"card-body"},LW={id:"qrcode",class:"rounded-3 shadow",ref:"qrcode"};function NW(t,e,n,s,i,o){return M(),F("div",PW,[h("div",TW,[h("div",MW,[h("div",DW,[h("div",OW,[IW,h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=r=>this.$emit("close"))})]),h("div",RW,[h("canvas",LW,null,512)])])])])])}const FW=We(EW,[["render",NW]]),BW={name:"nameInput",props:{bulk:Boolean,data:Object,saving:Boolean}},VW=h("label",{for:"peer_name_textbox",class:"form-label"},[h("small",{class:"text-muted"},"Name")],-1),HW=["disabled"];function jW(t,e,n,s,i,o){return M(),F("div",{class:Ce({inactiveField:this.bulk})},[VW,Oe(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving||this.bulk,"onUpdate:modelValue":e[0]||(e[0]=r=>this.data.name=r),id:"peer_name_textbox",placeholder:""},null,8,HW),[[je,this.data.name]])],2)}const WW=We(BW,[["render",jW]]),zW={name:"privatePublicKeyInput",props:{data:Object,saving:Boolean,bulk:Boolean},setup(){return{dashboardStore:Xe()}},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},checkMatching(){try{window.wireguard.generatePublicKey(this.keypair.privateKey)!==this.keypair.publicKey&&(this.error=!0,this.dashboardStore.newMessage("WGDashboard","Private Key and Public Key does not match.","danger"))}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()}}}},YW=h("label",{for:"peer_private_key_textbox",class:"form-label"},[h("small",{class:"text-muted"},[be("Private Key "),h("code",null,"(Required for QR Code and Download)")])],-1),UW={class:"input-group"},KW=["disabled"],qW=["disabled"],GW=h("i",{class:"bi bi-arrow-repeat"},null,-1),JW=[GW],XW={class:"d-flex"},QW=h("label",{for:"public_key",class:"form-label"},[h("small",{class:"text-muted"},[be("Public Key "),h("code",null,"(Required)")])],-1),ZW={class:"form-check form-switch ms-auto"},ez=["disabled"],tz=h("label",{class:"form-check-label",for:"enablePublicKeyEdit"},[h("small",null,"Edit")],-1),nz=["disabled"];function sz(t,e,n,s,i,o){return M(),F("div",{class:Ce(["d-flex gap-2 flex-column",{inactiveField:this.bulk}])},[h("div",null,[YW,h("div",UW,[Oe(h("input",{type:"text",class:Ce(["form-control form-control-sm rounded-start-3",{"is-invalid":this.error}]),"onUpdate:modelValue":e[0]||(e[0]=r=>this.keypair.privateKey=r),disabled:!this.editKey||this.bulk,onBlur:e[1]||(e[1]=r=>this.checkMatching()),id:"peer_private_key_textbox"},null,42,KW),[[je,this.keypair.privateKey]]),h("button",{class:"btn btn-outline-info btn-sm rounded-end-3",onClick:e[2]||(e[2]=r=>this.genKeyPair()),disabled:this.bulk,type:"button",id:"button-addon2"},JW,8,qW)])]),h("div",null,[h("div",XW,[QW,h("div",ZW,[Oe(h("input",{class:"form-check-input",type:"checkbox",role:"switch",disabled:this.bulk,id:"enablePublicKeyEdit","onUpdate:modelValue":e[3]||(e[3]=r=>this.editKey=r)},null,8,ez),[[_n,this.editKey]]),tz])]),Oe(h("input",{class:Ce(["form-control-sm form-control rounded-3",{"is-invalid":this.error}]),"onUpdate:modelValue":e[4]||(e[4]=r=>this.keypair.publicKey=r),onBlur:e[5]||(e[5]=r=>this.checkMatching()),disabled:!this.editKey||this.bulk,type:"text",id:"public_key"},null,42,nz),[[je,this.keypair.publicKey]])])],2)}const iz=We(zW,[["render",sz]]),oz={name:"allowedIPsInput",props:{data:Object,saving:Boolean,bulk:Boolean,availableIp:void 0},data(){return{allowedIp:[],availableIpSearchString:"",customAvailableIp:"",allowedIpFormatError:!1}},setup(){const t=Tn(),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))}},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 IP is invalid","danger"),!1)}},watch:{customAvailableIp(){this.allowedIpFormatError=!1},availableIp(){this.availableIp!==void 0&&this.availableIp.length>0&&this.addAllowedIp(this.availableIp[0])}},mounted(){}},ol=t=>(Ut("data-v-f69c864a"),t=t(),Kt(),t),rz=ol(()=>h("label",{for:"peer_allowed_ip_textbox",class:"form-label"},[h("small",{class:"text-muted"},[be("Allowed IPs "),h("code",null,"(Required)")])],-1)),az=["onClick"],lz=ol(()=>h("i",{class:"bi bi-x-circle-fill ms-1"},null,-1)),cz=[lz],uz={class:"d-flex gap-2 align-items-center"},dz={class:"input-group"},hz=["disabled"],fz=["disabled"],pz=ol(()=>h("i",{class:"bi bi-plus-lg"},null,-1)),gz=[pz],mz=ol(()=>h("small",{class:"text-muted"},"or",-1)),_z={class:"dropdown flex-grow-1"},vz=["disabled"],bz=ol(()=>h("i",{class:"bi bi-filter-circle me-2"},null,-1)),yz={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"}},wz={class:"px-3 pb-2 pt-1"},xz=["onClick"],kz={class:"me-auto"},Sz={key:0},$z={class:"px-3 text-muted"};function Az(t,e,n,s,i,o){return M(),F("div",{class:Ce({inactiveField:this.bulk})},[rz,h("div",{class:Ce(["d-flex gap-2 flex-wrap",{"mb-2":this.data.allowed_ips.length>0}])},[Se(Bi,{name:"list"},{default:Pe(()=>[(M(!0),F(Te,null,Ue(this.data.allowed_ips,(r,a)=>(M(),F("span",{class:"badge rounded-pill text-bg-success",key:r},[be(me(r)+" ",1),h("a",{role:"button",onClick:l=>this.data.allowed_ips.splice(a,1)},cz,8,az)]))),128))]),_:1})],2),h("div",uz,[h("div",dz,[Oe(h("input",{type:"text",class:Ce(["form-control form-control-sm rounded-start-3",{"is-invalid":this.allowedIpFormatError}]),placeholder:"Enter IP Address/CIDR","onUpdate:modelValue":e[0]||(e[0]=r=>i.customAvailableIp=r),disabled:n.bulk},null,10,hz),[[je,i.customAvailableIp]]),h("button",{class:"btn btn-outline-success btn-sm rounded-end-3",disabled:n.bulk||!this.customAvailableIp,onClick:e[1]||(e[1]=r=>this.addAllowedIp(this.customAvailableIp)),type:"button",id:"button-addon2"},gz,8,fz)]),mz,h("div",_z,[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"},[bz,be(" Pick Available IP ")],8,vz),this.availableIp?(M(),F("ul",yz,[h("li",null,[h("div",wz,[Oe(h("input",{class:"form-control form-control-sm rounded-3","onUpdate:modelValue":e[2]||(e[2]=r=>this.availableIpSearchString=r),placeholder:"Search..."},null,512),[[je,this.availableIpSearchString]])])]),(M(!0),F(Te,null,Ue(this.searchAvailableIps,r=>(M(),F("li",null,[h("a",{class:"dropdown-item d-flex",role:"button",onClick:a=>this.addAllowedIp(r)},[h("span",kz,[h("small",null,me(r),1)])],8,xz)]))),256)),this.searchAvailableIps.length===0?(M(),F("li",Sz,[h("small",$z,'No available IP containing "'+me(this.availableIpSearchString)+'"',1)])):re("",!0)])):re("",!0)])])],2)}const Cz=We(oz,[["render",Az],["__scopeId","data-v-f69c864a"]]),Ez={name:"dnsInput",props:{data:Object,saving:Boolean},data(){return{error:!1,dns:JSON.parse(JSON.stringify(this.data.DNS))}},setup(){const t=Tn(),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 is invalid","danger"),this.error=!0,this.data.DNS="";return}this.error=!1,this.data.DNS=this.dns}}},watch:{dns(){this.checkDNS()}}},Pz=h("label",{for:"peer_DNS_textbox",class:"form-label"},[h("small",{class:"text-muted"},"DNS")],-1),Tz=["disabled"];function Mz(t,e,n,s,i,o){return M(),F("div",null,[Pz,Oe(h("input",{type:"text",class:Ce(["form-control form-control-sm rounded-3",{"is-invalid":this.error}]),disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=r=>this.dns=r),id:"peer_DNS_textbox"},null,10,Tz),[[je,this.dns]])])}const Dz=We(Ez,[["render",Mz]]),Oz={name:"endpointAllowedIps",props:{data:Object,saving:Boolean},setup(){const t=Tn(),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 IP is invalid.","danger"),this.data.endpoint_allowed_ip="",this.error=!0;return}this.error=!1,this.data.endpoint_allowed_ip=this.endpointAllowedIps}},watch:{endpointAllowedIps(){this.checkAllowedIP()}}},Iz=h("label",{for:"peer_endpoint_allowed_ips",class:"form-label"},[h("small",{class:"text-muted"},[be("Endpoint Allowed IPs "),h("code",null,"(Required)")])],-1),Rz=["disabled"];function Lz(t,e,n,s,i,o){return M(),F("div",null,[Iz,Oe(h("input",{type:"text",class:Ce(["form-control form-control-sm rounded-3",{"is-invalid":i.error}]),disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=r=>this.endpointAllowedIps=r),onBlur:e[1]||(e[1]=r=>this.checkAllowedIP()),id:"peer_endpoint_allowed_ips"},null,42,Rz),[[je,this.endpointAllowedIps]])])}const Nz=We(Oz,[["render",Lz]]),Fz={name:"presharedKeyInput",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=""}}},Bz={class:"d-flex align-items-start"},Vz=h("label",{for:"peer_preshared_key_textbox",class:"form-label"},[h("small",{class:"text-muted"},"Pre-Shared Key")],-1),Hz={class:"form-check form-switch ms-auto"},jz=["disabled"];function Wz(t,e,n,s,i,o){return M(),F("div",null,[h("div",Bz,[Vz,h("div",Hz,[Oe(h("input",{class:"form-check-input",type:"checkbox",role:"switch","onUpdate:modelValue":e[0]||(e[0]=r=>this.enable=r),id:"peer_preshared_key_switch"},null,512),[[_n,this.enable]])])]),Oe(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving||!this.enable,"onUpdate:modelValue":e[1]||(e[1]=r=>this.data.preshared_key=r),id:"peer_preshared_key_textbox"},null,8,jz),[[je,this.data.preshared_key]])])}const zz=We(Fz,[["render",Wz]]),Yz={name:"mtuInput",props:{data:Object,saving:Boolean}},Uz=h("label",{for:"peer_mtu",class:"form-label"},[h("small",{class:"text-muted"},"MTU")],-1),Kz=["disabled"];function qz(t,e,n,s,i,o){return M(),F("div",null,[Uz,Oe(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=r=>this.data.mtu=r),id:"peer_mtu"},null,8,Kz),[[je,this.data.mtu]])])}const Gz=We(Yz,[["render",qz]]),Jz={name:"persistentKeepAliveInput",props:{data:Object,saving:Boolean}},Xz=h("label",{for:"peer_keep_alive",class:"form-label"},[h("small",{class:"text-muted"},"Persistent Keepalive")],-1),Qz=["disabled"];function Zz(t,e,n,s,i,o){return M(),F("div",null,[Xz,Oe(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":e[0]||(e[0]=r=>this.data.keepalive=r),id:"peer_keep_alive"},null,8,Qz),[[je,this.data.keepalive]])])}const eY=We(Jz,[["render",Zz]]),tY={name:"bulkAdd",props:{saving:Boolean,data:Object,availableIp:void 0}},nY={class:"form-check form-switch"},sY=["disabled"],iY=h("label",{class:"form-check-label me-2",for:"bulk_add"},[h("small",null,[h("strong",null,"Bulk Add")])],-1),oY=h("small",{class:"text-muted d-block"}," By adding peers by bulk, each peer's name will be auto generated, and Allowed IP will be assign to the next available IP. ",-1),rY=[oY],aY={key:0,class:"form-group"},lY=["max"],cY={class:"text-muted"};function uY(t,e,n,s,i,o){return M(),F("div",null,[h("div",nY,[Oe(h("input",{class:"form-check-input",type:"checkbox",role:"switch",disabled:!this.availableIp,id:"bulk_add","onUpdate:modelValue":e[0]||(e[0]=r=>this.data.bulkAdd=r)},null,8,sY),[[_n,this.data.bulkAdd]]),iY]),h("p",{class:Ce({"mb-0":!this.data.bulkAdd})},rY,2),this.data.bulkAdd?(M(),F("div",aY,[Oe(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]=r=>this.data.bulkAddAmount=r),placeholder:"How many peers you want to add?"},null,8,lY),[[je,this.data.bulkAddAmount]]),h("small",cY,[be(" You can add up to "),h("strong",null,me(this.availableIp.length),1),be(" peers ")])])):re("",!0)])}const dY=We(tY,[["render",uY]]),hY={name:"peerCreate",components:{BulkAdd:dY,PersistentKeepAliveInput:eY,MtuInput:Gz,PresharedKeyInput:zz,EndpointAllowedIps:Nz,DnsInput:Dz,AllowedIPsInput:Cz,PrivatePublicKeyInput:iz,NameInput:WW},data(){return{data:{bulkAdd:!1,bulkAddAmount:"",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(){wt("/api/getAvailableIPs/"+this.$route.params.id,{},t=>{t.status&&(this.availableIp=t.data)})},setup(){const t=Tn(),e=Xe();return{store:t,dashboardStore:e}},methods:{peerCreate(){this.saving=!0,ht("/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 create 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)}}},fu=t=>(Ut("data-v-7d433383"),t=t(),Kt(),t),fY={class:"container"},pY={class:"mb-4"},gY=fu(()=>h("h3",{class:"mb-0 text-body"},[h("i",{class:"bi bi-chevron-left"})],-1)),mY=fu(()=>h("h3",{class:"text-body mb-0"},"Add Peers",-1)),_Y={class:"d-flex flex-column gap-2"},vY=fu(()=>h("hr",{class:"mb-0 mt-2"},null,-1)),bY=fu(()=>h("hr",{class:"mb-0 mt-2"},null,-1)),yY={class:"row gy-3"},wY={key:0,class:"col-sm"},xY={class:"col-sm"},kY={class:"col-sm"},SY={key:1,class:"col-12"},$Y={class:"form-check form-switch"},AY={class:"form-check-label",for:"bullAdd_PresharedKey_Switch"},CY={class:"d-flex mt-2"},EY=["disabled"],PY={key:0,class:"bi bi-plus-circle-fill me-2"};function TY(t,e,n,s,i,o){const r=He("RouterLink"),a=He("BulkAdd"),l=He("NameInput"),c=He("PrivatePublicKeyInput"),u=He("AllowedIPsInput"),d=He("EndpointAllowedIps"),f=He("DnsInput"),g=He("PresharedKeyInput"),_=He("MtuInput"),m=He("PersistentKeepAliveInput");return M(),F("div",fY,[h("div",pY,[Se(r,{to:"peers",is:"div",class:"d-flex align-items-center gap-4 text-decoration-none"},{default:Pe(()=>[gY,mY]),_:1})]),h("div",_Y,[Se(a,{saving:i.saving,data:this.data,availableIp:this.availableIp},null,8,["saving","data","availableIp"]),vY,this.data.bulkAdd?re("",!0):(M(),Le(l,{key:0,saving:i.saving,data:this.data},null,8,["saving","data"])),this.data.bulkAdd?re("",!0):(M(),Le(c,{key:1,saving:i.saving,data:i.data},null,8,["saving","data"])),this.data.bulkAdd?re("",!0):(M(),Le(u,{key:2,availableIp:this.availableIp,saving:i.saving,data:i.data},null,8,["availableIp","saving","data"])),Se(d,{saving:i.saving,data:i.data},null,8,["saving","data"]),Se(f,{saving:i.saving,data:i.data},null,8,["saving","data"]),bY,h("div",yY,[this.data.bulkAdd?re("",!0):(M(),F("div",wY,[Se(g,{saving:i.saving,data:i.data,bulk:this.data.bulkAdd},null,8,["saving","data","bulk"])])),h("div",xY,[Se(_,{saving:i.saving,data:i.data},null,8,["saving","data"])]),h("div",kY,[Se(m,{saving:i.saving,data:i.data},null,8,["saving","data"])]),this.data.bulkAdd?(M(),F("div",SY,[h("div",$Y,[Oe(h("input",{class:"form-check-input",type:"checkbox",role:"switch","onUpdate:modelValue":e[0]||(e[0]=b=>this.data.preshared_key_bulkAdd=b),id:"bullAdd_PresharedKey_Switch",checked:""},null,512),[[_n,this.data.preshared_key_bulkAdd]]),h("label",AY," Pre-Share Key "+me(this.data.preshared_key_bulkAdd?"Enabled":"Disabled"),1)])])):re("",!0)]),h("div",CY,[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]=b=>this.peerCreate())},[this.saving?re("",!0):(M(),F("i",PY)),be(" "+me(this.saving?"Saving...":"Add"),1)],8,EY)])])])}const M1=We(hY,[["render",TY],["__scopeId","data-v-7d433383"]]),MY={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)}}},DY={class:"dropdown scheduleDropdown"},OY={class:"dropdown-menu rounded-3 shadow",style:{"font-size":"0.875rem",width:"200px"}},IY=["onClick"],RY={key:0,class:"bi bi-check ms-auto"};function LY(t,e,n,s,i,o){return M(),F("div",DY,[h("button",{class:Ce(["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,me(this.currentSelection.display),1)],2),h("ul",OY,[n.edit?(M(!0),F(Te,{key:0},Ue(this.options,r=>(M(),F("li",null,[h("a",{class:"dropdown-item d-flex align-items-center",role:"button",onClick:a=>t.$emit("update",r.value)},[h("samp",null,me(r.display),1),r.value===this.currentSelection.value?(M(),F("i",RY)):re("",!0)],8,IY)]))),256)):re("",!0)])])}const D1=We(MY,[["render",LY],["__scopeId","data-v-6a5aba2a"]]),NY={name:"schedulePeerJob",components:{VueDatePicker:Za,ScheduleDropdown:D1},props:{dropdowns:Array[Object],pjob:Object,viewOnly:!1},setup(t){const e=ve({}),n=ve(!1),s=ve(!1);e.value=JSON.parse(JSON.stringify(t.pjob)),e.value.CreationDate||(n.value=!0,s.value=!0);const i=Xe();return{job:e,edit:n,newJob:s,store:i}},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?ht("/api/savePeerScheduleJob/",{Job:this.job},t=>{t.status?(this.edit=!1,this.store.newMessage("Server","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(s=>s.classList.add("animate__animated",t)),n.forEach(s=>s.classList.add("animate__animated",t)),setTimeout(()=>{e.forEach(s=>s.classList.remove("animate__animated",t)),n.forEach(s=>s.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&&ht("/api/deletePeerScheduleJob/",{Job:this.job},t=>{t.status?this.store.newMessage("Server","Job Deleted!","success"):(this.store.newMessage("Server",t.message,"danger"),this.$emit("delete"))}),this.$emit("delete")},parseTime(t){t&&(this.job.Value=Cn(t).format("YYYY-MM-DD HH:mm:ss"))}}},Fr=t=>(Ut("data-v-811b149e"),t=t(),Kt(),t),FY={class:"card-header bg-transparent text-muted border-0"},BY={key:0,class:"d-flex"},VY=Fr(()=>h("strong",{class:"me-auto"},"Job ID",-1)),HY={key:1},jY=Fr(()=>h("span",{class:"badge text-bg-warning"},"Unsaved Job",-1)),WY=[jY],zY={class:"card-body pt-1",style:{"font-family":"var(--bs-font-monospace)"}},YY={class:"d-flex gap-2 align-items-center mb-2"},UY=Fr(()=>h("samp",null," if ",-1)),KY=Fr(()=>h("samp",null," is ",-1)),qY=["disabled"],GY={class:"px-5 d-flex gap-2 align-items-center"},JY=Fr(()=>h("samp",null,"then",-1)),XY={class:"d-flex gap-3"},QY=Fr(()=>h("samp",null,"}",-1)),ZY={key:0,class:"ms-auto d-flex gap-3"},eU={key:1,class:"ms-auto d-flex gap-3"};function tU(t,e,n,s,i,o){const r=He("ScheduleDropdown"),a=He("VueDatePicker");return M(),F("div",{class:Ce(["card shadow-sm rounded-3 mb-2",{"border-warning-subtle":this.newJob}])},[h("div",FY,[this.newJob?(M(),F("small",HY,WY)):(M(),F("small",BY,[VY,h("samp",null,me(this.job.JobID),1)]))]),h("div",zY,[h("div",YY,[UY,Se(r,{edit:s.edit,options:this.dropdowns.Field,data:this.job.Field,onUpdate:e[0]||(e[0]=l=>{this.job.Field=l})},null,8,["edit","options","data"]),KY,Se(r,{edit:s.edit,options:this.dropdowns.Operator,data:this.job.Operator,onUpdate:e[1]||(e[1]=l=>this.job.Operator=l)},null,8,["edit","options","data"]),this.job.Field==="date"?(M(),Le(a,{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:!s.edit,dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","disabled","dark"])):Oe((M(),F("input",{key:1,class:"form-control form-control-sm form-control-dark rounded-3 flex-grow-1",disabled:!s.edit,"onUpdate:modelValue":e[2]||(e[2]=l=>this.job.Value=l),style:{width:"auto"}},null,8,qY)),[[je,this.job.Value]]),h("samp",null,me(this.dropdowns.Field.find(l=>l.value===this.job.Field)?.unit)+" { ",1)]),h("div",GY,[JY,Se(r,{edit:s.edit,options:this.dropdowns.Action,data:this.job.Action,onUpdate:e[3]||(e[3]=l=>this.job.Action=l)},null,8,["edit","options","data"])]),h("div",XY,[QY,this.edit?(M(),F("div",eU,[h("a",{role:"button",class:"text-secondary text-decoration-none",onClick:e[6]||(e[6]=l=>this.reset())},"[C] Cancel"),h("a",{role:"button",class:"text-primary ms-auto text-decoration-none",onClick:e[7]||(e[7]=l=>this.save())},"[S] Save")])):(M(),F("div",ZY,[h("a",{role:"button",class:"ms-auto text-decoration-none",onClick:e[4]||(e[4]=l=>this.edit=!0)},"[E] Edit"),h("a",{role:"button",onClick:e[5]||(e[5]=l=>this.delete()),class:"text-danger text-decoration-none"},"[D] Delete")]))])])],2)}const O1=We(NY,[["render",tU],["__scopeId","data-v-811b149e"]]),nU={name:"peerJobs",setup(){return{store:Tn()}},props:{selectedPeer:Object},components:{SchedulePeerJob:O1,ScheduleDropdown:D1},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:Ps().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})))}}},Yf=t=>(Ut("data-v-31a1606a"),t=t(),Kt(),t),sU={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},iU={class:"container d-flex h-100 w-100"},oU={class:"m-auto modal-dialog-centered dashboardModal"},rU={class:"card rounded-3 shadow",style:{width:"700px"}},aU={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},lU=Yf(()=>h("h4",{class:"mb-0 fw-normal"},[be("Schedule Jobs "),h("strong")],-1)),cU={class:"card-body px-4 pb-4 pt-2 position-relative"},uU={class:"d-flex align-items-center mb-3"},dU=Yf(()=>h("i",{class:"bi bi-plus-lg me-2"},null,-1)),hU={class:"card shadow-sm",key:"none",style:{height:"153px"}},fU=Yf(()=>h("div",{class:"card-body text-muted text-center d-flex"},[h("h6",{class:"m-auto"},"This peer does not have any job yet.")],-1)),pU=[fU];function gU(t,e,n,s,i,o){const r=He("SchedulePeerJob");return M(),F("div",sU,[h("div",iU,[h("div",oU,[h("div",rU,[h("div",aU,[lU,h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=a=>this.$emit("close"))})]),h("div",cU,[h("div",uU,[h("button",{class:"btn bg-primary-subtle border-1 border-primary-subtle text-primary-emphasis rounded-3 shadow",onClick:e[1]||(e[1]=a=>this.addJob())},[dU,be(" Job ")])]),Se(Bi,{name:"schedulePeerJobTransition",tag:"div",class:"position-relative"},{default:Pe(()=>[(M(!0),F(Te,null,Ue(this.selectedPeer.jobs,(a,l)=>(M(),Le(r,{onRefresh:e[2]||(e[2]=c=>this.$emit("refresh")),onDelete:c=>this.deleteJob(a),dropdowns:this.store.PeerScheduleJobs.dropdowns,key:a.JobID,pjob:a},null,8,["onDelete","dropdowns","pjob"]))),128)),this.selectedPeer.jobs.length===0?(M(),F("div",hU,pU)):re("",!0)]),_:1})])])])])])}const mU=We(nU,[["render",gU],["__scopeId","data-v-31a1606a"]]),_U={name:"peerJobsAllModal",setup(){return{store:Tn()}},components:{SchedulePeerJob:O1},props:{configurationPeers:Array[Object]},methods:{getuuid(){return Ps()}},computed:{getAllJobs(){return this.configurationPeers.filter(t=>t.jobs.length>0)}}},vU={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},bU={class:"container d-flex h-100 w-100"},yU={class:"m-auto modal-dialog-centered dashboardModal"},wU={class:"card rounded-3 shadow",style:{width:"700px"}},xU={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},kU=h("h4",{class:"mb-0 fw-normal"},"All Active Jobs ",-1),SU={class:"card-body px-4 pb-4 pt-2"},$U={key:0,class:"accordion",id:"peerJobsLogsModalAccordion"},AU={class:"accordion-header"},CU=["data-bs-target"],EU={key:0},PU={class:"text-muted"},TU=["id"],MU={class:"accordion-body"},DU={key:1,class:"card shadow-sm",style:{height:"153px"}},OU=h("div",{class:"card-body text-muted text-center d-flex"},[h("h6",{class:"m-auto"},"No active job at the moment.")],-1),IU=[OU];function RU(t,e,n,s,i,o){const r=He("SchedulePeerJob");return M(),F("div",vU,[h("div",bU,[h("div",yU,[h("div",wU,[h("div",xU,[kU,h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=a=>this.$emit("close"))})]),h("div",SU,[this.getAllJobs.length>0?(M(),F("div",$U,[(M(!0),F(Te,null,Ue(this.getAllJobs,(a,l)=>(M(),F("div",{class:"accordion-item",key:a.id},[h("h2",AU,[h("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapse_"+l},[h("small",null,[h("strong",null,[a.name?(M(),F("span",EU,me(a.name)+" • ",1)):re("",!0),h("samp",PU,me(a.id),1)])])],8,CU)]),h("div",{id:"collapse_"+l,class:"accordion-collapse collapse","data-bs-parent":"#peerJobsLogsModalAccordion"},[h("div",MU,[(M(!0),F(Te,null,Ue(a.jobs,c=>(M(),Le(r,{onDelete:e[1]||(e[1]=u=>this.$emit("refresh")),onRefresh:e[2]||(e[2]=u=>this.$emit("refresh")),dropdowns:this.store.PeerScheduleJobs.dropdowns,viewOnly:!0,key:c.JobID,pjob:c},null,8,["dropdowns","pjob"]))),128))])],8,TU)]))),128))])):(M(),F("div",DU,IU))])])])])])}const LU=We(_U,[["render",RU]]),NU={name:"peerJobsLogsModal",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 wt(`/api/getPeerScheduleJobLogs/${this.configurationInfo.Name}`,{},t=>{this.data=t.data,this.logFetchTime=Cn().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)}}},FU={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},BU={class:"container-fluid d-flex h-100 w-100"},VU={class:"m-auto mt-0 modal-dialog-centered dashboardModal",style:{width:"100%"}},HU={class:"card rounded-3 shadow w-100"},jU={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},WU=h("h4",{class:"mb-0"},"Jobs Logs",-1),zU={class:"card-body px-4 pb-4 pt-2"},YU={key:0},UU={class:"mb-2 d-flex gap-3"},KU=h("i",{class:"bi bi-arrow-clockwise me-2"},null,-1),qU={class:"d-flex gap-3 align-items-center"},GU=h("span",{class:"text-muted"},"Filter",-1),JU={class:"form-check"},XU=h("label",{class:"form-check-label",for:"jobLogsShowSuccessCheck"},[h("span",{class:"badge text-success-emphasis bg-success-subtle"},"Success")],-1),QU={class:"form-check"},ZU=h("label",{class:"form-check-label",for:"jobLogsShowFailedCheck"},[h("span",{class:"badge text-danger-emphasis bg-danger-subtle"},"Failed")],-1),eK={class:"d-flex gap-3 align-items-center ms-auto"},tK=h("span",{class:"text-muted"},"Display",-1),nK={class:"form-check"},sK=h("label",{class:"form-check-label",for:"jobLogsShowJobIDCheck"}," Job ID ",-1),iK={class:"form-check"},oK=h("label",{class:"form-check-label",for:"jobLogsShowLogIDCheck"}," Log ID ",-1),rK={class:"table"},aK=h("th",{scope:"col"},"Date",-1),lK={key:0,scope:"col"},cK={key:1,scope:"col"},uK=h("th",{scope:"col"},"Status",-1),dK=h("th",{scope:"col"},"Message",-1),hK={style:{"font-size":"0.875rem"}},fK={scope:"row"},pK={key:0},gK={class:"text-muted"},mK={key:1},_K={class:"text-muted"},vK={class:"d-flex gap-2"},bK=h("i",{class:"bi bi-chevron-down me-2"},null,-1),yK=h("i",{class:"bi bi-chevron-up me-2"},null,-1),wK={key:1,class:"d-flex align-items-center flex-column"},xK=h("div",{class:"spinner-border text-body",role:"status"},[h("span",{class:"visually-hidden"},"Loading...")],-1),kK=[xK];function SK(t,e,n,s,i,o){return M(),F("div",FU,[h("div",BU,[h("div",VU,[h("div",HU,[h("div",jU,[WU,h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=r=>this.$emit("close"))})]),h("div",zU,[this.dataLoading?(M(),F("div",wK,kK)):(M(),F("div",YU,[h("p",null,"Updated at: "+me(this.logFetchTime),1),h("div",UU,[h("button",{onClick:e[1]||(e[1]=r=>this.fetchLog()),class:"btn btn-sm rounded-3 shadow-sm text-info-emphasis bg-info-subtle border-1 border-info-subtle me-1"},[KU,be(" Refresh ")]),h("div",qU,[GU,h("div",JU,[Oe(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[2]||(e[2]=r=>this.showSuccessJob=r),id:"jobLogsShowSuccessCheck"},null,512),[[_n,this.showSuccessJob]]),XU]),h("div",QU,[Oe(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[3]||(e[3]=r=>this.showFailedJob=r),id:"jobLogsShowFailedCheck"},null,512),[[_n,this.showFailedJob]]),ZU])]),h("div",eK,[tK,h("div",nK,[Oe(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[4]||(e[4]=r=>i.showJobID=r),id:"jobLogsShowJobIDCheck"},null,512),[[_n,i.showJobID]]),sK]),h("div",iK,[Oe(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[5]||(e[5]=r=>i.showLogID=r),id:"jobLogsShowLogIDCheck"},null,512),[[_n,i.showLogID]]),oK])])]),h("table",rK,[h("thead",null,[h("tr",null,[aK,i.showLogID?(M(),F("th",lK,"Log ID")):re("",!0),i.showJobID?(M(),F("th",cK,"Job ID")):re("",!0),uK,dK])]),h("tbody",null,[(M(!0),F(Te,null,Ue(this.showLogs,r=>(M(),F("tr",hK,[h("th",fK,me(r.LogDate),1),i.showLogID?(M(),F("td",pK,[h("samp",gK,me(r.LogID),1)])):re("",!0),i.showJobID?(M(),F("td",mK,[h("samp",_K,me(r.JobID),1)])):re("",!0),h("td",null,[h("span",{class:Ce(["badge",[r.Status==="1"?"text-success-emphasis bg-success-subtle":"text-danger-emphasis bg-danger-subtle"]])},me(r.Status==="1"?"Success":"Failed"),3)]),h("td",null,me(r.Message),1)]))),256))])]),h("div",vK,[this.getLogs.length>this.showLogAmount?(M(),F("button",{key:0,onClick:e[6]||(e[6]=r=>this.showLogAmount+=20),class:"btn btn-sm rounded-3 shadow-sm text-primary-emphasis bg-primary-subtle border-1 border-primary-subtle"},[bK,be(" Show More ")])):re("",!0),this.showLogAmount>20?(M(),F("button",{key:1,onClick:e[7]||(e[7]=r=>this.showLogAmount=20),class:"btn btn-sm rounded-3 shadow-sm text-primary-emphasis bg-primary-subtle border-1 border-primary-subtle"},[yK,be(" Collapse ")])):re("",!0)])]))])])])])])}const $K=We(NU,[["render",SK]]),AK={name:"peerShareLinkModal",props:{peer:Object},components:{VueDatePicker:Za},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,ht("/api/sharePeer/create",{Configuration:this.peer.configuration.Name,Peer:this.peer.id,ExpireDate:Cn().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 created successfully","success")):this.store.newMessage("Server","Share link failed to create. Reason: "+t.message,"danger"),this.loading=!1})},updateLinkExpireDate(){ht("/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=Cn().format("YYYY-MM-DD HH:mm:ss"),this.updateLinkExpireDate()},parseTime(t){t?this.dataCopy.ExpireDate=Cn(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}}},CK={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},EK={class:"container d-flex h-100 w-100"},PK={class:"m-auto modal-dialog-centered dashboardModal",style:{width:"500px"}},TK={class:"card rounded-3 shadow flex-grow-1"},MK={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4"},DK=h("h4",{class:"mb-0"},"Share Peer",-1),OK={key:0,class:"card-body px-4 pb-4"},IK={key:0},RK=h("h6",{class:"mb-3 text-muted"}," Currently the peer is not sharing ",-1),LK=["disabled"],NK=h("i",{class:"bi bi-send-fill me-2"},null,-1),FK=[NK],BK={key:1},VK={class:"d-flex gap-2 mb-4"},HK=h("i",{class:"bi bi-link-45deg"},null,-1),jK=["href"],WK={class:"d-flex flex-column gap-2 mb-3"},zK=h("small",null,[h("i",{class:"bi bi-calendar me-2"}),be(" Expire Date ")],-1),YK=["disabled"],UK=h("i",{class:"bi bi-send-slash-fill me-2"},null,-1),KK=[UK];function qK(t,e,n,s,i,o){const r=He("VueDatePicker");return M(),F("div",CK,[h("div",EK,[h("div",PK,[h("div",TK,[h("div",MK,[DK,h("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=a=>this.$emit("close"))})]),this.peer.ShareLink?(M(),F("div",OK,[this.dataCopy?(M(),F("div",BK,[h("div",VK,[HK,h("a",{href:this.getUrl,class:"text-decoration-none",target:"_blank"},me(o.getUrl),9,jK)]),h("div",WK,[zK,Se(r,{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]=a=>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:Ce({"animate__animated animate__flash animate__infinite animate__slower":this.loading})},KK,2),be(" "+me(this.loading?"Stop Sharing...":"Stop Sharing"),1)],8,YK)])):(M(),F("div",IK,[RK,h("button",{onClick:e[1]||(e[1]=a=>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:Ce({"animate__animated animate__flash animate__infinite animate__slower":this.loading})},FK,2),be(" "+me(this.loading?"Sharing...":"Start Sharing"),1)],8,LK)]))])):re("",!0)])])])])}const GK=We(AK,[["render",qK]]);ru.register(y6,au,L6,T6,I0,Z4,R0,L0,nV,tV,sV,iV,AH,EH,MH,YH,nh,GH,V6,rH,hH,pH,xH);const JK={name:"peerList",components:{PeerShareLinkModal:GK,PeerJobsLogsModal:$K,PeerJobsAllModal:LU,PeerJobs:mU,PeerCreate:M1,PeerQRCode:FW,PeerSettings:Fj,PeerSearch:K5,Peer:WF,Line:i8,Bar:s8},setup(){const t=Xe(),e=Tn(),n=ve(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}}},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,wt("/api/toggleWireguardConfiguration/",{configurationName:this.configurationInfo.Name},t=>{t.status?this.dashboardConfigurationStore.newMessage("Server",`${this.configurationInfo.Name} is - ${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){wt("/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(i=>i.total_sent+i.cumu_sent).reduce((i,o)=>i+o).toFixed(4),s=this.configurationPeers.map(i=>i.total_receive+i.cumu_receive).reduce((i,o)=>i+o).toFixed(4);this.historyDataSentDifference[this.historyDataSentDifference.length-1]!==n&&(this.historyDataSentDifference.length>0&&(this.historySentData={labels:[...this.historySentData.labels,Cn().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]!==s&&(this.historyDataReceivedDifference.length>0&&(this.historyReceiveData={labels:[...this.historyReceiveData.labels,Cn().format("HH:mm:ss A")],datasets:[{label:"Data Received",data:[...this.historyReceiveData.datasets[0].data,((s-this.historyDataReceivedDifference[this.historyDataReceivedDifference.length-1])*1e3).toFixed(4)],fill:!1,borderColor:"#0d6efd",tension:0}]}),this.historyDataReceivedDifference.push(s))}})},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 Nr(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)}}},fn=t=>(Ut("data-v-0de09f6d"),t=t(),Kt(),t),XK={key:0,class:"container-md"},QK={class:"d-flex align-items-center"},ZK=fn(()=>h("small",{CLASS:"text-muted"},"CONFIGURATION",-1)),e7={class:"d-flex align-items-center gap-3"},t7={class:"mb-0"},n7={class:"card rounded-3 bg-transparent shadow-sm ms-auto"},s7={class:"card-body py-2 d-flex align-items-center"},i7=fn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Status")],-1)),o7={class:"form-check form-switch ms-auto"},r7=["for"],a7={key:0,class:"spinner-border spinner-border-sm","aria-hidden":"true"},l7=["disabled","id"],c7={class:"row mt-3 gy-2 gx-2 mb-2"},u7={class:"col-6 col-lg-3"},d7={class:"card rounded-3 bg-transparent shadow-sm"},h7={class:"card-body py-2"},f7=fn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Address")],-1)),p7={class:"col-6 col-lg-3"},g7={class:"card rounded-3 bg-transparent shadow-sm"},m7={class:"card-body py-2"},_7=fn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Listen Port")],-1)),v7={style:{"word-break":"break-all"},class:"col-12 col-lg-6"},b7={class:"card rounded-3 bg-transparent shadow-sm"},y7={class:"card-body py-2"},w7=fn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Public Key")],-1)),x7={class:"row gx-2 gy-2 mb-2"},k7={class:"col-6 col-lg-3"},S7={class:"card rounded-3 bg-transparent shadow-sm"},$7={class:"card-body d-flex"},A7=fn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Connected Peers")],-1)),C7={class:"h4"},E7=fn(()=>h("i",{class:"bi bi-ethernet ms-auto h2 text-muted"},null,-1)),P7={class:"col-6 col-lg-3"},T7={class:"card rounded-3 bg-transparent shadow-sm"},M7={class:"card-body d-flex"},D7=fn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Total Usage")],-1)),O7={class:"h4"},I7=fn(()=>h("i",{class:"bi bi-arrow-down-up ms-auto h2 text-muted"},null,-1)),R7={class:"col-6 col-lg-3"},L7={class:"card rounded-3 bg-transparent shadow-sm"},N7={class:"card-body d-flex"},F7=fn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Total Received")],-1)),B7={class:"h4 text-primary"},V7=fn(()=>h("i",{class:"bi bi-arrow-down ms-auto h2 text-muted"},null,-1)),H7={class:"col-6 col-lg-3"},j7={class:"card rounded-3 bg-transparent shadow-sm"},W7={class:"card-body d-flex"},z7=fn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Total Sent")],-1)),Y7={class:"h4 text-success"},U7=fn(()=>h("i",{class:"bi bi-arrow-up ms-auto h2 text-muted"},null,-1)),K7={class:"row gx-2 gy-2 mb-3"},q7={class:"col-12 col-lg-6"},G7={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},J7=fn(()=>h("div",{class:"card-header bg-transparent border-0"},[h("small",{class:"text-muted"},"Peers Total Data Usage")],-1)),X7={class:"card-body pt-1"},Q7={class:"col-sm col-lg-3"},Z7={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},e9=fn(()=>h("div",{class:"card-header bg-transparent border-0"},[h("small",{class:"text-muted"},"Real Time Received Data Usage")],-1)),t9={class:"card-body pt-1"},n9={class:"col-sm col-lg-3"},s9={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},i9=fn(()=>h("div",{class:"card-header bg-transparent border-0"},[h("small",{class:"text-muted"},"Real Time Sent Data Usage")],-1)),o9={class:"card-body pt-1"},r9={class:"mb-3"};function a9(t,e,n,s,i,o){const r=He("Bar"),a=He("Line"),l=He("PeerSearch"),c=He("Peer"),u=He("PeerSettings"),d=He("PeerQRCode"),f=He("PeerJobs"),g=He("PeerJobsAllModal"),_=He("PeerJobsLogsModal"),m=He("PeerShareLinkModal");return this.loading?re("",!0):(M(),F("div",XK,[h("div",QK,[h("div",null,[ZK,h("div",e7,[h("h1",t7,[h("samp",null,me(this.configurationInfo.Name),1)])])]),h("div",n7,[h("div",s7,[h("div",null,[i7,h("div",o7,[h("label",{class:"form-check-label",style:{cursor:"pointer"},for:"switch"+this.configurationInfo.id},[be(me(this.configurationToggling?"Turning ":"")+" "+me(this.configurationInfo.Status?"On":"Off")+" ",1),this.configurationToggling?(M(),F("span",a7)):re("",!0)],8,r7),Oe(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,l7),[[_n,this.configurationInfo.Status]])])]),h("div",{class:Ce(["dot ms-5",{active:this.configurationInfo.Status}])},null,2)])])]),h("div",c7,[h("div",u7,[h("div",d7,[h("div",h7,[f7,be(" "+me(this.configurationInfo.Address),1)])])]),h("div",p7,[h("div",g7,[h("div",m7,[_7,be(" "+me(this.configurationInfo.ListenPort),1)])])]),h("div",v7,[h("div",b7,[h("div",y7,[w7,h("samp",null,me(this.configurationInfo.PublicKey),1)])])])]),h("div",x7,[h("div",k7,[h("div",S7,[h("div",$7,[h("div",null,[A7,h("strong",C7,me(o.configurationSummary.connectedPeers),1)]),E7])])]),h("div",P7,[h("div",T7,[h("div",M7,[h("div",null,[D7,h("strong",O7,me(o.configurationSummary.totalUsage)+" GB",1)]),I7])])]),h("div",R7,[h("div",L7,[h("div",N7,[h("div",null,[F7,h("strong",B7,me(o.configurationSummary.totalReceive)+" GB",1)]),V7])])]),h("div",H7,[h("div",j7,[h("div",W7,[h("div",null,[z7,h("strong",Y7,me(o.configurationSummary.totalSent)+" GB",1)]),U7])])])]),h("div",K7,[h("div",q7,[h("div",G7,[J7,h("div",X7,[Se(r,{data:o.individualDataUsage,options:o.individualDataUsageChartOption,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["data","options"])])])]),h("div",Q7,[h("div",Z7,[e9,h("div",t9,[Se(a,{options:o.chartOptions,data:o.receiveData,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])]),h("div",n9,[h("div",s9,[i9,h("div",o9,[Se(a,{options:o.chartOptions,data:o.sentData,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])])]),h("div",r9,[Se(l,{onJobsAll:e[2]||(e[2]=b=>this.peerScheduleJobsAll.modalOpen=!0),onJobLogs:e[3]||(e[3]=b=>this.peerScheduleJobsLogs.modalOpen=!0),configuration:this.configurationInfo},null,8,["configuration"]),Se(Bi,{name:"list",tag:"div",class:"row gx-2 gy-2 z-0"},{default:Pe(()=>[(M(!0),F(Te,null,Ue(this.searchPeers,b=>(M(),F("div",{class:"col-12 col-lg-6 col-xl-4",key:b.id},[Se(c,{Peer:b,onShare:w=>{this.peerShare.selectedPeer=b.id,this.peerShare.modalOpen=!0},onRefresh:e[4]||(e[4]=w=>this.getPeers()),onJobs:w=>{i.peerScheduleJobs.modalOpen=!0,i.peerScheduleJobs.selectedPeer=this.configurationPeers.find($=>$.id===b.id)},onSetting:w=>{i.peerSetting.modalOpen=!0,i.peerSetting.selectedPeer=this.configurationPeers.find($=>$.id===b.id)},onQrcode:e[5]||(e[5]=w=>{this.peerQRCode.peerConfigData=w,this.peerQRCode.modalOpen=!0})},null,8,["Peer","onShare","onJobs","onSetting"])]))),128))]),_:1})]),Se(At,{name:"zoom"},{default:Pe(()=>[this.peerSetting.modalOpen?(M(),Le(u,{key:"settings",selectedPeer:this.peerSetting.selectedPeer,onRefresh:e[6]||(e[6]=b=>this.getPeers()),onClose:e[7]||(e[7]=b=>this.peerSetting.modalOpen=!1)},null,8,["selectedPeer"])):re("",!0)]),_:1}),Se(At,{name:"zoom"},{default:Pe(()=>[i.peerQRCode.modalOpen?(M(),Le(d,{peerConfigData:this.peerQRCode.peerConfigData,key:"qrcode",onClose:e[8]||(e[8]=b=>this.peerQRCode.modalOpen=!1)},null,8,["peerConfigData"])):re("",!0)]),_:1}),Se(At,{name:"zoom"},{default:Pe(()=>[this.peerScheduleJobs.modalOpen?(M(),Le(f,{key:0,onRefresh:e[9]||(e[9]=b=>this.getPeers()),selectedPeer:this.peerScheduleJobs.selectedPeer,onClose:e[10]||(e[10]=b=>this.peerScheduleJobs.modalOpen=!1)},null,8,["selectedPeer"])):re("",!0)]),_:1}),Se(At,{name:"zoom"},{default:Pe(()=>[this.peerScheduleJobsAll.modalOpen?(M(),Le(g,{key:0,onRefresh:e[11]||(e[11]=b=>this.getPeers()),onClose:e[12]||(e[12]=b=>this.peerScheduleJobsAll.modalOpen=!1),configurationPeers:this.configurationPeers},null,8,["configurationPeers"])):re("",!0)]),_:1}),Se(At,{name:"zoom"},{default:Pe(()=>[this.peerScheduleJobsLogs.modalOpen?(M(),Le(_,{key:0,onClose:e[13]||(e[13]=b=>this.peerScheduleJobsLogs.modalOpen=!1),configurationInfo:this.configurationInfo},null,8,["configurationInfo"])):re("",!0)]),_:1}),Se(At,{name:"zoom"},{default:Pe(()=>[this.peerShare.modalOpen?(M(),Le(m,{key:0,onClose:e[14]||(e[14]=b=>{this.peerShare.modalOpen=!1,this.peerShare.selectedPeer=void 0}),peer:this.configurationPeers.find(b=>b.id===this.peerShare.selectedPeer)},null,8,["peer"])):re("",!0)]),_:1})]))}const l9=We(JK,[["render",a9],["__scopeId","data-v-0de09f6d"]]),c9={name:"ping",data(){return{loading:!1,cips:{},selectedConfiguration:void 0,selectedPeer:void 0,selectedIp:void 0,count:4,pingResult:void 0,pinging:!1}},setup(){return{store:Xe()}},mounted(){wt("/api/ping/getAllPeersIpAddress",{},t=>{t.status&&(this.loading=!0,this.cips=t.data,console.log(this.cips))})},methods:{execute(){this.selectedIp&&(this.pinging=!0,this.pingResult=void 0,wt("/api/ping/execute",{ipAddress:this.selectedIp,count:this.count},t=>{t.status?this.pingResult=t.data:this.store.newMessage("Server",t.message,"danger")}))}},watch:{selectedConfiguration(){this.selectedPeer=void 0,this.selectedIp=void 0},selectedPeer(){this.selectedIp=void 0}}},Vn=t=>(Ut("data-v-7b32cdf7"),t=t(),Kt(),t),u9={class:"mt-md-5 mt-3 text-body"},d9={class:"container"},h9=Vn(()=>h("h3",{class:"mb-3 text-body"},"Ping",-1)),f9={class:"row"},p9={class:"col-sm-4 d-flex gap-2 flex-column"},g9=Vn(()=>h("label",{class:"mb-1 text-muted",for:"configuration"},[h("small",null,"Configuration")],-1)),m9=Vn(()=>h("option",{disabled:"",selected:"",value:void 0},"Select a Configuration...",-1)),_9=["value"],v9=Vn(()=>h("label",{class:"mb-1 text-muted",for:"peer"},[h("small",null,"Peer")],-1)),b9=["disabled"],y9=Vn(()=>h("option",{disabled:"",selected:"",value:void 0},"Select a Peer...",-1)),w9=["value"],x9=Vn(()=>h("label",{class:"mb-1 text-muted",for:"ip"},[h("small",null,"IP Address")],-1)),k9=["disabled"],S9=Vn(()=>h("option",{disabled:"",selected:"",value:void 0},"Select a IP...",-1)),$9=Vn(()=>h("label",{class:"mb-1 text-muted",for:"count"},[h("small",null,"Ping Count")],-1)),A9=["disabled"],C9=Vn(()=>h("i",{class:"bi bi-person-walking me-2"},null,-1)),E9={class:"col-sm-8"},P9={key:"pingPlaceholder"},T9={key:"pingResult",class:"d-flex flex-column gap-2 w-100"},M9={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.15s"}},D9={class:"card-body"},O9=Vn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Address")],-1)),I9={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.3s"}},R9={class:"card-body"},L9=Vn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Is Alive")],-1)),N9={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.45s"}},F9={class:"card-body"},B9=Vn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Average / Min / Max Round Trip Time")],-1)),V9={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.6s"}},H9={class:"card-body"},j9=Vn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Sent / Received / Lost Package")],-1));function W9(t,e,n,s,i,o){return M(),F("div",u9,[h("div",d9,[h9,h("div",f9,[h("div",p9,[h("div",null,[g9,Oe(h("select",{class:"form-select","onUpdate:modelValue":e[0]||(e[0]=r=>this.selectedConfiguration=r)},[m9,(M(!0),F(Te,null,Ue(this.cips,(r,a)=>(M(),F("option",{value:a},me(a),9,_9))),256))],512),[[nc,this.selectedConfiguration]])]),h("div",null,[v9,Oe(h("select",{id:"peer",class:"form-select","onUpdate:modelValue":e[1]||(e[1]=r=>this.selectedPeer=r),disabled:this.selectedConfiguration===void 0},[y9,this.selectedConfiguration!==void 0?(M(!0),F(Te,{key:0},Ue(this.cips[this.selectedConfiguration],(r,a)=>(M(),F("option",{value:a},me(a),9,w9))),256)):re("",!0)],8,b9),[[nc,this.selectedPeer]])]),h("div",null,[x9,Oe(h("select",{id:"ip",class:"form-select","onUpdate:modelValue":e[2]||(e[2]=r=>this.selectedIp=r),disabled:this.selectedPeer===void 0},[S9,this.selectedPeer!==void 0?(M(!0),F(Te,{key:0},Ue(this.cips[this.selectedConfiguration][this.selectedPeer].allowed_ips,r=>(M(),F("option",null,me(r),1))),256)):re("",!0)],8,k9),[[nc,this.selectedIp]])]),h("div",null,[$9,Oe(h("input",{class:"form-control",type:"number","onUpdate:modelValue":e[3]||(e[3]=r=>this.count=r),min:"1",id:"count",placeholder:"How many times you want to ping?"},null,512),[[je,this.count]])]),h("button",{class:"btn btn-primary rounded-3 mt-3",disabled:!this.selectedIp,onClick:e[4]||(e[4]=r=>this.execute())},[C9,be("Go! ")],8,A9)]),h("div",E9,[Se(Bi,{name:"ping"},{default:Pe(()=>[this.pingResult?(M(),F("div",T9,[h("div",M9,[h("div",D9,[O9,be(" "+me(this.pingResult.address),1)])]),h("div",I9,[h("div",R9,[L9,h("span",{class:Ce([this.pingResult.is_alive?"text-success":"text-danger"])},[h("i",{class:Ce(["bi me-1",[this.pingResult.is_alive?"bi-check-circle-fill":"bi-x-circle-fill"]])},null,2),be(" "+me(this.pingResult.is_alive?"Yes":"No"),1)],2)])]),h("div",N9,[h("div",F9,[B9,h("samp",null,me(this.pingResult.avg_rtt)+"ms / "+me(this.pingResult.min_rtt)+"ms / "+me(this.pingResult.max_rtt)+"ms ",1)])]),h("div",V9,[h("div",H9,[j9,h("samp",null,me(this.pingResult.package_sent)+" / "+me(this.pingResult.package_received)+" / "+me(this.pingResult.package_loss),1)])])])):(M(),F("div",P9,[(M(),F(Te,null,Ue(4,r=>h("div",{class:Ce(["pingPlaceholder bg-body-secondary rounded-3 mb-3",{"animate__animated animate__flash animate__slower animate__infinite":this.pinging}]),style:jt({"animation-delay":`${r*.15}s`})},null,6)),64))]))]),_:1})])])])])}const z9=We(c9,[["render",W9],["__scopeId","data-v-7b32cdf7"]]),Y9={name:"traceroute",data(){return{tracing:!1,ipAddress:void 0,tracerouteResult:void 0}},setup(){return{store:Tn()}},methods:{execute(){this.ipAddress&&(this.tracing=!0,this.tracerouteResult=void 0,wt("/api/traceroute/execute",{ipAddress:this.ipAddress},t=>{t.status?this.tracerouteResult=t.data:this.store.newMessage("Server",t.message,"danger"),this.tracing=!1}))}}},pu=t=>(Ut("data-v-606c2c93"),t=t(),Kt(),t),U9={class:"mt-md-5 mt-3 text-body"},K9={class:"container-md"},q9=pu(()=>h("h3",{class:"mb-3 text-body"},"Traceroute",-1)),G9={class:"row"},J9={class:"col-sm-4 d-flex gap-2 flex-column"},X9=pu(()=>h("label",{class:"mb-1 text-muted",for:"ipAddress"},[h("small",null,"IP Address")],-1)),Q9=["disabled"],Z9=pu(()=>h("i",{class:"bi bi-bullseye me-2"},null,-1)),eq={class:"col-sm-8 position-relative"},tq={key:"pingPlaceholder"},nq={key:"table",class:"w-100"},sq={class:"table table-borderless rounded-3 w-100"},iq=pu(()=>h("thead",null,[h("tr",null,[h("th",{scope:"col"},"Hop"),h("th",{scope:"col"},"IP Address"),h("th",{scope:"col"},"Average / Min / Max Round Trip Time")])],-1));function oq(t,e,n,s,i,o){return M(),F("div",U9,[h("div",K9,[q9,h("div",G9,[h("div",J9,[h("div",null,[X9,Oe(h("input",{id:"ipAddress",class:"form-control","onUpdate:modelValue":e[0]||(e[0]=r=>this.ipAddress=r),type:"text",placeholder:"Enter an IP Address you want to trace :)"},null,512),[[je,this.ipAddress]])]),h("button",{class:"btn btn-primary rounded-3 mt-3",disabled:!this.store.regexCheckIP(this.ipAddress)||this.tracing,onClick:e[1]||(e[1]=r=>this.execute())},[Z9,be(" "+me(this.tracing?"Tracing...":"Trace It!"),1)],8,Q9)]),h("div",eq,[Se(Bi,{name:"ping"},{default:Pe(()=>[this.tracerouteResult?(M(),F("div",nq,[h("table",sq,[iq,h("tbody",null,[(M(!0),F(Te,null,Ue(this.tracerouteResult,(r,a)=>(M(),F("tr",{class:"animate__fadeInUp animate__animated",style:jt({"animation-delay":`${a*.05}s`})},[h("td",null,me(r.hop),1),h("td",null,me(r.ip),1),h("td",null,me(r.avg_rtt)+" / "+me(r.min_rtt)+" / "+me(r.max_rtt),1)],4))),256))])])])):(M(),F("div",tq,[(M(),F(Te,null,Ue(10,r=>h("div",{class:Ce(["pingPlaceholder bg-body-secondary rounded-3 mb-3",{"animate__animated animate__flash animate__slower animate__infinite":this.tracing}]),style:jt({"animation-delay":`${r*.05}s`})},null,6)),64))]))]),_:1})])])])])}const rq=We(Y9,[["render",oq],["__scopeId","data-v-606c2c93"]]),aq={name:"totp",async setup(){const t=Xe();let e="";return await wt("/api/Welcome_GetTotpLink",{},n=>{n.status&&(e=n.data)}),{l:e,store:t}},mounted(){this.l&&Lo.toCanvas(document.getElementById("qrcode"),this.l,function(t){})},data(){return{totp:"",totpInvalidMessage:"",verified:!1}},methods:{validateTotp(){}},watch:{totp(t){const e=document.querySelector("#totp");e.classList.remove("is-invalid","is-valid"),t.length===6&&(console.log(t),/[0-9]{6}/.test(t)?ht("/api/Welcome_VerifyTotpLink",{totp:t},n=>{n.status?(this.verified=!0,e.classList.add("is-valid"),this.$emit("verified")):(e.classList.add("is-invalid"),this.totpInvalidMessage="TOTP does not match.")}):(e.classList.add("is-invalid"),this.totpInvalidMessage="TOTP can only contain numbers"))}}},lq=["data-bs-theme"],cq={class:"m-auto text-body",style:{width:"500px"}},uq={class:"d-flex flex-column"},dq=h("h1",{class:"dashboardLogo display-4"},"Multi-Factor Authentication",-1),hq=h("p",{class:"mb-2"},[h("small",{class:"text-muted"},"1. Please scan the following QR Code to generate TOTP")],-1),fq=h("canvas",{id:"qrcode",class:"rounded-3 mb-2"},null,-1),pq={class:"p-3 bg-body-secondary rounded-3 border mb-3"},gq=h("p",{class:"text-muted mb-0"},[h("small",null,"Or you can click the link below:")],-1),mq=["href"],_q={style:{"line-break":"anywhere"}},vq=h("label",{for:"totp",class:"mb-2"},[h("small",{class:"text-muted"},"2. Enter the TOTP generated by your authenticator to verify")],-1),bq={class:"form-group mb-2"},yq=["disabled"],wq={class:"invalid-feedback"},xq=h("div",{class:"valid-feedback"}," TOTP verified! ",-1),kq=h("div",{class:"alert alert-warning rounded-3"},[h("i",{class:"bi bi-exclamation-triangle-fill me-2"}),be(" If you ever lost your TOTP and can't login, please follow instruction on "),h("a",{href:"https://github.com/donaldzou/WGDashboard",target:"_blank"},"readme.md"),be(" to reset. ")],-1),Sq=h("hr",null,null,-1),$q={class:"d-flex gap-3 mt-5 flex-column"},Aq=h("i",{class:"bi bi-chevron-right ms-auto"},null,-1),Cq=h("i",{class:"bi bi-chevron-right ms-auto"},null,-1);function Eq(t,e,n,s,i,o){const r=He("RouterLink");return M(),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",cq,[h("div",uq,[h("div",null,[dq,hq,fq,h("div",pq,[gq,h("a",{href:this.l},[h("code",_q,me(this.l),1)],8,mq)]),vq,h("div",bq,[Oe(h("input",{class:"form-control text-center totp",id:"totp",maxlength:"6",type:"text",inputmode:"numeric",autocomplete:"one-time-code","onUpdate:modelValue":e[0]||(e[0]=a=>this.totp=a),disabled:this.verified},null,8,yq),[[je,this.totp]]),h("div",wq,me(this.totpInvalidMessage),1),xq]),kq]),Sq,h("div",$q,[this.verified?(M(),Le(r,{key:1,to:"/",class:"btn btn-dark btn-lg d-flex btn-brand shadow align-items-center flex-grow-1 rounded-3"},{default:Pe(()=>[be(" Complete "),Cq]),_:1})):(M(),Le(r,{key:0,to:"/",class:"btn bg-secondary-subtle text-secondary-emphasis rounded-3 flex-grow-1 btn-lg border-1 border-secondary-subtle shadow d-flex"},{default:Pe(()=>[be(" I don't need MFA "),Aq]),_:1}))])])])],8,lq)}const Pq=We(aq,[["render",Eq]]),Tq={name:"share",async setup(){const t=NE(),e=ve(!1),n=Xe(),s=ve(""),i=ve(""),o=ve(new Blob);await wt("/api/getDashboardTheme",{},a=>{s.value=a.data});const r=t.query.ShareID;return r===void 0||r.length===0?(i.value=void 0,e.value=!0):await wt("/api/sharePeer/get",{ShareID:r},a=>{a.status?(i.value=a.data,o.value=new Blob([i.value.file],{type:"text/plain"})):i.value=void 0,e.value=!0}),{store:n,theme:s,peerConfiguration:i,blob:o}},mounted(){Lo.toCanvas(document.querySelector("#qrcode"),this.peerConfiguration.file,t=>{t&&console.error(t)})},methods:{download(){const t=new Blob([this.peerConfiguration.file],{type:"text/plain"}),e=URL.createObjectURL(t),n=`${this.peerConfiguration.fileName}.conf`,s=document.createElement("a");s.href=e,s.download=n,s.click()}},computed:{getBlob(){return URL.createObjectURL(this.blob)}}},Uf=t=>(Ut("data-v-99d4b06a"),t=t(),Kt(),t),Mq=["data-bs-theme"],Dq={class:"m-auto text-body",style:{width:"500px"}},Oq={key:0,class:"text-center position-relative",style:{}},Iq=IA('

Oh no... This link is either expired or invalid.

',2),Rq=[Iq],Lq={key:1,class:"d-flex align-items-center flex-column gap-3"},Nq=Uf(()=>h("div",{class:"h1 dashboardLogo text-center animate__animated animate__fadeInUp"},[h("h6",null,"WGDashboard"),be(" Scan QR Code from the WireGuard App ")],-1)),Fq={id:"qrcode",class:"rounded-3 shadow animate__animated animate__fadeInUp mb-3",ref:"qrcode"},Bq=Uf(()=>h("p",{class:"text-muted animate__animated animate__fadeInUp mb-1",style:{"animation-delay":"0.2s"}},[be("or click the button below to download the "),h("samp",null,".conf"),be(" file")],-1)),Vq=["download","href"],Hq=Uf(()=>h("i",{class:"bi bi-download"},null,-1)),jq=[Hq];function Wq(t,e,n,s,i,o){return M(),F("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.theme},[h("div",Dq,[this.peerConfiguration?(M(),F("div",Lq,[Nq,h("canvas",Fq,null,512),Bq,h("a",{download:this.peerConfiguration.fileName+".conf",href:o.getBlob,class:"btn btn-lg bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle animate__animated animate__fadeInUp shadow-sm",style:{"animation-delay":"0.25s"}},jq,8,Vq)])):(M(),F("div",Oq,Rq))])],8,Mq)}const zq=We(Tq,[["render",Wq],["__scopeId","data-v-99d4b06a"]]),Yq=async()=>{let t=!1;return await wt("/api/validateAuthentication",{},e=>{t=e.status}),t},rl=RE({history:QC(),routes:[{name:"Index",path:"/",component:MP,meta:{requiresAuth:!0},children:[{name:"Configuration List",path:"",component:mM,meta:{title:"WireGuard Configurations"}},{name:"Settings",path:"/settings",component:S3,meta:{title:"Settings"}},{path:"/ping",name:"Ping",component:z9},{path:"/traceroute",name:"Traceroute",component:rq},{name:"New Configuration",path:"/new_configuration",component:r5,meta:{title:"New Configuration"}},{name:"Configuration",path:"/configuration/:id",component:u5,meta:{title:"Configuration"},children:[{name:"Peers List",path:"peers",component:l9},{name:"Peers Create",path:"create",component:M1}]}]},{path:"/signin",component:RT,meta:{title:"Sign In"}},{path:"/welcome",component:U3,meta:{requiresAuth:!0,title:"Welcome to WGDashboard"}},{path:"/2FASetup",component:Pq,meta:{requiresAuth:!0,title:"Multi-Factor Authentication Setup"}},{path:"/share",component:zq,meta:{title:"Share"}}]});rl.beforeEach(async(t,e,n)=>{const s=Tn(),i=Xe();t.meta.title?t.params.id?document.title=t.params.id+" | WGDashboard":document.title=t.meta.title+" | WGDashboard":document.title="WGDashboard",i.ShowNavBar=!1,t.meta.requiresAuth?i.getActiveCrossServer()?(await i.getConfiguration(),!s.Configurations&&t.name!=="Configuration List"&&await s.getConfigurations(),n()):FE.getCookie("authToken")&&await Yq()?(await i.getConfiguration(),!s.Configurations&&t.name!=="Configuration List"&&await s.getConfigurations(),i.Redirect=void 0,n()):(i.Redirect=t,n("/signin"),i.newMessage("WGDashboard","Session Ended","warning")):n()});const I1=()=>{let t={"content-type":"application/json"};const n=Xe().getActiveCrossServer();return n&&(t["wg-dashboard-apikey"]=n.apiKey),t},R1=t=>{const n=Xe().getActiveCrossServer();return n?`${n.host}${t}`:`${window.location.protocol}//${(window.location.host+window.location.pathname+t).replace(/\/\//g,"/")}`},wt=async(t,e=void 0,n=void 0)=>{const s=new URLSearchParams(e);await fetch(`${R1(t)}?${s.toString()}`,{headers:I1()}).then(i=>{const o=Xe();if(i.ok)return i.json();if(i.status!==200)throw i.status===401&&o.newMessage("WGDashboard","Session Ended","warning"),new Error(i.statusText)}).then(i=>n?n(i):void 0).catch(i=>{console.log(i),rl.push({path:"/signin"})})},ht=async(t,e,n)=>{await fetch(`${R1(t)}`,{headers:I1(),method:"POST",body:JSON.stringify(e)}).then(s=>{const i=Xe();if(s.ok)return s.json();if(s.status!==200)throw s.status===401&&i.newMessage("WGDashboard","Session Ended","warning"),new Error(s.statusText)}).then(s=>n?n(s):void 0).catch(s=>{console.log(s),rl.push({path:"/signin"})})},Xe=Qh("DashboardConfigurationStore",{state:()=>({Redirect:void 0,Configuration:void 0,Messages:[],Peers:{Selecting:!1,RefreshInterval:void 0},CrossServerConfiguration:{Enable:!1,ServerList:{}},ActiveServerConfiguration:void 0,IsElectronApp:!1,ShowNavBar:!1,Locale:{}}),actions:{initCrossServerConfiguration(){const t=localStorage.getItem("CrossServerConfiguration");localStorage.getItem("ActiveCrossServerConfiguration")!==null&&(this.ActiveServerConfiguration=localStorage.getItem("ActiveCrossServerConfiguration")),t===null?window.localStorage.setItem("CrossServerConfiguration",JSON.stringify(this.CrossServerConfiguration)):this.CrossServerConfiguration=JSON.parse(t)},syncCrossServerConfiguration(){window.localStorage.setItem("CrossServerConfiguration",JSON.stringify(this.CrossServerConfiguration))},addCrossServerConfiguration(){this.CrossServerConfiguration.ServerList[Ps().toString()]={host:"",apiKey:"",active:!1}},deleteCrossServerConfiguration(t){delete this.CrossServerConfiguration.ServerList[t]},getActiveCrossServer(){const t=localStorage.getItem("ActiveCrossServerConfiguration");if(t!==null)return this.CrossServerConfiguration.ServerList[t]},setActiveCrossServer(t){this.ActiveServerConfiguration=t,localStorage.setItem("ActiveCrossServerConfiguration",t)},removeActiveCrossServer(){this.ActiveServerConfiguration=void 0,localStorage.removeItem("ActiveCrossServerConfiguration")},async getConfiguration(){await wt("/api/getDashboardConfiguration",{},t=>{t.status&&(this.Configuration=t.data)})},async signOut(){await wt("/api/signout",{},t=>{this.removeActiveCrossServer(),this.$router.go("/signin")})},newMessage(t,e,n){this.Messages.push({id:Ps(),from:t,content:e,type:n,show:!0})},async getLocale(){await wt("/api/locale",{id:"zh-CN"},t=>{this.Locale=JSON.parse(t.data)})}}}),Kf=t=>(Ut("data-v-822f113b"),t=t(),Kt(),t),Uq={class:"navbar bg-dark sticky-top","data-bs-theme":"dark"},Kq={class:"container-fluid d-flex text-body align-items-center"},qq=Kf(()=>h("span",{class:"navbar-brand mb-0 h1"},"WGDashboard",-1)),Gq={key:0,class:"ms-auto text-muted"},Jq=Kf(()=>h("i",{class:"bi bi-server me-2"},null,-1)),Xq=Kf(()=>h("i",{class:"bi bi-list"},null,-1)),Qq=[Xq],Zq={__name:"App",setup(t){const e=Xe();e.initCrossServerConfiguration(),window.IS_WGDASHBOARD_DESKTOP&&(e.IsElectronApp=!0,e.CrossServerConfiguration.Enable=!0),Bt(e.CrossServerConfiguration,()=>{e.syncCrossServerConfiguration()},{deep:!0});const n=_e(()=>{if(e.ActiveServerConfiguration)return e.CrossServerConfiguration.ServerList[e.ActiveServerConfiguration]});return(s,i)=>(M(),F(Te,null,[h("nav",Uq,[h("div",Kq,[qq,n.value!==void 0?(M(),F("small",Gq,[Jq,be(me(n.value.host),1)])):re("",!0),h("a",{role:"button",class:"navbarBtn text-body",onClick:i[0]||(i[0]=o=>q(e).ShowNavBar=!q(e).ShowNavBar),style:{"line-height":"0","font-size":"2rem"}},Qq)])]),(M(),Le(Wh,null,{default:Pe(()=>[Se(q(iy),null,{default:Pe(({Component:o})=>[Se(At,{name:"app",mode:"out-in"},{default:Pe(()=>[(M(),Le(Mo(o)))]),_:2},1024)]),_:1})]),_:1}))],64))}},eG=We(Zq,[["__scopeId","data-v-822f113b"]]),qf=SC(eG);qf.use(rl);const L1=EC();L1.use(({store:t})=>{t.$router=Bc(rl)});qf.use(L1);const tG=Xe();await tG.getLocale();qf.mount("#app"); +Minimum version required to store current data is: `+r+`. +`);const o=N9(e,n,s),a=Rf.getSymbolSize(e),l=new T9(a);return R9(l,e),D9(l),$9(l,e),op(l,n,0),e>=7&&L9(l,e),O9(l,o),isNaN(i)&&(i=bm.getBestMask(l,op.bind(null,l,n))),bm.applyMask(i,l),op(l,n,i),{modules:l,version:e,errorCorrectionLevel:n,maskPattern:i,segments:s}}TT.create=function(e,n){if(typeof e>"u"||e==="")throw new Error("No input text");let i=sp.M,s,r;return typeof n<"u"&&(i=sp.from(n.errorCorrectionLevel,sp.M),s=Ph.from(n.version),r=bm.from(n.maskPattern),n.toSJISFunc&&Rf.setToSJISFunction(n.toSJISFunc)),B9(e,s,i,r)};var BT={},fy={};(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 h=0;h=u&&f>=u&&h"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"),h=d.createImageData(u,u);return e.qrToImageData(h.data,r,l),n(d,c,u),d.putImageData(h,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)}})(BT);var VT={};const V9=fy;function aw(t,e){const n=t.a/255,i=e+'="'+t.hex+'"';return n<1?i+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':i}function ap(t,e,n){let i=t+e;return typeof n<"u"&&(i+=" "+n),i}function z9(t,e,n){let i="",s=0,r=!1,o=0;for(let a=0;a0&&l>0&&t[a-1]||(i+=r?ap("M",l+n,.5+c+n):ap("m",s,0),s=0,r=!1),l+1':"",c="',u='viewBox="0 0 '+a+" "+a+'"',h=''+l+c+` +`;return typeof i=="function"&&i(null,h),h};const W9=t9,xm=TT,zT=BT,H9=VT;function gy(t,e,n,i,s){const r=[].slice.call(arguments,1),o=r.length,a=typeof r[o-1]=="function";if(!a&&!W9())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=xm.create(n,i);l(t(u,e,i))}catch(u){c(u)}})}try{const l=xm.create(n,i);s(null,t(l,e,i))}catch(l){s(l)}}va.create=xm.create;va.toCanvas=gy.bind(null,zT.render);va.toDataURL=gy.bind(null,zT.renderToDataURL);va.toString=gy.bind(null,function(t,e,n){return H9.render(t,n)});const Y9={name:"peerQRCode",components:{LocaleText:Qe},props:{peerConfigData:String},mounted(){va.toCanvas(document.querySelector("#qrcode"),this.peerConfigData,t=>{t&&console.error(t)})}},j9={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0"},K9={class:"container d-flex h-100 w-100"},U9={class:"m-auto modal-dialog-centered dashboardModal justify-content-center"},G9={class:"card rounded-3 shadow"},X9={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},q9={class:"mb-0"},Z9={class:"card-body"},J9={id:"qrcode",class:"rounded-3 shadow",ref:"qrcode"};function Q9(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",j9,[g("div",K9,[g("div",U9,[g("div",G9,[g("div",X9,[g("h4",q9,[B(o,{t:"QR Code"})]),g("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=a=>this.$emit("close"))})]),g("div",Z9,[g("canvas",J9,null,512)])])])])])}const eq=He(Y9,[["render",Q9]]),tq={name:"nameInput",components:{LocaleText:Qe},props:{bulk:Boolean,data:Object,saving:Boolean}},nq={for:"peer_name_textbox",class:"form-label"},iq={class:"text-muted"},sq=["disabled"];function rq(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",{class:Me({inactiveField:this.bulk})},[g("label",nq,[g("small",iq,[B(o,{t:"Name"})])]),Oe(g("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,sq),[[Ke,this.data.name]])],2)}const oq=He(tq,[["render",rq]]),aq={name:"privatePublicKeyInput",components:{LocaleText:Qe},props:{data:Object,saving:Boolean,bulk:Boolean},setup(){return{dashboardStore:nt()}},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.testKey(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()}}}},lq={for:"peer_private_key_textbox",class:"form-label"},cq={class:"text-muted"},uq={class:"input-group"},dq=["disabled"],hq=["disabled"],fq=g("i",{class:"bi bi-arrow-repeat"},null,-1),gq=[fq],pq={class:"d-flex"},mq={for:"public_key",class:"form-label"},_q={class:"text-muted"},yq={class:"form-check form-switch ms-auto"},vq=["disabled"],bq={class:"form-check-label",for:"enablePublicKeyEdit"},wq=["disabled"];function xq(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",{class:Me(["d-flex gap-2 flex-column",{inactiveField:this.bulk}])},[g("div",null,[g("label",lq,[g("small",cq,[B(o,{t:"Private Key"}),g("code",null,[B(o,{t:"(Required for QR Code and Download)"})])])]),g("div",uq,[Oe(g("input",{type:"text",class:Me(["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,dq),[[Ke,this.keypair.privateKey]]),g("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"},gq,8,hq)])]),g("div",null,[g("div",pq,[g("label",mq,[g("small",_q,[B(o,{t:"Public Key"}),g("code",null,[B(o,{t:"(Required)"})])])]),g("div",yq,[Oe(g("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,vq),[[Jn,this.editKey]]),g("label",bq,[g("small",null,[B(o,{t:"Use your own Private and Public Key"})])])])]),Oe(g("input",{class:Me(["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,wq),[[Ke,this.keypair.publicKey]])])],2)}const Eq=He(aq,[["render",xq]]),Sq={name:"allowedIPsInput",components:{LocaleText:Qe},props:{data:Object,saving:Boolean,bulk:Boolean,availableIp:void 0},data(){return{allowedIp:[],availableIpSearchString:"",customAvailableIp:"",allowedIpFormatError:!1}},setup(){const t=vi(),e=nt();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 Tt("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(){}},Df=t=>(bn("data-v-6d5fc831"),t=t(),wn(),t),Cq={for:"peer_allowed_ip_textbox",class:"form-label"},Tq={class:"text-muted"},kq=["onClick"],Aq=Df(()=>g("i",{class:"bi bi-x-circle-fill ms-1"},null,-1)),Mq=[Aq],Iq={class:"d-flex gap-2 align-items-center"},Pq={class:"input-group"},Rq=["placeholder","disabled"],Dq=["disabled"],$q=Df(()=>g("i",{class:"bi bi-plus-lg"},null,-1)),Lq=[$q],Oq={class:"text-muted"},Nq={class:"dropdown flex-grow-1"},Fq=["disabled"],Bq=Df(()=>g("i",{class:"bi bi-filter-circle me-2"},null,-1)),Vq={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"}},zq={class:"px-3 pb-2 pt-1 d-flex gap-3 align-items-center"},Wq=Df(()=>g("label",{for:"availableIpSearchString",class:"text-muted"},[g("i",{class:"bi bi-search"})],-1)),Hq=["onClick"],Yq={class:"me-auto"},jq={key:0},Kq={class:"px-3 text-muted"};function Uq(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",{class:Me({inactiveField:this.bulk})},[g("label",Cq,[g("small",Tq,[B(o,{t:"Allowed IPs"}),g("code",null,[B(o,{t:"(Required)"})])])]),g("div",{class:Me(["d-flex gap-2 flex-wrap",{"mb-2":this.data.allowed_ips.length>0}])},[B(jl,{name:"list"},{default:Re(()=>[(D(!0),V($e,null,Xe(this.data.allowed_ips,(a,l)=>(D(),V("span",{class:"badge rounded-pill text-bg-success",key:a},[Ye(xe(a)+" ",1),g("a",{role:"button",onClick:c=>this.data.allowed_ips.splice(l,1)},Mq,8,kq)]))),128))]),_:1})],2),g("div",Iq,[g("div",Pq,[Oe(g("input",{type:"text",class:Me(["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,Rq),[[Ke,s.customAvailableIp]]),g("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"},Lq,8,Dq)]),g("small",Oq,[B(o,{t:"or"})]),g("div",Nq,[g("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"},[Bq,B(o,{t:"Pick Available IP"})],8,Fq),this.availableIp?(D(),V("ul",Vq,[g("li",null,[g("div",zq,[Wq,Oe(g("input",{id:"availableIpSearchString",class:"form-control form-control-sm rounded-3","onUpdate:modelValue":e[2]||(e[2]=a=>this.availableIpSearchString=a)},null,512),[[Ke,this.availableIpSearchString]])])]),(D(!0),V($e,null,Xe(this.searchAvailableIps,a=>(D(),V("li",null,[g("a",{class:"dropdown-item d-flex",role:"button",onClick:l=>this.addAllowedIp(a)},[g("span",Yq,[g("small",null,xe(a),1)])],8,Hq)]))),256)),this.searchAvailableIps.length===0?(D(),V("li",jq,[g("small",Kq,[B(o,{t:"No available IP containing"}),Ye(' "'+xe(this.availableIpSearchString)+'"',1)])])):ce("",!0)])):ce("",!0)])])],2)}const Gq=He(Sq,[["render",Uq],["__scopeId","data-v-6d5fc831"]]),Xq={name:"dnsInput",components:{LocaleText:Qe},props:{data:Object,saving:Boolean},data(){return{error:!1,dns:JSON.parse(JSON.stringify(this.data.DNS))}},setup(){const t=vi(),e=nt();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()}}},qq={for:"peer_DNS_textbox",class:"form-label"},Zq={class:"text-muted"},Jq=["disabled"];function Qq(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",null,[g("label",qq,[g("small",Zq,[B(o,{t:"DNS"})])]),Oe(g("input",{type:"text",class:Me(["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,Jq),[[Ke,this.dns]])])}const eZ=He(Xq,[["render",Qq]]),tZ={name:"endpointAllowedIps",components:{LocaleText:Qe},props:{data:Object,saving:Boolean},setup(){const t=vi(),e=nt();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()}}},nZ={for:"peer_endpoint_allowed_ips",class:"form-label"},iZ={class:"text-muted"},sZ=["disabled"];function rZ(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",null,[g("label",nZ,[g("small",iZ,[B(o,{t:"Endpoint Allowed IPs"}),g("code",null,[B(o,{t:"(Required)"})])])]),Oe(g("input",{type:"text",class:Me(["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,sZ),[[Ke,this.endpointAllowedIps]])])}const oZ=He(tZ,[["render",rZ]]),aZ={name:"presharedKeyInput",components:{LocaleText:Qe},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=""}}},lZ={class:"d-flex align-items-start"},cZ={for:"peer_preshared_key_textbox",class:"form-label"},uZ={class:"text-muted"},dZ={class:"form-check form-switch ms-auto"},hZ=["disabled"];function fZ(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",null,[g("div",lZ,[g("label",cZ,[g("small",uZ,[B(o,{t:"Pre-Shared Key"})])]),g("div",dZ,[Oe(g("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),[[Jn,this.enable]])])]),Oe(g("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,hZ),[[Ke,this.data.preshared_key]])])}const gZ=He(aZ,[["render",fZ]]),pZ={name:"mtuInput",components:{LocaleText:Qe},props:{data:Object,saving:Boolean}},mZ={for:"peer_mtu",class:"form-label"},_Z={class:"text-muted"},yZ=["disabled"];function vZ(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",null,[g("label",mZ,[g("small",_Z,[B(o,{t:"MTU"})])]),Oe(g("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,yZ),[[Ke,this.data.mtu]])])}const bZ=He(pZ,[["render",vZ]]),wZ={name:"persistentKeepAliveInput",components:{LocaleText:Qe},props:{data:Object,saving:Boolean}},xZ={for:"peer_keep_alive",class:"form-label"},EZ={class:"text-muted"},SZ=["disabled"];function CZ(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",null,[g("label",xZ,[g("small",EZ,[B(o,{t:"Persistent Keepalive"})])]),Oe(g("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,SZ),[[Ke,this.data.keepalive]])])}const TZ=He(wZ,[["render",CZ]]),kZ={name:"bulkAdd",components:{LocaleText:Qe},props:{saving:Boolean,data:Object,availableIp:void 0},computed:{bulkAddGetLocale(){return Tt("How many peers you want to add?")}}},AZ={class:"form-check form-switch"},MZ=["disabled"],IZ={class:"form-check-label me-2",for:"bulk_add"},PZ={class:"text-muted d-block"},RZ={key:0,class:"form-group"},DZ=["max","placeholder"],$Z={class:"text-muted"};function LZ(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",null,[g("div",AZ,[Oe(g("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,MZ),[[Jn,this.data.bulkAdd]]),g("label",IZ,[g("small",null,[g("strong",null,[B(o,{t:"Bulk Add"})])])])]),g("p",{class:Me({"mb-0":!this.data.bulkAdd})},[g("small",PZ,[B(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?(D(),V("div",RZ,[Oe(g("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,DZ),[[Ke,this.data.bulkAddAmount]]),g("small",$Z,[B(o,{t:"You can add up to "+this.availableIp.length+" peers"},null,8,["t"])])])):ce("",!0)])}const OZ=He(kZ,[["render",LZ]]),NZ={name:"peerCreate",components:{LocaleText:Qe,BulkAdd:OZ,PersistentKeepAliveInput:TZ,MtuInput:bZ,PresharedKeyInput:gZ,EndpointAllowedIps:oZ,DnsInput:eZ,AllowedIPsInput:Gq,PrivatePublicKeyInput:Eq,NameInput:oq},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(){Vt("/api/getAvailableIPs/"+this.$route.params.id,{},t=>{t.status&&(this.availableIp=t.data)})},setup(){const t=vi(),e=nt();return{store:t,dashboardStore:e}},methods:{peerCreate(){this.saving=!0,kt("/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)}}},py=t=>(bn("data-v-3f34f584"),t=t(),wn(),t),FZ={class:"container"},BZ={class:"mb-4"},VZ=py(()=>g("h3",{class:"mb-0 text-body"},[g("i",{class:"bi bi-chevron-left"})],-1)),zZ={class:"text-body mb-0"},WZ={class:"d-flex flex-column gap-2"},HZ=py(()=>g("hr",{class:"mb-0 mt-2"},null,-1)),YZ=py(()=>g("hr",{class:"mb-0 mt-2"},null,-1)),jZ={class:"row gy-3"},KZ={key:0,class:"col-sm"},UZ={class:"col-sm"},GZ={class:"col-sm"},XZ={key:1,class:"col-12"},qZ={class:"form-check form-switch"},ZZ={class:"form-check-label",for:"bullAdd_PresharedKey_Switch"},JZ={class:"fw-bold"},QZ={class:"d-flex mt-2"},eJ=["disabled"],tJ={key:0,class:"bi bi-plus-circle-fill me-2"};function nJ(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("RouterLink"),l=Se("BulkAdd"),c=Se("NameInput"),u=Se("PrivatePublicKeyInput"),d=Se("AllowedIPsInput"),h=Se("EndpointAllowedIps"),f=Se("DnsInput"),p=Se("PresharedKeyInput"),m=Se("MtuInput"),y=Se("PersistentKeepAliveInput");return D(),V("div",FZ,[g("div",BZ,[B(a,{to:"peers",is:"div",class:"d-flex align-items-center gap-4 text-decoration-none"},{default:Re(()=>[VZ,g("h3",zZ,[B(o,{t:"Add Peers"})])]),_:1})]),g("div",WZ,[B(l,{saving:s.saving,data:this.data,availableIp:this.availableIp},null,8,["saving","data","availableIp"]),HZ,this.data.bulkAdd?ce("",!0):(D(),Ce(c,{key:0,saving:s.saving,data:this.data},null,8,["saving","data"])),this.data.bulkAdd?ce("",!0):(D(),Ce(u,{key:1,saving:s.saving,data:s.data},null,8,["saving","data"])),this.data.bulkAdd?ce("",!0):(D(),Ce(d,{key:2,availableIp:this.availableIp,saving:s.saving,data:s.data},null,8,["availableIp","saving","data"])),B(h,{saving:s.saving,data:s.data},null,8,["saving","data"]),B(f,{saving:s.saving,data:s.data},null,8,["saving","data"]),YZ,g("div",jZ,[this.data.bulkAdd?ce("",!0):(D(),V("div",KZ,[B(p,{saving:s.saving,data:s.data,bulk:this.data.bulkAdd},null,8,["saving","data","bulk"])])),g("div",UZ,[B(m,{saving:s.saving,data:s.data},null,8,["saving","data"])]),g("div",GZ,[B(y,{saving:s.saving,data:s.data},null,8,["saving","data"])]),this.data.bulkAdd?(D(),V("div",XZ,[g("div",qZ,[Oe(g("input",{class:"form-check-input",type:"checkbox",role:"switch","onUpdate:modelValue":e[0]||(e[0]=v=>this.data.preshared_key_bulkAdd=v),id:"bullAdd_PresharedKey_Switch",checked:""},null,512),[[Jn,this.data.preshared_key_bulkAdd]]),g("label",ZZ,[g("small",JZ,[B(o,{t:"Pre-Shared Key"}),this.data.preshared_key_bulkAdd?(D(),Ce(o,{key:0,t:"Enabled"})):(D(),Ce(o,{key:1,t:"Disabled"}))])])])])):ce("",!0)]),g("div",QZ,[g("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]=v=>this.peerCreate())},[this.saving?ce("",!0):(D(),V("i",tJ)),this.saving?(D(),Ce(o,{key:1,t:"Adding..."})):(D(),Ce(o,{key:2,t:"Add"}))],8,eJ)])])])}const WT=He(NZ,[["render",nJ],["__scopeId","data-v-3f34f584"]]),iJ={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)}}},sJ={class:"dropdown scheduleDropdown"},rJ={class:"dropdown-menu rounded-3 shadow",style:{"font-size":"0.875rem",width:"200px"}},oJ=["onClick"],aJ={key:0,class:"bi bi-check ms-auto"};function lJ(t,e,n,i,s,r){return D(),V("div",sJ,[g("button",{class:Me(["btn btn-sm btn-outline-primary rounded-3",{"disabled border-transparent":!n.edit}]),type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[g("samp",null,xe(this.currentSelection.display),1)],2),g("ul",rJ,[n.edit?(D(!0),V($e,{key:0},Xe(this.options,o=>(D(),V("li",null,[g("a",{class:"dropdown-item d-flex align-items-center",role:"button",onClick:a=>t.$emit("update",o.value)},[g("samp",null,xe(o.display),1),o.value===this.currentSelection.value?(D(),V("i",aJ)):ce("",!0)],8,oJ)]))),256)):ce("",!0)])])}const HT=He(iJ,[["render",lJ],["__scopeId","data-v-6a5aba2a"]]),cJ={name:"schedulePeerJob",components:{LocaleText:Qe,VueDatePicker:Bu,ScheduleDropdown:HT},props:{dropdowns:Array[Object],pjob:Object,viewOnly:!1},setup(t){const e=we({}),n=we(!1),i=we(!1);e.value=JSON.parse(JSON.stringify(t.pjob)),e.value.CreationDate||(n.value=!0,i.value=!0);const s=nt();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?kt("/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&&kt("/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=pi(t).format("YYYY-MM-DD HH:mm:ss"))}}},uJ=t=>(bn("data-v-8f3f1b93"),t=t(),wn(),t),dJ={class:"card-header bg-transparent text-muted border-0"},hJ={key:0,class:"d-flex"},fJ={class:"me-auto"},gJ={key:1},pJ={class:"badge text-bg-warning"},mJ={class:"card-body pt-1",style:{"font-family":"var(--bs-font-monospace)"}},_J={class:"d-flex gap-2 align-items-center mb-2"},yJ=["disabled"],vJ={class:"px-5 d-flex gap-2 align-items-center"},bJ={class:"d-flex gap-3"},wJ=uJ(()=>g("samp",null,"}",-1)),xJ={key:0,class:"ms-auto d-flex gap-3"},EJ={key:1,class:"ms-auto d-flex gap-3"};function SJ(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("ScheduleDropdown"),l=Se("VueDatePicker");return D(),V("div",{class:Me(["card shadow-sm rounded-3 mb-2",{"border-warning-subtle":this.newJob}])},[g("div",dJ,[this.newJob?(D(),V("small",gJ,[g("span",pJ,[B(o,{t:"Unsaved Job"})])])):(D(),V("small",hJ,[g("strong",fJ,[B(o,{t:"Job ID"})]),g("samp",null,xe(this.job.JobID),1)]))]),g("div",mJ,[g("div",_J,[g("samp",null,[B(o,{t:"if"})]),B(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"]),g("samp",null,[B(o,{t:"is"})]),B(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"?(D(),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"])):Oe((D(),V("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,yJ)),[[Ke,this.job.Value]]),g("samp",null,xe(this.dropdowns.Field.find(c=>c.value===this.job.Field)?.unit)+" { ",1)]),g("div",vJ,[g("samp",null,[B(o,{t:"then"})]),B(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"])]),g("div",bJ,[wJ,this.edit?(D(),V("div",EJ,[g("a",{role:"button",class:"text-secondary text-decoration-none",onClick:e[6]||(e[6]=c=>this.reset())},[Ye("[C] "),B(o,{t:"Cancel"})]),g("a",{role:"button",class:"text-primary ms-auto text-decoration-none",onClick:e[7]||(e[7]=c=>this.save())},[Ye("[S] "),B(o,{t:"Save"})])])):(D(),V("div",xJ,[g("a",{role:"button",class:"ms-auto text-decoration-none",onClick:e[4]||(e[4]=c=>this.edit=!0)},[Ye("[E] "),B(o,{t:"Edit"})]),g("a",{role:"button",onClick:e[5]||(e[5]=c=>this.delete()),class:"text-danger text-decoration-none"},[Ye("[D] "),B(o,{t:"Delete"})])]))])])],2)}const YT=He(cJ,[["render",SJ],["__scopeId","data-v-8f3f1b93"]]),CJ={name:"peerJobs",setup(){return{store:vi()}},props:{selectedPeer:Object},components:{LocaleText:Qe,SchedulePeerJob:YT,ScheduleDropdown:HT},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:Os().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})))}}},TJ=t=>(bn("data-v-5bbdd42b"),t=t(),wn(),t),kJ={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},AJ={class:"container d-flex h-100 w-100"},MJ={class:"m-auto modal-dialog-centered dashboardModal"},IJ={class:"card rounded-3 shadow",style:{width:"700px"}},PJ={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},RJ={class:"mb-0 fw-normal"},DJ={class:"card-body px-4 pb-4 pt-2 position-relative"},$J={class:"d-flex align-items-center mb-3"},LJ=TJ(()=>g("i",{class:"bi bi-plus-lg me-2"},null,-1)),OJ={class:"card shadow-sm",key:"none",style:{height:"153px"}},NJ={class:"card-body text-muted text-center d-flex"},FJ={class:"m-auto"};function BJ(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("SchedulePeerJob");return D(),V("div",kJ,[g("div",AJ,[g("div",MJ,[g("div",IJ,[g("div",PJ,[g("h4",RJ,[B(o,{t:"Schedule Jobs"})]),g("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=l=>this.$emit("close"))})]),g("div",DJ,[g("div",$J,[g("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())},[LJ,B(o,{t:"Job"})])]),B(jl,{name:"schedulePeerJobTransition",tag:"div",class:"position-relative"},{default:Re(()=>[(D(!0),V($e,null,Xe(this.selectedPeer.jobs,(l,c)=>(D(),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?(D(),V("div",OJ,[g("div",NJ,[g("h6",FJ,[B(o,{t:"This peer does not have any job yet."})])])])):ce("",!0)]),_:1})])])])])])}const VJ=He(CJ,[["render",BJ],["__scopeId","data-v-5bbdd42b"]]),zJ={name:"peerJobsAllModal",setup(){return{store:vi()}},components:{LocaleText:Qe,SchedulePeerJob:YT},props:{configurationPeers:Array[Object]},methods:{getuuid(){return Os()}},computed:{getAllJobs(){return this.configurationPeers.filter(t=>t.jobs.length>0)}}},WJ={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},HJ={class:"container d-flex h-100 w-100"},YJ={class:"m-auto modal-dialog-centered dashboardModal"},jJ={class:"card rounded-3 shadow",style:{width:"700px"}},KJ={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},UJ={class:"mb-0 fw-normal"},GJ={class:"card-body px-4 pb-4 pt-2"},XJ={key:0,class:"accordion",id:"peerJobsLogsModalAccordion"},qJ={class:"accordion-header"},ZJ=["data-bs-target"],JJ={key:0},QJ={class:"text-muted"},eQ=["id"],tQ={class:"accordion-body"},nQ={key:1,class:"card shadow-sm",style:{height:"153px"}},iQ={class:"card-body text-muted text-center d-flex"},sQ={class:"m-auto"};function rQ(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("SchedulePeerJob");return D(),V("div",WJ,[g("div",HJ,[g("div",YJ,[g("div",jJ,[g("div",KJ,[g("h4",UJ,[B(o,{t:"All Active Jobs"})]),g("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=l=>this.$emit("close"))})]),g("div",GJ,[this.getAllJobs.length>0?(D(),V("div",XJ,[(D(!0),V($e,null,Xe(this.getAllJobs,(l,c)=>(D(),V("div",{class:"accordion-item",key:l.id},[g("h2",qJ,[g("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapse_"+c},[g("small",null,[g("strong",null,[l.name?(D(),V("span",JJ,xe(l.name)+" • ",1)):ce("",!0),g("samp",QJ,xe(l.id),1)])])],8,ZJ)]),g("div",{id:"collapse_"+c,class:"accordion-collapse collapse","data-bs-parent":"#peerJobsLogsModalAccordion"},[g("div",tQ,[(D(!0),V($e,null,Xe(l.jobs,u=>(D(),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,eQ)]))),128))])):(D(),V("div",nQ,[g("div",iQ,[g("span",sQ,[B(o,{t:"No active job at the moment."})])])]))])])])])])}const oQ=He(zJ,[["render",rQ]]),aQ={name:"peerJobsLogsModal",components:{LocaleText:Qe},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 Vt(`/api/getPeerScheduleJobLogs/${this.configurationInfo.Name}`,{},t=>{this.data=t.data,this.logFetchTime=pi().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)}}},lQ={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},cQ={class:"container-fluid d-flex h-100 w-100"},uQ={class:"m-auto mt-0 modal-dialog-centered dashboardModal",style:{width:"100%"}},dQ={class:"card rounded-3 shadow w-100"},hQ={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},fQ={class:"mb-0"},gQ={class:"card-body px-4 pb-4 pt-2"},pQ={key:0},mQ={class:"mb-2 d-flex gap-3"},_Q=g("i",{class:"bi bi-arrow-clockwise me-2"},null,-1),yQ={class:"d-flex gap-3 align-items-center"},vQ={class:"text-muted"},bQ={class:"form-check"},wQ={class:"form-check-label",for:"jobLogsShowSuccessCheck"},xQ={class:"badge text-success-emphasis bg-success-subtle"},EQ={class:"form-check"},SQ={class:"form-check-label",for:"jobLogsShowFailedCheck"},CQ={class:"badge text-danger-emphasis bg-danger-subtle"},TQ={class:"d-flex gap-3 align-items-center ms-auto"},kQ={class:"text-muted"},AQ={class:"form-check"},MQ={class:"form-check-label",for:"jobLogsShowJobIDCheck"},IQ={class:"form-check"},PQ={class:"form-check-label",for:"jobLogsShowLogIDCheck"},RQ={class:"table"},DQ={scope:"col"},$Q={key:0,scope:"col"},LQ={key:1,scope:"col"},OQ={scope:"col"},NQ={scope:"col"},FQ={style:{"font-size":"0.875rem"}},BQ={scope:"row"},VQ={key:0},zQ={class:"text-muted"},WQ={key:1},HQ={class:"text-muted"},YQ={class:"d-flex gap-2"},jQ=g("i",{class:"bi bi-chevron-down me-2"},null,-1),KQ=g("i",{class:"bi bi-chevron-up me-2"},null,-1),UQ={key:1,class:"d-flex align-items-center flex-column"},GQ=g("div",{class:"spinner-border text-body",role:"status"},[g("span",{class:"visually-hidden"},"Loading...")],-1),XQ=[GQ];function qQ(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",lQ,[g("div",cQ,[g("div",uQ,[g("div",dQ,[g("div",hQ,[g("h4",fQ,[B(o,{t:"Jobs Logs"})]),g("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=a=>this.$emit("close"))})]),g("div",gQ,[this.dataLoading?(D(),V("div",UQ,XQ)):(D(),V("div",pQ,[g("p",null,[B(o,{t:"Updated at"}),Ye(" : "+xe(this.logFetchTime),1)]),g("div",mQ,[g("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"},[_Q,B(o,{t:"Refresh"})]),g("div",yQ,[g("span",vQ,[B(o,{t:"Filter"})]),g("div",bQ,[Oe(g("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[2]||(e[2]=a=>this.showSuccessJob=a),id:"jobLogsShowSuccessCheck"},null,512),[[Jn,this.showSuccessJob]]),g("label",wQ,[g("span",xQ,[B(o,{t:"Success"})])])]),g("div",EQ,[Oe(g("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[3]||(e[3]=a=>this.showFailedJob=a),id:"jobLogsShowFailedCheck"},null,512),[[Jn,this.showFailedJob]]),g("label",SQ,[g("span",CQ,[B(o,{t:"Failed"})])])])]),g("div",TQ,[g("span",kQ,[B(o,{t:"Display"})]),g("div",AQ,[Oe(g("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[4]||(e[4]=a=>s.showJobID=a),id:"jobLogsShowJobIDCheck"},null,512),[[Jn,s.showJobID]]),g("label",MQ,[B(o,{t:"Job ID"})])]),g("div",IQ,[Oe(g("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[5]||(e[5]=a=>s.showLogID=a),id:"jobLogsShowLogIDCheck"},null,512),[[Jn,s.showLogID]]),g("label",PQ,[B(o,{t:"Log ID"})])])])]),g("table",RQ,[g("thead",null,[g("tr",null,[g("th",DQ,[B(o,{t:"Date"})]),s.showLogID?(D(),V("th",$Q,[B(o,{t:"Log ID"})])):ce("",!0),s.showJobID?(D(),V("th",LQ,[B(o,{t:"Job ID"})])):ce("",!0),g("th",OQ,[B(o,{t:"Status"})]),g("th",NQ,[B(o,{t:"Message"})])])]),g("tbody",null,[(D(!0),V($e,null,Xe(this.showLogs,a=>(D(),V("tr",FQ,[g("th",BQ,xe(a.LogDate),1),s.showLogID?(D(),V("td",VQ,[g("samp",zQ,xe(a.LogID),1)])):ce("",!0),s.showJobID?(D(),V("td",WQ,[g("samp",HQ,xe(a.JobID),1)])):ce("",!0),g("td",null,[g("span",{class:Me(["badge",[a.Status==="1"?"text-success-emphasis bg-success-subtle":"text-danger-emphasis bg-danger-subtle"]])},xe(a.Status==="1"?"Success":"Failed"),3)]),g("td",null,xe(a.Message),1)]))),256))])]),g("div",YQ,[this.getLogs.length>this.showLogAmount?(D(),V("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"},[jQ,Ye(" Show More ")])):ce("",!0),this.showLogAmount>20?(D(),V("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"},[KQ,Ye(" Collapse ")])):ce("",!0)])]))])])])])])}const ZQ=He(aQ,[["render",qQ]]),JQ={name:"peerShareLinkModal",props:{peer:Object},components:{LocaleText:Qe,VueDatePicker:Bu},data(){return{dataCopy:void 0,loading:!1}},setup(){return{store:nt()}},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,kt("/api/sharePeer/create",{Configuration:this.peer.configuration.Name,Peer:this.peer.id,ExpireDate:pi().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(){kt("/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=pi().format("YYYY-MM-DD HH:mm:ss"),this.updateLinkExpireDate()},parseTime(t){t?this.dataCopy.ExpireDate=pi(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}}},QQ={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},eee={class:"container d-flex h-100 w-100"},tee={class:"m-auto modal-dialog-centered dashboardModal",style:{width:"500px"}},nee={class:"card rounded-3 shadow flex-grow-1"},iee={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4"},see={class:"mb-0"},ree={key:0,class:"card-body px-4 pb-4"},oee={key:0},aee={class:"mb-3 text-muted"},lee=["disabled"],cee=g("i",{class:"bi bi-send-fill me-2"},null,-1),uee=[cee],dee={key:1},hee={class:"d-flex gap-2 mb-4"},fee=g("i",{class:"bi bi-link-45deg"},null,-1),gee=["href"],pee={class:"d-flex flex-column gap-2 mb-3"},mee=g("i",{class:"bi bi-calendar me-2"},null,-1),_ee=["disabled"],yee=g("i",{class:"bi bi-send-slash-fill me-2"},null,-1),vee=[yee];function bee(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("VueDatePicker");return D(),V("div",QQ,[g("div",eee,[g("div",tee,[g("div",nee,[g("div",iee,[g("h4",see,[B(o,{t:"Share Peer"})]),g("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=l=>this.$emit("close"))})]),this.peer.ShareLink?(D(),V("div",ree,[this.dataCopy?(D(),V("div",dee,[g("div",hee,[fee,g("a",{href:this.getUrl,class:"text-decoration-none",target:"_blank"},xe(r.getUrl),9,gee)]),g("div",pee,[g("small",null,[mee,B(o,{t:"Expire At"})]),B(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"])]),g("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"},[g("span",{class:Me({"animate__animated animate__flash animate__infinite animate__slower":this.loading})},vee,2),this.loading?(D(),Ce(o,{key:0,t:"Stop Sharing..."})):(D(),Ce(o,{key:1,t:"Stop Sharing"}))],8,_ee)])):(D(),V("div",oee,[g("h6",aee,[B(o,{t:"Currently the peer is not sharing"})]),g("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"},[g("span",{class:Me({"animate__animated animate__flash animate__infinite animate__slower":this.loading})},uee,2),this.loading?(D(),Ce(o,{key:0,t:"Sharing..."})):(D(),Ce(o,{key:1,t:"Start Sharing"}))],8,lee)]))])):ce("",!0)])])])])}const wee=He(JQ,[["render",bee]]);Tf.register(AU,kf,YU,FU,jC,aK,KC,UC,uK,cK,dK,hK,$G,OG,BG,QG,hm,i7,GU,gG,bG,xG,IG);const xee={name:"peerList",components:{LocaleText:Qe,PeerShareLinkModal:wee,PeerJobsLogsModal:ZQ,PeerJobsAllModal:oQ,PeerJobs:VJ,PeerCreate:WT,PeerQRCode:eq,PeerSettings:e9,PeerSearch:nH,Peer:ZH,Line:h7,Bar:d7},setup(){const t=nt(),e=vi(),n=we(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}}},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,Vt("/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){Vt("/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,pi().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,pi().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 Gl(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)}}},$f=t=>(bn("data-v-dc7f794a"),t=t(),wn(),t),Eee={key:0,class:"container-md"},See={class:"d-flex align-items-center"},Cee={CLASS:"text-muted"},Tee={class:"d-flex align-items-center gap-3"},kee={class:"mb-0"},Aee={class:"card rounded-3 bg-transparent shadow-sm ms-auto"},Mee={class:"card-body py-2 d-flex align-items-center"},Iee={class:"mb-0 text-muted"},Pee={class:"form-check form-switch ms-auto"},Ree=["for"],Dee={key:4,class:"spinner-border spinner-border-sm ms-2","aria-hidden":"true"},$ee=["disabled","id"],Lee={class:"row mt-3 gy-2 gx-2 mb-2"},Oee={class:"col-6 col-lg-3"},Nee={class:"card rounded-3 bg-transparent shadow-sm"},Fee={class:"card-body py-2"},Bee={class:"mb-0 text-muted"},Vee={class:"col-6 col-lg-3"},zee={class:"card rounded-3 bg-transparent shadow-sm"},Wee={class:"card-body py-2"},Hee={class:"mb-0 text-muted"},Yee={style:{"word-break":"break-all"},class:"col-12 col-lg-6"},jee={class:"card rounded-3 bg-transparent shadow-sm"},Kee={class:"card-body py-2"},Uee={class:"mb-0 text-muted"},Gee={class:"row gx-2 gy-2 mb-2"},Xee={class:"col-6 col-lg-3"},qee={class:"card rounded-3 bg-transparent shadow-sm"},Zee={class:"card-body d-flex"},Jee={class:"mb-0 text-muted"},Qee={class:"h4"},ete=$f(()=>g("i",{class:"bi bi-ethernet ms-auto h2 text-muted"},null,-1)),tte={class:"col-6 col-lg-3"},nte={class:"card rounded-3 bg-transparent shadow-sm"},ite={class:"card-body d-flex"},ste={class:"mb-0 text-muted"},rte={class:"h4"},ote=$f(()=>g("i",{class:"bi bi-arrow-down-up ms-auto h2 text-muted"},null,-1)),ate={class:"col-6 col-lg-3"},lte={class:"card rounded-3 bg-transparent shadow-sm"},cte={class:"card-body d-flex"},ute={class:"mb-0 text-muted"},dte={class:"h4 text-primary"},hte=$f(()=>g("i",{class:"bi bi-arrow-down ms-auto h2 text-muted"},null,-1)),fte={class:"col-6 col-lg-3"},gte={class:"card rounded-3 bg-transparent shadow-sm"},pte={class:"card-body d-flex"},mte={class:"mb-0 text-muted"},_te={class:"h4 text-success"},yte=$f(()=>g("i",{class:"bi bi-arrow-up ms-auto h2 text-muted"},null,-1)),vte={class:"row gx-2 gy-2 mb-3"},bte={class:"col-12 col-lg-6"},wte={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},xte={class:"card-header bg-transparent border-0"},Ete={class:"text-muted"},Ste={class:"card-body pt-1"},Cte={class:"col-sm col-lg-3"},Tte={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},kte={class:"card-header bg-transparent border-0"},Ate={class:"text-muted"},Mte={class:"card-body pt-1"},Ite={class:"col-sm col-lg-3"},Pte={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},Rte={class:"card-header bg-transparent border-0"},Dte={class:"text-muted"},$te={class:"card-body pt-1"},Lte={class:"mb-3"};function Ote(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"),h=Se("PeerQRCode"),f=Se("PeerJobs"),p=Se("PeerJobsAllModal"),m=Se("PeerJobsLogsModal"),y=Se("PeerShareLinkModal");return this.loading?ce("",!0):(D(),V("div",Eee,[g("div",See,[g("div",null,[g("small",Cee,[B(o,{t:"CONFIGURATION"})]),g("div",Tee,[g("h1",kee,[g("samp",null,xe(this.configurationInfo.Name),1)])])]),g("div",Aee,[g("div",Mee,[g("div",null,[g("p",Iee,[g("small",null,[B(o,{t:"Status"})])]),g("div",Pee,[g("label",{class:"form-check-label",style:{cursor:"pointer"},for:"switch"+this.configurationInfo.id},[!this.configurationInfo.Status&&this.configurationToggling?(D(),Ce(o,{key:0,t:"Turning Off..."})):this.configurationInfo.Status&&this.configurationToggling?(D(),Ce(o,{key:1,t:"Turning On..."})):this.configurationInfo.Status&&!this.configurationToggling?(D(),Ce(o,{key:2,t:"On"})):!this.configurationInfo.Status&&!this.configurationToggling?(D(),Ce(o,{key:3,t:"Off"})):ce("",!0),this.configurationToggling?(D(),V("span",Dee)):ce("",!0)],8,Ree),Oe(g("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]=v=>this.toggle()),"onUpdate:modelValue":e[1]||(e[1]=v=>this.configurationInfo.Status=v)},null,40,$ee),[[Jn,this.configurationInfo.Status]])])]),g("div",{class:Me(["dot ms-5",{active:this.configurationInfo.Status}])},null,2)])])]),g("div",Lee,[g("div",Oee,[g("div",Nee,[g("div",Fee,[g("p",Bee,[g("small",null,[B(o,{t:"Address"})])]),Ye(" "+xe(this.configurationInfo.Address),1)])])]),g("div",Vee,[g("div",zee,[g("div",Wee,[g("p",Hee,[g("small",null,[B(o,{t:"Listen Port"})])]),Ye(" "+xe(this.configurationInfo.ListenPort),1)])])]),g("div",Yee,[g("div",jee,[g("div",Kee,[g("p",Uee,[g("small",null,[B(o,{t:"Public Key"})])]),g("samp",null,xe(this.configurationInfo.PublicKey),1)])])])]),g("div",Gee,[g("div",Xee,[g("div",qee,[g("div",Zee,[g("div",null,[g("p",Jee,[g("small",null,[B(o,{t:"Connected Peers"})])]),g("strong",Qee,xe(r.configurationSummary.connectedPeers),1)]),ete])])]),g("div",tte,[g("div",nte,[g("div",ite,[g("div",null,[g("p",ste,[g("small",null,[B(o,{t:"Total Usage"})])]),g("strong",rte,xe(r.configurationSummary.totalUsage)+" GB",1)]),ote])])]),g("div",ate,[g("div",lte,[g("div",cte,[g("div",null,[g("p",ute,[g("small",null,[B(o,{t:"Total Received"})])]),g("strong",dte,xe(r.configurationSummary.totalReceive)+" GB",1)]),hte])])]),g("div",fte,[g("div",gte,[g("div",pte,[g("div",null,[g("p",mte,[g("small",null,[B(o,{t:"Total Sent"})])]),g("strong",_te,xe(r.configurationSummary.totalSent)+" GB",1)]),yte])])])]),g("div",vte,[g("div",bte,[g("div",wte,[g("div",xte,[g("small",Ete,[B(o,{t:"Peers Data Usage"})])]),g("div",Ste,[B(a,{data:r.individualDataUsage,options:r.individualDataUsageChartOption,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["data","options"])])])]),g("div",Cte,[g("div",Tte,[g("div",kte,[g("small",Ate,[B(o,{t:"Real Time Received Data Usage"})])]),g("div",Mte,[B(l,{options:r.chartOptions,data:r.receiveData,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])]),g("div",Ite,[g("div",Pte,[g("div",Rte,[g("small",Dte,[B(o,{t:"Real Time Sent Data Usage"})])]),g("div",$te,[B(l,{options:r.chartOptions,data:r.sentData,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])])]),g("div",Lte,[B(c,{onJobsAll:e[2]||(e[2]=v=>this.peerScheduleJobsAll.modalOpen=!0),onJobLogs:e[3]||(e[3]=v=>this.peerScheduleJobsLogs.modalOpen=!0),configuration:this.configurationInfo},null,8,["configuration"]),B(jl,{name:"list",tag:"div",class:"row gx-2 gy-2 z-0"},{default:Re(()=>[(D(!0),V($e,null,Xe(this.searchPeers,v=>(D(),V("div",{class:"col-12 col-lg-6 col-xl-4",key:v.id},[B(u,{Peer:v,onShare:b=>{this.peerShare.selectedPeer=v.id,this.peerShare.modalOpen=!0},onRefresh:e[4]||(e[4]=b=>this.getPeers()),onJobs:b=>{s.peerScheduleJobs.modalOpen=!0,s.peerScheduleJobs.selectedPeer=this.configurationPeers.find(E=>E.id===v.id)},onSetting:b=>{s.peerSetting.modalOpen=!0,s.peerSetting.selectedPeer=this.configurationPeers.find(E=>E.id===v.id)},onQrcode:e[5]||(e[5]=b=>{this.peerQRCode.peerConfigData=b,this.peerQRCode.modalOpen=!0})},null,8,["Peer","onShare","onJobs","onSetting"])]))),128))]),_:1})]),B(Rt,{name:"zoom"},{default:Re(()=>[this.peerSetting.modalOpen?(D(),Ce(d,{key:"settings",selectedPeer:this.peerSetting.selectedPeer,onRefresh:e[6]||(e[6]=v=>this.getPeers()),onClose:e[7]||(e[7]=v=>this.peerSetting.modalOpen=!1)},null,8,["selectedPeer"])):ce("",!0)]),_:1}),B(Rt,{name:"zoom"},{default:Re(()=>[s.peerQRCode.modalOpen?(D(),Ce(h,{peerConfigData:this.peerQRCode.peerConfigData,key:"qrcode",onClose:e[8]||(e[8]=v=>this.peerQRCode.modalOpen=!1)},null,8,["peerConfigData"])):ce("",!0)]),_:1}),B(Rt,{name:"zoom"},{default:Re(()=>[this.peerScheduleJobs.modalOpen?(D(),Ce(f,{key:0,onRefresh:e[9]||(e[9]=v=>this.getPeers()),selectedPeer:this.peerScheduleJobs.selectedPeer,onClose:e[10]||(e[10]=v=>this.peerScheduleJobs.modalOpen=!1)},null,8,["selectedPeer"])):ce("",!0)]),_:1}),B(Rt,{name:"zoom"},{default:Re(()=>[this.peerScheduleJobsAll.modalOpen?(D(),Ce(p,{key:0,onRefresh:e[11]||(e[11]=v=>this.getPeers()),onClose:e[12]||(e[12]=v=>this.peerScheduleJobsAll.modalOpen=!1),configurationPeers:this.configurationPeers},null,8,["configurationPeers"])):ce("",!0)]),_:1}),B(Rt,{name:"zoom"},{default:Re(()=>[this.peerScheduleJobsLogs.modalOpen?(D(),Ce(m,{key:0,onClose:e[13]||(e[13]=v=>this.peerScheduleJobsLogs.modalOpen=!1),configurationInfo:this.configurationInfo},null,8,["configurationInfo"])):ce("",!0)]),_:1}),B(Rt,{name:"zoom"},{default:Re(()=>[this.peerShare.modalOpen?(D(),Ce(y,{key:0,onClose:e[14]||(e[14]=v=>{this.peerShare.modalOpen=!1,this.peerShare.selectedPeer=void 0}),peer:this.configurationPeers.find(v=>v.id===this.peerShare.selectedPeer)},null,8,["peer"])):ce("",!0)]),_:1})]))}const Nte=He(xee,[["render",Ote],["__scopeId","data-v-dc7f794a"]]);class br{constructor(e){this.propagationStopped,this.defaultPrevented,this.type=e,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}}const Ll={PROPERTYCHANGE:"propertychange"};class Lf{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}}function Fte(t,e,n){let i,s;n=n||cr;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 cr(t,e){return t>e?1:t0?s-1:s}return i-1}if(n>0){for(let s=1;s0||n&&o===0)})}function mu(){return!0}function Nf(){return!1}function Ol(){}function jT(t){let e,n,i;return function(){const s=Array.prototype.slice.call(arguments);return(!n||this!==i||!xo(s,n))&&(i=this,n=s,e=t.apply(this,arguments)),e}}function zte(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 ju(t){for(const e in t)delete t[e]}function Nl(t){let e;for(e in t)return!1;return!e}class Ff extends Lf{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 br(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]=Ol,++this.pendingRemovals_[e]):(i.splice(s,1),i.length===0&&delete this.listeners_[e]))}}const et={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 Rh(t,e,n,i){return ft(t,e,n,i,!0)}function Dt(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),ju(t))}class Ku extends Ff{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(et.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 Bd(ci.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 Bd(ci.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 Bd(ci.REMOVE,s,e)),this.dispatchEvent(new Bd(ci.ADD,n,e))}updateLength_(){this.set(cw.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 al(t,e,n,i)}function al(t,e,n,i){const s=n-t,r=i-e;return s*s+r*r}function jte(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 ah(t){return t*Math.PI/180}function ll(t,e){const n=t%e;return n*e<0?n+e:n}function Ti(t,e,n){return t+n*(e-t)}function _y(t,e){const n=Math.pow(10,e);return Math.round(t*n)/n}function Vd(t,e){return Math.floor(_y(t,e))}function zd(t,e){return Math.ceil(_y(t,e))}class KT extends Vs{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[xt.OPACITY]=e.opacity!==void 0?e.opacity:1,mt(typeof n[xt.OPACITY]=="number","Layer opacity must be a number"),n[xt.VISIBLE]=e.visible!==void 0?e.visible:!0,n[xt.Z_INDEX]=e.zIndex,n[xt.MAX_RESOLUTION]=e.maxResolution!==void 0?e.maxResolution:1/0,n[xt.MIN_RESOLUTION]=e.minResolution!==void 0?e.minResolution:0,n[xt.MIN_ZOOM]=e.minZoom!==void 0?e.minZoom:-1/0,n[xt.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=Jt(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(xt.EXTENT)}getMaxResolution(){return this.get(xt.MAX_RESOLUTION)}getMinResolution(){return this.get(xt.MIN_RESOLUTION)}getMinZoom(){return this.get(xt.MIN_ZOOM)}getMaxZoom(){return this.get(xt.MAX_ZOOM)}getOpacity(){return this.get(xt.OPACITY)}getSourceState(){return pt()}getVisible(){return this.get(xt.VISIBLE)}getZIndex(){return this.get(xt.Z_INDEX)}setBackground(e){this.background_=e,this.changed()}setExtent(e){this.set(xt.EXTENT,e)}setMaxResolution(e){this.set(xt.MAX_RESOLUTION,e)}setMinResolution(e){this.set(xt.MIN_RESOLUTION,e)}setMaxZoom(e){this.set(xt.MAX_ZOOM,e)}setMinZoom(e){this.set(xt.MIN_ZOOM,e)}setOpacity(e){mt(typeof e=="number","Layer opacity must be a number"),this.set(xt.OPACITY,e)}setVisible(e){this.set(xt.VISIBLE,e)}setZIndex(e){this.set(xt.Z_INDEX,e)}disposeInternal(){this.state_&&(this.state_.layer=null,this.state_=null),super.disposeInternal()}}const Hi={PRERENDER:"prerender",POSTRENDER:"postrender",PRECOMPOSE:"precompose",POSTCOMPOSE:"postcompose",RENDERCOMPLETE:"rendercomplete"},Vn={ANIMATING:0,INTERACTING:1},Qi={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"},Kte=42,yy=256,_u={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};class UT{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_||_u[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 Uu=6378137,Ja=Math.PI*Uu,Ute=[-Ja,-Ja,Ja,Ja],Gte=[-180,-85,180,85],Wd=Uu*Math.log(Math.tan(Math.PI/2));class Oa extends UT{constructor(e){super({code:e,units:"m",extent:Ute,global:!0,worldExtent:Gte,getPointResolution:function(n,i){return n/Math.cosh(i[1]/Uu)}})}}const uw=[new Oa("EPSG:3857"),new Oa("EPSG:102100"),new Oa("EPSG:102113"),new Oa("EPSG:900913"),new Oa("http://www.opengis.net/def/crs/EPSG/0/3857"),new Oa("http://www.opengis.net/gml/srs/epsg.xml#3857")];function Xte(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;rWd?o=Wd:o<-Wd&&(o=-Wd),e[r+1]=o}return e}function qte(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|kn.RIGHT),ar&&(l=l|kn.ABOVE),l===kn.UNKNOWN&&(l=kn.INTERSECTING),l}function Ui(){return[1/0,1/0,-1/0,-1/0]}function co(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 Bf(t){return co(1/0,1/0,-1/0,-1/0,t)}function qT(t,e){const n=t[0],i=t[1];return co(n,i,n,i,e)}function wy(t,e,n,i,s){const r=Bf(s);return ZT(r,t,e,n,i)}function yu(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function nne(t,e){return e[0]t[2]&&(t[2]=e[2]),e[1]t[3]&&(t[3]=e[3]),t}function Gc(t,e){e[0]t[2]&&(t[2]=e[0]),e[1]t[3]&&(t[3]=e[1])}function ZT(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 Hf(t){return t[2]=o&&m<=l),!i&&r&kn.RIGHT&&!(s&kn.RIGHT)&&(y=f-(h-l)*p,i=y>=a&&y<=c),!i&&r&kn.BELOW&&!(s&kn.BELOW)&&(m=h-(f-a)/p,i=m>=o&&m<=l),!i&&r&kn.LEFT&&!(s&kn.LEFT)&&(y=f-(h-o)*p,i=y>=a&&y<=c)}return i}function QT(t,e){const n=e.getExtent(),i=da(t);if(e.canWrapX()&&(i[0]=n[2])){const s=vt(n),o=Math.floor((i[0]-n[0])/s)*s;t[0]-=o,t[2]-=o}return t}function xy(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]]];QT(t,e);const s=vt(i);if(vt(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 lne(t,e){return t[0]+=+e[0],t[1]+=+e[1],t}function $h(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 Ey(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 cne(t,e){return t[0]*=e,t[1]*=e,t}function ek(t,e){if(e.canWrapX()){const n=vt(e.getExtent()),i=une(t,e,n);i&&(t[0]-=i*n)}return t}function une(t,e,n){const i=e.getExtent();let s=0;return e.canWrapX()&&(t[0]i[2])&&(n=n||vt(i),s=Math.floor((t[0]-i[0])/n)),s}const dne=63710088e-1;function gw(t,e,n){n=n||dne;const i=ah(t[1]),s=ah(e[1]),r=(s-i)/2,o=ah(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 tk(...t){console.warn(...t)}let Tm=!0;function nk(t){Tm=!(t===void 0?!0:t)}function Sy(t,e){if(e!==void 0){for(let n=0,i=t.length;n=-180&&t[0]<=180&&t[1]>=-90&&t[1]<=90&&(Tm=!1,tk("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),t}function Ty(t,e){return t}function Xr(t,e){return t}function _ne(){mw(uw),mw(hw),gne(hw,uw,Xte,qte)}_ne();function _w(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 h=t[0]+l/2+u,f=t[2]-l/2+u,p=t[1]+c/2+d,m=t[3]-c/2+d;h>f&&(h=(f+h)/2,f=h),p>m&&(p=(m+p)/2,m=p);let y=Jt(i[0],h,f),v=Jt(i[1],p,m);if(o&&n&&s){const b=30*s;y+=-b*Math.log(1+Math.max(0,h-i[0])/b)+b*Math.log(1+Math.max(0,i[0]-f)/b),v+=-b*Math.log(1+Math.max(0,p-i[1])/b)+b*Math.log(1+Math.max(0,i[1]-m)/b)}return[y,v]}}function yne(t){return t}function ky(t,e,n,i){const s=vt(e)/n[0],r=Yn(e)/n[1];return i?Math.min(t,Math.max(s,r)):Math.min(t,Math.min(s,r))}function Ay(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),Jt(i,n/2,e*2)}function vne(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?ky(l,n,o,i):l;if(a)return e?Ay(s,u,c):Jt(s,c,u);const d=Math.min(u,s),h=Math.floor(my(t,d,r));return t[h]>u&&hMath.round(n*bw[i])/bw[i]).join(", ")+")"}function no(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]))&&Bf(n),this.extentRevision_=this.getRevision()}return one(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=Gi(e),s=i.getUnits()=="tile-pixels"?function(r,o,a){const l=i.getExtent(),c=i.getWorldExtent(),u=Yn(c)/Yn(l);return _r(ww,c[0],c[3],u,-u,0,0,0),no(r,0,r.length,a,ww,o),Lh(i,n)(r,o,a)}:Lh(i,n);return this.applyTransform(s),this}}class jf extends Ine{constructor(){super(),this.layout="XY",this.stride=2,this.flatCoordinates}computeExtent(e){return wy(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(h>0){for(let f=0;fs&&(s=c),r=a,o=l}return s}function Dne(t,e,n,i,s){for(let r=0,o=n.length;r0;){const d=c.pop(),h=c.pop();let f=0;const p=t[h],m=t[h+1],y=t[d],v=t[d+1];for(let b=h+i;bf&&(u=b,f=w)}f>s&&(l[(u-e)/i]=1,h+i0&&m>f)&&(p<0&&y0&&y>p)){c=d,u=h;continue}r[o++]=c,r[o++]=u,a=c,l=u,c=d,u=h}return r[o++]=c,r[o++]=u,o}function lk(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 uk(t,e,n,i,s,r){if(n.length===0||!Go(t,e,n[0],i,s,r))return!1;for(let o=1,a=n.length;ov&&(c=(u+d)/2,uk(t,e,n,i,c,p)&&(y=c,v=b)),u=d}return isNaN(y)&&(y=s[r]),o?(o.push(y,p,v),o):[y,p,v]}function zne(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:dk(t,e,n,i,function(o,a){return ane(s,o,a)}):!1}function hk(t,e,n,i,s){return!!($y(t,e,n,i,s)||Go(t,e,n,i,s[0],s[1])||Go(t,e,n,i,s[0],s[3])||Go(t,e,n,i,s[2],s[1])||Go(t,e,n,i,s[2],s[3]))}function Wne(t,e,n,i,s){if(!hk(t,e,n[0],i,s))return!1;if(n.length===1)return!0;for(let r=1,o=n.length;r0}function Yne(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_[Vn.INTERACTING]>0}cancelAnimations(){this.setHint(Vn.ANIMATING,-this.hints_[Vn.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 h=l.sourceCenter[0],f=l.sourceCenter[1],p=l.targetCenter[0],m=l.targetCenter[1];this.nextCenter_=l.targetCenter;const y=h+d*(p-h),v=f+d*(m-f);this.targetCenter_=[y,v]}if(l.sourceResolution&&l.targetResolution){const h=d===1?l.targetResolution:l.sourceResolution+d*(l.targetResolution-l.sourceResolution);if(l.anchor){const f=this.getViewportSize_(this.getRotation()),p=this.constraints_.resolution(h,0,f,!0);this.targetCenter_=this.calculateCenterZoom(p,l.anchor)}this.nextResolution_=l.targetResolution,this.targetResolution_=h,this.applyTargetState_(!0)}if(l.sourceRotation!==void 0&&l.targetRotation!==void 0){const h=d===1?ll(l.targetRotation+Math.PI,2*Math.PI)-Math.PI:l.sourceRotation+d*(l.targetRotation-l.sourceRotation);if(l.anchor){const f=this.constraints_.rotation(h,!0);this.targetCenter_=this.calculateCenterRotate(f,l.anchor)}this.nextRotation_=l.targetRotation,this.targetRotation_=h}if(this.applyTargetState_(!0),n=!0,!l.complete)break}if(r){this.animations_[i]=null,this.setHint(Vn.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const o=s[0].callback;o&&Hd(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]],Ey(i,e-this.getRotation()),lne(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&&km(e,this.getProjection())}getCenterInternal(){return this.get(Qi.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 Ty(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"),Cm(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(Qi.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(e,n){return this.getResolutionForExtentInternal(Xr(e,this.getProjection()),n)}getResolutionForExtentInternal(e,n){n=n||this.getViewportSizeMinusPadding_();const i=vt(e)/n[0],s=Yn(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(Qi.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=dp(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=my(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=Jt(Math.floor(e),0,this.resolutions_.length-2),i=this.resolutions_[n]/this.resolutions_[n+1];return this.resolutions_[n]/Math.pow(i,Jt(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(!Hf(e),"Cannot fit empty extent provided as `geometry`");const s=Xr(e,this.getProjection());i=Tw(s)}else if(e.getType()==="Circle"){const s=Xr(e.getExtent(),this.getProjection());i=Tw(s),i.rotate(this.getRotation(),da(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,h=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 Ss?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 Oy(s,n.viewState)&&(!r||fi(r,n.extent))}getAttributions(e){if(!this.isVisible(e))return[];const n=this.getSource()?.getAttributions();if(!n)return[];const i=e instanceof Ss?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(xt.MAP,e)}getMapInternal(){return this.get(xt.MAP)}setMap(e){this.mapPrecomposeKey_&&(Dt(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),e||this.changed(),this.mapRenderKey_&&(Dt(this.mapRenderKey_),this.mapRenderKey_=null),e&&(this.mapPrecomposeKey_=ft(e,Hi.PRECOMPOSE,this.handlePrecompose_,this),this.mapRenderKey_=ft(this,et.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(xt.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 Oy(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 fk(t,e,n=0,i=t.length-1,s=Zne){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),h=.5*Math.sqrt(u*d*(l-d)/l)*(c-l/2<0?-1:1),f=Math.max(n,Math.floor(e-c*d/l+h)),p=Math.min(i,Math.floor(e+(l-c)*d/l+h));fk(t,e,f,p,s)}const r=t[e];let o=n,a=i;for(pc(t,n,e),s(t[i],r)>0&&pc(t,n,i);o0;)a--}s(t[n],r)===0?pc(t,n,a):(a++,pc(t,a,i)),a<=e&&(n=a+1),e<=a&&(i=a-1)}}function pc(t,e,n){const i=t[e];t[e]=t[n],t[n]=i}function Zne(t,e){return te?1:0}let gk=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(!jd(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=Ua(i.children.splice(o,i.children.length-o));a.height=i.height,a.leaf=i.leaf,Na(i,this.toBBox),Na(a,this.toBBox),n?e[n-1].children.push(a):this._splitRoot(i,a)}_splitRoot(e,n){this.data=Ua([e,n]),this.data.height=e.height+1,this.data.leaf=!1,Na(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=Cc(e,0,a,this.toBBox),c=Cc(e,a,i,this.toBBox),u=nie(l,c),d=hp(l)+hp(c);u=n;c--){const u=e.children[c];Tc(a,e.leaf?r(u):u),l+=Yd(a)}return l}_adjustParentBBoxes(e,n,i){for(let s=i;s>=0;s--)Tc(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():Na(e[n],this.toBBox)}};function Jne(t,e,n){if(!n)return e.indexOf(t);for(let i=0;i=t.minX&&e.maxY>=t.minY}function Ua(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function kw(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;fk(t,o,e,n,s),r.push(e,o,o,n)}}const ot={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};function Aw(t){return t[0]>0&&t[1]>0}function iie(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 mi(t,e){return Array.isArray(t)?t:(e===void 0?e=[t,t]:(e[0]=t,e[1]=t),e)}class Gf{constructor(e){this.opacity_=e.opacity,this.rotateWithView_=e.rotateWithView,this.rotation_=e.rotation,this.scale_=e.scale,this.scaleArray_=mi(e.scale),this.displacement_=e.displacement,this.declutterMode_=e.declutterMode}clone(){const e=this.getScale();return new Gf({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_=mi(e)}listenImageChange(e){pt()}load(){pt()}unlistenImageChange(e){pt()}ready(){return Promise.resolve()}}const Eu={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]};var Ln={name:"xyz",min:[0,0,0],channel:["X","Y","Z"],alias:["XYZ","ciexyz","cie1931"]};Ln.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]}};Ln.max=Ln.whitepoint[2].D65;Ln.rgb=function(t,e){e=e||Ln.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]};Eu.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||Ln.whitepoint[2].E,[r*e[0],o*e[1],a*e[2]]};const Ny={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,h,f,p,m;if(r=t[0],o=t[1],a=t[2],r===0)return[0,0,0];var y=.0011070564598794539;return e=e||"D65",n=n||2,d=Ln.whitepoint[n][e][0],h=Ln.whitepoint[n][e][1],f=Ln.whitepoint[n][e][2],p=4*d/(d+15*h+3*f),m=9*h/(d+15*h+3*f),i=o/(13*r)+p||0,s=a/(13*r)+m||0,c=r>8?h*Math.pow((r+16)/116,3):h*r*y,l=c*9*i/(4*s)||0,u=c*(12-3*i-20*s)/(4*s)||0,[l,c,u]}};Ln.luv=function(t,e,n){var i,s,r,o,a,l,c,u,d,h,f,p,m,y=.008856451679035631,v=903.2962962962961;e=e||"D65",n=n||2,d=Ln.whitepoint[n][e][0],h=Ln.whitepoint[n][e][1],f=Ln.whitepoint[n][e][2],p=4*d/(d+15*h+3*f),m=9*h/(d+15*h+3*f),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 b=c/h;return r=b<=y?v*b:116*Math.pow(b,1/3)-16,o=13*r*(i-p),a=13*r*(s-m),[r,o,a]};var pk={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 Ny.xyz(pk.luv(t))}};Ny.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]};Ln.lchuv=function(t){return Ny.lchuv(Ln.luv(t))};const Mw={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 Iw={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function sie(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(),Mw[t])n=Mw[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(Iw[u]!==void 0)return Iw[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 gp={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}};Eu.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 rie(t){Array.isArray(t)&&t.raw&&(t=String.raw(...arguments)),t instanceof Number&&(t=+t);var e,n=sie(t);if(!n.space)return[];const i=n.space[0]==="h"?gp.min:Eu.min,s=n.space[0]==="h"?gp.max:Eu.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=gp.rgb(e)),e.push(Math.min(Math.max(n.alpha,0),1)),e}const Fy=[NaN,NaN,NaN,0];function oie(t){return typeof t=="string"?t:Vy(t)}const aie=1024,mc={};let pp=0;function lie(t){if(t.length===4)return t;const e=t.slice();return e[3]=1,e}function Pw(t){const e=Ln.lchuv(Eu.xyz(t));return e[3]=t[3],e}function cie(t){const e=Ln.rgb(pk.xyz(t));return e[3]=t[3],e}function By(t){if(t==="none")return Fy;if(mc.hasOwnProperty(t))return mc[t];if(pp>=aie){let n=0;for(const i in mc)n++&3||(delete mc[i],--pp)}const e=rie(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 mk(e),mc[t]=e,++pp,e}function Su(t){return Array.isArray(t)?t:By(t)}function mk(t){return t[0]=Jt(t[0]+.5|0,0,255),t[1]=Jt(t[1]+.5|0,0,255),t[2]=Jt(t[2]+.5|0,0,255),t[3]=Jt(t[3],0,1),t}function Vy(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 uo=typeof navigator<"u"&&typeof navigator.userAgent<"u"?navigator.userAgent.toLowerCase():"",uie=uo.includes("firefox"),die=uo.includes("safari")&&!uo.includes("chrom");die&&(uo.includes("version/15.4")||/cpu (os|iphone os) 15_4 like mac os x/.test(uo));const hie=uo.includes("webkit")&&!uo.includes("edge"),_k=uo.includes("macintosh"),yk=typeof devicePixelRatio<"u"?devicePixelRatio:1,vk=typeof WorkerGlobalScope<"u"&&typeof OffscreenCanvas<"u"&&self instanceof WorkerGlobalScope,bk=typeof Image<"u"&&Image.prototype.decode,wk=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 an(t,e,n,i){let s;return n&&n.length?s=n.shift():vk?s=new OffscreenCanvas(t||300,e||300):s=document.createElement("canvas"),t&&(s.width=t),e&&(s.height=e),s.getContext("2d",i)}let mp;function Nh(){return mp||(mp=an(1,1)),mp}function Bl(t){const e=t.canvas;e.width=1,e.height=1,t.clearRect(0,0,1,1)}function Rw(t,e){const n=e.parentNode;n&&n.replaceChild(t,e)}function fie(t){for(;t.lastChild;)t.lastChild.remove()}function gie(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 pie(t,e,n){const i=t;let s=!0,r=!1,o=!1;const a=[Rh(i,et.LOAD,function(){o=!0,r||e()})];return i.src&&bk?(r=!0,i.decode().then(function(){s&&e()}).catch(function(l){s&&(o?e():n())})):a.push(Rh(i,et.ERROR,n)),function(){s=!1,a.forEach(Dt)}}function mie(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),e&&(t.src=e)})}function _ie(t,e){return e&&(t.src=e),t.src&&bk?new Promise((n,i)=>t.decode().then(()=>n(t)).catch(s=>t.complete&&t.width?n(t):i(s))):mie(t)}class yie{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=_p(e,n,i);return s in this.cache_?this.cache_[s]:null}getPattern(e,n,i){const s=_p(e,n,i);return s in this.patternCache_?this.patternCache_[s]:null}set(e,n,i,s,r){const o=_p(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]=Nh().createPattern(s.getImage(1),"repeat")}):this.patternCache_[o]=Nh().createPattern(s.getImage(1),"repeat")),a||++this.cacheSize_}setSize(e){this.maxCacheSize_=e,this.expire()}}function _p(t,e,n){const i=n?Su(n):"null";return e+":"+t+":"+i}const Ms=new yie;let _c=null;class vie extends Ff{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){_c||(_c=an(1,1,void 0,{willReadFrequently:!0})),_c.drawImage(this.image_,0,0);try{_c.getImageData(0,0,1,1),this.tainted_=!1}catch{_c=null,this.tainted_=!0}}return this.tainted_===!0}dispatchChangeEvent_(){this.dispatchEvent(et.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=an(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=an(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=oie(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(et.CHANGE,n),e())};this.addEventListener(et.CHANGE,n)}})),this.ready_}}function zy(t,e,n,i,s,r){let o=e===void 0?void 0:Ms.get(e,n,s);return o||(o=new vie(t,t&&"src"in t?t.src||void 0:e,n,i,s),Ms.set(e,n,s,o,r)),r&&o&&!Ms.getPattern(e,n,s)&&Ms.set(e,n,s,o,r),o}function Is(t){return t?Array.isArray(t)?Vy(t):typeof t=="object"&&"src"in t?bie(t):t:null}function bie(t){if(!t.offset||!t.size)return Ms.getPattern(t.src,"anonymous",t.color);const e=t.src+":"+t.offset,n=Ms.getPattern(e,void 0,t.color);if(n)return n;const i=Ms.get(t.src,"anonymous",null);if(i.getImageState()!==ot.LOADED)return null;const s=an(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]),zy(s.canvas,e,void 0,ot.LOADED,t.color,!0),Ms.getPattern(e,void 0,t.color)}const Kd="ol-hidden",Xf="ol-unselectable",Wy="ol-control",Dw="ol-collapsed",wie=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"),$w=["style","variant","weight","size","lineHeight","family"],xk=function(t){const e=t.match(wie);if(!e)return null;const n={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"};for(let i=0,s=$w.length;iMath.max(s,Bh(t,r)),0);return n[e]=i,i}function Sie(t,e){const n=[],i=[],s=[];let r=0,o=0,a=0,l=0;for(let c=0,u=e.length;c<=u;c+=2){const d=e[c];if(d===` +`||c===u){r=Math.max(r,o),s.push(o),o=0,a+=l,l=0;continue}const h=e[c+1]||t.font,f=Bh(h,d);n.push(f),o+=f;const p=Eie(h);i.push(p),l=Math.max(l,p)}return{width:r,height:a,widths:n,heights:i,lineWidths:s}}function Cie(t,e,n,i,s,r,o,a,l,c,u){t.save(),n!==1&&(t.globalAlpha===void 0?t.globalAlpha=d=>d.globalAlpha*=n:t.globalAlpha*=n),e&&t.transform.apply(t,e),i.contextInstructions?(t.translate(l,c),t.scale(u[0],u[1]),Tie(i,t)):u[0]<0||u[1]<0?(t.translate(l,c),t.scale(u[0],u[1]),t.drawImage(i,s,r,o,a,0,0,o,a)):t.drawImage(i,s,r,o,a,l,c,o*u[0],a*u[1]),t.restore()}function Tie(t,e){const n=t.contextInstructions;for(let i=0,s=n.length;ithis.imageState_=ot.LOADED),this.render()}clone(){const e=this.getScale(),n=new qf({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(e)?e.slice():e,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return n.setOpacity(this.getOpacity()),n}getAnchor(){const e=this.size_,n=this.getDisplacement(),i=this.getScaleArray();return[e[0]/2-n[0]/i[0],e[1]/2+n[1]/i[1]]}getAngle(){return this.angle_}getFill(){return this.fill_}setFill(e){this.fill_=e,this.render()}getHitDetectionImage(){return this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.createHitDetectionCanvas_(this.renderOptions_)),this.hitDetectionCanvas_}getImage(e){let n=this.canvases_[e];if(!n){const i=this.renderOptions_,s=an(i.size*e,i.size*e);this.draw_(i,s,e),n=s.canvas,this.canvases_[e]=n}return n}getPixelRatio(e){return e}getImageSize(){return this.size_}getImageState(){return this.imageState_}getOrigin(){return this.origin_}getPoints(){return this.points_}getRadius(){return this.radius}getRadius2(){return this.radius2_}getSize(){return this.size_}getStroke(){return this.stroke_}setStroke(e){this.stroke_=e,this.render()}listenImageChange(e){}load(){}unlistenImageChange(e){}calculateLineJoinSize_(e,n,i){if(n===0||this.points_===1/0||e!=="bevel"&&e!=="miter")return n;let s=this.radius,r=this.radius2_===void 0?s:this.radius2_;if(s{this.patternImage_=null}),n.getImageState()===ot.IDLE&&n.load(),n.getImageState()===ot.LOADING&&(this.patternImage_=n)}this.color_=e}loading(){return!!this.patternImage_}ready(){return this.patternImage_?this.patternImage_.ready():Promise.resolve()}}const Zf=jy;class Ky{constructor(e){e=e||{},this.color_=e.color!==void 0?e.color:null,this.lineCap_=e.lineCap,this.lineDash_=e.lineDash!==void 0?e.lineDash:null,this.lineDashOffset_=e.lineDashOffset,this.lineJoin_=e.lineJoin,this.miterLimit_=e.miterLimit,this.width_=e.width}clone(){const e=this.getColor();return new Ky({color:Array.isArray(e)?e.slice():e||void 0,lineCap:this.getLineCap(),lineDash:this.getLineDash()?this.getLineDash().slice():void 0,lineDashOffset:this.getLineDashOffset(),lineJoin:this.getLineJoin(),miterLimit:this.getMiterLimit(),width:this.getWidth()})}getColor(){return this.color_}getLineCap(){return this.lineCap_}getLineDash(){return this.lineDash_}getLineDashOffset(){return this.lineDashOffset_}getLineJoin(){return this.lineJoin_}getMiterLimit(){return this.miterLimit_}getWidth(){return this.width_}setColor(e){this.color_=e}setLineCap(e){this.lineCap_=e}setLineDash(e){this.lineDash_=e}setLineDashOffset(e){this.lineDashOffset_=e}setLineJoin(e){this.lineJoin_=e}setMiterLimit(e){this.miterLimit_=e}setWidth(e){this.width_=e}}const Vh=Ky;class Jf{constructor(e){e=e||{},this.geometry_=null,this.geometryFunction_=Ow,e.geometry!==void 0&&this.setGeometry(e.geometry),this.fill_=e.fill!==void 0?e.fill:null,this.image_=e.image!==void 0?e.image:null,this.renderer_=e.renderer!==void 0?e.renderer:null,this.hitDetectionRenderer_=e.hitDetectionRenderer!==void 0?e.hitDetectionRenderer:null,this.stroke_=e.stroke!==void 0?e.stroke:null,this.text_=e.text!==void 0?e.text:null,this.zIndex_=e.zIndex}clone(){let e=this.getGeometry();return e&&typeof e=="object"&&(e=e.clone()),new Jf({geometry:e??void 0,fill:this.getFill()?this.getFill().clone():void 0,image:this.getImage()?this.getImage().clone():void 0,renderer:this.getRenderer()??void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,text:this.getText()?this.getText().clone():void 0,zIndex:this.getZIndex()})}getRenderer(){return this.renderer_}setRenderer(e){this.renderer_=e}setHitDetectionRenderer(e){this.hitDetectionRenderer_=e}getHitDetectionRenderer(){return this.hitDetectionRenderer_}getGeometry(){return this.geometry_}getGeometryFunction(){return this.geometryFunction_}getFill(){return this.fill_}setFill(e){this.fill_=e}getImage(){return this.image_}setImage(e){this.image_=e}getStroke(){return this.stroke_}setStroke(e){this.stroke_=e}getText(){return this.text_}setText(e){this.text_=e}getZIndex(){return this.zIndex_}setGeometry(e){typeof e=="function"?this.geometryFunction_=e:typeof e=="string"?this.geometryFunction_=function(n){return n.get(e)}:e?e!==void 0&&(this.geometryFunction_=function(){return e}):this.geometryFunction_=Ow,this.geometry_=e}setZIndex(e){this.zIndex_=e}}function kie(t){let e;if(typeof t=="function")e=t;else{let n;Array.isArray(t)?n=t:(mt(typeof t.getZIndex=="function","Expected an `Style` or an array of `Style`"),n=[t]),e=function(){return n}}return e}let yp=null;function Ck(t,e){if(!yp){const n=new Zf({color:"rgba(255,255,255,0.4)"}),i=new Vh({color:"#3399CC",width:1.25});yp=[new Jf({image:new Yy({fill:n,stroke:i,radius:5}),fill:n,stroke:i})]}return yp}function Ow(t){return t.getGeometry()}const ul=Jf;function Nw(t,e,n,i){return n!==void 0&&i!==void 0?[n/t,i/e]:n!==void 0?n/t:i!==void 0?i/e:1}class Qf extends Gf{constructor(e){e=e||{};const n=e.opacity!==void 0?e.opacity:1,i=e.rotation!==void 0?e.rotation:0,s=e.scale!==void 0?e.scale:1,r=e.rotateWithView!==void 0?e.rotateWithView:!1;super({opacity:n,rotation:i,scale:s,displacement:e.displacement!==void 0?e.displacement:[0,0],rotateWithView:r,declutterMode:e.declutterMode}),this.anchor_=e.anchor!==void 0?e.anchor:[.5,.5],this.normalizedAnchor_=null,this.anchorOrigin_=e.anchorOrigin!==void 0?e.anchorOrigin:"top-left",this.anchorXUnits_=e.anchorXUnits!==void 0?e.anchorXUnits:"fraction",this.anchorYUnits_=e.anchorYUnits!==void 0?e.anchorYUnits:"fraction",this.crossOrigin_=e.crossOrigin!==void 0?e.crossOrigin:null;const o=e.img!==void 0?e.img:null;let a=e.src;mt(!(a!==void 0&&o),"`image` and `src` cannot be provided at the same time"),(a===void 0||a.length===0)&&o&&(a=o.src||wt(o)),mt(a!==void 0&&a.length>0,"A defined and non-empty `src` or `image` must be provided"),mt(!((e.width!==void 0||e.height!==void 0)&&e.scale!==void 0),"`width` or `height` cannot be provided together with `scale`");let l;if(e.src!==void 0?l=ot.IDLE:o!==void 0&&("complete"in o?o.complete?l=o.src?ot.LOADED:ot.IDLE:l=ot.LOADING:l=ot.LOADED),this.color_=e.color!==void 0?Su(e.color):null,this.iconImage_=zy(o,a,this.crossOrigin_,l,this.color_),this.offset_=e.offset!==void 0?e.offset:[0,0],this.offsetOrigin_=e.offsetOrigin!==void 0?e.offsetOrigin:"top-left",this.origin_=null,this.size_=e.size!==void 0?e.size:null,this.initialOptions_,e.width!==void 0||e.height!==void 0){let c,u;if(e.size)[c,u]=e.size;else{const d=this.getImage(1);if(d.width&&d.height)c=d.width,u=d.height;else if(d instanceof HTMLImageElement){this.initialOptions_=e;const h=()=>{if(this.unlistenImageChange(h),!this.initialOptions_)return;const f=this.iconImage_.getSize();this.setScale(Nw(f[0],f[1],e.width,e.height))};this.listenImageChange(h);return}}c!==void 0&&this.setScale(Nw(c,u,e.width,e.height))}}clone(){let e,n,i;return this.initialOptions_?(n=this.initialOptions_.width,i=this.initialOptions_.height):(e=this.getScale(),e=Array.isArray(e)?e.slice():e),new Qf({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,crossOrigin:this.crossOrigin_,offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,opacity:this.getOpacity(),rotateWithView:this.getRotateWithView(),rotation:this.getRotation(),scale:e,width:n,height:i,size:this.size_!==null?this.size_.slice():void 0,src:this.getSrc(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getAnchor(){let e=this.normalizedAnchor_;if(!e){e=this.anchor_;const s=this.getSize();if(this.anchorXUnits_=="fraction"||this.anchorYUnits_=="fraction"){if(!s)return null;e=this.anchor_.slice(),this.anchorXUnits_=="fraction"&&(e[0]*=s[0]),this.anchorYUnits_=="fraction"&&(e[1]*=s[1])}if(this.anchorOrigin_!="top-left"){if(!s)return null;e===this.anchor_&&(e=this.anchor_.slice()),(this.anchorOrigin_=="top-right"||this.anchorOrigin_=="bottom-right")&&(e[0]=-e[0]+s[0]),(this.anchorOrigin_=="bottom-left"||this.anchorOrigin_=="bottom-right")&&(e[1]=-e[1]+s[1])}this.normalizedAnchor_=e}const n=this.getDisplacement(),i=this.getScaleArray();return[e[0]-n[0]/i[0],e[1]+n[1]/i[1]]}setAnchor(e){this.anchor_=e,this.normalizedAnchor_=null}getColor(){return this.color_}getImage(e){return this.iconImage_.getImage(e)}getPixelRatio(e){return this.iconImage_.getPixelRatio(e)}getImageSize(){return this.iconImage_.getSize()}getImageState(){return this.iconImage_.getImageState()}getHitDetectionImage(){return this.iconImage_.getHitDetectionImage()}getOrigin(){if(this.origin_)return this.origin_;let e=this.offset_;if(this.offsetOrigin_!="top-left"){const n=this.getSize(),i=this.iconImage_.getSize();if(!n||!i)return null;e=e.slice(),(this.offsetOrigin_=="top-right"||this.offsetOrigin_=="bottom-right")&&(e[0]=i[0]-n[0]-e[0]),(this.offsetOrigin_=="bottom-left"||this.offsetOrigin_=="bottom-right")&&(e[1]=i[1]-n[1]-e[1])}return this.origin_=e,this.origin_}getSrc(){return this.iconImage_.getSrc()}getSize(){return this.size_?this.size_:this.iconImage_.getSize()}getWidth(){const e=this.getScaleArray();if(this.size_)return this.size_[0]*e[0];if(this.iconImage_.getImageState()==ot.LOADED)return this.iconImage_.getSize()[0]*e[0]}getHeight(){const e=this.getScaleArray();if(this.size_)return this.size_[1]*e[1];if(this.iconImage_.getImageState()==ot.LOADED)return this.iconImage_.getSize()[1]*e[1]}setScale(e){delete this.initialOptions_,super.setScale(e)}listenImageChange(e){this.iconImage_.addEventListener(et.CHANGE,e)}load(){this.iconImage_.load()}unlistenImageChange(e){this.iconImage_.removeEventListener(et.CHANGE,e)}ready(){return this.iconImage_.ready()}}const Aie="#333";class Uy{constructor(e){e=e||{},this.font_=e.font,this.rotation_=e.rotation,this.rotateWithView_=e.rotateWithView,this.scale_=e.scale,this.scaleArray_=mi(e.scale!==void 0?e.scale:1),this.text_=e.text,this.textAlign_=e.textAlign,this.justify_=e.justify,this.repeat_=e.repeat,this.textBaseline_=e.textBaseline,this.fill_=e.fill!==void 0?e.fill:new Zf({color:Aie}),this.maxAngle_=e.maxAngle!==void 0?e.maxAngle:Math.PI/4,this.placement_=e.placement!==void 0?e.placement:"point",this.overflow_=!!e.overflow,this.stroke_=e.stroke!==void 0?e.stroke:null,this.offsetX_=e.offsetX!==void 0?e.offsetX:0,this.offsetY_=e.offsetY!==void 0?e.offsetY:0,this.backgroundFill_=e.backgroundFill?e.backgroundFill:null,this.backgroundStroke_=e.backgroundStroke?e.backgroundStroke:null,this.padding_=e.padding===void 0?null:e.padding,this.declutterMode_=e.declutterMode}clone(){const e=this.getScale();return new Uy({font:this.getFont(),placement:this.getPlacement(),repeat:this.getRepeat(),maxAngle:this.getMaxAngle(),overflow:this.getOverflow(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(e)?e.slice():e,text:this.getText(),textAlign:this.getTextAlign(),justify:this.getJustify(),textBaseline:this.getTextBaseline(),fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,offsetX:this.getOffsetX(),offsetY:this.getOffsetY(),backgroundFill:this.getBackgroundFill()?this.getBackgroundFill().clone():void 0,backgroundStroke:this.getBackgroundStroke()?this.getBackgroundStroke().clone():void 0,padding:this.getPadding()||void 0,declutterMode:this.getDeclutterMode()})}getOverflow(){return this.overflow_}getFont(){return this.font_}getMaxAngle(){return this.maxAngle_}getPlacement(){return this.placement_}getRepeat(){return this.repeat_}getOffsetX(){return this.offsetX_}getOffsetY(){return this.offsetY_}getFill(){return this.fill_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getStroke(){return this.stroke_}getText(){return this.text_}getTextAlign(){return this.textAlign_}getJustify(){return this.justify_}getTextBaseline(){return this.textBaseline_}getBackgroundFill(){return this.backgroundFill_}getBackgroundStroke(){return this.backgroundStroke_}getPadding(){return this.padding_}getDeclutterMode(){return this.declutterMode_}setOverflow(e){this.overflow_=e}setFont(e){this.font_=e}setMaxAngle(e){this.maxAngle_=e}setOffsetX(e){this.offsetX_=e}setOffsetY(e){this.offsetY_=e}setPlacement(e){this.placement_=e}setRepeat(e){this.repeat_=e}setRotateWithView(e){this.rotateWithView_=e}setFill(e){this.fill_=e}setRotation(e){this.rotation_=e}setScale(e){this.scale_=e,this.scaleArray_=mi(e!==void 0?e:1)}setStroke(e){this.stroke_=e}setText(e){this.text_=e}setTextAlign(e){this.textAlign_=e}setJustify(e){this.justify_=e}setTextBaseline(e){this.textBaseline_=e}setBackgroundFill(e){this.backgroundFill_=e}setBackgroundStroke(e){this.backgroundStroke_=e}setPadding(e){this.padding_=e}}let wa=0;const qn=1<",GreaterThanOrEqualTo:">=",LessThan:"<",LessThanOrEqualTo:"<=",Multiply:"*",Divide:"/",Add:"+",Subtract:"-",Clamp:"clamp",Mod:"%",Pow:"^",Abs:"abs",Floor:"floor",Ceil:"ceil",Round:"round",Sin:"sin",Cos:"cos",Atan:"atan",Sqrt:"sqrt",Match:"match",Between:"between",Interpolate:"interpolate",Coalesce:"coalesce",Case:"case",In:"in",Number:"number",String:"string",Array:"array",Color:"color",Id:"id",Band:"band",Palette:"palette",ToString:"to-string",Has:"has"},Rie={[_e.Get]:Ue(st(1,1/0),Fw),[_e.Var]:Ue(st(1,1),Die),[_e.Has]:Ue(st(1,1/0),Fw),[_e.Id]:Ue($ie,Fa),[_e.Concat]:Ue(st(2,1/0),_t(di)),[_e.GeometryType]:Ue(Lie,Fa),[_e.LineMetric]:Ue(Fa),[_e.Resolution]:Ue(Fa),[_e.Zoom]:Ue(Fa),[_e.Time]:Ue(Fa),[_e.Any]:Ue(st(2,1/0),_t(qn)),[_e.All]:Ue(st(2,1/0),_t(qn)),[_e.Not]:Ue(st(1,1),_t(qn)),[_e.Equal]:Ue(st(2,2),_t(Ud)),[_e.NotEqual]:Ue(st(2,2),_t(Ud)),[_e.GreaterThan]:Ue(st(2,2),_t(dt)),[_e.GreaterThanOrEqualTo]:Ue(st(2,2),_t(dt)),[_e.LessThan]:Ue(st(2,2),_t(dt)),[_e.LessThanOrEqualTo]:Ue(st(2,2),_t(dt)),[_e.Multiply]:Ue(st(2,1/0),Bw),[_e.Coalesce]:Ue(st(2,1/0),Bw),[_e.Divide]:Ue(st(2,2),_t(dt)),[_e.Add]:Ue(st(2,1/0),_t(dt)),[_e.Subtract]:Ue(st(2,2),_t(dt)),[_e.Clamp]:Ue(st(3,3),_t(dt)),[_e.Mod]:Ue(st(2,2),_t(dt)),[_e.Pow]:Ue(st(2,2),_t(dt)),[_e.Abs]:Ue(st(1,1),_t(dt)),[_e.Floor]:Ue(st(1,1),_t(dt)),[_e.Ceil]:Ue(st(1,1),_t(dt)),[_e.Round]:Ue(st(1,1),_t(dt)),[_e.Sin]:Ue(st(1,1),_t(dt)),[_e.Cos]:Ue(st(1,1),_t(dt)),[_e.Atan]:Ue(st(1,2),_t(dt)),[_e.Sqrt]:Ue(st(1,1),_t(dt)),[_e.Match]:Ue(st(4,1/0),Vw,Nie),[_e.Between]:Ue(st(3,3),_t(dt)),[_e.Interpolate]:Ue(st(6,1/0),Vw,Fie),[_e.Case]:Ue(st(3,1/0),Oie,Bie),[_e.In]:Ue(st(2,2),Vie),[_e.Number]:Ue(st(1,1/0),_t(Ud)),[_e.String]:Ue(st(1,1/0),_t(Ud)),[_e.Array]:Ue(st(1,1/0),_t(dt)),[_e.Color]:Ue(st(1,4),_t(dt)),[_e.Band]:Ue(st(1,3),_t(dt)),[_e.Palette]:Ue(st(2,2),zie),[_e.ToString]:Ue(st(1,1),_t(qn|dt|di|os))};function Fw(t,e,n){const i=t.length-1,s=new Array(i);for(let r=0;re){const a=e===1/0?`${t} or more`:`${t} to ${e}`;throw new Error(`expected ${a} arguments for ${r}, got ${o}`)}}}function Bw(t,e,n){const i=t.length-1,s=new Array(i);for(let r=0;ri.featureId;case _e.GeometryType:return i=>i.geometryType;case _e.Concat:{const i=t.args.map(s=>gs(s));return s=>"".concat(...i.map(r=>r(s).toString()))}case _e.Resolution:return i=>i.resolution;case _e.Any:case _e.All:case _e.Between:case _e.In:case _e.Not:return Kie(t);case _e.Equal:case _e.NotEqual:case _e.LessThan:case _e.LessThanOrEqualTo:case _e.GreaterThan:case _e.GreaterThanOrEqualTo:return jie(t);case _e.Multiply:case _e.Divide:case _e.Add:case _e.Subtract:case _e.Clamp:case _e.Mod:case _e.Pow:case _e.Abs:case _e.Floor:case _e.Ceil:case _e.Round:case _e.Sin:case _e.Cos:case _e.Atan:case _e.Sqrt:return Uie(t);case _e.Case:return Gie(t);case _e.Match:return Xie(t);case _e.Interpolate:return qie(t);case _e.ToString:return Zie(t);default:throw new Error(`Unsupported operator ${n}`)}}function Hie(t,e){const n=t.operator,i=t.args.length,s=new Array(i);for(let r=0;r{for(let o=0;o{for(let o=0;o{const r=t.args;let o=s.properties[i];for(let a=1,l=r.length;as.variables[i];case _e.Has:return s=>{const r=t.args;if(!(i in s.properties))return!1;let o=s.properties[i];for(let a=1,l=r.length;ai(r)===s(r);case _e.NotEqual:return r=>i(r)!==s(r);case _e.LessThan:return r=>i(r)i(r)<=s(r);case _e.GreaterThan:return r=>i(r)>s(r);case _e.GreaterThanOrEqualTo:return r=>i(r)>=s(r);default:throw new Error(`Unsupported comparison operator ${n}`)}}function Kie(t,e){const n=t.operator,i=t.args.length,s=new Array(i);for(let r=0;r{for(let o=0;o{for(let o=0;o{const o=s[0](r),a=s[1](r),l=s[2](r);return o>=a&&o<=l};case _e.In:return r=>{const o=s[0](r);for(let a=1;a!s[0](r);default:throw new Error(`Unsupported logical operator ${n}`)}}function Uie(t,e){const n=t.operator,i=t.args.length,s=new Array(i);for(let r=0;r{let o=1;for(let a=0;as[0](r)/s[1](r);case _e.Add:return r=>{let o=0;for(let a=0;as[0](r)-s[1](r);case _e.Clamp:return r=>{const o=s[0](r),a=s[1](r);if(ol?l:o};case _e.Mod:return r=>s[0](r)%s[1](r);case _e.Pow:return r=>Math.pow(s[0](r),s[1](r));case _e.Abs:return r=>Math.abs(s[0](r));case _e.Floor:return r=>Math.floor(s[0](r));case _e.Ceil:return r=>Math.ceil(s[0](r));case _e.Round:return r=>Math.round(s[0](r));case _e.Sin:return r=>Math.sin(s[0](r));case _e.Cos:return r=>Math.cos(s[0](r));case _e.Atan:return i===2?r=>Math.atan2(s[0](r),s[1](r)):r=>Math.atan(s[0](r));case _e.Sqrt:return r=>Math.sqrt(s[0](r));default:throw new Error(`Unsupported numeric operator ${n}`)}}function Gie(t,e){const n=t.args.length,i=new Array(n);for(let s=0;s{for(let r=0;r{const r=i[0](s);for(let o=1;o{const r=i[0](s),o=i[1](s);let a,l;for(let c=2;c=o)return c===2?d:h?Jie(r,o,a,l,u,d):Ic(r,o,a,l,u,d);a=u,l=d}return l}}function Zie(t,e){const n=t.operator,i=t.args.length,s=new Array(i);for(let r=0;r{const o=s[0](r);return t.args[0].type===os?Vy(o):o.toString()};default:throw new Error(`Unsupported convert operator ${n}`)}}function Ic(t,e,n,i,s,r){const o=s-n;if(o===0)return i;const a=e-n,l=t===1?a/o:(Math.pow(t,a)-1)/(Math.pow(t,o)-1);return i+l*(r-i)}function Jie(t,e,n,i,s,r){if(s-n===0)return i;const a=Pw(i),l=Pw(r);let c=l[2]-a[2];c>180?c-=360:c<-180&&(c+=360);const u=[Ic(t,e,n,a[0],s,l[0]),Ic(t,e,n,a[1],s,l[1]),a[2]+Ic(t,e,n,0,s,c),Ic(t,e,n,i[3],s,r[3])];return mk(cie(u))}function Qie(t){return!0}function ese(t){const e=Tk(),n=tse(t,e),i=Ak();return function(s,r){if(i.properties=s.getPropertiesInternal(),i.resolution=r,e.featureId){const o=s.getId();o!==void 0?i.featureId=o:i.featureId=null}return e.geometryType&&(i.geometryType=kk(s.getGeometry())),n(i)}}function zw(t){const e=Tk(),n=t.length,i=new Array(n);for(let o=0;onull;i=Xy(t,e+"fill-color",n)}if(!i)return null;const s=new Zf;return function(r){const o=i(r);return o===Fy?null:(s.setColor(o),s)}}function Iu(t,e,n){const i=gi(t,e+"stroke-width",n),s=Xy(t,e+"stroke-color",n);if(!i&&!s)return null;const r=nr(t,e+"stroke-line-cap",n),o=nr(t,e+"stroke-line-join",n),a=Mk(t,e+"stroke-line-dash",n),l=gi(t,e+"stroke-line-dash-offset",n),c=gi(t,e+"stroke-miter-limit",n),u=new Vh;return function(d){if(s){const h=s(d);if(h===Fy)return null;u.setColor(h)}if(i&&u.setWidth(i(d)),r){const h=r(d);if(h!=="butt"&&h!=="round"&&h!=="square")throw new Error("Expected butt, round, or square line cap");u.setLineCap(h)}if(o){const h=o(d);if(h!=="bevel"&&h!=="round"&&h!=="miter")throw new Error("Expected bevel, round, or miter line join");u.setLineJoin(h)}return a&&u.setLineDash(a(d)),l&&u.setLineDashOffset(l(d)),c&&u.setMiterLimit(c(d)),u}}function nse(t,e){const n="text-",i=nr(t,n+"value",e);if(!i)return null;const s=Mu(t,n,e),r=Mu(t,n+"background-",e),o=Iu(t,n,e),a=Iu(t,n+"background-",e),l=nr(t,n+"font",e),c=gi(t,n+"max-angle",e),u=gi(t,n+"offset-x",e),d=gi(t,n+"offset-y",e),h=Pu(t,n+"overflow",e),f=nr(t,n+"placement",e),p=gi(t,n+"repeat",e),m=eg(t,n+"scale",e),y=Pu(t,n+"rotate-with-view",e),v=gi(t,n+"rotation",e),b=nr(t,n+"align",e),E=nr(t,n+"justify",e),C=nr(t,n+"baseline",e),w=Mk(t,n+"padding",e),x=tg(t,n+"declutter-mode"),T=new Uy({declutterMode:x});return function(k){if(T.setText(i(k)),s&&T.setFill(s(k)),r&&T.setBackgroundFill(r(k)),o&&T.setStroke(o(k)),a&&T.setBackgroundStroke(a(k)),l&&T.setFont(l(k)),c&&T.setMaxAngle(c(k)),u&&T.setOffsetX(u(k)),d&&T.setOffsetY(d(k)),h&&T.setOverflow(h(k)),f){const A=f(k);if(A!=="point"&&A!=="line")throw new Error("Expected point or line for text-placement");T.setPlacement(A)}if(p&&T.setRepeat(p(k)),m&&T.setScale(m(k)),y&&T.setRotateWithView(y(k)),v&&T.setRotation(v(k)),b){const A=b(k);if(A!=="left"&&A!=="center"&&A!=="right"&&A!=="end"&&A!=="start")throw new Error("Expected left, right, center, start, or end for text-align");T.setTextAlign(A)}if(E){const A=E(k);if(A!=="left"&&A!=="right"&&A!=="center")throw new Error("Expected left, right, or center for text-justify");T.setJustify(A)}if(C){const A=C(k);if(A!=="bottom"&&A!=="top"&&A!=="middle"&&A!=="alphabetic"&&A!=="hanging")throw new Error("Expected bottom, top, middle, alphabetic, or hanging for text-baseline");T.setTextBaseline(A)}return w&&T.setPadding(w(k)),T}}function ise(t,e){return"icon-src"in t?sse(t,e):"shape-points"in t?rse(t,e):"circle-radius"in t?ose(t,e):null}function sse(t,e){const n="icon-",i=n+"src",s=Ik(t[i],i),r=zh(t,n+"anchor",e),o=eg(t,n+"scale",e),a=gi(t,n+"opacity",e),l=zh(t,n+"displacement",e),c=gi(t,n+"rotation",e),u=Pu(t,n+"rotate-with-view",e),d=Hw(t,n+"anchor-origin"),h=Yw(t,n+"anchor-x-units"),f=Yw(t,n+"anchor-y-units"),p=dse(t,n+"color"),m=cse(t,n+"cross-origin"),y=use(t,n+"offset"),v=Hw(t,n+"offset-origin"),b=Wh(t,n+"width"),E=Wh(t,n+"height"),C=lse(t,n+"size"),w=tg(t,n+"declutter-mode"),x=new Qf({src:s,anchorOrigin:d,anchorXUnits:h,anchorYUnits:f,color:p,crossOrigin:m,offset:y,offsetOrigin:v,height:E,width:b,size:C,declutterMode:w});return function(T){return a&&x.setOpacity(a(T)),l&&x.setDisplacement(l(T)),c&&x.setRotation(c(T)),u&&x.setRotateWithView(u(T)),o&&x.setScale(o(T)),r&&x.setAnchor(r(T)),x}}function rse(t,e){const n="shape-",i=n+"points",s=n+"radius",r=Pm(t[i],i),o=Pm(t[s],s),a=Mu(t,n,e),l=Iu(t,n,e),c=eg(t,n+"scale",e),u=zh(t,n+"displacement",e),d=gi(t,n+"rotation",e),h=Pu(t,n+"rotate-with-view",e),f=Wh(t,n+"radius2"),p=Wh(t,n+"angle"),m=tg(t,n+"declutter-mode"),y=new qf({points:r,radius:o,radius2:f,angle:p,declutterMode:m});return function(v){return a&&y.setFill(a(v)),l&&y.setStroke(l(v)),u&&y.setDisplacement(u(v)),d&&y.setRotation(d(v)),h&&y.setRotateWithView(h(v)),c&&y.setScale(c(v)),y}}function ose(t,e){const n="circle-",i=Mu(t,n,e),s=Iu(t,n,e),r=gi(t,n+"radius",e),o=eg(t,n+"scale",e),a=zh(t,n+"displacement",e),l=gi(t,n+"rotation",e),c=Pu(t,n+"rotate-with-view",e),u=tg(t,n+"declutter-mode"),d=new Yy({radius:5,declutterMode:u});return function(h){return r&&d.setRadius(r(h)),i&&d.setFill(i(h)),s&&d.setStroke(s(h)),a&&d.setDisplacement(a(h)),l&&d.setRotation(l(h)),c&&d.setRotateWithView(c(h)),o&&d.setScale(o(h)),d}}function gi(t,e,n){if(!(e in t))return;const i=wr(t[e],dt,n);return function(s){return Pm(i(s),e)}}function nr(t,e,n){if(!(e in t))return null;const i=wr(t[e],di,n);return function(s){return Ik(i(s),e)}}function ase(t,e,n){const i=nr(t,e+"pattern-src",n),s=Ww(t,e+"pattern-offset",n),r=Ww(t,e+"pattern-size",n),o=Xy(t,e+"color",n);return function(a){return{src:i(a),offset:s&&s(a),size:r&&r(a),color:o&&o(a)}}}function Pu(t,e,n){if(!(e in t))return null;const i=wr(t[e],qn,n);return function(s){const r=i(s);if(typeof r!="boolean")throw new Error(`Expected a boolean for ${e}`);return r}}function Xy(t,e,n){if(!(e in t))return null;const i=wr(t[e],os,n);return function(s){return Pk(i(s),e)}}function Mk(t,e,n){if(!(e in t))return null;const i=wr(t[e],ha,n);return function(s){return Gu(i(s),e)}}function zh(t,e,n){if(!(e in t))return null;const i=wr(t[e],ha,n);return function(s){const r=Gu(i(s),e);if(r.length!==2)throw new Error(`Expected two numbers for ${e}`);return r}}function Ww(t,e,n){if(!(e in t))return null;const i=wr(t[e],ha,n);return function(s){return Rk(i(s),e)}}function eg(t,e,n){if(!(e in t))return null;const i=wr(t[e],ha|dt,n);return function(s){return hse(i(s),e)}}function Wh(t,e){const n=t[e];if(n!==void 0){if(typeof n!="number")throw new Error(`Expected a number for ${e}`);return n}}function lse(t,e){const n=t[e];if(n!==void 0){if(typeof n=="number")return mi(n);if(!Array.isArray(n))throw new Error(`Expected a number or size array for ${e}`);if(n.length!==2||typeof n[0]!="number"||typeof n[1]!="number")throw new Error(`Expected a number or size array for ${e}`);return n}}function cse(t,e){const n=t[e];if(n!==void 0){if(typeof n!="string")throw new Error(`Expected a string for ${e}`);return n}}function Hw(t,e){const n=t[e];if(n!==void 0){if(n!=="bottom-left"&&n!=="bottom-right"&&n!=="top-left"&&n!=="top-right")throw new Error(`Expected bottom-left, bottom-right, top-left, or top-right for ${e}`);return n}}function Yw(t,e){const n=t[e];if(n!==void 0){if(n!=="pixels"&&n!=="fraction")throw new Error(`Expected pixels or fraction for ${e}`);return n}}function use(t,e){const n=t[e];if(n!==void 0)return Gu(n,e)}function tg(t,e){const n=t[e];if(n!==void 0){if(typeof n!="string")throw new Error(`Expected a string for ${e}`);if(n!=="declutter"&&n!=="obstacle"&&n!=="none")throw new Error(`Expected declutter, obstacle, or none for ${e}`);return n}}function dse(t,e){const n=t[e];if(n!==void 0)return Pk(n,e)}function Gu(t,e){if(!Array.isArray(t))throw new Error(`Expected an array for ${e}`);const n=t.length;for(let i=0;i4)throw new Error(`Expected a color with 3 or 4 values for ${e}`);return n}function Rk(t,e){const n=Gu(t,e);if(n.length!==2)throw new Error(`Expected an array of two numbers for ${e}`);return n}function hse(t,e){return typeof t=="number"?t:Rk(t,e)}const jw={RENDER_ORDER:"renderOrder"};class Dk extends Uf{constructor(e){e=e||{};const n=Object.assign({},e);delete n.style,delete n.renderBuffer,delete n.updateWhileAnimating,delete n.updateWhileInteracting,super(n),this.declutter_=e.declutter?String(e.declutter):void 0,this.renderBuffer_=e.renderBuffer!==void 0?e.renderBuffer:100,this.style_=null,this.styleFunction_=void 0,this.setStyle(e.style),this.updateWhileAnimating_=e.updateWhileAnimating!==void 0?e.updateWhileAnimating:!1,this.updateWhileInteracting_=e.updateWhileInteracting!==void 0?e.updateWhileInteracting:!1}getDeclutter(){return this.declutter_}getFeatures(e){return super.getFeatures(e)}getRenderBuffer(){return this.renderBuffer_}getRenderOrder(){return this.get(jw.RENDER_ORDER)}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}getUpdateWhileAnimating(){return this.updateWhileAnimating_}getUpdateWhileInteracting(){return this.updateWhileInteracting_}renderDeclutter(e,n){const i=this.getDeclutter();i in e.declutter||(e.declutter[i]=new gk(9)),this.getRenderer().renderDeclutter(e,n)}setRenderOrder(e){this.set(jw.RENDER_ORDER,e)}setStyle(e){this.style_=e===void 0?Ck:e;const n=fse(e);this.styleFunction_=e===null?void 0:kie(n),this.changed()}}function fse(t){if(t===void 0)return Ck;if(!t)return null;if(typeof t=="function"||t instanceof ul)return t;if(!Array.isArray(t))return zw([t]);if(t.length===0)return[];const e=t.length,n=t[0];if(n instanceof ul){const s=new Array(e);for(let r=0;r=0;--w){const x=m[w],T=x.layer;if(T.hasRenderer()&&Oy(x,u)&&a.call(l,T)){const k=T.getRenderer(),A=T.getSource();if(k&&A){const P=A.getWrapX()?f:e,F=d.bind(null,x.managed);b[0]=P[0]+p[C][0],b[1]=P[1]+p[C][1],c=k.forEachFeatureAtCoordinate(b,n,i,F,v)}if(c)return c}}if(v.length===0)return;const E=1/v.length;return v.forEach((C,w)=>C.distanceSq+=w*E),v.sort((C,w)=>C.distanceSq-w.distanceSq),v.some(C=>c=C.callback(C.feature,C.layer,C.geometry)),c}hasFeatureAtCoordinate(e,n,i,s,r,o){return this.forEachFeatureAtCoordinate(e,n,i,s,mu,this,r,o)!==void 0}getMap(){return this.map_}renderFrame(e){pt()}scheduleExpireIconCache(e){Ms.canExpireCache()&&e.postRenderFunctions.push(pse)}}function pse(t,e){Ms.expire()}class $k extends br{constructor(e,n,i,s){super(e),this.inversePixelTransform=n,this.frameState=i,this.context=s}}class mse extends gse{constructor(e){super(e),this.fontChangeListenerKey_=ft(Js,Ll.PROPERTYCHANGE,e.redrawText,e),this.element_=document.createElement("div");const n=this.element_.style;n.position="absolute",n.width="100%",n.height="100%",n.zIndex="0",this.element_.className=Xf+" ol-layers";const i=e.getViewport();i.insertBefore(this.element_,i.firstChild||null),this.children_=[],this.renderedVisible_=!0}dispatchRenderEvent(e,n){const i=this.getMap();if(i.hasListener(e)){const s=new $k(e,void 0,n);i.dispatchEvent(s)}}disposeInternal(){Dt(this.fontChangeListenerKey_),this.element_.remove(),super.disposeInternal()}renderFrame(e){if(!e){this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1);return}this.calculateMatrices2D(e),this.dispatchRenderEvent(Hi.PRECOMPOSE,e);const n=e.layerStatesArray.sort((a,l)=>a.zIndex-l.zIndex);n.some(a=>a.layer instanceof Dk&&a.layer.getDeclutter())&&(e.declutter={});const s=e.viewState;this.children_.length=0;const r=[];let o=null;for(let a=0,l=n.length;a=0;--i){const s=n[i],r=s.layer;r.getDeclutter()&&r.renderDeclutter(e,s)}n.forEach(i=>i.layer.renderDeferred(e))}}}class zr extends br{constructor(e,n){super(e),this.layer=n}}const vp={LAYERS:"layers"};class Zl extends KT{constructor(e){e=e||{};const n=Object.assign({},e);delete n.layers;let i=e.layers;super(n),this.on,this.once,this.un,this.layersListenerKeys_=[],this.listenerKeys_={},this.addChangeListener(vp.LAYERS,this.handleLayersChanged_),i?Array.isArray(i)?i=new As(i.slice(),{unique:!0}):mt(typeof i.getArray=="function","Expected `layers` to be an array or a `Collection`"):i=new As(void 0,{unique:!0}),this.setLayers(i)}handleLayerChange_(){this.changed()}handleLayersChanged_(){this.layersListenerKeys_.forEach(Dt),this.layersListenerKeys_.length=0;const e=this.getLayers();this.layersListenerKeys_.push(ft(e,ci.ADD,this.handleLayersAdd_,this),ft(e,ci.REMOVE,this.handleLayersRemove_,this));for(const i in this.listenerKeys_)this.listenerKeys_[i].forEach(Dt);ju(this.listenerKeys_);const n=e.getArray();for(let i=0,s=n.length;i{this.clickTimeoutId_=void 0;const i=new Lr(Gt.SINGLECLICK,this.map_,e);this.dispatchEvent(i)},250)}updateActivePointers_(e){const n=e,i=n.pointerId;if(n.type==Gt.POINTERUP||n.type==Gt.POINTERCANCEL){delete this.trackedTouches_[i];for(const s in this.trackedTouches_)if(this.trackedTouches_[s].target!==n.target){delete this.trackedTouches_[s];break}}else(n.type==Gt.POINTERDOWN||n.type==Gt.POINTERMOVE)&&(this.trackedTouches_[i]=n);this.activePointers_=Object.values(this.trackedTouches_)}handlePointerUp_(e){this.updateActivePointers_(e);const n=new Lr(Gt.POINTERUP,this.map_,e,void 0,void 0,this.activePointers_);this.dispatchEvent(n),this.emulateClicks_&&!n.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(e)&&this.emulateClick_(this.down_),this.activePointers_.length===0&&(this.dragListenerKeys_.forEach(Dt),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)}isMouseActionButton_(e){return e.button===0}handlePointerDown_(e){this.emulateClicks_=this.activePointers_.length===0,this.updateActivePointers_(e);const n=new Lr(Gt.POINTERDOWN,this.map_,e,void 0,void 0,this.activePointers_);if(this.dispatchEvent(n),this.down_=new PointerEvent(e.type,e),Object.defineProperty(this.down_,"target",{writable:!1,value:e.target}),this.dragListenerKeys_.length===0){const i=this.map_.getOwnerDocument();this.dragListenerKeys_.push(ft(i,Gt.POINTERMOVE,this.handlePointerMove_,this),ft(i,Gt.POINTERUP,this.handlePointerUp_,this),ft(this.element_,Gt.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==i&&this.dragListenerKeys_.push(ft(this.element_.getRootNode(),Gt.POINTERUP,this.handlePointerUp_,this))}}handlePointerMove_(e){if(this.isMoving_(e)){this.updateActivePointers_(e),this.dragging_=!0;const n=new Lr(Gt.POINTERDRAG,this.map_,e,this.dragging_,void 0,this.activePointers_);this.dispatchEvent(n)}}relayMoveEvent_(e){this.originalPointerMoveEvent_=e;const n=!!(this.down_&&this.isMoving_(e));this.dispatchEvent(new Lr(Gt.POINTERMOVE,this.map_,e,n))}handleTouchMove_(e){const n=this.originalPointerMoveEvent_;(!n||n.defaultPrevented)&&(typeof e.cancelable!="boolean"||e.cancelable===!0)&&e.preventDefault()}isMoving_(e){return this.dragging_||Math.abs(e.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(e.clientY-this.down_.clientY)>this.moveTolerance_}disposeInternal(){this.relayedListenerKey_&&(Dt(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(et.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(Dt(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(Dt),this.dragListenerKeys_.length=0,this.element_=null,super.disposeInternal()}}const Or={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend",LOADSTART:"loadstart",LOADEND:"loadend"},Fn={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"},Hh=1/0;class yse{constructor(e,n){this.priorityFunction_=e,this.keyFunction_=n,this.elements_=[],this.priorities_=[],this.queuedElements_={}}clear(){this.elements_.length=0,this.priorities_.length=0,ju(this.queuedElements_)}dequeue(){const e=this.elements_,n=this.priorities_,i=e[0];e.length==1?(e.length=0,n.length=0):(e[0]=e.pop(),n[0]=n.pop(),this.siftUp_(0));const s=this.keyFunction_(i);return delete this.queuedElements_[s],i}enqueue(e){mt(!(this.keyFunction_(e)in this.queuedElements_),"Tried to enqueue an `element` that was already added to the queue");const n=this.priorityFunction_(e);return n!=Hh?(this.elements_.push(e),this.priorities_.push(n),this.queuedElements_[this.keyFunction_(e)]=!0,this.siftDown_(0,this.elements_.length-1),!0):!1}getCount(){return this.elements_.length}getLeftChildIndex_(e){return e*2+1}getRightChildIndex_(e){return e*2+2}getParentIndex_(e){return e-1>>1}heapify_(){let e;for(e=(this.elements_.length>>1)-1;e>=0;e--)this.siftUp_(e)}isEmpty(){return this.elements_.length===0}isKeyQueued(e){return e in this.queuedElements_}isQueued(e){return this.isKeyQueued(this.keyFunction_(e))}siftUp_(e){const n=this.elements_,i=this.priorities_,s=n.length,r=n[e],o=i[e],a=e;for(;e>1;){const l=this.getLeftChildIndex_(e),c=this.getRightChildIndex_(e),u=ce;){const a=this.getParentIndex_(n);if(s[a]>o)i[n]=i[a],s[n]=s[a],n=a;else break}i[n]=r,s[n]=o}reprioritize(){const e=this.priorityFunction_,n=this.elements_,i=this.priorities_;let s=0;const r=n.length;let o,a,l;for(a=0;a0;){const s=this.dequeue()[0],r=s.getKey();s.getState()===Fe.IDLE&&!(r in this.tilesLoadingKeys_)&&(this.tilesLoadingKeys_[r]=!0,++this.tilesLoading_,++i,s.load())}}}function bse(t,e,n,i,s){if(!t||!(n in t.wantedTiles)||!t.wantedTiles[n][e.getKey()])return Hh;const r=t.viewState.center,o=i[0]-r[0],a=i[1]-r[1];return 65536*Math.log(s)+Math.sqrt(o*o+a*a)/s}class qy extends Vs{constructor(e){super();const n=e.element;n&&!e.target&&!n.style.pointerEvents&&(n.style.pointerEvents="auto"),this.element=n||null,this.target_=null,this.map_=null,this.listenerKeys=[],e.render&&(this.render=e.render),e.target&&this.setTarget(e.target)}disposeInternal(){this.element?.remove(),super.disposeInternal()}getMap(){return this.map_}setMap(e){this.map_&&this.element?.remove();for(let n=0,i=this.listenerKeys.length;ns.getAttributions(e)));if(this.attributions_!==void 0&&(Array.isArray(this.attributions_)?this.attributions_.forEach(s=>i.add(s)):i.add(this.attributions_)),!this.overrideCollapsible_){const s=!n.some(r=>r.getSource()?.getAttributionsCollapsible()===!1);this.setCollapsible(s)}return Array.from(i)}async updateElement_(e){if(!e){this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1);return}const n=await Promise.all(this.collectSourceAttributions_(e).map(s=>zte(()=>s))),i=n.length>0;if(this.renderedVisible_!=i&&(this.element.style.display=i?"":"none",this.renderedVisible_=i),!xo(n,this.renderedAttributions_)){fie(this.ulElement_);for(let s=0,r=n.length;s0&&i%(2*Math.PI)!==0?n.animate({rotation:0,duration:this.duration_,easing:ql}):n.setRotation(0))}render(e){const n=e.frameState;if(!n)return;const i=n.viewState.rotation;if(i!=this.rotation_){const s="rotate("+i+"rad)";if(this.autoHide_){const r=this.element.classList.contains(Kd);!r&&i===0?this.element.classList.add(Kd):r&&i!==0&&this.element.classList.remove(Kd)}this.label_.style.transform=s}this.rotation_=i}}const Sse=Ese;class Cse extends qy{constructor(e){e=e||{},super({element:document.createElement("div"),target:e.target});const n=e.className!==void 0?e.className:"ol-zoom",i=e.delta!==void 0?e.delta:1,s=e.zoomInClassName!==void 0?e.zoomInClassName:n+"-in",r=e.zoomOutClassName!==void 0?e.zoomOutClassName:n+"-out",o=e.zoomInLabel!==void 0?e.zoomInLabel:"+",a=e.zoomOutLabel!==void 0?e.zoomOutLabel:"–",l=e.zoomInTipLabel!==void 0?e.zoomInTipLabel:"Zoom in",c=e.zoomOutTipLabel!==void 0?e.zoomOutTipLabel:"Zoom out",u=document.createElement("button");u.className=s,u.setAttribute("type","button"),u.title=l,u.appendChild(typeof o=="string"?document.createTextNode(o):o),u.addEventListener(et.CLICK,this.handleClick_.bind(this,i),!1);const d=document.createElement("button");d.className=r,d.setAttribute("type","button"),d.title=c,d.appendChild(typeof a=="string"?document.createTextNode(a):a),d.addEventListener(et.CLICK,this.handleClick_.bind(this,-i),!1);const h=n+" "+Xf+" "+Wy,f=this.element;f.className=h,f.appendChild(u),f.appendChild(d),this.duration_=e.duration!==void 0?e.duration:250}handleClick_(e,n){n.preventDefault(),this.zoomByDelta_(e)}zoomByDelta_(e){const i=this.getMap().getView();if(!i)return;const s=i.getZoom();if(s!==void 0){const r=i.getConstrainedZoom(s+e);this.duration_>0?(i.getAnimating()&&i.cancelAnimations(),i.animate({zoom:r,duration:this.duration_,easing:ql})):i.setZoom(r)}}}const Tse=Cse;function kse(t){t=t||{};const e=new As;return(t.zoom!==void 0?t.zoom:!0)&&e.push(new Tse(t.zoomOptions)),(t.rotate!==void 0?t.rotate:!0)&&e.push(new Sse(t.rotateOptions)),(t.attribution!==void 0?t.attribution:!0)&&e.push(new xse(t.attributionOptions)),e}const Kw={ACTIVE:"active"};class Xu extends Vs{constructor(e){super(),this.on,this.once,this.un,e&&e.handleEvent&&(this.handleEvent=e.handleEvent),this.map_=null,this.setActive(!0)}getActive(){return this.get(Kw.ACTIVE)}getMap(){return this.map_}handleEvent(e){return!0}setActive(e){this.set(Kw.ACTIVE,e)}setMap(e){this.map_=e}}function Ase(t,e,n){const i=t.getCenterInternal();if(i){const s=[i[0]+e[0],i[1]+e[1]];t.animateInternal({duration:n!==void 0?n:250,easing:Sne,center:t.getConstrainedCenter(s)})}}function Zy(t,e,n,i){const s=t.getZoom();if(s===void 0)return;const r=t.getConstrainedZoom(s+e),o=t.getResolutionForZoom(r);t.getAnimating()&&t.cancelAnimations(),t.animate({resolution:o,anchor:n,duration:i!==void 0?i:250,easing:ql})}class Mse extends Xu{constructor(e){super(),e=e||{},this.delta_=e.delta?e.delta:1,this.duration_=e.duration!==void 0?e.duration:250}handleEvent(e){let n=!1;if(e.type==Gt.DBLCLICK){const i=e.originalEvent,s=e.map,r=e.coordinate,o=i.shiftKey?-this.delta_:this.delta_,a=s.getView();Zy(a,o,r,this.duration_),i.preventDefault(),n=!0}return!n}}const Ise=Mse;class qu extends Xu{constructor(e){e=e||{},super(e),e.handleDownEvent&&(this.handleDownEvent=e.handleDownEvent),e.handleDragEvent&&(this.handleDragEvent=e.handleDragEvent),e.handleMoveEvent&&(this.handleMoveEvent=e.handleMoveEvent),e.handleUpEvent&&(this.handleUpEvent=e.handleUpEvent),e.stopDown&&(this.stopDown=e.stopDown),this.handlingDownUpSequence=!1,this.targetPointers=[]}getPointerCount(){return this.targetPointers.length}handleDownEvent(e){return!1}handleDragEvent(e){}handleEvent(e){if(!e.originalEvent)return!0;let n=!1;if(this.updateTrackedPointers_(e),this.handlingDownUpSequence){if(e.type==Gt.POINTERDRAG)this.handleDragEvent(e),e.originalEvent.preventDefault();else if(e.type==Gt.POINTERUP){const i=this.handleUpEvent(e);this.handlingDownUpSequence=i&&this.targetPointers.length>0}}else if(e.type==Gt.POINTERDOWN){const i=this.handleDownEvent(e);this.handlingDownUpSequence=i,n=this.stopDown(i)}else e.type==Gt.POINTERMOVE&&this.handleMoveEvent(e);return!n}handleMoveEvent(e){}handleUpEvent(e){return!1}stopDown(e){return e}updateTrackedPointers_(e){e.activePointers&&(this.targetPointers=e.activePointers)}}function Jy(t){const e=t.length;let n=0,i=0;for(let s=0;s0&&this.condition_(e)){const i=e.map.getView();return this.lastCentroid=null,i.getAnimating()&&i.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1}}const Fse=Nse;class Bse extends qu{constructor(e){e=e||{},super({stopDown:Nf}),this.condition_=e.condition?e.condition:Pse,this.lastAngle_=void 0,this.duration_=e.duration!==void 0?e.duration:250}handleDragEvent(e){if(!bp(e))return;const n=e.map,i=n.getView();if(i.getConstraints().rotation===My)return;const s=n.getSize(),r=e.pixel,o=Math.atan2(s[1]/2-r[1],r[0]-s[0]/2);if(this.lastAngle_!==void 0){const a=o-this.lastAngle_;i.adjustRotationInternal(-a)}this.lastAngle_=o}handleUpEvent(e){return bp(e)?(e.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(e){return bp(e)&&Ok(e)&&this.condition_(e)?(e.map.getView().beginInteraction(),this.lastAngle_=void 0,!0):!1}}class Vse extends Lf{constructor(e){super(),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.style.pointerEvents="auto",this.element_.className="ol-box "+e,this.map_=null,this.startPixel_=null,this.endPixel_=null}disposeInternal(){this.setMap(null)}render_(){const e=this.startPixel_,n=this.endPixel_,i="px",s=this.element_.style;s.left=Math.min(e[0],n[0])+i,s.top=Math.min(e[1],n[1])+i,s.width=Math.abs(n[0]-e[0])+i,s.height=Math.abs(n[1]-e[1])+i}setMap(e){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);const n=this.element_.style;n.left="inherit",n.top="inherit",n.width="inherit",n.height="inherit"}this.map_=e,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)}setPixels(e,n){this.startPixel_=e,this.endPixel_=n,this.createOrUpdateGeometry(),this.render_()}createOrUpdateGeometry(){if(!this.map_)return;const e=this.startPixel_,n=this.endPixel_,s=[e,[e[0],n[1]],n,[n[0],e[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);s[4]=s[0].slice(),this.geometry_?this.geometry_.setCoordinates([s]):this.geometry_=new xu([s])}getGeometry(){return this.geometry_}}const Ba={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend",BOXCANCEL:"boxcancel"};class yc extends br{constructor(e,n,i){super(e),this.coordinate=n,this.mapBrowserEvent=i}}class zse extends qu{constructor(e){super(),this.on,this.once,this.un,e=e??{},this.box_=new Vse(e.className||"ol-dragbox"),this.minArea_=e.minArea??64,e.onBoxEnd&&(this.onBoxEnd=e.onBoxEnd),this.startPixel_=null,this.condition_=e.condition??Ok,this.boxEndCondition_=e.boxEndCondition??this.defaultBoxEndCondition}defaultBoxEndCondition(e,n,i){const s=i[0]-n[0],r=i[1]-n[1];return s*s+r*r>=this.minArea_}getGeometry(){return this.box_.getGeometry()}handleDragEvent(e){this.startPixel_&&(this.box_.setPixels(this.startPixel_,e.pixel),this.dispatchEvent(new yc(Ba.BOXDRAG,e.coordinate,e)))}handleUpEvent(e){if(!this.startPixel_)return!1;const n=this.boxEndCondition_(e,this.startPixel_,e.pixel);return n&&this.onBoxEnd(e),this.dispatchEvent(new yc(n?Ba.BOXEND:Ba.BOXCANCEL,e.coordinate,e)),this.box_.setMap(null),this.startPixel_=null,!1}handleDownEvent(e){return this.condition_(e)?(this.startPixel_=e.pixel,this.box_.setMap(e.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new yc(Ba.BOXSTART,e.coordinate,e)),!0):!1}onBoxEnd(e){}setActive(e){e||(this.box_.setMap(null),this.startPixel_&&(this.dispatchEvent(new yc(Ba.BOXCANCEL,this.startPixel_,null)),this.startPixel_=null)),super.setActive(e)}setMap(e){this.getMap()&&(this.box_.setMap(null),this.startPixel_&&(this.dispatchEvent(new yc(Ba.BOXCANCEL,this.startPixel_,null)),this.startPixel_=null)),super.setMap(e)}}class Wse extends zse{constructor(e){e=e||{};const n=e.condition?e.condition:Lse;super({condition:n,className:e.className||"ol-dragzoom",minArea:e.minArea}),this.duration_=e.duration!==void 0?e.duration:200,this.out_=e.out!==void 0?e.out:!1}onBoxEnd(e){const i=this.getMap().getView();let s=this.getGeometry();if(this.out_){const r=i.rotatedExtentForGeometry(s),o=i.getResolutionForExtentInternal(r),a=i.getResolution()/o;s=s.clone(),s.scale(a*a)}i.fitInternal(s,{duration:this.duration_,easing:ql})}}const Hse=Wse,Fo={LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",DOWN:"ArrowDown"};class Yse extends Xu{constructor(e){super(),e=e||{},this.defaultCondition_=function(n){return Nk(n)&&Fk(n)},this.condition_=e.condition!==void 0?e.condition:this.defaultCondition_,this.duration_=e.duration!==void 0?e.duration:100,this.pixelDelta_=e.pixelDelta!==void 0?e.pixelDelta:128}handleEvent(e){let n=!1;if(e.type==et.KEYDOWN){const i=e.originalEvent,s=i.key;if(this.condition_(e)&&(s==Fo.DOWN||s==Fo.LEFT||s==Fo.RIGHT||s==Fo.UP)){const o=e.map.getView(),a=o.getResolution()*this.pixelDelta_;let l=0,c=0;s==Fo.DOWN?c=-a:s==Fo.LEFT?l=-a:s==Fo.RIGHT?l=a:c=a;const u=[l,c];Ey(u,o.getRotation()),Ase(o,u,this.duration_),i.preventDefault(),n=!0}}return!n}}class jse extends Xu{constructor(e){super(),e=e||{},this.condition_=e.condition?e.condition:function(n){return!$se(n)&&Fk(n)},this.delta_=e.delta?e.delta:1,this.duration_=e.duration!==void 0?e.duration:100}handleEvent(e){let n=!1;if(e.type==et.KEYDOWN||e.type==et.KEYPRESS){const i=e.originalEvent,s=i.key;if(this.condition_(e)&&(s==="+"||s==="-")){const r=e.map,o=s==="+"?this.delta_:-this.delta_,a=r.getView();Zy(a,o,void 0,this.duration_),i.preventDefault(),n=!0}}return!n}}const Kse=jse;class Use{constructor(e,n,i){this.decay_=e,this.minVelocity_=n,this.delay_=i,this.points_=[],this.angle_=0,this.initialVelocity_=0}begin(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0}update(e,n){this.points_.push(e,n,Date.now())}end(){if(this.points_.length<6)return!1;const e=Date.now()-this.delay_,n=this.points_.length-3;if(this.points_[n+2]0&&this.points_[i+2]>e;)i-=3;const s=this.points_[n+2]-this.points_[i+2];if(s<1e3/60)return!1;const r=this.points_[n]-this.points_[i],o=this.points_[n+1]-this.points_[i+1];return this.angle_=Math.atan2(o,r),this.initialVelocity_=Math.sqrt(r*r+o*o)/s,this.initialVelocity_>this.minVelocity_}getDistance(){return(this.minVelocity_-this.initialVelocity_)/this.decay_}getAngle(){return this.angle_}}class Gse extends Xu{constructor(e){e=e||{},super(e),this.totalDelta_=0,this.lastDelta_=0,this.maxDelta_=e.maxDelta!==void 0?e.maxDelta:1,this.duration_=e.duration!==void 0?e.duration:250,this.timeout_=e.timeout!==void 0?e.timeout:80,this.useAnchor_=e.useAnchor!==void 0?e.useAnchor:!0,this.constrainResolution_=e.constrainResolution!==void 0?e.constrainResolution:!1;const n=e.condition?e.condition:Dse;this.condition_=e.onFocusOnly?Dm(Lk,n):n,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_,this.mode_=void 0,this.trackpadEventGap_=400,this.trackpadTimeoutId_,this.deltaPerZoom_=300}endInteraction_(){this.trackpadTimeoutId_=void 0;const e=this.getMap();if(!e)return;e.getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_?e.getCoordinateFromPixel(this.lastAnchor_):null)}handleEvent(e){if(!this.condition_(e)||e.type!==et.WHEEL)return!0;const i=e.map,s=e.originalEvent;s.preventDefault(),this.useAnchor_&&(this.lastAnchor_=e.pixel);let r;if(e.type==et.WHEEL&&(r=s.deltaY,uie&&s.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(r/=yk),s.deltaMode===WheelEvent.DOM_DELTA_LINE&&(r*=40)),r===0)return!1;this.lastDelta_=r;const o=Date.now();this.startTime_===void 0&&(this.startTime_=o),(!this.mode_||o-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(r)<4?"trackpad":"wheel");const a=i.getView();if(this.mode_==="trackpad"&&!(a.getConstrainResolution()||this.constrainResolution_))return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(a.getAnimating()&&a.cancelAnimations(),a.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),a.adjustZoom(-r/this.deltaPerZoom_,this.lastAnchor_?i.getCoordinateFromPixel(this.lastAnchor_):null),this.startTime_=o,!1;this.totalDelta_+=r;const l=Math.max(this.timeout_-(o-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,i),l),!1}handleWheelZoom_(e){const n=e.getView();n.getAnimating()&&n.cancelAnimations();let i=-Jt(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(n.getConstrainResolution()||this.constrainResolution_)&&(i=i?i>0?1:-1:0),Zy(n,i,this.lastAnchor_?e.getCoordinateFromPixel(this.lastAnchor_):null,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0}setMouseAnchor(e){this.useAnchor_=e,e||(this.lastAnchor_=null)}}const Xse=Gse;class qse extends qu{constructor(e){e=e||{};const n=e;n.stopDown||(n.stopDown=Nf),super(n),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=e.threshold!==void 0?e.threshold:.3,this.duration_=e.duration!==void 0?e.duration:250}handleDragEvent(e){let n=0;const i=this.targetPointers[0],s=this.targetPointers[1],r=Math.atan2(s.clientY-i.clientY,s.clientX-i.clientX);if(this.lastAngle_!==void 0){const l=r-this.lastAngle_;this.rotationDelta_+=l,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),n=l}this.lastAngle_=r;const o=e.map,a=o.getView();a.getConstraints().rotation!==My&&(this.anchor_=o.getCoordinateFromPixelInternal(o.getEventPixel(Jy(this.targetPointers))),this.rotating_&&(o.render(),a.adjustRotationInternal(n,this.anchor_)))}handleUpEvent(e){return this.targetPointers.length<2?(e.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(e){if(this.targetPointers.length>=2){const n=e.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||n.getView().beginInteraction(),!0}return!1}}class Zse extends qu{constructor(e){e=e||{};const n=e;n.stopDown||(n.stopDown=Nf),super(n),this.anchor_=null,this.duration_=e.duration!==void 0?e.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}handleDragEvent(e){let n=1;const i=this.targetPointers[0],s=this.targetPointers[1],r=i.clientX-s.clientX,o=i.clientY-s.clientY,a=Math.sqrt(r*r+o*o);this.lastDistance_!==void 0&&(n=this.lastDistance_/a),this.lastDistance_=a;const l=e.map,c=l.getView();n!=1&&(this.lastScaleDelta_=n),this.anchor_=l.getCoordinateFromPixelInternal(l.getEventPixel(Jy(this.targetPointers))),l.render(),c.adjustResolutionInternal(n,this.anchor_)}handleUpEvent(e){if(this.targetPointers.length<2){const i=e.map.getView(),s=this.lastScaleDelta_>1?1:-1;return i.endInteraction(this.duration_,s),!1}return!0}handleDownEvent(e){if(this.targetPointers.length>=2){const n=e.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||n.getView().beginInteraction(),!0}return!1}}const Jse=Zse;function Qse(t){t=t||{};const e=new As,n=new Use(-.005,.05,100);return(t.altShiftDragRotate!==void 0?t.altShiftDragRotate:!0)&&e.push(new Bse),(t.doubleClickZoom!==void 0?t.doubleClickZoom:!0)&&e.push(new Ise({delta:t.zoomDelta,duration:t.zoomDuration})),(t.dragPan!==void 0?t.dragPan:!0)&&e.push(new Fse({onFocusOnly:t.onFocusOnly,kinetic:n})),(t.pinchRotate!==void 0?t.pinchRotate:!0)&&e.push(new qse),(t.pinchZoom!==void 0?t.pinchZoom:!0)&&e.push(new Jse({duration:t.zoomDuration})),(t.keyboard!==void 0?t.keyboard:!0)&&(e.push(new Yse),e.push(new Kse({delta:t.zoomDelta,duration:t.zoomDuration}))),(t.mouseWheelZoom!==void 0?t.mouseWheelZoom:!0)&&e.push(new Xse({onFocusOnly:t.onFocusOnly,duration:t.zoomDuration})),(t.shiftDragZoom!==void 0?t.shiftDragZoom:!0)&&e.push(new Hse({duration:t.zoomDuration})),e}function Bk(t){if(t instanceof Uf){t.setMapInternal(null);return}t instanceof Zl&&t.getLayers().forEach(Bk)}function Vk(t,e){if(t instanceof Uf){t.setMapInternal(e);return}if(t instanceof Zl){const n=t.getLayers().getArray();for(let i=0,s=n.length;ithis.updateSize()),this.controls=n.controls||kse(),this.interactions=n.interactions||Qse({onFocusOnly:!0}),this.overlays_=n.overlays,this.overlayIdIndex_={},this.renderer_=null,this.postRenderFunctions_=[],this.tileQueue_=new vse(this.getTilePriority.bind(this),this.handleTileChange_.bind(this)),this.addChangeListener(Fn.LAYERGROUP,this.handleLayerGroupChanged_),this.addChangeListener(Fn.VIEW,this.handleViewChanged_),this.addChangeListener(Fn.SIZE,this.handleSizeChanged_),this.addChangeListener(Fn.TARGET,this.handleTargetChanged_),this.setProperties(n.values);const i=this;e.view&&!(e.view instanceof Ss)&&e.view.then(function(s){i.setView(new Ss(s))}),this.controls.addEventListener(ci.ADD,s=>{s.element.setMap(this)}),this.controls.addEventListener(ci.REMOVE,s=>{s.element.setMap(null)}),this.interactions.addEventListener(ci.ADD,s=>{s.element.setMap(this)}),this.interactions.addEventListener(ci.REMOVE,s=>{s.element.setMap(null)}),this.overlays_.addEventListener(ci.ADD,s=>{this.addOverlayInternal_(s.element)}),this.overlays_.addEventListener(ci.REMOVE,s=>{const r=s.element.getId();r!==void 0&&delete this.overlayIdIndex_[r.toString()],s.element.setMap(null)}),this.controls.forEach(s=>{s.setMap(this)}),this.interactions.forEach(s=>{s.setMap(this)}),this.overlays_.forEach(this.addOverlayInternal_.bind(this))}addControl(e){this.getControls().push(e)}addInteraction(e){this.getInteractions().push(e)}addLayer(e){this.getLayerGroup().getLayers().push(e)}handleLayerAdd_(e){Vk(e.layer,this)}addOverlay(e){this.getOverlays().push(e)}addOverlayInternal_(e){const n=e.getId();n!==void 0&&(this.overlayIdIndex_[n.toString()]=e),e.setMap(this)}disposeInternal(){this.controls.clear(),this.interactions.clear(),this.overlays_.clear(),this.resizeObserver_.disconnect(),this.setTarget(null),super.disposeInternal()}forEachFeatureAtPixel(e,n,i){if(!this.frameState_||!this.renderer_)return;const s=this.getCoordinateFromPixelInternal(e);i=i!==void 0?i:{};const r=i.hitTolerance!==void 0?i.hitTolerance:0,o=i.layerFilter!==void 0?i.layerFilter:mu,a=i.checkWrapped!==!1;return this.renderer_.forEachFeatureAtCoordinate(s,this.frameState_,r,a,n,null,o,null)}getFeaturesAtPixel(e,n){const i=[];return this.forEachFeatureAtPixel(e,function(s){i.push(s)},n),i}getAllLayers(){const e=[];function n(i){i.forEach(function(s){s instanceof Zl?n(s.getLayers()):e.push(s)})}return n(this.getLayers()),e}hasFeatureAtPixel(e,n){if(!this.frameState_||!this.renderer_)return!1;const i=this.getCoordinateFromPixelInternal(e);n=n!==void 0?n:{};const s=n.layerFilter!==void 0?n.layerFilter:mu,r=n.hitTolerance!==void 0?n.hitTolerance:0,o=n.checkWrapped!==!1;return this.renderer_.hasFeatureAtCoordinate(i,this.frameState_,r,o,s,null)}getEventCoordinate(e){return this.getCoordinateFromPixel(this.getEventPixel(e))}getEventCoordinateInternal(e){return this.getCoordinateFromPixelInternal(this.getEventPixel(e))}getEventPixel(e){const i=this.viewport_.getBoundingClientRect(),s=this.getSize(),r=i.width/s[0],o=i.height/s[1],a="changedTouches"in e?e.changedTouches[0]:e;return[(a.clientX-i.left)/r,(a.clientY-i.top)/o]}getTarget(){return this.get(Fn.TARGET)}getTargetElement(){return this.targetElement_}getCoordinateFromPixel(e){return km(this.getCoordinateFromPixelInternal(e),this.getView().getProjection())}getCoordinateFromPixelInternal(e){const n=this.frameState_;return n?$n(n.pixelToCoordinateTransform,e.slice()):null}getControls(){return this.controls}getOverlays(){return this.overlays_}getOverlayById(e){const n=this.overlayIdIndex_[e.toString()];return n!==void 0?n:null}getInteractions(){return this.interactions}getLayerGroup(){return this.get(Fn.LAYERGROUP)}setLayers(e){const n=this.getLayerGroup();if(e instanceof As){n.setLayers(e);return}const i=n.getLayers();i.clear(),i.extend(e)}getLayers(){return this.getLayerGroup().getLayers()}getLoadingOrNotReady(){const e=this.getLayerGroup().getLayerStatesArray();for(let n=0,i=e.length;n=0;r--){const o=s[r];if(o.getMap()!==this||!o.getActive()||!this.getTargetElement())continue;if(!o.handleEvent(e)||e.propagationStopped)break}}}handlePostRender(){const e=this.frameState_,n=this.tileQueue_;if(!n.isEmpty()){let s=this.maxTilesLoading_,r=s;if(e){const o=e.viewHints;if(o[Vn.ANIMATING]||o[Vn.INTERACTING]){const a=Date.now()-e.time>8;s=a?0:8,r=a?0:2}}n.getTilesLoading(){this.postRenderTimeoutHandle_=void 0,this.handlePostRender()},0))}setLayerGroup(e){const n=this.getLayerGroup();n&&this.handleLayerRemove_(new zr("removelayer",n)),this.set(Fn.LAYERGROUP,e)}setSize(e){this.set(Fn.SIZE,e)}setTarget(e){this.set(Fn.TARGET,e)}setView(e){if(!e||e instanceof Ss){this.set(Fn.VIEW,e);return}this.set(Fn.VIEW,new Ss);const n=this;e.then(function(i){n.setView(new Ss(i))})}updateSize(){const e=this.getTargetElement();let n;if(e){const s=getComputedStyle(e),r=e.offsetWidth-parseFloat(s.borderLeftWidth)-parseFloat(s.paddingLeft)-parseFloat(s.paddingRight)-parseFloat(s.borderRightWidth),o=e.offsetHeight-parseFloat(s.borderTopWidth)-parseFloat(s.paddingTop)-parseFloat(s.paddingBottom)-parseFloat(s.borderBottomWidth);!isNaN(r)&&!isNaN(o)&&(n=[Math.max(0,r),Math.max(0,o)],!Aw(n)&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)&&tk("No map visible because the map container's width or height are 0."))}const i=this.getSize();n&&(!i||!xo(n,i))&&(this.setSize(n),this.updateViewportSize_(n))}updateViewportSize_(e){const n=this.getView();n&&n.setViewportSize(e)}};function tre(t){let e=null;t.keyboardEventTarget!==void 0&&(e=typeof t.keyboardEventTarget=="string"?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);const n={},i=t.layers&&typeof t.layers.getLayers=="function"?t.layers:new Zl({layers:t.layers});n[Fn.LAYERGROUP]=i,n[Fn.TARGET]=t.target,n[Fn.VIEW]=t.view instanceof Ss?t.view:new Ss;let s;t.controls!==void 0&&(Array.isArray(t.controls)?s=new As(t.controls.slice()):(mt(typeof t.controls.getArray=="function","Expected `controls` to be an array or an `ol/Collection.js`"),s=t.controls));let r;t.interactions!==void 0&&(Array.isArray(t.interactions)?r=new As(t.interactions.slice()):(mt(typeof t.interactions.getArray=="function","Expected `interactions` to be an array or an `ol/Collection.js`"),r=t.interactions));let o;return t.overlays!==void 0?Array.isArray(t.overlays)?o=new As(t.overlays.slice()):(mt(typeof t.overlays.getArray=="function","Expected `overlays` to be an array or an `ol/Collection.js`"),o=t.overlays):o=new As,{controls:s,interactions:r,keyboardEventTarget:e,overlays:o,values:n}}const nre=ere;class Qy extends Ff{constructor(e,n,i){super(),i=i||{},this.tileCoord=e,this.state=n,this.key="",this.transition_=i.transition===void 0?250:i.transition,this.transitionStarts_={},this.interpolate=!!i.interpolate}changed(){this.dispatchEvent(et.CHANGE)}release(){this.state===Fe.ERROR&&this.setState(Fe.EMPTY)}getKey(){return this.key+"/"+this.tileCoord}getTileCoord(){return this.tileCoord}getState(){return this.state}setState(e){if(this.state!==Fe.ERROR&&this.state>e)throw new Error("Tile load sequence violation");this.state=e,this.changed()}load(){pt()}getAlpha(e,n){if(!this.transition_)return 1;let i=this.transitionStarts_[e];if(!i)i=n,this.transitionStarts_[e]=i;else if(i===-1)return 1;const s=n-i+1e3/60;return s>=this.transition_?1:rk(s/this.transition_)}inTransition(e){return this.transition_?this.transitionStarts_[e]!==-1:!1}endTransition(e){this.transition_&&(this.transitionStarts_[e]=-1)}disposeInternal(){this.release(),super.disposeInternal()}}class zk extends Qy{constructor(e,n,i,s,r,o){super(e,n,o),this.crossOrigin_=s,this.src_=i,this.key=i,this.image_=new Image,s!==null&&(this.image_.crossOrigin=s),this.unlisten_=null,this.tileLoadFunction_=r}getImage(){return this.image_}setImage(e){this.image_=e,this.state=Fe.LOADED,this.unlistenImage_(),this.changed()}handleImageError_(){this.state=Fe.ERROR,this.unlistenImage_(),this.image_=ire(),this.changed()}handleImageLoad_(){const e=this.image_;e.naturalWidth&&e.naturalHeight?this.state=Fe.LOADED:this.state=Fe.EMPTY,this.unlistenImage_(),this.changed()}load(){this.state==Fe.ERROR&&(this.state=Fe.IDLE,this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==Fe.IDLE&&(this.state=Fe.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=pie(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}disposeInternal(){this.unlistenImage_(),this.image_=null,super.disposeInternal()}}function ire(){const t=an(1,1);return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas}const Wk=.5,sre=10,Uw=.25;class Hk{constructor(e,n,i,s,r,o){this.sourceProj_=e,this.targetProj_=n;let a={};const l=Lh(this.targetProj_,this.sourceProj_);this.transformInv_=function(b){const E=b[0]+"/"+b[1];return a[E]||(a[E]=l(b)),a[E]},this.maxSourceExtent_=s,this.errorThresholdSquared_=r*r,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!s&&!!this.sourceProj_.getExtent()&&vt(s)>=vt(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?vt(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?vt(this.targetProj_.getExtent()):null;const c=ba(i),u=Wf(i),d=zf(i),h=Vf(i),f=this.transformInv_(c),p=this.transformInv_(u),m=this.transformInv_(d),y=this.transformInv_(h),v=sre+(o?Math.max(0,Math.ceil(Math.log2(vu(i)/(o*o*256*256)))):0);if(this.addQuad_(c,u,d,h,f,p,m,y,v),this.wrapsXInSource_){let b=1/0;this.triangles_.forEach(function(E,C,w){b=Math.min(b,E.source[0][0],E.source[1][0],E.source[2][0])}),this.triangles_.forEach(E=>{if(Math.max(E.source[0][0],E.source[1][0],E.source[2][0])-b>this.sourceWorldWidth_/2){const C=[[E.source[0][0],E.source[0][1]],[E.source[1][0],E.source[1][1]],[E.source[2][0],E.source[2][1]]];C[0][0]-b>this.sourceWorldWidth_/2&&(C[0][0]-=this.sourceWorldWidth_),C[1][0]-b>this.sourceWorldWidth_/2&&(C[1][0]-=this.sourceWorldWidth_),C[2][0]-b>this.sourceWorldWidth_/2&&(C[2][0]-=this.sourceWorldWidth_);const w=Math.min(C[0][0],C[1][0],C[2][0]);Math.max(C[0][0],C[1][0],C[2][0])-w.5&&d<1;let p=!1;if(c>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){const y=fw([e,n,i,s]);p=vt(y)/this.targetWorldWidth_>Uw||p}!f&&this.sourceProj_.isGlobal()&&d&&(p=d>Uw||p)}if(!p&&this.maxSourceExtent_&&isFinite(u[0])&&isFinite(u[1])&&isFinite(u[2])&&isFinite(u[3])&&!fi(u,this.maxSourceExtent_))return;let m=0;if(!p&&(!isFinite(r[0])||!isFinite(r[1])||!isFinite(o[0])||!isFinite(o[1])||!isFinite(a[0])||!isFinite(a[1])||!isFinite(l[0])||!isFinite(l[1]))){if(c>0)p=!0;else if(m=(!isFinite(r[0])||!isFinite(r[1])?8:0)+(!isFinite(o[0])||!isFinite(o[1])?4:0)+(!isFinite(a[0])||!isFinite(a[1])?2:0)+(!isFinite(l[0])||!isFinite(l[1])?1:0),m!=1&&m!=2&&m!=4&&m!=8)return}if(c>0){if(!p){const y=[(e[0]+i[0])/2,(e[1]+i[1])/2],v=this.transformInv_(y);let b;f?b=(ll(r[0],h)+ll(a[0],h))/2-ll(v[0],h):b=(r[0]+a[0])/2-v[0];const E=(r[1]+a[1])/2-v[1];p=b*b+E*E>this.errorThresholdSquared_}if(p){if(Math.abs(e[0]-i[0])<=Math.abs(e[1]-i[1])){const y=[(n[0]+i[0])/2,(n[1]+i[1])/2],v=this.transformInv_(y),b=[(s[0]+e[0])/2,(s[1]+e[1])/2],E=this.transformInv_(b);this.addQuad_(e,n,y,b,r,o,v,E,c-1),this.addQuad_(b,y,i,s,E,v,a,l,c-1)}else{const y=[(e[0]+n[0])/2,(e[1]+n[1])/2],v=this.transformInv_(y),b=[(i[0]+s[0])/2,(i[1]+s[1])/2],E=this.transformInv_(b);this.addQuad_(e,y,b,s,r,v,E,l,c-1),this.addQuad_(y,n,i,b,v,o,a,E,c-1)}return}}if(f){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}m&11||this.addTriangle_(e,i,s,r,a,l),m&14||this.addTriangle_(e,i,n,r,a,o),m&&(m&13||this.addTriangle_(n,s,e,o,l,r),m&7||this.addTriangle_(n,s,i,o,l,a))}calculateSourceExtent(){const e=Ui();return this.triangles_.forEach(function(n,i,s){const r=n.source;Gc(e,r[0]),Gc(e,r[1]),Gc(e,r[2])}),e}getTriangles(){return this.triangles_}}let wp;const hr=[];function Gw(t,e,n,i,s){t.beginPath(),t.moveTo(0,0),t.lineTo(e,n),t.lineTo(i,s),t.closePath(),t.save(),t.clip(),t.fillRect(0,0,Math.max(e,i)+1,Math.max(n,s)),t.restore()}function xp(t,e){return Math.abs(t[e*4]-210)>2||Math.abs(t[e*4+3]-.75*255)>2}function rre(){if(wp===void 0){const t=an(6,6,hr);t.globalCompositeOperation="lighter",t.fillStyle="rgba(210, 0, 0, 0.75)",Gw(t,4,5,4,0),Gw(t,4,5,0,5);const e=t.getImageData(0,0,3,3).data;wp=xp(e,0)||xp(e,4)||xp(e,8),Bl(t),hr.push(t.canvas)}return wp}function Xw(t,e,n,i){const s=sk(n,e,t);let r=pw(e,i,n);const o=e.getMetersPerUnit();o!==void 0&&(r*=o);const a=t.getMetersPerUnit();a!==void 0&&(r/=a);const l=t.getExtent();if(!l||Fl(l,s)){const c=pw(t,r,s)/r;isFinite(c)&&c>0&&(r/=c)}return r}function Yk(t,e,n,i){const s=da(n);let r=Xw(t,e,s,i);return(!isFinite(r)||r<=0)&&JT(n,function(o){return r=Xw(t,e,o,i),isFinite(r)&&r>0}),r}function jk(t,e,n,i,s,r,o,a,l,c,u,d,h,f){const p=an(Math.round(n*t),Math.round(n*e),hr);if(d||(p.imageSmoothingEnabled=!1),l.length===0)return p.canvas;p.scale(n,n);function m(w){return Math.round(w*n)/n}p.globalCompositeOperation="lighter";const y=Ui();l.forEach(function(w,x,T){nne(y,w.extent)});let v;const b=n/i,E=(d?1:1+Math.pow(2,-24))/b;if(!h||l.length!==1||c!==0){if(v=an(Math.round(vt(y)*b),Math.round(Yn(y)*b),hr),d||(v.imageSmoothingEnabled=!1),s&&f){const w=(s[0]-y[0])*b,x=-(s[3]-y[3])*b,T=vt(s)*b,k=Yn(s)*b;v.rect(w,x,T,k),v.clip()}l.forEach(function(w,x,T){if(w.image.width>0&&w.image.height>0){if(w.clipExtent){v.save();const H=(w.clipExtent[0]-y[0])*b,te=-(w.clipExtent[3]-y[3])*b,N=vt(w.clipExtent)*b,L=Yn(w.clipExtent)*b;v.rect(d?H:Math.round(H),d?te:Math.round(te),d?N:Math.round(H+N)-Math.round(H),d?L:Math.round(te+L)-Math.round(te)),v.clip()}const k=(w.extent[0]-y[0])*b,A=-(w.extent[3]-y[3])*b,P=vt(w.extent)*b,F=Yn(w.extent)*b;v.drawImage(w.image,c,c,w.image.width-2*c,w.image.height-2*c,d?k:Math.round(k),d?A:Math.round(A),d?P:Math.round(k+P)-Math.round(k),d?F:Math.round(A+F)-Math.round(A)),w.clipExtent&&v.restore()}})}const C=ba(o);return a.getTriangles().forEach(function(w,x,T){const k=w.source,A=w.target;let P=k[0][0],F=k[0][1],H=k[1][0],te=k[1][1],N=k[2][0],L=k[2][1];const I=m((A[0][0]-C[0])/r),W=m(-(A[0][1]-C[1])/r),X=m((A[1][0]-C[0])/r),J=m(-(A[1][1]-C[1])/r),ne=m((A[2][0]-C[0])/r),ue=m(-(A[2][1]-C[1])/r),Y=P,Z=F;P=0,F=0,H-=Y,te-=Z,N-=Y,L-=Z;const M=[[H,te,0,0,X-I],[N,L,0,0,ne-I],[0,0,H,te,J-W],[0,0,N,L,ue-W]],ie=jte(M);if(!ie)return;if(p.save(),p.beginPath(),rre()||!d){p.moveTo(X,J);const $=4,oe=I-X,de=W-J;for(let ve=0;ve<$;ve++)p.lineTo(X+m((ve+1)*oe/$),J+m(ve*de/($-1))),ve!=$-1&&p.lineTo(X+m((ve+1)*oe/$),J+m((ve+1)*de/($-1)));p.lineTo(ne,ue)}else p.moveTo(X,J),p.lineTo(I,W),p.lineTo(ne,ue);p.clip(),p.transform(ie[0],ie[2],ie[1],ie[3],I,W),p.translate(y[0]-Y,y[3]-Z);let le;if(v)le=v.canvas,p.scale(E,-E);else{const $=l[0],oe=$.extent;le=$.image,p.scale(vt(oe)/le.width,-Yn(oe)/le.height)}p.drawImage(le,0,0),p.restore()}),v&&(Bl(v),hr.push(v.canvas)),u&&(p.save(),p.globalCompositeOperation="source-over",p.strokeStyle="black",p.lineWidth=1,a.getTriangles().forEach(function(w,x,T){const k=w.target,A=(k[0][0]-C[0])/r,P=-(k[0][1]-C[1])/r,F=(k[1][0]-C[0])/r,H=-(k[1][1]-C[1])/r,te=(k[2][0]-C[0])/r,N=-(k[2][1]-C[1])/r;p.beginPath(),p.moveTo(F,H),p.lineTo(A,P),p.lineTo(te,N),p.closePath(),p.stroke()}),p.restore()),p.canvas}class $m extends Qy{constructor(e,n,i,s,r,o,a,l,c,u,d,h){super(r,Fe.IDLE,h),this.renderEdges_=d!==void 0?d:!1,this.pixelRatio_=a,this.gutter_=l,this.canvas_=null,this.sourceTileGrid_=n,this.targetTileGrid_=s,this.wrappedTileCoord_=o||r,this.sourceTiles_=[],this.sourcesListenerKeys_=null,this.sourceZ_=0,this.clipExtent_=e.canWrapX()?e.getExtent():void 0;const f=s.getTileCoordExtent(this.wrappedTileCoord_),p=this.targetTileGrid_.getExtent();let m=this.sourceTileGrid_.getExtent();const y=p?ls(f,p):f;if(vu(y)===0){this.state=Fe.EMPTY;return}const v=e.getExtent();v&&(m?m=ls(m,v):m=v);const b=s.getResolution(this.wrappedTileCoord_[0]),E=Yk(e,i,y,b);if(!isFinite(E)||E<=0){this.state=Fe.EMPTY;return}const C=u!==void 0?u:Wk;if(this.triangulation_=new Hk(e,i,y,m,E*C,b),this.triangulation_.getTriangles().length===0){this.state=Fe.EMPTY;return}this.sourceZ_=n.getZForResolution(E);let w=this.triangulation_.calculateSourceExtent();if(m&&(e.canWrapX()?(w[1]=Jt(w[1],m[1],m[3]),w[3]=Jt(w[3],m[1],m[3])):w=ls(w,m)),!vu(w))this.state=Fe.EMPTY;else{let x=0,T=0;e.canWrapX()&&(x=vt(v),T=Math.floor((w[0]-v[0])/x)),xy(w.slice(),e,!0).forEach(A=>{const P=n.getTileRangeForExtentAndZ(A,this.sourceZ_);for(let F=P.minX;F<=P.maxX;F++)for(let H=P.minY;H<=P.maxY;H++){const te=c(this.sourceZ_,F,H,a);if(te){const N=T*x;this.sourceTiles_.push({tile:te,offset:N})}}++T}),this.sourceTiles_.length===0&&(this.state=Fe.EMPTY)}}getImage(){return this.canvas_}reproject_(){const e=[];if(this.sourceTiles_.forEach(n=>{const i=n.tile;if(i&&i.getState()==Fe.LOADED){const s=this.sourceTileGrid_.getTileCoordExtent(i.tileCoord);s[0]+=n.offset,s[2]+=n.offset;const r=this.clipExtent_?.slice();r&&(r[0]+=n.offset,r[2]+=n.offset),e.push({extent:s,clipExtent:r,image:i.getImage()})}}),this.sourceTiles_.length=0,e.length===0)this.state=Fe.ERROR;else{const n=this.wrappedTileCoord_[0],i=this.targetTileGrid_.getTileSize(n),s=typeof i=="number"?i:i[0],r=typeof i=="number"?i:i[1],o=this.targetTileGrid_.getResolution(n),a=this.sourceTileGrid_.getResolution(this.sourceZ_),l=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=jk(s,r,this.pixelRatio_,a,this.sourceTileGrid_.getExtent(),o,l,this.triangulation_,e,this.gutter_,this.renderEdges_,this.interpolate),this.state=Fe.LOADED}this.changed()}load(){if(this.state==Fe.IDLE){this.state=Fe.LOADING,this.changed();let e=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(({tile:n})=>{const i=n.getState();if(i==Fe.IDLE||i==Fe.LOADING){e++;const s=ft(n,et.CHANGE,r=>{const o=n.getState();(o==Fe.LOADED||o==Fe.ERROR||o==Fe.EMPTY)&&(Dt(s),e--,e===0&&(this.unlistenSources_(),this.reproject_()))});this.sourcesListenerKeys_.push(s)}}),e===0?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach(function({tile:n},i,s){n.getState()==Fe.IDLE&&n.load()})}}unlistenSources_(){this.sourcesListenerKeys_.forEach(Dt),this.sourcesListenerKeys_=null}release(){this.canvas_&&(Bl(this.canvas_.getContext("2d")),hr.push(this.canvas_),this.canvas_=null),super.release()}}const Ep={TILELOADSTART:"tileloadstart",TILELOADEND:"tileloadend",TILELOADERROR:"tileloaderror"};class Kk extends Vs{constructor(e){super(),this.projection=Gi(e.projection),this.attributions_=qw(e.attributions),this.attributionsCollapsible_=e.attributionsCollapsible??!0,this.loading=!1,this.state_=e.state!==void 0?e.state:"ready",this.wrapX_=e.wrapX!==void 0?e.wrapX:!1,this.interpolate_=!!e.interpolate,this.viewResolver=null,this.viewRejector=null;const n=this;this.viewPromise_=new Promise(function(i,s){n.viewResolver=i,n.viewRejector=s})}getAttributions(){return this.attributions_}getAttributionsCollapsible(){return this.attributionsCollapsible_}getProjection(){return this.projection}getResolutions(e){return null}getView(){return this.viewPromise_}getState(){return this.state_}getWrapX(){return this.wrapX_}getInterpolate(){return this.interpolate_}refresh(){this.changed()}setAttributions(e){this.attributions_=qw(e),this.changed()}setState(e){this.state_=e,this.changed()}}function qw(t){return t?typeof t=="function"?t:(Array.isArray(t)||(t=[t]),e=>t):null}class e0{constructor(e,n,i,s){this.minX=e,this.maxX=n,this.minY=i,this.maxY=s}contains(e){return this.containsXY(e[1],e[2])}containsTileRange(e){return this.minX<=e.minX&&e.maxX<=this.maxX&&this.minY<=e.minY&&e.maxY<=this.maxY}containsXY(e,n){return this.minX<=e&&e<=this.maxX&&this.minY<=n&&n<=this.maxY}equals(e){return this.minX==e.minX&&this.minY==e.minY&&this.maxX==e.maxX&&this.maxY==e.maxY}extend(e){e.minXthis.maxX&&(this.maxX=e.maxX),e.minYthis.maxY&&(this.maxY=e.maxY)}getHeight(){return this.maxY-this.minY+1}getSize(){return[this.getWidth(),this.getHeight()]}getWidth(){return this.maxX-this.minX+1}intersects(e){return this.minX<=e.maxX&&this.maxX>=e.minX&&this.minY<=e.maxY&&this.maxY>=e.minY}}function Va(t,e,n,i,s){return s!==void 0?(s.minX=t,s.maxX=e,s.minY=n,s.maxY=i,s):new e0(t,e,n,i)}function Yh(t,e,n,i){return i!==void 0?(i[0]=t,i[1]=e,i[2]=n,i):[t,e,n]}function ore(t,e,n){return t+"/"+e+"/"+n}function are(t){return lre(t[0],t[1],t[2])}function lre(t,e,n){return(e<n||n>e.getMaxZoom())return!1;const r=e.getFullTileRange(n);return r?r.containsXY(i,s):!0}const za=[0,0,0],Mr=5;class ure{constructor(e){this.minZoom=e.minZoom!==void 0?e.minZoom:0,this.resolutions_=e.resolutions,mt(Vte(this.resolutions_,(s,r)=>r-s,!0),"`resolutions` must be sorted in descending order");let n;if(!e.origins){for(let s=0,r=this.resolutions_.length-1;s{const o=new e0(Math.min(0,s[0]),Math.max(s[0]-1,-1),Math.min(0,s[1]),Math.max(s[1]-1,-1));if(i){const a=this.getTileRangeForExtentAndZ(i,r);o.minX=Math.max(a.minX,o.minX),o.maxX=Math.min(a.maxX,o.maxX),o.minY=Math.max(a.minY,o.minY),o.maxY=Math.min(a.maxY,o.maxY)}return o}):i&&this.calculateTileRanges_(i)}forEachTileCoord(e,n,i){const s=this.getTileRangeForExtentAndZ(e,n);for(let r=s.minX,o=s.maxX;r<=o;++r)for(let a=s.minY,l=s.maxY;a<=l;++a)i([n,r,a])}forEachTileCoordParentTileRange(e,n,i,s){let r,o,a,l=null,c=e[0]-1;for(this.zoomFactor_===2?(o=e[1],a=e[2]):l=this.getTileCoordExtent(e,s);c>=this.minZoom;){if(o!==void 0&&a!==void 0?(o=Math.floor(o/2),a=Math.floor(a/2),r=Va(o,o,a,a,i)):r=this.getTileRangeForExtentAndZ(l,c,i),n(c,r))return!0;--c}return!1}getExtent(){return this.extent_}getMaxZoom(){return this.maxZoom}getMinZoom(){return this.minZoom}getOrigin(e){return this.origin_?this.origin_:this.origins_[e]}getResolution(e){return this.resolutions_[e]}getResolutions(){return this.resolutions_}getTileCoordChildTileRange(e,n,i){if(e[0]this.maxZoom||n0?i:Math.max(r/n[0],s/n[1]);const o=e+1,a=new Array(o);for(let l=0;lthis.getTileInternal(f,p,m,y,o),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.tileOptions);return h.key=l,h}getTileInternal(e,n,i,s,r){const o=this.getKey();return this.createTile_(e,n,i,s,r,o)}setRenderReprojectionEdges(e){this.renderReprojectionEdges_!=e&&(this.renderReprojectionEdges_=e,this.changed())}setTileGridForProjection(e,n){const i=Gi(e);if(i){const s=wt(i);s in this.tileGridForProjection||(this.tileGridForProjection[s]=n)}}}function kre(t,e){t.getImage().src=e}class Are extends Tre{constructor(e){e=e||{};const n=e.projection!==void 0?e.projection:"EPSG:3857",i=e.tileGrid!==void 0?e.tileGrid:fre({extent:t0(n),maxResolution:e.maxResolution,maxZoom:e.maxZoom,minZoom:e.minZoom,tileSize:e.tileSize});super({attributions:e.attributions,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,interpolate:e.interpolate,projection:n,reprojectionErrorThreshold:e.reprojectionErrorThreshold,tileGrid:i,tileLoadFunction:e.tileLoadFunction,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX!==void 0?e.wrapX:!0,transition:e.transition,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection}),this.gutter_=e.gutter!==void 0?e.gutter:0}getGutter(){return this.gutter_}}const Mre='© OpenStreetMap contributors.';class Ire extends Are{constructor(e){e=e||{};let n;e.attributions!==void 0?n=e.attributions:n=[Mre];const i=e.crossOrigin!==void 0?e.crossOrigin:"anonymous",s=e.url!==void 0?e.url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png";super({attributions:n,attributionsCollapsible:!1,cacheSize:e.cacheSize,crossOrigin:i,interpolate:e.interpolate,maxZoom:e.maxZoom!==void 0?e.maxZoom:19,reprojectionErrorThreshold:e.reprojectionErrorThreshold,tileLoadFunction:e.tileLoadFunction,transition:e.transition,url:s,wrapX:e.wrapX,zDirection:e.zDirection})}}const Gd={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"};class Pre extends Uf{constructor(e){e=e||{};const n=Object.assign({},e),i=e.cacheSize;delete e.cacheSize,delete n.preload,delete n.useInterimTilesOnError,super(n),this.on,this.once,this.un,this.cacheSize_=i,this.setPreload(e.preload!==void 0?e.preload:0),this.setUseInterimTilesOnError(e.useInterimTilesOnError!==void 0?e.useInterimTilesOnError:!0)}getCacheSize(){return this.cacheSize_}getPreload(){return this.get(Gd.PRELOAD)}setPreload(e){this.set(Gd.PRELOAD,e)}getUseInterimTilesOnError(){return this.get(Gd.USE_INTERIM_TILES_ON_ERROR)}setUseInterimTilesOnError(e){this.set(Gd.USE_INTERIM_TILES_ON_ERROR,e)}getData(e){return super.getData(e)}}const Rre=5;class Dre extends Ku{constructor(e){super(),this.ready=!0,this.boundHandleImageChange_=this.handleImageChange_.bind(this),this.layer_=e,this.staleKeys_=new Array,this.maxStaleKeys=Rre}getStaleKeys(){return this.staleKeys_}prependStaleKey(e){this.staleKeys_.unshift(e),this.staleKeys_.length>this.maxStaleKeys&&(this.staleKeys_.length=this.maxStaleKeys)}getFeatures(e){return pt()}getData(e){return null}prepareFrame(e){return pt()}renderFrame(e,n){return pt()}forEachFeatureAtCoordinate(e,n,i,s,r){}getLayer(){return this.layer_}handleFontsChanged(){}handleImageChange_(e){const n=e.target;(n.getState()===ot.LOADED||n.getState()===ot.ERROR)&&this.renderIfReadyAndVisible()}loadImage(e){let n=e.getState();return n!=ot.LOADED&&n!=ot.ERROR&&e.addEventListener(et.CHANGE,this.boundHandleImageChange_),n==ot.IDLE&&(e.load(),n=e.getState()),n==ot.LOADED}renderIfReadyAndVisible(){const e=this.getLayer();e&&e.getVisible()&&e.getSourceState()==="ready"&&e.changed()}renderDeferred(e){}disposeInternal(){delete this.layer_,super.disposeInternal()}}class qk{constructor(){this.instructions_=[],this.zIndex=0,this.offset_=0,this.context_=new Proxy(Nh(),{get:(e,n)=>{if(typeof Nh()[n]=="function")return this.instructions_[this.zIndex+this.offset_]||(this.instructions_[this.zIndex+this.offset_]=[]),this.instructions_[this.zIndex+this.offset_].push(n),this.pushMethodArgs_},set:(e,n,i)=>(this.instructions_[this.zIndex+this.offset_]||(this.instructions_[this.zIndex+this.offset_]=[]),this.instructions_[this.zIndex+this.offset_].push(n,i),!0)})}pushMethodArgs_=(...e)=>(this.instructions_[this.zIndex+this.offset_].push(e),this);pushFunction(e){this.instructions_[this.zIndex+this.offset_].push(e)}getContext(){return this.context_}draw(e){this.instructions_.forEach(n=>{for(let i=0,s=n.length;i0&&this.getCount()>this.highWaterMark}expireCache(e){for(;this.canExpireCache();){const n=this.pop();n instanceof Lf&&n.dispose()}}clear(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}containsKey(e){return this.entries_.hasOwnProperty(e)}forEach(e){let n=this.oldest_;for(;n;)e(n.value_,n.key_,this),n=n.newer}get(e,n){const i=this.entries_[e];return mt(i!==void 0,"Tried to get a value for a key that does not exist in the cache"),i===this.newest_||(i===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(i.newer.older=i.older,i.older.newer=i.newer),i.newer=null,i.older=this.newest_,this.newest_.newer=i,this.newest_=i),i.value_}remove(e){const n=this.entries_[e];return mt(n!==void 0,"Tried to get a value for a key that does not exist in the cache"),n===this.newest_?(this.newest_=n.older,this.newest_&&(this.newest_.newer=null)):n===this.oldest_?(this.oldest_=n.newer,this.oldest_&&(this.oldest_.older=null)):(n.newer.older=n.older,n.older.newer=n.newer),delete this.entries_[e],--this.count_,n.value_}getCount(){return this.count_}getKeys(){const e=new Array(this.count_);let n=0,i;for(i=this.newest_;i;i=i.older)e[n++]=i.key_;return e}getValues(){const e=new Array(this.count_);let n=0,i;for(i=this.newest_;i;i=i.older)e[n++]=i.value_;return e}peekLast(){return this.oldest_.value_}peekLastKey(){return this.oldest_.key_}peekFirstKey(){return this.newest_.key_}peek(e){return this.entries_[e]?.value_}pop(){const e=this.oldest_;return delete this.entries_[e.key_],e.newer&&(e.newer.older=null),this.oldest_=e.newer,this.oldest_||(this.newest_=null),--this.count_,e.value_}replace(e,n){this.get(e),this.entries_[e].value_=n}set(e,n){mt(!(e in this.entries_),"Tried to set a value for a key that is used already");const i={key_:e,newer:null,older:this.newest_,value_:n};this.newest_?this.newest_.newer=i:this.oldest_=i,this.newest_=i,this.entries_[e]=i,++this.count_}setSize(e){this.highWaterMark=e}}class Vre extends Lm{constructor(e){super({tileCoord:e.tileCoord,loader:()=>Promise.resolve(new Uint8ClampedArray(4)),interpolate:e.interpolate,transition:e.transition}),this.pixelRatio_=e.pixelRatio,this.gutter_=e.gutter,this.reprojData_=null,this.reprojError_=null,this.reprojSize_=void 0,this.sourceTileGrid_=e.sourceTileGrid,this.targetTileGrid_=e.targetTileGrid,this.wrappedTileCoord_=e.wrappedTileCoord||e.tileCoord,this.sourceTiles_=[],this.sourcesListenerKeys_=null,this.sourceZ_=0;const n=e.sourceProj,i=n.getExtent(),s=e.sourceTileGrid.getExtent();this.clipExtent_=n.canWrapX()?s?ls(i,s):i:s;const r=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_),o=this.targetTileGrid_.getExtent();let a=this.sourceTileGrid_.getExtent();const l=o?ls(r,o):r;if(vu(l)===0){this.state=Fe.EMPTY;return}i&&(a?a=ls(a,i):a=i);const c=this.targetTileGrid_.getResolution(this.wrappedTileCoord_[0]),u=e.targetProj,d=Yk(n,u,l,c);if(!isFinite(d)||d<=0){this.state=Fe.EMPTY;return}const h=e.errorThreshold!==void 0?e.errorThreshold:Wk;if(this.triangulation_=new Hk(n,u,l,a,d*h,c),this.triangulation_.getTriangles().length===0){this.state=Fe.EMPTY;return}this.sourceZ_=this.sourceTileGrid_.getZForResolution(d);let f=this.triangulation_.calculateSourceExtent();if(a&&(n.canWrapX()?(f[1]=Jt(f[1],a[1],a[3]),f[3]=Jt(f[3],a[1],a[3])):f=ls(f,a)),!vu(f))this.state=Fe.EMPTY;else{let p=0,m=0;n.canWrapX()&&(p=vt(i),m=Math.floor((f[0]-i[0])/p)),xy(f.slice(),n,!0).forEach(v=>{const b=this.sourceTileGrid_.getTileRangeForExtentAndZ(v,this.sourceZ_),E=e.getTileFunction;for(let C=b.minX;C<=b.maxX;C++)for(let w=b.minY;w<=b.maxY;w++){const x=E(this.sourceZ_,C,w,this.pixelRatio_);if(x){const T=m*p;this.sourceTiles_.push({tile:x,offset:T})}}++m}),this.sourceTiles_.length===0&&(this.state=Fe.EMPTY)}}getSize(){return this.reprojSize_}getData(){return this.reprojData_}getError(){return this.reprojError_}reproject_(){const e=[];let n=!1;if(this.sourceTiles_.forEach(p=>{const m=p.tile;if(!m||m.getState()!==Fe.LOADED)return;const y=m.getSize(),v=this.gutter_;let b;const E=Lre(m.getData());E?b=E:(n=!0,b=Nre(jh(m.getData())));const C=[y[0]+2*v,y[1]+2*v],w=b instanceof Float32Array,x=C[0]*C[1],T=w?Float32Array:Uint8ClampedArray,k=new T(b.buffer),A=T.BYTES_PER_ELEMENT,P=A*k.length/x,F=k.byteLength/C[1],H=Math.floor(F/A/C[0]),te=x*H;let N=k;if(k.length!==te){N=new T(te);let W=0,X=0;const J=C[0]*H;for(let ne=0;ne=0;--p){const m=[];for(let w=0,x=e.length;w{const i=n.getState();if(i!==Fe.IDLE&&i!==Fe.LOADING)return;e++;const s=ft(n,et.CHANGE,()=>{const r=n.getState();(r==Fe.LOADED||r==Fe.ERROR||r==Fe.EMPTY)&&(Dt(s),e--,e===0&&(this.unlistenSources_(),this.reproject_()))});this.sourcesListenerKeys_.push(s)}),e===0?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach(function({tile:n}){n.getState()==Fe.IDLE&&n.load()})}unlistenSources_(){this.sourcesListenerKeys_.forEach(Dt),this.sourcesListenerKeys_=null}}function Sp(t,e,n,i){return`${t},${ore(e,n,i)}`}function Cp(t,e,n){if(!(n in t))return t[n]=new Set([e]),!0;const i=t[n],s=i.has(e);return s||i.add(e),!s}function zre(t,e,n){const i=t[n];return i?i.delete(e):!1}function Jw(t,e){const n=t.layerStatesArray[t.layerIndex];n.extent&&(e=ls(e,Xr(n.extent,t.viewState.projection)));const i=n.layer.getRenderSource();if(!i.getWrapX()){const s=i.getTileGridForProjection(t.viewState.projection).getExtent();s&&(e=ls(e,s))}return e}class Wre extends Zk{constructor(e,n){super(e),n=n||{},this.extentChanged=!0,this.renderComplete=!1,this.renderedExtent_=null,this.renderedPixelRatio,this.renderedProjection=null,this.renderedRevision,this.renderedTiles=[],this.renderedSourceKey_,this.renderedSourceRevision_,this.tempExtent=Ui(),this.tempTileRange_=new e0(0,0,0,0),this.tempTileCoord_=Yh(0,0,0);const i=n.cacheSize!==void 0?n.cacheSize:512;this.tileCache_=new Bre(i),this.renderedProjection_=void 0,this.maxStaleKeys=i*.5}getTileCache(){return this.tileCache_}getOrCreateTile(e,n,i,s){const r=this.tileCache_,a=this.getLayer().getSource(),l=Sp(a.getKey(),e,n,i);let c;if(r.containsKey(l))c=r.get(l);else{if(c=a.getTile(e,n,i,s.pixelRatio,s.viewState.projection),!c)return null;r.set(l,c)}return c}getTile(e,n,i,s){const r=this.getOrCreateTile(e,n,i,s);return r||null}getData(e){const n=this.frameState;if(!n)return null;const i=this.getLayer(),s=$n(n.pixelToCoordinateTransform,e.slice()),r=i.getExtent();if(r&&!Fl(r,s))return null;const o=n.viewState,a=i.getRenderSource(),l=a.getTileGridForProjection(o.projection),c=a.getTilePixelRatio(n.pixelRatio);for(let u=l.getZForResolution(o.resolution);u>=l.getMinZoom();--u){const d=l.getTileCoordForCoordAndZ(s,u),h=this.getTile(u,d[1],d[2],n);if(!h||h.getState()!==Fe.LOADED)continue;const f=l.getOrigin(u),p=mi(l.getTileSize(u)),m=l.getResolution(u);let y;if(h instanceof zk||h instanceof $m)y=h.getImage();else if(h instanceof Lm){if(y=jh(h.getData()),!y)continue}else continue;const v=Math.floor(c*((s[0]-f[0])/m-d[1]*p[0])),b=Math.floor(c*((f[1]-s[1])/m-d[2]*p[1])),E=Math.round(c*a.getGutterForProjection(o.projection));return this.getImageData(y,v+E,b+E)}return null}prepareFrame(e){this.renderedProjection_?e.viewState.projection!==this.renderedProjection_&&(this.tileCache_.clear(),this.renderedProjection_=e.viewState.projection):this.renderedProjection_=e.viewState.projection;const n=this.getLayer().getSource();if(!n)return!1;const i=n.getRevision();return this.renderedRevision_?this.renderedRevision_!==i&&(this.renderedRevision_=i,this.renderedSourceKey_===n.getKey()&&this.tileCache_.clear()):this.renderedRevision_=i,!0}enqueueTiles(e,n,i,s,r){const o=e.viewState,a=this.getLayer(),l=a.getRenderSource(),c=l.getTileGridForProjection(o.projection),u=wt(l);u in e.wantedTiles||(e.wantedTiles[u]={});const d=e.wantedTiles[u],h=a.getMapInternal(),f=Math.max(i-r,c.getMinZoom(),c.getZForResolution(Math.min(a.getMaxResolution(),h?h.getView().getResolutionForZoom(Math.max(a.getMinZoom(),0)):c.getResolution(0)),l.zDirection));for(let p=i;p>=f;--p){const m=c.getTileRangeForExtentAndZ(n,p,this.tempTileRange_),y=c.getResolution(p);for(let v=m.minX;v<=m.maxX;++v)for(let b=m.minY;b<=m.maxY;++b){const E=this.getTile(p,v,b,e);if(!E||!Cp(s,E,p))continue;const w=E.getKey();if(d[w]=!0,E.getState()===Fe.IDLE&&!e.tileQueue.isKeyQueued(w)){const x=Yh(p,v,b,this.tempTileCoord_);e.tileQueue.enqueue([E,u,c.getTileCoordCenter(x),y])}}}}findStaleTile_(e,n){const i=this.tileCache_,s=e[0],r=e[1],o=e[2],a=this.getStaleKeys();for(let l=0;l0&&setTimeout(()=>{this.enqueueTiles(e,P,f-1,k,A-1)},0),!(f in k))return this.container;const F=wt(this),H=e.time;for(const ne of k[f]){const ue=ne.getState();if((ne instanceof $m||ne instanceof Vre)&&ue===Fe.EMPTY)continue;const Y=ne.tileCoord;if(ue===Fe.LOADED&&ne.getAlpha(F,H)===1){ne.endTransition(F);continue}if(this.renderComplete=!1,this.findStaleTile_(Y,k)){zre(k,ne,f),e.animate=!0;continue}if(this.findAltTiles_(h,Y,f+1,k))continue;const ie=h.getMinZoom();for(let le=f-1;le>=ie&&!this.findAltTiles_(h,Y,le,k);--le);}const te=p/o*l/v,N=this.getRenderContext(e);_r(this.tempTransform,b/2,E/2,te,te,0,-b/2,-E/2),i.extent&&this.clipUnrotated(N,e,C),u.getInterpolate()||(N.imageSmoothingEnabled=!1),this.preRender(N,e);const L=Object.keys(k).map(Number);L.sort(cr);let I;const W=[],X=[];for(let ne=L.length-1;ne>=0;--ne){const ue=L[ne],Y=u.getTilePixelSize(ue,l,r),M=h.getResolution(ue)/p,ie=Y[0]*M*te,le=Y[1]*M*te,$=h.getTileCoordForCoordAndZ(ba(T),ue),oe=h.getTileCoordExtent($),de=$n(this.tempTransform,[v*(oe[0]-T[0])/p,v*(T[3]-oe[3])/p]),ve=v*u.getGutterForProjection(r);for(const z of k[ue]){if(z.getState()!==Fe.LOADED)continue;const ge=z.tileCoord,S=$[1]-ge[1],O=Math.round(de[0]-(S-1)*ie),K=$[2]-ge[2],U=Math.round(de[1]-(K-1)*le),re=Math.round(de[0]-S*ie),j=Math.round(de[1]-K*le),se=O-re,ee=U-j,fe=L.length===1;let me=!1;I=[re,j,re+se,j,re+se,j+ee,re,j+ee];for(let pe=0,Le=W.length;pe{const Y=wt(u),Z=ue.wantedTiles[Y],M=Z?Object.keys(Z).length:0;this.updateCacheSize(M),this.tileCache_.expireCache()};return e.postRenderFunctions.push(J),this.container}updateCacheSize(e){this.tileCache_.highWaterMark=Math.max(this.tileCache_.highWaterMark,e*2)}drawTile(e,n,i,s,r,o,a,l){let c;if(e instanceof Lm){if(c=jh(e.getData()),!c)throw new Error("Rendering array data is not yet supported")}else c=this.getTileImage(e);if(!c)return;const u=this.getRenderContext(n),d=wt(this),h=n.layerStatesArray[n.layerIndex],f=h.opacity*(l?e.getAlpha(d,n.time):1),p=f!==u.globalAlpha;p&&(u.save(),u.globalAlpha=f),u.drawImage(c,a,a,c.width-2*a,c.height-2*a,i,s,r,o),p&&u.restore(),f!==h.opacity?n.animate=!0:l&&e.endTransition(d)}getImage(){const e=this.context;return e?e.canvas:null}getTileImage(e){return e.getImage()}updateUsedTiles(e,n,i){const s=wt(n);s in e||(e[s]={}),e[s][i.getKey()]=!0}}class Hre extends Pre{constructor(e){super(e)}createRenderer(){return new Wre(this,{cacheSize:this.getCacheSize()})}}const Yre=Hre;class i0 extends Vs{constructor(e){if(super(),this.on,this.once,this.un,this.id_=void 0,this.geometryName_="geometry",this.style_=null,this.styleFunction_=void 0,this.geometryChangeKey_=null,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),e)if(typeof e.getSimplifiedGeometry=="function"){const n=e;this.setGeometry(n)}else{const n=e;this.setProperties(n)}}clone(){const e=new i0(this.hasProperties()?this.getProperties():null);e.setGeometryName(this.getGeometryName());const n=this.getGeometry();n&&e.setGeometry(n.clone());const i=this.getStyle();return i&&e.setStyle(i),e}getGeometry(){return this.get(this.geometryName_)}getId(){return this.id_}getGeometryName(){return this.geometryName_}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}handleGeometryChange_(){this.changed()}handleGeometryChanged_(){this.geometryChangeKey_&&(Dt(this.geometryChangeKey_),this.geometryChangeKey_=null);const e=this.getGeometry();e&&(this.geometryChangeKey_=ft(e,et.CHANGE,this.handleGeometryChange_,this)),this.changed()}setGeometry(e){this.set(this.geometryName_,e)}setStyle(e){this.style_=e,this.styleFunction_=e?jre(e):void 0,this.changed()}setId(e){this.id_=e,this.changed()}setGeometryName(e){this.removeChangeListener(this.geometryName_,this.handleGeometryChanged_),this.geometryName_=e,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),this.handleGeometryChanged_()}}function jre(t){if(typeof t=="function")return t;let e;return Array.isArray(t)?e=t:(mt(typeof t.getZIndex=="function","Expected an `ol/style/Style` or an array of `ol/style/Style.js`"),e=[t]),function(){return e}}const Tp=i0;function Om(t,e,n,i,s,r,o){let a,l;const c=(n-e)/i;if(c===1)a=e;else if(c===2)a=e,l=s;else if(c!==0){let u=t[e],d=t[e+1],h=0;const f=[0];for(let y=e+i;y1?o:2,r=r||new Array(o);for(let u=0;u>1;sl&&(this.instructions.push([je.CUSTOM,l,u,e,i,Uo,r]),this.hitDetectionInstructions.push([je.CUSTOM,l,u,e,s||i,Uo,r]));break;case"Point":c=e.getFlatCoordinates(),this.coordinates.push(c[0],c[1]),u=this.coordinates.length,this.instructions.push([je.CUSTOM,l,u,e,i,void 0,r]),this.hitDetectionInstructions.push([je.CUSTOM,l,u,e,s||i,void 0,r]);break}this.endGeometry(n)}beginGeometry(e,n,i){this.beginGeometryInstruction1_=[je.BEGIN_GEOMETRY,n,0,e,i],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[je.BEGIN_GEOMETRY,n,0,e,i],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)}finish(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}}reverseHitDetectionInstructions(){const e=this.hitDetectionInstructions;e.reverse();let n;const i=e.length;let s,r,o=-1;for(n=0;nthis.maxLineWidth&&(this.maxLineWidth=i.lineWidth,this.bufferedMaxExtent_=null)}else i.strokeStyle=void 0,i.lineCap=void 0,i.lineDash=null,i.lineDashOffset=void 0,i.lineJoin=void 0,i.lineWidth=void 0,i.miterLimit=void 0}createFill(e){const n=e.fillStyle,i=[je.SET_FILL_STYLE,n];return typeof n!="string"&&i.push(e.fillPatternScale),i}applyStroke(e){this.instructions.push(this.createStroke(e))}createStroke(e){return[je.SET_STROKE_STYLE,e.strokeStyle,e.lineWidth*this.pixelRatio,e.lineCap,e.lineJoin,e.miterLimit,this.applyPixelRatio(e.lineDash),e.lineDashOffset*this.pixelRatio]}updateFillStyle(e,n){const i=e.fillStyle;(typeof i!="string"||e.currentFillStyle!=i)&&(i!==void 0&&this.instructions.push(n.call(this,e)),e.currentFillStyle=i)}updateStrokeStyle(e,n){const i=e.strokeStyle,s=e.lineCap,r=e.lineDash,o=e.lineDashOffset,a=e.lineJoin,l=e.lineWidth,c=e.miterLimit;(e.currentStrokeStyle!=i||e.currentLineCap!=s||r!=e.currentLineDash&&!xo(e.currentLineDash,r)||e.currentLineDashOffset!=o||e.currentLineJoin!=a||e.currentLineWidth!=l||e.currentMiterLimit!=c)&&(i!==void 0&&n.call(this,e),e.currentStrokeStyle=i,e.currentLineCap=s,e.currentLineDash=r,e.currentLineDashOffset=o,e.currentLineJoin=a,e.currentLineWidth=l,e.currentMiterLimit=c)}endGeometry(e){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;const n=[je.END_GEOMETRY,e];this.instructions.push(n),this.hitDetectionInstructions.push(n)}getBufferedMaxExtent(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=GT(this.maxExtent),this.maxLineWidth>0)){const e=this.resolution*(this.maxLineWidth+1)/2;vy(this.bufferedMaxExtent_,e,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_}}class Ure extends Zu{constructor(e,n,i,s){super(e,n,i,s),this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.anchorX_=void 0,this.anchorY_=void 0,this.height_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.scale_=void 0,this.width_=void 0,this.declutterMode_=void 0,this.declutterImageWithText_=void 0}drawPoint(e,n,i){if(!this.image_||this.maxExtent&&!Fl(this.maxExtent,e.getFlatCoordinates()))return;this.beginGeometry(e,n,i);const s=e.getFlatCoordinates(),r=e.getStride(),o=this.coordinates.length,a=this.appendFlatPointCoordinates(s,r);this.instructions.push([je.DRAW_IMAGE,o,a,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([je.DRAW_IMAGE,o,a,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(n)}drawMultiPoint(e,n,i){if(!this.image_)return;this.beginGeometry(e,n,i);const s=e.getFlatCoordinates(),r=[];for(let l=0,c=s.length;l=t){const p=(t-a+f)/f,m=Ti(c,d,p),y=Ti(u,h,p);l.push(m,y),r.push(l),l=[m,y],a==t&&(o+=s),a=0}else if(a0&&r.push(l),r}function Qre(t,e,n,i,s){let r=n,o=n,a=0,l=0,c=n,u,d,h,f,p,m,y,v,b,E;for(d=n;dt&&(l>a&&(a=l,r=c,o=d),l=0,c=d-s)),h=f,y=b,v=E),p=C,m=w}return l+=f,l>a?[c,d]:[r,o]}const Uh={left:0,center:.5,right:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1};class eoe extends Zu{constructor(e,n,i,s){super(e,n,i,s),this.labels_=null,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=void 0,this.textRotation_=0,this.textFillState_=null,this.fillStates={},this.fillStates[ui]={fillStyle:ui},this.textStrokeState_=null,this.strokeStates={},this.textState_={},this.textStates={},this.textKey_="",this.fillKey_="",this.strokeKey_="",this.declutterMode_=void 0,this.declutterImageWithText_=void 0}finish(){const e=super.finish();return e.textStates=this.textStates,e.fillStates=this.fillStates,e.strokeStates=this.strokeStates,e}drawText(e,n,i){const s=this.textFillState_,r=this.textStrokeState_,o=this.textState_;if(this.text_===""||!o||!s&&!r)return;const a=this.coordinates;let l=a.length;const c=e.getType();let u=null,d=e.getStride();if(o.placement==="line"&&(c=="LineString"||c=="MultiLineString"||c=="Polygon"||c=="MultiPolygon")){if(!fi(this.maxExtent,e.getExtent()))return;let h;if(u=e.getFlatCoordinates(),c=="LineString")h=[u.length];else if(c=="MultiLineString")h=e.getEnds();else if(c=="Polygon")h=e.getEnds().slice(0,1);else if(c=="MultiPolygon"){const y=e.getEndss();h=[];for(let v=0,b=y.length;v{const w=a[(b+C)*2]===u[C*d]&&a[(b+C)*2+1]===u[C*d+1];return w||--b,w})}this.saveTextStates_(),(o.backgroundFill||o.backgroundStroke)&&(this.setFillStrokeStyle(o.backgroundFill,o.backgroundStroke),o.backgroundFill&&this.updateFillStyle(this.state,this.createFill),o.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(e,n,i);let p=o.padding;if(p!=Xo&&(o.scale[0]<0||o.scale[1]<0)){let b=o.padding[0],E=o.padding[1],C=o.padding[2],w=o.padding[3];o.scale[0]<0&&(E=-E,w=-w),o.scale[1]<0&&(b=-b,C=-C),p=[b,E,C,w]}const m=this.pixelRatio;this.instructions.push([je.DRAW_IMAGE,l,f,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[1,1],NaN,this.declutterMode_,this.declutterImageWithText_,p==Xo?Xo:p.map(function(b){return b*m}),!!o.backgroundFill,!!o.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,h]);const y=1/m,v=this.state.fillStyle;o.backgroundFill&&(this.state.fillStyle=ui,this.hitDetectionInstructions.push(this.createFill(this.state))),this.hitDetectionInstructions.push([je.DRAW_IMAGE,l,f,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[y,y],NaN,this.declutterMode_,this.declutterImageWithText_,p,!!o.backgroundFill,!!o.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_?ui:this.fillKey_,this.textOffsetX_,this.textOffsetY_,h]),o.backgroundFill&&(this.state.fillStyle=v,this.hitDetectionInstructions.push(this.createFill(this.state))),this.endGeometry(n)}}saveTextStates_(){const e=this.textStrokeState_,n=this.textState_,i=this.textFillState_,s=this.strokeKey_;e&&(s in this.strokeStates||(this.strokeStates[s]={strokeStyle:e.strokeStyle,lineCap:e.lineCap,lineDashOffset:e.lineDashOffset,lineWidth:e.lineWidth,lineJoin:e.lineJoin,miterLimit:e.miterLimit,lineDash:e.lineDash}));const r=this.textKey_;r in this.textStates||(this.textStates[r]={font:n.font,textAlign:n.textAlign||ku,justify:n.justify,textBaseline:n.textBaseline||Fh,scale:n.scale});const o=this.fillKey_;i&&(o in this.fillStates||(this.fillStates[o]={fillStyle:i.fillStyle}))}drawChars_(e,n){const i=this.textStrokeState_,s=this.textState_,r=this.strokeKey_,o=this.textKey_,a=this.fillKey_;this.saveTextStates_();const l=this.pixelRatio,c=Uh[s.textBaseline],u=this.textOffsetY_*l,d=this.text_,h=i?i.lineWidth*Math.abs(s.scale[0])/2:0;this.instructions.push([je.DRAW_CHARS,e,n,c,s.overflow,a,s.maxAngle,l,u,r,h*l,d,o,1,this.declutterMode_]),this.hitDetectionInstructions.push([je.DRAW_CHARS,e,n,c,s.overflow,a&&ui,s.maxAngle,l,u,r,h*l,d,o,1/l,this.declutterMode_])}setTextStyle(e,n){let i,s,r;if(!e)this.text_="";else{const o=e.getFill();o?(s=this.textFillState_,s||(s={},this.textFillState_=s),s.fillStyle=Is(o.getColor()||ui)):(s=null,this.textFillState_=s);const a=e.getStroke();if(!a)r=null,this.textStrokeState_=r;else{r=this.textStrokeState_,r||(r={},this.textStrokeState_=r);const p=a.getLineDash(),m=a.getLineDashOffset(),y=a.getWidth(),v=a.getMiterLimit();r.lineCap=a.getLineCap()||Vl,r.lineDash=p?p.slice():ur,r.lineDashOffset=m===void 0?dr:m,r.lineJoin=a.getLineJoin()||zl,r.lineWidth=y===void 0?Au:y,r.miterLimit=v===void 0?Cu:v,r.strokeStyle=Is(a.getColor()||Tu)}i=this.textState_;const l=e.getFont()||Ek;xie(l);const c=e.getScaleArray();i.overflow=e.getOverflow(),i.font=l,i.maxAngle=e.getMaxAngle(),i.placement=e.getPlacement(),i.textAlign=e.getTextAlign(),i.repeat=e.getRepeat(),i.justify=e.getJustify(),i.textBaseline=e.getTextBaseline()||Fh,i.backgroundFill=e.getBackgroundFill(),i.backgroundStroke=e.getBackgroundStroke(),i.padding=e.getPadding()||Xo,i.scale=c===void 0?[1,1]:c;const u=e.getOffsetX(),d=e.getOffsetY(),h=e.getRotateWithView(),f=e.getRotation();this.text_=e.getText()||"",this.textOffsetX_=u===void 0?0:u,this.textOffsetY_=d===void 0?0:d,this.textRotateWithView_=h===void 0?!1:h,this.textRotation_=f===void 0?0:f,this.strokeKey_=r?(typeof r.strokeStyle=="string"?r.strokeStyle:wt(r.strokeStyle))+r.lineCap+r.lineDashOffset+"|"+r.lineWidth+r.lineJoin+r.miterLimit+"["+r.lineDash.join()+"]":"",this.textKey_=i.font+i.scale+(i.textAlign||"?")+(i.repeat||"?")+(i.justify||"?")+(i.textBaseline||"?"),this.fillKey_=s&&s.fillStyle?typeof s.fillStyle=="string"?s.fillStyle:"|"+wt(s.fillStyle):""}this.declutterMode_=e.getDeclutterMode(),this.declutterImageWithText_=n}}const toe={Circle:ex,Default:Zu,Image:Gre,LineString:qre,Polygon:ex,Text:eoe};class noe{constructor(e,n,i,s){this.tolerance_=e,this.maxExtent_=n,this.pixelRatio_=s,this.resolution_=i,this.buildersByZIndex_={}}finish(){const e={};for(const n in this.buildersByZIndex_){e[n]=e[n]||{};const i=this.buildersByZIndex_[n];for(const s in i){const r=i[s].finish();e[n][s]=r}}return e}getBuilder(e,n){const i=e!==void 0?e.toString():"0";let s=this.buildersByZIndex_[i];s===void 0&&(s={},this.buildersByZIndex_[i]=s);let r=s[n];if(r===void 0){const o=toe[n];r=new o(this.tolerance_,this.maxExtent_,this.resolution_,this.pixelRatio_),s[n]=r}return r}}function ioe(t,e,n,i,s,r,o,a,l,c,u,d){let h=t[e],f=t[e+1],p=0,m=0,y=0,v=0;function b(){p=h,m=f,e+=i,h=t[e],f=t[e+1],v+=y,y=Math.sqrt((h-p)*(h-p)+(f-m)*(f-m))}do b();while(eI[2]}else F=C>A;const H=Math.PI,te=[],N=x+i===e;e=x,y=0,v=T,h=t[e],f=t[e+1];let L;if(N){b(),L=Math.atan2(f-m,h-p),F&&(L+=L>0?-H:H);const I=(A+C)/2,W=(P+w)/2;return te[0]=[I,W,(k-r)/2,L,s],te}s=s.replace(/\n/g," ");for(let I=0,W=s.length;I0?-H:H),L!==void 0){let M=X-L;if(M+=M>H?-2*H:M<-H?2*H:0,Math.abs(M)>o)return null}L=X;const J=I;let ne=0;for(;I0&&t.push(` +`,""),t.push(e,""),t}class roe{constructor(e,n,i,s,r){this.overlaps=i,this.pixelRatio=n,this.resolution=e,this.alignAndScaleFill_,this.instructions=s.instructions,this.coordinates=s.coordinates,this.coordinateCache_={},this.renderedTransform_=ds(),this.hitDetectionInstructions=s.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=s.fillStates||{},this.strokeStates=s.strokeStates||{},this.textStates=s.textStates||{},this.widths_={},this.labels_={},this.zIndexContext_=r?new qk:null}getZIndexContext(){return this.zIndexContext_}createLabel(e,n,i,s){const r=e+n+i+s;if(this.labels_[r])return this.labels_[r];const o=s?this.strokeStates[s]:null,a=i?this.fillStates[i]:null,l=this.textStates[n],c=this.pixelRatio,u=[l.scale[0]*c,l.scale[1]*c],d=l.justify?Uh[l.justify]:kp(Array.isArray(e)?e[0]:e,l.textAlign||ku),h=s&&o.lineWidth?o.lineWidth:0,f=Array.isArray(e)?e:String(e).split(` +`).reduce(soe,[]),{width:p,height:m,widths:y,heights:v,lineWidths:b}=Sie(l,f),E=p+h,C=[],w=(E+2)*u[0],x=(m+h)*u[1],T={width:w<0?Math.floor(w):Math.ceil(w),height:x<0?Math.floor(x):Math.ceil(x),contextInstructions:C};(u[0]!=1||u[1]!=1)&&C.push("scale",u),s&&(C.push("strokeStyle",o.strokeStyle),C.push("lineWidth",h),C.push("lineCap",o.lineCap),C.push("lineJoin",o.lineJoin),C.push("miterLimit",o.miterLimit),C.push("setLineDash",[o.lineDash]),C.push("lineDashOffset",o.lineDashOffset)),i&&C.push("fillStyle",a.fillStyle),C.push("textBaseline","middle"),C.push("textAlign","center");const k=.5-d;let A=d*E+k*h;const P=[],F=[];let H=0,te=0,N=0,L=0,I;for(let W=0,X=f.length;We?e-c:r,C=o+u>n?n-u:o,w=p[3]+E*h[0]+p[1],x=p[0]+C*h[1]+p[2],T=v-p[3],k=b-p[0];(m||d!==0)&&(Ir[0]=T,Pr[0]=T,Ir[1]=k,Ks[1]=k,Ks[0]=T+w,Us[0]=Ks[0],Us[1]=k+x,Pr[1]=Us[1]);let A;return d!==0?(A=_r(ds(),i,s,1,1,d,-i,-s),$n(A,Ir),$n(A,Ks),$n(A,Us),$n(A,Pr),co(Math.min(Ir[0],Ks[0],Us[0],Pr[0]),Math.min(Ir[1],Ks[1],Us[1],Pr[1]),Math.max(Ir[0],Ks[0],Us[0],Pr[0]),Math.max(Ir[1],Ks[1],Us[1],Pr[1]),Ha)):co(Math.min(T,T+w),Math.min(k,k+x),Math.max(T,T+w),Math.max(k,k+x),Ha),f&&(v=Math.round(v),b=Math.round(b)),{drawImageX:v,drawImageY:b,drawImageW:E,drawImageH:C,originX:c,originY:u,declutterBox:{minX:Ha[0],minY:Ha[1],maxX:Ha[2],maxY:Ha[3],value:y},canvasTransform:A,scale:h}}replayImageOrLabel_(e,n,i,s,r,o,a){const l=!!(o||a),c=s.declutterBox,u=a?a[2]*s.scale[0]/2:0;return c.minX-u<=n[0]&&c.maxX+u>=0&&c.minY-u<=n[1]&&c.maxY+u>=0&&(l&&this.replayTextBackground_(e,Ir,Ks,Us,Pr,o,a),Cie(e,s.canvasTransform,r,i,s.originX,s.originY,s.drawImageW,s.drawImageH,s.drawImageX,s.drawImageY,s.scale)),!0}fill_(e){const n=this.alignAndScaleFill_;if(n){const i=$n(this.renderedTransform_,[0,0]),s=512*this.pixelRatio;e.save(),e.translate(i[0]%s,i[1]%s),n!==1&&e.scale(n,n),e.rotate(this.viewRotation_)}e.fill(),n&&e.restore()}setStrokeStyle_(e,n){e.strokeStyle=n[1],e.lineWidth=n[2],e.lineCap=n[3],e.lineJoin=n[4],e.miterLimit=n[5],e.lineDashOffset=n[7],e.setLineDash(n[6])}drawLabelWithPointPlacement_(e,n,i,s){const r=this.textStates[n],o=this.createLabel(e,n,s,i),a=this.strokeStates[i],l=this.pixelRatio,c=kp(Array.isArray(e)?e[0]:e,r.textAlign||ku),u=Uh[r.textBaseline||Fh],d=a&&a.lineWidth?a.lineWidth:0,h=o.width/l-2*r.scale[0],f=c*h+2*(.5-c)*d,p=u*o.height/l+2*(.5-u)*d;return{label:o,anchorX:f,anchorY:p}}execute_(e,n,i,s,r,o,a,l){const c=this.zIndexContext_;let u;this.pixelCoordinates_&&xo(i,this.renderedTransform_)?u=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),u=no(this.coordinates,0,this.coordinates.length,2,i,this.pixelCoordinates_),Cne(this.renderedTransform_,i));let d=0;const h=s.length;let f=0,p,m,y,v,b,E,C,w,x,T,k,A,P,F=0,H=0,te=null,N=null;const L=this.coordinateCache_,I=this.viewRotation_,W=Math.round(Math.atan2(-i[1],i[0])*1e12)/1e12,X={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:I},J=this.instructions!=s||this.overlaps?0:200;let ne,ue,Y,Z;for(;dJ&&(this.fill_(e),F=0),H>J&&(e.stroke(),H=0),!F&&!H&&(e.beginPath(),b=NaN,E=NaN),++d;break;case je.CIRCLE:f=M[1];const le=u[f],$=u[f+1],oe=u[f+2],de=u[f+3],ve=oe-le,z=de-$,ge=Math.sqrt(ve*ve+z*z);e.moveTo(le+ge,$),e.arc(le,$,ge,0,2*Math.PI,!0),++d;break;case je.CLOSE_PATH:e.closePath(),++d;break;case je.CUSTOM:f=M[1],p=M[2];const S=M[3],O=M[4],K=M[5];X.geometry=S,X.feature=ne,d in L||(L[d]=[]);const U=L[d];K?K(u,f,p,2,U):(U[0]=u[f],U[1]=u[f+1],U.length=2),c&&(c.zIndex=M[6]),O(U,X),++d;break;case je.DRAW_IMAGE:f=M[1],p=M[2],x=M[3],m=M[4],y=M[5];let re=M[6];const j=M[7],se=M[8],ee=M[9],fe=M[10];let me=M[11];const pe=M[12];let Le=M[13];v=M[14]||"declutter";const Ae=M[15];if(!x&&M.length>=20){T=M[19],k=M[20],A=M[21],P=M[22];const dn=this.drawLabelWithPointPlacement_(T,k,A,P);x=dn.label,M[3]=x;const En=M[23];m=(dn.anchorX-En)*this.pixelRatio,M[4]=m;const Sn=M[24];y=(dn.anchorY-Sn)*this.pixelRatio,M[5]=y,re=x.height,M[6]=re,Le=x.width,M[13]=Le}let ze;M.length>25&&(ze=M[25]);let Be,it,Ze;M.length>17?(Be=M[16],it=M[17],Ze=M[18]):(Be=Xo,it=!1,Ze=!1),fe&&W?me+=I:!fe&&!W&&(me-=I);let Mt=0;for(;f!eA.includes(t));class aoe{constructor(e,n,i,s,r,o,a){this.maxExtent_=e,this.overlaps_=s,this.pixelRatio_=i,this.resolution_=n,this.renderBuffer_=o,this.executorsByZIndex_={},this.hitDetectionContext_=null,this.hitDetectionTransform_=ds(),this.renderedContext_=null,this.deferredZIndexContexts_={},this.createExecutors_(r,a)}clip(e,n){const i=this.getClipCoords(n);e.beginPath(),e.moveTo(i[0],i[1]),e.lineTo(i[2],i[3]),e.lineTo(i[4],i[5]),e.lineTo(i[6],i[7]),e.clip()}createExecutors_(e,n){for(const i in e){let s=this.executorsByZIndex_[i];s===void 0&&(s={},this.executorsByZIndex_[i]=s);const r=e[i];for(const o in r){const a=r[o];s[o]=new roe(this.resolution_,this.pixelRatio_,this.overlaps_,a,n)}}}hasExecutors(e){for(const n in this.executorsByZIndex_){const i=this.executorsByZIndex_[n];for(let s=0,r=e.length;s0){if(!o||T==="none"||f!=="Image"&&f!=="Text"||o.includes(w)){const F=(h[A]-3)/4,H=s-F%a,te=s-(F/a|0),N=r(w,x,H*H+te*te);if(N)return N}u.clearRect(0,0,a,a);break}}const m=Object.keys(this.executorsByZIndex_).map(Number);m.sort(cr);let y,v,b,E,C;for(y=m.length-1;y>=0;--y){const w=m[y].toString();for(b=this.executorsByZIndex_[w],v=el.length-1;v>=0;--v)if(f=el[v],E=b[f],E!==void 0&&(C=E.executeHitDetection(u,l,i,p,d),C))return C}}getClipCoords(e){const n=this.maxExtent_;if(!n)return null;const i=n[0],s=n[1],r=n[2],o=n[3],a=[i,s,i,o,r,o,r,s];return no(a,0,8,2,e,a),a}isEmpty(){return Nl(this.executorsByZIndex_)}execute(e,n,i,s,r,o,a){const l=Object.keys(this.executorsByZIndex_).map(Number);l.sort(cr),o=o||el;const c=el.length;let u,d,h,f,p;for(a&&l.reverse(),u=0,d=l.length;uv.execute(w,n,i,s,r,a)),C&&E.restore(),b){b.offset();const w=l[u]*c+h;this.deferredZIndexContexts_[w]||(this.deferredZIndexContexts_[w]=[]),this.deferredZIndexContexts_[w].push(b)}}}}this.renderedContext_=e}getDeferredZIndexContexts(){return this.deferredZIndexContexts_}getRenderedContext(){return this.renderedContext_}renderDeferred(){const e=this.deferredZIndexContexts_,n=Object.keys(e).map(Number).sort(cr);for(let i=0,s=n.length;i{r.draw(this.renderedContext_),r.clear()}),e[n[i]].length=0}}const Ap={};function loe(t){if(Ap[t]!==void 0)return Ap[t];const e=t*2+1,n=t*t,i=new Array(n+1);for(let r=0;r<=t;++r)for(let o=0;o<=t;++o){const a=r*r+o*o;if(a>n)break;let l=i[a];l||(l=[],i[a]=l),l.push(((t+r)*e+(t+o))*4+3),r>0&&l.push(((t-r)*e+(t+o))*4+3),o>0&&(l.push(((t+r)*e+(t-o))*4+3),r>0&&l.push(((t-r)*e+(t-o))*4+3))}const s=[];for(let r=0,o=i.length;rd*this.pixelRatio_),lineDashOffset:(o||dr)*this.pixelRatio_,lineJoin:a!==void 0?a:zl,lineWidth:(l!==void 0?l:Au)*this.pixelRatio_,miterLimit:c!==void 0?c:Cu,strokeStyle:Is(i||Tu)}}}setImageStyle(e){let n;if(!e||!(n=e.getSize())){this.image_=null;return}const i=e.getPixelRatio(this.pixelRatio_),s=e.getAnchor(),r=e.getOrigin();this.image_=e.getImage(this.pixelRatio_),this.imageAnchorX_=s[0]*i,this.imageAnchorY_=s[1]*i,this.imageHeight_=n[1]*i,this.imageOpacity_=e.getOpacity(),this.imageOriginX_=r[0],this.imageOriginY_=r[1],this.imageRotateWithView_=e.getRotateWithView(),this.imageRotation_=e.getRotation();const o=e.getScaleArray();this.imageScale_=[o[0]*this.pixelRatio_/i,o[1]*this.pixelRatio_/i],this.imageWidth_=n[0]*i}setTextStyle(e){if(!e)this.text_="";else{const n=e.getFill();if(!n)this.textFillState_=null;else{const f=n.getColor();this.textFillState_={fillStyle:Is(f||ui)}}const i=e.getStroke();if(!i)this.textStrokeState_=null;else{const f=i.getColor(),p=i.getLineCap(),m=i.getLineDash(),y=i.getLineDashOffset(),v=i.getLineJoin(),b=i.getWidth(),E=i.getMiterLimit();this.textStrokeState_={lineCap:p!==void 0?p:Vl,lineDash:m||ur,lineDashOffset:y||dr,lineJoin:v!==void 0?v:zl,lineWidth:b!==void 0?b:Au,miterLimit:E!==void 0?E:Cu,strokeStyle:Is(f||Tu)}}const s=e.getFont(),r=e.getOffsetX(),o=e.getOffsetY(),a=e.getRotateWithView(),l=e.getRotation(),c=e.getScaleArray(),u=e.getText(),d=e.getTextAlign(),h=e.getTextBaseline();this.textState_={font:s!==void 0?s:Ek,textAlign:d!==void 0?d:ku,textBaseline:h!==void 0?h:Fh},this.text_=u!==void 0?Array.isArray(u)?u.reduce((f,p,m)=>f+=m%2?" ":p,""):u:"",this.textOffsetX_=r!==void 0?this.pixelRatio_*r:0,this.textOffsetY_=o!==void 0?this.pixelRatio_*o:0,this.textRotateWithView_=a!==void 0?a:!1,this.textRotation_=l!==void 0?l:0,this.textScale_=[this.pixelRatio_*c[0],this.pixelRatio_*c[1]]}}}const uoe=coe,Cs=.5;function doe(t,e,n,i,s,r,o,a,l){const c=l?Ty(s):s,u=t[0]*Cs,d=t[1]*Cs,h=an(u,d);h.imageSmoothingEnabled=!1;const f=h.canvas,p=new uoe(h,Cs,s,null,o,a,l?Yf(mne(),l):null),m=n.length,y=Math.floor((256*256*256-1)/m),v={};for(let E=1;E<=m;++E){const C=n[E-1],w=C.getStyleFunction()||i;if(!w)continue;let x=w(C,r);if(!x)continue;Array.isArray(x)||(x=[x]);const k=(E*y).toString(16).padStart(7,"#00000");for(let A=0,P=x.length;A0;return d&&Promise.all(l).then(()=>s(null)),moe(t,e,n,i,r,o,a),d}function moe(t,e,n,i,s,r,o){const a=n.getGeometryFunction()(e);if(!a)return;const l=a.simplifyTransformed(i,s);if(n.getRenderer())iA(t,l,n,e,o);else{const u=tA[l.getType()];u(t,l,n,e,o,r)}}function iA(t,e,n,i,s){if(e.getType()=="GeometryCollection"){const o=e.getGeometries();for(let a=0,l=o.length;a{if(this.frameState&&!this.hitDetectionImageData_&&!this.animatingOrInteracting_){const i=this.frameState.size.slice(),s=this.renderedCenter_,r=this.renderedResolution_,o=this.renderedRotation_,a=this.renderedProjection_,l=this.wrappedRenderedExtent_,c=this.getLayer(),u=[],d=i[0]*Cs,h=i[1]*Cs;u.push(this.getRenderTransform(s,r,o,Cs,d,h,0).slice());const f=c.getSource(),p=a.getExtent();if(f.getWrapX()&&a.canWrapX()&&!Qa(p,l)){let m=l[0];const y=vt(p);let v=0,b;for(;mp[2];)++v,b=y*v,u.push(this.getRenderTransform(s,r,o,Cs,d,h,b).slice()),m-=y}this.hitDetectionImageData_=doe(i,u,this.renderedFeatures_,c.getStyleFunction(),l,r,o,ix(r,this.renderedPixelRatio_),null)}n(hoe(e,this.renderedFeatures_,this.hitDetectionImageData_))})}forEachFeatureAtCoordinate(e,n,i,s,r){if(!this.replayGroup_)return;const o=n.viewState.resolution,a=n.viewState.rotation,l=this.getLayer(),c={},u=function(p,m,y){const v=wt(p),b=c[v];if(b){if(b!==!0&&yd=p.forEachFeatureAtCoordinate(e,o,a,i,u,f&&n.declutter[f]?n.declutter[f].all().map(m=>m.value):null)),d}handleFontsChanged(){const e=this.getLayer();e.getVisible()&&this.replayGroup_&&e.changed()}handleStyleImageChange_(e){this.renderIfReadyAndVisible()}prepareFrame(e){const n=this.getLayer(),i=n.getSource();if(!i)return!1;const s=e.viewHints[Vn.ANIMATING],r=e.viewHints[Vn.INTERACTING],o=n.getUpdateWhileAnimating(),a=n.getUpdateWhileInteracting();if(this.ready&&!o&&s||!a&&r)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;const l=e.extent,c=e.viewState,u=c.projection,d=c.resolution,h=e.pixelRatio,f=n.getRevision(),p=n.getRenderBuffer();let m=n.getRenderOrder();m===void 0&&(m=goe);const y=c.center.slice(),v=vy(l,p*d),b=v.slice(),E=[v.slice()],C=u.getExtent();if(i.getWrapX()&&u.canWrapX()&&!Qa(C,e.extent)){const N=vt(C),L=Math.max(vt(v)/2,N);v[0]=C[0]-L,v[2]=C[2]+L,ek(y,u);const I=QT(E[0],u);I[0]C[0]&&I[2]>C[2]&&E.push([I[0]-N,I[1],I[2]-N,I[3]])}if(this.ready&&this.renderedResolution_==d&&this.renderedRevision_==f&&this.renderedRenderOrder_==m&&this.renderedFrameDeclutter_===!!e.declutter&&Qa(this.wrappedRenderedExtent_,v))return xo(this.renderedExtent_,b)||(this.hitDetectionImageData_=null,this.renderedExtent_=b),this.renderedCenter_=y,this.replayGroupChanged=!1,!0;this.replayGroup_=null;const w=new noe(nA(d,h),v,d,h);let x;for(let N=0,L=E.length;N{let I;const W=N.getStyleFunction()||n.getStyleFunction();if(W&&(I=W(N,d)),I){const X=this.renderFeature(N,T,I,w,x,this.getLayer().getDeclutter(),L);k=k&&!X}},P=Ty(v),F=i.getFeaturesInExtent(P);m&&F.sort(m);for(let N=0,L=F.length;N{if(e===this.squaredTolerance_)return this.simplifiedGeometry_;this.simplifiedGeometry_=this.clone(),n&&this.simplifiedGeometry_.applyTransform(n);const i=this.simplifiedGeometry_.getFlatCoordinates();let s;switch(this.type_){case"LineString":i.length=Kf(i,0,this.simplifiedGeometry_.flatCoordinates_.length,this.simplifiedGeometry_.stride_,e,i,0),s=[i.length];break;case"MultiLineString":s=[],i.length=Nne(i,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,e,i,0,s);break;case"Polygon":s=[],i.length=lk(i,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,Math.sqrt(e),i,0,s);break}return s&&(this.simplifiedGeometry_=new is(this.type_,i,s,2,this.properties_,this.id_)),this.squaredTolerance_=e,this.simplifiedGeometry_}),this}}is.prototype.getFlatCoordinates=is.prototype.getOrientedFlatCoordinates;const Bi={ADDFEATURE:"addfeature",CHANGEFEATURE:"changefeature",CLEAR:"clear",REMOVEFEATURE:"removefeature",FEATURESLOADSTART:"featuresloadstart",FEATURESLOADEND:"featuresloadend",FEATURESLOADERROR:"featuresloaderror"};function koe(t,e){return[[-1/0,-1/0,1/0,1/0]]}let Aoe=!1;function Moe(t,e,n,i,s,r,o){const a=new XMLHttpRequest;a.open("GET",typeof t=="function"?t(n,i,s):t,!0),e.getType()=="arraybuffer"&&(a.responseType="arraybuffer"),a.withCredentials=Aoe,a.onload=function(l){if(!a.status||a.status>=200&&a.status<300){const c=e.getType();try{let u;c=="text"||c=="json"?u=a.responseText:c=="xml"?u=a.responseXML||a.responseText:c=="arraybuffer"&&(u=a.response),u?r(e.readFeatures(u,{extent:n,featureProjection:s}),e.readProjection(u)):o()}catch{o()}}else o()},a.onerror=o,a.send()}function ax(t,e){return function(n,i,s,r,o){const a=this;Moe(t,e,n,i,s,function(l,c){a.addFeatures(l),r!==void 0&&r(l)},o||Ol)}}class Rr extends br{constructor(e,n,i){super(e),this.feature=n,this.features=i}}class Ioe extends Kk{constructor(e){e=e||{},super({attributions:e.attributions,interpolate:!0,projection:void 0,state:"ready",wrapX:e.wrapX!==void 0?e.wrapX:!0}),this.on,this.once,this.un,this.loader_=Ol,this.format_=e.format||null,this.overlaps_=e.overlaps===void 0?!0:e.overlaps,this.url_=e.url,e.loader!==void 0?this.loader_=e.loader:this.url_!==void 0&&(mt(this.format_,"`format` must be set when `url` is set"),this.loader_=ax(this.url_,this.format_)),this.strategy_=e.strategy!==void 0?e.strategy:koe;const n=e.useSpatialIndex!==void 0?e.useSpatialIndex:!0;this.featuresRtree_=n?new rx:null,this.loadedExtentsRtree_=new rx,this.loadingExtentsCount_=0,this.nullGeometryFeatures_={},this.idIndex_={},this.uidIndex_={},this.featureChangeKeys_={},this.featuresCollection_=null;let i,s;Array.isArray(e.features)?s=e.features:e.features&&(i=e.features,s=i.getArray()),!n&&i===void 0&&(i=new As(s)),s!==void 0&&this.addFeaturesInternal(s),i!==void 0&&this.bindFeaturesCollection_(i)}addFeature(e){this.addFeatureInternal(e),this.changed()}addFeatureInternal(e){const n=wt(e);if(!this.addToIndex_(n,e)){this.featuresCollection_&&this.featuresCollection_.remove(e);return}this.setupChangeEvents_(n,e);const i=e.getGeometry();if(i){const s=i.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(s,e)}else this.nullGeometryFeatures_[n]=e;this.dispatchEvent(new Rr(Bi.ADDFEATURE,e))}setupChangeEvents_(e,n){n instanceof is||(this.featureChangeKeys_[e]=[ft(n,et.CHANGE,this.handleFeatureChange_,this),ft(n,Ll.PROPERTYCHANGE,this.handleFeatureChange_,this)])}addToIndex_(e,n){let i=!0;if(n.getId()!==void 0){const s=String(n.getId());if(!(s in this.idIndex_))this.idIndex_[s]=n;else if(n instanceof is){const r=this.idIndex_[s];r instanceof is?Array.isArray(r)?r.push(n):this.idIndex_[s]=[r,n]:i=!1}else i=!1}return i&&(mt(!(e in this.uidIndex_),"The passed `feature` was already added to the source"),this.uidIndex_[e]=n),i}addFeatures(e){this.addFeaturesInternal(e),this.changed()}addFeaturesInternal(e){const n=[],i=[],s=[];for(let r=0,o=e.length;r{n||(n=!0,this.addFeature(i.element),n=!1)}),e.addEventListener(ci.REMOVE,i=>{n||(n=!0,this.removeFeature(i.element),n=!1)}),this.featuresCollection_=e}clear(e){if(e){for(const i in this.featureChangeKeys_)this.featureChangeKeys_[i].forEach(Dt);this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_){const i=s=>{this.removeFeatureInternal(s)};this.featuresRtree_.forEach(i);for(const s in this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[s])}this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};const n=new Rr(Bi.CLEAR);this.dispatchEvent(n),this.changed()}forEachFeature(e){if(this.featuresRtree_)return this.featuresRtree_.forEach(e);this.featuresCollection_&&this.featuresCollection_.forEach(e)}forEachFeatureAtCoordinateDirect(e,n){const i=[e[0],e[1],e[0],e[1]];return this.forEachFeatureInExtent(i,function(s){const r=s.getGeometry();if(r instanceof is||r.intersectsCoordinate(e))return n(s)})}forEachFeatureInExtent(e,n){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(e,n);this.featuresCollection_&&this.featuresCollection_.forEach(n)}forEachFeatureIntersectingExtent(e,n){return this.forEachFeatureInExtent(e,function(i){const s=i.getGeometry();if(s instanceof is||s.intersectsExtent(e)){const r=n(i);if(r)return r}})}getFeaturesCollection(){return this.featuresCollection_}getFeatures(){let e;return this.featuresCollection_?e=this.featuresCollection_.getArray().slice(0):this.featuresRtree_&&(e=this.featuresRtree_.getAll(),Nl(this.nullGeometryFeatures_)||Of(e,Object.values(this.nullGeometryFeatures_))),e}getFeaturesAtCoordinate(e){const n=[];return this.forEachFeatureAtCoordinateDirect(e,function(i){n.push(i)}),n}getFeaturesInExtent(e,n){if(this.featuresRtree_){if(!(n&&n.canWrapX()&&this.getWrapX()))return this.featuresRtree_.getInExtent(e);const s=xy(e,n);return[].concat(...s.map(r=>this.featuresRtree_.getInExtent(r)))}return this.featuresCollection_?this.featuresCollection_.getArray().slice(0):[]}getClosestFeatureToCoordinate(e,n){const i=e[0],s=e[1];let r=null;const o=[NaN,NaN];let a=1/0;const l=[-1/0,-1/0,1/0,1/0];return n=n||mu,this.featuresRtree_.forEachInExtent(l,function(c){if(n(c)){const u=c.getGeometry(),d=a;if(a=u instanceof is?0:u.closestPointXY(i,s,o,a),a{--this.loadingExtentsCount_,this.dispatchEvent(new Rr(Bi.FEATURESLOADEND,void 0,u))},()=>{--this.loadingExtentsCount_,this.dispatchEvent(new Rr(Bi.FEATURESLOADERROR))}),s.insert(l,{extent:l.slice()}))}this.loading=this.loader_.length<4?!1:this.loadingExtentsCount_>0}refresh(){this.clear(!0),this.loadedExtentsRtree_.clear(),super.refresh()}removeLoadedExtent(e){const n=this.loadedExtentsRtree_;let i;n.forEachInExtent(e,function(s){if(yu(s.extent,e))return i=s,!0}),i&&n.remove(i)}removeFeatures(e){let n=!1;for(let i=0,s=e.length;ie.geo&&e.geo.lat&&e.geo.lon);return t?[t.geo.lon,t.geo.lat]:[0,0]}return[this.d.geo.lon,this.d.geo.lat]}},async mounted(){await fetch("https://tile.openstreetmap.org/",{signal:AbortSignal.timeout(1500)}).then(t=>{const e=new nre({target:"map",layers:[new Yre({source:new Ire})],view:new Ss({center:lp(this.getLastLonLat()),zoom:this.type==="traceroute"?3:10})}),n=[],i=new Ioe;if(this.type==="traceroute")console.log(this.getLastLonLat()),this.d.forEach(a=>{if(a.geo&&a.geo.lat&&a.geo.lon){const l=lp([a.geo.lon,a.geo.lat]);n.push(l);const c=this.getLastLonLat();console.log(a.geo.lon,a.geo.lat),console.log(a.geo.lon===c[0]&&a.geo.lat===c[1]);const u=new Tp({geometry:new wu(l),last:a.geo.lon===c[0]&&a.geo.lat===c[1]});i.addFeature(u)}});else{const a=lp([this.d.geo.lon,this.d.geo.lat]);n.push(a);const l=new Tp({geometry:new wu(a)});i.addFeature(l)}const s=new Kh(n),r=new Tp({geometry:s});i.addFeature(r);const o=new Coe({source:i,style:function(a){if(a.getGeometry().getType()==="Point")return new ul({image:new Yy({radius:10,fill:new Zf({color:a.get("last")?"#dc3545":"#0d6efd"}),stroke:new Vh({color:"white",width:5})})});if(a.getGeometry().getType()==="LineString")return new ul({stroke:new Vh({color:"#0d6efd",width:2})})}});e.addLayer(o),this.store.Configuration.Server.dashboard_theme==="dark"&&e.on("postcompose",function(a){document.querySelector("#map").style.filter="grayscale(80%) invert(100%) "})}).catch(t=>{this.osmAvailable=!1})}},Roe={key:0,id:"map",class:"w-100 rounded-3"};function Doe(t,e,n,i,s,r){return this.osmAvailable?(D(),V("div",Roe)):ce("",!0)}const sA=He(Poe,[["render",Doe]]),$oe={name:"ping",components:{OSMap:sA,LocaleText:Qe},data(){return{loading:!1,cips:{},selectedConfiguration:void 0,selectedPeer:void 0,selectedIp:void 0,count:4,pingResult:void 0,pinging:!1}},setup(){return{store:nt()}},mounted(){Vt("/api/ping/getAllPeersIpAddress",{},t=>{t.status&&(this.loading=!0,this.cips=t.data,console.log(this.cips))})},methods:{execute(){this.selectedIp&&(this.pinging=!0,this.pingResult=void 0,Vt("/api/ping/execute",{ipAddress:this.selectedIp,count:this.count},t=>{t.status?this.pingResult=t.data:this.store.newMessage("Server",t.message,"danger"),this.pinging=!1}))}},watch:{selectedConfiguration(){this.selectedPeer=void 0,this.selectedIp=void 0},selectedPeer(){this.selectedIp=void 0}}},bi=t=>(bn("data-v-f5cd36ce"),t=t(),wn(),t),Loe={class:"mt-md-5 mt-3 text-body"},Ooe={class:"container"},Noe=bi(()=>g("h3",{class:"mb-3 text-body"},"Ping",-1)),Foe={class:"row"},Boe={class:"col-sm-4 d-flex gap-2 flex-column"},Voe={class:"mb-1 text-muted",for:"configuration"},zoe=["disabled"],Woe=bi(()=>g("option",{disabled:"",selected:"",value:void 0},null,-1)),Hoe=["value"],Yoe={class:"mb-1 text-muted",for:"peer"},joe=["disabled"],Koe=bi(()=>g("option",{disabled:"",selected:"",value:void 0},null,-1)),Uoe=["value"],Goe={class:"mb-1 text-muted",for:"ip"},Xoe=["disabled"],qoe=bi(()=>g("option",{disabled:"",selected:"",value:void 0},null,-1)),Zoe={class:"d-flex align-items-center gap-2"},Joe=bi(()=>g("div",{class:"flex-grow-1 border-top"},null,-1)),Qoe={class:"text-muted"},eae=bi(()=>g("div",{class:"flex-grow-1 border-top"},null,-1)),tae={class:"mb-1 text-muted",for:"ipAddress"},nae=["disabled"],iae=bi(()=>g("div",{class:"w-100 border-top my-2"},null,-1)),sae={class:"mb-1 text-muted",for:"count"},rae={class:"d-flex gap-3 align-items-center"},oae=["disabled"],aae=bi(()=>g("i",{class:"bi bi-dash-lg"},null,-1)),lae=[aae],cae=bi(()=>g("i",{class:"bi bi-plus-lg"},null,-1)),uae=[cae],dae=["disabled"],hae={key:0,class:"d-block"},fae=bi(()=>g("i",{class:"bi bi-person-walking me-2"},null,-1)),gae={key:1,class:"d-block"},pae=bi(()=>g("span",{class:"spinner-border spinner-border-sm","aria-hidden":"true"},null,-1)),mae=bi(()=>g("span",{class:"visually-hidden",role:"status"},"Loading...",-1)),_ae=[pae,mae],yae={class:"col-sm-8 position-relative"},vae={key:"pingPlaceholder"},bae=bi(()=>g("div",{class:"pingPlaceholder bg-body-secondary rounded-3 mb-3",style:{height:"300px"}},null,-1)),wae={key:"pingResult",class:"d-flex flex-column gap-2 w-100"},xae={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.15s"}},Eae={class:"card-body row"},Sae={class:"col-sm"},Cae={class:"mb-0 text-muted"},Tae={key:0,class:"col-sm"},kae={class:"mb-0 text-muted"},Aae={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.3s"}},Mae={class:"card-body"},Iae=bi(()=>g("p",{class:"mb-0 text-muted"},[g("small",null,"Is Alive")],-1)),Pae={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.45s"}},Rae={class:"card-body"},Dae={class:"mb-0 text-muted"},$ae={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.6s"}},Lae={class:"card-body"},Oae={class:"mb-0 text-muted"};function Nae(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("OSMap");return D(),V("div",Loe,[g("div",Ooe,[Noe,g("div",Foe,[g("div",Boe,[g("div",null,[g("label",Voe,[g("small",null,[B(o,{t:"Configuration"})])]),Oe(g("select",{class:"form-select","onUpdate:modelValue":e[0]||(e[0]=l=>this.selectedConfiguration=l),disabled:this.pinging},[Woe,(D(!0),V($e,null,Xe(this.cips,(l,c)=>(D(),V("option",{value:c},xe(c),9,Hoe))),256))],8,zoe),[[ih,this.selectedConfiguration]])]),g("div",null,[g("label",Yoe,[g("small",null,[B(o,{t:"Peer"})])]),Oe(g("select",{id:"peer",class:"form-select","onUpdate:modelValue":e[1]||(e[1]=l=>this.selectedPeer=l),disabled:this.selectedConfiguration===void 0||this.pinging},[Koe,this.selectedConfiguration!==void 0?(D(!0),V($e,{key:0},Xe(this.cips[this.selectedConfiguration],(l,c)=>(D(),V("option",{value:c},xe(c),9,Uoe))),256)):ce("",!0)],8,joe),[[ih,this.selectedPeer]])]),g("div",null,[g("label",Goe,[g("small",null,[B(o,{t:"IP Address"})])]),Oe(g("select",{id:"ip",class:"form-select","onUpdate:modelValue":e[2]||(e[2]=l=>this.selectedIp=l),disabled:this.selectedPeer===void 0||this.pinging},[qoe,this.selectedPeer!==void 0?(D(!0),V($e,{key:0},Xe(this.cips[this.selectedConfiguration][this.selectedPeer].allowed_ips,l=>(D(),V("option",null,xe(l),1))),256)):ce("",!0)],8,Xoe),[[ih,this.selectedIp]])]),g("div",Zoe,[Joe,g("small",Qoe,[B(o,{t:"OR"})]),eae]),g("div",null,[g("label",tae,[g("small",null,[B(o,{t:"Enter IP Address / Hostname"})])]),Oe(g("input",{class:"form-control",type:"text",id:"ipAddress",disabled:this.pinging,"onUpdate:modelValue":e[3]||(e[3]=l=>this.selectedIp=l)},null,8,nae),[[Ke,this.selectedIp]])]),iae,g("div",null,[g("label",sae,[g("small",null,[B(o,{t:"Count"})])]),g("div",rae,[g("button",{onClick:e[4]||(e[4]=l=>this.count--),disabled:this.count===1,class:"btn btn-sm bg-secondary-subtle text-secondary-emphasis"},lae,8,oae),g("strong",null,xe(this.count),1),g("button",{role:"button",onClick:e[5]||(e[5]=l=>this.count++),class:"btn btn-sm bg-secondary-subtle text-secondary-emphasis"},uae)])]),g("button",{class:"btn btn-primary rounded-3 mt-3 position-relative",disabled:!this.selectedIp||this.pinging,onClick:e[6]||(e[6]=l=>this.execute())},[B(Rt,{name:"slide"},{default:Re(()=>[this.pinging?(D(),V("span",gae,_ae)):(D(),V("span",hae,[fae,Ye("Ping! ")]))]),_:1})],8,dae)]),g("div",yae,[B(Rt,{name:"ping"},{default:Re(()=>[this.pingResult?(D(),V("div",wae,[this.pingResult.geo&&this.pingResult.geo.status==="success"?(D(),Ce(a,{key:0,d:this.pingResult},null,8,["d"])):ce("",!0),g("div",xae,[g("div",Eae,[g("div",Sae,[g("p",Cae,[g("small",null,[B(o,{t:"IP Address"})])]),Ye(" "+xe(this.pingResult.address),1)]),this.pingResult.geo&&this.pingResult.geo.status==="success"?(D(),V("div",Tae,[g("p",kae,[g("small",null,[B(o,{t:"Geolocation"})])]),Ye(" "+xe(this.pingResult.geo.city)+", "+xe(this.pingResult.geo.country),1)])):ce("",!0)])]),g("div",Aae,[g("div",Mae,[Iae,g("span",{class:Me([this.pingResult.is_alive?"text-success":"text-danger"])},[g("i",{class:Me(["bi me-1",[this.pingResult.is_alive?"bi-check-circle-fill":"bi-x-circle-fill"]])},null,2),Ye(" "+xe(this.pingResult.is_alive?"Yes":"No"),1)],2)])]),g("div",Pae,[g("div",Rae,[g("p",Dae,[g("small",null,[B(o,{t:"Average / Min / Max Round Trip Time"})])]),g("samp",null,xe(this.pingResult.avg_rtt)+"ms / "+xe(this.pingResult.min_rtt)+"ms / "+xe(this.pingResult.max_rtt)+"ms ",1)])]),g("div",$ae,[g("div",Lae,[g("p",Oae,[g("small",null,[B(o,{t:"Sent / Received / Lost Package"})])]),g("samp",null,xe(this.pingResult.package_sent)+" / "+xe(this.pingResult.package_received)+" / "+xe(this.pingResult.package_loss),1)])])])):(D(),V("div",vae,[bae,(D(),V($e,null,Xe(4,l=>g("div",{class:Me(["pingPlaceholder bg-body-secondary rounded-3 mb-3",{"animate__animated animate__flash animate__slower animate__infinite":this.pinging}]),style:Mn({"animation-delay":`${l*.15}s`})},null,6)),64))]))]),_:1})])])])])}const Fae=He($oe,[["render",Nae],["__scopeId","data-v-f5cd36ce"]]),Bae={name:"traceroute",components:{LocaleText:Qe,OSMap:sA},data(){return{tracing:!1,ipAddress:void 0,tracerouteResult:void 0}},setup(){return{store:vi()}},methods:{execute(){this.ipAddress&&(this.tracing=!0,this.tracerouteResult=void 0,Vt("/api/traceroute/execute",{ipAddress:this.ipAddress},t=>{t.status?this.tracerouteResult=t.data:this.store.newMessage("Server",t.message,"danger"),this.tracing=!1}))}}},Jl=t=>(bn("data-v-d80ce3c9"),t=t(),wn(),t),Vae={class:"mt-md-5 mt-3 text-body"},zae={class:"container-md"},Wae=Jl(()=>g("h3",{class:"mb-3 text-body"},"Traceroute",-1)),Hae={class:"d-flex gap-2 flex-column mb-5"},Yae={class:"mb-1 text-muted",for:"ipAddress"},jae=["disabled"],Kae=["disabled"],Uae={key:0,class:"d-block"},Gae=Jl(()=>g("i",{class:"bi bi-person-walking me-2"},null,-1)),Xae={key:1,class:"d-block"},qae=Jl(()=>g("span",{class:"spinner-border spinner-border-sm","aria-hidden":"true"},null,-1)),Zae=Jl(()=>g("span",{class:"visually-hidden",role:"status"},"Loading...",-1)),Jae=[qae,Zae],Qae={class:"position-relative"},ele={key:"pingPlaceholder"},tle=Jl(()=>g("div",{class:"pingPlaceholder bg-body-secondary rounded-3 mb-3",style:{height:"300px !important"}},null,-1)),nle={key:1},ile={key:"table",class:"w-100 mt-2"},sle={class:"table table-sm rounded-3 w-100"},rle=Jl(()=>g("thead",null,[g("tr",null,[g("th",{scope:"col"},"Hop"),g("th",{scope:"col"},"IP Address"),g("th",{scope:"col"},"Average RTT (ms)"),g("th",{scope:"col"},"Min RTT (ms)"),g("th",{scope:"col"},"Max RTT (ms)"),g("th",{scope:"col"},"Geolocation")])],-1)),ole={key:0};function ale(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("OSMap");return D(),V("div",Vae,[g("div",zae,[Wae,g("div",Hae,[g("div",null,[g("label",Yae,[g("small",null,[B(o,{t:"Enter IP Address / Hostname"})])]),Oe(g("input",{disabled:this.tracing,id:"ipAddress",class:"form-control","onUpdate:modelValue":e[0]||(e[0]=l=>this.ipAddress=l),onKeyup:e[1]||(e[1]=eS(l=>this.execute(),["enter"])),type:"text"},null,40,jae),[[Ke,this.ipAddress]])]),g("button",{class:"btn btn-primary rounded-3 mt-3 position-relative",disabled:this.tracing||!this.ipAddress,onClick:e[2]||(e[2]=l=>this.execute())},[B(Rt,{name:"slide"},{default:Re(()=>[this.tracing?(D(),V("span",Xae,Jae)):(D(),V("span",Uae,[Gae,Ye("Trace! ")]))]),_:1})],8,Kae)]),g("div",Qae,[B(Rt,{name:"ping"},{default:Re(()=>[this.tracerouteResult?(D(),V("div",nle,[B(a,{d:this.tracerouteResult,type:"traceroute"},null,8,["d"]),g("div",ile,[g("table",sle,[rle,g("tbody",null,[(D(!0),V($e,null,Xe(this.tracerouteResult,(l,c)=>(D(),V("tr",null,[g("td",null,[g("small",null,xe(l.hop),1)]),g("td",null,[g("small",null,xe(l.ip),1)]),g("td",null,[g("small",null,xe(l.avg_rtt),1)]),g("td",null,[g("small",null,xe(l.min_rtt),1)]),g("td",null,[g("small",null,xe(l.max_rtt),1)]),g("td",null,[l.geo.city&&l.geo.country?(D(),V("span",ole,[g("small",null,xe(l.geo.city)+", "+xe(l.geo.country),1)])):ce("",!0)])]))),256))])])])])):(D(),V("div",ele,[tle,(D(),V($e,null,Xe(5,l=>g("div",{class:Me(["pingPlaceholder bg-body-secondary rounded-3 mb-3",{"animate__animated animate__flash animate__slower animate__infinite":this.tracing}]),style:Mn({"animation-delay":`${l*.05}s`})},null,6)),64))]))]),_:1})])])])}const lle=He(Bae,[["render",ale],["__scopeId","data-v-d80ce3c9"]]),cle={name:"totp",components:{LocaleText:Qe},async setup(){const t=nt();let e="";return await Vt("/api/Welcome_GetTotpLink",{},n=>{n.status&&(e=n.data)}),{l:e,store:t}},mounted(){this.l&&va.toCanvas(document.getElementById("qrcode"),this.l,function(t){})},data(){return{totp:"",totpInvalidMessage:"",verified:!1}},methods:{validateTotp(){}},watch:{totp(t){const e=document.querySelector("#totp");e.classList.remove("is-invalid","is-valid"),t.length===6&&(console.log(t),/[0-9]{6}/.test(t)?kt("/api/Welcome_VerifyTotpLink",{totp:t},n=>{n.status?(this.verified=!0,e.classList.add("is-valid"),this.$emit("verified")):(e.classList.add("is-invalid"),this.totpInvalidMessage="TOTP does not match.")}):(e.classList.add("is-invalid"),this.totpInvalidMessage="TOTP can only contain numbers"))}}},ule=["data-bs-theme"],dle={class:"m-auto text-body",style:{width:"500px"}},hle={class:"d-flex flex-column"},fle={class:"dashboardLogo display-4"},gle={class:"mb-2"},ple={class:"text-muted"},mle=g("canvas",{id:"qrcode",class:"rounded-3 mb-2"},null,-1),_le={class:"p-3 bg-body-secondary rounded-3 border mb-3"},yle={class:"text-muted mb-0"},vle=["href"],ble={style:{"line-break":"anywhere"}},wle={for:"totp",class:"mb-2"},xle={class:"text-muted"},Ele={class:"form-group mb-2"},Sle=["disabled"],Cle={class:"invalid-feedback"},Tle={class:"valid-feedback"},kle=g("hr",null,null,-1),Ale={class:"d-flex gap-3 mt-5 flex-column"},Mle=g("i",{class:"bi bi-chevron-right ms-auto"},null,-1),Ile=g("i",{class:"bi bi-chevron-right ms-auto"},null,-1);function Ple(t,e,n,i,s,r){const o=Se("LocaleText"),a=Se("RouterLink");return D(),V("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.store.Configuration.Server.dashboard_theme},[g("div",dle,[g("div",hle,[g("div",null,[g("h1",fle,[B(o,{t:"Multi-Factor Authentication (MFA)"})]),g("p",gle,[g("small",ple,[B(o,{t:"1. Please scan the following QR Code to generate TOTP with your choice of authenticator"})])]),mle,g("div",_le,[g("p",yle,[g("small",null,[B(o,{t:"Or you can click the link below:"})])]),g("a",{href:this.l},[g("code",ble,xe(this.l),1)],8,vle)]),g("label",wle,[g("small",xle,[B(o,{t:"2. Enter the TOTP generated by your authenticator to verify"})])]),g("div",Ele,[Oe(g("input",{class:"form-control text-center totp",id:"totp",maxlength:"6",type:"text",inputmode:"numeric",autocomplete:"one-time-code","onUpdate:modelValue":e[0]||(e[0]=l=>this.totp=l),disabled:this.verified},null,8,Sle),[[Ke,this.totp]]),g("div",Cle,[B(o,{t:this.totpInvalidMessage},null,8,["t"])]),g("div",Tle,[B(o,{t:"TOTP verified!"})])])]),kle,g("div",Ale,[this.verified?(D(),Ce(a,{key:1,to:"/",class:"btn btn-dark btn-lg d-flex btn-brand shadow align-items-center flex-grow-1 rounded-3"},{default:Re(()=>[B(o,{t:"Complete"}),Ile]),_:1})):(D(),Ce(a,{key:0,to:"/",class:"btn bg-secondary-subtle text-secondary-emphasis rounded-3 flex-grow-1 btn-lg border-1 border-secondary-subtle shadow d-flex"},{default:Re(()=>[B(o,{t:"I don't need MFA"}),Mle]),_:1}))])])])],8,ule)}const Rle=He(cle,[["render",Ple]]),Dle={name:"share",components:{LocaleText:Qe},async setup(){const t=iL(),e=we(!1),n=nt(),i=we(""),s=we(void 0),r=we(new Blob);await Vt("/api/getDashboardTheme",{},a=>{i.value=a.data});const o=t.query.ShareID;return o===void 0||o.length===0?(s.value=void 0,e.value=!0):await Vt("/api/sharePeer/get",{ShareID:o},a=>{a.status?(s.value=a.data,r.value=new Blob([s.value.file],{type:"text/plain"})):s.value=void 0,e.value=!0}),{store:n,theme:i,peerConfiguration:s,blob:r}},mounted(){this.peerConfiguration&&va.toCanvas(document.querySelector("#qrcode"),this.peerConfiguration.file,t=>{t&&console.error(t)})},methods:{download(){const t=new Blob([this.peerConfiguration.file],{type:"text/plain"}),e=URL.createObjectURL(t),n=`${this.peerConfiguration.fileName}.conf`,i=document.createElement("a");i.href=e,i.download=n,i.click()}},computed:{getBlob(){return URL.createObjectURL(this.blob)}}},ng=t=>(bn("data-v-1b44aacd"),t=t(),wn(),t),$le=["data-bs-theme"],Lle={class:"m-auto text-body",style:{width:"500px"}},Ole={key:0,class:"text-center position-relative",style:{}},Nle=ng(()=>g("div",{class:"animate__animated animate__fadeInUp"},[g("h1",{style:{"font-size":"20rem",filter:"blur(1rem)","animation-duration":"7s"},class:"animate__animated animate__flash animate__infinite"},[g("i",{class:"bi bi-file-binary"})])],-1)),Fle={class:"position-absolute w-100 h-100 top-0 start-0 d-flex animate__animated animate__fadeInUp",style:{"animation-delay":"0.1s"}},Ble={class:"m-auto"},Vle={key:1,class:"d-flex align-items-center flex-column gap-3"},zle={class:"h1 dashboardLogo text-center animate__animated animate__fadeInUp"},Wle=ng(()=>g("h6",null,"WGDashboard",-1)),Hle={id:"qrcode",class:"rounded-3 shadow animate__animated animate__fadeInUp mb-3",ref:"qrcode"},Yle={class:"text-muted animate__animated animate__fadeInUp mb-1",style:{"animation-delay":"0.2s"}},jle=ng(()=>g("samp",null,".conf",-1)),Kle=["download","href"],Ule=ng(()=>g("i",{class:"bi bi-download"},null,-1)),Gle=[Ule];function Xle(t,e,n,i,s,r){const o=Se("LocaleText");return D(),V("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.theme},[g("div",Lle,[this.peerConfiguration?(D(),V("div",Vle,[g("div",zle,[Wle,B(o,{t:"Scan QR Code with the WireGuard App to add peer"})]),g("canvas",Hle,null,512),g("p",Yle,[B(o,{t:"or click the button below to download the "}),jle,B(o,{t:" file"})]),g("a",{download:this.peerConfiguration.fileName+".conf",href:r.getBlob,class:"btn btn-lg bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle animate__animated animate__fadeInUp shadow-sm",style:{"animation-delay":"0.25s"}},Gle,8,Kle)])):(D(),V("div",Ole,[Nle,g("div",Fle,[g("h3",Ble,[B(o,{t:"Oh no... This link is either expired or invalid."})])])]))])],8,$le)}const qle=He(Dle,[["render",Xle],["__scopeId","data-v-1b44aacd"]]),Zle=async()=>{let t=!1;return await Vt("/api/validateAuthentication",{},e=>{t=e.status}),t},Ju=tL({history:y$(),routes:[{name:"Index",path:"/",component:tO,meta:{requiresAuth:!0},children:[{name:"Configuration List",path:"",component:qN,meta:{title:"WireGuard Configurations"}},{name:"Settings",path:"/settings",component:Pz,meta:{title:"Settings"}},{path:"/ping",name:"Ping",component:Fae},{path:"/traceroute",name:"Traceroute",component:lle},{name:"New Configuration",path:"/new_configuration",component:g8,meta:{title:"New Configuration"}},{name:"Configuration",path:"/configuration/:id",component:y8,meta:{title:"Configuration"},children:[{name:"Peers List",path:"peers",component:Nte},{name:"Peers Create",path:"create",component:WT}]}]},{path:"/signin",component:fN,meta:{title:"Sign In"}},{path:"/welcome",component:Jz,meta:{requiresAuth:!0,title:"Welcome to WGDashboard"}},{path:"/2FASetup",component:Rle,meta:{requiresAuth:!0,title:"Multi-Factor Authentication Setup"}},{path:"/share",component:qle,meta:{title:"Share"}}]});Ju.beforeEach(async(t,e,n)=>{const i=vi(),s=nt();t.meta.title?t.params.id?document.title=t.params.id+" | WGDashboard":document.title=t.meta.title+" | WGDashboard":document.title="WGDashboard",s.ShowNavBar=!1,t.meta.requiresAuth?s.getActiveCrossServer()?(await s.getConfiguration(),!i.Configurations&&t.name!=="Configuration List"&&await i.getConfigurations(),n()):sL.getCookie("authToken")&&await Zle()?(await s.getConfiguration(),!i.Configurations&&t.name!=="Configuration List"&&await i.getConfigurations(),s.Redirect=void 0,n()):(s.Redirect=t,n("/signin"),s.newMessage("WGDashboard","Sign in session ended, please sign in again","warning")):n()});const rA=()=>{let t={"content-type":"application/json"};const n=nt().getActiveCrossServer();return n&&(t["wg-dashboard-apikey"]=n.apiKey),t},oA=t=>{const n=nt().getActiveCrossServer();return n?`${n.host}${t}`:`${window.location.protocol}//${(window.location.host+window.location.pathname+t).replace(/\/\//g,"/")}`},Vt=async(t,e=void 0,n=void 0)=>{const i=new URLSearchParams(e);await fetch(`${oA(t)}?${i.toString()}`,{headers:rA()}).then(s=>{const r=nt();if(s.ok)return s.json();if(s.status!==200)throw s.status===401&&r.newMessage("WGDashboard","Sign in session ended, please sign in again","warning"),new Error(s.statusText)}).then(s=>n?n(s):void 0).catch(s=>{console.log(s),Ju.push({path:"/signin"})})},kt=async(t,e,n)=>{await fetch(`${oA(t)}`,{headers:rA(),method:"POST",body:JSON.stringify(e)}).then(i=>{const s=nt();if(i.ok)return i.json();if(i.status!==200)throw i.status===401&&s.newMessage("WGDashboard","Sign in session ended, please sign in again","warning"),new Error(i.statusText)}).then(i=>n?n(i):void 0).catch(i=>{console.log(i),Ju.push({path:"/signin"})})},nt=x_("DashboardConfigurationStore",{state:()=>({Redirect:void 0,Configuration:void 0,Messages:[],Peers:{Selecting:!1,RefreshInterval:void 0},CrossServerConfiguration:{Enable:!1,ServerList:{}},ActiveServerConfiguration:void 0,IsElectronApp:!1,ShowNavBar:!1,Locale:void 0}),actions:{initCrossServerConfiguration(){const t=localStorage.getItem("CrossServerConfiguration");localStorage.getItem("ActiveCrossServerConfiguration")!==null&&(this.ActiveServerConfiguration=localStorage.getItem("ActiveCrossServerConfiguration")),t===null?window.localStorage.setItem("CrossServerConfiguration",JSON.stringify(this.CrossServerConfiguration)):this.CrossServerConfiguration=JSON.parse(t)},syncCrossServerConfiguration(){window.localStorage.setItem("CrossServerConfiguration",JSON.stringify(this.CrossServerConfiguration))},addCrossServerConfiguration(){this.CrossServerConfiguration.ServerList[Os().toString()]={host:"",apiKey:"",active:!1}},deleteCrossServerConfiguration(t){delete this.CrossServerConfiguration.ServerList[t]},getActiveCrossServer(){const t=localStorage.getItem("ActiveCrossServerConfiguration");if(t!==null)return this.CrossServerConfiguration.ServerList[t]},setActiveCrossServer(t){this.ActiveServerConfiguration=t,localStorage.setItem("ActiveCrossServerConfiguration",t)},removeActiveCrossServer(){this.ActiveServerConfiguration=void 0,localStorage.removeItem("ActiveCrossServerConfiguration")},async getConfiguration(){await Vt("/api/getDashboardConfiguration",{},t=>{t.status&&(this.Configuration=t.data)})},async signOut(){await Vt("/api/signout",{},t=>{this.removeActiveCrossServer(),this.$router.go("/signin")})},newMessage(t,e,n){this.Messages.push({id:Os(),from:Tt(t),content:Tt(e),type:n,show:!0})},applyLocale(t){if(this.Locale===null)return t;const n=Object.keys(this.Locale).filter(i=>t.match(new RegExp("^"+i+"$","g"))!==null);return console.log(n),n.length===0||n.length>1?t:this.Locale[n[0]]}}}),s0=t=>(bn("data-v-822f113b"),t=t(),wn(),t),Jle={class:"navbar bg-dark sticky-top","data-bs-theme":"dark"},Qle={class:"container-fluid d-flex text-body align-items-center"},ece=s0(()=>g("span",{class:"navbar-brand mb-0 h1"},"WGDashboard",-1)),tce={key:0,class:"ms-auto text-muted"},nce=s0(()=>g("i",{class:"bi bi-server me-2"},null,-1)),ice=s0(()=>g("i",{class:"bi bi-list"},null,-1)),sce=[ice],rce={__name:"App",setup(t){const e=nt();e.initCrossServerConfiguration(),window.IS_WGDASHBOARD_DESKTOP&&(e.IsElectronApp=!0,e.CrossServerConfiguration.Enable=!0),fn(e.CrossServerConfiguration,()=>{e.syncCrossServerConfiguration()},{deep:!0});const n=be(()=>{if(e.ActiveServerConfiguration)return e.CrossServerConfiguration.ServerList[e.ActiveServerConfiguration]});return(i,s)=>(D(),V($e,null,[g("nav",Jle,[g("div",Qle,[ece,n.value!==void 0?(D(),V("small",tce,[nce,Ye(xe(n.value.host),1)])):ce("",!0),g("a",{role:"button",class:"navbarBtn text-body",onClick:s[0]||(s[0]=r=>Q(e).ShowNavBar=!Q(e).ShowNavBar),style:{"line-height":"0","font-size":"2rem"}},sce)])]),(D(),Ce(f_,null,{default:Re(()=>[B(Q(mS),null,{default:Re(({Component:r})=>[B(Rt,{name:"app",mode:"out-in"},{default:Re(()=>[(D(),Ce(ga(r)))]),_:2},1024)]),_:1})]),_:1}))],64))}},oce=He(rce,[["__scopeId","data-v-822f113b"]]);let aA;await fetch("/api/locale").then(t=>t.json()).then(t=>aA=t.data);const r0=YD(oce);r0.use(Ju);const lA=GD();lA.use(({store:t})=>{t.$router=sf(Ju)});r0.use(lA);const ace=nt();ace.Locale=aA;r0.mount("#app"); diff --git a/src/static/app/package-lock.json b/src/static/app/package-lock.json index dc773bd..4a8df27 100644 --- a/src/static/app/package-lock.json +++ b/src/static/app/package-lock.json @@ -1,12 +1,12 @@ { "name": "app", - "version": "4.0.2", + "version": "4.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "app", - "version": "4.0.2", + "version": "4.1.0", "dependencies": { "@vuepic/vue-datepicker": "^9.0.1", "@vueuse/core": "^10.9.0", @@ -21,6 +21,7 @@ "i": "^0.3.7", "is-cidr": "^5.0.3", "npm": "^10.5.0", + "ol": "^10.2.1", "pinia": "^2.1.7", "qrcode": "^1.5.3", "qrcodejs": "^1.0.0", @@ -723,6 +724,11 @@ "node": ">=10" } }, + "node_modules/@petamoriken/float16": { + "version": "3.8.7", + "resolved": "https://registry.npmmirror.com/@petamoriken/float16/-/float16-3.8.7.tgz", + "integrity": "sha512-/Ri4xDDpe12NT6Ex/DRgHzLlobiQXEW/hmG08w1wj/YU7hLemk97c+zHQFp0iZQ9r7YqgLEXZR2sls4HxBf9NA==" + }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", @@ -964,6 +970,11 @@ "xmlbuilder": ">=11.0.1" } }, + "node_modules/@types/rbush": { + "version": "3.0.3", + "resolved": "https://registry.npmmirror.com/@types/rbush/-/rbush-3.0.3.tgz", + "integrity": "sha512-lX55lR0iYCgapxD3IrgujpQA1zDxwZI5qMRelKvmKAsSMplFVr7wmMpG7/6+Op2tjrgEex8o3vjg8CRDrRNYxg==" + }, "node_modules/@types/verror": { "version": "1.10.10", "resolved": "https://registry.npmjs.org/@types/verror/-/verror-1.10.10.tgz", @@ -1717,6 +1728,36 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, + "node_modules/color-parse": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/color-parse/-/color-parse-2.0.2.tgz", + "integrity": "sha512-eCtOz5w5ttWIUcaKLiktF+DxZO1R9KLNY/xhbV6CkhM7sR3GhVghmt6X6yOnzeaM24po+Z9/S1apbXMwA3Iepw==", + "dependencies": { + "color-name": "^2.0.0" + } + }, + "node_modules/color-parse/node_modules/color-name": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/color-name/-/color-name-2.0.0.tgz", + "integrity": "sha512-SbtvAMWvASO5TE2QP07jHBMXKafgdZz8Vrsrn96fiL+O92/FN/PLARzUW5sKt013fjAprK2d2iCn2hk2Xb5oow==", + "engines": { + "node": ">=12.20" + } + }, + "node_modules/color-rgba": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/color-rgba/-/color-rgba-3.0.0.tgz", + "integrity": "sha512-PPwZYkEY3M2THEHHV6Y95sGUie77S7X8v+h1r6LSAPF3/LL2xJ8duUXSrkic31Nzc4odPwHgUbiX/XuTYzQHQg==", + "dependencies": { + "color-parse": "^2.0.0", + "color-space": "^2.0.0" + } + }, + "node_modules/color-space": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/color-space/-/color-space-2.0.1.tgz", + "integrity": "sha512-nKqUYlo0vZATVOFHY810BSYjmCARrG7e5R3UE3CQlyjJTvv5kSSmPG1kzm/oDyyqjehM+lW1RnEt9It9GNa5JA==" + }, "node_modules/combined-stream": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", @@ -2005,6 +2046,11 @@ "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-5.1.0.tgz", "integrity": "sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==" }, + "node_modules/earcut": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/earcut/-/earcut-3.0.0.tgz", + "integrity": "sha512-41Fs7Q/PLq1SDbqjsgcY7GA42T0jvaCNGXgGtsNdvg+Yv8eIu06bxv4/PoREkZ9nMDNwnUSG9OFB9+yv8eKhDg==" + }, "node_modules/eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", @@ -2358,6 +2404,24 @@ "node": ">=10" } }, + "node_modules/geotiff": { + "version": "2.1.3", + "resolved": "https://registry.npmmirror.com/geotiff/-/geotiff-2.1.3.tgz", + "integrity": "sha512-PT6uoF5a1+kbC3tHmZSUsLHBp2QJlHasxxxxPW47QIY1VBKpFB+FcDvX+MxER6UzgLQZ0xDzJ9s48B9JbOCTqA==", + "dependencies": { + "@petamoriken/float16": "^3.4.7", + "lerc": "^3.0.0", + "pako": "^2.0.4", + "parse-headers": "^2.0.2", + "quick-lru": "^6.1.1", + "web-worker": "^1.2.0", + "xml-utils": "^1.0.2", + "zstddec": "^0.1.0" + }, + "engines": { + "node": ">=10.19" + } + }, "node_modules/get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", @@ -2731,6 +2795,11 @@ "safe-buffer": "~5.1.0" } }, + "node_modules/lerc": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/lerc/-/lerc-3.0.0.tgz", + "integrity": "sha512-Rm4J/WaHhRa93nCN2mwWDZFoRVF18G1f47C+kvQWyHGEZxFpTUi73p7lMVSAndyxGt6lJ2/CFbOcf9ra5p8aww==" + }, "node_modules/locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", @@ -5476,6 +5545,24 @@ "inBundle": true, "license": "ISC" }, + "node_modules/ol": { + "version": "10.2.1", + "resolved": "https://registry.npmmirror.com/ol/-/ol-10.2.1.tgz", + "integrity": "sha512-2bB/y2vEnmzjqynP0NA7Cp8k86No3Psn63Dueicep3E3i09axWRVIG5IS/bylEAGfWQx0QXD/uljkyFoY60Wig==", + "dependencies": { + "@types/rbush": "3.0.3", + "color-rgba": "^3.0.0", + "color-space": "^2.0.1", + "earcut": "^3.0.0", + "geotiff": "^2.0.7", + "pbf": "4.0.1", + "rbush": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/openlayers" + } + }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -5522,6 +5609,16 @@ "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz", "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==" }, + "node_modules/pako": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/pako/-/pako-2.1.0.tgz", + "integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==" + }, + "node_modules/parse-headers": { + "version": "2.0.5", + "resolved": "https://registry.npmmirror.com/parse-headers/-/parse-headers-2.0.5.tgz", + "integrity": "sha512-ft3iAoLOB/MlwbNXgzy43SWGP6sQki2jQvAyBg/zDFAgr9bfNWZIUj42Kw2eJIl8kEi4PbgE6U1Zau/HwI75HA==" + }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", @@ -5566,6 +5663,17 @@ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" }, + "node_modules/pbf": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/pbf/-/pbf-4.0.1.tgz", + "integrity": "sha512-SuLdBvS42z33m8ejRbInMapQe8n0D3vN/Xd5fmWM3tufNgRQFBpaW2YVJxQZV4iPNqb0vEFvssMEo5w9c6BTIA==", + "dependencies": { + "resolve-protobuf-schema": "^2.1.0" + }, + "bin": { + "pbf": "bin/pbf" + } + }, "node_modules/picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", @@ -5687,6 +5795,11 @@ "node": ">=10" } }, + "node_modules/protocol-buffers-schema": { + "version": "3.6.0", + "resolved": "https://registry.npmmirror.com/protocol-buffers-schema/-/protocol-buffers-schema-3.6.0.tgz", + "integrity": "sha512-TdDRD+/QNdrCGCE7v8340QyuXd4kIWIgapsE2+n/SaGiSSbomYl4TjHlvIoCWRpE7wFt02EpB35VVA2ImcBVqw==" + }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", @@ -5717,6 +5830,30 @@ "resolved": "https://registry.npmjs.org/qrcodejs/-/qrcodejs-1.0.0.tgz", "integrity": "sha512-67rj3mMBhSBepaD57qENnltO+r8rSYlqM7HGThks/BiyDAkc86sLvkKqjkqPS5v13f7tvnt6dbEf3qt7zq+BCg==" }, + "node_modules/quick-lru": { + "version": "6.1.2", + "resolved": "https://registry.npmmirror.com/quick-lru/-/quick-lru-6.1.2.tgz", + "integrity": "sha512-AAFUA5O1d83pIHEhJwWCq/RQcRukCkn/NSm2QsTEMle5f2hP0ChI2+3Xb051PZCkLryI/Ir1MVKviT2FIloaTQ==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/quickselect": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/quickselect/-/quickselect-3.0.0.tgz", + "integrity": "sha512-XdjUArbK4Bm5fLLvlm5KpTFOiOThgfWWI4axAZDWg4E/0mKdZyI9tNEfds27qCi1ze/vwTR16kvmmGhRra3c2g==" + }, + "node_modules/rbush": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/rbush/-/rbush-4.0.1.tgz", + "integrity": "sha512-IP0UpfeWQujYC8Jg162rMNc01Rf0gWMMAb2Uxus/Q0qOFw4lCcq6ZnQEZwUoJqWyUGJ9th7JjwI4yIWo+uvoAQ==", + "dependencies": { + "quickselect": "^3.0.0" + } + }, "node_modules/read-config-file": { "version": "6.3.2", "resolved": "https://registry.npmjs.org/read-config-file/-/read-config-file-6.3.2.tgz", @@ -5769,6 +5906,14 @@ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" }, + "node_modules/resolve-protobuf-schema": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/resolve-protobuf-schema/-/resolve-protobuf-schema-2.1.0.tgz", + "integrity": "sha512-kI5ffTiZWmJaS/huM8wZfEMer1eRd7oJQhDuxeCLe3t7N7mX3z94CN0xPxBQxFYQTSNz9T0i+v6inKqSdK8xrQ==", + "dependencies": { + "protocol-buffers-schema": "^3.3.1" + } + }, "node_modules/retry": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", @@ -6264,6 +6409,11 @@ "vue": "^3.2.0" } }, + "node_modules/web-worker": { + "version": "1.3.0", + "resolved": "https://registry.npmmirror.com/web-worker/-/web-worker-1.3.0.tgz", + "integrity": "sha512-BSR9wyRsy/KOValMgd5kMyr3JzpdeoR9KVId8u5GVlTTAtNChlsE4yTxeY7zMdNSyOmoKBv8NH2qeRY9Tg+IaA==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -6318,6 +6468,11 @@ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, + "node_modules/xml-utils": { + "version": "1.10.1", + "resolved": "https://registry.npmmirror.com/xml-utils/-/xml-utils-1.10.1.tgz", + "integrity": "sha512-Dn6vJ1Z9v1tepSjvnCpwk5QqwIPcEFKdgnjqfYOABv1ngSofuAhtlugcUC3ehS1OHdgDWSG6C5mvj+Qm15udTQ==" + }, "node_modules/xmlbuilder": { "version": "15.1.1", "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-15.1.1.tgz", @@ -6403,6 +6558,11 @@ "engines": { "node": ">= 10" } + }, + "node_modules/zstddec": { + "version": "0.1.0", + "resolved": "https://registry.npmmirror.com/zstddec/-/zstddec-0.1.0.tgz", + "integrity": "sha512-w2NTI8+3l3eeltKAdK8QpiLo/flRAr2p8AGeakfMZOXBxOg9HIu4LVDxBi81sYgVhFhdJjv1OrB5ssI8uFPoLg==" } } } diff --git a/src/static/app/package.json b/src/static/app/package.json index 95e0531..984bed3 100644 --- a/src/static/app/package.json +++ b/src/static/app/package.json @@ -23,6 +23,7 @@ "i": "^0.3.7", "is-cidr": "^5.0.3", "npm": "^10.5.0", + "ol": "^10.2.1", "pinia": "^2.1.7", "qrcode": "^1.5.3", "qrcodejs": "^1.0.0", diff --git a/src/static/app/src/components/configurationComponents/newPeersComponents/mtuInput.vue b/src/static/app/src/components/configurationComponents/newPeersComponents/mtuInput.vue index 647a3bf..d3832fa 100644 --- a/src/static/app/src/components/configurationComponents/newPeersComponents/mtuInput.vue +++ b/src/static/app/src/components/configurationComponents/newPeersComponents/mtuInput.vue @@ -19,6 +19,7 @@ export default { diff --git a/src/static/app/src/components/configurationComponents/peerCreate.vue b/src/static/app/src/components/configurationComponents/peerCreate.vue index 1b1d3a3..a3c2cad 100644 --- a/src/static/app/src/components/configurationComponents/peerCreate.vue +++ b/src/static/app/src/components/configurationComponents/peerCreate.vue @@ -26,7 +26,7 @@ export default { return{ data: { bulkAdd: false, - bulkAddAmount: "", + bulkAddAmount: 0, name: "", allowed_ips: [], private_key: "", diff --git a/src/static/app/src/components/map/osmap.vue b/src/static/app/src/components/map/osmap.vue new file mode 100644 index 0000000..45083b0 --- /dev/null +++ b/src/static/app/src/components/map/osmap.vue @@ -0,0 +1,145 @@ + + + + + \ No newline at end of file diff --git a/src/static/app/src/components/settingsComponent/accountSettingsInputUsername.vue b/src/static/app/src/components/settingsComponent/accountSettingsInputUsername.vue index 63b7e92..bca37f0 100644 --- a/src/static/app/src/components/settingsComponent/accountSettingsInputUsername.vue +++ b/src/static/app/src/components/settingsComponent/accountSettingsInputUsername.vue @@ -31,7 +31,8 @@ export default { this.value = this.store.Configuration.Account[this.targetData]; }, methods:{ - async useValidation(){ + async useValidation(e){ + if (this.changed){ this.updating = true await fetchPost("/api/updateDashboardConfigurationItem", { diff --git a/src/static/app/src/components/settingsComponent/dashboardIPPortInput.vue b/src/static/app/src/components/settingsComponent/dashboardIPPortInput.vue new file mode 100644 index 0000000..87d8982 --- /dev/null +++ b/src/static/app/src/components/settingsComponent/dashboardIPPortInput.vue @@ -0,0 +1,116 @@ + + + + + \ No newline at end of file diff --git a/src/static/app/src/components/settingsComponent/dashboardLanguage.vue b/src/static/app/src/components/settingsComponent/dashboardLanguage.vue index ce7aff3..f721919 100644 --- a/src/static/app/src/components/settingsComponent/dashboardLanguage.vue +++ b/src/static/app/src/components/settingsComponent/dashboardLanguage.vue @@ -59,7 +59,7 @@ export default { -