From a0af26421a2da241f535a4cc13f50c6375818552 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 17 Jan 2024 14:45:00 +0100 Subject: [PATCH] build dist files --- fittrackee/dist/index.html | 4 ++-- .../static/css/{index-PPVfBuiJ.css => index-ZuVoSwX6.css} | 2 +- .../dist/static/{index-GyLsc4kt.js => index-jLnCD5KK.js} | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename fittrackee/dist/static/css/{index-PPVfBuiJ.css => index-ZuVoSwX6.css} (75%) rename fittrackee/dist/static/{index-GyLsc4kt.js => index-jLnCD5KK.js} (97%) diff --git a/fittrackee/dist/index.html b/fittrackee/dist/index.html index 4db3b4ed..c0fad435 100644 --- a/fittrackee/dist/index.html +++ b/fittrackee/dist/index.html @@ -7,11 +7,11 @@ FitTrackee - + - +
diff --git a/fittrackee/dist/static/css/index-PPVfBuiJ.css b/fittrackee/dist/static/css/index-ZuVoSwX6.css similarity index 75% rename from fittrackee/dist/static/css/index-PPVfBuiJ.css rename to fittrackee/dist/static/css/index-ZuVoSwX6.css index 91826e02..7b7ceb2f 100644 --- a/fittrackee/dist/static/css/index-PPVfBuiJ.css +++ b/fittrackee/dist/static/css/index-ZuVoSwX6.css @@ -1 +1 @@ -@charset "UTF-8";#footer[data-v-7bc410b7]{display:flex;bottom:0;position:fixed;width:100%;background:var(--footer-background-color);color:var(--footer-color);font-size:.9em}#footer .footer-items[data-v-7bc410b7]{display:flex;flex-wrap:wrap;align-content:center;justify-content:center;width:100%}#footer .footer-items .footer-item[data-v-7bc410b7]{padding:10px;border-top:solid 1px var(--footer-border-color);text-align:center}@media screen and (max-width: 500px){#footer .footer-items[data-v-7bc410b7]{border-top:solid 1px var(--footer-border-color);font-size:.85em;padding:0 0 2px}#footer .footer-items .footer-item[data-v-7bc410b7]{border-top:none;padding:1px 5px}#footer .footer-items .bullet[data-v-7bc410b7]{padding:1px 0}}.user-picture{display:flex;justify-content:center;align-items:center;min-width:30%;line-height:1.2em}.user-picture img{border-radius:50%;height:90px;width:90px}.user-picture .no-picture{color:var(--app-a-color);font-size:5.5em}@font-face{font-family:PT Sans;font-style:normal;font-weight:400;src:url(/static/fonts/pt-sans-v9-latin-regular-T9JcUGms.eot);src:local("PT Sans"),local("PTSans-Regular"),url(/static/fonts/pt-sans-v9-latin-regular-T9JcUGms.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-regular-45aO1uf0.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-regular-IXe2Axuj.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-regular-pqSZZJmj.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-regular-21U27O2x.svg#PTSans) format("svg")}@font-face{font-family:PT Sans;font-style:italic;font-weight:400;src:url(/static/fonts/pt-sans-v9-latin-italic-4DDtZWYF.eot);src:local("PT Sans Italic"),local("PTSans-Italic"),url(/static/fonts/pt-sans-v9-latin-italic-4DDtZWYF.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-italic-1FTPleHH.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-italic-DwGwmXuQ.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-italic-I2gXY_1s.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-italic-YH_Gnq5o.svg#PTSans) format("svg")}@font-face{font-family:PT Sans;font-style:normal;font-weight:700;src:url(/static/fonts/pt-sans-v9-latin-700-skEWD7W_.eot);src:local("PT Sans Bold"),local("PTSans-Bold"),url(/static/fonts/pt-sans-v9-latin-700-skEWD7W_.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-700-BC8QGIrG.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-700-tcZ3J-O8.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-700-TR0YiIVK.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-700-Xyyq4crW.svg#PTSans) format("svg")}[data-v-3ea2a332]:root{--app-background-color: #ffffff;--app-color: #2c3e50;--app-color-light: #6f7070;--app-a-color: #40578a;--app-a-text-decoration-color: #d2d2d2;--app-shadow-color: lightgrey;--app-loading-color: #f3f3f3;--app-loading-top-color: var(--app-color);--button-hover-color: #ffffff;--button-transparent-hover-color: var(--app-color);--button-cancel-bg-color: #ffffff;--button-cancel-color: var(--app-color);--button-confirm-bg-color: #ffffff;--button-confirm-color: var(--app-color);--button-danger-bg-color: #ffffff;--button-danger-color: #dc3545;--button-danger-hover-bg-color: #dc3545;--button-danger-hover-color: #ffffff;--card-border-color: #c4c7cf;--input-border-color: #9da3af;--input-bg-color: #ffffff;--input-color: var(--app-color);--input-error-color: #dc3545;--dropdown-hover-color: #eff0f5;--dropdown-background-color: #ffffff;--dropdown-border-color: lightgrey;--policy-border-color: #ccc;--policy-link-color: var(--app-a-color);--box-shadow-color: lightgrey;--admin-disabled-input-color: #ffffff;--custom-checkbox-border-color: #6d797a;--custom-checkbox-checked-bg-color: #6d797a;--custom-checkbox-checked-color: #ffffff;--calendar-border-color: #c4c7cf;--calendar-week-end-color: #f5f5f5;--calendar-day-color: var(--app-color-light);--calendar-today-color: #eff1f3;--calendar-workouts-color: whitesmoke;--calendar-workouts-box-shadow-0: rgba(0, 0, 0, .2);--calendar-workouts-box-shadow-1: rgba(0, 0, 0, .19);--modal-background-color: rgba(0, 0, 0, .3);--nav-bar-background-color: #ffffff;--nav-bar-link-active: #485b6e;--nav-border-color: #c5ccdb;--mobile-menu-selected-color: #ffffff;--mobile-menu-selected-bgcolor: #9da3af;--footer-background-color: #ffffff;--footer-border-color: #ebeef3;--footer-color: #6f7070;--form-info: var(--alert-color);--alert-background-color: #d6dde3;--alert-color: #3f3f3f;--info-background-color: #e5e7ea;--info-color: var(--app-color);--error-background-color: #ffd2d2;--error-color: #db1924;--success-background-color: #d9ecd9;--success-color: #306430;--disabled-background-color: #e0e0e0;--disabled-border-color: transparent;--disabled-color: #727272;--disabled-sport-color: #616161;--scroll-button-bg-color: rgba(255, 255, 255, .7);--workout-trophy-color: #daa520;--workout-img-color: invert(22%) sepia(25%) saturate(646%) hue-rotate(169deg) brightness(97%) contrast(96%);--workout-no-map-bg-color: #eaeaea;--workout-no-map-color: #585959;--map-control-color: #000000;--map-control-bg-color: #ffffff;--map-control-border-color: #bfc0ab;--map-control-hover-bg-color: var(--dropdown-hover-color);--map-attribution-text: var(--app-color);--map-display-hover-attribution-text: initial;--map-attribution-bg-color: rgba(255, 255, 255, .7);--map-filter: initial;--map-display-hover-filter: initial;--map-layers-overlays: initial;--map-control-bar: #bfc0ab;--no-map-filter: initial;--workout-static-map-shadow-color: var(--app-shadow-color);--workout-static-map-bg-color: var(--workout-no-map-bg-color);--icon-svg-filter: invert(19%) sepia(9%) saturate(2921%) hue-rotate(169deg) brightness(85%) contrast(80%);--cell-heading-bg-color: #eeeeee;--cell-heading-color: #696969;--svg-filter: drop-shadow(10px 10px 10px var(--app-shadow-color));--password-bg-color: #d7dadf;--password-color-weak: #e46d6e;--password-color-medium: #f8bc4a;--password-color-good: #acc578;--password-color-strong: #57c255;--scroll-thumb-color: #949697}#nav[data-v-3ea2a332]{background:var(--nav-bar-background-color);display:flex;padding:15px 10px}#nav a[data-v-3ea2a332]{text-decoration:none}#nav .nav-container[data-v-3ea2a332]{display:flex;margin-left:auto;margin-right:auto;padding:0 15px 15px;max-width:1140px;width:100%;border-bottom:solid 1px var(--nav-border-color)}#nav a.router-link-exact-active[data-v-3ea2a332]{color:var(--nav-bar-link-active);font-weight:700}#nav a.router-link-exact-active.app-name[data-v-3ea2a332]{color:var(--app-color)}#nav .app-name[data-v-3ea2a332]{color:var(--app-color);font-size:1.2em;font-weight:700;margin-right:10px;line-height:1.6em}#nav .fa[data-v-3ea2a332]{font-size:1.2em}#nav .nav-icon-open[data-v-3ea2a332],#nav .hamburger-icon[data-v-3ea2a332],#nav .close-icon[data-v-3ea2a332]{display:none}#nav .menu-button[data-v-3ea2a332]{padding:0}#nav .nav-items[data-v-3ea2a332]{display:flex;flex:1;justify-content:space-between;line-height:2em;width:100%}#nav .nav-items .nav-items-close[data-v-3ea2a332]{display:none}#nav .nav-items .nav-items-app-menu[data-v-3ea2a332],#nav .nav-items .nav-items-user-menu[data-v-3ea2a332]{display:flex;margin:0;padding:0}#nav .nav-items .nav-items-group[data-v-3ea2a332]{display:flex}#nav .nav-items .nav-item[data-v-3ea2a332]{padding:0 10px;height:28px}#nav .nav-items .nav-item.dropdown-wrapper[data-v-3ea2a332]{padding:0;margin-left:2px}#nav .nav-items .nav-item.dropdown-wrapper[data-v-3ea2a332] .dropdown-list{z-index:1000;margin-left:-150px!important;width:180px!important}#nav .nav-items .nav-link[data-v-3ea2a332]{color:var(--app-a-color);cursor:pointer}#nav .nav-items .nav-profile-img[data-v-3ea2a332]{margin-bottom:-10px}#nav .nav-items .nav-profile-img[data-v-3ea2a332] .user-picture img{height:32px;width:32px;object-fit:cover}#nav .nav-items .nav-profile-img[data-v-3ea2a332] .user-picture .no-picture{font-size:1.7em}#nav .nav-items .nav-separator[data-v-3ea2a332]{display:none}#nav .nav-items .nav-button[data-v-3ea2a332]{padding:5px 7.5px;margin-left:2px}#nav .nav-items .nav-button .nav-button-fa[data-v-3ea2a332]{display:block}#nav .nav-items .nav-button .nav-button-text[data-v-3ea2a332]{display:none}#nav .nav-items .clear-theme[data-v-3ea2a332]{filter:var(--workout-img-color);height:20px;margin-bottom:-5px}@media screen and (max-width: 1000px){#nav .hamburger-icon[data-v-3ea2a332]{display:block}#nav .nav-icon-open[data-v-3ea2a332]{display:block;text-align:right;width:100%}#nav .nav-icon-open.menu-open[data-v-3ea2a332]{display:none}#nav .close-icon[data-v-3ea2a332]{display:block}#nav .close-icon.menu-closed[data-v-3ea2a332],#nav .nav-items[data-v-3ea2a332]{display:none}#nav .nav-items.menu-open[data-v-3ea2a332]{display:flex;flex-direction:column;justify-content:flex-start;z-index:1001;position:absolute;top:0;right:0;bottom:0;left:0;background:var(--nav-bar-background-color)}#nav .nav-items.menu-open .nav-items-close[data-v-3ea2a332],#nav .nav-items.menu-open .nav-items-app-menu[data-v-3ea2a332],#nav .nav-items.menu-open .nav-items-user-menu[data-v-3ea2a332]{display:flex;flex-direction:column}#nav .nav-items.menu-open .nav-items-close[data-v-3ea2a332]{align-items:center;display:flex;flex-direction:row;justify-content:space-between}#nav .nav-items.menu-open .nav-items-close .app-name[data-v-3ea2a332]{padding:15px 25px}#nav .nav-items.menu-open .nav-items-group[data-v-3ea2a332]{display:flex;flex-direction:column}#nav .nav-items.menu-open .nav-items-group .nav-button[data-v-3ea2a332]{padding:10px 10px 10px 24px;color:var(--app-a-color);text-align:left}#nav .nav-items.menu-open .nav-items-group .nav-button .nav-button-fa[data-v-3ea2a332]{display:none;width:36px}#nav .nav-items.menu-open .nav-items-group .nav-button .nav-button-text[data-v-3ea2a332]{display:block}#nav .nav-items.menu-open .nav-item[data-v-3ea2a332]{padding:7px 25px}#nav .nav-items.menu-open .nav-item.dropdown-wrapper[data-v-3ea2a332]{padding-left:20px}#nav .nav-items.menu-open .nav-item.dropdown-wrapper[data-v-3ea2a332] .dropdown-list{margin-left:initial!important;width:auto!important;height:200px;overflow-y:scroll}#nav .nav-items.menu-open .nav-profile-img[data-v-3ea2a332]{display:none}#nav .nav-items.menu-open .nav-separator[data-v-3ea2a332]{display:flex;border-top:solid 1px var(--nav-border-color);margin:0 20px;padding:0}#nav .theme-button[data-v-3ea2a332]{margin-left:20px}}#no-config[data-v-73140811]{display:flex;align-items:center;justify-content:space-around;padding:10px;height:100%}#no-config .error-page[data-v-73140811]{display:flex;flex-direction:column;align-items:center;max-width:100%}#no-config .error-page .error-img[data-v-73140811]{width:150px}#no-config .error-page .error-img svg[data-v-73140811]{stroke:none;fill-rule:nonzero;fill:var(--app-color);filter:var(--svg-filter)}#no-config .error-page .error-message[data-v-73140811]{font-size:1.2em;text-align:center}@media screen and (max-width: 1000px){#no-config .error-page .error-message[data-v-73140811]{font-size:1em}}:root{--app-background-color: #ffffff;--app-color: #2c3e50;--app-color-light: #6f7070;--app-a-color: #40578a;--app-a-text-decoration-color: #d2d2d2;--app-shadow-color: lightgrey;--app-loading-color: #f3f3f3;--app-loading-top-color: var(--app-color);--button-hover-color: #ffffff;--button-transparent-hover-color: var(--app-color);--button-cancel-bg-color: #ffffff;--button-cancel-color: var(--app-color);--button-confirm-bg-color: #ffffff;--button-confirm-color: var(--app-color);--button-danger-bg-color: #ffffff;--button-danger-color: #dc3545;--button-danger-hover-bg-color: #dc3545;--button-danger-hover-color: #ffffff;--card-border-color: #c4c7cf;--input-border-color: #9da3af;--input-bg-color: #ffffff;--input-color: var(--app-color);--input-error-color: #dc3545;--dropdown-hover-color: #eff0f5;--dropdown-background-color: #ffffff;--dropdown-border-color: lightgrey;--policy-border-color: #ccc;--policy-link-color: var(--app-a-color);--box-shadow-color: lightgrey;--admin-disabled-input-color: #ffffff;--custom-checkbox-border-color: #6d797a;--custom-checkbox-checked-bg-color: #6d797a;--custom-checkbox-checked-color: #ffffff;--calendar-border-color: #c4c7cf;--calendar-week-end-color: #f5f5f5;--calendar-day-color: var(--app-color-light);--calendar-today-color: #eff1f3;--calendar-workouts-color: whitesmoke;--calendar-workouts-box-shadow-0: rgba(0, 0, 0, .2);--calendar-workouts-box-shadow-1: rgba(0, 0, 0, .19);--modal-background-color: rgba(0, 0, 0, .3);--nav-bar-background-color: #ffffff;--nav-bar-link-active: #485b6e;--nav-border-color: #c5ccdb;--mobile-menu-selected-color: #ffffff;--mobile-menu-selected-bgcolor: #9da3af;--footer-background-color: #ffffff;--footer-border-color: #ebeef3;--footer-color: #6f7070;--form-info: var(--alert-color);--alert-background-color: #d6dde3;--alert-color: #3f3f3f;--info-background-color: #e5e7ea;--info-color: var(--app-color);--error-background-color: #ffd2d2;--error-color: #db1924;--success-background-color: #d9ecd9;--success-color: #306430;--disabled-background-color: #e0e0e0;--disabled-border-color: transparent;--disabled-color: #727272;--disabled-sport-color: #616161;--scroll-button-bg-color: rgba(255, 255, 255, .7);--workout-trophy-color: #daa520;--workout-img-color: invert(22%) sepia(25%) saturate(646%) hue-rotate(169deg) brightness(97%) contrast(96%);--workout-no-map-bg-color: #eaeaea;--workout-no-map-color: #585959;--map-control-color: #000000;--map-control-bg-color: #ffffff;--map-control-border-color: #bfc0ab;--map-control-hover-bg-color: var(--dropdown-hover-color);--map-attribution-text: var(--app-color);--map-display-hover-attribution-text: initial;--map-attribution-bg-color: rgba(255, 255, 255, .7);--map-filter: initial;--map-display-hover-filter: initial;--map-layers-overlays: initial;--map-control-bar: #bfc0ab;--no-map-filter: initial;--workout-static-map-shadow-color: var(--app-shadow-color);--workout-static-map-bg-color: var(--workout-no-map-bg-color);--icon-svg-filter: invert(19%) sepia(9%) saturate(2921%) hue-rotate(169deg) brightness(85%) contrast(80%);--cell-heading-bg-color: #eeeeee;--cell-heading-color: #696969;--svg-filter: drop-shadow(10px 10px 10px var(--app-shadow-color));--password-bg-color: #d7dadf;--password-color-weak: #e46d6e;--password-color-medium: #f8bc4a;--password-color-good: #acc578;--password-color-strong: #57c255;--scroll-thumb-color: #949697}:root [data-theme=dark]{--dark-blue: #181a1b;--light-grey: #cfd0d0;--app-background-color: var(--dark-blue);--app-color: var(--light-grey);--app-color-light: #6f7070;--app-a-color: var(--light-grey);--app-a-text-decoration-color: #494949;--app-shadow-color: #383d3f;--app-loading-color: #414141;--app-loading-top-color: #949494;--button-hover-color: var(--app-color);--button-transparent-hover-color: #233240;--button-cancel-bg-color: var(--dark-blue);--button-cancel-color: var(--app-color);--button-confirm-bg-color: var(--dark-blue);--button-confirm-color: var(--app-color);--button-danger-bg-color: var(--dark-blue);--button-danger-color: #dc3545;--button-danger-hover-bg-color: #dc3545;--button-danger-hover-color: var(--dark-blue);--card-border-color: #494f52;--input-border-color: #494f52;--input-bg-color: var(--dark-blue);--input-color: var(--app-color);--input-error-color: #dc3545;--dropdown-hover-color: #233240;--dropdown-background-color: var(--dark-blue);--dropdown-border-color: var(--input-border-color);--policy-border-color: #ccc;--policy-link-color: var(--alert-color);--box-shadow-color: lightgrey;--admin-disabled-input-color: var(--dark-blue);--custom-checkbox-border-color: #665f54;--custom-checkbox-checked-bg-color: #575e62;--custom-checkbox-checked-color: #e8e6e3;--calendar-border-color: var(--input-border-color);--calendar-week-end-color: #1e2021;--calendar-day-color: var(--app-color);--calendar-today-color: #202324;--calendar-workouts-color: #233240;--calendar-workouts-box-shadow-0: rgba(0, 0, 0, .2);--calendar-workouts-box-shadow-1: rgba(0, 0, 0, .19);--modal-background-color: rgba(68, 68, 68, .3);--nav-bar-background-color: var(--dark-blue);--nav-bar-link-active: #ffffff;--nav-border-color: var(--input-border-color);--mobile-menu-selected-color: var(--dark-blue);--mobile-menu-selected-bgcolor: #9da3af;--footer-background-color: var(--dark-blue);--footer-border-color: var(--input-border-color);--footer-color: #9f968a;--form-info: var(--app-color);--alert-background-color: #3f3f3f;--alert-color: #d6dde3;--info-background-color: #33353a;--info-color: var(--app-color);--error-background-color: #4e0000;--error-color: #ea464f;--success-background-color: #24391c;--success-color: #97cd97;--disabled-background-color: var(--dark-blue);--disabled-border-color: transparent;--disabled-color: #727272;--disabled-sport-color: #616161;--scroll-button-bg-color: var(--dark-blue);--workout-trophy-color: #daa520;--workout-img-color: invert(22%) sepia(25%) saturate(646%) hue-rotate(169deg) brightness(97%) contrast(96%);--workout-no-map-bg-color: #eaeaea;--workout-no-map-color: #585959;--map-control-color: #000000;--map-control-bg-color: #ffffff;--map-control-border-color: #bfc0ab;--map-control-hover-bg-color: #eff0f5;--map-attribution-text: #e8e8e8;--map-display-hover-attribution-text: #444444;--map-attribution-bg-color: none;--map-filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.85);--map-display-hover-filter: invert(1) hue-rotate(180deg) brightness(1.5) contrast(.6);--map-layers-overlays: var(--app-color);--map-control-bar: var(--app-color);--no-map-filter: invert(1) brightness(1.5) contrast(.9);--workout-static-map-shadow-color: #d2d2d2;--workout-static-map-bg-color: #818181;--icon-svg-filter: invert(90%) sepia(19%) saturate(0%) hue-rotate(39deg) brightness(86%) contrast(102%);--cell-heading-bg-color: #383838;--cell-heading-color: #eeeeee;--svg-filter: drop-shadow(10px 10px 10px var(--app-shadow-color));--password-bg-color: #d7dadf;--password-color-weak: #831819;--password-color-medium: #9e6906;--password-color-good: #4b5826;--password-color-strong: #4a8c32;--scroll-thumb-color: #949697}@font-face{font-family:PT Sans;font-style:normal;font-weight:400;src:url(/static/fonts/pt-sans-v9-latin-regular-T9JcUGms.eot);src:local("PT Sans"),local("PTSans-Regular"),url(/static/fonts/pt-sans-v9-latin-regular-T9JcUGms.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-regular-45aO1uf0.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-regular-IXe2Axuj.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-regular-pqSZZJmj.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-regular-21U27O2x.svg#PTSans) format("svg")}@font-face{font-family:PT Sans;font-style:italic;font-weight:400;src:url(/static/fonts/pt-sans-v9-latin-italic-4DDtZWYF.eot);src:local("PT Sans Italic"),local("PTSans-Italic"),url(/static/fonts/pt-sans-v9-latin-italic-4DDtZWYF.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-italic-1FTPleHH.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-italic-DwGwmXuQ.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-italic-I2gXY_1s.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-italic-YH_Gnq5o.svg#PTSans) format("svg")}@font-face{font-family:PT Sans;font-style:normal;font-weight:700;src:url(/static/fonts/pt-sans-v9-latin-700-skEWD7W_.eot);src:local("PT Sans Bold"),local("PTSans-Bold"),url(/static/fonts/pt-sans-v9-latin-700-skEWD7W_.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-700-BC8QGIrG.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-700-tcZ3J-O8.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-700-TR0YiIVK.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-700-Xyyq4crW.svg#PTSans) format("svg")}html [data-theme=dark]{color-scheme:dark}body{margin:0;overflow-y:scroll;scrollbar-gutter:stable both-edges}body::-webkit-scrollbar{width:5px;height:5px}body::-webkit-scrollbar-track{background:transparent}body::-webkit-scrollbar-thumb{background:transparent;border-radius:10px}body:hover::-webkit-scrollbar-thumb{background:var(--scroll-thumb-color)}body:hover::-webkit-scrollbar-track{background:transparent}#app{font-family:PT Sans,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--app-color);background-color:var(--app-background-color);margin:0;min-height:100vh}a{color:var(--app-a-color);text-decoration-color:var(--app-a-text-decoration-color)}a:hover,a:focus{text-decoration-color:var(--app-a-color)}img{max-width:100%}input,textarea,select{background-color:var(--input-bg-color);border-radius:4px;border:solid 1px var(--input-border-color);color:var(--input-color);padding:10px}input:disabled,textarea:disabled,select:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}form.errors :invalid{outline:2px solid var(--input-error-color)}label{font-weight:700}button{background:var(--app-background-color);border:solid 1px var(--input-border-color);border-radius:4px;box-shadow:2px 2px 2px var(--app-shadow-color);color:var(--app-color);padding:6px 14px}button.transparent{font-family:PT Sans,Helvetica,Arial,sans-serif;font-size:1em;border-color:transparent;box-shadow:none}button.transparent:hover,button.transparent:disabled{background:transparent}button.transparent:hover{color:var(--app-color)}button.transparent:enabled:active{box-shadow:none}button.transparent:disabled,button.transparent.confirm:disabled{border-color:var(--disabled-border-color);color:var(--disabled-color)}button:hover{background:var(--button-transparent-hover-color);color:var(--button-hover-color)}button:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button:disabled,button.confirm:disabled{background:var(--disabled-background-color);color:var(--disabled-color)}button.cancel{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel:hover{background:var(--button-transparent-hover-color);color:var(--button-hover-color)}button.confirm{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm:hover{background:var(--button-transparent-hover-color);color:var(--button-hover-color)}button.danger{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger:disabled{background:var(--disabled-background-color);color:var(--disabled-color)}.box{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items{display:flex;flex-direction:column}.form-box .form-items input{margin:10px;padding:5px}.form-info{color:var(--form-info);font-size:.8em;margin-top:-2px;padding:0 15px}.success-message{margin:20px 0;background-color:var(--success-background-color);color:var(--success-color)}.upper{text-transform:uppercase}.view{padding-bottom:35px;background-color:var(--app-background-color)}.fa-trophy{color:var(--workout-trophy-color)}.mountains{margin-bottom:-3px;height:16px;filter:var(--icon-svg-filter)}.section-title{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map{background-color:var(--workout-no-map-bg-color);background-image:url(/static/img/map-3oCLAjmu.svg);background-size:contain;background-repeat:no-repeat;background-position:center;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes{display:inline-flex}@media screen and (max-width: 300px){.custom-checkboxes-group .custom-checkboxes{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span{border:solid 1px var(--custom-checkbox-border-color);border-radius:5px;display:block;font-size:.9em;padding:2px 6px;text-align:center}.custom-checkboxes-group .custom-checkboxes .custom-checkbox input:checked+span{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl{display:flex;flex-direction:column;width:100%}.description-list dl dt{font-weight:700}.description-list dl dd{margin-bottom:10px}.center-card{margin:0 auto;width:700px}.center-card.with-margin{margin-top:100px}@media screen and (max-width: 1000px){.center-card{width:100%;margin:0 auto 50px}}.text-center{text-align:center}.text-left{text-align:left}.responsive-table{margin-bottom:15px}.responsive-table table{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody{font-size:.95em}.responsive-table table tbody td{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td{border:none}.responsive-table table .cell-heading{background:var(--cell-heading-bg-color);color:var(--cell-heading-color);display:none;font-size:10px;font-weight:700;padding:5px;position:absolute;text-transform:uppercase;top:0;left:0}@media screen and (max-width: 700px){.responsive-table table thead{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td{border:1px solid var(--card-border-color);margin:0 -1px -1px 0;padding-top:25px!important;position:relative;text-align:center;width:45%}.responsive-table table tbody tr:last-child td{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading{display:flex}}@media screen and (max-width: 500px){.responsive-table table td{width:100%}}.profile-buttons{display:flex;gap:10px}.medium-sport-img{height:35px;width:35px;margin:0 auto}.app-container{height:calc(100vh - 130px)}.app-container.hide-scroll{overflow:hidden}.app-container .app-loading{display:flex;align-items:center;height:100%}.scroll{display:flex;justify-content:flex-end;position:fixed;bottom:42px;right:-15px;padding:0 25px}.scroll .scroll-button{background-color:var(--scroll-button-bg-color);border-radius:4px;box-shadow:1px 1px 3px var(--app-shadow-color);display:none;padding:0 10px}.scroll .scroll-button.display-button{display:block}.alert-message[data-v-f7bf1117]{background:var(--alert-background-color);color:var(--alert-color);border-radius:4px;margin:10px;padding:10px}.card{border:solid 1px var(--card-border-color);border-radius:4px;margin:10px}.card .card-title{font-weight:700;border-bottom:solid 1px var(--card-border-color);padding:10px 20px}.card .card-content{padding:10px 20px}.custom-textarea[data-v-57267720]{display:flex;flex-direction:column}.custom-textarea .remaining-chars[data-v-57267720]{font-size:.8em;font-style:italic}.strong[data-v-0f0f76cd]{font-weight:700}.dropdown-wrapper .dropdown-selector[data-v-c94565f8]{margin:0;padding:5px}.dropdown-wrapper .dropdown-list[data-v-c94565f8]{list-style-type:none;background-color:var(--dropdown-background-color);padding:0!important;margin-top:5px;margin-left:-20px!important;position:absolute;text-align:left;border:solid 1px var(--dropdown-border-color);box-shadow:2px 2px 5px var(--app-shadow-color);width:auto!important}.dropdown-wrapper .dropdown-list .dropdown-item[data-v-c94565f8]{padding:3px 12px}.dropdown-wrapper .dropdown-list .dropdown-item.selected[data-v-c94565f8]{font-weight:700}.dropdown-wrapper .dropdown-list .dropdown-item.selected[data-v-c94565f8]:after{content:" ✔"}.dropdown-wrapper .dropdown-list .dropdown-item[data-v-c94565f8]:hover,.dropdown-wrapper .dropdown-list .dropdown-item.focused[data-v-c94565f8]{background-color:var(--dropdown-hover-color)}.error-message[data-v-5dcde231]{background:var(--error-background-color);color:var(--error-color);border-radius:4px;margin:10px;padding:10px}.loader[data-v-8b613881]{animation:spin-8b613881 2s linear infinite;border:14px solid var(--app-loading-color);border-top:14px solid var(--app-loading-top-color);border-radius:50%;height:60px;margin-left:41%;width:60px}@keyframes spin-8b613881{0%{transform:rotate(0)}to{transform:rotate(360deg)}}#modal[data-v-e277942a]{position:fixed;top:0;bottom:0;left:0;right:0;background-color:var(--modal-background-color);padding:10px;z-index:1240;display:flex;justify-content:center;align-items:center}#modal .custom-modal[data-v-e277942a]{background-color:var(--app-background-color);border-radius:4px;max-width:500px;z-index:1250}@media screen and (max-width: 1000px){#modal .custom-modal[data-v-e277942a]{width:100%}}#modal .custom-modal[data-v-e277942a] .card{border:0;margin:0}#modal .custom-modal[data-v-e277942a] .card .card-content{display:flex;flex-direction:column}#modal .custom-modal[data-v-e277942a] .card .card-content .modal-message{padding:10px}#modal .custom-modal[data-v-e277942a] .card .card-content .modal-message span{font-weight:700}#modal .custom-modal[data-v-e277942a] .card .card-content .modal-buttons{display:flex;justify-content:flex-end}#modal .custom-modal[data-v-e277942a] .card .card-content .modal-buttons button{margin:5px}#admin-app .user-limit-help[data-v-a720b26e]{display:flex}#admin-app .user-limit-help span[data-v-a720b26e]{font-style:italic}#admin-app .user-limit-help .fa-info-circle[data-v-a720b26e]{margin-right:10px}#admin-app .no-contact[data-v-a720b26e]{font-style:italic}#admin-app textarea[data-v-a720b26e]{margin-bottom:10px}#admin-app .textarea-description[data-v-a720b26e]{font-style:italic}#admin-app .textarea-content[data-v-a720b26e]{margin-bottom:10px;padding:10px}.stat-card{flex:1;max-width:25%}@media screen and (max-width: 700px){.stat-card{flex:1 0 50%;max-width:49%}}.stat-card .stat-content{display:flex;flex-direction:row;justify-content:space-between;padding:10px 20px}.stat-card .stat-content .stat-icon{width:30%;text-align:center;vertical-align:center}@media screen and (max-width: 1000px){.stat-card .stat-content .stat-icon{width:50%;text-align:left}}.stat-card .stat-content .stat-icon .fa{font-size:3em}@media screen and (max-width: 1000px){.stat-card .stat-content .stat-icon .fa{font-size:2em}}@media screen and (max-width: 500px){.stat-card .stat-content .stat-icon .fa{font-size:1.5em}}.stat-card .stat-content .stat-details{width:70%;text-align:right}@media screen and (max-width: 1000px){.stat-card .stat-content .stat-details{width:100%}}.stat-card .stat-content .stat-details .stat-huge{font-size:1.7em;font-weight:700}@media screen and (max-width: 1000px){.stat-card .stat-content .stat-details .stat-huge{font-size:1.3em}}@media screen and (max-width: 500px){.stat-card .stat-content .stat-details .stat-huge{font-size:1em}}.stat-card .stat-content .stat-details .stat{font-size:1em}@media screen and (max-width: 1000px){.stat-card .stat-content .stat-details .stat{font-size:.9em}}@media screen and (max-width: 500px){.stat-card .stat-content .stat-details .stat{font-size:.8em}}#user-stats{display:flex;flex-wrap:wrap}#admin-menu[data-v-efcd2677]{display:flex}#admin-menu.center-card[data-v-efcd2677]{width:100%}#admin-menu[data-v-efcd2677] .card{flex-grow:1}#admin-menu[data-v-efcd2677] .card .admin-menu{padding:0 10px}#admin-menu[data-v-efcd2677] .card .admin-menu dd{margin-bottom:30px}#admin-menu[data-v-efcd2677] .card .admin-menu .application-config-details{display:flex;flex-direction:column}#admin-menu[data-v-efcd2677] .card .admin-menu .application-config-details .email-sending-status,#admin-menu[data-v-efcd2677] .card .admin-menu .application-config-details .registration-status{font-weight:700}#admin-sports table td[data-v-203d96b8]{font-size:1.1em}#admin-sports .sport-img[data-v-203d96b8]{height:35px;width:35px;margin:0 auto}#admin-sports .has-workouts[data-v-203d96b8]{font-size:.95em;font-style:italic;padding:0 10px}#admin-sports .sport-action[data-v-203d96b8]{padding-left:40px}#admin-sports .action-button[data-v-203d96b8]{display:block}#admin-sports .top-button[data-v-203d96b8]{display:none}@media screen and (max-width: 700px){#admin-sports .sport-action[data-v-203d96b8]{padding-left:10px}#admin-sports .has-workouts[data-v-203d96b8]{padding-top:5px}#admin-sports .action-button[data-v-203d96b8]{display:flex;align-items:center;flex-wrap:wrap;flex-direction:column}#admin-sports .top-button[data-v-203d96b8]{display:block;margin-bottom:20px}}.table-selects[data-v-fc86ab3c]{display:flex;justify-content:space-between;margin:10px 0}.table-selects label select[data-v-fc86ab3c]{margin-left:10px;padding:5px}@media screen and (max-width: 700px){.table-selects[data-v-fc86ab3c]{flex-wrap:wrap}.table-selects label[data-v-fc86ab3c]{margin-bottom:10px}.table-selects label select[data-v-fc86ab3c]{margin-left:0}}.pagination-center[data-v-69dd9739]{display:flex;justify-content:center;font-size:.9em}.pagination-center a[data-v-69dd9739]{text-decoration:none}.pagination-center .pagination[data-v-69dd9739]{display:flex;padding-left:0;list-style:none;border-radius:.25rem}.pagination-center .pagination .page-prev[data-v-69dd9739],.pagination-center .pagination .page-next[data-v-69dd9739],.pagination-center .pagination .page[data-v-69dd9739]{border:solid 1px var(--card-border-color);padding:10px 15px}.pagination-center .pagination .page-prev.active[data-v-69dd9739],.pagination-center .pagination .page-next.active[data-v-69dd9739],.pagination-center .pagination .page.active[data-v-69dd9739]{font-weight:700}.pagination-center .pagination .page-prev.disabled[data-v-69dd9739],.pagination-center .pagination .page-next.disabled[data-v-69dd9739],.pagination-center .pagination .page.disabled[data-v-69dd9739]{cursor:default}.pagination-center .pagination .page-prev.disabled a[data-v-69dd9739],.pagination-center .pagination .page-next.disabled a[data-v-69dd9739],.pagination-center .pagination .page.disabled a[data-v-69dd9739]{cursor:default;pointer-events:none;color:var(--disabled-color)}.pagination-center .pagination .page[data-v-69dd9739]{margin-left:-1px}.pagination-center .pagination .page-prev[data-v-69dd9739]{border-top-left-radius:5px;border-bottom-left-radius:5px}.pagination-center .pagination .page-next[data-v-69dd9739]{border-top-right-radius:5px;border-bottom-right-radius:5px;margin-left:-1px}.pagination-center .pagination .fa[data-v-69dd9739]{font-size:.8em;padding:0 5px}@media screen and (max-width: 1000px){.pagination-center .pagination .page[data-v-69dd9739]{display:none}}.users-filters[data-v-553040c7]{display:flex;align-items:center;padding:10px 0;gap:10px}.users-filters .fa[data-v-553040c7]{font-size:1.5em}.users-filters .fa-disabled[data-v-553040c7]{color:var(--disabled-color)}.users-filters .search-username[data-v-553040c7]{display:flex;align-items:center;justify-content:space-between;gap:10px;border:solid 1px var(--card-border-color);border-radius:4px;color:var(--info-color);width:45%}.users-filters .search-username input[data-v-553040c7]{border:none;height:12px;width:90%}.users-filters .search-username input[data-v-553040c7]:focus{outline:none}.users-filters .search-username .fa-times[data-v-553040c7]{padding-right:10px}@media screen and (max-width: 700px){.users-filters .search-username[data-v-553040c7]{width:400px}}@media screen and (max-width: 500px){.users-filters .search-username[data-v-553040c7]{width:90%}}#admin-users .top-button[data-v-4beb3bfa]{display:none}#admin-users .no-users[data-v-4beb3bfa]{display:flex;justify-content:center;padding:20px 0;font-weight:700}#admin-users table td[data-v-4beb3bfa]{font-size:1.1em}#admin-users .left-text[data-v-4beb3bfa]{text-align:left}#admin-users[data-v-4beb3bfa] .user-picture img{height:30px;width:30px}#admin-users[data-v-4beb3bfa] .user-picture .no-picture{font-size:2em}@media screen and (max-width: 700px){#admin-users .top-button[data-v-4beb3bfa]{display:block;margin-bottom:20px}#admin-users .pagination-center[data-v-4beb3bfa]{margin-top:-30px}}.user-header[data-v-3abb1646]{display:flex;align-items:stretch}.user-header .user-details[data-v-3abb1646]{flex-grow:1;padding:10px;display:flex;flex-direction:column;align-items:center}.user-header .user-details .user-name[data-v-3abb1646]{font-size:2em;height:60%}.user-header .user-details .user-stats[data-v-3abb1646]{display:flex;gap:40px}.user-header .user-details .user-stats .user-stat[data-v-3abb1646]{display:flex;flex-direction:column;align-items:center;padding-top:10px}.user-header .user-details .user-stats .user-stat .stat-number[data-v-3abb1646],.user-header .user-details .user-stats .user-stat .stat-label[data-v-3abb1646]{padding:0 5px}.user-header .user-details .user-stats .user-stat[data-v-3abb1646] .distance,.user-header .user-details .user-stats .user-stat .stat-number[data-v-3abb1646]{font-weight:700;font-size:1.5em}@media screen and (max-width: 500px){.user-header .user-details .user-name[data-v-3abb1646]{font-size:1.5em}.user-header .user-details .user-stats[data-v-3abb1646]{gap:20px}.user-header .user-details .user-stats .user-stat[data-v-3abb1646] .distance,.user-header .user-details .user-stats .user-stat .stat-number[data-v-3abb1646]{font-weight:700;font-size:1.2em}.user-header .user-details .user-stats .user-stat.hide-small[data-v-3abb1646]{display:none}}.profile-tabs-checkboxes{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;margin-bottom:10px}#user-profile[data-v-8a058d49]{margin:auto;width:700px}@media screen and (max-width: 1000px){#user-profile[data-v-8a058d49]{width:100%;margin:0 auto 50px}}#user-infos .user-bio[data-v-98220281]{white-space:pre-wrap}#user-infos .alert-message[data-v-98220281]{margin:0}#user-infos .profile-buttons[data-v-98220281]{display:flex;flex-wrap:wrap}#user-infos .email-form[data-v-98220281]{display:flex}#user-infos .email-form form[data-v-98220281]{width:100%}#user-infos .email-form .form-buttons[data-v-98220281]{display:flex;gap:10px;margin-top:10px}#user-preferences .preferences-section[data-v-b0528e22]{font-weight:700;text-transform:uppercase;border-bottom:1px solid var(--card-border-color)}#user-preferences .raw-speed-help[data-v-b0528e22]{margin-top:-5px}.password-strength[data-v-1affb508]{cursor:default;display:flex;flex-direction:column}.password-strength .password-slider[data-v-1affb508]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:8px;height:5px;outline:none;padding:0}.password-strength .strength-0[data-v-1affb508],.password-strength .strength-1[data-v-1affb508]{background:var(--password-bg-color);background-image:-webkit-gradient(linear,20% 0%,20% 100%,color-stop(0%,var(--password-color-weak)),color-stop(100%,var(--password-color-weak)));background-image:-webkit-linear-gradient(left,var(--password-color-weak) 0%,var(--password-color-weak) 100%);background-image:-moz-linear-gradient(left,var(--password-color-weak) 0%,var(--password-color-weak) 100%);background-image:-o-linear-gradient(to right,var(--password-color-weak) 0%,var(--password-color-weak) 100%);background-image:linear-gradient(to right,var(--password-color-weak) 0%,var(--password-color-weak) 100%);background-repeat:no-repeat}.password-strength .strength-2[data-v-1affb508]{background:var(--password-bg-color);background-image:-webkit-gradient(linear,20% 0%,20% 100%,color-stop(0%,var(--password-color-medium)),color-stop(100%,var(--password-color-medium)));background-image:-webkit-linear-gradient(left,var(--password-color-medium) 0%,var(--password-color-medium) 100%);background-image:-moz-linear-gradient(left,var(--password-color-medium) 0%,var(--password-color-medium) 100%);background-image:-o-linear-gradient(to right,var(--password-color-medium) 0%,var(--password-color-medium) 100%);background-image:linear-gradient(to right,var(--password-color-medium) 0%,var(--password-color-medium) 100%);background-repeat:no-repeat}.password-strength .strength-3[data-v-1affb508]{background:var(--password-bg-color);background-image:-webkit-gradient(linear,20% 0%,20% 100%,color-stop(0%,var(--password-color-good)),color-stop(100%,var(--password-color-good)));background-image:-webkit-linear-gradient(left,var(--password-color-good) 0%,var(--password-color-good) 100%);background-image:-moz-linear-gradient(left,var(--password-color-good) 0%,var(--password-color-good) 100%);background-image:-o-linear-gradient(to right,var(--password-color-good) 0%,var(--password-color-good) 100%);background-image:linear-gradient(to right,var(--password-color-good) 0%,var(--password-color-good) 100%);background-repeat:no-repeat}.password-strength .strength-4[data-v-1affb508]{background:var(--password-bg-color);background-image:-webkit-gradient(linear,20% 0%,20% 100%,color-stop(0%,var(--password-color-strong)),color-stop(100%,var(--password-color-strong)));background-image:-webkit-linear-gradient(left,var(--password-color-strong) 0%,var(--password-color-strong) 100%);background-image:-moz-linear-gradient(left,var(--password-color-strong) 0%,var(--password-color-strong) 100%);background-image:-o-linear-gradient(to right,var(--password-color-strong) 0%,var(--password-color-strong) 100%);background-image:linear-gradient(to right,var(--password-color-strong) 0%,var(--password-color-strong) 100%);background-repeat:no-repeat}.password-strength .password-slider[data-v-1affb508]::-webkit-slider-thumb,.password-strength .password-slider[data-v-1affb508]::-moz-range-thumb{opacity:0}.password-strength .password-slider[data-v-1affb508]::-webkit-slider-thumb{-webkit-appearance:none}.password-strength .password-slider[data-v-1affb508]::-moz-range-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none}.password-strength .password-strength-details[data-v-1affb508]{margin-bottom:5px;margin-top:-10px;padding:0 10px}.password-strength .password-strength-details .password-strength-value[data-v-1affb508]{font-size:.85em}.password-strength .password-strength-details .info-box[data-v-1affb508]{padding:1px 10px}.password-strength .password-strength-details .info-box .password-feedback[data-v-1affb508]{padding-left:20px}.password-input[data-v-ac528612]{display:flex;flex-direction:column}.password-input .show-password[data-v-ac528612]{margin-top:-5px;display:flex;justify-content:right}.password-input .show-password button[data-v-ac528612]{font-style:italic;font-size:.85em;padding:5px 10px;cursor:pointer}.form-items .password-input[data-v-8ebb5cd3] .show-password{font-weight:400;font-size:.8em;margin-top:-4px;padding-left:0}.form-items .password-input[data-v-8ebb5cd3] .form-info{font-weight:400;padding-left:10px}.form-items .password-input[data-v-8ebb5cd3] .password-strength-details{font-weight:400;margin-top:0}.form-buttons[data-v-8ebb5cd3]{flex-direction:row}@media screen and (max-width: 500px){.form-buttons[data-v-8ebb5cd3]{flex-direction:column}}.data-export[data-v-8ebb5cd3]{padding:10px 0}.data-export .data-export-archive[data-v-8ebb5cd3]{padding-top:20px;font-size:.9em}.data-export .data-export-archive .archive-link[data-v-8ebb5cd3]{color:var(--app-a-color);cursor:pointer}.form-items .password-input[data-v-5f5c8fca] .show-password{font-weight:400;font-size:.8em;margin-top:-4px;padding-left:0}.form-buttons[data-v-5f5c8fca]{flex-direction:row}@media screen and (max-width: 500px){.form-buttons[data-v-5f5c8fca]{flex-direction:column}}#user-picture-edition .user-picture-form[data-v-8f62d42f]{display:flex;flex-direction:column;margin-top:10px}#user-picture-edition .user-picture-form form[data-v-8f62d42f]{display:flex;flex-direction:column;gap:10px;justify-content:flex-start}#user-picture-edition .user-picture-form form input[data-v-8f62d42f]{margin-top:10px;padding:5px}#user-picture-edition .user-picture-form form span[data-v-8f62d42f]{font-style:italic;font-size:.9em;padding-left:5px}#user-picture-edition .user-picture-form form .picture-help[data-v-8f62d42f]{display:flex}#user-picture-edition .user-picture-form form .picture-help span[data-v-8f62d42f]{font-style:italic;padding:10px}#user-picture-edition .user-picture-form form .picture-help .fa-info-circle[data-v-8f62d42f]{margin-right:10px}#user-picture-edition .user-picture-form .picture-buttons[data-v-8f62d42f]{display:flex;flex-direction:row;align-items:center;gap:10px}@media screen and (max-width: 500px){#user-picture-edition .user-picture-form .picture-buttons[data-v-8f62d42f],#user-picture-edition .user-picture-form .picture-help[data-v-8f62d42f]{flex-direction:column;align-items:stretch}}#tz-dropdown[data-v-3d9b6b6f]{display:flex;flex-direction:column;position:relative}#tz-dropdown .tz-dropdown-list[data-v-3d9b6b6f]{background-color:var(--input-bg-color);border-radius:4px;border:solid 1px var(--input-border-color);padding:5px 0;position:absolute;overflow-y:auto;top:20px;left:0;right:0;max-height:200px;width:inherit}#tz-dropdown .tz-dropdown-item[data-v-3d9b6b6f]{cursor:pointer;font-size:.9em;font-weight:400;padding:5px}#tz-dropdown .tz-dropdown-item.focus[data-v-3d9b6b6f]{background-color:var(--dropdown-hover-color)}#user-preferences-edition .form-items[data-v-7b19a78b]{padding-top:5px}#user-preferences-edition .form-checkboxes .checkboxes-label[data-v-7b19a78b]{font-weight:700}#user-preferences-edition .form-checkboxes .checkboxes[data-v-7b19a78b]{display:flex;gap:10px;flex-wrap:wrap}#user-preferences-edition .form-checkboxes .checkboxes .checkbox-label[data-v-7b19a78b]{padding-left:5px}#user-preferences-edition .form-checkboxes .checkboxes label[data-v-7b19a78b]{font-weight:400}#user-preferences-edition .preferences-section[data-v-7b19a78b]{font-weight:700;text-transform:uppercase;border-bottom:1px solid var(--card-border-color);margin-bottom:5px}#user-preferences-edition .preferences-section[data-v-7b19a78b]:not(:first-child){margin-top:15px}#user-preferences-edition #language[data-v-7b19a78b],#user-preferences-edition #date_format[data-v-7b19a78b],#user-preferences-edition #use_dark_mode[data-v-7b19a78b]{padding:5px}[data-v-31d5cd27]:root{--app-background-color: #ffffff;--app-color: #2c3e50;--app-color-light: #6f7070;--app-a-color: #40578a;--app-a-text-decoration-color: #d2d2d2;--app-shadow-color: lightgrey;--app-loading-color: #f3f3f3;--app-loading-top-color: var(--app-color);--button-hover-color: #ffffff;--button-transparent-hover-color: var(--app-color);--button-cancel-bg-color: #ffffff;--button-cancel-color: var(--app-color);--button-confirm-bg-color: #ffffff;--button-confirm-color: var(--app-color);--button-danger-bg-color: #ffffff;--button-danger-color: #dc3545;--button-danger-hover-bg-color: #dc3545;--button-danger-hover-color: #ffffff;--card-border-color: #c4c7cf;--input-border-color: #9da3af;--input-bg-color: #ffffff;--input-color: var(--app-color);--input-error-color: #dc3545;--dropdown-hover-color: #eff0f5;--dropdown-background-color: #ffffff;--dropdown-border-color: lightgrey;--policy-border-color: #ccc;--policy-link-color: var(--app-a-color);--box-shadow-color: lightgrey;--admin-disabled-input-color: #ffffff;--custom-checkbox-border-color: #6d797a;--custom-checkbox-checked-bg-color: #6d797a;--custom-checkbox-checked-color: #ffffff;--calendar-border-color: #c4c7cf;--calendar-week-end-color: #f5f5f5;--calendar-day-color: var(--app-color-light);--calendar-today-color: #eff1f3;--calendar-workouts-color: whitesmoke;--calendar-workouts-box-shadow-0: rgba(0, 0, 0, .2);--calendar-workouts-box-shadow-1: rgba(0, 0, 0, .19);--modal-background-color: rgba(0, 0, 0, .3);--nav-bar-background-color: #ffffff;--nav-bar-link-active: #485b6e;--nav-border-color: #c5ccdb;--mobile-menu-selected-color: #ffffff;--mobile-menu-selected-bgcolor: #9da3af;--footer-background-color: #ffffff;--footer-border-color: #ebeef3;--footer-color: #6f7070;--form-info: var(--alert-color);--alert-background-color: #d6dde3;--alert-color: #3f3f3f;--info-background-color: #e5e7ea;--info-color: var(--app-color);--error-background-color: #ffd2d2;--error-color: #db1924;--success-background-color: #d9ecd9;--success-color: #306430;--disabled-background-color: #e0e0e0;--disabled-border-color: transparent;--disabled-color: #727272;--disabled-sport-color: #616161;--scroll-button-bg-color: rgba(255, 255, 255, .7);--workout-trophy-color: #daa520;--workout-img-color: invert(22%) sepia(25%) saturate(646%) hue-rotate(169deg) brightness(97%) contrast(96%);--workout-no-map-bg-color: #eaeaea;--workout-no-map-color: #585959;--map-control-color: #000000;--map-control-bg-color: #ffffff;--map-control-border-color: #bfc0ab;--map-control-hover-bg-color: var(--dropdown-hover-color);--map-attribution-text: var(--app-color);--map-display-hover-attribution-text: initial;--map-attribution-bg-color: rgba(255, 255, 255, .7);--map-filter: initial;--map-display-hover-filter: initial;--map-layers-overlays: initial;--map-control-bar: #bfc0ab;--no-map-filter: initial;--workout-static-map-shadow-color: var(--app-shadow-color);--workout-static-map-bg-color: var(--workout-no-map-bg-color);--icon-svg-filter: invert(19%) sepia(9%) saturate(2921%) hue-rotate(169deg) brightness(85%) contrast(80%);--cell-heading-bg-color: #eeeeee;--cell-heading-color: #696969;--svg-filter: drop-shadow(10px 10px 10px var(--app-shadow-color));--password-bg-color: #d7dadf;--password-color-weak: #e46d6e;--password-color-medium: #f8bc4a;--password-color-good: #acc578;--password-color-strong: #57c255;--scroll-thumb-color: #949697}:root [data-theme=dark][data-v-31d5cd27]{--dark-blue: #181a1b;--light-grey: #cfd0d0;--app-background-color: var(--dark-blue);--app-color: var(--light-grey);--app-color-light: #6f7070;--app-a-color: var(--light-grey);--app-a-text-decoration-color: #494949;--app-shadow-color: #383d3f;--app-loading-color: #414141;--app-loading-top-color: #949494;--button-hover-color: var(--app-color);--button-transparent-hover-color: #233240;--button-cancel-bg-color: var(--dark-blue);--button-cancel-color: var(--app-color);--button-confirm-bg-color: var(--dark-blue);--button-confirm-color: var(--app-color);--button-danger-bg-color: var(--dark-blue);--button-danger-color: #dc3545;--button-danger-hover-bg-color: #dc3545;--button-danger-hover-color: var(--dark-blue);--card-border-color: #494f52;--input-border-color: #494f52;--input-bg-color: var(--dark-blue);--input-color: var(--app-color);--input-error-color: #dc3545;--dropdown-hover-color: #233240;--dropdown-background-color: var(--dark-blue);--dropdown-border-color: var(--input-border-color);--policy-border-color: #ccc;--policy-link-color: var(--alert-color);--box-shadow-color: lightgrey;--admin-disabled-input-color: var(--dark-blue);--custom-checkbox-border-color: #665f54;--custom-checkbox-checked-bg-color: #575e62;--custom-checkbox-checked-color: #e8e6e3;--calendar-border-color: var(--input-border-color);--calendar-week-end-color: #1e2021;--calendar-day-color: var(--app-color);--calendar-today-color: #202324;--calendar-workouts-color: #233240;--calendar-workouts-box-shadow-0: rgba(0, 0, 0, .2);--calendar-workouts-box-shadow-1: rgba(0, 0, 0, .19);--modal-background-color: rgba(68, 68, 68, .3);--nav-bar-background-color: var(--dark-blue);--nav-bar-link-active: #ffffff;--nav-border-color: var(--input-border-color);--mobile-menu-selected-color: var(--dark-blue);--mobile-menu-selected-bgcolor: #9da3af;--footer-background-color: var(--dark-blue);--footer-border-color: var(--input-border-color);--footer-color: #9f968a;--form-info: var(--app-color);--alert-background-color: #3f3f3f;--alert-color: #d6dde3;--info-background-color: #33353a;--info-color: var(--app-color);--error-background-color: #4e0000;--error-color: #ea464f;--success-background-color: #24391c;--success-color: #97cd97;--disabled-background-color: var(--dark-blue);--disabled-border-color: transparent;--disabled-color: #727272;--disabled-sport-color: #616161;--scroll-button-bg-color: var(--dark-blue);--workout-trophy-color: #daa520;--workout-img-color: invert(22%) sepia(25%) saturate(646%) hue-rotate(169deg) brightness(97%) contrast(96%);--workout-no-map-bg-color: #eaeaea;--workout-no-map-color: #585959;--map-control-color: #000000;--map-control-bg-color: #ffffff;--map-control-border-color: #bfc0ab;--map-control-hover-bg-color: #eff0f5;--map-attribution-text: #e8e8e8;--map-display-hover-attribution-text: #444444;--map-attribution-bg-color: none;--map-filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.85);--map-display-hover-filter: invert(1) hue-rotate(180deg) brightness(1.5) contrast(.6);--map-layers-overlays: var(--app-color);--map-control-bar: var(--app-color);--no-map-filter: invert(1) brightness(1.5) contrast(.9);--workout-static-map-shadow-color: #d2d2d2;--workout-static-map-bg-color: #818181;--icon-svg-filter: invert(90%) sepia(19%) saturate(0%) hue-rotate(39deg) brightness(86%) contrast(102%);--cell-heading-bg-color: #383838;--cell-heading-color: #eeeeee;--svg-filter: drop-shadow(10px 10px 10px var(--app-shadow-color));--password-bg-color: #d7dadf;--password-color-weak: #831819;--password-color-medium: #9e6906;--password-color-good: #4b5826;--password-color-strong: #4a8c32;--scroll-thumb-color: #949697}@font-face{font-family:PT Sans;font-style:normal;font-weight:400;src:url(/static/fonts/pt-sans-v9-latin-regular-T9JcUGms.eot);src:local("PT Sans"),local("PTSans-Regular"),url(/static/fonts/pt-sans-v9-latin-regular-T9JcUGms.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-regular-45aO1uf0.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-regular-IXe2Axuj.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-regular-pqSZZJmj.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-regular-21U27O2x.svg#PTSans) format("svg")}@font-face{font-family:PT Sans;font-style:italic;font-weight:400;src:url(/static/fonts/pt-sans-v9-latin-italic-4DDtZWYF.eot);src:local("PT Sans Italic"),local("PTSans-Italic"),url(/static/fonts/pt-sans-v9-latin-italic-4DDtZWYF.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-italic-1FTPleHH.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-italic-DwGwmXuQ.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-italic-I2gXY_1s.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-italic-YH_Gnq5o.svg#PTSans) format("svg")}@font-face{font-family:PT Sans;font-style:normal;font-weight:700;src:url(/static/fonts/pt-sans-v9-latin-700-skEWD7W_.eot);src:local("PT Sans Bold"),local("PTSans-Bold"),url(/static/fonts/pt-sans-v9-latin-700-skEWD7W_.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-700-BC8QGIrG.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-700-tcZ3J-O8.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-700-TR0YiIVK.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-700-Xyyq4crW.svg#PTSans) format("svg")}html [data-theme=dark][data-v-31d5cd27]{color-scheme:dark}body[data-v-31d5cd27]{margin:0;overflow-y:scroll;scrollbar-gutter:stable both-edges}body[data-v-31d5cd27]::-webkit-scrollbar{width:5px;height:5px}body[data-v-31d5cd27]::-webkit-scrollbar-track{background:transparent}body[data-v-31d5cd27]::-webkit-scrollbar-thumb{background:transparent;border-radius:10px}body[data-v-31d5cd27]:hover::-webkit-scrollbar-thumb{background:var(--scroll-thumb-color)}body[data-v-31d5cd27]:hover::-webkit-scrollbar-track{background:transparent}#app[data-v-31d5cd27]{font-family:PT Sans,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--app-color);background-color:var(--app-background-color);margin:0;min-height:100vh}a[data-v-31d5cd27]{color:var(--app-a-color);text-decoration-color:var(--app-a-text-decoration-color)}a[data-v-31d5cd27]:hover,a[data-v-31d5cd27]:focus{text-decoration-color:var(--app-a-color)}img[data-v-31d5cd27]{max-width:100%}input[data-v-31d5cd27],textarea[data-v-31d5cd27],select[data-v-31d5cd27]{background-color:var(--input-bg-color);border-radius:4px;border:solid 1px var(--input-border-color);color:var(--input-color);padding:10px}input[data-v-31d5cd27]:disabled,textarea[data-v-31d5cd27]:disabled,select[data-v-31d5cd27]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}form.errors[data-v-31d5cd27] :invalid{outline:2px solid var(--input-error-color)}label[data-v-31d5cd27]{font-weight:700}button[data-v-31d5cd27]{background:var(--app-background-color);border:solid 1px var(--input-border-color);border-radius:4px;box-shadow:2px 2px 2px var(--app-shadow-color);color:var(--app-color);padding:6px 14px}button.transparent[data-v-31d5cd27]{font-family:PT Sans,Helvetica,Arial,sans-serif;font-size:1em;border-color:transparent;box-shadow:none}button.transparent[data-v-31d5cd27]:hover,button.transparent[data-v-31d5cd27]:disabled{background:transparent}button.transparent[data-v-31d5cd27]:hover{color:var(--app-color)}button.transparent[data-v-31d5cd27]:enabled:active{box-shadow:none}button.transparent[data-v-31d5cd27]:disabled,button.transparent.confirm[data-v-31d5cd27]:disabled{border-color:var(--disabled-border-color);color:var(--disabled-color)}button[data-v-31d5cd27]:hover{background:var(--button-transparent-hover-color);color:var(--button-hover-color)}button[data-v-31d5cd27]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-31d5cd27]:disabled,button.confirm[data-v-31d5cd27]:disabled{background:var(--disabled-background-color);color:var(--disabled-color)}button.cancel[data-v-31d5cd27]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-31d5cd27]:hover{background:var(--button-transparent-hover-color);color:var(--button-hover-color)}button.confirm[data-v-31d5cd27]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-31d5cd27]:hover{background:var(--button-transparent-hover-color);color:var(--button-hover-color)}button.danger[data-v-31d5cd27]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-31d5cd27]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-31d5cd27]:disabled{background:var(--disabled-background-color);color:var(--disabled-color)}.box[data-v-31d5cd27]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-31d5cd27]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-31d5cd27]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-31d5cd27]{display:flex;flex-direction:column}.form-box .form-items input[data-v-31d5cd27]{margin:10px;padding:5px}.form-info[data-v-31d5cd27]{color:var(--form-info);font-size:.8em;margin-top:-2px;padding:0 15px}.success-message[data-v-31d5cd27]{margin:20px 0;background-color:var(--success-background-color);color:var(--success-color)}.upper[data-v-31d5cd27]{text-transform:uppercase}.view[data-v-31d5cd27]{padding-bottom:35px;background-color:var(--app-background-color)}.fa-trophy[data-v-31d5cd27]{color:var(--workout-trophy-color)}.mountains[data-v-31d5cd27]{margin-bottom:-3px;height:16px;filter:var(--icon-svg-filter)}.section-title[data-v-31d5cd27]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-31d5cd27]{background-color:var(--workout-no-map-bg-color);background-image:url(/static/img/map-3oCLAjmu.svg);background-size:contain;background-repeat:no-repeat;background-position:center;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-31d5cd27]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-31d5cd27]{display:inline-flex}@media screen and (max-width: 300px){.custom-checkboxes-group .custom-checkboxes[data-v-31d5cd27]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-31d5cd27]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-31d5cd27]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-31d5cd27]{border:solid 1px var(--custom-checkbox-border-color);border-radius:5px;display:block;font-size:.9em;padding:2px 6px;text-align:center}.custom-checkboxes-group .custom-checkboxes .custom-checkbox input:checked+span[data-v-31d5cd27]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-31d5cd27]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-31d5cd27]{font-weight:700}.description-list dl dd[data-v-31d5cd27]{margin-bottom:10px}.center-card[data-v-31d5cd27]{margin:0 auto;width:700px}.center-card.with-margin[data-v-31d5cd27]{margin-top:100px}@media screen and (max-width: 1000px){.center-card[data-v-31d5cd27]{width:100%;margin:0 auto 50px}}.text-center[data-v-31d5cd27]{text-align:center}.text-left[data-v-31d5cd27]{text-align:left}.responsive-table[data-v-31d5cd27]{margin-bottom:15px}.responsive-table table[data-v-31d5cd27]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-31d5cd27]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-31d5cd27]{font-size:.95em}.responsive-table table tbody td[data-v-31d5cd27]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-31d5cd27]{border:none}.responsive-table table .cell-heading[data-v-31d5cd27]{background:var(--cell-heading-bg-color);color:var(--cell-heading-color);display:none;font-size:10px;font-weight:700;padding:5px;position:absolute;text-transform:uppercase;top:0;left:0}@media screen and (max-width: 700px){.responsive-table table thead[data-v-31d5cd27]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-31d5cd27]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-31d5cd27]{border:1px solid var(--card-border-color);margin:0 -1px -1px 0;padding-top:25px!important;position:relative;text-align:center;width:45%}.responsive-table table tbody tr:last-child td[data-v-31d5cd27]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-31d5cd27]{display:flex}}@media screen and (max-width: 500px){.responsive-table table td[data-v-31d5cd27]{width:100%}}.profile-buttons[data-v-31d5cd27]{display:flex;gap:10px}.medium-sport-img[data-v-31d5cd27]{height:35px;width:35px;margin:0 auto}.privacy-policy-text[data-v-31d5cd27]{margin:10px 50px 20px;padding:10px;width:100%}@media screen and (max-width: 700px){.privacy-policy-text[data-v-31d5cd27]{margin:0}}#user-privacy-policy[data-v-9b1ceaf7]{padding:10px 0}#user-privacy-policy form[data-v-9b1ceaf7]{display:flex;flex-direction:column;gap:10px}#user-privacy-policy form .policy-content[data-v-9b1ceaf7]{height:500px;border:1px solid var(--policy-border-color);overflow:auto;margin:10px;border-radius:4px}@media screen and (max-width: 700px){#user-privacy-policy form .policy-content[data-v-9b1ceaf7]{margin:10px 0;font-size:.9em}}#user-privacy-policy form .policy-content .privacy-policy-text[data-v-9b1ceaf7]{width:auto}#user-privacy-policy form .form-buttons[data-v-9b1ceaf7]{display:flex;gap:10px;flex-direction:row}@media screen and (max-width: 500px){#user-privacy-policy form .form-buttons[data-v-9b1ceaf7]{flex-direction:column}}#new-oauth2-app #new-oauth2-title[data-v-e2284e06]{font-size:1.05em;font-weight:700;padding:0 10px}#new-oauth2-app #apps-form .form-items[data-v-e2284e06]{display:flex;flex-direction:column}#new-oauth2-app #apps-form .form-items input[type=text][data-v-e2284e06]{height:20px}#new-oauth2-app #apps-form .form-items .form-item-scope[data-v-e2284e06]{padding:10px}#new-oauth2-app #apps-form .form-items .form-item-scope .form-item-scope-label[data-v-e2284e06]{font-weight:700}#new-oauth2-app #apps-form .form-items .form-item-scope .form-item-scope-checkboxes[data-v-e2284e06]{padding-bottom:10px}#new-oauth2-app #apps-form .form-items .form-item-scope .form-item-scope-checkboxes .scope-label[data-v-e2284e06]{height:inherit}#new-oauth2-app #apps-form .form-items .form-item-scope .form-item-scope-checkboxes .scope-description[data-v-e2284e06]{font-style:italic;margin:0 5px}#new-oauth2-app #apps-form .form-items .form-item[data-v-e2284e06]{display:flex;flex-direction:column;padding:10px}#new-oauth2-app #apps-form .form-buttons[data-v-e2284e06]{display:flex;justify-content:flex-end}#new-oauth2-app #apps-form .form-buttons button[data-v-e2284e06]{margin:5px}#authorize-oauth2-app #authorize-oauth2-title[data-v-a8ed6bf8]{font-size:1.05em;font-weight:700;padding:0 10px}#authorize-oauth2-app .oauth2-access[data-v-a8ed6bf8]{padding:0 10px}#authorize-oauth2-app .authorize-oauth2-buttons[data-v-a8ed6bf8]{display:flex}#authorize-oauth2-app .authorize-oauth2-buttons button[data-v-a8ed6bf8]{margin:5px}#oauth2-app .app-buttons[data-v-3a7d0f4a]{display:flex;flex-wrap:wrap;gap:10px}#oauth2-app .app-secret[data-v-3a7d0f4a]{word-break:break-word}#oauth2-app .client-scopes[data-v-3a7d0f4a]{display:flex;flex-wrap:wrap}#oauth2-app .client-scopes .client-scope[data-v-3a7d0f4a]{padding-right:15px}#oauth2-app .fa-copy[data-v-3a7d0f4a]{font-size:.9em}#oauth2-app .no-description[data-v-3a7d0f4a]{font-style:italic}#oauth2-app .no-app[data-v-3a7d0f4a]{font-style:italic;padding:10px 0}#oauth2-apps-list ul[data-v-064a87b7]{list-style:square}#oauth2-apps-list ul li[data-v-064a87b7]{padding-bottom:10px}#oauth2-apps-list .app-issued-at[data-v-064a87b7]{font-size:.85em;font-style:italic;padding-left:10px}#oauth2-apps-list .apps-list[data-v-064a87b7]{font-size:1.05em;font-weight:700}#oauth2-apps-list .app-list-buttons[data-v-064a87b7]{display:flex;gap:10px}#oauth2-apps-list .no-apps[data-v-064a87b7]{font-style:italic;padding-bottom:20px}#user-sport-preferences .sport-img[data-v-aa4857fe]{height:35px;width:35px;margin:0 auto}#user-sport-preferences .sport-color[data-v-aa4857fe]{border:none;margin:6px 1px 6px 0;padding:0;width:40px}#user-sport-preferences .sport-label[data-v-aa4857fe]{width:170px}#user-sport-preferences .disabled-sport[data-v-aa4857fe]{font-style:italic;color:var(--disabled-sport-color)}#user-sport-preferences .disabled-sport .disabled-message[data-v-aa4857fe]{font-size:.9em}#user-sport-preferences .disabled-sport .cell-heading[data-v-aa4857fe]{font-style:normal}#user-sport-preferences .action-buttons[data-v-aa4857fe]{width:70px}#user-sport-preferences .edition-buttons[data-v-aa4857fe]{display:flex;flex-wrap:wrap;gap:5px;line-height:1.3em}#user-sport-preferences .edition-buttons button[data-v-aa4857fe]{text-align:center;min-width:80px}#user-sport-preferences .threshold-input[data-v-aa4857fe]{padding:5px;width:50px}#user-sport-preferences .mobile-display[data-v-aa4857fe]{display:none}#user-sport-preferences div.error-message[data-v-aa4857fe]{margin:0}@media screen and (max-width: 700px){#user-sport-preferences .sport-label[data-v-aa4857fe],#user-sport-preferences .action-buttons[data-v-aa4857fe]{width:45%}#user-sport-preferences .edition-buttons[data-v-aa4857fe]{justify-content:center}#user-sport-preferences .mobile-display[data-v-aa4857fe]{display:flex;margin:20px 0 10px}}@media screen and (max-width: 500px){#user-sport-preferences .sport-label[data-v-aa4857fe],#user-sport-preferences .action-buttons[data-v-aa4857fe]{width:100%}}[data-v-34b1686b]:root{--app-background-color: #ffffff;--app-color: #2c3e50;--app-color-light: #6f7070;--app-a-color: #40578a;--app-a-text-decoration-color: #d2d2d2;--app-shadow-color: lightgrey;--app-loading-color: #f3f3f3;--app-loading-top-color: var(--app-color);--button-hover-color: #ffffff;--button-transparent-hover-color: var(--app-color);--button-cancel-bg-color: #ffffff;--button-cancel-color: var(--app-color);--button-confirm-bg-color: #ffffff;--button-confirm-color: var(--app-color);--button-danger-bg-color: #ffffff;--button-danger-color: #dc3545;--button-danger-hover-bg-color: #dc3545;--button-danger-hover-color: #ffffff;--card-border-color: #c4c7cf;--input-border-color: #9da3af;--input-bg-color: #ffffff;--input-color: var(--app-color);--input-error-color: #dc3545;--dropdown-hover-color: #eff0f5;--dropdown-background-color: #ffffff;--dropdown-border-color: lightgrey;--policy-border-color: #ccc;--policy-link-color: var(--app-a-color);--box-shadow-color: lightgrey;--admin-disabled-input-color: #ffffff;--custom-checkbox-border-color: #6d797a;--custom-checkbox-checked-bg-color: #6d797a;--custom-checkbox-checked-color: #ffffff;--calendar-border-color: #c4c7cf;--calendar-week-end-color: #f5f5f5;--calendar-day-color: var(--app-color-light);--calendar-today-color: #eff1f3;--calendar-workouts-color: whitesmoke;--calendar-workouts-box-shadow-0: rgba(0, 0, 0, .2);--calendar-workouts-box-shadow-1: rgba(0, 0, 0, .19);--modal-background-color: rgba(0, 0, 0, .3);--nav-bar-background-color: #ffffff;--nav-bar-link-active: #485b6e;--nav-border-color: #c5ccdb;--mobile-menu-selected-color: #ffffff;--mobile-menu-selected-bgcolor: #9da3af;--footer-background-color: #ffffff;--footer-border-color: #ebeef3;--footer-color: #6f7070;--form-info: var(--alert-color);--alert-background-color: #d6dde3;--alert-color: #3f3f3f;--info-background-color: #e5e7ea;--info-color: var(--app-color);--error-background-color: #ffd2d2;--error-color: #db1924;--success-background-color: #d9ecd9;--success-color: #306430;--disabled-background-color: #e0e0e0;--disabled-border-color: transparent;--disabled-color: #727272;--disabled-sport-color: #616161;--scroll-button-bg-color: rgba(255, 255, 255, .7);--workout-trophy-color: #daa520;--workout-img-color: invert(22%) sepia(25%) saturate(646%) hue-rotate(169deg) brightness(97%) contrast(96%);--workout-no-map-bg-color: #eaeaea;--workout-no-map-color: #585959;--map-control-color: #000000;--map-control-bg-color: #ffffff;--map-control-border-color: #bfc0ab;--map-control-hover-bg-color: var(--dropdown-hover-color);--map-attribution-text: var(--app-color);--map-display-hover-attribution-text: initial;--map-attribution-bg-color: rgba(255, 255, 255, .7);--map-filter: initial;--map-display-hover-filter: initial;--map-layers-overlays: initial;--map-control-bar: #bfc0ab;--no-map-filter: initial;--workout-static-map-shadow-color: var(--app-shadow-color);--workout-static-map-bg-color: var(--workout-no-map-bg-color);--icon-svg-filter: invert(19%) sepia(9%) saturate(2921%) hue-rotate(169deg) brightness(85%) contrast(80%);--cell-heading-bg-color: #eeeeee;--cell-heading-color: #696969;--svg-filter: drop-shadow(10px 10px 10px var(--app-shadow-color));--password-bg-color: #d7dadf;--password-color-weak: #e46d6e;--password-color-medium: #f8bc4a;--password-color-good: #acc578;--password-color-strong: #57c255;--scroll-thumb-color: #949697}:root [data-theme=dark][data-v-34b1686b]{--dark-blue: #181a1b;--light-grey: #cfd0d0;--app-background-color: var(--dark-blue);--app-color: var(--light-grey);--app-color-light: #6f7070;--app-a-color: var(--light-grey);--app-a-text-decoration-color: #494949;--app-shadow-color: #383d3f;--app-loading-color: #414141;--app-loading-top-color: #949494;--button-hover-color: var(--app-color);--button-transparent-hover-color: #233240;--button-cancel-bg-color: var(--dark-blue);--button-cancel-color: var(--app-color);--button-confirm-bg-color: var(--dark-blue);--button-confirm-color: var(--app-color);--button-danger-bg-color: var(--dark-blue);--button-danger-color: #dc3545;--button-danger-hover-bg-color: #dc3545;--button-danger-hover-color: var(--dark-blue);--card-border-color: #494f52;--input-border-color: #494f52;--input-bg-color: var(--dark-blue);--input-color: var(--app-color);--input-error-color: #dc3545;--dropdown-hover-color: #233240;--dropdown-background-color: var(--dark-blue);--dropdown-border-color: var(--input-border-color);--policy-border-color: #ccc;--policy-link-color: var(--alert-color);--box-shadow-color: lightgrey;--admin-disabled-input-color: var(--dark-blue);--custom-checkbox-border-color: #665f54;--custom-checkbox-checked-bg-color: #575e62;--custom-checkbox-checked-color: #e8e6e3;--calendar-border-color: var(--input-border-color);--calendar-week-end-color: #1e2021;--calendar-day-color: var(--app-color);--calendar-today-color: #202324;--calendar-workouts-color: #233240;--calendar-workouts-box-shadow-0: rgba(0, 0, 0, .2);--calendar-workouts-box-shadow-1: rgba(0, 0, 0, .19);--modal-background-color: rgba(68, 68, 68, .3);--nav-bar-background-color: var(--dark-blue);--nav-bar-link-active: #ffffff;--nav-border-color: var(--input-border-color);--mobile-menu-selected-color: var(--dark-blue);--mobile-menu-selected-bgcolor: #9da3af;--footer-background-color: var(--dark-blue);--footer-border-color: var(--input-border-color);--footer-color: #9f968a;--form-info: var(--app-color);--alert-background-color: #3f3f3f;--alert-color: #d6dde3;--info-background-color: #33353a;--info-color: var(--app-color);--error-background-color: #4e0000;--error-color: #ea464f;--success-background-color: #24391c;--success-color: #97cd97;--disabled-background-color: var(--dark-blue);--disabled-border-color: transparent;--disabled-color: #727272;--disabled-sport-color: #616161;--scroll-button-bg-color: var(--dark-blue);--workout-trophy-color: #daa520;--workout-img-color: invert(22%) sepia(25%) saturate(646%) hue-rotate(169deg) brightness(97%) contrast(96%);--workout-no-map-bg-color: #eaeaea;--workout-no-map-color: #585959;--map-control-color: #000000;--map-control-bg-color: #ffffff;--map-control-border-color: #bfc0ab;--map-control-hover-bg-color: #eff0f5;--map-attribution-text: #e8e8e8;--map-display-hover-attribution-text: #444444;--map-attribution-bg-color: none;--map-filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.85);--map-display-hover-filter: invert(1) hue-rotate(180deg) brightness(1.5) contrast(.6);--map-layers-overlays: var(--app-color);--map-control-bar: var(--app-color);--no-map-filter: invert(1) brightness(1.5) contrast(.9);--workout-static-map-shadow-color: #d2d2d2;--workout-static-map-bg-color: #818181;--icon-svg-filter: invert(90%) sepia(19%) saturate(0%) hue-rotate(39deg) brightness(86%) contrast(102%);--cell-heading-bg-color: #383838;--cell-heading-color: #eeeeee;--svg-filter: drop-shadow(10px 10px 10px var(--app-shadow-color));--password-bg-color: #d7dadf;--password-color-weak: #831819;--password-color-medium: #9e6906;--password-color-good: #4b5826;--password-color-strong: #4a8c32;--scroll-thumb-color: #949697}@font-face{font-family:PT Sans;font-style:normal;font-weight:400;src:url(/static/fonts/pt-sans-v9-latin-regular-T9JcUGms.eot);src:local("PT Sans"),local("PTSans-Regular"),url(/static/fonts/pt-sans-v9-latin-regular-T9JcUGms.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-regular-45aO1uf0.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-regular-IXe2Axuj.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-regular-pqSZZJmj.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-regular-21U27O2x.svg#PTSans) format("svg")}@font-face{font-family:PT Sans;font-style:italic;font-weight:400;src:url(/static/fonts/pt-sans-v9-latin-italic-4DDtZWYF.eot);src:local("PT Sans Italic"),local("PTSans-Italic"),url(/static/fonts/pt-sans-v9-latin-italic-4DDtZWYF.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-italic-1FTPleHH.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-italic-DwGwmXuQ.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-italic-I2gXY_1s.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-italic-YH_Gnq5o.svg#PTSans) format("svg")}@font-face{font-family:PT Sans;font-style:normal;font-weight:700;src:url(/static/fonts/pt-sans-v9-latin-700-skEWD7W_.eot);src:local("PT Sans Bold"),local("PTSans-Bold"),url(/static/fonts/pt-sans-v9-latin-700-skEWD7W_.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-700-BC8QGIrG.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-700-tcZ3J-O8.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-700-TR0YiIVK.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-700-Xyyq4crW.svg#PTSans) format("svg")}html [data-theme=dark][data-v-34b1686b]{color-scheme:dark}body[data-v-34b1686b]{margin:0;overflow-y:scroll;scrollbar-gutter:stable both-edges}body[data-v-34b1686b]::-webkit-scrollbar{width:5px;height:5px}body[data-v-34b1686b]::-webkit-scrollbar-track{background:transparent}body[data-v-34b1686b]::-webkit-scrollbar-thumb{background:transparent;border-radius:10px}body[data-v-34b1686b]:hover::-webkit-scrollbar-thumb{background:var(--scroll-thumb-color)}body[data-v-34b1686b]:hover::-webkit-scrollbar-track{background:transparent}#app[data-v-34b1686b]{font-family:PT Sans,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--app-color);background-color:var(--app-background-color);margin:0;min-height:100vh}a[data-v-34b1686b]{color:var(--app-a-color);text-decoration-color:var(--app-a-text-decoration-color)}a[data-v-34b1686b]:hover,a[data-v-34b1686b]:focus{text-decoration-color:var(--app-a-color)}img[data-v-34b1686b]{max-width:100%}input[data-v-34b1686b],textarea[data-v-34b1686b],select[data-v-34b1686b]{background-color:var(--input-bg-color);border-radius:4px;border:solid 1px var(--input-border-color);color:var(--input-color);padding:10px}input[data-v-34b1686b]:disabled,textarea[data-v-34b1686b]:disabled,select[data-v-34b1686b]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}form.errors[data-v-34b1686b] :invalid{outline:2px solid var(--input-error-color)}label[data-v-34b1686b]{font-weight:700}button[data-v-34b1686b]{background:var(--app-background-color);border:solid 1px var(--input-border-color);border-radius:4px;box-shadow:2px 2px 2px var(--app-shadow-color);color:var(--app-color);padding:6px 14px}button.transparent[data-v-34b1686b]{font-family:PT Sans,Helvetica,Arial,sans-serif;font-size:1em;border-color:transparent;box-shadow:none}button.transparent[data-v-34b1686b]:hover,button.transparent[data-v-34b1686b]:disabled{background:transparent}button.transparent[data-v-34b1686b]:hover{color:var(--app-color)}button.transparent[data-v-34b1686b]:enabled:active{box-shadow:none}button.transparent[data-v-34b1686b]:disabled,button.transparent.confirm[data-v-34b1686b]:disabled{border-color:var(--disabled-border-color);color:var(--disabled-color)}button[data-v-34b1686b]:hover{background:var(--button-transparent-hover-color);color:var(--button-hover-color)}button[data-v-34b1686b]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-34b1686b]:disabled,button.confirm[data-v-34b1686b]:disabled{background:var(--disabled-background-color);color:var(--disabled-color)}button.cancel[data-v-34b1686b]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-34b1686b]:hover{background:var(--button-transparent-hover-color);color:var(--button-hover-color)}button.confirm[data-v-34b1686b]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-34b1686b]:hover{background:var(--button-transparent-hover-color);color:var(--button-hover-color)}button.danger[data-v-34b1686b]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-34b1686b]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-34b1686b]:disabled{background:var(--disabled-background-color);color:var(--disabled-color)}.box[data-v-34b1686b]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-34b1686b]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-34b1686b]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-34b1686b]{display:flex;flex-direction:column}.form-box .form-items input[data-v-34b1686b]{margin:10px;padding:5px}.form-info[data-v-34b1686b]{color:var(--form-info);font-size:.8em;margin-top:-2px;padding:0 15px}.success-message[data-v-34b1686b]{margin:20px 0;background-color:var(--success-background-color);color:var(--success-color)}.upper[data-v-34b1686b]{text-transform:uppercase}.view[data-v-34b1686b]{padding-bottom:35px;background-color:var(--app-background-color)}.fa-trophy[data-v-34b1686b]{color:var(--workout-trophy-color)}.mountains[data-v-34b1686b]{margin-bottom:-3px;height:16px;filter:var(--icon-svg-filter)}.section-title[data-v-34b1686b]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-34b1686b]{background-color:var(--workout-no-map-bg-color);background-image:url(/static/img/map-3oCLAjmu.svg);background-size:contain;background-repeat:no-repeat;background-position:center;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-34b1686b]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-34b1686b]{display:inline-flex}@media screen and (max-width: 300px){.custom-checkboxes-group .custom-checkboxes[data-v-34b1686b]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-34b1686b]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-34b1686b]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-34b1686b]{border:solid 1px var(--custom-checkbox-border-color);border-radius:5px;display:block;font-size:.9em;padding:2px 6px;text-align:center}.custom-checkboxes-group .custom-checkboxes .custom-checkbox input:checked+span[data-v-34b1686b]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-34b1686b]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-34b1686b]{font-weight:700}.description-list dl dd[data-v-34b1686b]{margin-bottom:10px}.center-card[data-v-34b1686b]{margin:0 auto;width:700px}.center-card.with-margin[data-v-34b1686b]{margin-top:100px}@media screen and (max-width: 1000px){.center-card[data-v-34b1686b]{width:100%;margin:0 auto 50px}}.text-center[data-v-34b1686b]{text-align:center}.text-left[data-v-34b1686b]{text-align:left}.responsive-table[data-v-34b1686b]{margin-bottom:15px}.responsive-table table[data-v-34b1686b]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-34b1686b]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-34b1686b]{font-size:.95em}.responsive-table table tbody td[data-v-34b1686b]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-34b1686b]{border:none}.responsive-table table .cell-heading[data-v-34b1686b]{background:var(--cell-heading-bg-color);color:var(--cell-heading-color);display:none;font-size:10px;font-weight:700;padding:5px;position:absolute;text-transform:uppercase;top:0;left:0}@media screen and (max-width: 700px){.responsive-table table thead[data-v-34b1686b]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-34b1686b]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-34b1686b]{border:1px solid var(--card-border-color);margin:0 -1px -1px 0;padding-top:25px!important;position:relative;text-align:center;width:45%}.responsive-table table tbody tr:last-child td[data-v-34b1686b]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-34b1686b]{display:flex}}@media screen and (max-width: 500px){.responsive-table table td[data-v-34b1686b]{width:100%}}.profile-buttons[data-v-34b1686b]{display:flex;gap:10px}.medium-sport-img[data-v-34b1686b]{height:35px;width:35px;margin:0 auto}.about-text[data-v-34b1686b]{margin-top:200px;margin-right:100px}@media screen and (max-width: 700px){.about-text[data-v-34b1686b]{margin-top:0;margin-right:0}}.about-text .fa-padding[data-v-34b1686b]{padding-right:10px}.about-text .about-instance[data-v-34b1686b]{font-weight:700;margin-top:30px}#bike[data-v-dc181e30]{display:flex;justify-content:center;margin-top:180px;padding:10px}#bike .bike-img[data-v-dc181e30]{max-width:200px}@media screen and (max-width: 700px){#bike[data-v-dc181e30]{margin-top:10px}#bike .bike-img[data-v-dc181e30]{max-width:150px}}#about[data-v-ef9c7198]{display:flex;height:100%}#about .container[data-v-ef9c7198]{display:flex;flex-direction:row;justify-content:space-evenly;margin-bottom:20px;width:100%}#about .container .container-sub[data-v-ef9c7198]{min-width:50%;height:100%}#about .container .about-details[data-v-ef9c7198]{width:100%}@media screen and (max-width: 1000px){#about[data-v-ef9c7198]{height:auto}#about .container .container-sub[data-v-ef9c7198]{align-items:center}#about .container .container-sub .bike-img[data-v-ef9c7198]{max-width:60%}}@media screen and (max-width: 700px){#about .container[data-v-ef9c7198]{flex-direction:column}}#error[data-v-48ec856d]{display:flex;align-items:center;justify-content:center;height:75vh;text-align:center}#error .error-content[data-v-48ec856d]{margin-top:50px}#error .error-content h1[data-v-48ec856d]{font-size:6em;text-shadow:4px 4px 0 var(--app-shadow-color)}#error .error-content p[data-v-48ec856d]{font-size:1.2em;margin:30px 0}#admin .admin-card[data-v-5eee0876]{width:100%}#admin .admin-card[data-v-5eee0876] .card .admin-form{display:flex;flex-direction:column}#admin .admin-card[data-v-5eee0876] .card .admin-form label{display:flex;align-items:center;justify-content:space-between;margin:10px 0;flex-wrap:wrap}#admin .admin-card[data-v-5eee0876] .card .admin-form label input{width:50%;font-size:.9em;margin-right:50px}@media screen and (max-width: 1000px){#admin .admin-card[data-v-5eee0876] .card .admin-form label input{margin-right:0}}@media screen and (max-width: 700px){#admin .admin-card[data-v-5eee0876] .card .admin-form label input{width:100%}}#admin .admin-card[data-v-5eee0876] .card .admin-form label input:disabled{-webkit-appearance:none;-moz-appearance:textfield;background-color:var(--admin-disabled-input-color);border-color:var(--admin-disabled-input-color);color:var(--app-color)}#admin .admin-card[data-v-5eee0876] .card .admin-form .form-buttons{display:flex;gap:10px;margin-bottom:10px}.static-map{display:flex;position:relative}.static-map.display-hover{position:absolute;margin-left:20px;margin-top:3px;width:400px;height:225px;z-index:100;filter:var(--map-display-hover-filter)}.static-map.display-hover .map-attribution-text{color:var(--map-display-hover-attribution-text);background-color:var(--map-attribution-bg-color)}.static-map .bg-map-image{background-size:cover;background-position:center;opacity:.6;height:200px;width:100%;filter:var(--map-filter)}.static-map .map-attribution{top:0;right:0;font-size:11px;position:absolute}.static-map .map-attribution-text{color:var(--map-attribution-text);background-color:var(--map-attribution-bg-color)}.mountains[data-v-0bcae633]{padding-right:5px}.timeline-workout[data-v-0bcae633]{margin-bottom:20px}.timeline-workout .box[data-v-0bcae633]{flex-direction:column;padding:0}.timeline-workout .box .workout-user-date[data-v-0bcae633]{display:flex;justify-content:space-between;align-items:flex-start;padding:5px 10px}.timeline-workout .box .workout-user-date .workout-user[data-v-0bcae633]{display:flex}.timeline-workout .box .workout-user-date .workout-user[data-v-0bcae633] .user-picture img{height:25px;width:25px}.timeline-workout .box .workout-user-date .workout-user[data-v-0bcae633] .user-picture .no-picture{font-size:1.5em}.timeline-workout .box .workout-user-date .workout-user .workout-user-name[data-v-0bcae633]{white-space:nowrap;padding-left:5px;text-decoration:none}.timeline-workout .box .workout-user-date .workout-date[data-v-0bcae633]{font-size:.85em;font-style:italic;white-space:nowrap}.timeline-workout .box .workout-user-date .workout-title[data-v-0bcae633]{display:block;text-align:center;padding:0 10px}@media screen and (max-width: 500px){.timeline-workout .box .workout-user-date .workout-title[data-v-0bcae633]{display:none}}.timeline-workout .box .workout-map[data-v-0bcae633]{background-color:var(--workout-static-map-bg-color);height:150px}.timeline-workout .box .workout-map .no-map[data-v-0bcae633]{line-height:150px;filter:var(--no-map-filter)}.timeline-workout .box .workout-map[data-v-0bcae633] .bg-map-image{height:150px}.timeline-workout .box .workout-data[data-v-0bcae633]{display:flex;padding:5px;font-size:.9em}.timeline-workout .box .workout-data .sport-img[data-v-0bcae633]{height:25px;width:25px}.timeline-workout .box .workout-data .img[data-v-0bcae633],.timeline-workout .box .workout-data .data[data-v-0bcae633]{display:flex;align-items:center}.timeline-workout .box .workout-data .img .data-values[data-v-0bcae633],.timeline-workout .box .workout-data .data .data-values[data-v-0bcae633]{display:flex;flex-wrap:wrap}.timeline-workout .box .workout-data .img[data-v-0bcae633]{justify-content:flex-end;width:10%}.timeline-workout .box .workout-data .data[data-v-0bcae633]{justify-content:center;width:22%}@media screen and (max-width: 500px){.timeline-workout .box .workout-data .img[data-v-0bcae633]{justify-content:center;width:20%}.timeline-workout .box .workout-data .data[data-v-0bcae633]{justify-content:center;width:40%}.timeline-workout .box .workout-data .altitude[data-v-0bcae633],.timeline-workout .box .workout-data .elevation[data-v-0bcae633]{display:none}}.timeline-workout .box .workout-data.without-elevation .img[data-v-0bcae633],.timeline-workout .box .workout-data.without-elevation .data[data-v-0bcae633]{justify-content:center;width:33%}.timeline-workout .box .workout-map[data-v-0bcae633],.timeline-workout .box .workout-data[data-v-0bcae633]{cursor:pointer}.timeline-workout .box .no-cursor[data-v-0bcae633]{cursor:default}.timeline-workout .box .fa[data-v-0bcae633]{padding-right:10px}.no-workouts[data-v-b0c91cc6]{display:flex;justify-content:center}#timeline[data-v-e0964959]{margin-bottom:20px}#timeline .more-workouts[data-v-e0964959]{display:flex;justify-content:center}.calendar-workout{display:flex;padding:1px;cursor:pointer}.calendar-workout .sport-img{width:18px;height:18px}.calendar-workout sup{position:relative;top:-8px;left:-3px;width:2px}.calendar-workout sup .custom-fa-small{font-size:.7em}@media screen and (max-width: 700px){.calendar-workout .sport-img{padding:3px;width:20px;height:20px}.calendar-workout sup .custom-fa-small{font-size:.6em}}.calendar-workouts-chart[data-v-bf05bb20]{display:flex}.calendar-workouts-chart .workouts-chart[data-v-bf05bb20]{position:relative}.calendar-workouts-chart .workouts-chart .workouts-count[data-v-bf05bb20]{display:flex;justify-content:center;position:absolute;top:4px;left:6px;width:20px;font-size:1.1em;font-weight:700}@media screen and (max-width: 700px){.calendar-workouts-chart .workouts-chart .workouts-count[data-v-bf05bb20]{top:16px;left:6px}.calendar-workouts-chart .workouts-chart[data-v-bf05bb20] .donut-chart{padding-top:12px}.calendar-workouts-chart .workouts-chart[data-v-bf05bb20] .donut-chart svg g circle{stroke-width:2;stroke-opacity:.8}}.calendar-workouts-chart .workouts-pane[data-v-bf05bb20]{display:flex;padding-left:40px}.calendar-workouts-chart .workouts-pane .more-workouts[data-v-bf05bb20]{background:var(--calendar-workouts-color);border-radius:4px;box-shadow:0 4px 8px 0 var(--calendar-workouts-box-shadow-0),0 6px 20px 0 var(--calendar-workouts-box-shadow-1);position:absolute;top:52px;left:0;min-width:60px;margin-bottom:20px;padding:10px;display:flex;flex-wrap:wrap;z-index:1000}@media screen and (max-width: 700px){.calendar-workouts-chart .workouts-pane .more-workouts[data-v-bf05bb20]{min-width:70px}}.calendar-workouts-chart .workouts-pane .more-workouts .calendar-more[data-v-bf05bb20]{position:absolute;font-size:.9em;top:5px;right:5px}.calendar-workouts .desktop-display{display:flex}.calendar-workouts .mobile-display{display:none}.calendar-workouts .workouts-display{display:flex;flex-wrap:wrap;position:relative;margin:0 10px 0 0}.calendar-workouts .donut-display{display:flex;height:34px;width:34px}@media screen and (max-width: 700px){.calendar-workouts .desktop-display{display:none}.calendar-workouts .mobile-display{display:flex}}.calendar-cells{display:flex;flex-direction:column;width:100%}.calendar-cells .calendar-row{display:flex;flex-wrap:wrap;border-top:solid 1px var(--calendar-border-color)}.calendar-cells .calendar-row .calendar-cell{border-right:solid 1px var(--calendar-border-color);height:40px;flex-grow:1;flex-basis:8%;padding:5px 10px 5px 5px;width:8%;position:relative}.calendar-cells .calendar-row .calendar-cell .calendar-cell-day{position:absolute;font-size:.8em;line-height:1;top:.5em;right:.5em;font-weight:700}.calendar-cells .calendar-row .calendar-cell:last-child{border-right:0}@media screen and (max-width: 700px){.calendar-cells .calendar-row .calendar-cell:last-child .calendar-workouts .more-workouts{left:-45px}}.calendar-cells .calendar-row .disabled-cell{color:var(--app-color-light)}.calendar-cells .calendar-row .week-end{background:var(--calendar-week-end-color)}.calendar-cells .calendar-row .today{background:var(--calendar-today-color)}@media screen and (max-width: 700px){.calendar-cells .calendar-row:last-child .calendar-workouts .more-workouts{top:inherit;bottom:20px}}.calendar-days{display:flex;flex-direction:row;border-top:solid 1px var(--calendar-border-color)}.calendar-days .calendar-day{flex-grow:1;padding:5px;text-align:center;text-transform:uppercase;color:var(--calendar-day-color)}.calendar-header{display:flex;flex-direction:row}.calendar-header .calendar-arrow,.calendar-header .calendar-month{flex-grow:1;padding:10px}.calendar-header .calendar-arrow-left{text-align:left;cursor:pointer}.calendar-header .calendar-arrow-right{text-align:right;cursor:pointer}.calendar-header .calendar-month{font-weight:700;text-align:center;text-transform:uppercase}#user-calendar .calendar-card,#user-calendar .calendar-card .card-content{padding:0}.bar-chart[data-v-d506f845]{position:relative;min-height:400px;width:100%}.bar-chart.minimal[data-v-d506f845]{min-height:300px}@media screen and (max-width: 700px){.bar-chart[data-v-d506f845]{min-height:268px}.bar-chart.minimal[data-v-d506f845]{min-height:290px}}@media screen and (max-width: 420px){.bar-chart[data-v-d506f845]{width:calc(100vw - 95px)}}.stats-chart[data-v-b8d7f5c9]{width:100%}.stats-chart .chart-radio[data-v-b8d7f5c9]{display:flex;justify-content:space-between;flex-wrap:wrap;padding:10px}.stats-chart .chart-radio label[data-v-b8d7f5c9]{font-size:.85em;font-weight:400}@media screen and (max-width: 700px){.stats-chart .chart-radio label[data-v-b8d7f5c9]{padding-bottom:10px}}.user-month-stats[data-v-8f59a282] .card-content{padding:10px}.records-card[data-v-64523a87]{width:100%;padding-bottom:3px}.records-card[data-v-64523a87] .card{font-size:.9em}.records-card[data-v-64523a87] .card .card-title{display:flex;font-size:.9em}.records-card[data-v-64523a87] .card .card-title .sport-img{padding-right:10px;height:20px;width:20px}.records-card[data-v-64523a87] .card .card-content{font-size:.9em;padding:10px}.records-card[data-v-64523a87] .card .card-content .record{display:flex;align-items:center;justify-content:space-between}.records-card[data-v-64523a87] .card .card-content .record span{padding:2px}.records-card[data-v-64523a87] .card .card-content .record .record-type{flex-grow:1}.records-card[data-v-64523a87] .card .card-content .record .record-value{font-weight:700;white-space:nowrap;padding-right:10px}.records-card[data-v-64523a87] .card .card-content .record .record-date{white-space:nowrap;min-width:30%;text-align:right}@media screen and (max-width: 1000px){.records-card[data-v-64523a87] .card,.records-card[data-v-64523a87] .card .card-title{font-size:1em}.records-card[data-v-64523a87] .card .card-title .sport-img{height:22px;width:22px}}.user-records .no-records[data-v-fff33919]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}#user-stats{display:flex;flex:1 0 25%;justify-content:space-around;flex-wrap:wrap}.privacy-policy-message[data-v-1b250692]{background:var(--alert-background-color);color:var(--alert-color);border-radius:4px;padding:10px 20px}.privacy-policy-message .policy-link[data-v-1b250692]{color:var(--policy-link-color);text-decoration:underline}#dashboard .dashboard-container[data-v-8f5da609]{display:flex;flex-direction:row}#dashboard .dashboard-container .dashboard-sub-container[data-v-8f5da609]{display:flex;flex-direction:column}#dashboard .dashboard-container .left-container[data-v-8f5da609]{width:32%}#dashboard .dashboard-container .right-container[data-v-8f5da609]{width:68%}#dashboard .mobile-menu[data-v-8f5da609]{display:none}#dashboard .privacy-policy-message[data-v-8f5da609]{display:flex;justify-content:center}@media screen and (max-width: 1000px){#dashboard[data-v-8f5da609]{padding-bottom:60px}#dashboard .dashboard-container[data-v-8f5da609]{display:flex;flex-direction:column}#dashboard .dashboard-container .left-container[data-v-8f5da609],#dashboard .dashboard-container .right-container[data-v-8f5da609]{width:100%}#dashboard .mobile-menu[data-v-8f5da609]{display:flex}#dashboard .mobile-menu .box[data-v-8f5da609]{display:flex;justify-content:space-between;padding:0;width:100%}#dashboard .mobile-menu .box .mobile-menu-item[data-v-8f5da609]{display:flex;justify-content:space-around;border:none;border-radius:4px;box-shadow:none;font-size:.95em;padding:10px;width:25%}#dashboard .mobile-menu .box .mobile-menu-item .fa-trophy[data-v-8f5da609]{color:var(--app-color)}#dashboard .mobile-menu .box .mobile-menu-item.is-selected[data-v-8f5da609]{color:var(--mobile-menu-selected-color);background-color:var(--mobile-menu-selected-bgcolor)}#dashboard .mobile-menu .box .mobile-menu-item.is-selected .fa-trophy[data-v-8f5da609]{color:var(--mobile-menu-selected-color)}#dashboard .is-hidden[data-v-8f5da609]{display:none}}@media screen and (max-width: 700px){#dashboard .privacy-policy-message[data-v-8f5da609]{margin:0 5px}}.chart-menu[data-v-174c91c4]{display:flex;align-items:center}.chart-menu .chart-arrow[data-v-174c91c4],.chart-menu .time-frames[data-v-174c91c4]{flex-grow:1;text-align:center}.chart-menu .chart-arrow[data-v-174c91c4]{cursor:pointer}.sports-menu{display:flex;flex-wrap:wrap;padding:10px}.sports-menu label{display:flex;align-items:center;font-size:.9em;font-weight:400;min-width:120px;padding:10px}@media screen and (max-width: 1000px){.sports-menu label{min-width:100px}}@media screen and (max-width: 500px){.sports-menu label{min-width:20px}.sports-menu label .sport-label{display:none}}.sports-menu .sport-img{padding:3px;width:20px;height:20px}#user-statistics.stats-disabled[data-v-b145e4ac]{opacity:.3;pointer-events:none}#user-statistics[data-v-b145e4ac] .chart-radio{justify-content:space-around;padding:30px 10px 10px}#statistics[data-v-0aa997fa]{display:flex;width:100%}#statistics .container[data-v-0aa997fa]{display:flex;flex-direction:column;width:100%}[data-v-13388f00]:root{--app-background-color: #ffffff;--app-color: #2c3e50;--app-color-light: #6f7070;--app-a-color: #40578a;--app-a-text-decoration-color: #d2d2d2;--app-shadow-color: lightgrey;--app-loading-color: #f3f3f3;--app-loading-top-color: var(--app-color);--button-hover-color: #ffffff;--button-transparent-hover-color: var(--app-color);--button-cancel-bg-color: #ffffff;--button-cancel-color: var(--app-color);--button-confirm-bg-color: #ffffff;--button-confirm-color: var(--app-color);--button-danger-bg-color: #ffffff;--button-danger-color: #dc3545;--button-danger-hover-bg-color: #dc3545;--button-danger-hover-color: #ffffff;--card-border-color: #c4c7cf;--input-border-color: #9da3af;--input-bg-color: #ffffff;--input-color: var(--app-color);--input-error-color: #dc3545;--dropdown-hover-color: #eff0f5;--dropdown-background-color: #ffffff;--dropdown-border-color: lightgrey;--policy-border-color: #ccc;--policy-link-color: var(--app-a-color);--box-shadow-color: lightgrey;--admin-disabled-input-color: #ffffff;--custom-checkbox-border-color: #6d797a;--custom-checkbox-checked-bg-color: #6d797a;--custom-checkbox-checked-color: #ffffff;--calendar-border-color: #c4c7cf;--calendar-week-end-color: #f5f5f5;--calendar-day-color: var(--app-color-light);--calendar-today-color: #eff1f3;--calendar-workouts-color: whitesmoke;--calendar-workouts-box-shadow-0: rgba(0, 0, 0, .2);--calendar-workouts-box-shadow-1: rgba(0, 0, 0, .19);--modal-background-color: rgba(0, 0, 0, .3);--nav-bar-background-color: #ffffff;--nav-bar-link-active: #485b6e;--nav-border-color: #c5ccdb;--mobile-menu-selected-color: #ffffff;--mobile-menu-selected-bgcolor: #9da3af;--footer-background-color: #ffffff;--footer-border-color: #ebeef3;--footer-color: #6f7070;--form-info: var(--alert-color);--alert-background-color: #d6dde3;--alert-color: #3f3f3f;--info-background-color: #e5e7ea;--info-color: var(--app-color);--error-background-color: #ffd2d2;--error-color: #db1924;--success-background-color: #d9ecd9;--success-color: #306430;--disabled-background-color: #e0e0e0;--disabled-border-color: transparent;--disabled-color: #727272;--disabled-sport-color: #616161;--scroll-button-bg-color: rgba(255, 255, 255, .7);--workout-trophy-color: #daa520;--workout-img-color: invert(22%) sepia(25%) saturate(646%) hue-rotate(169deg) brightness(97%) contrast(96%);--workout-no-map-bg-color: #eaeaea;--workout-no-map-color: #585959;--map-control-color: #000000;--map-control-bg-color: #ffffff;--map-control-border-color: #bfc0ab;--map-control-hover-bg-color: var(--dropdown-hover-color);--map-attribution-text: var(--app-color);--map-display-hover-attribution-text: initial;--map-attribution-bg-color: rgba(255, 255, 255, .7);--map-filter: initial;--map-display-hover-filter: initial;--map-layers-overlays: initial;--map-control-bar: #bfc0ab;--no-map-filter: initial;--workout-static-map-shadow-color: var(--app-shadow-color);--workout-static-map-bg-color: var(--workout-no-map-bg-color);--icon-svg-filter: invert(19%) sepia(9%) saturate(2921%) hue-rotate(169deg) brightness(85%) contrast(80%);--cell-heading-bg-color: #eeeeee;--cell-heading-color: #696969;--svg-filter: drop-shadow(10px 10px 10px var(--app-shadow-color));--password-bg-color: #d7dadf;--password-color-weak: #e46d6e;--password-color-medium: #f8bc4a;--password-color-good: #acc578;--password-color-strong: #57c255;--scroll-thumb-color: #949697}#user-auth-form[data-v-13388f00]{display:flex}#user-auth-form #user-form[data-v-13388f00]{width:60%}#user-auth-form #user-form .account[data-v-13388f00]{font-size:.9em;padding-left:10px}#user-auth-form #user-form .links[data-v-13388f00]{font-size:.9em;font-style:italic;padding:0 10px}#user-auth-form #user-form button[data-v-13388f00]{margin:10px;border:solid 1px var(--app-color)}#user-auth-form #user-form button[data-v-13388f00]:disabled{border-color:var(--disabled-color)}#user-auth-form #user-form .success-message[data-v-13388f00]{margin:10px}#user-auth-form #user-form .accepted_policy[data-v-13388f00]{display:flex;align-items:center;font-size:.85em;font-weight:400}@media screen and (max-width: 1000px){#user-auth-form[data-v-13388f00]{margin-bottom:50px}#user-auth-form #user-form[data-v-13388f00]{width:100%}}.user-form[data-v-13388f00]{margin-top:200px}@media screen and (max-width: 700px){.user-form[data-v-13388f00]{margin-top:10px}}#account-confirmation-email[data-v-b0299010]{display:flex;flex-direction:column}#account-confirmation-email .email-sent[data-v-b0299010]{display:flex;flex-direction:column;align-items:center}#account-confirmation-email .email-sent svg[data-v-b0299010]{stroke:none;fill-rule:nonzero;fill:var(--app-color);filter:var(--svg-filter);width:100px}#account-confirmation-email .email-sent .email-sent-message[data-v-b0299010]{font-size:1.1em;text-align:center}@media screen and (max-width: 1000px){#account-confirmation-email .email-sent .email-sent-message[data-v-b0299010]{font-size:1em}}#account-confirmation-email[data-v-b0299010] .card .card-content #user-auth-form{margin-top:0}#account-confirmation-email[data-v-b0299010] .card .card-content #user-auth-form #user-form{width:100%}#account-confirmation[data-v-9a9c1644]{display:flex}#account-confirmation .container[data-v-9a9c1644]{display:flex;justify-content:center;width:50%}@media screen and (max-width: 700px){#account-confirmation .container[data-v-9a9c1644]{width:100%}}#account-confirmation[data-v-a0fa0b62]{display:flex;flex-direction:column;align-items:center}#account-confirmation svg[data-v-a0fa0b62]{stroke:none;fill-rule:nonzero;fill:var(--app-color);filter:var(--svg-filter);width:100px}#account-confirmation .error-message[data-v-a0fa0b62]{font-size:1.1em;text-align:center;display:flex;flex-direction:column}@media screen and (max-width: 1000px){#account-confirmation .error-message[data-v-a0fa0b62]{font-size:1em}}#email-update[data-v-b8fbd32f]{display:flex;flex-direction:column;align-items:center}#email-update svg[data-v-b8fbd32f]{stroke:none;fill-rule:nonzero;fill:var(--app-color);filter:var(--svg-filter);width:100px}#email-update .error-message[data-v-b8fbd32f]{font-size:1.1em;text-align:center;display:flex;flex-direction:column}@media screen and (max-width: 1000px){#email-update .error-message[data-v-b8fbd32f]{font-size:1em}}#loginOrRegister[data-v-84d61340]{display:flex}#loginOrRegister .container[data-v-84d61340]{display:flex;flex-direction:row;justify-content:space-evenly;margin-bottom:20px;width:100%}#loginOrRegister .container .container-sub[data-v-84d61340]{min-width:50%;height:100%}@media screen and (max-width: 1000px){#loginOrRegister[data-v-84d61340]{height:auto}#loginOrRegister .container .container-sub[data-v-84d61340]{align-items:center}#loginOrRegister .container .container-sub .bike-img[data-v-84d61340]{max-width:60%}}@media screen and (max-width: 700px){#loginOrRegister .container[data-v-84d61340]{flex-direction:column}}#password-action-done[data-v-ee1004fc]{display:flex;flex-direction:column;align-items:center}#password-action-done svg[data-v-ee1004fc]{stroke:none;fill-rule:nonzero;fill:var(--app-color);filter:var(--svg-filter);width:100px}#password-action-done .password-message[data-v-ee1004fc]{font-size:1.1em;text-align:center}@media screen and (max-width: 1000px){#password-action-done .password-message[data-v-ee1004fc]{font-size:1em}}#password-reset-request[data-v-97f01ba1] .card .card-content #user-form{width:100%}#password-reset[data-v-5cbe9029]{display:flex}#password-reset .container[data-v-5cbe9029]{display:flex;justify-content:center;width:50%}@media screen and (max-width: 700px){#password-reset .container[data-v-5cbe9029]{width:100%}}#profile[data-v-af92ad3a]{display:flex;flex-direction:column;padding:0 10px 40px}#profile[data-v-af92ad3a] .profile-form{display:flex;flex-direction:column}#profile[data-v-af92ad3a] .profile-form hr{border-color:var(--card-border-color);border-width:1px 0 0 0}#profile[data-v-af92ad3a] .profile-form .form-items{display:flex;flex-direction:column}#profile[data-v-af92ad3a] .profile-form .form-items input{margin:5px 0}#profile[data-v-af92ad3a] .profile-form .form-items select{height:35px;padding:5px 0}#profile[data-v-af92ad3a] .profile-form .form-items ::v-deep(.custom-textarea) textarea{padding:5px}#profile[data-v-af92ad3a] .profile-form .form-items .form-item{display:flex;flex-direction:column;padding:10px}#profile[data-v-af92ad3a] .profile-form .form-items .birth-date{height:20px}#profile[data-v-af92ad3a] .profile-form .form-buttons{display:flex;margin-top:10px;padding:10px 0;gap:10px}#user[data-v-1b7a0b4f]{margin:auto;width:700px}@media screen and (max-width: 1000px){#user[data-v-1b7a0b4f]{width:100%;margin:0 auto 50px}}#workout-edition[data-v-4c5a9cd1] .card .card-title{text-align:center;text-transform:uppercase}@media screen and (max-width: 1000px){#workout-edition[data-v-4c5a9cd1] .card .card-content{padding:10px 0}}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items{display:flex;flex-direction:column}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items input{height:20px}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .workout-date-duration{display:flex;flex-direction:row;justify-content:space-between}@media screen and (max-width: 1000px){#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .workout-date-duration{flex-direction:column}}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .form-item{display:flex;flex-direction:column;padding:10px}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .form-item .workout-date-time{display:flex}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .form-item .workout-date-time #workout-date{margin-right:10px}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .form-item .workout-duration{width:25px}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .form-item-radio{display:flex;justify-content:space-around}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .form-item-radio label{font-weight:400}@media screen and (max-width: 1000px){#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .form-item-radio label{font-size:.9em}}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .form-item-radio input{margin-top:-2px;vertical-align:middle}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-buttons{display:flex;justify-content:flex-end}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-buttons button{margin:5px}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .files-help{display:flex;justify-content:space-around;margin-top:10px}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .files-help div{display:flex}@media screen and (max-width: 1000px){#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .files-help div{flex-direction:column}}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .files-help div ul{margin:0;padding:0 20px}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .workout-data{display:flex;flex-direction:row;justify-content:space-between}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .workout-data .form-item{width:30%}@media screen and (max-width: 1000px){#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .workout-data{flex-direction:column}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .workout-data .form-item{width:initial}}@media screen and (max-width: 700px){#workout-edition[data-v-4c5a9cd1]{margin-bottom:0}#workout-edition.center-form[data-v-4c5a9cd1]{margin:50px auto}#workout-edition.with-margin[data-v-4c5a9cd1]{margin-top:0}}#workout-edition .errored[data-v-4c5a9cd1]{outline:2px solid var(--input-error-color)}#workout-card-title[data-v-e1628a52]{display:flex;justify-content:space-between;align-items:center}#workout-card-title .workout-arrow[data-v-e1628a52]{cursor:pointer;padding:10px}#workout-card-title .workout-arrow.inactive[data-v-e1628a52]{color:var(--disabled-color);cursor:default}#workout-card-title .workout-card-title[data-v-e1628a52]{display:flex;flex-grow:1;align-items:center}#workout-card-title .workout-card-title .sport-img[data-v-e1628a52]{padding:0 10px}#workout-card-title .workout-card-title .sport-img[data-v-e1628a52] svg{height:35px;width:35px}#workout-card-title .workout-card-title .workout-title span[data-v-e1628a52]{margin-right:5px}#workout-card-title .workout-card-title .workout-date[data-v-e1628a52]{font-size:.8em;font-weight:400}#workout-card-title .workout-card-title .workout-segment[data-v-e1628a52]{font-weight:400}#workout-card-title .workout-card-title .workout-link[data-v-e1628a52]{padding-left:10px}#workout-card-title .workout-card-title .fa[data-v-e1628a52]{padding:0 3px}#workout-card-title .workout-card-title .icon-button[data-v-e1628a52]{cursor:pointer;padding:0;margin-left:2px}@media screen and (max-width: 700px){#workout-card-title .workout-arrow[data-v-e1628a52]{padding:5px}}@media screen and (max-width: 700px) and (max-width: 700px){#workout-card-title .workout-card-title .fa-download[data-v-e1628a52],#workout-card-title .workout-card-title .fa-trash[data-v-e1628a52],#workout-card-title .workout-card-title .fa-edit[data-v-e1628a52]{padding:0 7px}}.workout-record sup[data-v-1b247cbe]{font-size:75%;line-height:0}.wind[data-v-e1f7f9cc]{display:flex;justify-content:center}.wind .wind-bearing[data-v-e1f7f9cc]{padding-left:5px}#workout-weather[data-v-be2fffb0]{padding-top:10px}#workout-weather .weather-img[data-v-be2fffb0]{height:30px;filter:var(--icon-svg-filter)}#workout-weather .weather-img-small[data-v-be2fffb0]{height:20px}#workout-weather .weather-table[data-v-be2fffb0]{width:100%;text-align:center}#workout-weather .weather-table .weather-th[data-v-be2fffb0]{display:flex;flex-direction:column;text-transform:capitalize}#workout-weather .weather-table tbody[data-v-be2fffb0]{font-size:.8em}#workout-info[data-v-9341b3e8]{display:flex;flex-direction:column;padding:10px 20px;width:100%}#workout-info .fa[data-v-9341b3e8],#workout-info .mountains[data-v-9341b3e8]{padding-right:5px}#workout-info .workout-data[data-v-9341b3e8]{padding:5px 0}#workout-info .workout-data .label[data-v-9341b3e8]{text-transform:capitalize}#workout-info .workout-data .value[data-v-9341b3e8]{font-weight:700;text-transform:lowercase}@media screen and (max-width: 700px){#workout-info[data-v-9341b3e8]{padding:10px}}#workout-map[data-v-dac2dfa0]{padding:10px 0}#workout-map .leaflet-container[data-v-dac2dfa0],#workout-map .no-map[data-v-dac2dfa0]{height:400px;width:600px}#workout-map .no-map[data-v-dac2dfa0]{line-height:400px;filter:var(--no-map-filter)}#workout-map .leaflet-container .map[data-v-dac2dfa0]{filter:var(--map-filter)}#workout-map .leaflet-container .map-control[data-v-dac2dfa0]{background:var(--map-control-bg-color);padding:5px 10px;border:2px solid var(--map-control-border-color);border-radius:3px;color:var(--map-control-color)}#workout-map .leaflet-container .map-control[data-v-dac2dfa0]:hover{background-color:var(--map-control-hover-bg-color)}#workout-map[data-v-dac2dfa0] .fullscreen{display:flex;align-items:center;z-index:1000}#workout-map[data-v-dac2dfa0] .fullscreen .fullscreen-map{height:100%;width:100%}@media screen and (max-width: 700px){#workout-map[data-v-dac2dfa0]{padding:0}#workout-map .leaflet-container[data-v-dac2dfa0]{width:100%;height:300px}#workout-map .no-map[data-v-dac2dfa0]{display:none}}.workout-detail[data-v-f8b05eca]{display:flex}.workout-detail[data-v-f8b05eca] .card{width:100%}.workout-detail[data-v-f8b05eca] .card .card-title{padding:10px 15px}.workout-detail[data-v-f8b05eca] .card .card-content{display:flex;flex-direction:row}@media screen and (max-width: 1000px){.workout-detail[data-v-f8b05eca] .card .card-content{flex-direction:column}}#workout-chart[data-v-b15bb69d] .card .card-title{text-transform:capitalize}#workout-chart[data-v-b15bb69d] .card .card-content{display:flex;flex-direction:column}#workout-chart[data-v-b15bb69d] .card .card-content .chart-radio{width:100%;display:flex;justify-content:center}#workout-chart[data-v-b15bb69d] .card .card-content .chart-radio label{padding:0 10px}#workout-chart[data-v-b15bb69d] .card .card-content .chart-info{display:flex;justify-content:space-between;font-size:.85em;font-style:italic}#workout-chart[data-v-b15bb69d] .card .card-content #chart-legend{display:flex;justify-content:center}#workout-chart[data-v-b15bb69d] .card .card-content #chart-legend ul{display:flex;margin-bottom:0;padding:0}#workout-chart[data-v-b15bb69d] .card .card-content #chart-legend ul li{cursor:pointer;display:flex;font-size:.85em;padding:0 5px}#workout-chart[data-v-b15bb69d] .card .card-content #chart-legend ul li span{border-radius:5%;border-style:solid;border-width:1.5px;height:10px;margin-top:4px;margin-left:2px;width:20px}#workout-chart[data-v-b15bb69d] .card .card-content .line-chart{min-height:400px}@media screen and (max-width: 700px){#workout-chart[data-v-b15bb69d] .card .card-content{padding:10px 0}#workout-chart[data-v-b15bb69d] .card .card-content .chart-info{display:flex;flex-direction:column-reverse}#workout-chart[data-v-b15bb69d] .card .card-content .chart-info .elevation-start{padding:10px 15px 0}#workout-chart[data-v-b15bb69d] .card .card-content .chart-info .no-data-cleaning{padding:0 20px}#workout-chart[data-v-b15bb69d] .card .card-content .line-chart{min-height:338px}}#workout-note[data-v-f3e81eff] .card-content{font-style:italic;white-space:pre-wrap}#workout-segments[data-v-15725c61] .card .card-title{text-transform:capitalize}#workout-segments[data-v-15725c61] .card .card-content{padding-bottom:0;padding-top:0}#workout-segments[data-v-15725c61] .card .card-content a{font-weight:700}#workout-segments[data-v-15725c61] .card .card-content ul{padding:0 10px;list-style:square}#workout[data-v-eac6aa4b]{display:flex}#workout .container[data-v-eac6aa4b]{width:100%;padding:0}#workout .container .workout-container[data-v-eac6aa4b]{width:100%}#workout .container .workout-loading[data-v-eac6aa4b]{height:calc(100vh - 130px);width:100%}#workout .container .workout-loading .loading[data-v-eac6aa4b]{display:flex;align-items:center;height:100%}.workouts-filters .form .form-all-items[data-v-29caaf8f]{display:flex;flex-direction:column;padding-top:0}.workouts-filters .form .form-all-items .form-items-group[data-v-29caaf8f]{display:flex;flex-direction:column;padding:5px}.workouts-filters .form .form-all-items .form-items-group .form-item[data-v-29caaf8f]{display:flex;flex-direction:column}.workouts-filters .form .form-all-items .form-items-group .form-item .form-inputs-group[data-v-29caaf8f]{display:flex;flex-direction:row;justify-content:space-around;align-items:center}.workouts-filters .form .form-all-items .form-items-group .form-item .form-inputs-group input[data-v-29caaf8f]{width:34%}.workouts-filters .form .form-all-items .form-items-group .form-item .form-inputs-group span[data-v-29caaf8f]{padding:5px}.workouts-filters .form .form-all-items .form-items-group .form-item input[data-v-29caaf8f]{height:16px}.workouts-filters .form .form-all-items .form-items-group .form-item select[data-v-29caaf8f]{height:38px;padding:0 5px}.workouts-filters .form .form-all-items .form-items-group .form-item-title[data-v-29caaf8f]{padding-top:10px}.workouts-filters .form .form-all-items .form-items-group .form-item-title input.title[data-v-29caaf8f]{width:100%}.workouts-filters .form-button[data-v-29caaf8f]{display:flex;justify-content:center;flex-wrap:wrap;margin:5px}.workouts-filters .form-button button[data-v-29caaf8f]{margin-top:10px;width:100%}@media screen and (max-width: 1000px){.workouts-filters .form .form-all-items[data-v-29caaf8f]{flex-direction:row;padding-top:5px}.workouts-filters .form .form-all-items .form-items-group[data-v-29caaf8f]{padding:0 5px;height:100%}.workouts-filters .form .form-all-items .form-items-group .form-item label[data-v-29caaf8f],.workouts-filters .form .form-all-items .form-items-group .form-item span[data-v-29caaf8f]{font-size:.9em}.workouts-filters .form .form-all-items .form-items-group .form-item .form-inputs-group[data-v-29caaf8f]{flex-direction:column;justify-content:normal;padding:0}.workouts-filters .form .form-all-items .form-items-group .form-item .form-inputs-group input[data-v-29caaf8f]{width:85%}.workouts-filters .form .form-all-items .form-items-group .form-item .form-inputs-group span[data-v-29caaf8f]{padding:0}.workouts-filters .form .form-all-items .form-items-group .form-item-title[data-v-29caaf8f]{padding-top:0}.workouts-filters .form-button[data-v-29caaf8f]{flex-wrap:initial}.workouts-filters .form-button button[data-v-29caaf8f]{margin:10px 5px;width:100%}}@media screen and (max-width: 700px){.workouts-filters .form .form-all-items[data-v-29caaf8f]{flex-direction:column;padding-top:0}.workouts-filters .form .form-all-items .form-items-group[data-v-29caaf8f]{padding:5px}.workouts-filters .form .form-all-items .form-items-group .form-item label[data-v-29caaf8f]{font-size:1em}.workouts-filters .form .form-all-items .form-items-group .form-item .form-inputs-group[data-v-29caaf8f]{flex-direction:row;justify-content:space-around;align-items:center}.workouts-filters .form .form-all-items .form-items-group .form-item .form-inputs-group input[data-v-29caaf8f]{width:50%}.workouts-filters .form .form-all-items .form-items-group .form-item .form-inputs-group span[data-v-29caaf8f]{padding:5px}.workouts-filters .form-button[data-v-29caaf8f]{flex-wrap:initial}.workouts-filters .form-button button[data-v-29caaf8f]{margin:10px 5px}}@media screen and (max-width: 500px){.workouts-filters .form-button[data-v-29caaf8f]{flex-wrap:wrap}.workouts-filters .form .form-all-items .form-items-group .form-item-title[data-v-29caaf8f]{padding-top:10px}.workouts-filters .form .form-all-items .form-items-group .form-item-title input.title[data-v-29caaf8f]{width:100%}}.workouts-list[data-v-bb980a00]{display:flex;flex-direction:column;margin-bottom:50px;width:100%}.workouts-list .box[data-v-bb980a00]{padding:10px 15px}@media screen and (max-width: 700px){.workouts-list .box.empty-table[data-v-bb980a00]{display:none}}.workouts-list .box .total[data-v-bb980a00]{display:flex;gap:5px}.workouts-list .box .total .total-label[data-v-bb980a00]{font-weight:700}.workouts-list .box .top-pagination[data-v-bb980a00]{display:none}@media screen and (max-width: 700px){.workouts-list .box .top-pagination[data-v-bb980a00]{display:flex}}@media screen and (max-width: 700px){.workouts-list .box[data-v-bb980a00] .pagination-center ul{margin-top:0}}.workouts-list .box .workouts-table .smaller th[data-v-bb980a00]{font-size:.95em;padding:10px 0;max-width:100px}.workouts-list .box .workouts-table td[data-v-bb980a00]{text-align:right}.workouts-list .box .workouts-table .sport-col[data-v-bb980a00]{padding:0}.workouts-list .box .workouts-table .workout-title[data-v-bb980a00]{text-align:left;width:100px;position:relative}.workouts-list .box .workouts-table .workout-title .fa-map-o[data-v-bb980a00]{font-size:.75em;padding-right:5px}.workouts-list .box .workouts-table .workout-title .nav-item[data-v-bb980a00]{white-space:nowrap}.workouts-list .box .workouts-table .workout-title .nav-item .title[data-v-bb980a00]{word-break:break-word;white-space:normal}.workouts-list .box .workouts-table .workout-title .static-map[data-v-bb980a00]{display:none;box-shadow:3px 3px 3px 1px var(--workout-static-map-shadow-color)}.workouts-list .box .workouts-table .workout-title:hover .static-map[data-v-bb980a00]{display:block}.workouts-list .box .workouts-table .sport-img[data-v-bb980a00]{height:20px;width:20px}.workouts-list .box .workouts-table .workout-date[data-v-bb980a00]{max-width:60px;text-align:left}@media screen and (max-width: 700px){.workouts-list .box .workouts-table td[data-v-bb980a00],.workouts-list .box .workouts-table .workout-date[data-v-bb980a00],.workouts-list .box .workouts-table .workout-title[data-v-bb980a00]{text-align:center}.workouts-list .box .workouts-table .sport-col[data-v-bb980a00]{display:flex;justify-content:center;padding:10px}.workouts-list .box .workouts-table .workout-date[data-v-bb980a00]{max-width:initial}.workouts-list .box .workouts-table .workout-title[data-v-bb980a00]{max-width:initial;width:100%}.workouts-list .box .workouts-table .workout-title:hover .static-map[data-v-bb980a00]{display:none}}.workouts-list .more-workouts[data-v-bb980a00]{display:flex;justify-content:center;padding:10px}#workouts .workouts-container[data-v-3fa59b88]{display:flex;flex-direction:row}@media screen and (max-width: 1000px){#workouts .workouts-container[data-v-3fa59b88]{flex-direction:column}}#workouts .workouts-container .filters-container[data-v-3fa59b88],#workouts .workouts-container .list-container[data-v-3fa59b88]{display:flex;flex-direction:column}#workouts .workouts-container .filters-container[data-v-3fa59b88]{width:25%}@media screen and (max-width: 1000px){#workouts .workouts-container .filters-container[data-v-3fa59b88]{width:100%}}@media screen and (max-width: 1000px) and (max-width: 700px){#workouts .workouts-container .filters-container.hidden[data-v-3fa59b88]{display:none}}#workouts .workouts-container .display-filters[data-v-3fa59b88]{display:none;font-size:.8em;padding:0 20px}#workouts .workouts-container .display-filters span[data-v-3fa59b88]{cursor:pointer;font-weight:700;padding-left:5px}#workouts .workouts-container .display-filters .fa[data-v-3fa59b88]{cursor:pointer}@media screen and (max-width: 700px){#workouts .workouts-container .display-filters[data-v-3fa59b88]{display:flex;justify-content:flex-end;align-items:center}}#workouts .workouts-container .list-container[data-v-3fa59b88]{width:75%}@media screen and (max-width: 1000px){#workouts .workouts-container .list-container[data-v-3fa59b88]{width:100%}} +@charset "UTF-8";#footer[data-v-7bc410b7]{display:flex;bottom:0;position:fixed;width:100%;background:var(--footer-background-color);color:var(--footer-color);font-size:.9em}#footer .footer-items[data-v-7bc410b7]{display:flex;flex-wrap:wrap;align-content:center;justify-content:center;width:100%}#footer .footer-items .footer-item[data-v-7bc410b7]{padding:10px;border-top:solid 1px var(--footer-border-color);text-align:center}@media screen and (max-width: 500px){#footer .footer-items[data-v-7bc410b7]{border-top:solid 1px var(--footer-border-color);font-size:.85em;padding:0 0 2px}#footer .footer-items .footer-item[data-v-7bc410b7]{border-top:none;padding:1px 5px}#footer .footer-items .bullet[data-v-7bc410b7]{padding:1px 0}}.user-picture{display:flex;justify-content:center;align-items:center;min-width:30%;line-height:1.2em}.user-picture img{border-radius:50%;height:90px;width:90px}.user-picture .no-picture{color:var(--app-a-color);font-size:5.5em}@font-face{font-family:PT Sans;font-style:normal;font-weight:400;src:url(/static/fonts/pt-sans-v9-latin-regular-T9JcUGms.eot);src:local("PT Sans"),local("PTSans-Regular"),url(/static/fonts/pt-sans-v9-latin-regular-T9JcUGms.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-regular-45aO1uf0.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-regular-IXe2Axuj.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-regular-pqSZZJmj.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-regular-21U27O2x.svg#PTSans) format("svg")}@font-face{font-family:PT Sans;font-style:italic;font-weight:400;src:url(/static/fonts/pt-sans-v9-latin-italic-4DDtZWYF.eot);src:local("PT Sans Italic"),local("PTSans-Italic"),url(/static/fonts/pt-sans-v9-latin-italic-4DDtZWYF.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-italic-1FTPleHH.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-italic-DwGwmXuQ.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-italic-I2gXY_1s.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-italic-YH_Gnq5o.svg#PTSans) format("svg")}@font-face{font-family:PT Sans;font-style:normal;font-weight:700;src:url(/static/fonts/pt-sans-v9-latin-700-skEWD7W_.eot);src:local("PT Sans Bold"),local("PTSans-Bold"),url(/static/fonts/pt-sans-v9-latin-700-skEWD7W_.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-700-BC8QGIrG.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-700-tcZ3J-O8.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-700-TR0YiIVK.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-700-Xyyq4crW.svg#PTSans) format("svg")}[data-v-3ea2a332]:root{--app-background-color: #ffffff;--app-color: #2c3e50;--app-color-light: #6f7070;--app-a-color: #40578a;--app-a-text-decoration-color: #d2d2d2;--app-shadow-color: lightgrey;--app-loading-color: #f3f3f3;--app-loading-top-color: var(--app-color);--button-hover-color: #ffffff;--button-transparent-hover-color: var(--app-color);--button-cancel-bg-color: #ffffff;--button-cancel-color: var(--app-color);--button-confirm-bg-color: #ffffff;--button-confirm-color: var(--app-color);--button-danger-bg-color: #ffffff;--button-danger-color: #dc3545;--button-danger-hover-bg-color: #dc3545;--button-danger-hover-color: #ffffff;--card-border-color: #c4c7cf;--input-border-color: #9da3af;--input-bg-color: #ffffff;--input-color: var(--app-color);--input-error-color: #dc3545;--dropdown-hover-color: #eff0f5;--dropdown-background-color: #ffffff;--dropdown-border-color: lightgrey;--policy-border-color: #ccc;--policy-link-color: var(--app-a-color);--box-shadow-color: lightgrey;--admin-disabled-input-color: #ffffff;--custom-checkbox-border-color: #6d797a;--custom-checkbox-checked-bg-color: #6d797a;--custom-checkbox-checked-color: #ffffff;--calendar-border-color: #c4c7cf;--calendar-week-end-color: #f5f5f5;--calendar-day-color: var(--app-color-light);--calendar-today-color: #eff1f3;--calendar-workouts-color: whitesmoke;--calendar-workouts-box-shadow-0: rgba(0, 0, 0, .2);--calendar-workouts-box-shadow-1: rgba(0, 0, 0, .19);--modal-background-color: rgba(0, 0, 0, .3);--nav-bar-background-color: #ffffff;--nav-bar-link-active: #485b6e;--nav-border-color: #c5ccdb;--mobile-menu-selected-color: #ffffff;--mobile-menu-selected-bgcolor: #9da3af;--footer-background-color: #ffffff;--footer-border-color: #ebeef3;--footer-color: #6f7070;--form-info: var(--alert-color);--alert-background-color: #d6dde3;--alert-color: #3f3f3f;--info-background-color: #e5e7ea;--info-color: var(--app-color);--error-background-color: #ffd2d2;--error-color: #db1924;--success-background-color: #d9ecd9;--success-color: #306430;--disabled-background-color: #e0e0e0;--disabled-border-color: transparent;--disabled-color: #727272;--disabled-sport-color: #616161;--scroll-button-bg-color: rgba(255, 255, 255, .7);--workout-trophy-color: #daa520;--workout-img-color: invert(22%) sepia(25%) saturate(646%) hue-rotate(169deg) brightness(97%) contrast(96%);--workout-no-map-bg-color: #eaeaea;--workout-no-map-color: #585959;--map-control-color: #000000;--map-control-bg-color: #ffffff;--map-control-border-color: #bfc0ab;--map-control-hover-bg-color: var(--dropdown-hover-color);--map-attribution-text: var(--app-color);--map-display-hover-attribution-text: initial;--map-attribution-bg-color: rgba(255, 255, 255, .7);--map-filter: initial;--map-display-hover-filter: initial;--map-layers-overlays: initial;--map-control-bar: #bfc0ab;--no-map-filter: initial;--workout-static-map-shadow-color: var(--app-shadow-color);--workout-static-map-bg-color: var(--workout-no-map-bg-color);--icon-svg-filter: invert(19%) sepia(9%) saturate(2921%) hue-rotate(169deg) brightness(85%) contrast(80%);--cell-heading-bg-color: #eeeeee;--cell-heading-color: #696969;--svg-filter: drop-shadow(10px 10px 10px var(--app-shadow-color));--password-bg-color: #d7dadf;--password-color-weak: #e46d6e;--password-color-medium: #f8bc4a;--password-color-good: #acc578;--password-color-strong: #57c255;--scroll-thumb-color: #949697}#nav[data-v-3ea2a332]{background:var(--nav-bar-background-color);display:flex;padding:15px 10px}#nav a[data-v-3ea2a332]{text-decoration:none}#nav .nav-container[data-v-3ea2a332]{display:flex;margin-left:auto;margin-right:auto;padding:0 15px 15px;max-width:1140px;width:100%;border-bottom:solid 1px var(--nav-border-color)}#nav a.router-link-exact-active[data-v-3ea2a332]{color:var(--nav-bar-link-active);font-weight:700}#nav a.router-link-exact-active.app-name[data-v-3ea2a332]{color:var(--app-color)}#nav .app-name[data-v-3ea2a332]{color:var(--app-color);font-size:1.2em;font-weight:700;margin-right:10px;line-height:1.6em}#nav .fa[data-v-3ea2a332]{font-size:1.2em}#nav .nav-icon-open[data-v-3ea2a332],#nav .hamburger-icon[data-v-3ea2a332],#nav .close-icon[data-v-3ea2a332]{display:none}#nav .menu-button[data-v-3ea2a332]{padding:0}#nav .nav-items[data-v-3ea2a332]{display:flex;flex:1;justify-content:space-between;line-height:2em;width:100%}#nav .nav-items .nav-items-close[data-v-3ea2a332]{display:none}#nav .nav-items .nav-items-app-menu[data-v-3ea2a332],#nav .nav-items .nav-items-user-menu[data-v-3ea2a332]{display:flex;margin:0;padding:0}#nav .nav-items .nav-items-group[data-v-3ea2a332]{display:flex}#nav .nav-items .nav-item[data-v-3ea2a332]{padding:0 10px;height:28px}#nav .nav-items .nav-item.dropdown-wrapper[data-v-3ea2a332]{padding:0;margin-left:2px}#nav .nav-items .nav-item.dropdown-wrapper[data-v-3ea2a332] .dropdown-list{z-index:1000;margin-left:-150px!important;width:180px!important}#nav .nav-items .nav-link[data-v-3ea2a332]{color:var(--app-a-color);cursor:pointer}#nav .nav-items .nav-profile-img[data-v-3ea2a332]{margin-bottom:-10px}#nav .nav-items .nav-profile-img[data-v-3ea2a332] .user-picture img{height:32px;width:32px;object-fit:cover}#nav .nav-items .nav-profile-img[data-v-3ea2a332] .user-picture .no-picture{font-size:1.7em}#nav .nav-items .nav-separator[data-v-3ea2a332]{display:none}#nav .nav-items .nav-button[data-v-3ea2a332]{padding:5px 7.5px;margin-left:2px}#nav .nav-items .nav-button .nav-button-fa[data-v-3ea2a332]{display:block}#nav .nav-items .nav-button .nav-button-text[data-v-3ea2a332]{display:none}#nav .nav-items .clear-theme[data-v-3ea2a332]{filter:var(--workout-img-color);height:20px;margin-bottom:-5px}@media screen and (max-width: 1000px){#nav .hamburger-icon[data-v-3ea2a332]{display:block}#nav .nav-icon-open[data-v-3ea2a332]{display:block;text-align:right;width:100%}#nav .nav-icon-open.menu-open[data-v-3ea2a332]{display:none}#nav .close-icon[data-v-3ea2a332]{display:block}#nav .close-icon.menu-closed[data-v-3ea2a332],#nav .nav-items[data-v-3ea2a332]{display:none}#nav .nav-items.menu-open[data-v-3ea2a332]{display:flex;flex-direction:column;justify-content:flex-start;z-index:1001;position:absolute;top:0;right:0;bottom:0;left:0;background:var(--nav-bar-background-color)}#nav .nav-items.menu-open .nav-items-close[data-v-3ea2a332],#nav .nav-items.menu-open .nav-items-app-menu[data-v-3ea2a332],#nav .nav-items.menu-open .nav-items-user-menu[data-v-3ea2a332]{display:flex;flex-direction:column}#nav .nav-items.menu-open .nav-items-close[data-v-3ea2a332]{align-items:center;display:flex;flex-direction:row;justify-content:space-between}#nav .nav-items.menu-open .nav-items-close .app-name[data-v-3ea2a332]{padding:15px 25px}#nav .nav-items.menu-open .nav-items-group[data-v-3ea2a332]{display:flex;flex-direction:column}#nav .nav-items.menu-open .nav-items-group .nav-button[data-v-3ea2a332]{padding:10px 10px 10px 24px;color:var(--app-a-color);text-align:left}#nav .nav-items.menu-open .nav-items-group .nav-button .nav-button-fa[data-v-3ea2a332]{display:none;width:36px}#nav .nav-items.menu-open .nav-items-group .nav-button .nav-button-text[data-v-3ea2a332]{display:block}#nav .nav-items.menu-open .nav-item[data-v-3ea2a332]{padding:7px 25px}#nav .nav-items.menu-open .nav-item.dropdown-wrapper[data-v-3ea2a332]{padding-left:20px}#nav .nav-items.menu-open .nav-item.dropdown-wrapper[data-v-3ea2a332] .dropdown-list{margin-left:initial!important;width:auto!important;height:200px;overflow-y:scroll}#nav .nav-items.menu-open .nav-profile-img[data-v-3ea2a332]{display:none}#nav .nav-items.menu-open .nav-separator[data-v-3ea2a332]{display:flex;border-top:solid 1px var(--nav-border-color);margin:0 20px;padding:0}#nav .theme-button[data-v-3ea2a332]{margin-left:20px}}#no-config[data-v-73140811]{display:flex;align-items:center;justify-content:space-around;padding:10px;height:100%}#no-config .error-page[data-v-73140811]{display:flex;flex-direction:column;align-items:center;max-width:100%}#no-config .error-page .error-img[data-v-73140811]{width:150px}#no-config .error-page .error-img svg[data-v-73140811]{stroke:none;fill-rule:nonzero;fill:var(--app-color);filter:var(--svg-filter)}#no-config .error-page .error-message[data-v-73140811]{font-size:1.2em;text-align:center}@media screen and (max-width: 1000px){#no-config .error-page .error-message[data-v-73140811]{font-size:1em}}:root{--app-background-color: #ffffff;--app-color: #2c3e50;--app-color-light: #6f7070;--app-a-color: #40578a;--app-a-text-decoration-color: #d2d2d2;--app-shadow-color: lightgrey;--app-loading-color: #f3f3f3;--app-loading-top-color: var(--app-color);--button-hover-color: #ffffff;--button-transparent-hover-color: var(--app-color);--button-cancel-bg-color: #ffffff;--button-cancel-color: var(--app-color);--button-confirm-bg-color: #ffffff;--button-confirm-color: var(--app-color);--button-danger-bg-color: #ffffff;--button-danger-color: #dc3545;--button-danger-hover-bg-color: #dc3545;--button-danger-hover-color: #ffffff;--card-border-color: #c4c7cf;--input-border-color: #9da3af;--input-bg-color: #ffffff;--input-color: var(--app-color);--input-error-color: #dc3545;--dropdown-hover-color: #eff0f5;--dropdown-background-color: #ffffff;--dropdown-border-color: lightgrey;--policy-border-color: #ccc;--policy-link-color: var(--app-a-color);--box-shadow-color: lightgrey;--admin-disabled-input-color: #ffffff;--custom-checkbox-border-color: #6d797a;--custom-checkbox-checked-bg-color: #6d797a;--custom-checkbox-checked-color: #ffffff;--calendar-border-color: #c4c7cf;--calendar-week-end-color: #f5f5f5;--calendar-day-color: var(--app-color-light);--calendar-today-color: #eff1f3;--calendar-workouts-color: whitesmoke;--calendar-workouts-box-shadow-0: rgba(0, 0, 0, .2);--calendar-workouts-box-shadow-1: rgba(0, 0, 0, .19);--modal-background-color: rgba(0, 0, 0, .3);--nav-bar-background-color: #ffffff;--nav-bar-link-active: #485b6e;--nav-border-color: #c5ccdb;--mobile-menu-selected-color: #ffffff;--mobile-menu-selected-bgcolor: #9da3af;--footer-background-color: #ffffff;--footer-border-color: #ebeef3;--footer-color: #6f7070;--form-info: var(--alert-color);--alert-background-color: #d6dde3;--alert-color: #3f3f3f;--info-background-color: #e5e7ea;--info-color: var(--app-color);--error-background-color: #ffd2d2;--error-color: #db1924;--success-background-color: #d9ecd9;--success-color: #306430;--disabled-background-color: #e0e0e0;--disabled-border-color: transparent;--disabled-color: #727272;--disabled-sport-color: #616161;--scroll-button-bg-color: rgba(255, 255, 255, .7);--workout-trophy-color: #daa520;--workout-img-color: invert(22%) sepia(25%) saturate(646%) hue-rotate(169deg) brightness(97%) contrast(96%);--workout-no-map-bg-color: #eaeaea;--workout-no-map-color: #585959;--map-control-color: #000000;--map-control-bg-color: #ffffff;--map-control-border-color: #bfc0ab;--map-control-hover-bg-color: var(--dropdown-hover-color);--map-attribution-text: var(--app-color);--map-display-hover-attribution-text: initial;--map-attribution-bg-color: rgba(255, 255, 255, .7);--map-filter: initial;--map-display-hover-filter: initial;--map-layers-overlays: initial;--map-control-bar: #bfc0ab;--no-map-filter: initial;--workout-static-map-shadow-color: var(--app-shadow-color);--workout-static-map-bg-color: var(--workout-no-map-bg-color);--icon-svg-filter: invert(19%) sepia(9%) saturate(2921%) hue-rotate(169deg) brightness(85%) contrast(80%);--cell-heading-bg-color: #eeeeee;--cell-heading-color: #696969;--svg-filter: drop-shadow(10px 10px 10px var(--app-shadow-color));--password-bg-color: #d7dadf;--password-color-weak: #e46d6e;--password-color-medium: #f8bc4a;--password-color-good: #acc578;--password-color-strong: #57c255;--scroll-thumb-color: #949697}:root [data-theme=dark]{--dark-blue: #181a1b;--light-grey: #cfd0d0;--app-background-color: var(--dark-blue);--app-color: var(--light-grey);--app-color-light: #6f7070;--app-a-color: var(--light-grey);--app-a-text-decoration-color: #494949;--app-shadow-color: #383d3f;--app-loading-color: #414141;--app-loading-top-color: #949494;--button-hover-color: var(--app-color);--button-transparent-hover-color: #233240;--button-cancel-bg-color: var(--dark-blue);--button-cancel-color: var(--app-color);--button-confirm-bg-color: var(--dark-blue);--button-confirm-color: var(--app-color);--button-danger-bg-color: var(--dark-blue);--button-danger-color: #dc3545;--button-danger-hover-bg-color: #dc3545;--button-danger-hover-color: var(--dark-blue);--card-border-color: #494f52;--input-border-color: #494f52;--input-bg-color: var(--dark-blue);--input-color: var(--app-color);--input-error-color: #dc3545;--dropdown-hover-color: #233240;--dropdown-background-color: var(--dark-blue);--dropdown-border-color: var(--input-border-color);--policy-border-color: #ccc;--policy-link-color: var(--alert-color);--box-shadow-color: lightgrey;--admin-disabled-input-color: var(--dark-blue);--custom-checkbox-border-color: #665f54;--custom-checkbox-checked-bg-color: #575e62;--custom-checkbox-checked-color: #e8e6e3;--calendar-border-color: var(--input-border-color);--calendar-week-end-color: #1e2021;--calendar-day-color: var(--app-color);--calendar-today-color: #202324;--calendar-workouts-color: #233240;--calendar-workouts-box-shadow-0: rgba(0, 0, 0, .2);--calendar-workouts-box-shadow-1: rgba(0, 0, 0, .19);--modal-background-color: rgba(68, 68, 68, .3);--nav-bar-background-color: var(--dark-blue);--nav-bar-link-active: #ffffff;--nav-border-color: var(--input-border-color);--mobile-menu-selected-color: var(--dark-blue);--mobile-menu-selected-bgcolor: #9da3af;--footer-background-color: var(--dark-blue);--footer-border-color: var(--input-border-color);--footer-color: #9f968a;--form-info: var(--app-color);--alert-background-color: #3f3f3f;--alert-color: #d6dde3;--info-background-color: #33353a;--info-color: var(--app-color);--error-background-color: #4e0000;--error-color: #ea464f;--success-background-color: #24391c;--success-color: #97cd97;--disabled-background-color: var(--dark-blue);--disabled-border-color: transparent;--disabled-color: #727272;--disabled-sport-color: #616161;--scroll-button-bg-color: var(--dark-blue);--workout-trophy-color: #daa520;--workout-img-color: invert(22%) sepia(25%) saturate(646%) hue-rotate(169deg) brightness(97%) contrast(96%);--workout-no-map-bg-color: #eaeaea;--workout-no-map-color: #585959;--map-control-color: #000000;--map-control-bg-color: #ffffff;--map-control-border-color: #bfc0ab;--map-control-hover-bg-color: #eff0f5;--map-attribution-text: #e8e8e8;--map-display-hover-attribution-text: #444444;--map-attribution-bg-color: none;--map-filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.85);--map-display-hover-filter: invert(1) hue-rotate(180deg) brightness(1.5) contrast(.6);--map-layers-overlays: var(--app-color);--map-control-bar: var(--app-color);--no-map-filter: invert(1) brightness(1.5) contrast(.9);--workout-static-map-shadow-color: #d2d2d2;--workout-static-map-bg-color: #818181;--icon-svg-filter: invert(90%) sepia(19%) saturate(0%) hue-rotate(39deg) brightness(86%) contrast(102%);--cell-heading-bg-color: #383838;--cell-heading-color: #eeeeee;--svg-filter: drop-shadow(10px 10px 10px var(--app-shadow-color));--password-bg-color: #d7dadf;--password-color-weak: #831819;--password-color-medium: #9e6906;--password-color-good: #4b5826;--password-color-strong: #4a8c32;--scroll-thumb-color: #949697}@font-face{font-family:PT Sans;font-style:normal;font-weight:400;src:url(/static/fonts/pt-sans-v9-latin-regular-T9JcUGms.eot);src:local("PT Sans"),local("PTSans-Regular"),url(/static/fonts/pt-sans-v9-latin-regular-T9JcUGms.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-regular-45aO1uf0.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-regular-IXe2Axuj.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-regular-pqSZZJmj.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-regular-21U27O2x.svg#PTSans) format("svg")}@font-face{font-family:PT Sans;font-style:italic;font-weight:400;src:url(/static/fonts/pt-sans-v9-latin-italic-4DDtZWYF.eot);src:local("PT Sans Italic"),local("PTSans-Italic"),url(/static/fonts/pt-sans-v9-latin-italic-4DDtZWYF.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-italic-1FTPleHH.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-italic-DwGwmXuQ.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-italic-I2gXY_1s.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-italic-YH_Gnq5o.svg#PTSans) format("svg")}@font-face{font-family:PT Sans;font-style:normal;font-weight:700;src:url(/static/fonts/pt-sans-v9-latin-700-skEWD7W_.eot);src:local("PT Sans Bold"),local("PTSans-Bold"),url(/static/fonts/pt-sans-v9-latin-700-skEWD7W_.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-700-BC8QGIrG.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-700-tcZ3J-O8.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-700-TR0YiIVK.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-700-Xyyq4crW.svg#PTSans) format("svg")}html [data-theme=dark]{color-scheme:dark}body{margin:0;overflow-y:scroll;scrollbar-gutter:stable both-edges}body::-webkit-scrollbar{width:5px;height:5px}body::-webkit-scrollbar-track{background:transparent}body::-webkit-scrollbar-thumb{background:transparent;border-radius:10px}body:hover::-webkit-scrollbar-thumb{background:var(--scroll-thumb-color)}body:hover::-webkit-scrollbar-track{background:transparent}#app{font-family:PT Sans,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--app-color);background-color:var(--app-background-color);margin:0;min-height:100vh}a{color:var(--app-a-color);text-decoration-color:var(--app-a-text-decoration-color)}a:hover,a:focus{text-decoration-color:var(--app-a-color)}img{max-width:100%}input,textarea,select{background-color:var(--input-bg-color);border-radius:4px;border:solid 1px var(--input-border-color);color:var(--input-color);padding:10px}input:disabled,textarea:disabled,select:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}form.errors :invalid{outline:2px solid var(--input-error-color)}label{font-weight:700}button{background:var(--app-background-color);border:solid 1px var(--input-border-color);border-radius:4px;box-shadow:2px 2px 2px var(--app-shadow-color);color:var(--app-color);padding:6px 14px}button.transparent{font-family:PT Sans,Helvetica,Arial,sans-serif;font-size:1em;border-color:transparent;box-shadow:none}button.transparent:hover,button.transparent:disabled{background:transparent}button.transparent:hover{color:var(--app-color)}button.transparent:enabled:active{box-shadow:none}button.transparent:disabled,button.transparent.confirm:disabled{border-color:var(--disabled-border-color);color:var(--disabled-color)}button:hover{background:var(--button-transparent-hover-color);color:var(--button-hover-color)}button:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button:disabled,button.confirm:disabled{background:var(--disabled-background-color);color:var(--disabled-color)}button.cancel{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel:hover{background:var(--button-transparent-hover-color);color:var(--button-hover-color)}button.confirm{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm:hover{background:var(--button-transparent-hover-color);color:var(--button-hover-color)}button.danger{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger:disabled{background:var(--disabled-background-color);color:var(--disabled-color)}.box{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items{display:flex;flex-direction:column}.form-box .form-items input{margin:10px;padding:5px}.form-info{color:var(--form-info);font-size:.8em;margin-top:-2px;padding:0 15px}.success-message{margin:20px 0;background-color:var(--success-background-color);color:var(--success-color)}.upper{text-transform:uppercase}.view{padding-bottom:35px;background-color:var(--app-background-color)}.fa-trophy{color:var(--workout-trophy-color)}.mountains{margin-bottom:-3px;height:16px;filter:var(--icon-svg-filter)}.section-title{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map{background-color:var(--workout-no-map-bg-color);background-image:url(/static/img/map-3oCLAjmu.svg);background-size:contain;background-repeat:no-repeat;background-position:center;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes{display:inline-flex}@media screen and (max-width: 300px){.custom-checkboxes-group .custom-checkboxes{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span{border:solid 1px var(--custom-checkbox-border-color);border-radius:5px;display:block;font-size:.9em;padding:2px 6px;text-align:center}.custom-checkboxes-group .custom-checkboxes .custom-checkbox input:checked+span{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl{display:flex;flex-direction:column;width:100%}.description-list dl dt{font-weight:700}.description-list dl dd{margin-bottom:10px}.center-card{margin:0 auto;width:700px}.center-card.with-margin{margin-top:100px}@media screen and (max-width: 1000px){.center-card{width:100%;margin:0 auto 50px}}.text-center{text-align:center}.text-left{text-align:left}.responsive-table{margin-bottom:15px}.responsive-table table{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody{font-size:.95em}.responsive-table table tbody td{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td{border:none}.responsive-table table .cell-heading{background:var(--cell-heading-bg-color);color:var(--cell-heading-color);display:none;font-size:10px;font-weight:700;padding:5px;position:absolute;text-transform:uppercase;top:0;left:0}@media screen and (max-width: 700px){.responsive-table table thead{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td{border:1px solid var(--card-border-color);margin:0 -1px -1px 0;padding-top:25px!important;position:relative;text-align:center;width:45%}.responsive-table table tbody tr:last-child td{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading{display:flex}}@media screen and (max-width: 500px){.responsive-table table td{width:100%}}.profile-buttons{display:flex;gap:10px}.medium-sport-img{height:35px;width:35px;margin:0 auto}.app-container{height:calc(100vh - 130px)}.app-container.hide-scroll{overflow:hidden}.app-container .app-loading{display:flex;align-items:center;height:100%}.scroll{display:flex;justify-content:flex-end;position:fixed;bottom:42px;right:-15px;padding:0 25px}.scroll .scroll-button{background-color:var(--scroll-button-bg-color);border-radius:4px;box-shadow:1px 1px 3px var(--app-shadow-color);display:none;padding:0 10px}.scroll .scroll-button.display-button{display:block}.alert-message[data-v-f7bf1117]{background:var(--alert-background-color);color:var(--alert-color);border-radius:4px;margin:10px;padding:10px}.card{border:solid 1px var(--card-border-color);border-radius:4px;margin:10px}.card .card-title{font-weight:700;border-bottom:solid 1px var(--card-border-color);padding:10px 20px}.card .card-content{padding:10px 20px}.custom-textarea[data-v-57267720]{display:flex;flex-direction:column}.custom-textarea .remaining-chars[data-v-57267720]{font-size:.8em;font-style:italic}.strong[data-v-0f0f76cd]{font-weight:700}.dropdown-wrapper .dropdown-selector[data-v-c94565f8]{margin:0;padding:5px}.dropdown-wrapper .dropdown-list[data-v-c94565f8]{list-style-type:none;background-color:var(--dropdown-background-color);padding:0!important;margin-top:5px;margin-left:-20px!important;position:absolute;text-align:left;border:solid 1px var(--dropdown-border-color);box-shadow:2px 2px 5px var(--app-shadow-color);width:auto!important}.dropdown-wrapper .dropdown-list .dropdown-item[data-v-c94565f8]{padding:3px 12px}.dropdown-wrapper .dropdown-list .dropdown-item.selected[data-v-c94565f8]{font-weight:700}.dropdown-wrapper .dropdown-list .dropdown-item.selected[data-v-c94565f8]:after{content:" ✔"}.dropdown-wrapper .dropdown-list .dropdown-item[data-v-c94565f8]:hover,.dropdown-wrapper .dropdown-list .dropdown-item.focused[data-v-c94565f8]{background-color:var(--dropdown-hover-color)}.error-message[data-v-5dcde231]{background:var(--error-background-color);color:var(--error-color);border-radius:4px;margin:10px;padding:10px}.loader[data-v-8b613881]{animation:spin-8b613881 2s linear infinite;border:14px solid var(--app-loading-color);border-top:14px solid var(--app-loading-top-color);border-radius:50%;height:60px;margin-left:41%;width:60px}@keyframes spin-8b613881{0%{transform:rotate(0)}to{transform:rotate(360deg)}}#modal[data-v-e277942a]{position:fixed;top:0;bottom:0;left:0;right:0;background-color:var(--modal-background-color);padding:10px;z-index:1240;display:flex;justify-content:center;align-items:center}#modal .custom-modal[data-v-e277942a]{background-color:var(--app-background-color);border-radius:4px;max-width:500px;z-index:1250}@media screen and (max-width: 1000px){#modal .custom-modal[data-v-e277942a]{width:100%}}#modal .custom-modal[data-v-e277942a] .card{border:0;margin:0}#modal .custom-modal[data-v-e277942a] .card .card-content{display:flex;flex-direction:column}#modal .custom-modal[data-v-e277942a] .card .card-content .modal-message{padding:10px}#modal .custom-modal[data-v-e277942a] .card .card-content .modal-message span{font-weight:700}#modal .custom-modal[data-v-e277942a] .card .card-content .modal-buttons{display:flex;justify-content:flex-end}#modal .custom-modal[data-v-e277942a] .card .card-content .modal-buttons button{margin:5px}#admin-app .user-limit-help[data-v-a720b26e]{display:flex}#admin-app .user-limit-help span[data-v-a720b26e]{font-style:italic}#admin-app .user-limit-help .fa-info-circle[data-v-a720b26e]{margin-right:10px}#admin-app .no-contact[data-v-a720b26e]{font-style:italic}#admin-app textarea[data-v-a720b26e]{margin-bottom:10px}#admin-app .textarea-description[data-v-a720b26e]{font-style:italic}#admin-app .textarea-content[data-v-a720b26e]{margin-bottom:10px;padding:10px}.stat-card{flex:1;max-width:25%}@media screen and (max-width: 700px){.stat-card{flex:1 0 50%;max-width:49%}}.stat-card .stat-content{display:flex;flex-direction:row;justify-content:space-between;padding:10px 20px}.stat-card .stat-content .stat-icon{width:30%;text-align:center;vertical-align:center}@media screen and (max-width: 1000px){.stat-card .stat-content .stat-icon{width:50%;text-align:left}}.stat-card .stat-content .stat-icon .fa{font-size:3em}@media screen and (max-width: 1000px){.stat-card .stat-content .stat-icon .fa{font-size:2em}}@media screen and (max-width: 500px){.stat-card .stat-content .stat-icon .fa{font-size:1.5em}}.stat-card .stat-content .stat-details{width:70%;text-align:right}@media screen and (max-width: 1000px){.stat-card .stat-content .stat-details{width:100%}}.stat-card .stat-content .stat-details .stat-huge{font-size:1.7em;font-weight:700}@media screen and (max-width: 1000px){.stat-card .stat-content .stat-details .stat-huge{font-size:1.3em}}@media screen and (max-width: 500px){.stat-card .stat-content .stat-details .stat-huge{font-size:1em}}.stat-card .stat-content .stat-details .stat{font-size:1em}@media screen and (max-width: 1000px){.stat-card .stat-content .stat-details .stat{font-size:.9em}}@media screen and (max-width: 500px){.stat-card .stat-content .stat-details .stat{font-size:.8em}}#user-stats{display:flex;flex-wrap:wrap}#admin-menu[data-v-efcd2677]{display:flex}#admin-menu.center-card[data-v-efcd2677]{width:100%}#admin-menu[data-v-efcd2677] .card{flex-grow:1}#admin-menu[data-v-efcd2677] .card .admin-menu{padding:0 10px}#admin-menu[data-v-efcd2677] .card .admin-menu dd{margin-bottom:30px}#admin-menu[data-v-efcd2677] .card .admin-menu .application-config-details{display:flex;flex-direction:column}#admin-menu[data-v-efcd2677] .card .admin-menu .application-config-details .email-sending-status,#admin-menu[data-v-efcd2677] .card .admin-menu .application-config-details .registration-status{font-weight:700}#admin-sports table td[data-v-203d96b8]{font-size:1.1em}#admin-sports .sport-img[data-v-203d96b8]{height:35px;width:35px;margin:0 auto}#admin-sports .has-workouts[data-v-203d96b8]{font-size:.95em;font-style:italic;padding:0 10px}#admin-sports .sport-action[data-v-203d96b8]{padding-left:40px}#admin-sports .action-button[data-v-203d96b8]{display:block}#admin-sports .top-button[data-v-203d96b8]{display:none}@media screen and (max-width: 700px){#admin-sports .sport-action[data-v-203d96b8]{padding-left:10px}#admin-sports .has-workouts[data-v-203d96b8]{padding-top:5px}#admin-sports .action-button[data-v-203d96b8]{display:flex;align-items:center;flex-wrap:wrap;flex-direction:column}#admin-sports .top-button[data-v-203d96b8]{display:block;margin-bottom:20px}}.table-selects[data-v-fc86ab3c]{display:flex;justify-content:space-between;margin:10px 0}.table-selects label select[data-v-fc86ab3c]{margin-left:10px;padding:5px}@media screen and (max-width: 700px){.table-selects[data-v-fc86ab3c]{flex-wrap:wrap}.table-selects label[data-v-fc86ab3c]{margin-bottom:10px}.table-selects label select[data-v-fc86ab3c]{margin-left:0}}.pagination-center[data-v-69dd9739]{display:flex;justify-content:center;font-size:.9em}.pagination-center a[data-v-69dd9739]{text-decoration:none}.pagination-center .pagination[data-v-69dd9739]{display:flex;padding-left:0;list-style:none;border-radius:.25rem}.pagination-center .pagination .page-prev[data-v-69dd9739],.pagination-center .pagination .page-next[data-v-69dd9739],.pagination-center .pagination .page[data-v-69dd9739]{border:solid 1px var(--card-border-color);padding:10px 15px}.pagination-center .pagination .page-prev.active[data-v-69dd9739],.pagination-center .pagination .page-next.active[data-v-69dd9739],.pagination-center .pagination .page.active[data-v-69dd9739]{font-weight:700}.pagination-center .pagination .page-prev.disabled[data-v-69dd9739],.pagination-center .pagination .page-next.disabled[data-v-69dd9739],.pagination-center .pagination .page.disabled[data-v-69dd9739]{cursor:default}.pagination-center .pagination .page-prev.disabled a[data-v-69dd9739],.pagination-center .pagination .page-next.disabled a[data-v-69dd9739],.pagination-center .pagination .page.disabled a[data-v-69dd9739]{cursor:default;pointer-events:none;color:var(--disabled-color)}.pagination-center .pagination .page[data-v-69dd9739]{margin-left:-1px}.pagination-center .pagination .page-prev[data-v-69dd9739]{border-top-left-radius:5px;border-bottom-left-radius:5px}.pagination-center .pagination .page-next[data-v-69dd9739]{border-top-right-radius:5px;border-bottom-right-radius:5px;margin-left:-1px}.pagination-center .pagination .fa[data-v-69dd9739]{font-size:.8em;padding:0 5px}@media screen and (max-width: 1000px){.pagination-center .pagination .page[data-v-69dd9739]{display:none}}.users-filters[data-v-553040c7]{display:flex;align-items:center;padding:10px 0;gap:10px}.users-filters .fa[data-v-553040c7]{font-size:1.5em}.users-filters .fa-disabled[data-v-553040c7]{color:var(--disabled-color)}.users-filters .search-username[data-v-553040c7]{display:flex;align-items:center;justify-content:space-between;gap:10px;border:solid 1px var(--card-border-color);border-radius:4px;color:var(--info-color);width:45%}.users-filters .search-username input[data-v-553040c7]{border:none;height:12px;width:90%}.users-filters .search-username input[data-v-553040c7]:focus{outline:none}.users-filters .search-username .fa-times[data-v-553040c7]{padding-right:10px}@media screen and (max-width: 700px){.users-filters .search-username[data-v-553040c7]{width:400px}}@media screen and (max-width: 500px){.users-filters .search-username[data-v-553040c7]{width:90%}}#admin-users .top-button[data-v-4beb3bfa]{display:none}#admin-users .no-users[data-v-4beb3bfa]{display:flex;justify-content:center;padding:20px 0;font-weight:700}#admin-users table td[data-v-4beb3bfa]{font-size:1.1em}#admin-users .left-text[data-v-4beb3bfa]{text-align:left}#admin-users[data-v-4beb3bfa] .user-picture img{height:30px;width:30px}#admin-users[data-v-4beb3bfa] .user-picture .no-picture{font-size:2em}@media screen and (max-width: 700px){#admin-users .top-button[data-v-4beb3bfa]{display:block;margin-bottom:20px}#admin-users .pagination-center[data-v-4beb3bfa]{margin-top:-30px}}.user-header[data-v-3abb1646]{display:flex;align-items:stretch}.user-header .user-details[data-v-3abb1646]{flex-grow:1;padding:10px;display:flex;flex-direction:column;align-items:center}.user-header .user-details .user-name[data-v-3abb1646]{font-size:2em;height:60%}.user-header .user-details .user-stats[data-v-3abb1646]{display:flex;gap:40px}.user-header .user-details .user-stats .user-stat[data-v-3abb1646]{display:flex;flex-direction:column;align-items:center;padding-top:10px}.user-header .user-details .user-stats .user-stat .stat-number[data-v-3abb1646],.user-header .user-details .user-stats .user-stat .stat-label[data-v-3abb1646]{padding:0 5px}.user-header .user-details .user-stats .user-stat[data-v-3abb1646] .distance,.user-header .user-details .user-stats .user-stat .stat-number[data-v-3abb1646]{font-weight:700;font-size:1.5em}@media screen and (max-width: 500px){.user-header .user-details .user-name[data-v-3abb1646]{font-size:1.5em}.user-header .user-details .user-stats[data-v-3abb1646]{gap:20px}.user-header .user-details .user-stats .user-stat[data-v-3abb1646] .distance,.user-header .user-details .user-stats .user-stat .stat-number[data-v-3abb1646]{font-weight:700;font-size:1.2em}.user-header .user-details .user-stats .user-stat.hide-small[data-v-3abb1646]{display:none}}.profile-tabs-checkboxes{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;margin-bottom:10px}#user-profile[data-v-8a058d49]{margin:auto;width:700px}@media screen and (max-width: 1000px){#user-profile[data-v-8a058d49]{width:100%;margin:0 auto 50px}}#user-infos .user-bio[data-v-98220281]{white-space:pre-wrap}#user-infos .alert-message[data-v-98220281]{margin:0}#user-infos .profile-buttons[data-v-98220281]{display:flex;flex-wrap:wrap}#user-infos .email-form[data-v-98220281]{display:flex}#user-infos .email-form form[data-v-98220281]{width:100%}#user-infos .email-form .form-buttons[data-v-98220281]{display:flex;gap:10px;margin-top:10px}#user-preferences .preferences-section[data-v-b0528e22]{font-weight:700;text-transform:uppercase;border-bottom:1px solid var(--card-border-color)}#user-preferences .raw-speed-help[data-v-b0528e22]{margin-top:-5px}.password-strength[data-v-1affb508]{cursor:default;display:flex;flex-direction:column}.password-strength .password-slider[data-v-1affb508]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:8px;height:5px;outline:none;padding:0}.password-strength .strength-0[data-v-1affb508],.password-strength .strength-1[data-v-1affb508]{background:var(--password-bg-color);background-image:-webkit-gradient(linear,20% 0%,20% 100%,color-stop(0%,var(--password-color-weak)),color-stop(100%,var(--password-color-weak)));background-image:-webkit-linear-gradient(left,var(--password-color-weak) 0%,var(--password-color-weak) 100%);background-image:-moz-linear-gradient(left,var(--password-color-weak) 0%,var(--password-color-weak) 100%);background-image:-o-linear-gradient(to right,var(--password-color-weak) 0%,var(--password-color-weak) 100%);background-image:linear-gradient(to right,var(--password-color-weak) 0%,var(--password-color-weak) 100%);background-repeat:no-repeat}.password-strength .strength-2[data-v-1affb508]{background:var(--password-bg-color);background-image:-webkit-gradient(linear,20% 0%,20% 100%,color-stop(0%,var(--password-color-medium)),color-stop(100%,var(--password-color-medium)));background-image:-webkit-linear-gradient(left,var(--password-color-medium) 0%,var(--password-color-medium) 100%);background-image:-moz-linear-gradient(left,var(--password-color-medium) 0%,var(--password-color-medium) 100%);background-image:-o-linear-gradient(to right,var(--password-color-medium) 0%,var(--password-color-medium) 100%);background-image:linear-gradient(to right,var(--password-color-medium) 0%,var(--password-color-medium) 100%);background-repeat:no-repeat}.password-strength .strength-3[data-v-1affb508]{background:var(--password-bg-color);background-image:-webkit-gradient(linear,20% 0%,20% 100%,color-stop(0%,var(--password-color-good)),color-stop(100%,var(--password-color-good)));background-image:-webkit-linear-gradient(left,var(--password-color-good) 0%,var(--password-color-good) 100%);background-image:-moz-linear-gradient(left,var(--password-color-good) 0%,var(--password-color-good) 100%);background-image:-o-linear-gradient(to right,var(--password-color-good) 0%,var(--password-color-good) 100%);background-image:linear-gradient(to right,var(--password-color-good) 0%,var(--password-color-good) 100%);background-repeat:no-repeat}.password-strength .strength-4[data-v-1affb508]{background:var(--password-bg-color);background-image:-webkit-gradient(linear,20% 0%,20% 100%,color-stop(0%,var(--password-color-strong)),color-stop(100%,var(--password-color-strong)));background-image:-webkit-linear-gradient(left,var(--password-color-strong) 0%,var(--password-color-strong) 100%);background-image:-moz-linear-gradient(left,var(--password-color-strong) 0%,var(--password-color-strong) 100%);background-image:-o-linear-gradient(to right,var(--password-color-strong) 0%,var(--password-color-strong) 100%);background-image:linear-gradient(to right,var(--password-color-strong) 0%,var(--password-color-strong) 100%);background-repeat:no-repeat}.password-strength .password-slider[data-v-1affb508]::-webkit-slider-thumb,.password-strength .password-slider[data-v-1affb508]::-moz-range-thumb{opacity:0}.password-strength .password-slider[data-v-1affb508]::-webkit-slider-thumb{-webkit-appearance:none}.password-strength .password-slider[data-v-1affb508]::-moz-range-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none}.password-strength .password-strength-details[data-v-1affb508]{margin-bottom:5px;margin-top:-10px;padding:0 10px}.password-strength .password-strength-details .password-strength-value[data-v-1affb508]{font-size:.85em}.password-strength .password-strength-details .info-box[data-v-1affb508]{padding:1px 10px}.password-strength .password-strength-details .info-box .password-feedback[data-v-1affb508]{padding-left:20px}.password-input[data-v-ac528612]{display:flex;flex-direction:column}.password-input .show-password[data-v-ac528612]{margin-top:-5px;display:flex;justify-content:right}.password-input .show-password button[data-v-ac528612]{font-style:italic;font-size:.85em;padding:5px 10px;cursor:pointer}.form-items .password-input[data-v-8ebb5cd3] .show-password{font-weight:400;font-size:.8em;margin-top:-4px;padding-left:0}.form-items .password-input[data-v-8ebb5cd3] .form-info{font-weight:400;padding-left:10px}.form-items .password-input[data-v-8ebb5cd3] .password-strength-details{font-weight:400;margin-top:0}.form-buttons[data-v-8ebb5cd3]{flex-direction:row}@media screen and (max-width: 500px){.form-buttons[data-v-8ebb5cd3]{flex-direction:column}}.data-export[data-v-8ebb5cd3]{padding:10px 0}.data-export .data-export-archive[data-v-8ebb5cd3]{padding-top:20px;font-size:.9em}.data-export .data-export-archive .archive-link[data-v-8ebb5cd3]{color:var(--app-a-color);cursor:pointer}.form-items .password-input[data-v-5f5c8fca] .show-password{font-weight:400;font-size:.8em;margin-top:-4px;padding-left:0}.form-buttons[data-v-5f5c8fca]{flex-direction:row}@media screen and (max-width: 500px){.form-buttons[data-v-5f5c8fca]{flex-direction:column}}#user-picture-edition .user-picture-form[data-v-8f62d42f]{display:flex;flex-direction:column;margin-top:10px}#user-picture-edition .user-picture-form form[data-v-8f62d42f]{display:flex;flex-direction:column;gap:10px;justify-content:flex-start}#user-picture-edition .user-picture-form form input[data-v-8f62d42f]{margin-top:10px;padding:5px}#user-picture-edition .user-picture-form form span[data-v-8f62d42f]{font-style:italic;font-size:.9em;padding-left:5px}#user-picture-edition .user-picture-form form .picture-help[data-v-8f62d42f]{display:flex}#user-picture-edition .user-picture-form form .picture-help span[data-v-8f62d42f]{font-style:italic;padding:10px}#user-picture-edition .user-picture-form form .picture-help .fa-info-circle[data-v-8f62d42f]{margin-right:10px}#user-picture-edition .user-picture-form .picture-buttons[data-v-8f62d42f]{display:flex;flex-direction:row;align-items:center;gap:10px}@media screen and (max-width: 500px){#user-picture-edition .user-picture-form .picture-buttons[data-v-8f62d42f],#user-picture-edition .user-picture-form .picture-help[data-v-8f62d42f]{flex-direction:column;align-items:stretch}}#tz-dropdown[data-v-3d9b6b6f]{display:flex;flex-direction:column;position:relative}#tz-dropdown .tz-dropdown-list[data-v-3d9b6b6f]{background-color:var(--input-bg-color);border-radius:4px;border:solid 1px var(--input-border-color);padding:5px 0;position:absolute;overflow-y:auto;top:20px;left:0;right:0;max-height:200px;width:inherit}#tz-dropdown .tz-dropdown-item[data-v-3d9b6b6f]{cursor:pointer;font-size:.9em;font-weight:400;padding:5px}#tz-dropdown .tz-dropdown-item.focus[data-v-3d9b6b6f]{background-color:var(--dropdown-hover-color)}#user-preferences-edition .form-items[data-v-7b19a78b]{padding-top:5px}#user-preferences-edition .form-checkboxes .checkboxes-label[data-v-7b19a78b]{font-weight:700}#user-preferences-edition .form-checkboxes .checkboxes[data-v-7b19a78b]{display:flex;gap:10px;flex-wrap:wrap}#user-preferences-edition .form-checkboxes .checkboxes .checkbox-label[data-v-7b19a78b]{padding-left:5px}#user-preferences-edition .form-checkboxes .checkboxes label[data-v-7b19a78b]{font-weight:400}#user-preferences-edition .preferences-section[data-v-7b19a78b]{font-weight:700;text-transform:uppercase;border-bottom:1px solid var(--card-border-color);margin-bottom:5px}#user-preferences-edition .preferences-section[data-v-7b19a78b]:not(:first-child){margin-top:15px}#user-preferences-edition #language[data-v-7b19a78b],#user-preferences-edition #date_format[data-v-7b19a78b],#user-preferences-edition #use_dark_mode[data-v-7b19a78b]{padding:5px}[data-v-31d5cd27]:root{--app-background-color: #ffffff;--app-color: #2c3e50;--app-color-light: #6f7070;--app-a-color: #40578a;--app-a-text-decoration-color: #d2d2d2;--app-shadow-color: lightgrey;--app-loading-color: #f3f3f3;--app-loading-top-color: var(--app-color);--button-hover-color: #ffffff;--button-transparent-hover-color: var(--app-color);--button-cancel-bg-color: #ffffff;--button-cancel-color: var(--app-color);--button-confirm-bg-color: #ffffff;--button-confirm-color: var(--app-color);--button-danger-bg-color: #ffffff;--button-danger-color: #dc3545;--button-danger-hover-bg-color: #dc3545;--button-danger-hover-color: #ffffff;--card-border-color: #c4c7cf;--input-border-color: #9da3af;--input-bg-color: #ffffff;--input-color: var(--app-color);--input-error-color: #dc3545;--dropdown-hover-color: #eff0f5;--dropdown-background-color: #ffffff;--dropdown-border-color: lightgrey;--policy-border-color: #ccc;--policy-link-color: var(--app-a-color);--box-shadow-color: lightgrey;--admin-disabled-input-color: #ffffff;--custom-checkbox-border-color: #6d797a;--custom-checkbox-checked-bg-color: #6d797a;--custom-checkbox-checked-color: #ffffff;--calendar-border-color: #c4c7cf;--calendar-week-end-color: #f5f5f5;--calendar-day-color: var(--app-color-light);--calendar-today-color: #eff1f3;--calendar-workouts-color: whitesmoke;--calendar-workouts-box-shadow-0: rgba(0, 0, 0, .2);--calendar-workouts-box-shadow-1: rgba(0, 0, 0, .19);--modal-background-color: rgba(0, 0, 0, .3);--nav-bar-background-color: #ffffff;--nav-bar-link-active: #485b6e;--nav-border-color: #c5ccdb;--mobile-menu-selected-color: #ffffff;--mobile-menu-selected-bgcolor: #9da3af;--footer-background-color: #ffffff;--footer-border-color: #ebeef3;--footer-color: #6f7070;--form-info: var(--alert-color);--alert-background-color: #d6dde3;--alert-color: #3f3f3f;--info-background-color: #e5e7ea;--info-color: var(--app-color);--error-background-color: #ffd2d2;--error-color: #db1924;--success-background-color: #d9ecd9;--success-color: #306430;--disabled-background-color: #e0e0e0;--disabled-border-color: transparent;--disabled-color: #727272;--disabled-sport-color: #616161;--scroll-button-bg-color: rgba(255, 255, 255, .7);--workout-trophy-color: #daa520;--workout-img-color: invert(22%) sepia(25%) saturate(646%) hue-rotate(169deg) brightness(97%) contrast(96%);--workout-no-map-bg-color: #eaeaea;--workout-no-map-color: #585959;--map-control-color: #000000;--map-control-bg-color: #ffffff;--map-control-border-color: #bfc0ab;--map-control-hover-bg-color: var(--dropdown-hover-color);--map-attribution-text: var(--app-color);--map-display-hover-attribution-text: initial;--map-attribution-bg-color: rgba(255, 255, 255, .7);--map-filter: initial;--map-display-hover-filter: initial;--map-layers-overlays: initial;--map-control-bar: #bfc0ab;--no-map-filter: initial;--workout-static-map-shadow-color: var(--app-shadow-color);--workout-static-map-bg-color: var(--workout-no-map-bg-color);--icon-svg-filter: invert(19%) sepia(9%) saturate(2921%) hue-rotate(169deg) brightness(85%) contrast(80%);--cell-heading-bg-color: #eeeeee;--cell-heading-color: #696969;--svg-filter: drop-shadow(10px 10px 10px var(--app-shadow-color));--password-bg-color: #d7dadf;--password-color-weak: #e46d6e;--password-color-medium: #f8bc4a;--password-color-good: #acc578;--password-color-strong: #57c255;--scroll-thumb-color: #949697}:root [data-theme=dark][data-v-31d5cd27]{--dark-blue: #181a1b;--light-grey: #cfd0d0;--app-background-color: var(--dark-blue);--app-color: var(--light-grey);--app-color-light: #6f7070;--app-a-color: var(--light-grey);--app-a-text-decoration-color: #494949;--app-shadow-color: #383d3f;--app-loading-color: #414141;--app-loading-top-color: #949494;--button-hover-color: var(--app-color);--button-transparent-hover-color: #233240;--button-cancel-bg-color: var(--dark-blue);--button-cancel-color: var(--app-color);--button-confirm-bg-color: var(--dark-blue);--button-confirm-color: var(--app-color);--button-danger-bg-color: var(--dark-blue);--button-danger-color: #dc3545;--button-danger-hover-bg-color: #dc3545;--button-danger-hover-color: var(--dark-blue);--card-border-color: #494f52;--input-border-color: #494f52;--input-bg-color: var(--dark-blue);--input-color: var(--app-color);--input-error-color: #dc3545;--dropdown-hover-color: #233240;--dropdown-background-color: var(--dark-blue);--dropdown-border-color: var(--input-border-color);--policy-border-color: #ccc;--policy-link-color: var(--alert-color);--box-shadow-color: lightgrey;--admin-disabled-input-color: var(--dark-blue);--custom-checkbox-border-color: #665f54;--custom-checkbox-checked-bg-color: #575e62;--custom-checkbox-checked-color: #e8e6e3;--calendar-border-color: var(--input-border-color);--calendar-week-end-color: #1e2021;--calendar-day-color: var(--app-color);--calendar-today-color: #202324;--calendar-workouts-color: #233240;--calendar-workouts-box-shadow-0: rgba(0, 0, 0, .2);--calendar-workouts-box-shadow-1: rgba(0, 0, 0, .19);--modal-background-color: rgba(68, 68, 68, .3);--nav-bar-background-color: var(--dark-blue);--nav-bar-link-active: #ffffff;--nav-border-color: var(--input-border-color);--mobile-menu-selected-color: var(--dark-blue);--mobile-menu-selected-bgcolor: #9da3af;--footer-background-color: var(--dark-blue);--footer-border-color: var(--input-border-color);--footer-color: #9f968a;--form-info: var(--app-color);--alert-background-color: #3f3f3f;--alert-color: #d6dde3;--info-background-color: #33353a;--info-color: var(--app-color);--error-background-color: #4e0000;--error-color: #ea464f;--success-background-color: #24391c;--success-color: #97cd97;--disabled-background-color: var(--dark-blue);--disabled-border-color: transparent;--disabled-color: #727272;--disabled-sport-color: #616161;--scroll-button-bg-color: var(--dark-blue);--workout-trophy-color: #daa520;--workout-img-color: invert(22%) sepia(25%) saturate(646%) hue-rotate(169deg) brightness(97%) contrast(96%);--workout-no-map-bg-color: #eaeaea;--workout-no-map-color: #585959;--map-control-color: #000000;--map-control-bg-color: #ffffff;--map-control-border-color: #bfc0ab;--map-control-hover-bg-color: #eff0f5;--map-attribution-text: #e8e8e8;--map-display-hover-attribution-text: #444444;--map-attribution-bg-color: none;--map-filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.85);--map-display-hover-filter: invert(1) hue-rotate(180deg) brightness(1.5) contrast(.6);--map-layers-overlays: var(--app-color);--map-control-bar: var(--app-color);--no-map-filter: invert(1) brightness(1.5) contrast(.9);--workout-static-map-shadow-color: #d2d2d2;--workout-static-map-bg-color: #818181;--icon-svg-filter: invert(90%) sepia(19%) saturate(0%) hue-rotate(39deg) brightness(86%) contrast(102%);--cell-heading-bg-color: #383838;--cell-heading-color: #eeeeee;--svg-filter: drop-shadow(10px 10px 10px var(--app-shadow-color));--password-bg-color: #d7dadf;--password-color-weak: #831819;--password-color-medium: #9e6906;--password-color-good: #4b5826;--password-color-strong: #4a8c32;--scroll-thumb-color: #949697}@font-face{font-family:PT Sans;font-style:normal;font-weight:400;src:url(/static/fonts/pt-sans-v9-latin-regular-T9JcUGms.eot);src:local("PT Sans"),local("PTSans-Regular"),url(/static/fonts/pt-sans-v9-latin-regular-T9JcUGms.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-regular-45aO1uf0.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-regular-IXe2Axuj.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-regular-pqSZZJmj.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-regular-21U27O2x.svg#PTSans) format("svg")}@font-face{font-family:PT Sans;font-style:italic;font-weight:400;src:url(/static/fonts/pt-sans-v9-latin-italic-4DDtZWYF.eot);src:local("PT Sans Italic"),local("PTSans-Italic"),url(/static/fonts/pt-sans-v9-latin-italic-4DDtZWYF.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-italic-1FTPleHH.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-italic-DwGwmXuQ.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-italic-I2gXY_1s.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-italic-YH_Gnq5o.svg#PTSans) format("svg")}@font-face{font-family:PT Sans;font-style:normal;font-weight:700;src:url(/static/fonts/pt-sans-v9-latin-700-skEWD7W_.eot);src:local("PT Sans Bold"),local("PTSans-Bold"),url(/static/fonts/pt-sans-v9-latin-700-skEWD7W_.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-700-BC8QGIrG.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-700-tcZ3J-O8.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-700-TR0YiIVK.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-700-Xyyq4crW.svg#PTSans) format("svg")}html [data-theme=dark][data-v-31d5cd27]{color-scheme:dark}body[data-v-31d5cd27]{margin:0;overflow-y:scroll;scrollbar-gutter:stable both-edges}body[data-v-31d5cd27]::-webkit-scrollbar{width:5px;height:5px}body[data-v-31d5cd27]::-webkit-scrollbar-track{background:transparent}body[data-v-31d5cd27]::-webkit-scrollbar-thumb{background:transparent;border-radius:10px}body[data-v-31d5cd27]:hover::-webkit-scrollbar-thumb{background:var(--scroll-thumb-color)}body[data-v-31d5cd27]:hover::-webkit-scrollbar-track{background:transparent}#app[data-v-31d5cd27]{font-family:PT Sans,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--app-color);background-color:var(--app-background-color);margin:0;min-height:100vh}a[data-v-31d5cd27]{color:var(--app-a-color);text-decoration-color:var(--app-a-text-decoration-color)}a[data-v-31d5cd27]:hover,a[data-v-31d5cd27]:focus{text-decoration-color:var(--app-a-color)}img[data-v-31d5cd27]{max-width:100%}input[data-v-31d5cd27],textarea[data-v-31d5cd27],select[data-v-31d5cd27]{background-color:var(--input-bg-color);border-radius:4px;border:solid 1px var(--input-border-color);color:var(--input-color);padding:10px}input[data-v-31d5cd27]:disabled,textarea[data-v-31d5cd27]:disabled,select[data-v-31d5cd27]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}form.errors[data-v-31d5cd27] :invalid{outline:2px solid var(--input-error-color)}label[data-v-31d5cd27]{font-weight:700}button[data-v-31d5cd27]{background:var(--app-background-color);border:solid 1px var(--input-border-color);border-radius:4px;box-shadow:2px 2px 2px var(--app-shadow-color);color:var(--app-color);padding:6px 14px}button.transparent[data-v-31d5cd27]{font-family:PT Sans,Helvetica,Arial,sans-serif;font-size:1em;border-color:transparent;box-shadow:none}button.transparent[data-v-31d5cd27]:hover,button.transparent[data-v-31d5cd27]:disabled{background:transparent}button.transparent[data-v-31d5cd27]:hover{color:var(--app-color)}button.transparent[data-v-31d5cd27]:enabled:active{box-shadow:none}button.transparent[data-v-31d5cd27]:disabled,button.transparent.confirm[data-v-31d5cd27]:disabled{border-color:var(--disabled-border-color);color:var(--disabled-color)}button[data-v-31d5cd27]:hover{background:var(--button-transparent-hover-color);color:var(--button-hover-color)}button[data-v-31d5cd27]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-31d5cd27]:disabled,button.confirm[data-v-31d5cd27]:disabled{background:var(--disabled-background-color);color:var(--disabled-color)}button.cancel[data-v-31d5cd27]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-31d5cd27]:hover{background:var(--button-transparent-hover-color);color:var(--button-hover-color)}button.confirm[data-v-31d5cd27]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-31d5cd27]:hover{background:var(--button-transparent-hover-color);color:var(--button-hover-color)}button.danger[data-v-31d5cd27]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-31d5cd27]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-31d5cd27]:disabled{background:var(--disabled-background-color);color:var(--disabled-color)}.box[data-v-31d5cd27]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-31d5cd27]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-31d5cd27]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-31d5cd27]{display:flex;flex-direction:column}.form-box .form-items input[data-v-31d5cd27]{margin:10px;padding:5px}.form-info[data-v-31d5cd27]{color:var(--form-info);font-size:.8em;margin-top:-2px;padding:0 15px}.success-message[data-v-31d5cd27]{margin:20px 0;background-color:var(--success-background-color);color:var(--success-color)}.upper[data-v-31d5cd27]{text-transform:uppercase}.view[data-v-31d5cd27]{padding-bottom:35px;background-color:var(--app-background-color)}.fa-trophy[data-v-31d5cd27]{color:var(--workout-trophy-color)}.mountains[data-v-31d5cd27]{margin-bottom:-3px;height:16px;filter:var(--icon-svg-filter)}.section-title[data-v-31d5cd27]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-31d5cd27]{background-color:var(--workout-no-map-bg-color);background-image:url(/static/img/map-3oCLAjmu.svg);background-size:contain;background-repeat:no-repeat;background-position:center;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-31d5cd27]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-31d5cd27]{display:inline-flex}@media screen and (max-width: 300px){.custom-checkboxes-group .custom-checkboxes[data-v-31d5cd27]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-31d5cd27]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-31d5cd27]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-31d5cd27]{border:solid 1px var(--custom-checkbox-border-color);border-radius:5px;display:block;font-size:.9em;padding:2px 6px;text-align:center}.custom-checkboxes-group .custom-checkboxes .custom-checkbox input:checked+span[data-v-31d5cd27]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-31d5cd27]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-31d5cd27]{font-weight:700}.description-list dl dd[data-v-31d5cd27]{margin-bottom:10px}.center-card[data-v-31d5cd27]{margin:0 auto;width:700px}.center-card.with-margin[data-v-31d5cd27]{margin-top:100px}@media screen and (max-width: 1000px){.center-card[data-v-31d5cd27]{width:100%;margin:0 auto 50px}}.text-center[data-v-31d5cd27]{text-align:center}.text-left[data-v-31d5cd27]{text-align:left}.responsive-table[data-v-31d5cd27]{margin-bottom:15px}.responsive-table table[data-v-31d5cd27]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-31d5cd27]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-31d5cd27]{font-size:.95em}.responsive-table table tbody td[data-v-31d5cd27]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-31d5cd27]{border:none}.responsive-table table .cell-heading[data-v-31d5cd27]{background:var(--cell-heading-bg-color);color:var(--cell-heading-color);display:none;font-size:10px;font-weight:700;padding:5px;position:absolute;text-transform:uppercase;top:0;left:0}@media screen and (max-width: 700px){.responsive-table table thead[data-v-31d5cd27]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-31d5cd27]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-31d5cd27]{border:1px solid var(--card-border-color);margin:0 -1px -1px 0;padding-top:25px!important;position:relative;text-align:center;width:45%}.responsive-table table tbody tr:last-child td[data-v-31d5cd27]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-31d5cd27]{display:flex}}@media screen and (max-width: 500px){.responsive-table table td[data-v-31d5cd27]{width:100%}}.profile-buttons[data-v-31d5cd27]{display:flex;gap:10px}.medium-sport-img[data-v-31d5cd27]{height:35px;width:35px;margin:0 auto}.privacy-policy-text[data-v-31d5cd27]{margin:10px 50px 20px;padding:10px;width:100%}@media screen and (max-width: 700px){.privacy-policy-text[data-v-31d5cd27]{margin:0}}#user-privacy-policy[data-v-9b1ceaf7]{padding:10px 0}#user-privacy-policy form[data-v-9b1ceaf7]{display:flex;flex-direction:column;gap:10px}#user-privacy-policy form .policy-content[data-v-9b1ceaf7]{height:500px;border:1px solid var(--policy-border-color);overflow:auto;margin:10px;border-radius:4px}@media screen and (max-width: 700px){#user-privacy-policy form .policy-content[data-v-9b1ceaf7]{margin:10px 0;font-size:.9em}}#user-privacy-policy form .policy-content .privacy-policy-text[data-v-9b1ceaf7]{width:auto}#user-privacy-policy form .form-buttons[data-v-9b1ceaf7]{display:flex;gap:10px;flex-direction:row}@media screen and (max-width: 500px){#user-privacy-policy form .form-buttons[data-v-9b1ceaf7]{flex-direction:column}}#new-oauth2-app #new-oauth2-title[data-v-e2284e06]{font-size:1.05em;font-weight:700;padding:0 10px}#new-oauth2-app #apps-form .form-items[data-v-e2284e06]{display:flex;flex-direction:column}#new-oauth2-app #apps-form .form-items input[type=text][data-v-e2284e06]{height:20px}#new-oauth2-app #apps-form .form-items .form-item-scope[data-v-e2284e06]{padding:10px}#new-oauth2-app #apps-form .form-items .form-item-scope .form-item-scope-label[data-v-e2284e06]{font-weight:700}#new-oauth2-app #apps-form .form-items .form-item-scope .form-item-scope-checkboxes[data-v-e2284e06]{padding-bottom:10px}#new-oauth2-app #apps-form .form-items .form-item-scope .form-item-scope-checkboxes .scope-label[data-v-e2284e06]{height:inherit}#new-oauth2-app #apps-form .form-items .form-item-scope .form-item-scope-checkboxes .scope-description[data-v-e2284e06]{font-style:italic;margin:0 5px}#new-oauth2-app #apps-form .form-items .form-item[data-v-e2284e06]{display:flex;flex-direction:column;padding:10px}#new-oauth2-app #apps-form .form-buttons[data-v-e2284e06]{display:flex;justify-content:flex-end}#new-oauth2-app #apps-form .form-buttons button[data-v-e2284e06]{margin:5px}#authorize-oauth2-app #authorize-oauth2-title[data-v-a8ed6bf8]{font-size:1.05em;font-weight:700;padding:0 10px}#authorize-oauth2-app .oauth2-access[data-v-a8ed6bf8]{padding:0 10px}#authorize-oauth2-app .authorize-oauth2-buttons[data-v-a8ed6bf8]{display:flex}#authorize-oauth2-app .authorize-oauth2-buttons button[data-v-a8ed6bf8]{margin:5px}#oauth2-app .app-buttons[data-v-3a7d0f4a]{display:flex;flex-wrap:wrap;gap:10px}#oauth2-app .app-secret[data-v-3a7d0f4a]{word-break:break-word}#oauth2-app .client-scopes[data-v-3a7d0f4a]{display:flex;flex-wrap:wrap}#oauth2-app .client-scopes .client-scope[data-v-3a7d0f4a]{padding-right:15px}#oauth2-app .fa-copy[data-v-3a7d0f4a]{font-size:.9em}#oauth2-app .no-description[data-v-3a7d0f4a]{font-style:italic}#oauth2-app .no-app[data-v-3a7d0f4a]{font-style:italic;padding:10px 0}#oauth2-apps-list ul[data-v-064a87b7]{list-style:square}#oauth2-apps-list ul li[data-v-064a87b7]{padding-bottom:10px}#oauth2-apps-list .app-issued-at[data-v-064a87b7]{font-size:.85em;font-style:italic;padding-left:10px}#oauth2-apps-list .apps-list[data-v-064a87b7]{font-size:1.05em;font-weight:700}#oauth2-apps-list .app-list-buttons[data-v-064a87b7]{display:flex;gap:10px}#oauth2-apps-list .no-apps[data-v-064a87b7]{font-style:italic;padding-bottom:20px}#user-sport-preferences .sport-img[data-v-aa4857fe]{height:35px;width:35px;margin:0 auto}#user-sport-preferences .sport-color[data-v-aa4857fe]{border:none;margin:6px 1px 6px 0;padding:0;width:40px}#user-sport-preferences .sport-label[data-v-aa4857fe]{width:170px}#user-sport-preferences .disabled-sport[data-v-aa4857fe]{font-style:italic;color:var(--disabled-sport-color)}#user-sport-preferences .disabled-sport .disabled-message[data-v-aa4857fe]{font-size:.9em}#user-sport-preferences .disabled-sport .cell-heading[data-v-aa4857fe]{font-style:normal}#user-sport-preferences .action-buttons[data-v-aa4857fe]{width:70px}#user-sport-preferences .edition-buttons[data-v-aa4857fe]{display:flex;flex-wrap:wrap;gap:5px;line-height:1.3em}#user-sport-preferences .edition-buttons button[data-v-aa4857fe]{text-align:center;min-width:80px}#user-sport-preferences .threshold-input[data-v-aa4857fe]{padding:5px;width:50px}#user-sport-preferences .mobile-display[data-v-aa4857fe]{display:none}#user-sport-preferences div.error-message[data-v-aa4857fe]{margin:0}@media screen and (max-width: 700px){#user-sport-preferences .sport-label[data-v-aa4857fe],#user-sport-preferences .action-buttons[data-v-aa4857fe]{width:45%}#user-sport-preferences .edition-buttons[data-v-aa4857fe]{justify-content:center}#user-sport-preferences .mobile-display[data-v-aa4857fe]{display:flex;margin:20px 0 10px}}@media screen and (max-width: 500px){#user-sport-preferences .sport-label[data-v-aa4857fe],#user-sport-preferences .action-buttons[data-v-aa4857fe]{width:100%}}[data-v-34b1686b]:root{--app-background-color: #ffffff;--app-color: #2c3e50;--app-color-light: #6f7070;--app-a-color: #40578a;--app-a-text-decoration-color: #d2d2d2;--app-shadow-color: lightgrey;--app-loading-color: #f3f3f3;--app-loading-top-color: var(--app-color);--button-hover-color: #ffffff;--button-transparent-hover-color: var(--app-color);--button-cancel-bg-color: #ffffff;--button-cancel-color: var(--app-color);--button-confirm-bg-color: #ffffff;--button-confirm-color: var(--app-color);--button-danger-bg-color: #ffffff;--button-danger-color: #dc3545;--button-danger-hover-bg-color: #dc3545;--button-danger-hover-color: #ffffff;--card-border-color: #c4c7cf;--input-border-color: #9da3af;--input-bg-color: #ffffff;--input-color: var(--app-color);--input-error-color: #dc3545;--dropdown-hover-color: #eff0f5;--dropdown-background-color: #ffffff;--dropdown-border-color: lightgrey;--policy-border-color: #ccc;--policy-link-color: var(--app-a-color);--box-shadow-color: lightgrey;--admin-disabled-input-color: #ffffff;--custom-checkbox-border-color: #6d797a;--custom-checkbox-checked-bg-color: #6d797a;--custom-checkbox-checked-color: #ffffff;--calendar-border-color: #c4c7cf;--calendar-week-end-color: #f5f5f5;--calendar-day-color: var(--app-color-light);--calendar-today-color: #eff1f3;--calendar-workouts-color: whitesmoke;--calendar-workouts-box-shadow-0: rgba(0, 0, 0, .2);--calendar-workouts-box-shadow-1: rgba(0, 0, 0, .19);--modal-background-color: rgba(0, 0, 0, .3);--nav-bar-background-color: #ffffff;--nav-bar-link-active: #485b6e;--nav-border-color: #c5ccdb;--mobile-menu-selected-color: #ffffff;--mobile-menu-selected-bgcolor: #9da3af;--footer-background-color: #ffffff;--footer-border-color: #ebeef3;--footer-color: #6f7070;--form-info: var(--alert-color);--alert-background-color: #d6dde3;--alert-color: #3f3f3f;--info-background-color: #e5e7ea;--info-color: var(--app-color);--error-background-color: #ffd2d2;--error-color: #db1924;--success-background-color: #d9ecd9;--success-color: #306430;--disabled-background-color: #e0e0e0;--disabled-border-color: transparent;--disabled-color: #727272;--disabled-sport-color: #616161;--scroll-button-bg-color: rgba(255, 255, 255, .7);--workout-trophy-color: #daa520;--workout-img-color: invert(22%) sepia(25%) saturate(646%) hue-rotate(169deg) brightness(97%) contrast(96%);--workout-no-map-bg-color: #eaeaea;--workout-no-map-color: #585959;--map-control-color: #000000;--map-control-bg-color: #ffffff;--map-control-border-color: #bfc0ab;--map-control-hover-bg-color: var(--dropdown-hover-color);--map-attribution-text: var(--app-color);--map-display-hover-attribution-text: initial;--map-attribution-bg-color: rgba(255, 255, 255, .7);--map-filter: initial;--map-display-hover-filter: initial;--map-layers-overlays: initial;--map-control-bar: #bfc0ab;--no-map-filter: initial;--workout-static-map-shadow-color: var(--app-shadow-color);--workout-static-map-bg-color: var(--workout-no-map-bg-color);--icon-svg-filter: invert(19%) sepia(9%) saturate(2921%) hue-rotate(169deg) brightness(85%) contrast(80%);--cell-heading-bg-color: #eeeeee;--cell-heading-color: #696969;--svg-filter: drop-shadow(10px 10px 10px var(--app-shadow-color));--password-bg-color: #d7dadf;--password-color-weak: #e46d6e;--password-color-medium: #f8bc4a;--password-color-good: #acc578;--password-color-strong: #57c255;--scroll-thumb-color: #949697}:root [data-theme=dark][data-v-34b1686b]{--dark-blue: #181a1b;--light-grey: #cfd0d0;--app-background-color: var(--dark-blue);--app-color: var(--light-grey);--app-color-light: #6f7070;--app-a-color: var(--light-grey);--app-a-text-decoration-color: #494949;--app-shadow-color: #383d3f;--app-loading-color: #414141;--app-loading-top-color: #949494;--button-hover-color: var(--app-color);--button-transparent-hover-color: #233240;--button-cancel-bg-color: var(--dark-blue);--button-cancel-color: var(--app-color);--button-confirm-bg-color: var(--dark-blue);--button-confirm-color: var(--app-color);--button-danger-bg-color: var(--dark-blue);--button-danger-color: #dc3545;--button-danger-hover-bg-color: #dc3545;--button-danger-hover-color: var(--dark-blue);--card-border-color: #494f52;--input-border-color: #494f52;--input-bg-color: var(--dark-blue);--input-color: var(--app-color);--input-error-color: #dc3545;--dropdown-hover-color: #233240;--dropdown-background-color: var(--dark-blue);--dropdown-border-color: var(--input-border-color);--policy-border-color: #ccc;--policy-link-color: var(--alert-color);--box-shadow-color: lightgrey;--admin-disabled-input-color: var(--dark-blue);--custom-checkbox-border-color: #665f54;--custom-checkbox-checked-bg-color: #575e62;--custom-checkbox-checked-color: #e8e6e3;--calendar-border-color: var(--input-border-color);--calendar-week-end-color: #1e2021;--calendar-day-color: var(--app-color);--calendar-today-color: #202324;--calendar-workouts-color: #233240;--calendar-workouts-box-shadow-0: rgba(0, 0, 0, .2);--calendar-workouts-box-shadow-1: rgba(0, 0, 0, .19);--modal-background-color: rgba(68, 68, 68, .3);--nav-bar-background-color: var(--dark-blue);--nav-bar-link-active: #ffffff;--nav-border-color: var(--input-border-color);--mobile-menu-selected-color: var(--dark-blue);--mobile-menu-selected-bgcolor: #9da3af;--footer-background-color: var(--dark-blue);--footer-border-color: var(--input-border-color);--footer-color: #9f968a;--form-info: var(--app-color);--alert-background-color: #3f3f3f;--alert-color: #d6dde3;--info-background-color: #33353a;--info-color: var(--app-color);--error-background-color: #4e0000;--error-color: #ea464f;--success-background-color: #24391c;--success-color: #97cd97;--disabled-background-color: var(--dark-blue);--disabled-border-color: transparent;--disabled-color: #727272;--disabled-sport-color: #616161;--scroll-button-bg-color: var(--dark-blue);--workout-trophy-color: #daa520;--workout-img-color: invert(22%) sepia(25%) saturate(646%) hue-rotate(169deg) brightness(97%) contrast(96%);--workout-no-map-bg-color: #eaeaea;--workout-no-map-color: #585959;--map-control-color: #000000;--map-control-bg-color: #ffffff;--map-control-border-color: #bfc0ab;--map-control-hover-bg-color: #eff0f5;--map-attribution-text: #e8e8e8;--map-display-hover-attribution-text: #444444;--map-attribution-bg-color: none;--map-filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.85);--map-display-hover-filter: invert(1) hue-rotate(180deg) brightness(1.5) contrast(.6);--map-layers-overlays: var(--app-color);--map-control-bar: var(--app-color);--no-map-filter: invert(1) brightness(1.5) contrast(.9);--workout-static-map-shadow-color: #d2d2d2;--workout-static-map-bg-color: #818181;--icon-svg-filter: invert(90%) sepia(19%) saturate(0%) hue-rotate(39deg) brightness(86%) contrast(102%);--cell-heading-bg-color: #383838;--cell-heading-color: #eeeeee;--svg-filter: drop-shadow(10px 10px 10px var(--app-shadow-color));--password-bg-color: #d7dadf;--password-color-weak: #831819;--password-color-medium: #9e6906;--password-color-good: #4b5826;--password-color-strong: #4a8c32;--scroll-thumb-color: #949697}@font-face{font-family:PT Sans;font-style:normal;font-weight:400;src:url(/static/fonts/pt-sans-v9-latin-regular-T9JcUGms.eot);src:local("PT Sans"),local("PTSans-Regular"),url(/static/fonts/pt-sans-v9-latin-regular-T9JcUGms.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-regular-45aO1uf0.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-regular-IXe2Axuj.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-regular-pqSZZJmj.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-regular-21U27O2x.svg#PTSans) format("svg")}@font-face{font-family:PT Sans;font-style:italic;font-weight:400;src:url(/static/fonts/pt-sans-v9-latin-italic-4DDtZWYF.eot);src:local("PT Sans Italic"),local("PTSans-Italic"),url(/static/fonts/pt-sans-v9-latin-italic-4DDtZWYF.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-italic-1FTPleHH.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-italic-DwGwmXuQ.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-italic-I2gXY_1s.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-italic-YH_Gnq5o.svg#PTSans) format("svg")}@font-face{font-family:PT Sans;font-style:normal;font-weight:700;src:url(/static/fonts/pt-sans-v9-latin-700-skEWD7W_.eot);src:local("PT Sans Bold"),local("PTSans-Bold"),url(/static/fonts/pt-sans-v9-latin-700-skEWD7W_.eot?#iefix) format("embedded-opentype"),url(/static/fonts/pt-sans-v9-latin-700-BC8QGIrG.woff2) format("woff2"),url(/static/fonts/pt-sans-v9-latin-700-tcZ3J-O8.woff) format("woff"),url(/static/fonts/pt-sans-v9-latin-700-TR0YiIVK.ttf) format("truetype"),url(/static/fonts/pt-sans-v9-latin-700-Xyyq4crW.svg#PTSans) format("svg")}html [data-theme=dark][data-v-34b1686b]{color-scheme:dark}body[data-v-34b1686b]{margin:0;overflow-y:scroll;scrollbar-gutter:stable both-edges}body[data-v-34b1686b]::-webkit-scrollbar{width:5px;height:5px}body[data-v-34b1686b]::-webkit-scrollbar-track{background:transparent}body[data-v-34b1686b]::-webkit-scrollbar-thumb{background:transparent;border-radius:10px}body[data-v-34b1686b]:hover::-webkit-scrollbar-thumb{background:var(--scroll-thumb-color)}body[data-v-34b1686b]:hover::-webkit-scrollbar-track{background:transparent}#app[data-v-34b1686b]{font-family:PT Sans,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--app-color);background-color:var(--app-background-color);margin:0;min-height:100vh}a[data-v-34b1686b]{color:var(--app-a-color);text-decoration-color:var(--app-a-text-decoration-color)}a[data-v-34b1686b]:hover,a[data-v-34b1686b]:focus{text-decoration-color:var(--app-a-color)}img[data-v-34b1686b]{max-width:100%}input[data-v-34b1686b],textarea[data-v-34b1686b],select[data-v-34b1686b]{background-color:var(--input-bg-color);border-radius:4px;border:solid 1px var(--input-border-color);color:var(--input-color);padding:10px}input[data-v-34b1686b]:disabled,textarea[data-v-34b1686b]:disabled,select[data-v-34b1686b]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}form.errors[data-v-34b1686b] :invalid{outline:2px solid var(--input-error-color)}label[data-v-34b1686b]{font-weight:700}button[data-v-34b1686b]{background:var(--app-background-color);border:solid 1px var(--input-border-color);border-radius:4px;box-shadow:2px 2px 2px var(--app-shadow-color);color:var(--app-color);padding:6px 14px}button.transparent[data-v-34b1686b]{font-family:PT Sans,Helvetica,Arial,sans-serif;font-size:1em;border-color:transparent;box-shadow:none}button.transparent[data-v-34b1686b]:hover,button.transparent[data-v-34b1686b]:disabled{background:transparent}button.transparent[data-v-34b1686b]:hover{color:var(--app-color)}button.transparent[data-v-34b1686b]:enabled:active{box-shadow:none}button.transparent[data-v-34b1686b]:disabled,button.transparent.confirm[data-v-34b1686b]:disabled{border-color:var(--disabled-border-color);color:var(--disabled-color)}button[data-v-34b1686b]:hover{background:var(--button-transparent-hover-color);color:var(--button-hover-color)}button[data-v-34b1686b]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-34b1686b]:disabled,button.confirm[data-v-34b1686b]:disabled{background:var(--disabled-background-color);color:var(--disabled-color)}button.cancel[data-v-34b1686b]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-34b1686b]:hover{background:var(--button-transparent-hover-color);color:var(--button-hover-color)}button.confirm[data-v-34b1686b]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-34b1686b]:hover{background:var(--button-transparent-hover-color);color:var(--button-hover-color)}button.danger[data-v-34b1686b]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-34b1686b]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-34b1686b]:disabled{background:var(--disabled-background-color);color:var(--disabled-color)}.box[data-v-34b1686b]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-34b1686b]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-34b1686b]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-34b1686b]{display:flex;flex-direction:column}.form-box .form-items input[data-v-34b1686b]{margin:10px;padding:5px}.form-info[data-v-34b1686b]{color:var(--form-info);font-size:.8em;margin-top:-2px;padding:0 15px}.success-message[data-v-34b1686b]{margin:20px 0;background-color:var(--success-background-color);color:var(--success-color)}.upper[data-v-34b1686b]{text-transform:uppercase}.view[data-v-34b1686b]{padding-bottom:35px;background-color:var(--app-background-color)}.fa-trophy[data-v-34b1686b]{color:var(--workout-trophy-color)}.mountains[data-v-34b1686b]{margin-bottom:-3px;height:16px;filter:var(--icon-svg-filter)}.section-title[data-v-34b1686b]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-34b1686b]{background-color:var(--workout-no-map-bg-color);background-image:url(/static/img/map-3oCLAjmu.svg);background-size:contain;background-repeat:no-repeat;background-position:center;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-34b1686b]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-34b1686b]{display:inline-flex}@media screen and (max-width: 300px){.custom-checkboxes-group .custom-checkboxes[data-v-34b1686b]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-34b1686b]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-34b1686b]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-34b1686b]{border:solid 1px var(--custom-checkbox-border-color);border-radius:5px;display:block;font-size:.9em;padding:2px 6px;text-align:center}.custom-checkboxes-group .custom-checkboxes .custom-checkbox input:checked+span[data-v-34b1686b]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-34b1686b]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-34b1686b]{font-weight:700}.description-list dl dd[data-v-34b1686b]{margin-bottom:10px}.center-card[data-v-34b1686b]{margin:0 auto;width:700px}.center-card.with-margin[data-v-34b1686b]{margin-top:100px}@media screen and (max-width: 1000px){.center-card[data-v-34b1686b]{width:100%;margin:0 auto 50px}}.text-center[data-v-34b1686b]{text-align:center}.text-left[data-v-34b1686b]{text-align:left}.responsive-table[data-v-34b1686b]{margin-bottom:15px}.responsive-table table[data-v-34b1686b]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-34b1686b]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-34b1686b]{font-size:.95em}.responsive-table table tbody td[data-v-34b1686b]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-34b1686b]{border:none}.responsive-table table .cell-heading[data-v-34b1686b]{background:var(--cell-heading-bg-color);color:var(--cell-heading-color);display:none;font-size:10px;font-weight:700;padding:5px;position:absolute;text-transform:uppercase;top:0;left:0}@media screen and (max-width: 700px){.responsive-table table thead[data-v-34b1686b]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-34b1686b]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-34b1686b]{border:1px solid var(--card-border-color);margin:0 -1px -1px 0;padding-top:25px!important;position:relative;text-align:center;width:45%}.responsive-table table tbody tr:last-child td[data-v-34b1686b]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-34b1686b]{display:flex}}@media screen and (max-width: 500px){.responsive-table table td[data-v-34b1686b]{width:100%}}.profile-buttons[data-v-34b1686b]{display:flex;gap:10px}.medium-sport-img[data-v-34b1686b]{height:35px;width:35px;margin:0 auto}.about-text[data-v-34b1686b]{margin-top:200px;margin-right:100px}@media screen and (max-width: 700px){.about-text[data-v-34b1686b]{margin-top:0;margin-right:0}}.about-text .fa-padding[data-v-34b1686b]{padding-right:10px}.about-text .about-instance[data-v-34b1686b]{font-weight:700;margin-top:30px}#bike[data-v-dc181e30]{display:flex;justify-content:center;margin-top:180px;padding:10px}#bike .bike-img[data-v-dc181e30]{max-width:200px}@media screen and (max-width: 700px){#bike[data-v-dc181e30]{margin-top:10px}#bike .bike-img[data-v-dc181e30]{max-width:150px}}#about[data-v-ef9c7198]{display:flex;height:100%}#about .container[data-v-ef9c7198]{display:flex;flex-direction:row;justify-content:space-evenly;margin-bottom:20px;width:100%}#about .container .container-sub[data-v-ef9c7198]{min-width:50%;height:100%}#about .container .about-details[data-v-ef9c7198]{width:100%}@media screen and (max-width: 1000px){#about[data-v-ef9c7198]{height:auto}#about .container .container-sub[data-v-ef9c7198]{align-items:center}#about .container .container-sub .bike-img[data-v-ef9c7198]{max-width:60%}}@media screen and (max-width: 700px){#about .container[data-v-ef9c7198]{flex-direction:column}}#error[data-v-48ec856d]{display:flex;align-items:center;justify-content:center;height:75vh;text-align:center}#error .error-content[data-v-48ec856d]{margin-top:50px}#error .error-content h1[data-v-48ec856d]{font-size:6em;text-shadow:4px 4px 0 var(--app-shadow-color)}#error .error-content p[data-v-48ec856d]{font-size:1.2em;margin:30px 0}#admin .admin-card[data-v-5eee0876]{width:100%}#admin .admin-card[data-v-5eee0876] .card .admin-form{display:flex;flex-direction:column}#admin .admin-card[data-v-5eee0876] .card .admin-form label{display:flex;align-items:center;justify-content:space-between;margin:10px 0;flex-wrap:wrap}#admin .admin-card[data-v-5eee0876] .card .admin-form label input{width:50%;font-size:.9em;margin-right:50px}@media screen and (max-width: 1000px){#admin .admin-card[data-v-5eee0876] .card .admin-form label input{margin-right:0}}@media screen and (max-width: 700px){#admin .admin-card[data-v-5eee0876] .card .admin-form label input{width:100%}}#admin .admin-card[data-v-5eee0876] .card .admin-form label input:disabled{-webkit-appearance:none;-moz-appearance:textfield;background-color:var(--admin-disabled-input-color);border-color:var(--admin-disabled-input-color);color:var(--app-color)}#admin .admin-card[data-v-5eee0876] .card .admin-form .form-buttons{display:flex;gap:10px;margin-bottom:10px}.static-map{display:flex;position:relative}.static-map.display-hover{position:absolute;margin-left:20px;margin-top:3px;width:400px;height:225px;z-index:100;filter:var(--map-display-hover-filter)}.static-map.display-hover .map-attribution-text{color:var(--map-display-hover-attribution-text);background-color:var(--map-attribution-bg-color)}.static-map .bg-map-image{background-size:cover;background-position:center;opacity:.6;height:200px;width:100%;filter:var(--map-filter)}.static-map .map-attribution{top:0;right:0;font-size:11px;position:absolute}.static-map .map-attribution-text{color:var(--map-attribution-text);background-color:var(--map-attribution-bg-color)}.mountains[data-v-0bcae633]{padding-right:5px}.timeline-workout[data-v-0bcae633]{margin-bottom:20px}.timeline-workout .box[data-v-0bcae633]{flex-direction:column;padding:0}.timeline-workout .box .workout-user-date[data-v-0bcae633]{display:flex;justify-content:space-between;align-items:flex-start;padding:5px 10px}.timeline-workout .box .workout-user-date .workout-user[data-v-0bcae633]{display:flex}.timeline-workout .box .workout-user-date .workout-user[data-v-0bcae633] .user-picture img{height:25px;width:25px}.timeline-workout .box .workout-user-date .workout-user[data-v-0bcae633] .user-picture .no-picture{font-size:1.5em}.timeline-workout .box .workout-user-date .workout-user .workout-user-name[data-v-0bcae633]{white-space:nowrap;padding-left:5px;text-decoration:none}.timeline-workout .box .workout-user-date .workout-date[data-v-0bcae633]{font-size:.85em;font-style:italic;white-space:nowrap}.timeline-workout .box .workout-user-date .workout-title[data-v-0bcae633]{display:block;text-align:center;padding:0 10px}@media screen and (max-width: 500px){.timeline-workout .box .workout-user-date .workout-title[data-v-0bcae633]{display:none}}.timeline-workout .box .workout-map[data-v-0bcae633]{background-color:var(--workout-static-map-bg-color);height:150px}.timeline-workout .box .workout-map .no-map[data-v-0bcae633]{line-height:150px;filter:var(--no-map-filter)}.timeline-workout .box .workout-map[data-v-0bcae633] .bg-map-image{height:150px}.timeline-workout .box .workout-data[data-v-0bcae633]{display:flex;padding:5px;font-size:.9em}.timeline-workout .box .workout-data .sport-img[data-v-0bcae633]{height:25px;width:25px}.timeline-workout .box .workout-data .img[data-v-0bcae633],.timeline-workout .box .workout-data .data[data-v-0bcae633]{display:flex;align-items:center}.timeline-workout .box .workout-data .img .data-values[data-v-0bcae633],.timeline-workout .box .workout-data .data .data-values[data-v-0bcae633]{display:flex;flex-wrap:wrap}.timeline-workout .box .workout-data .img[data-v-0bcae633]{justify-content:flex-end;width:10%}.timeline-workout .box .workout-data .data[data-v-0bcae633]{justify-content:center;width:22%}@media screen and (max-width: 500px){.timeline-workout .box .workout-data .img[data-v-0bcae633]{justify-content:center;width:20%}.timeline-workout .box .workout-data .data[data-v-0bcae633]{justify-content:center;width:40%}.timeline-workout .box .workout-data .altitude[data-v-0bcae633],.timeline-workout .box .workout-data .elevation[data-v-0bcae633]{display:none}}.timeline-workout .box .workout-data.without-elevation .img[data-v-0bcae633],.timeline-workout .box .workout-data.without-elevation .data[data-v-0bcae633]{justify-content:center;width:33%}.timeline-workout .box .workout-map[data-v-0bcae633],.timeline-workout .box .workout-data[data-v-0bcae633]{cursor:pointer}.timeline-workout .box .no-cursor[data-v-0bcae633]{cursor:default}.timeline-workout .box .fa[data-v-0bcae633]{padding-right:10px}.no-workouts[data-v-b0c91cc6]{display:flex;justify-content:center}#timeline[data-v-e0964959]{margin-bottom:20px}#timeline .more-workouts[data-v-e0964959]{display:flex;justify-content:center}.calendar-workout{display:flex;padding:1px;cursor:pointer}.calendar-workout .sport-img{width:18px;height:18px}.calendar-workout sup{position:relative;top:-8px;left:-3px;width:2px}.calendar-workout sup .custom-fa-small{font-size:.7em}@media screen and (max-width: 700px){.calendar-workout .sport-img{padding:3px;width:20px;height:20px}.calendar-workout sup .custom-fa-small{font-size:.6em}}.calendar-workouts-chart[data-v-bf05bb20]{display:flex}.calendar-workouts-chart .workouts-chart[data-v-bf05bb20]{position:relative}.calendar-workouts-chart .workouts-chart .workouts-count[data-v-bf05bb20]{display:flex;justify-content:center;position:absolute;top:4px;left:6px;width:20px;font-size:1.1em;font-weight:700}@media screen and (max-width: 700px){.calendar-workouts-chart .workouts-chart .workouts-count[data-v-bf05bb20]{top:16px;left:6px}.calendar-workouts-chart .workouts-chart[data-v-bf05bb20] .donut-chart{padding-top:12px}.calendar-workouts-chart .workouts-chart[data-v-bf05bb20] .donut-chart svg g circle{stroke-width:2;stroke-opacity:.8}}.calendar-workouts-chart .workouts-pane[data-v-bf05bb20]{display:flex;padding-left:40px}.calendar-workouts-chart .workouts-pane .more-workouts[data-v-bf05bb20]{background:var(--calendar-workouts-color);border-radius:4px;box-shadow:0 4px 8px 0 var(--calendar-workouts-box-shadow-0),0 6px 20px 0 var(--calendar-workouts-box-shadow-1);position:absolute;top:52px;left:0;min-width:60px;margin-bottom:20px;padding:10px;display:flex;flex-wrap:wrap;z-index:1000}@media screen and (max-width: 700px){.calendar-workouts-chart .workouts-pane .more-workouts[data-v-bf05bb20]{min-width:70px}}.calendar-workouts-chart .workouts-pane .more-workouts .calendar-more[data-v-bf05bb20]{position:absolute;font-size:.9em;top:5px;right:5px}.calendar-workouts .desktop-display{display:flex}.calendar-workouts .mobile-display{display:none}.calendar-workouts .workouts-display{display:flex;flex-wrap:wrap;position:relative;margin:0 10px 0 0}.calendar-workouts .donut-display{display:flex;height:34px;width:34px}@media screen and (max-width: 700px){.calendar-workouts .desktop-display{display:none}.calendar-workouts .mobile-display{display:flex}}.calendar-cells{display:flex;flex-direction:column;width:100%}.calendar-cells .calendar-row{display:flex;flex-wrap:wrap;border-top:solid 1px var(--calendar-border-color)}.calendar-cells .calendar-row .calendar-cell{border-right:solid 1px var(--calendar-border-color);height:40px;flex-grow:1;flex-basis:8%;padding:5px 10px 5px 5px;width:8%;position:relative}.calendar-cells .calendar-row .calendar-cell .calendar-cell-day{position:absolute;font-size:.8em;line-height:1;top:.5em;right:.5em;font-weight:700}.calendar-cells .calendar-row .calendar-cell:last-child{border-right:0}@media screen and (max-width: 700px){.calendar-cells .calendar-row .calendar-cell:last-child .calendar-workouts .more-workouts{left:-45px}}.calendar-cells .calendar-row .disabled-cell{color:var(--app-color-light)}.calendar-cells .calendar-row .week-end{background:var(--calendar-week-end-color)}.calendar-cells .calendar-row .today{background:var(--calendar-today-color)}@media screen and (max-width: 700px){.calendar-cells .calendar-row:last-child .calendar-workouts .more-workouts{top:inherit;bottom:20px}}.calendar-days{display:flex;flex-direction:row;border-top:solid 1px var(--calendar-border-color)}.calendar-days .calendar-day{flex-grow:1;padding:5px;text-align:center;text-transform:uppercase;color:var(--calendar-day-color)}.calendar-header{display:flex;flex-direction:row}.calendar-header .calendar-arrow{flex-grow:1;padding:9px px}.calendar-header .calendar-arrow-left{text-align:left;cursor:pointer}.calendar-header .calendar-arrow-right{text-align:right;cursor:pointer}.calendar-header .calendar-month{flex-grow:1;font-weight:700;padding:10px;text-align:center;text-transform:uppercase}#user-calendar .calendar-card,#user-calendar .calendar-card .card-content{padding:0}.bar-chart[data-v-d506f845]{position:relative;min-height:400px;width:100%}.bar-chart.minimal[data-v-d506f845]{min-height:300px}@media screen and (max-width: 700px){.bar-chart[data-v-d506f845]{min-height:268px}.bar-chart.minimal[data-v-d506f845]{min-height:290px}}@media screen and (max-width: 420px){.bar-chart[data-v-d506f845]{width:calc(100vw - 95px)}}.stats-chart[data-v-b8d7f5c9]{width:100%}.stats-chart .chart-radio[data-v-b8d7f5c9]{display:flex;justify-content:space-between;flex-wrap:wrap;padding:10px}.stats-chart .chart-radio label[data-v-b8d7f5c9]{font-size:.85em;font-weight:400}@media screen and (max-width: 700px){.stats-chart .chart-radio label[data-v-b8d7f5c9]{padding-bottom:10px}}.user-month-stats[data-v-8f59a282] .card-content{padding:10px}.records-card[data-v-64523a87]{width:100%;padding-bottom:3px}.records-card[data-v-64523a87] .card{font-size:.9em}.records-card[data-v-64523a87] .card .card-title{display:flex;font-size:.9em}.records-card[data-v-64523a87] .card .card-title .sport-img{padding-right:10px;height:20px;width:20px}.records-card[data-v-64523a87] .card .card-content{font-size:.9em;padding:10px}.records-card[data-v-64523a87] .card .card-content .record{display:flex;align-items:center;justify-content:space-between}.records-card[data-v-64523a87] .card .card-content .record span{padding:2px}.records-card[data-v-64523a87] .card .card-content .record .record-type{flex-grow:1}.records-card[data-v-64523a87] .card .card-content .record .record-value{font-weight:700;white-space:nowrap;padding-right:10px}.records-card[data-v-64523a87] .card .card-content .record .record-date{white-space:nowrap;min-width:30%;text-align:right}@media screen and (max-width: 1000px){.records-card[data-v-64523a87] .card,.records-card[data-v-64523a87] .card .card-title{font-size:1em}.records-card[data-v-64523a87] .card .card-title .sport-img{height:22px;width:22px}}.user-records .no-records[data-v-fff33919]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}#user-stats{display:flex;flex:1 0 25%;justify-content:space-around;flex-wrap:wrap}.privacy-policy-message[data-v-1b250692]{background:var(--alert-background-color);color:var(--alert-color);border-radius:4px;padding:10px 20px}.privacy-policy-message .policy-link[data-v-1b250692]{color:var(--policy-link-color);text-decoration:underline}#dashboard .dashboard-container[data-v-8f5da609]{display:flex;flex-direction:row}#dashboard .dashboard-container .dashboard-sub-container[data-v-8f5da609]{display:flex;flex-direction:column}#dashboard .dashboard-container .left-container[data-v-8f5da609]{width:32%}#dashboard .dashboard-container .right-container[data-v-8f5da609]{width:68%}#dashboard .mobile-menu[data-v-8f5da609]{display:none}#dashboard .privacy-policy-message[data-v-8f5da609]{display:flex;justify-content:center}@media screen and (max-width: 1000px){#dashboard[data-v-8f5da609]{padding-bottom:60px}#dashboard .dashboard-container[data-v-8f5da609]{display:flex;flex-direction:column}#dashboard .dashboard-container .left-container[data-v-8f5da609],#dashboard .dashboard-container .right-container[data-v-8f5da609]{width:100%}#dashboard .mobile-menu[data-v-8f5da609]{display:flex}#dashboard .mobile-menu .box[data-v-8f5da609]{display:flex;justify-content:space-between;padding:0;width:100%}#dashboard .mobile-menu .box .mobile-menu-item[data-v-8f5da609]{display:flex;justify-content:space-around;border:none;border-radius:4px;box-shadow:none;font-size:.95em;padding:10px;width:25%}#dashboard .mobile-menu .box .mobile-menu-item .fa-trophy[data-v-8f5da609]{color:var(--app-color)}#dashboard .mobile-menu .box .mobile-menu-item.is-selected[data-v-8f5da609]{color:var(--mobile-menu-selected-color);background-color:var(--mobile-menu-selected-bgcolor)}#dashboard .mobile-menu .box .mobile-menu-item.is-selected .fa-trophy[data-v-8f5da609]{color:var(--mobile-menu-selected-color)}#dashboard .is-hidden[data-v-8f5da609]{display:none}}@media screen and (max-width: 700px){#dashboard .privacy-policy-message[data-v-8f5da609]{margin:0 5px}}.chart-menu[data-v-174c91c4]{display:flex;align-items:center}.chart-menu .chart-arrow[data-v-174c91c4],.chart-menu .time-frames[data-v-174c91c4]{flex-grow:1;text-align:center}.chart-menu .chart-arrow[data-v-174c91c4]{cursor:pointer}.sports-menu{display:flex;flex-wrap:wrap;padding:10px}.sports-menu label{display:flex;align-items:center;font-size:.9em;font-weight:400;min-width:120px;padding:10px}@media screen and (max-width: 1000px){.sports-menu label{min-width:100px}}@media screen and (max-width: 500px){.sports-menu label{min-width:20px}.sports-menu label .sport-label{display:none}}.sports-menu .sport-img{padding:3px;width:20px;height:20px}#user-statistics.stats-disabled[data-v-b145e4ac]{opacity:.3;pointer-events:none}#user-statistics[data-v-b145e4ac] .chart-radio{justify-content:space-around;padding:30px 10px 10px}#statistics[data-v-0aa997fa]{display:flex;width:100%}#statistics .container[data-v-0aa997fa]{display:flex;flex-direction:column;width:100%}[data-v-13388f00]:root{--app-background-color: #ffffff;--app-color: #2c3e50;--app-color-light: #6f7070;--app-a-color: #40578a;--app-a-text-decoration-color: #d2d2d2;--app-shadow-color: lightgrey;--app-loading-color: #f3f3f3;--app-loading-top-color: var(--app-color);--button-hover-color: #ffffff;--button-transparent-hover-color: var(--app-color);--button-cancel-bg-color: #ffffff;--button-cancel-color: var(--app-color);--button-confirm-bg-color: #ffffff;--button-confirm-color: var(--app-color);--button-danger-bg-color: #ffffff;--button-danger-color: #dc3545;--button-danger-hover-bg-color: #dc3545;--button-danger-hover-color: #ffffff;--card-border-color: #c4c7cf;--input-border-color: #9da3af;--input-bg-color: #ffffff;--input-color: var(--app-color);--input-error-color: #dc3545;--dropdown-hover-color: #eff0f5;--dropdown-background-color: #ffffff;--dropdown-border-color: lightgrey;--policy-border-color: #ccc;--policy-link-color: var(--app-a-color);--box-shadow-color: lightgrey;--admin-disabled-input-color: #ffffff;--custom-checkbox-border-color: #6d797a;--custom-checkbox-checked-bg-color: #6d797a;--custom-checkbox-checked-color: #ffffff;--calendar-border-color: #c4c7cf;--calendar-week-end-color: #f5f5f5;--calendar-day-color: var(--app-color-light);--calendar-today-color: #eff1f3;--calendar-workouts-color: whitesmoke;--calendar-workouts-box-shadow-0: rgba(0, 0, 0, .2);--calendar-workouts-box-shadow-1: rgba(0, 0, 0, .19);--modal-background-color: rgba(0, 0, 0, .3);--nav-bar-background-color: #ffffff;--nav-bar-link-active: #485b6e;--nav-border-color: #c5ccdb;--mobile-menu-selected-color: #ffffff;--mobile-menu-selected-bgcolor: #9da3af;--footer-background-color: #ffffff;--footer-border-color: #ebeef3;--footer-color: #6f7070;--form-info: var(--alert-color);--alert-background-color: #d6dde3;--alert-color: #3f3f3f;--info-background-color: #e5e7ea;--info-color: var(--app-color);--error-background-color: #ffd2d2;--error-color: #db1924;--success-background-color: #d9ecd9;--success-color: #306430;--disabled-background-color: #e0e0e0;--disabled-border-color: transparent;--disabled-color: #727272;--disabled-sport-color: #616161;--scroll-button-bg-color: rgba(255, 255, 255, .7);--workout-trophy-color: #daa520;--workout-img-color: invert(22%) sepia(25%) saturate(646%) hue-rotate(169deg) brightness(97%) contrast(96%);--workout-no-map-bg-color: #eaeaea;--workout-no-map-color: #585959;--map-control-color: #000000;--map-control-bg-color: #ffffff;--map-control-border-color: #bfc0ab;--map-control-hover-bg-color: var(--dropdown-hover-color);--map-attribution-text: var(--app-color);--map-display-hover-attribution-text: initial;--map-attribution-bg-color: rgba(255, 255, 255, .7);--map-filter: initial;--map-display-hover-filter: initial;--map-layers-overlays: initial;--map-control-bar: #bfc0ab;--no-map-filter: initial;--workout-static-map-shadow-color: var(--app-shadow-color);--workout-static-map-bg-color: var(--workout-no-map-bg-color);--icon-svg-filter: invert(19%) sepia(9%) saturate(2921%) hue-rotate(169deg) brightness(85%) contrast(80%);--cell-heading-bg-color: #eeeeee;--cell-heading-color: #696969;--svg-filter: drop-shadow(10px 10px 10px var(--app-shadow-color));--password-bg-color: #d7dadf;--password-color-weak: #e46d6e;--password-color-medium: #f8bc4a;--password-color-good: #acc578;--password-color-strong: #57c255;--scroll-thumb-color: #949697}#user-auth-form[data-v-13388f00]{display:flex}#user-auth-form #user-form[data-v-13388f00]{width:60%}#user-auth-form #user-form .account[data-v-13388f00]{font-size:.9em;padding-left:10px}#user-auth-form #user-form .links[data-v-13388f00]{font-size:.9em;font-style:italic;padding:0 10px}#user-auth-form #user-form button[data-v-13388f00]{margin:10px;border:solid 1px var(--app-color)}#user-auth-form #user-form button[data-v-13388f00]:disabled{border-color:var(--disabled-color)}#user-auth-form #user-form .success-message[data-v-13388f00]{margin:10px}#user-auth-form #user-form .accepted_policy[data-v-13388f00]{display:flex;align-items:center;font-size:.85em;font-weight:400}@media screen and (max-width: 1000px){#user-auth-form[data-v-13388f00]{margin-bottom:50px}#user-auth-form #user-form[data-v-13388f00]{width:100%}}.user-form[data-v-13388f00]{margin-top:200px}@media screen and (max-width: 700px){.user-form[data-v-13388f00]{margin-top:10px}}#account-confirmation-email[data-v-b0299010]{display:flex;flex-direction:column}#account-confirmation-email .email-sent[data-v-b0299010]{display:flex;flex-direction:column;align-items:center}#account-confirmation-email .email-sent svg[data-v-b0299010]{stroke:none;fill-rule:nonzero;fill:var(--app-color);filter:var(--svg-filter);width:100px}#account-confirmation-email .email-sent .email-sent-message[data-v-b0299010]{font-size:1.1em;text-align:center}@media screen and (max-width: 1000px){#account-confirmation-email .email-sent .email-sent-message[data-v-b0299010]{font-size:1em}}#account-confirmation-email[data-v-b0299010] .card .card-content #user-auth-form{margin-top:0}#account-confirmation-email[data-v-b0299010] .card .card-content #user-auth-form #user-form{width:100%}#account-confirmation[data-v-9a9c1644]{display:flex}#account-confirmation .container[data-v-9a9c1644]{display:flex;justify-content:center;width:50%}@media screen and (max-width: 700px){#account-confirmation .container[data-v-9a9c1644]{width:100%}}#account-confirmation[data-v-a0fa0b62]{display:flex;flex-direction:column;align-items:center}#account-confirmation svg[data-v-a0fa0b62]{stroke:none;fill-rule:nonzero;fill:var(--app-color);filter:var(--svg-filter);width:100px}#account-confirmation .error-message[data-v-a0fa0b62]{font-size:1.1em;text-align:center;display:flex;flex-direction:column}@media screen and (max-width: 1000px){#account-confirmation .error-message[data-v-a0fa0b62]{font-size:1em}}#email-update[data-v-b8fbd32f]{display:flex;flex-direction:column;align-items:center}#email-update svg[data-v-b8fbd32f]{stroke:none;fill-rule:nonzero;fill:var(--app-color);filter:var(--svg-filter);width:100px}#email-update .error-message[data-v-b8fbd32f]{font-size:1.1em;text-align:center;display:flex;flex-direction:column}@media screen and (max-width: 1000px){#email-update .error-message[data-v-b8fbd32f]{font-size:1em}}#loginOrRegister[data-v-84d61340]{display:flex}#loginOrRegister .container[data-v-84d61340]{display:flex;flex-direction:row;justify-content:space-evenly;margin-bottom:20px;width:100%}#loginOrRegister .container .container-sub[data-v-84d61340]{min-width:50%;height:100%}@media screen and (max-width: 1000px){#loginOrRegister[data-v-84d61340]{height:auto}#loginOrRegister .container .container-sub[data-v-84d61340]{align-items:center}#loginOrRegister .container .container-sub .bike-img[data-v-84d61340]{max-width:60%}}@media screen and (max-width: 700px){#loginOrRegister .container[data-v-84d61340]{flex-direction:column}}#password-action-done[data-v-ee1004fc]{display:flex;flex-direction:column;align-items:center}#password-action-done svg[data-v-ee1004fc]{stroke:none;fill-rule:nonzero;fill:var(--app-color);filter:var(--svg-filter);width:100px}#password-action-done .password-message[data-v-ee1004fc]{font-size:1.1em;text-align:center}@media screen and (max-width: 1000px){#password-action-done .password-message[data-v-ee1004fc]{font-size:1em}}#password-reset-request[data-v-97f01ba1] .card .card-content #user-form{width:100%}#password-reset[data-v-5cbe9029]{display:flex}#password-reset .container[data-v-5cbe9029]{display:flex;justify-content:center;width:50%}@media screen and (max-width: 700px){#password-reset .container[data-v-5cbe9029]{width:100%}}#profile[data-v-af92ad3a]{display:flex;flex-direction:column;padding:0 10px 40px}#profile[data-v-af92ad3a] .profile-form{display:flex;flex-direction:column}#profile[data-v-af92ad3a] .profile-form hr{border-color:var(--card-border-color);border-width:1px 0 0 0}#profile[data-v-af92ad3a] .profile-form .form-items{display:flex;flex-direction:column}#profile[data-v-af92ad3a] .profile-form .form-items input{margin:5px 0}#profile[data-v-af92ad3a] .profile-form .form-items select{height:35px;padding:5px 0}#profile[data-v-af92ad3a] .profile-form .form-items ::v-deep(.custom-textarea) textarea{padding:5px}#profile[data-v-af92ad3a] .profile-form .form-items .form-item{display:flex;flex-direction:column;padding:10px}#profile[data-v-af92ad3a] .profile-form .form-items .birth-date{height:20px}#profile[data-v-af92ad3a] .profile-form .form-buttons{display:flex;margin-top:10px;padding:10px 0;gap:10px}#user[data-v-1b7a0b4f]{margin:auto;width:700px}@media screen and (max-width: 1000px){#user[data-v-1b7a0b4f]{width:100%;margin:0 auto 50px}}#workout-edition[data-v-4c5a9cd1] .card .card-title{text-align:center;text-transform:uppercase}@media screen and (max-width: 1000px){#workout-edition[data-v-4c5a9cd1] .card .card-content{padding:10px 0}}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items{display:flex;flex-direction:column}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items input{height:20px}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .workout-date-duration{display:flex;flex-direction:row;justify-content:space-between}@media screen and (max-width: 1000px){#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .workout-date-duration{flex-direction:column}}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .form-item{display:flex;flex-direction:column;padding:10px}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .form-item .workout-date-time{display:flex}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .form-item .workout-date-time #workout-date{margin-right:10px}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .form-item .workout-duration{width:25px}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .form-item-radio{display:flex;justify-content:space-around}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .form-item-radio label{font-weight:400}@media screen and (max-width: 1000px){#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .form-item-radio label{font-size:.9em}}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-items .form-item-radio input{margin-top:-2px;vertical-align:middle}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-buttons{display:flex;justify-content:flex-end}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .form-buttons button{margin:5px}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .files-help{display:flex;justify-content:space-around;margin-top:10px}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .files-help div{display:flex}@media screen and (max-width: 1000px){#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .files-help div{flex-direction:column}}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .files-help div ul{margin:0;padding:0 20px}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .workout-data{display:flex;flex-direction:row;justify-content:space-between}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .workout-data .form-item{width:30%}@media screen and (max-width: 1000px){#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .workout-data{flex-direction:column}#workout-edition[data-v-4c5a9cd1] .card .card-content #workout-form .workout-data .form-item{width:initial}}@media screen and (max-width: 700px){#workout-edition[data-v-4c5a9cd1]{margin-bottom:0}#workout-edition.center-form[data-v-4c5a9cd1]{margin:50px auto}#workout-edition.with-margin[data-v-4c5a9cd1]{margin-top:0}}#workout-edition .errored[data-v-4c5a9cd1]{outline:2px solid var(--input-error-color)}#workout-card-title[data-v-e1628a52]{display:flex;justify-content:space-between;align-items:center}#workout-card-title .workout-arrow[data-v-e1628a52]{cursor:pointer;padding:10px}#workout-card-title .workout-arrow.inactive[data-v-e1628a52]{color:var(--disabled-color);cursor:default}#workout-card-title .workout-card-title[data-v-e1628a52]{display:flex;flex-grow:1;align-items:center}#workout-card-title .workout-card-title .sport-img[data-v-e1628a52]{padding:0 10px}#workout-card-title .workout-card-title .sport-img[data-v-e1628a52] svg{height:35px;width:35px}#workout-card-title .workout-card-title .workout-title span[data-v-e1628a52]{margin-right:5px}#workout-card-title .workout-card-title .workout-date[data-v-e1628a52]{font-size:.8em;font-weight:400}#workout-card-title .workout-card-title .workout-segment[data-v-e1628a52]{font-weight:400}#workout-card-title .workout-card-title .workout-link[data-v-e1628a52]{padding-left:10px}#workout-card-title .workout-card-title .fa[data-v-e1628a52]{padding:0 3px}#workout-card-title .workout-card-title .icon-button[data-v-e1628a52]{cursor:pointer;padding:0;margin-left:2px}@media screen and (max-width: 700px){#workout-card-title .workout-arrow[data-v-e1628a52]{padding:5px}}@media screen and (max-width: 700px) and (max-width: 700px){#workout-card-title .workout-card-title .fa-download[data-v-e1628a52],#workout-card-title .workout-card-title .fa-trash[data-v-e1628a52],#workout-card-title .workout-card-title .fa-edit[data-v-e1628a52]{padding:0 7px}}.workout-record sup[data-v-1b247cbe]{font-size:75%;line-height:0}.wind[data-v-e1f7f9cc]{display:flex;justify-content:center}.wind .wind-bearing[data-v-e1f7f9cc]{padding-left:5px}#workout-weather[data-v-be2fffb0]{padding-top:10px}#workout-weather .weather-img[data-v-be2fffb0]{height:30px;filter:var(--icon-svg-filter)}#workout-weather .weather-img-small[data-v-be2fffb0]{height:20px}#workout-weather .weather-table[data-v-be2fffb0]{width:100%;text-align:center}#workout-weather .weather-table .weather-th[data-v-be2fffb0]{display:flex;flex-direction:column;text-transform:capitalize}#workout-weather .weather-table tbody[data-v-be2fffb0]{font-size:.8em}#workout-info[data-v-9341b3e8]{display:flex;flex-direction:column;padding:10px 20px;width:100%}#workout-info .fa[data-v-9341b3e8],#workout-info .mountains[data-v-9341b3e8]{padding-right:5px}#workout-info .workout-data[data-v-9341b3e8]{padding:5px 0}#workout-info .workout-data .label[data-v-9341b3e8]{text-transform:capitalize}#workout-info .workout-data .value[data-v-9341b3e8]{font-weight:700;text-transform:lowercase}@media screen and (max-width: 700px){#workout-info[data-v-9341b3e8]{padding:10px}}#workout-map[data-v-dac2dfa0]{padding:10px 0}#workout-map .leaflet-container[data-v-dac2dfa0],#workout-map .no-map[data-v-dac2dfa0]{height:400px;width:600px}#workout-map .no-map[data-v-dac2dfa0]{line-height:400px;filter:var(--no-map-filter)}#workout-map .leaflet-container .map[data-v-dac2dfa0]{filter:var(--map-filter)}#workout-map .leaflet-container .map-control[data-v-dac2dfa0]{background:var(--map-control-bg-color);padding:5px 10px;border:2px solid var(--map-control-border-color);border-radius:3px;color:var(--map-control-color)}#workout-map .leaflet-container .map-control[data-v-dac2dfa0]:hover{background-color:var(--map-control-hover-bg-color)}#workout-map[data-v-dac2dfa0] .fullscreen{display:flex;align-items:center;z-index:1000}#workout-map[data-v-dac2dfa0] .fullscreen .fullscreen-map{height:100%;width:100%}@media screen and (max-width: 700px){#workout-map[data-v-dac2dfa0]{padding:0}#workout-map .leaflet-container[data-v-dac2dfa0]{width:100%;height:300px}#workout-map .no-map[data-v-dac2dfa0]{display:none}}.workout-detail[data-v-f8b05eca]{display:flex}.workout-detail[data-v-f8b05eca] .card{width:100%}.workout-detail[data-v-f8b05eca] .card .card-title{padding:10px 15px}.workout-detail[data-v-f8b05eca] .card .card-content{display:flex;flex-direction:row}@media screen and (max-width: 1000px){.workout-detail[data-v-f8b05eca] .card .card-content{flex-direction:column}}#workout-chart[data-v-b15bb69d] .card .card-title{text-transform:capitalize}#workout-chart[data-v-b15bb69d] .card .card-content{display:flex;flex-direction:column}#workout-chart[data-v-b15bb69d] .card .card-content .chart-radio{width:100%;display:flex;justify-content:center}#workout-chart[data-v-b15bb69d] .card .card-content .chart-radio label{padding:0 10px}#workout-chart[data-v-b15bb69d] .card .card-content .chart-info{display:flex;justify-content:space-between;font-size:.85em;font-style:italic}#workout-chart[data-v-b15bb69d] .card .card-content #chart-legend{display:flex;justify-content:center}#workout-chart[data-v-b15bb69d] .card .card-content #chart-legend ul{display:flex;margin-bottom:0;padding:0}#workout-chart[data-v-b15bb69d] .card .card-content #chart-legend ul li{cursor:pointer;display:flex;font-size:.85em;padding:0 5px}#workout-chart[data-v-b15bb69d] .card .card-content #chart-legend ul li span{border-radius:5%;border-style:solid;border-width:1.5px;height:10px;margin-top:4px;margin-left:2px;width:20px}#workout-chart[data-v-b15bb69d] .card .card-content .line-chart{min-height:400px}@media screen and (max-width: 700px){#workout-chart[data-v-b15bb69d] .card .card-content{padding:10px 0}#workout-chart[data-v-b15bb69d] .card .card-content .chart-info{display:flex;flex-direction:column-reverse}#workout-chart[data-v-b15bb69d] .card .card-content .chart-info .elevation-start{padding:10px 15px 0}#workout-chart[data-v-b15bb69d] .card .card-content .chart-info .no-data-cleaning{padding:0 20px}#workout-chart[data-v-b15bb69d] .card .card-content .line-chart{min-height:338px}}#workout-note[data-v-f3e81eff] .card-content{font-style:italic;white-space:pre-wrap}#workout-segments[data-v-15725c61] .card .card-title{text-transform:capitalize}#workout-segments[data-v-15725c61] .card .card-content{padding-bottom:0;padding-top:0}#workout-segments[data-v-15725c61] .card .card-content a{font-weight:700}#workout-segments[data-v-15725c61] .card .card-content ul{padding:0 10px;list-style:square}#workout[data-v-eac6aa4b]{display:flex}#workout .container[data-v-eac6aa4b]{width:100%;padding:0}#workout .container .workout-container[data-v-eac6aa4b]{width:100%}#workout .container .workout-loading[data-v-eac6aa4b]{height:calc(100vh - 130px);width:100%}#workout .container .workout-loading .loading[data-v-eac6aa4b]{display:flex;align-items:center;height:100%}.workouts-filters .form .form-all-items[data-v-29caaf8f]{display:flex;flex-direction:column;padding-top:0}.workouts-filters .form .form-all-items .form-items-group[data-v-29caaf8f]{display:flex;flex-direction:column;padding:5px}.workouts-filters .form .form-all-items .form-items-group .form-item[data-v-29caaf8f]{display:flex;flex-direction:column}.workouts-filters .form .form-all-items .form-items-group .form-item .form-inputs-group[data-v-29caaf8f]{display:flex;flex-direction:row;justify-content:space-around;align-items:center}.workouts-filters .form .form-all-items .form-items-group .form-item .form-inputs-group input[data-v-29caaf8f]{width:34%}.workouts-filters .form .form-all-items .form-items-group .form-item .form-inputs-group span[data-v-29caaf8f]{padding:5px}.workouts-filters .form .form-all-items .form-items-group .form-item input[data-v-29caaf8f]{height:16px}.workouts-filters .form .form-all-items .form-items-group .form-item select[data-v-29caaf8f]{height:38px;padding:0 5px}.workouts-filters .form .form-all-items .form-items-group .form-item-title[data-v-29caaf8f]{padding-top:10px}.workouts-filters .form .form-all-items .form-items-group .form-item-title input.title[data-v-29caaf8f]{width:100%}.workouts-filters .form-button[data-v-29caaf8f]{display:flex;justify-content:center;flex-wrap:wrap;margin:5px}.workouts-filters .form-button button[data-v-29caaf8f]{margin-top:10px;width:100%}@media screen and (max-width: 1000px){.workouts-filters .form .form-all-items[data-v-29caaf8f]{flex-direction:row;padding-top:5px}.workouts-filters .form .form-all-items .form-items-group[data-v-29caaf8f]{padding:0 5px;height:100%}.workouts-filters .form .form-all-items .form-items-group .form-item label[data-v-29caaf8f],.workouts-filters .form .form-all-items .form-items-group .form-item span[data-v-29caaf8f]{font-size:.9em}.workouts-filters .form .form-all-items .form-items-group .form-item .form-inputs-group[data-v-29caaf8f]{flex-direction:column;justify-content:normal;padding:0}.workouts-filters .form .form-all-items .form-items-group .form-item .form-inputs-group input[data-v-29caaf8f]{width:85%}.workouts-filters .form .form-all-items .form-items-group .form-item .form-inputs-group span[data-v-29caaf8f]{padding:0}.workouts-filters .form .form-all-items .form-items-group .form-item-title[data-v-29caaf8f]{padding-top:0}.workouts-filters .form-button[data-v-29caaf8f]{flex-wrap:initial}.workouts-filters .form-button button[data-v-29caaf8f]{margin:10px 5px;width:100%}}@media screen and (max-width: 700px){.workouts-filters .form .form-all-items[data-v-29caaf8f]{flex-direction:column;padding-top:0}.workouts-filters .form .form-all-items .form-items-group[data-v-29caaf8f]{padding:5px}.workouts-filters .form .form-all-items .form-items-group .form-item label[data-v-29caaf8f]{font-size:1em}.workouts-filters .form .form-all-items .form-items-group .form-item .form-inputs-group[data-v-29caaf8f]{flex-direction:row;justify-content:space-around;align-items:center}.workouts-filters .form .form-all-items .form-items-group .form-item .form-inputs-group input[data-v-29caaf8f]{width:50%}.workouts-filters .form .form-all-items .form-items-group .form-item .form-inputs-group span[data-v-29caaf8f]{padding:5px}.workouts-filters .form-button[data-v-29caaf8f]{flex-wrap:initial}.workouts-filters .form-button button[data-v-29caaf8f]{margin:10px 5px}}@media screen and (max-width: 500px){.workouts-filters .form-button[data-v-29caaf8f]{flex-wrap:wrap}.workouts-filters .form .form-all-items .form-items-group .form-item-title[data-v-29caaf8f]{padding-top:10px}.workouts-filters .form .form-all-items .form-items-group .form-item-title input.title[data-v-29caaf8f]{width:100%}}.workouts-list[data-v-bb980a00]{display:flex;flex-direction:column;margin-bottom:50px;width:100%}.workouts-list .box[data-v-bb980a00]{padding:10px 15px}@media screen and (max-width: 700px){.workouts-list .box.empty-table[data-v-bb980a00]{display:none}}.workouts-list .box .total[data-v-bb980a00]{display:flex;gap:5px}.workouts-list .box .total .total-label[data-v-bb980a00]{font-weight:700}.workouts-list .box .top-pagination[data-v-bb980a00]{display:none}@media screen and (max-width: 700px){.workouts-list .box .top-pagination[data-v-bb980a00]{display:flex}}@media screen and (max-width: 700px){.workouts-list .box[data-v-bb980a00] .pagination-center ul{margin-top:0}}.workouts-list .box .workouts-table .smaller th[data-v-bb980a00]{font-size:.95em;padding:10px 0;max-width:100px}.workouts-list .box .workouts-table td[data-v-bb980a00]{text-align:right}.workouts-list .box .workouts-table .sport-col[data-v-bb980a00]{padding:0}.workouts-list .box .workouts-table .workout-title[data-v-bb980a00]{text-align:left;width:100px;position:relative}.workouts-list .box .workouts-table .workout-title .fa-map-o[data-v-bb980a00]{font-size:.75em;padding-right:5px}.workouts-list .box .workouts-table .workout-title .nav-item[data-v-bb980a00]{white-space:nowrap}.workouts-list .box .workouts-table .workout-title .nav-item .title[data-v-bb980a00]{word-break:break-word;white-space:normal}.workouts-list .box .workouts-table .workout-title .static-map[data-v-bb980a00]{display:none;box-shadow:3px 3px 3px 1px var(--workout-static-map-shadow-color)}.workouts-list .box .workouts-table .workout-title:hover .static-map[data-v-bb980a00]{display:block}.workouts-list .box .workouts-table .sport-img[data-v-bb980a00]{height:20px;width:20px}.workouts-list .box .workouts-table .workout-date[data-v-bb980a00]{max-width:60px;text-align:left}@media screen and (max-width: 700px){.workouts-list .box .workouts-table td[data-v-bb980a00],.workouts-list .box .workouts-table .workout-date[data-v-bb980a00],.workouts-list .box .workouts-table .workout-title[data-v-bb980a00]{text-align:center}.workouts-list .box .workouts-table .sport-col[data-v-bb980a00]{display:flex;justify-content:center;padding:10px}.workouts-list .box .workouts-table .workout-date[data-v-bb980a00]{max-width:initial}.workouts-list .box .workouts-table .workout-title[data-v-bb980a00]{max-width:initial;width:100%}.workouts-list .box .workouts-table .workout-title:hover .static-map[data-v-bb980a00]{display:none}}.workouts-list .more-workouts[data-v-bb980a00]{display:flex;justify-content:center;padding:10px}#workouts .workouts-container[data-v-3fa59b88]{display:flex;flex-direction:row}@media screen and (max-width: 1000px){#workouts .workouts-container[data-v-3fa59b88]{flex-direction:column}}#workouts .workouts-container .filters-container[data-v-3fa59b88],#workouts .workouts-container .list-container[data-v-3fa59b88]{display:flex;flex-direction:column}#workouts .workouts-container .filters-container[data-v-3fa59b88]{width:25%}@media screen and (max-width: 1000px){#workouts .workouts-container .filters-container[data-v-3fa59b88]{width:100%}}@media screen and (max-width: 1000px) and (max-width: 700px){#workouts .workouts-container .filters-container.hidden[data-v-3fa59b88]{display:none}}#workouts .workouts-container .display-filters[data-v-3fa59b88]{display:none;font-size:.8em;padding:0 20px}#workouts .workouts-container .display-filters span[data-v-3fa59b88]{cursor:pointer;font-weight:700;padding-left:5px}#workouts .workouts-container .display-filters .fa[data-v-3fa59b88]{cursor:pointer}@media screen and (max-width: 700px){#workouts .workouts-container .display-filters[data-v-3fa59b88]{display:flex;justify-content:flex-end;align-items:center}}#workouts .workouts-container .list-container[data-v-3fa59b88]{width:75%}@media screen and (max-width: 1000px){#workouts .workouts-container .list-container[data-v-3fa59b88]{width:100%}} diff --git a/fittrackee/dist/static/index-GyLsc4kt.js b/fittrackee/dist/static/index-jLnCD5KK.js similarity index 97% rename from fittrackee/dist/static/index-GyLsc4kt.js rename to fittrackee/dist/static/index-jLnCD5KK.js index d9adb522..3c8eb1f8 100644 --- a/fittrackee/dist/static/index-GyLsc4kt.js +++ b/fittrackee/dist/static/index-jLnCD5KK.js @@ -418,7 +418,7 @@ Or, to disable this warning, add the \`allowVulnerableTags\` option and ensure you are accounting for this risk. `)});const i=t.nonTextTags||["script","style","textarea","option"];let u,l;t.allowedAttributes&&(u={},l={},Us(t.allowedAttributes,function(D,z){u[z]=[];const V=[];D.forEach(function(ae){typeof ae=="string"&&ae.indexOf("*")>=0?V.push(zE(ae).replace(/\\\*/g,".*")):u[z].push(ae)}),V.length&&(l[z]=new RegExp("^("+V.join("|")+")$"))}));const c={},f={},d={};Us(t.allowedClasses,function(D,z){if(u&&(lr(u,z)||(u[z]=[]),u[z].push("class")),c[z]=D,Array.isArray(D)){const V=[];c[z]=[],d[z]=[],D.forEach(function(ae){typeof ae=="string"&&ae.indexOf("*")>=0?V.push(zE(ae).replace(/\\\*/g,".*")):ae instanceof RegExp?d[z].push(ae):c[z].push(ae)}),V.length&&(f[z]=new RegExp("^("+V.join("|")+")$"))}});const m={};let E;Us(t.transformTags,function(D,z){let V;typeof D=="function"?V=D:typeof D=="string"&&(V=ho.simpleTransform(D)),z==="*"?E=V:m[z]=V});let I,b,v,R,S,O,y=!1;M();const P=new dge.Parser({onopentag:function(D,z){if(t.enforceHtmlBoundary&&D==="html"&&M(),S){O++;return}const V=new s(D,z);b.push(V);let ae=!1;const We=!!V.text;let Pe;if(lr(m,D)&&(Pe=m[D](D,z),V.attribs=z=Pe.attribs,Pe.text!==void 0&&(V.innerText=Pe.text),D!==Pe.tagName&&(V.name=D=Pe.tagName,R[I]=Pe.tagName)),E&&(Pe=E(D,z),V.attribs=z=Pe.attribs,D!==Pe.tagName&&(V.name=D=Pe.tagName,R[I]=Pe.tagName)),(!o(D)||t.disallowedTagsMode==="recursiveEscape"&&!_ge(v)||t.nestingLimit!=null&&I>=t.nestingLimit)&&(ae=!0,v[I]=!0,t.disallowedTagsMode==="discard"&&i.indexOf(D)!==-1&&(S=!0,O=1),v[I]=!0),I++,ae){if(t.disallowedTagsMode==="discard")return;a=r,r=""}r+="<"+D,D==="script"&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(V.innerText=""),(!u||lr(u,D)||u["*"])&&Us(z,function(Se,Ce){if(!Age.test(Ce)){delete V.attribs[Ce];return}if(Se===""&&(t.nonBooleanAttributes.includes(Ce)||t.nonBooleanAttributes.includes("*"))){delete V.attribs[Ce];return}let Gt=!1;if(!u||lr(u,D)&&u[D].indexOf(Ce)!==-1||u["*"]&&u["*"].indexOf(Ce)!==-1||lr(l,D)&&l[D].test(Ce)||l["*"]&&l["*"].test(Ce))Gt=!0;else if(u&&u[D]){for(const ke of u[D])if(fge(ke)&&ke.name&&ke.name===Ce){Gt=!0;let Ge="";if(ke.multiple===!0){const at=Se.split(" ");for(const q of at)ke.values.indexOf(q)!==-1&&(Ge===""?Ge=q:Ge+=" "+q)}else ke.values.indexOf(Se)>=0&&(Ge=Se);Se=Ge}}if(Gt){if(t.allowedSchemesAppliedToAttributes.indexOf(Ce)!==-1&&G(D,Se)){delete V.attribs[Ce];return}if(D==="script"&&Ce==="src"){let ke=!0;try{const Ge=B(Se);if(t.allowedScriptHostnames||t.allowedScriptDomains){const at=(t.allowedScriptHostnames||[]).find(function(ce){return ce===Ge.url.hostname}),q=(t.allowedScriptDomains||[]).find(function(ce){return Ge.url.hostname===ce||Ge.url.hostname.endsWith(`.${ce}`)});ke=at||q}}catch{ke=!1}if(!ke){delete V.attribs[Ce];return}}if(D==="iframe"&&Ce==="src"){let ke=!0;try{const Ge=B(Se);if(Ge.isRelativeUrl)ke=lr(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){const at=(t.allowedIframeHostnames||[]).find(function(ce){return ce===Ge.url.hostname}),q=(t.allowedIframeDomains||[]).find(function(ce){return Ge.url.hostname===ce||Ge.url.hostname.endsWith(`.${ce}`)});ke=at||q}}catch{ke=!1}if(!ke){delete V.attribs[Ce];return}}if(Ce==="srcset")try{let ke=pge(Se);if(ke.forEach(function(Ge){G("srcset",Ge.url)&&(Ge.evil=!0)}),ke=HE(ke,function(Ge){return!Ge.evil}),ke.length)Se=Tge(HE(ke,function(Ge){return!Ge.evil})),V.attribs[Ce]=Se;else{delete V.attribs[Ce];return}}catch{delete V.attribs[Ce];return}if(Ce==="class"){const ke=c[D],Ge=c["*"],at=f[D],q=d[D],ce=f["*"],de=[at,ce].concat(q).filter(function(Te){return Te});if(ke&&Ge?Se=ne(Se,BE(ke,Ge),de):Se=ne(Se,ke||Ge,de),!Se.length){delete V.attribs[Ce];return}}if(Ce==="style"){if(t.parseStyleAttributes)try{const ke=mge(D+" {"+Se+"}"),Ge=L(ke,t.allowedStyles);if(Se=X(Ge),Se.length===0){delete V.attribs[Ce];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+D+" {"+Se+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete V.attribs[Ce];return}else if(t.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}r+=" "+Ce,Se&&Se.length&&(r+='="'+w(Se,!0)+'"')}else delete V.attribs[Ce]}),t.selfClosing.indexOf(D)!==-1?r+=" />":(r+=">",V.innerText&&!We&&!t.textFilter&&(r+=w(V.innerText),y=!0)),ae&&(r=a+w(r),a="")},ontext:function(D){if(S)return;const z=b[b.length-1];let V;if(z&&(V=z.tag,D=z.innerText!==void 0?z.innerText:D),t.disallowedTagsMode==="discard"&&(V==="script"||V==="style"))r+=D;else{const ae=w(D,!1);t.textFilter&&!y?r+=t.textFilter(ae,V):y||(r+=ae)}if(b.length){const ae=b[b.length-1];ae.text+=D}},onclosetag:function(D,z){if(S)if(O--,!O)S=!1;else return;const V=b.pop();if(!V)return;if(V.tag!==D){b.push(V);return}S=t.enforceHtmlBoundary?D==="html":!1,I--;const ae=v[I];if(ae){if(delete v[I],t.disallowedTagsMode==="discard"){V.updateParentNodeText();return}a=r,r=""}if(R[I]&&(D=R[I],delete R[I]),t.exclusiveFilter&&t.exclusiveFilter(V)){r=r.substr(0,V.tagPosition);return}if(V.updateParentNodeMediaChildren(),V.updateParentNodeText(),t.selfClosing.indexOf(D)!==-1||z&&!o(D)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0){ae&&(r=a,a="");return}r+="",ae&&(r=a+w(r),a=""),y=!1}},t.parser);return P.write(e),P.end(),r;function M(){r="",I=0,b=[],v={},R={},S=!1,O=0}function w(D,z){return typeof D!="string"&&(D=D+""),t.parser.decodeEntities&&(D=D.replace(/&/g,"&").replace(//g,">"),z&&(D=D.replace(/"/g,"""))),D=D.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(//g,">"),z&&(D=D.replace(/"/g,""")),D}function G(D,z){for(z=z.replace(/[\x00-\x20]+/g,"");;){const We=z.indexOf("",We+4);if(Pe===-1)break;z=z.substring(0,We)+z.substring(Pe+3)}const V=z.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!V)return z.match(/^[/\\]{2}/)?!t.allowProtocolRelative:!1;const ae=V[1].toLowerCase();return lr(t.allowedSchemesByTag,D)?t.allowedSchemesByTag[D].indexOf(ae)===-1:!t.allowedSchemes||t.allowedSchemes.indexOf(ae)===-1}function B(D){if(D=D.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),D.startsWith("relative:"))throw new Error("relative: exploit attempt");let z="relative://relative-site";for(let We=0;We<100;We++)z+=`/${We}`;const V=new URL(D,z);return{isRelativeUrl:V&&V.hostname==="relative-site"&&V.protocol==="relative:",url:V}}function L(D,z){if(!z)return D;const V=D.nodes[0];let ae;return z[V.selector]&&z["*"]?ae=BE(z[V.selector],z["*"]):ae=z[V.selector]||z["*"],ae&&(D.nodes[0].nodes=V.nodes.reduce(J(ae),[])),D}function X(D){return D.nodes[0].nodes.reduce(function(z,V){return z.push(`${V.prop}:${V.value}${V.important?" !important":""}`),z},[]).join(";")}function J(D){return function(z,V){return lr(D,V.prop)&&D[V.prop].some(function(We){return We.test(V.value)})&&z.push(V),z}}function ne(D,z,V){return z?(D=D.split(/\s+/),D.filter(function(ae){return z.indexOf(ae)!==-1||V.some(function(We){return We.test(ae)})}).join(" ")):D}}const Sge={decodeEntities:!0};ho.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0};ho.simpleTransform=function(e,t,n){return n=n===void 0?!0:n,t=t||{},function(r,a){let s;if(n)for(s in t)a[s]=t[s];else a=t;return{tagName:e,attribs:a}}};const Oge=qd(gge),_o=e=>Oge(Zhe(e,{target:"_blank"}),{allowedTags:["a"],disallowedTagsMode:"escape"}),Ige=e=>(ct("data-v-a720b26e"),e=e(),lt(),e),vge={id:"admin-app",class:"admin-card"},Rge={for:"admin_contact"},bge=["value"],Nge=["disabled"],yge={for:"max_users"},Cge=["disabled"],Dge={class:"user-limit-help"},Pge={class:"info-box"},wge=Ige(()=>p("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),Lge={for:"max_single_file_size"},$ge=["disabled"],kge={for:"max_zip_file_size"},Uge=["disabled"],Mge={for:"gpx_limit_import"},xge=["disabled"],Fge={class:"about-label",for:"about"},Wge={class:"textarea-description"},Gge=["innerHTML"],zge={class:"privacy-policy-label",for:"privacy_policy"},Bge={class:"textarea-description"},Hge=["innerHTML"],Vge={key:5,class:"form-buttons"},jge={class:"confirm",type:"submit"},Kge={key:6,class:"form-buttons"},Yge=Z({__name:"AdminApplication",props:{appConfig:{},edition:{type:Boolean,default:!1}},setup(e){const t=e,{edition:n}=he(t),r=$e(),a=Zr(),s=Ft({admin_contact:"",max_users:0,max_single_file_size:0,max_zip_file_size:0,gpx_limit_import:0,about:"",privacy_policy:""}),o=$(()=>r.getters[H.GETTERS.ERROR_MESSAGES]);vt(()=>{t.appConfig&&i(t.appConfig)});function i(c){Object.keys(s).map(f=>{["max_single_file_size","max_zip_file_size"].includes(f)?s[f]=Ahe(c[f]):["about","privacy_policy"].includes(f)?s[f]=c[f]!==null?c[f]:"":s[f]=c[f]})}function u(){i(t.appConfig),r.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),a.push("/admin/application")}function l(){const c=Object.assign({},s);c.max_single_file_size*=1048576,c.max_zip_file_size*=1048576,r.dispatch(H.ACTIONS.UPDATE_APPLICATION_CONFIG,c)}return(c,f)=>{const d=ie("ErrorMessage"),m=ie("Card");return A(),N("div",vge,[k(m,null,{title:ue(()=>[j(T(c.$t("admin.APP_CONFIG.TITLE")),1)]),content:ue(()=>[p("form",{class:"admin-form",onSubmit:Xe(l,["prevent"])},[p("label",Rge,[j(T(c.$t("admin.APP_CONFIG.ADMIN_CONTACT"))+": ",1),!h(n)&&!s.admin_contact?(A(),N("input",{key:0,class:"no-contact",value:c.$t("admin.APP_CONFIG.NO_CONTACT_EMAIL"),disabled:""},null,8,bge)):Ke((A(),N("input",{key:1,id:"admin_contact",name:"admin_contact",type:"email","onUpdate:modelValue":f[0]||(f[0]=E=>s.admin_contact=E),disabled:!h(n)},null,8,Nge)),[[tt,s.admin_contact]])]),p("label",yge,[j(T(c.$t("admin.APP_CONFIG.MAX_USERS_LABEL"))+": ",1),Ke(p("input",{id:"max_users",name:"max_users",type:"number",min:"0","onUpdate:modelValue":f[1]||(f[1]=E=>s.max_users=E),disabled:!h(n)},null,8,Cge),[[tt,s.max_users]])]),p("div",Dge,[p("span",Pge,[wge,j(" "+T(c.$t("admin.APP_CONFIG.MAX_USERS_HELP")),1)])]),p("label",Lge,[j(T(c.$t("admin.APP_CONFIG.SINGLE_UPLOAD_MAX_SIZE_LABEL"))+": ",1),Ke(p("input",{id:"max_single_file_size",name:"max_single_file_size",type:"number",step:"0.1",min:"0","onUpdate:modelValue":f[2]||(f[2]=E=>s.max_single_file_size=E),disabled:!h(n)},null,8,$ge),[[tt,s.max_single_file_size]])]),p("label",kge,[j(T(c.$t("admin.APP_CONFIG.ZIP_UPLOAD_MAX_SIZE_LABEL"))+": ",1),Ke(p("input",{id:"max_zip_file_size",name:"max_zip_file_size",type:"number",step:"0.1",min:"0","onUpdate:modelValue":f[3]||(f[3]=E=>s.max_zip_file_size=E),disabled:!h(n)},null,8,Uge),[[tt,s.max_zip_file_size]])]),p("label",Mge,[j(T(c.$t("admin.APP_CONFIG.MAX_FILES_IN_ZIP_LABEL"))+": ",1),Ke(p("input",{id:"gpx_limit_import",name:"gpx_limit_import",type:"number",min:"0","onUpdate:modelValue":f[4]||(f[4]=E=>s.gpx_limit_import=E),disabled:!h(n)},null,8,xge),[[tt,s.gpx_limit_import]])]),p("label",Fge,T(c.$t("admin.ABOUT.TEXT"))+": ",1),p("span",Wge,T(c.$t("admin.ABOUT.DESCRIPTION")),1),h(n)?Ke((A(),N("textarea",{key:0,id:"about",name:"about",rows:"10","onUpdate:modelValue":f[5]||(f[5]=E=>s.about=E)},null,512)),[[tt,s.about]]):(A(),N("div",{key:1,innerHTML:h(pa)(h(_o)(s.about?s.about:c.$t("admin.NO_TEXT_ENTERED"))),class:"textarea-content"},null,8,Gge)),p("label",zge,T(Ot(c.$t("privacy_policy.TITLE")))+": ",1),p("span",Bge,T(c.$t("admin.PRIVACY_POLICY_DESCRIPTION")),1),h(n)?Ke((A(),N("textarea",{key:2,id:"privacy_policy",name:"privacy_policy",rows:"20","onUpdate:modelValue":f[6]||(f[6]=E=>s.privacy_policy=E)},null,512)),[[tt,s.privacy_policy]]):(A(),N("div",{key:3,innerHTML:h(pa)(h(_o)(s.privacy_policy?s.privacy_policy:c.$t("admin.NO_TEXT_ENTERED"))),class:"textarea-content"},null,8,Hge)),o.value?(A(),te(d,{key:4,message:o.value},null,8,["message"])):x("",!0),h(n)?(A(),N("div",Vge,[p("button",jge,T(c.$t("buttons.SUBMIT")),1),p("button",{class:"cancel",onClick:Xe(u,["prevent"])},T(c.$t("buttons.CANCEL")),1)])):(A(),N("div",Kge,[p("button",{class:"confirm",onClick:f[7]||(f[7]=Xe(E=>c.$router.push("/admin/application/edit"),["prevent"]))},T(c.$t("buttons.EDIT")),1),p("button",{class:"cancel",onClick:f[8]||(f[8]=Xe(E=>c.$router.push("/admin"),["prevent"]))},T(c.$t("admin.BACK_TO_ADMIN")),1)]))],32)]),_:1})])}}}),VE=re(Yge,[["__scopeId","data-v-a720b26e"]]),qge={class:"stat-card"},Xge={class:"stat-content box"},Zge={class:"stat-icon"},Qge={class:"stat-details"},Jge={class:"stat-huge"},eAe={class:"stat"},pr=Z({__name:"StatCard",props:{icon:{},text:{},value:{}},setup(e){const t=e,{icon:n,text:r,value:a}=he(t);return(s,o)=>(A(),N("div",qge,[p("div",Xge,[p("div",Zge,[p("i",{class:Ae(["fa",`fa-${h(n)}`])},null,2)]),p("div",Qge,[p("div",Jge,T(h(a)),1),p("div",eAe,T(h(r)),1)])])]))}}),tAe={id:"user-stats"},nAe=Z({__name:"AppStatsCards",props:{appStatistics:{}},setup(e){const t=e,{appStatistics:n}=he(t),r=$(()=>JT(n.value.uploads_dir_size));return(a,s)=>(A(),N("div",tAe,[k(pr,{icon:"users",value:h(n).users,text:a.$t("admin.USER",h(n).users)},null,8,["value","text"]),k(pr,{icon:"tags",value:h(n).sports,text:a.$t("workouts.SPORT",h(n).sports)},null,8,["value","text"]),k(pr,{icon:"calendar",value:h(n).workouts,text:a.$t("workouts.WORKOUT",h(n).workouts)},null,8,["value","text"]),k(pr,{icon:"folder-open",value:r.value.size,text:r.value.suffix},null,8,["value","text"])]))}}),gA=e=>(ct("data-v-efcd2677"),e=e(),lt(),e),rAe={id:"admin-menu",class:"center-card"},aAe={class:"admin-menu description-list"},sAe={class:"application-config-details"},oAe=gA(()=>p("br",null,null,-1)),iAe={class:"registration-status"},uAe={key:0,class:"email-sending-status"},cAe=gA(()=>p("i",{class:"fa fa-exclamation-triangle","aria-hidden":"true"},null,-1)),lAe=Z({__name:"AdminMenu",props:{appConfig:{},appStatistics:{default:()=>({})}},setup(e){const t=e,{appConfig:n,appStatistics:r}=he(t);return Tt(()=>{const a=document.getElementById("adminLink");a&&a.focus()}),(a,s)=>{const o=ie("router-link");return A(),N("div",rAe,[k(zT,null,{title:ue(()=>[j(T(a.$t("admin.ADMINISTRATION")),1)]),content:ue(()=>[k(nAe,{appStatistics:h(r)},null,8,["appStatistics"]),p("div",aAe,[p("dl",null,[p("dt",null,[k(o,{id:"adminLink",to:"/admin/application"},{default:ue(()=>[j(T(a.$t("admin.APPLICATION")),1)]),_:1})]),p("dd",sAe,[j(T(a.$t("admin.UPDATE_APPLICATION_DESCRIPTION")),1),oAe,p("span",iAe,T(a.$t(`admin.REGISTRATION_${h(n).is_registration_enabled?"ENABLED":"DISABLED"}`)),1),h(n).is_email_sending_enabled?x("",!0):(A(),N("span",uAe,[cAe,j(" "+T(a.$t("admin.EMAIL_SENDING_DISABLED")),1)]))]),p("dt",null,[k(o,{to:"/admin/sports"},{default:ue(()=>[j(T(Ot(a.$t("workouts.SPORT",0))),1)]),_:1})]),p("dd",null,T(a.$t("admin.ENABLE_DISABLE_SPORTS")),1),p("dt",null,[k(o,{to:"/admin/users"},{default:ue(()=>[j(T(Ot(a.$t("admin.USER",0))),1)]),_:1})]),p("dd",null,T(a.$t("admin.ADMIN_RIGHTS_DELETE_USER_ACCOUNT")),1)])])]),_:1})])}}}),dAe=re(lAe,[["__scopeId","data-v-efcd2677"]]),h0={"Cycling (Sport)":"#4c9792","Cycling (Trekking)":"#a8af88","Cycling (Transport)":"#88af98","Cycling (Virtual)":"#64a360",Hiking:"#bb757c","Mountain Biking":"#d4b371","Mountain Biking (Electric)":"#fc9d6f",Mountaineering:"#48b3b7","Open Water Swimming":"#4058a4",Paragliding:"#c23c50",Rowing:"#fcce72",Running:"#835b83","Skiing (Alpine)":"#67a4bd","Skiing (Cross Country)":"#9498d0",Snowshoes:"#5780a8",Trail:"#09a98a",Walking:"#838383"},fAe=e=>{const t={};return e.map(n=>t[n.id]=n.color?n.color:h0[n.label]),t},pAe=(e,t)=>{const n=e.translatedLabel.toLowerCase(),r=t.translatedLabel.toLowerCase();return n>r?1:ne.filter(a=>n==="all"?!0:r.includes(a.id)||a[n]).map(a=>({...a,translatedLabel:t(`sports.${a.label}.LABEL`)})).sort(pAe),_0=(e,t)=>t.filter(n=>n.id===e.sport_id).map(n=>n.label)[0],T0=(e,t)=>t.filter(n=>n.id===e.sport_id).map(n=>n.color)[0],Nc=e=>(ct("data-v-203d96b8"),e=e(),lt(),e),mAe={id:"admin-sports",class:"admin-card"},EAe={class:"responsive-table"},hAe=Nc(()=>p("th",null,"#",-1)),_Ae={class:"text-left"},TAe={class:"text-left sport-action"},gAe=Nc(()=>p("th",null,null,-1)),AAe={class:"text-center"},SAe=Nc(()=>p("span",{class:"cell-heading"},"id",-1)),OAe={class:"cell-heading"},IAe={class:"sport-label"},vAe={class:"cell-heading"},RAe={class:"text-center"},bAe={class:"cell-heading"},NAe={class:"sport-action"},yAe={class:"cell-heading"},CAe={class:"action-button"},DAe=["onClick"],PAe={key:0,class:"has-workouts"},wAe=Nc(()=>p("i",{class:"fa fa-warning","aria-hidden":"true"},null,-1)),LAe=Z({__name:"AdminSports",setup(e){const{t}=jt(),n=$e(),r=$(()=>Jr(n.getters[kt.GETTERS.SPORTS],t)),a=$(()=>n.getters[H.GETTERS.ERROR_MESSAGES]);function s(o,i){n.dispatch(kt.ACTIONS.UPDATE_SPORTS,{id:o,isActive:i})}return(o,i)=>{const u=ie("SportImage"),l=ie("ErrorMessage"),c=ie("Card");return A(),N("div",mAe,[k(c,null,{title:ue(()=>[j(T(o.$t("admin.SPORTS.TITLE")),1)]),content:ue(()=>[p("button",{class:"top-button",onClick:i[0]||(i[0]=Xe(f=>o.$router.push("/admin"),["prevent"]))},T(o.$t("admin.BACK_TO_ADMIN")),1),p("div",EAe,[p("table",null,[p("thead",null,[p("tr",null,[hAe,p("th",null,T(o.$t("admin.SPORTS.TABLE.IMAGE")),1),p("th",_Ae,T(o.$t("admin.SPORTS.TABLE.LABEL")),1),p("th",null,T(o.$t("admin.SPORTS.TABLE.ACTIVE")),1),p("th",TAe,T(o.$t("admin.ACTION")),1),gAe])]),p("tbody",null,[(A(!0),N(ve,null,Fe(r.value,f=>(A(),N("tr",{key:f.id},[p("td",AAe,[SAe,j(" "+T(f.id),1)]),p("td",null,[p("span",OAe,T(o.$t("admin.SPORTS.TABLE.IMAGE")),1),k(u,{title:f.translatedLabel,"sport-label":f.label,color:f.color},null,8,["title","sport-label","color"])]),p("td",IAe,[p("span",vAe,T(o.$t("admin.SPORTS.TABLE.LABEL")),1),j(" "+T(f.translatedLabel),1)]),p("td",RAe,[p("span",bAe,T(o.$t("admin.SPORTS.TABLE.ACTIVE")),1),p("i",{class:Ae(`fa fa${f.is_active?"-check":""}`),"aria-hidden":"true"},null,2)]),p("td",NAe,[p("span",yAe,T(o.$t("admin.ACTION")),1),p("div",CAe,[p("button",{class:Ae({danger:f.is_active}),onClick:d=>s(f.id,!f.is_active)},T(o.$t(`buttons.${f.is_active?"DIS":"EN"}ABLE`)),11,DAe),f.has_workouts?(A(),N("span",PAe,[wAe,j(" "+T(o.$t("admin.SPORTS.TABLE.HAS_WORKOUTS")),1)])):x("",!0)])])]))),128))])]),a.value?(A(),te(l,{key:0,message:a.value},null,8,["message"])):x("",!0),p("button",{onClick:i[1]||(i[1]=Xe(f=>o.$router.push("/admin"),["prevent"]))},T(o.$t("admin.BACK_TO_ADMIN")),1)])]),_:1})])}}}),$Ae=re(LAe,[["__scopeId","data-v-203d96b8"]]),kAe={class:"table-selects"},UAe=["value"],MAe=["value"],xAe=["value"],FAe=["value"],WAe=["value"],GAe=["value"],zAe=Z({__name:"FilterSelects",props:{order_by:{},query:{},sort:{},message:{}},emits:["updateSelect"],setup(e,{emit:t}){const n=e,r=t,{order_by:a,query:s,sort:o,message:i}=he(n),u=[10,25,50,100];function l(c){r("updateSelect",c.target.id,c.target.value)}return(c,f)=>(A(),N("div",kAe,[p("label",null,[j(T(c.$t("common.SELECTS.ORDER_BY.LABEL"))+": ",1),p("select",{name:"order_by",id:"order_by",value:h(s).order_by,onChange:l},[(A(!0),N(ve,null,Fe(h(a),d=>(A(),N("option",{value:d,key:d},T(c.$t(`${h(i)}.${d.toUpperCase()}`)),9,MAe))),128))],40,UAe)]),p("label",null,[j(T(c.$t("common.SELECTS.ORDER.LABEL"))+": ",1),p("select",{name:"order",id:"order",value:h(s).order,onChange:l},[(A(!0),N(ve,null,Fe(h(o),d=>(A(),N("option",{value:d,key:d},T(c.$t(`common.SELECTS.ORDER.${d.toUpperCase()}`)),9,FAe))),128))],40,xAe)]),p("label",null,[j(T(c.$t("common.SELECTS.PER_PAGE.LABEL"))+": ",1),p("select",{name:"per_page",id:"per_page",value:h(s).per_page,onChange:l},[(A(),N(ve,null,Fe(u,d=>p("option",{value:d,key:d},T(d),9,GAe)),64))],40,WAe)])]))}}),AA=re(zAe,[["__scopeId","data-v-fc86ab3c"]]),g0=["asc","desc"],SA=1,BAe=10,Fd=(e,t)=>e&&typeof e=="string"&&+e>0?+e:t,jE=(e,t,n)=>e&&typeof e=="string"&&t.includes(e)?e:n,Wd=(e,t,n,r)=>{const s=(r||{}).defaultSort||"asc",o={};return o.page=Fd(e.page,SA),o.per_page=Fd(e.per_page,BAe),o.order=jE(e.order,g0,s),o.order_by=jE(e.order_by,t,n),typeof e.q=="string"?o.q=e.q:delete o.q,o},HAe=["from","to","ave_speed_from","ave_speed_to","max_speed_from","max_speed_to","distance_from","distance_to","duration_from","duration_to","sport_id","title"],Pa=(e,t=1)=>Array.from({length:e-t+1},(n,r)=>t+r),VAe=(e,t)=>{if(e<0)return[];if(e<9)return Pa(e);let n=[1,2];return t<4?n=n.concat([3,4,5]):t<6?n=n.concat(Pa(t+2,3)):(n=n.concat(["..."]),t=e-2&&+n[n.length-1](ct("data-v-69dd9739"),e=e(),lt(),e),jAe={class:"pagination-center","aria-label":"navigation"},KAe={class:"pagination"},YAe=OA(()=>p("i",{class:"fa fa-chevron-left","aria-hidden":"true"},null,-1)),qAe={key:0},XAe=OA(()=>p("i",{class:"fa fa-chevron-right","aria-hidden":"true"},null,-1)),ZAe=Z({__name:"Pagination",props:{pagination:{},path:{},query:{}},setup(e){const t=e,{pagination:n,path:r,query:a}=he(t);function s(o,i){const u=Object.assign({},a.value);return u.page=i?o+i:o,u}return(o,i)=>{const u=ie("router-link");return A(),N("nav",jAe,[p("ul",KAe,[p("li",{class:Ae(["page-prev",{disabled:!h(n).has_prev}])},[k(u,{class:"page-link",to:{path:h(r),query:s(h(n).page,-1)},disabled:!h(n).has_prev,tabindex:h(n).has_prev?0:-1},{default:ue(({navigate:l})=>[ja(o.$slots,"default",{onClick:c=>h(n).has_next?l:null},()=>[j(T(o.$t("api.PAGINATION.PREVIOUS"))+" ",1),YAe],!0)]),_:3},8,["to","disabled","tabindex"])],2),(A(!0),N(ve,null,Fe(h(VAe)(h(n).pages,h(n).page),l=>(A(),N("li",{key:l,class:Ae(["page",{active:l===h(n).page}])},[l==="..."?(A(),N("span",qAe," ... ")):(A(),te(u,{key:1,class:"page-link",to:{path:h(r),query:s(+l)}},{default:ue(()=>[j(T(l),1)]),_:2},1032,["to"]))],2))),128)),p("li",{class:Ae(["page-next",{disabled:!h(n).has_next}])},[k(u,{class:"page-link",to:{path:h(r),query:s(h(n).page,1)},disabled:!h(n).has_next,tabindex:h(n).has_next?0:-1},{default:ue(({navigate:l})=>[ja(o.$slots,"default",{onClick:c=>h(n).has_next?l:null},()=>[j(T(o.$t("api.PAGINATION.NEXT"))+" ",1),XAe],!0)]),_:3},8,["to","disabled","tabindex"])],2)])])}}}),xu=re(ZAe,[["__scopeId","data-v-69dd9739"]]),QAe={class:"users-filters"},JAe={class:"search-username"},eSe=["placeholder"],tSe=Z({__name:"UsersNameFilter",emits:["filterOnUsername"],setup(e,{emit:t}){const n=Kt(),r=le(n.query.q?n.query.q:""),a=t;function s(){r.value!==""&&a("filterOnUsername",r)}function o(){r.value="",a("filterOnUsername",r.value)}return(i,u)=>(A(),N("div",QAe,[p("div",JAe,[Ke(p("input",{id:"username",name:"username","onUpdate:modelValue":u[0]||(u[0]=l=>r.value=l),onKeyup:Et(s,["enter"]),placeholder:i.$t("user.FILTER_ON_USERNAME")},null,40,eSe),[[tt,r.value,void 0,{trim:!0}]]),r.value!==""?(A(),N("i",{key:0,class:"fa fa-times","aria-hidden":"true",onClick:o})):x("",!0)]),p("i",{class:Ae(["fa fa-search",{"fa-disabled":r.value===""}]),"aria-hidden":"true",onClick:s},null,2)]))}}),nSe=re(tSe,[["__scopeId","data-v-553040c7"]]);var Gd={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){if(r===null||r===!0||r===!1)return NaN;var a=Number(r);return isNaN(a)?a:a<0?Math.ceil(a):Math.floor(a)}e.exports=t.default})(Gd,Gd.exports);var rSe=Gd.exports;const aSe=qd(rSe);var zd={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){var a=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return a.setUTCFullYear(r.getFullYear()),r.getTime()-a.getTime()}e.exports=t.default})(zd,zd.exports);var sSe=zd.exports;const KE=qd(sSe);function oSe(e,t){var n=lSe(t);return n.formatToParts?uSe(n,e):cSe(n,e)}var iSe={year:0,month:1,day:2,hour:3,minute:4,second:5};function uSe(e,t){try{for(var n=e.formatToParts(t),r=[],a=0;a=0&&(r[s]=parseInt(n[a].value,10))}return r}catch(o){if(o instanceof RangeError)return[NaN];throw o}}function cSe(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}var pl={};function lSe(e){if(!pl[e]){var t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n=t==="06/25/2014, 00:00:00"||t==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";pl[e]=n?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return pl[e]}function IA(e,t,n,r,a,s,o){var i=new Date(0);return i.setUTCFullYear(e,t,n),i.setUTCHours(r,a,s,o),i}var YE=36e5,dSe=6e4,ml={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function vA(e,t,n){var r,a;if(!e||(r=ml.timezoneZ.exec(e),r))return 0;var s;if(r=ml.timezoneHH.exec(e),r)return s=parseInt(r[1],10),qE(s)?-(s*YE):NaN;if(r=ml.timezoneHHMM.exec(e),r){s=parseInt(r[1],10);var o=parseInt(r[2],10);return qE(s,o)?(a=Math.abs(s)*YE+o*dSe,s>0?-a:a):NaN}if(mSe(e)){t=new Date(t||Date.now());var i=n?t:fSe(t),u=Bd(i,e),l=n?u:pSe(t,u,e);return-l}return NaN}function fSe(e){return IA(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function Bd(e,t){var n=oSe(e,t),r=IA(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),a=e.getTime(),s=a%1e3;return a-=s>=0?s:1e3+s,r-a}function pSe(e,t,n){var r=e.getTime(),a=r-t,s=Bd(new Date(a),n);if(t===s)return t;a-=s-t;var o=Bd(new Date(a),n);return s===o?s:Math.max(s,o)}function qE(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var XE={};function mSe(e){if(XE[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),XE[e]=!0,!0}catch{return!1}}var ESe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,El=36e5,ZE=6e4,hSe=2,Jt={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:ESe};function _Se(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);var n=t||{},r=n.additionalDigits==null?hSe:aSe(n.additionalDigits);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(!(typeof e=="string"||Object.prototype.toString.call(e)==="[object String]"))return new Date(NaN);var a=TSe(e),s=gSe(a.date,r),o=s.year,i=s.restDateString,u=ASe(i,o);if(isNaN(u))return new Date(NaN);if(u){var l=u.getTime(),c=0,f;if(a.time&&(c=SSe(a.time),isNaN(c)))return new Date(NaN);if(a.timeZone||n.timeZone){if(f=vA(a.timeZone||n.timeZone,new Date(l+c)),isNaN(f))return new Date(NaN)}else f=KE(new Date(l+c)),f=KE(new Date(l+c+f));return new Date(l+c+f)}else return new Date(NaN)}function TSe(e){var t={},n=Jt.dateTimePattern.exec(e),r;if(n?(t.date=n[1],r=n[3]):(n=Jt.datePattern.exec(e),n?(t.date=n[1],r=n[2]):(t.date=null,r=e)),r){var a=Jt.timeZone.exec(r);a?(t.time=r.replace(a[1],""),t.timeZone=a[1].trim()):t.time=r}return t}function gSe(e,t){var n=Jt.YYY[t],r=Jt.YYYYY[t],a;if(a=Jt.YYYY.exec(e)||r.exec(e),a){var s=a[1];return{year:parseInt(s,10),restDateString:e.slice(s.length)}}if(a=Jt.YY.exec(e)||n.exec(e),a){var o=a[1];return{year:parseInt(o,10)*100,restDateString:e.slice(o.length)}}return{year:null}}function ASe(e,t){if(t===null)return null;var n,r,a,s;if(e.length===0)return r=new Date(0),r.setUTCFullYear(t),r;if(n=Jt.MM.exec(e),n)return r=new Date(0),a=parseInt(n[1],10)-1,JE(t,a)?(r.setUTCFullYear(t,a),r):new Date(NaN);if(n=Jt.DDD.exec(e),n){r=new Date(0);var o=parseInt(n[1],10);return vSe(t,o)?(r.setUTCFullYear(t,0,o),r):new Date(NaN)}if(n=Jt.MMDD.exec(e),n){r=new Date(0),a=parseInt(n[1],10)-1;var i=parseInt(n[2],10);return JE(t,a,i)?(r.setUTCFullYear(t,a,i),r):new Date(NaN)}if(n=Jt.Www.exec(e),n)return s=parseInt(n[1],10)-1,eh(t,s)?QE(t,s):new Date(NaN);if(n=Jt.WwwD.exec(e),n){s=parseInt(n[1],10)-1;var u=parseInt(n[2],10)-1;return eh(t,s,u)?QE(t,s,u):new Date(NaN)}return null}function SSe(e){var t,n,r;if(t=Jt.HH.exec(e),t)return n=parseFloat(t[1].replace(",",".")),hl(n)?n%24*El:NaN;if(t=Jt.HHMM.exec(e),t)return n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")),hl(n,r)?n%24*El+r*ZE:NaN;if(t=Jt.HHMMSS.exec(e),t){n=parseInt(t[1],10),r=parseInt(t[2],10);var a=parseFloat(t[3].replace(",","."));return hl(n,r,a)?n%24*El+r*ZE+a*1e3:NaN}return null}function QE(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var a=r.getUTCDay()||7,s=t*7+n+1-a;return r.setUTCDate(r.getUTCDate()+s),r}var OSe=[31,28,31,30,31,30,31,31,30,31,30,31],ISe=[31,29,31,30,31,30,31,31,30,31,30,31];function RA(e){return e%400===0||e%4===0&&e%100!==0}function JE(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;var r=RA(e);if(r&&n>ISe[t]||!r&&n>OSe[t])return!1}return!0}function vSe(e,t){if(t<1)return!1;var n=RA(e);return!(n&&t>366||!n&&t>365)}function eh(e,t,n){return!(t<0||t>52||n!=null&&(n<0||n>6))}function hl(e,t,n){return!(e!=null&&(e<0||e>=25)||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}function RSe(e,t,n){var r=_Se(e,n),a=vA(t,r,!0),s=new Date(r.getTime()-a),o=new Date(0);return o.setFullYear(s.getUTCFullYear(),s.getUTCMonth(),s.getUTCDate()),o.setHours(s.getUTCHours(),s.getUTCMinutes(),s.getUTCSeconds(),s.getUTCMilliseconds()),o}const{locale:Fu}=Aa.global,bSe=(e,t,n)=>{switch(e){case"week":return uc(t,{weekStartsOn:n?1:0});case"year":return Lf(t);case"month":return Do(t);default:throw new Error(`Invalid duration, expected: "week", "month", "year", got: "${e}"`)}},NSe=(e,t)=>{switch(e){case"week":return yo(t,7);case"year":return Yi(t,1);case"month":return Xa(t,1);default:throw new Error(`Invalid duration, expected: "week", "month", "year", got: "${e}"`)}},yc=(e,t)=>RSe(new Date(e),t),th=(e,t)=>{const n=Do(e),r=Co(e),a=t?1:0;return{start:uc(n,{weekStartsOn:a}),end:$f(r,{weekStartsOn:a})}},bA=(e,t=null,n=null)=>(t||(t="yyyy/MM/dd"),t=Oa(t,Fu.value),n||(n="HH:mm"),{workout_date:dn(e,t,{locale:Po[Fu.value]}),workout_time:dn(e,n)}),ySe=["MM/dd/yyyy","dd/MM/yyyy","yyyy-MM-dd","date_string"],NA={de:"do MMM yyyy",en:"MMM. do, yyyy",es:"d MMM yyyy",fr:"d MMM yyyy",gl:"d MMM yyyy",it:"d MMM yyyy",pl:"d MMM yyyy",nb:"do MMM yyyy",nl:"d MMM yyyy"},Oa=(e,t)=>e==="date_string"?NA[t]:e,Fn=(e,t,n,r=!0,a=null,s=!1)=>{a||(a=Fu.value);const o=r?s?" HH:mm:ss":" HH:mm":"";return dn(yc(e,t),`${Oa(n,a)}${o}`,{locale:Po[a]})},CSe=(e,t,n=null)=>{const r=n||Fu.value,a=[];return ySe.map(s=>{const o=Oa(s,r);a.push({label:`${o} - ${Fn(e,t,o,!1,r)}`,value:s})}),a},DSe=e=>(ct("data-v-4beb3bfa"),e=e(),lt(),e),PSe={id:"admin-users",class:"admin-card"},wSe={key:0,class:"no-users"},LSe={key:1,class:"responsive-table"},$Se=DSe(()=>p("th",null,"#",-1)),kSe={class:"left-text"},USe={class:"left-text"},MSe={class:"left-text"},xSe={class:"cell-heading"},FSe={class:"cell-heading"},WSe={class:"cell-heading"},GSe={class:"cell-heading"},zSe={class:"text-center"},BSe={class:"cell-heading"},HSe={class:"text-center"},VSe={class:"cell-heading"},jSe={class:"text-center"},KSe={class:"cell-heading"},YSe={class:"text-center"},qSe={class:"cell-heading"},XSe=["disabled","onClick"],nh="created_at",ZSe=Z({__name:"AdminUsers",setup(e){const t=$e(),n=Kt(),r=Zr(),a=["is_active","admin","created_at","username","workouts_count"];let s=Ft(Wd(n.query,a,nh));const o=$(()=>t.getters[K.GETTERS.AUTH_USER_PROFILE]),i=$(()=>t.getters[ye.GETTERS.USERS]),u=$(()=>t.getters[ye.GETTERS.USERS_PAGINATION]),l=$(()=>t.getters[H.GETTERS.ERROR_MESSAGES]);vt(()=>c(s));function c(E){t.dispatch(ye.ACTIONS.GET_USERS,E)}function f(E){m("q",E.value)}function d(E,I){t.dispatch(ye.ACTIONS.UPDATE_USER,{username:E,admin:I})}function m(E,I){s[E]=I,E==="per_page"&&(s.page=1),r.push({path:"/admin/users",query:s})}return Rt(()=>{t.dispatch(ye.ACTIONS.EMPTY_USERS)}),xe(()=>n.query,E=>{s=Wd(E,a,nh,{query:s}),c(s)}),(E,I)=>{const b=ie("router-link"),v=ie("ErrorMessage"),R=ie("Card");return A(),N("div",PSe,[k(R,null,{title:ue(()=>[j(T(Ot(E.$t("admin.USER",0))),1)]),content:ue(()=>[p("button",{class:"top-button",onClick:I[0]||(I[0]=Xe(S=>E.$router.push("/admin"),["prevent"]))},T(E.$t("admin.BACK_TO_ADMIN")),1),k(nSe,{onFilterOnUsername:f}),k(AA,{sort:h(g0),order_by:a,query:h(s),message:"admin.USERS.SELECTS.ORDER_BY",onUpdateSelect:m},null,8,["sort","query"]),i.value.length===0?(A(),N("div",wSe,T(E.$t("user.NO_USERS_FOUND")),1)):(A(),N("div",LSe,[p("table",null,[p("thead",null,[p("tr",null,[$Se,p("th",kSe,T(E.$t("user.USERNAME")),1),p("th",USe,T(E.$t("user.EMAIL")),1),p("th",MSe,T(E.$t("user.PROFILE.REGISTRATION_DATE")),1),p("th",null,T(Ot(E.$t("workouts.WORKOUT",0))),1),p("th",null,T(E.$t("admin.ACTIVE")),1),p("th",null,T(E.$t("user.ADMIN")),1),p("th",null,T(E.$t("admin.ACTION")),1)])]),p("tbody",null,[(A(!0),N(ve,null,Fe(i.value,S=>(A(),N("tr",{key:S.username},[p("td",null,[p("span",xSe,T(E.$t("user.PROFILE.PICTURE")),1),k(No,{user:S},null,8,["user"])]),p("td",null,[p("span",FSe,T(E.$t("user.USERNAME")),1),k(b,{to:`/admin/users/${S.username}`},{default:ue(()=>[j(T(S.username),1)]),_:2},1032,["to"])]),p("td",null,[p("span",WSe,T(E.$t("user.EMAIL")),1),j(" "+T(S.email),1)]),p("td",null,[p("span",GSe,T(E.$t("user.PROFILE.REGISTRATION_DATE")),1),p("time",null,T(h(Fn)(S.created_at,o.value.timezone,o.value.date_format)),1)]),p("td",zSe,[p("span",BSe,T(Ot(E.$t("workouts.WORKOUT",0))),1),j(" "+T(S.nb_workouts),1)]),p("td",HSe,[p("span",VSe,T(E.$t("admin.ACTIVE")),1),p("i",{class:Ae(`fa fa${S.is_active?"-check":""}-square-o`),"aria-hidden":"true"},null,2)]),p("td",jSe,[p("span",KSe,T(E.$t("user.ADMIN")),1),p("i",{class:Ae(`fa fa${S.admin?"-check":""}-square-o`),"aria-hidden":"true"},null,2)]),p("td",YSe,[p("span",qSe,T(E.$t("admin.ACTION")),1),p("button",{class:Ae({danger:S.admin}),disabled:S.username===o.value.username,onClick:O=>d(S.username,!S.admin)},T(E.$t(`admin.USERS.TABLE.${S.admin?"REMOVE":"ADD"}_ADMIN_RIGHTS`)),11,XSe)])]))),128))])]),u.value.page?(A(),te(xu,{key:0,path:"/admin/users",pagination:u.value,query:h(s)},null,8,["pagination","query"])):x("",!0),l.value?(A(),te(v,{key:1,message:l.value},null,8,["message"])):x("",!0),p("button",{onClick:I[1]||(I[1]=Xe(S=>E.$router.push("/admin"),["prevent"]))},T(E.$t("admin.BACK_TO_ADMIN")),1)]))]),_:1})])}}}),QSe=re(ZSe,[["__scopeId","data-v-4beb3bfa"]]),JSe={class:"box user-header"},eOe={class:"user-details"},tOe={class:"user-name"},nOe={class:"user-stats"},rOe={class:"user-stat"},aOe={class:"stat-number"},sOe={class:"stat-label"},oOe={class:"user-stat"},iOe={class:"stat-label"},uOe={class:"user-stat hide-small"},cOe={class:"stat-number"},lOe={class:"stat-label"},dOe=Z({__name:"UserHeader",props:{user:{}},setup(e){const t=e,{user:n}=he(t),r=$e(),a=$(()=>r.getters[K.GETTERS.AUTH_USER_PROFILE]);return(s,o)=>{const i=ie("Distance");return A(),N("div",JSe,[k(No,{user:h(n)},null,8,["user"]),p("div",eOe,[p("div",tOe,T(h(n).username),1),p("div",nOe,[p("div",rOe,[p("span",aOe,T(h(n).nb_workouts),1),p("span",sOe,T(s.$t("workouts.WORKOUT",h(n).nb_workouts)),1)]),p("div",oOe,[k(i,{distance:h(n).total_distance,unitFrom:"km",digits:0,displayUnit:!1,useImperialUnits:a.value.imperial_units},null,8,["distance","useImperialUnits"]),p("span",iOe,T(a.value.imperial_units?"miles":"km"),1)]),p("div",uOe,[p("span",cOe,T(h(n).nb_sports),1),p("span",lOe,T(s.$t("workouts.SPORT",h(n).nb_sports)),1)])])])])}}}),yA=re(dOe,[["__scopeId","data-v-3abb1646"]]),fOe={class:"profile-tabs custom-checkboxes-group"},pOe={class:"profile-tabs-checkboxes custom-checkboxes"},mOe=["id","name","checked","disabled","onInput"],EOe=["id","onKeydown"],CA=Z({__name:"UserProfileTabs",props:{tabs:{},selectedTab:{},edition:{type:Boolean},disabled:{type:Boolean,default:!1}},setup(e){const t=e,{tabs:n,selectedTab:r,disabled:a}=he(t);Tt(()=>{const o=document.getElementById(`tab-${n.value[0]}`);o&&o.focus()});function s(o){switch(o){case"ACCOUNT":case"PICTURE":case"PRIVACY-POLICY":return`/profile/edit/${o.toLocaleLowerCase()}`;case"APPS":case"PREFERENCES":case"SPORTS":return`/profile${t.edition?"/edit":""}/${o.toLocaleLowerCase()}`;default:case"PROFILE":return`/profile${t.edition?"/edit":""}`}}return(o,i)=>(A(),N("div",fOe,[p("div",pOe,[(A(!0),N(ve,null,Fe(h(n),u=>(A(),N("div",{class:"profile-tab custom-checkbox",key:u},[p("label",null,[p("input",{type:"radio",id:u,name:u,checked:h(r).split("/")[0]===u,disabled:h(a),onInput:l=>o.$router.push(s(u))},null,40,mOe),p("span",{id:`tab-${u}`,tabindex:0,role:"button",onKeydown:Et(l=>o.$router.push(s(u)),["enter"])},T(o.$t(`user.PROFILE.TABS.${u}`)),41,EOe)])]))),128))])]))}}),hOe={id:"user-profile"},_Oe={class:"box"},TOe=Z({__name:"index",props:{user:{},tab:{}},setup(e){const t=e,{user:n,tab:r}=he(t),a=["PROFILE","PREFERENCES","SPORTS","APPS"];return(s,o)=>{const i=ie("router-view");return A(),N("div",hOe,[k(yA,{user:h(n)},null,8,["user"]),p("div",_Oe,[k(CA,{tabs:a,selectedTab:h(r),edition:!1},null,8,["selectedTab"]),k(i,{user:h(n)},null,8,["user"])])])}}}),gOe=re(TOe,[["__scopeId","data-v-8a058d49"]]),AOe={id:"user-infos",class:"description-list"},SOe={key:1,class:"info-box success-message"},OOe={key:4,class:"email-form form-box"},IOe={class:"form-items",for:"email"},vOe={class:"form-items",for:"email"},ROe={class:"form-buttons"},bOe={class:"confirm",type:"submit"},NOe={key:5},yOe={key:0},COe={class:"user-bio"},DOe={key:0,class:"profile-buttons"},POe={key:1,class:"profile-buttons"},wOe=Z({__name:"UserInfos",props:{user:{},fromAdmin:{type:Boolean,default:!1}},setup(e){const t=e,n=$e(),{user:r,fromAdmin:a}=he(t),s=$(()=>n.getters[H.GETTERS.LANGUAGE]),o=$(()=>n.getters[K.GETTERS.AUTH_USER_PROFILE]),i=$(()=>t.user.created_at?Fn(t.user.created_at,o.value.timezone,o.value.date_format):""),u=$(()=>t.user.birth_date?dn(new Date(t.user.birth_date),`${Oa(o.value.date_format,s.value)}`,{locale:Po[s.value]}):""),l=$(()=>n.getters[ye.GETTERS.USERS_IS_SUCCESS]),c=$(()=>n.getters[H.GETTERS.ERROR_MESSAGES]),f=$(()=>n.getters[H.GETTERS.APP_CONFIG]),d=le(""),m=le(!1),E=le(!1),I=le(""),b=le("");function v(G){d.value=G,G!==""&&n.commit(ye.MUTATIONS.UPDATE_IS_SUCCESS,!1)}function R(G){n.dispatch(ye.ACTIONS.DELETE_USER_ACCOUNT,{username:G})}function S(G){b.value="password-reset",n.dispatch(ye.ACTIONS.UPDATE_USER,{username:G,resetPassword:!0})}function O(G){n.dispatch(ye.ACTIONS.UPDATE_USER,{username:G,activate:!0})}function y(){w(),I.value=r.value.email_to_confirm?r.value.email_to_confirm:"",E.value=!0,b.value="email-update"}function P(){I.value="",E.value=!1}function M(G){n.dispatch(ye.ACTIONS.UPDATE_USER,{username:G,new_email:I.value})}function w(){n.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),n.commit(ye.MUTATIONS.UPDATE_IS_SUCCESS,!1),b.value=""}return Rt(()=>w()),xe(()=>l.value,G=>{G&&(v(""),P())}),(G,B)=>{const L=ie("Modal"),X=ie("AlertMessage"),J=ie("ErrorMessage");return A(),N("div",AOe,[d.value?(A(),te(L,{key:0,title:G.$t("common.CONFIRMATION"),message:d.value==="delete"?"admin.CONFIRM_USER_ACCOUNT_DELETION":"admin.CONFIRM_USER_PASSWORD_RESET",strongMessage:h(r).username,onConfirmAction:B[0]||(B[0]=ne=>d.value==="delete"?R(h(r).username):S(h(r).username)),onCancelAction:B[1]||(B[1]=ne=>v("")),onKeydown:B[2]||(B[2]=Et(ne=>v(""),["esc"]))},null,8,["title","message","strongMessage"])):x("",!0),l.value?(A(),N("div",SOe,T(G.$t(`admin.${b.value==="password-reset"?"PASSWORD_RESET":"USER_EMAIL_UPDATE"}_SUCCESSFUL`)),1)):x("",!0),h(r).is_active?x("",!0):(A(),te(X,{key:2,message:"user.THIS_USER_ACCOUNT_IS_INACTIVE"})),c.value?(A(),te(J,{key:3,message:c.value},null,8,["message"])):x("",!0),E.value?(A(),N("div",OOe,[p("form",{class:Ae({errors:m.value}),onSubmit:B[5]||(B[5]=Xe(ne=>M(h(r).username),["prevent"]))},[p("label",IOe,[j(T(G.$t("admin.CURRENT_EMAIL"))+" ",1),Ke(p("input",{id:"email",type:"email","onUpdate:modelValue":B[3]||(B[3]=ne=>h(r).email=ne),disabled:""},null,512),[[tt,h(r).email]])]),p("label",vOe,[j(T(G.$t("admin.NEW_EMAIL"))+"* ",1),Ke(p("input",{id:"new-email",type:"email",required:"","onUpdate:modelValue":B[4]||(B[4]=ne=>I.value=ne)},null,512),[[tt,I.value]])]),p("div",ROe,[p("button",bOe,T(G.$t("buttons.SUBMIT")),1),p("button",{class:"cancel",onClick:Xe(P,["prevent"])},T(G.$t("buttons.CANCEL")),1)])],34)])):(A(),N("div",NOe,[p("dl",null,[p("dt",null,T(G.$t("user.PROFILE.REGISTRATION_DATE"))+":",1),p("dd",null,[p("time",null,T(i.value),1)]),p("dt",null,T(G.$t("user.PROFILE.FIRST_NAME"))+":",1),p("dd",null,T(h(r).first_name),1),p("dt",null,T(G.$t("user.PROFILE.LAST_NAME"))+":",1),p("dd",null,T(h(r).last_name),1),p("dt",null,T(G.$t("user.PROFILE.BIRTH_DATE"))+":",1),p("dd",null,[u.value?(A(),N("time",yOe,T(u.value),1)):x("",!0)]),p("dt",null,T(G.$t("user.PROFILE.LOCATION"))+":",1),p("dd",null,T(h(r).location),1),p("dt",null,T(G.$t("user.PROFILE.BIO"))+":",1),p("dd",COe,T(h(r).bio),1)]),h(a)?(A(),N("div",DOe,[o.value.username!==h(r).username?(A(),N("button",{key:0,class:"danger",onClick:B[6]||(B[6]=Xe(ne=>v("delete"),["prevent"]))},T(G.$t("admin.DELETE_USER")),1)):x("",!0),h(r).is_active?x("",!0):(A(),N("button",{key:1,onClick:B[7]||(B[7]=Xe(ne=>O(h(r).username),["prevent"]))},T(G.$t("admin.ACTIVATE_USER_ACCOUNT")),1)),o.value.username!==h(r).username?(A(),N("button",{key:2,onClick:Xe(y,["prevent"])},T(G.$t("admin.UPDATE_USER_EMAIL")),1)):x("",!0),o.value.username!==h(r).username&&f.value.is_email_sending_enabled?(A(),N("button",{key:3,onClick:B[8]||(B[8]=Xe(ne=>v("reset"),["prevent"]))},T(G.$t("admin.RESET_USER_PASSWORD")),1)):x("",!0),p("button",{onClick:B[9]||(B[9]=ne=>G.$router.go(-1))},T(G.$t("buttons.BACK")),1)])):(A(),N("div",POe,[p("button",{onClick:B[10]||(B[10]=ne=>G.$router.push("/profile/edit"))},T(G.$t("user.PROFILE.EDIT")),1),p("button",{onClick:B[11]||(B[11]=ne=>G.$router.push("/"))},T(G.$t("common.HOME")),1)]))]))])}}}),DA=re(wOe,[["__scopeId","data-v-98220281"]]),LOe=e=>(ct("data-v-b0528e22"),e=e(),lt(),e),$Oe={id:"user-preferences",class:"description-list"},kOe={class:"preferences-section"},UOe={class:"preferences-section"},MOe={class:"info-box raw-speed-help"},xOe=LOe(()=>p("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),FOe={class:"profile-buttons"},WOe=Z({__name:"UserPreferences",props:{user:{}},setup(e){const t=e,n=$e(),r=$(()=>n.getters[H.GETTERS.LANGUAGE]),a=$(()=>t.user.language?id[t.user.language]:id.en),s=$(()=>t.user.weekm?"MONDAY":"SUNDAY"),o=$(()=>t.user.timezone?t.user.timezone:"Europe/Paris"),i=$(()=>t.user.date_format?t.user.date_format:"MM/dd/yyyy"),u=$(()=>t.user.display_ascent?"DISPLAYED":"HIDDEN"),l=$(()=>t.user.use_dark_mode===!0?"DARK":t.user.use_dark_mode===!1?"LIGHT":"DEFAULT");return(c,f)=>(A(),N("div",$Oe,[p("div",kOe,T(c.$t("user.PROFILE.INTERFACE")),1),p("dl",null,[p("dt",null,T(c.$t("user.PROFILE.LANGUAGE"))+":",1),p("dd",null,T(a.value),1),p("dt",null,T(c.$t("user.PROFILE.THEME_MODE.LABEL"))+":",1),p("dd",null,T(c.$t(`user.PROFILE.THEME_MODE.VALUES.${l.value}`)),1),p("dt",null,T(c.$t("user.PROFILE.TIMEZONE"))+":",1),p("dd",null,T(o.value),1),p("dt",null,T(c.$t("user.PROFILE.DATE_FORMAT"))+":",1),p("dd",null,T(h(Oa)(i.value,r.value)),1),p("dt",null,T(c.$t("user.PROFILE.FIRST_DAY_OF_WEEK"))+":",1),p("dd",null,T(c.$t(`user.PROFILE.${s.value}`)),1)]),p("div",UOe,T(c.$t("workouts.WORKOUT",0)),1),p("dl",null,[p("dt",null,T(c.$t("user.PROFILE.UNITS.LABEL"))+":",1),p("dd",null,T(c.$t(`user.PROFILE.UNITS.${c.user.imperial_units?"IMPERIAL":"METRIC"}`)),1),p("dt",null,T(c.$t("user.PROFILE.ASCENT_DATA"))+":",1),p("dd",null,T(c.$t(`common.${u.value}`)),1),p("dt",null,T(c.$t("user.PROFILE.ELEVATION_CHART_START.LABEL"))+":",1),p("dd",null,T(c.$t(`user.PROFILE.ELEVATION_CHART_START.${c.user.start_elevation_at_zero?"ZERO":"MIN_ALT"}`)),1),p("dt",null,T(c.$t("user.PROFILE.USE_RAW_GPX_SPEED.LABEL"))+":",1),p("dd",null,T(c.$t(`user.PROFILE.USE_RAW_GPX_SPEED.${c.user.use_raw_gpx_speed?"RAW_SPEED":"FILTERED_SPEED"}`)),1),p("div",MOe,[p("span",null,[xOe,j(" "+T(c.$t("user.PROFILE.USE_RAW_GPX_SPEED.HELP")),1)])])]),p("div",FOe,[p("button",{onClick:f[0]||(f[0]=d=>c.$router.push("/profile/edit/preferences"))},T(c.$t("user.PROFILE.EDIT_PREFERENCES")),1),p("button",{onClick:f[1]||(f[1]=d=>c.$router.push("/"))},T(c.$t("common.HOME")),1)])]))}}),GOe=re(WOe,[["__scopeId","data-v-b0528e22"]]),zOe={id:"user-profile-edition",class:"center-card"},BOe=Z({__name:"index",props:{user:{},tab:{}},setup(e){const t=e,n=$e(),{user:r,tab:a}=he(t),s=["PROFILE","ACCOUNT","PICTURE","PREFERENCES","SPORTS","PRIVACY-POLICY"],o=$(()=>n.getters[K.GETTERS.USER_LOADING]);return(i,u)=>{const l=ie("router-view"),c=ie("Card");return A(),N("div",zOe,[k(c,null,{title:ue(()=>[j(T(i.$t(`user.PROFILE.${h(a)}_EDITION`)),1)]),content:ue(()=>[k(CA,{tabs:s,selectedTab:h(a),edition:!0,disabled:o.value},null,8,["selectedTab","disabled"]),k(l,{user:h(r)},null,8,["user"])]),_:1})])}}}),Ys=new Map,HOe=e=>{const{method:t,url:n,params:r={},data:a={}}=e;return[t,n,JSON.stringify(r),JSON.stringify(a)].join("")},ds=e=>{const t=HOe(e);if(Ys.has(t)){const n=Ys.get(t)||{};n==null||n.abort(),Ys.delete(t)}return t},Ur=Nt.create({baseURL:bo()});Ur.interceptors.request.use(e=>{const t=new AbortController;e.signal=t.signal;const n=ds(e);return Ys.set(n,t),e},e=>Promise.reject(e));Ur.interceptors.response.use(e=>(ds(e.config),e),e=>(e.message!=="canceled"&&e.response&&ds(e.response.config),Promise.reject(e)));const PA=(e,t)=>{e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Be.delete(`users/${t.username}`).then(n=>{n.status===204?t.fromAdmin?gt.push("/admin/users"):e.dispatch(K.ACTIONS.LOGOUT).then(()=>gt.push("/")):Ee(e,null)}).catch(n=>Ee(e,n))},VOe={[ye.ACTIONS.EMPTY_USER](e){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ye.MUTATIONS.UPDATE_USER,{})},[ye.ACTIONS.EMPTY_USERS](e){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ye.MUTATIONS.UPDATE_USERS,[]),e.commit(ye.MUTATIONS.UPDATE_USERS_PAGINATION,{})},[ye.ACTIONS.GET_USER](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ye.MUTATIONS.UPDATE_USERS_LOADING,!0),Be.get(`users/${t}`).then(n=>{n.data.status==="success"?e.commit(ye.MUTATIONS.UPDATE_USER,n.data.data.users[0]):Ee(e,null)}).catch(n=>Ee(e,n)).finally(()=>e.commit(ye.MUTATIONS.UPDATE_USERS_LOADING,!1))},[ye.ACTIONS.GET_USERS](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ye.MUTATIONS.UPDATE_USERS_LOADING,!0),Be.get("users",{params:t}).then(n=>{n.data.status==="success"?(e.commit(ye.MUTATIONS.UPDATE_USERS,n.data.data.users),e.commit(ye.MUTATIONS.UPDATE_USERS_PAGINATION,n.data.pagination)):Ee(e,null)}).catch(n=>Ee(e,n)).finally(()=>e.commit(ye.MUTATIONS.UPDATE_USERS_LOADING,!1))},[ye.ACTIONS.UPDATE_USER](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ye.MUTATIONS.UPDATE_IS_SUCCESS,!1);const n={};t.admin!==void 0&&(n.admin=t.admin),t.resetPassword&&(n.reset_password=t.resetPassword),t.activate&&(n.activate=t.activate),t.new_email!==void 0&&(n.new_email=t.new_email),Be.patch(`users/${t.username}`,n).then(r=>{r.data.status==="success"?(e.commit(ye.MUTATIONS.UPDATE_USER_IN_USERS,r.data.data.users[0]),(t.resetPassword||t.new_email)&&e.commit(ye.MUTATIONS.UPDATE_IS_SUCCESS,!0),(t.activate||t.new_email)&&e.commit(ye.MUTATIONS.UPDATE_USER,r.data.data.users[0])):Ee(e,null)}).catch(r=>Ee(e,r)).finally(()=>e.commit(ye.MUTATIONS.UPDATE_USERS_LOADING,!1))},[ye.ACTIONS.DELETE_USER_ACCOUNT](e,t){PA(e,{username:t.username,fromAdmin:!0})}},di=e=>{localStorage.removeItem("authToken"),e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(Kr.MUTATIONS.EMPTY_USER_STATS),e.commit(K.MUTATIONS.CLEAR_AUTH_USER_TOKEN),e.commit(ye.MUTATIONS.UPDATE_USERS,[]),e.commit(ge.MUTATIONS.EMPTY_WORKOUTS),e.commit(ge.MUTATIONS.EMPTY_WORKOUT),gt.push("/login")},jOe={[K.ACTIONS.CHECK_AUTH_USER](e){window.localStorage.authToken&&!e.getters[K.GETTERS.IS_AUTHENTICATED]&&(e.commit(K.MUTATIONS.UPDATE_AUTH_TOKEN,window.localStorage.authToken),e.dispatch(K.ACTIONS.GET_USER_PROFILE,!0)),!window.localStorage.authToken&&e.getters[K.GETTERS.IS_AUTHENTICATED]&&di(e)},[K.ACTIONS.CONFIRM_ACCOUNT](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Ur.post("auth/account/confirm",{token:t.token}).then(n=>{if(n.data.status==="success"){const r=n.data.auth_token;window.localStorage.setItem("authToken",r),e.commit(K.MUTATIONS.UPDATE_AUTH_TOKEN,r),e.dispatch(K.ACTIONS.GET_USER_PROFILE).then(()=>gt.push("/"))}else Ee(e,null)}).catch(n=>{Ee(e,n)})},[K.ACTIONS.CONFIRM_EMAIL](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!1),Ur.post("/auth/email/update",{token:t.token}).then(n=>{n.data.status==="success"?(e.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!0),t.refreshUser&&e.dispatch(K.ACTIONS.GET_USER_PROFILE).then(()=>gt.push("/profile/edit/account")),gt.push("/profile/edit/account")):Ee(e,null)}).catch(n=>{Ee(e,n)})},[K.ACTIONS.GET_USER_PROFILE](e,t=!1){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Be.get("auth/profile").then(n=>{if(n.data.status==="success"){const r=e.getters[K.GETTERS.IS_PROFILE_NOT_LOADED];e.commit(K.MUTATIONS.UPDATE_AUTH_USER_PROFILE,n.data.data),n.data.data.accepted_privacy_policy||e.dispatch(H.ACTIONS.GET_APPLICATION_PRIVACY_POLICY),(r||t)&&(n.data.data.language&&e.dispatch(H.ACTIONS.UPDATE_APPLICATION_LANGUAGE,n.data.data.language),e.commit(H.MUTATIONS.UPDATE_DARK_MODE,n.data.data.use_dark_mode)),e.dispatch(kt.ACTIONS.GET_SPORTS)}else Ee(e,null),di(e)}).catch(n=>{n.message!=="canceled"&&(Ee(e,n),di(e))})},[K.ACTIONS.LOGIN_OR_REGISTER](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_IS_REGISTRATION_SUCCESS,!1),Ur.post(`/auth/${t.actionType}`,t.formData).then(n=>{if(n.data.status==="success")if(t.actionType==="login"){const r=n.data.auth_token;window.localStorage.setItem("authToken",r),e.commit(K.MUTATIONS.UPDATE_AUTH_TOKEN,r),e.dispatch(K.ACTIONS.GET_USER_PROFILE,!0).then(()=>gt.push(typeof t.redirectUrl=="string"?t.redirectUrl:"/"))}else gt.push("/login").then(()=>e.commit(K.MUTATIONS.UPDATE_IS_REGISTRATION_SUCCESS,!0));else Ee(e,null)}).catch(n=>Ee(e,n))},[K.ACTIONS.LOGOUT](e){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Be.post("auth/logout").then(t=>{t.data.status==="success"?di(e):Ee(e,null)}).catch(t=>Ee(e,t))},[K.ACTIONS.UPDATE_USER_PROFILE](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),Be.post("auth/profile/edit",t).then(n=>{n.data.status==="success"?(e.commit(K.MUTATIONS.UPDATE_AUTH_USER_PROFILE,n.data.data),gt.push("/profile")):Ee(e,null)}).catch(n=>Ee(e,n)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.UPDATE_USER_ACCOUNT](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),e.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!1),Be.patch("auth/profile/edit/account",t).then(n=>{n.data.status==="success"?(e.commit(K.MUTATIONS.UPDATE_AUTH_USER_PROFILE,n.data.data),e.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!0)):Ee(e,null)}).catch(n=>Ee(e,n)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.UPDATE_USER_PREFERENCES](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),Be.post("auth/profile/edit/preferences",t).then(n=>{n.data.status==="success"?(e.commit(K.MUTATIONS.UPDATE_AUTH_USER_PROFILE,n.data.data),e.commit(H.MUTATIONS.UPDATE_DARK_MODE,n.data.data.use_dark_mode),e.dispatch(H.ACTIONS.UPDATE_APPLICATION_LANGUAGE,n.data.data.language).then(()=>gt.push("/profile/preferences"))):Ee(e,null)}).catch(n=>Ee(e,n)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.RESET_USER_SPORT_PREFERENCES](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),Be.delete(`auth/profile/reset/sports/${t}`).then(n=>{n.status===204?e.dispatch(kt.ACTIONS.GET_SPORTS):Ee(e,null)}).catch(n=>{Ee(e,n),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1)})},[K.ACTIONS.UPDATE_USER_SPORT_PREFERENCES](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),Be.post("auth/profile/edit/sports",t).then(n=>{n.data.status==="success"?e.dispatch(kt.ACTIONS.GET_SPORTS):Ee(e,null)}).catch(n=>{Ee(e,n),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1)})},[K.ACTIONS.UPDATE_USER_PICTURE](e,t){if(e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),!t.picture)throw new Error("No file part");const n=new FormData;n.append("file",t.picture),Be.post("auth/picture",n,{headers:{"content-type":"multipart/form-data"}}).then(r=>{r.data.status==="success"?e.dispatch(K.ACTIONS.GET_USER_PROFILE).then(()=>gt.push("/profile")):Ee(e,null)}).catch(r=>Ee(e,r)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.DELETE_ACCOUNT](e,t){PA(e,t)},[K.ACTIONS.DELETE_PICTURE](e){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),Be.delete("auth/picture").then(t=>{t.status===204?e.dispatch(K.ACTIONS.GET_USER_PROFILE).then(()=>gt.push("/profile")):Ee(e,null)}).catch(t=>Ee(e,t)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.SEND_PASSWORD_RESET_REQUEST](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Ur.post("auth/password/reset-request",t).then(n=>{n.data.status==="success"?gt.push("/password-reset/sent"):Ee(e,null)}).catch(n=>Ee(e,n))},[K.ACTIONS.RESEND_ACCOUNT_CONFIRMATION_EMAIL](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Ur.post("auth/account/resend-confirmation",t).then(n=>{n.data.status==="success"?gt.push("/account-confirmation/email-sent"):Ee(e,null)}).catch(n=>Ee(e,n))},[K.ACTIONS.RESET_USER_PASSWORD](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Ur.post("auth/password/update",t).then(n=>{n.data.status==="success"?gt.push("/password-reset/password-updated"):Ee(e,null)}).catch(n=>Ee(e,n))},[K.ACTIONS.ACCEPT_PRIVACY_POLICY](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Be.post("auth/account/privacy-policy",{accepted_policy:t}).then(n=>{n.data.status==="success"?e.dispatch(K.ACTIONS.GET_USER_PROFILE).then(()=>gt.push("/profile")):Ee(e,null)}).catch(n=>Ee(e,n))},[K.ACTIONS.REQUEST_DATA_EXPORT](e){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Be.post("auth/account/export/request").then(t=>{t.data.status==="success"?e.commit(K.MUTATIONS.SET_EXPORT_REQUEST,t.data.request):Ee(e,null)}).catch(t=>Ee(e,t))},[K.ACTIONS.GET_REQUEST_DATA_EXPORT](e){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Be.get("auth/account/export").then(t=>{t.data.status==="success"?e.commit(K.MUTATIONS.SET_EXPORT_REQUEST,t.data.request):Ee(e,null)}).catch(t=>Ee(e,t))}},KOe={[K.GETTERS.AUTH_TOKEN]:e=>e.authToken,[K.GETTERS.AUTH_USER_PROFILE]:e=>e.authUserProfile,[K.GETTERS.EXPORT_REQUEST]:e=>e.exportRequest,[K.GETTERS.IS_AUTHENTICATED]:e=>e.authToken!==null,[K.GETTERS.IS_ADMIN]:e=>e.authUserProfile&&e.authUserProfile.admin,[K.GETTERS.IS_REGISTRATION_SUCCESS]:e=>e.isRegistrationSuccess,[K.GETTERS.IS_SUCCESS]:e=>e.isSuccess,[K.GETTERS.USER_LOADING]:e=>e.loading,[K.GETTERS.IS_PROFILE_NOT_LOADED]:e=>e.authUserProfile.username===void 0},YOe={[K.MUTATIONS.CLEAR_AUTH_USER_TOKEN](e){e.authToken=null,e.authUserProfile={}},[K.MUTATIONS.UPDATE_AUTH_TOKEN](e,t){e.authToken=t},[K.MUTATIONS.UPDATE_AUTH_USER_PROFILE](e,t){e.authUserProfile=t},[K.MUTATIONS.UPDATE_IS_REGISTRATION_SUCCESS](e,t){e.isRegistrationSuccess=t},[K.MUTATIONS.UPDATE_IS_SUCCESS](e,t){e.isSuccess=t},[K.MUTATIONS.UPDATE_USER_LOADING](e,t){e.loading=t},[K.MUTATIONS.SET_EXPORT_REQUEST](e,t){e.exportRequest=t}},qOe={authToken:null,authUserProfile:{},isSuccess:!1,isRegistrationSuccess:!1,loading:!1,exportRequest:null},XOe={state:qOe,actions:jOe,getters:KOe,mutations:YOe},rh=(e,t)=>{e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Be.get(t).then(n=>{n.data.status==="success"?e.commit(je.MUTATIONS.SET_CLIENT,n.data.data.client):Ee(e,null)}).catch(n=>Ee(e,n))},ZOe={[je.ACTIONS.AUTHORIZE_CLIENT](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES);const n=new FormData;n.set("client_id",t.client_id),n.set("response_type",t.response_type),n.set("scope",t.scope),n.set("confirm","true"),t.state&&n.set("state",t.state),t.code_challenge&&n.set("code_challenge",t.code_challenge),t.code_challenge_method&&n.set("code_challenge_method",t.code_challenge_method),Be.post("oauth/authorize",n,{headers:{"Content-Type":"multipart/form-data"}}).then(r=>{r.status==200&&r.data.redirect_url?window.location.href=r.data.redirect_url:Ee(e,null)}).catch(r=>Ee(e,r))},[je.ACTIONS.CREATE_CLIENT](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Be.post("oauth/apps",t).then(n=>{n.data.status==="created"?(e.commit(je.MUTATIONS.SET_CLIENT,n.data.data.client),gt.push(`/profile/apps/${n.data.data.client.id}/created`)):Ee(e,null)}).catch(n=>Ee(e,n))},[je.ACTIONS.DELETE_CLIENT](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Be.delete(`oauth/apps/${t}`).then(n=>{n.status===204?e.dispatch(je.ACTIONS.GET_CLIENTS).then(()=>gt.push("/profile/apps")):Ee(e,null)}).catch(n=>Ee(e,n))},[je.ACTIONS.GET_CLIENT_BY_CLIENT_ID](e,t){rh(e,`oauth/apps/${t}`)},[je.ACTIONS.GET_CLIENT_BY_ID](e,t){rh(e,`oauth/apps/${t}/by_id`)},[je.ACTIONS.GET_CLIENTS](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Be.get("oauth/apps",{params:t}).then(n=>{n.data.status==="success"?(e.commit(je.MUTATIONS.SET_CLIENTS,n.data.data.clients),e.commit(je.MUTATIONS.SET_CLIENTS_PAGINATION,n.data.pagination)):Ee(e,null)}).catch(n=>Ee(e,n))},[je.ACTIONS.REVOKE_ALL_TOKENS](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(je.MUTATIONS.SET_REVOCATION_SUCCESSFUL,!1),Be.post(`oauth/apps/${t}/revoke`).then(n=>{n.data.status==="success"?e.commit(je.MUTATIONS.SET_REVOCATION_SUCCESSFUL,!0):Ee(e,null)}).catch(n=>Ee(e,n))}},QOe={[je.GETTERS.CLIENT]:e=>e.client,[je.GETTERS.CLIENTS]:e=>e.clients,[je.GETTERS.CLIENTS_PAGINATION]:e=>e.pagination,[je.GETTERS.REVOCATION_SUCCESSFUL]:e=>e.revocationSuccessful},JOe={[je.MUTATIONS.SET_CLIENT](e,t){e.client=t},[je.MUTATIONS.EMPTY_CLIENT](e){e.client={}},[je.MUTATIONS.SET_CLIENTS](e,t){e.clients=t},[je.MUTATIONS.SET_CLIENTS_PAGINATION](e,t){e.pagination=t},[je.MUTATIONS.SET_REVOCATION_SUCCESSFUL](e,t){e.revocationSuccessful=t}},eIe={client:{},clients:[],pagination:{},revocationSuccessful:!1},tIe={state:eIe,actions:ZOe,getters:QOe,mutations:JOe},{locale:nIe}=Aa.global,rIe={[H.ACTIONS.GET_APPLICATION_CONFIG](e){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(H.MUTATIONS.UPDATE_APPLICATION_LOADING,!0),Be.get("config").then(t=>{t.data.status==="success"?e.commit(H.MUTATIONS.UPDATE_APPLICATION_CONFIG,t.data.data):Ee(e,null)}).catch(t=>Ee(e,t)).finally(()=>e.commit(H.MUTATIONS.UPDATE_APPLICATION_LOADING,!1))},[H.ACTIONS.GET_APPLICATION_STATS](e){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Be.get("stats/all").then(t=>{t.data.status==="success"?e.commit(H.MUTATIONS.UPDATE_APPLICATION_STATS,t.data.data):Ee(e,null)}).catch(t=>Ee(e,t))},[H.ACTIONS.GET_APPLICATION_PRIVACY_POLICY](e){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Be.get("config").then(t=>{t.data.status==="success"?e.commit(H.MUTATIONS.UPDATE_APPLICATION_PRIVACY_POLICY,t.data.data):Ee(e,null)}).catch(t=>Ee(e,t))},[H.ACTIONS.UPDATE_APPLICATION_CONFIG](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Be.patch("config",t).then(n=>{n.data.status==="success"?(e.commit(H.MUTATIONS.UPDATE_APPLICATION_CONFIG,n.data.data),gt.push("/admin/application")):Ee(e,null)}).catch(n=>Ee(e,n))},[H.ACTIONS.UPDATE_APPLICATION_LANGUAGE](e,t){var n;(n=document.querySelector("html"))==null||n.setAttribute("lang",t),e.commit(H.MUTATIONS.UPDATE_LANG,t),nIe.value=t}},aIe={[H.GETTERS.APP_CONFIG]:e=>e.application.config,[H.GETTERS.APP_LOADING]:e=>e.appLoading,[H.GETTERS.APP_STATS]:e=>e.application.statistics,[H.GETTERS.DARK_MODE]:e=>e.darkMode,[H.GETTERS.ERROR_MESSAGES]:e=>e.errorMessages,[H.GETTERS.LANGUAGE]:e=>e.language,[H.GETTERS.LOCALE]:e=>e.locale},sIe={[H.MUTATIONS.EMPTY_ERROR_MESSAGES](e){e.errorMessages=null},[H.MUTATIONS.SET_ERROR_MESSAGES](e,t){e.errorMessages=t},[H.MUTATIONS.UPDATE_APPLICATION_CONFIG](e,t){e.application.config=t},[H.MUTATIONS.UPDATE_APPLICATION_LOADING](e,t){e.appLoading=t},[H.MUTATIONS.UPDATE_APPLICATION_PRIVACY_POLICY](e,t){e.application.config.privacy_policy=t.privacy_policy,e.application.config.privacy_policy_date=t.privacy_policy_date},[H.MUTATIONS.UPDATE_APPLICATION_STATS](e,t){e.application.statistics=t},[H.MUTATIONS.UPDATE_LANG](e,t){e.language=t,e.locale=Po[t]},[H.MUTATIONS.UPDATE_DARK_MODE](e,t){e.darkMode=t}},oIe={root:!0,language:"en",locale:cc,errorMessages:null,application:{statistics:{sports:0,uploads_dir_size:0,users:0,workouts:0}},appLoading:!1,darkMode:null},iIe={[kt.ACTIONS.GET_SPORTS](e){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Be.get("sports").then(t=>{t.data.status==="success"?(e.commit(kt.MUTATIONS.SET_SPORTS,t.data.data.sports),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1)):Ee(e,null)}).catch(t=>Ee(e,t))},[kt.ACTIONS.UPDATE_SPORTS](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Be.patch(`sports/${t.id}`,{is_active:t.isActive}).then(n=>{n.data.status==="success"?e.dispatch(kt.ACTIONS.GET_SPORTS):Ee(e,null)}).catch(n=>Ee(e,n))}},uIe={[kt.GETTERS.SPORTS]:e=>e.sports},cIe={[kt.MUTATIONS.SET_SPORTS](e,t){e.sports=t}},lIe={sports:[]},dIe={state:lIe,actions:iIe,getters:uIe,mutations:cIe},fIe={[Kr.ACTIONS.GET_USER_STATS](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Be.get(`stats/${t.username}/${t.filterType}`,{params:t.params}).then(n=>{n.data.status==="success"?e.commit(Kr.MUTATIONS.UPDATE_USER_STATS,n.data.data.statistics):Ee(e,null)}).catch(n=>Ee(e,n))}},pIe={[Kr.GETTERS.USER_STATS]:e=>e.statistics},mIe={[Kr.MUTATIONS.UPDATE_USER_STATS](e,t){e.statistics=t},[Kr.MUTATIONS.EMPTY_USER_STATS](e){e.statistics={}}},EIe={statistics:{}},hIe={state:EIe,actions:fIe,getters:pIe,mutations:mIe},_Ie={[ye.GETTERS.USER]:e=>e.user,[ye.GETTERS.USERS]:e=>e.users,[ye.GETTERS.USERS_IS_SUCCESS]:e=>e.isSuccess,[ye.GETTERS.USERS_LOADING]:e=>e.loading,[ye.GETTERS.USERS_PAGINATION]:e=>e.pagination},TIe={[ye.MUTATIONS.UPDATE_USER](e,t){e.user=t},[ye.MUTATIONS.UPDATE_USER_IN_USERS](e,t){e.users=e.users.map(n=>n.username===t.username?t:n)},[ye.MUTATIONS.UPDATE_USERS](e,t){e.users=t},[ye.MUTATIONS.UPDATE_USERS_LOADING](e,t){e.loading=t},[ye.MUTATIONS.UPDATE_USERS_PAGINATION](e,t){e.pagination=t},[ye.MUTATIONS.UPDATE_IS_SUCCESS](e,t){e.isSuccess=t}},gIe={user:{},users:[],loading:!1,isSuccess:!1,pagination:{}},AIe={state:gIe,actions:VOe,getters:_Ie,mutations:TIe},fi=(e,t,n)=>{e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),Be.get("workouts",{params:t}).then(r=>{r.data.status==="success"?(e.commit(ge.MUTATIONS[n],r.data.data.workouts),n===ua.SET_USER_WORKOUTS&&e.commit(ge.MUTATIONS.SET_WORKOUTS_PAGINATION,r.data.pagination)):Ee(e,null)}).catch(r=>Ee(e,r))},SIe={[ge.ACTIONS.GET_CALENDAR_WORKOUTS](e,t){e.commit(ge.MUTATIONS.EMPTY_CALENDAR_WORKOUTS),fi(e,t,ua.SET_CALENDAR_WORKOUTS)},[ge.ACTIONS.GET_USER_WORKOUTS](e,t){fi(e,t,ua.SET_USER_WORKOUTS)},[ge.ACTIONS.GET_TIMELINE_WORKOUTS](e,t){fi(e,t,ua.SET_TIMELINE_WORKOUTS)},[ge.ACTIONS.GET_MORE_TIMELINE_WORKOUTS](e,t){fi(e,t,ua.ADD_TIMELINE_WORKOUTS)},[ge.ACTIONS.GET_WORKOUT_DATA](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ge.MUTATIONS.SET_WORKOUT_LOADING,!0);const n=t.segmentId?`/segment/${t.segmentId}`:"";Be.get(`workouts/${t.workoutId}`).then(r=>{const a=r.data.data.workouts[0];if(r.data.status==="success"){if(t.segmentId&&(a.segments.length===0||!a.segments[+t.segmentId-1]))throw new Error("WORKOUT_NOT_FOUND");e.commit(ge.MUTATIONS.SET_WORKOUT,r.data.data.workouts[0]),r.data.data.workouts[0].with_gpx&&(Be.get(`workouts/${t.workoutId}/chart_data${n}`).then(s=>{s.data.status==="success"&&e.commit(ge.MUTATIONS.SET_WORKOUT_CHART_DATA,s.data.data.chart_data)}),Be.get(`workouts/${t.workoutId}/gpx${n}`).then(s=>{s.data.status==="success"&&e.commit(ge.MUTATIONS.SET_WORKOUT_GPX,s.data.data.gpx)}))}else e.commit(ge.MUTATIONS.EMPTY_WORKOUT),Ee(e,null)}).catch(r=>{e.commit(ge.MUTATIONS.EMPTY_WORKOUT),Ee(e,r)}).finally(()=>e.commit(ge.MUTATIONS.SET_WORKOUT_LOADING,!1))},[ge.ACTIONS.DELETE_WORKOUT](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ge.MUTATIONS.SET_WORKOUT_LOADING,!0),Be.delete(`workouts/${t.workoutId}`).then(()=>{e.commit(ge.MUTATIONS.EMPTY_WORKOUT),e.dispatch(K.ACTIONS.GET_USER_PROFILE),gt.push("/")}).catch(n=>{Ee(e,n)}).finally(()=>e.commit(ge.MUTATIONS.SET_WORKOUT_LOADING,!1))},[ge.ACTIONS.EDIT_WORKOUT](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ge.MUTATIONS.SET_WORKOUT_LOADING,!0),Be.patch(`workouts/${t.workoutId}`,t.data).then(()=>{e.dispatch(K.ACTIONS.GET_USER_PROFILE),e.dispatch(ge.ACTIONS.GET_WORKOUT_DATA,{workoutId:t.workoutId}).then(()=>{gt.push({name:"Workout",params:{workoutId:t.workoutId}})})}).catch(n=>{Ee(e,n)}).finally(()=>e.commit(ge.MUTATIONS.SET_WORKOUT_LOADING,!1))},[ge.ACTIONS.ADD_WORKOUT](e,t){if(e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ge.MUTATIONS.SET_WORKOUT_LOADING,!0),!t.file)throw new Error("No file part");const n=t.notes.replace(/"/g,'\\"'),r=new FormData;r.append("file",t.file),r.append("data",`{"sport_id": ${t.sport_id}, "notes": "${n}"}`),Be.post("workouts",r,{headers:{"content-type":"multipart/form-data"}}).then(a=>{if(a.data.status==="created"){e.dispatch(K.ACTIONS.GET_USER_PROFILE);const s=a.data.data.workouts[0];gt.push(a.data.data.workouts.length===1?`/workouts/${s.id}`:"/")}}).catch(a=>{Ee(e,a)}).finally(()=>e.commit(ge.MUTATIONS.SET_WORKOUT_LOADING,!1))},[ge.ACTIONS.ADD_WORKOUT_WITHOUT_GPX](e,t){e.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ge.MUTATIONS.SET_WORKOUT_LOADING,!0),Be.post("workouts/no_gpx",t).then(n=>{if(n.data.status==="created"){e.dispatch(K.ACTIONS.GET_USER_PROFILE);const r=n.data.data.workouts[0];gt.push(`/workouts/${r.id}`)}}).catch(n=>{Ee(e,n)}).finally(()=>e.commit(ge.MUTATIONS.SET_WORKOUT_LOADING,!1))}},OIe={[ge.GETTERS.CALENDAR_WORKOUTS]:e=>e.calendar_workouts,[ge.GETTERS.TIMELINE_WORKOUTS]:e=>e.timeline_workouts,[ge.GETTERS.USER_WORKOUTS]:e=>e.user_workouts,[ge.GETTERS.WORKOUT_DATA]:e=>e.workoutData,[ge.GETTERS.WORKOUTS_PAGINATION]:e=>e.pagination},IIe={[ge.MUTATIONS.ADD_TIMELINE_WORKOUTS](e,t){e.timeline_workouts=e.timeline_workouts.concat(t)},[ge.MUTATIONS.SET_CALENDAR_WORKOUTS](e,t){e.calendar_workouts=t},[ge.MUTATIONS.SET_TIMELINE_WORKOUTS](e,t){e.timeline_workouts=t},[ge.MUTATIONS.SET_USER_WORKOUTS](e,t){e.user_workouts=t},[ge.MUTATIONS.SET_WORKOUTS_PAGINATION](e,t){e.pagination=t},[ge.MUTATIONS.SET_WORKOUT](e,t){e.workoutData.workout=t},[ge.MUTATIONS.SET_WORKOUT_CHART_DATA](e,t){e.workoutData.chartData=t},[ge.MUTATIONS.SET_WORKOUT_GPX](e,t){e.workoutData.gpx=t},[ge.MUTATIONS.SET_WORKOUT_LOADING](e,t){e.workoutData.loading=t},[ge.MUTATIONS.EMPTY_CALENDAR_WORKOUTS](e){e.calendar_workouts=[]},[ge.MUTATIONS.EMPTY_WORKOUTS](e){e.calendar_workouts=[],e.user_workouts=[],e.timeline_workouts=[]},[ge.MUTATIONS.EMPTY_WORKOUT](e){e.workoutData={gpx:"",loading:!1,workout:{},chartData:[]}}},vIe={calendar_workouts:[],timeline_workouts:[],pagination:{},user_workouts:[],workoutData:{gpx:"",loading:!1,workout:{},chartData:[]}},RIe={state:vIe,actions:SIe,getters:OIe,mutations:IIe},bIe={authUserModule:XOe,oAuthModule:tIe,sportsModule:dIe,statsModule:hIe,usersModule:AIe,workoutsModule:RIe},NIe={state:oIe,actions:rIe,getters:aIe,mutations:sIe,modules:bIe},qs=EN(NIe),A0=Nt.create({baseURL:bo()});A0.interceptors.request.use(e=>{const t=new AbortController;e.signal=t.signal;const n=ds(e);Ys.set(n,t);const r=qs.getters[K.GETTERS.AUTH_TOKEN];if(r){const a=`Bearer ${r}`;e.headers&&e.headers.Authorization!==a&&(e.headers.Authorization=`Bearer ${r}`)}return e},e=>Promise.reject(e));A0.interceptors.response.use(e=>(ds(e.config),e),e=>(e.message!=="canceled"&&e.response&&ds(e.response.config),Promise.reject(e)));const Be=A0,Hd=(e,t)=>e.push.apply(e,t),fs=e=>e.sort((t,n)=>t.i-n.i||t.j-n.j),ah=e=>{const t={};let n=1;return e.forEach(r=>{t[r]=n,n+=1}),t};var yIe={4:[[1,2],[2,3]],5:[[1,3],[2,3],[2,4]],6:[[1,2],[2,4],[4,5]],7:[[1,3],[2,3],[4,5],[4,6]],8:[[2,4],[4,6]]};const sh=2050,oh=1e3,CIe=yIe,DIe=10,PIe=1e4,wA=10,LA=50,$A=20,kA=/^[A-Z\xbf-\xdf][^A-Z\xbf-\xdf]+$/,wIe=/^[^A-Z\xbf-\xdf]+[A-Z\xbf-\xdf]$/,LIe=/^[A-Z\xbf-\xdf]+$/,UA=/^[^a-z\xdf-\xff]+$/,$Ie=/^[a-z\xdf-\xff]+$/,kIe=/^[^A-Z\xbf-\xdf]+$/,UIe=/[a-z\xdf-\xff]/,MIe=/[A-Z\xbf-\xdf]/,xIe=/[^A-Za-z\xbf-\xdf]/gi,FIe=/^\d+$/,S0=new Date().getFullYear(),WIe={recentYear:/19\d\d|200\d|201\d|202\d/g},MA=[" ",",",";",":","|","/","\\","_",".","-"],GIe=MA.length;class zIe{match({password:t}){const n=[...this.getMatchesWithoutSeparator(t),...this.getMatchesWithSeparator(t)],r=this.filterNoise(n);return fs(r)}getMatchesWithSeparator(t){const n=[],r=/^(\d{1,4})([\s/\\_.-])(\d{1,2})\2(\d{1,4})$/;for(let a=0;a<=Math.abs(t.length-6);a+=1)for(let s=a+5;s<=a+9&&!(s>=t.length);s+=1){const o=t.slice(a,+s+1||9e9),i=r.exec(o);if(i!=null){const u=this.mapIntegersToDayMonthYear([parseInt(i[1],10),parseInt(i[3],10),parseInt(i[4],10)]);u!=null&&n.push({pattern:"date",token:o,i:a,j:s,separator:i[2],year:u.year,month:u.month,day:u.day})}}return n}getMatchesWithoutSeparator(t){const n=[],r=/^\d{4,8}$/,a=s=>Math.abs(s.year-S0);for(let s=0;s<=Math.abs(t.length-4);s+=1)for(let o=s+3;o<=s+7&&!(o>=t.length);o+=1){const i=t.slice(s,+o+1||9e9);if(r.exec(i)){const u=[],l=i.length;if(CIe[l].forEach(([f,d])=>{const m=this.mapIntegersToDayMonthYear([parseInt(i.slice(0,f),10),parseInt(i.slice(f,d),10),parseInt(i.slice(d),10)]);m!=null&&u.push(m)}),u.length>0){let f=u[0],d=a(u[0]);u.slice(1).forEach(m=>{const E=a(m);E{let r=!1;const a=t.length;for(let s=0;s=n.j){r=!0;break}}return!r})}mapIntegersToDayMonthYear(t){if(t[1]>31||t[1]<=0)return null;let n=0,r=0,a=0;for(let s=0,o=t.length;s99&&ish)return null;i>31&&(r+=1),i>12&&(n+=1),i<=0&&(a+=1)}return r>=2||n===3||a>=2?null:this.getDayMonth(t)}getDayMonth(t){const n=[[t[2],t.slice(0,2)],[t[0],t.slice(1,3)]],r=n.length;for(let a=0;a=1&&s<=31&&o>=1&&o<=12)return{day:s,month:o}}return null}twoToFourDigitYear(t){return t>99?t:t>50?t+1900:t+2e3}}const dr=new Uint32Array(65536),BIe=(e,t)=>{const n=e.length,r=t.length,a=1<{const n=t.length,r=e.length,a=[],s=[],o=Math.ceil(n/32),i=Math.ceil(r/32);for(let E=0;E>>R&1,y=a[R/32|0]>>>R&1,P=S|E,M=((S|y)&I)+I^I|S|y;let w=E|~(M|I),G=I&M;w>>>31^O&&(s[R/32|0]^=1<>>31^y&&(a[R/32|0]^=1<>>E&1,v=a[E/32|0]>>>E&1,R=I|l,S=((I|v)&c)+c^c|I|v;let O=l|~(S|c),y=c&S;m+=O>>>r-1&1,m-=y>>>r-1&1,O>>>31^b&&(s[E/32|0]^=1<>>31^v&&(a[E/32|0]^=1<{if(e.length{const r=e.length<=t.length,a=e.length<=n;return r||a?Math.ceil(e.length/4):n},KIe=(e,t,n)=>{let r=0;const a=Object.keys(t).find(s=>{const o=jIe(e,s,n);if(Math.abs(e.length-s.length)>o)return!1;const i=VIe(e,s),u=i<=o;return u&&(r=i),u});return a?{levenshteinDistance:r,levenshteinDistanceEntry:a}:{}};var ih={a:["4","@"],b:["8"],c:["(","{","[","<"],d:["6","|)"],e:["3"],f:["#"],g:["6","9","&"],h:["#","|-|"],i:["1","!","|"],k:["<","|<"],l:["!","1","|","7"],m:["^^","nn","2n","/\\\\/\\\\"],n:["//"],o:["0","()"],q:["9"],u:["|_|"],s:["$","5"],t:["+","7"],v:["<",">","/"],w:["^/","uu","vv","2u","2v","\\\\/\\\\/"],x:["%","><"],z:["2"]},_l={warnings:{straightRow:"straightRow",keyPattern:"keyPattern",simpleRepeat:"simpleRepeat",extendedRepeat:"extendedRepeat",sequences:"sequences",recentYears:"recentYears",dates:"dates",topTen:"topTen",topHundred:"topHundred",common:"common",similarToCommon:"similarToCommon",wordByItself:"wordByItself",namesByThemselves:"namesByThemselves",commonNames:"commonNames",userInputs:"userInputs",pwned:"pwned"},suggestions:{l33t:"l33t",reverseWords:"reverseWords",allUppercase:"allUppercase",capitalization:"capitalization",dates:"dates",recentYears:"recentYears",associatedYears:"associatedYears",sequences:"sequences",repeated:"repeated",longerKeyboardPattern:"longerKeyboardPattern",anotherWord:"anotherWord",useWords:"useWords",noNeed:"noNeed",pwned:"pwned"},timeEstimation:{ltSecond:"ltSecond",second:"second",seconds:"seconds",minute:"minute",minutes:"minutes",hour:"hour",hours:"hours",day:"day",days:"days",month:"month",months:"months",year:"year",years:"years",centuries:"centuries"}};class To{constructor(t=[]){this.parents=t,this.children=new Map}addSub(t,...n){const r=t.charAt(0);this.children.has(r)||this.children.set(r,new To([...this.parents,r]));let a=this.children.get(r);for(let s=1;s(Object.entries(e).forEach(([n,r])=>{r.forEach(a=>{t.addSub(a,n)})}),t);class YIe{constructor(){this.matchers={},this.l33tTable=ih,this.trieNodeRoot=uh(ih,new To),this.dictionary={userInputs:[]},this.rankedDictionaries={},this.rankedDictionariesMaxWordSize={},this.translations=_l,this.graphs={},this.useLevenshteinDistance=!1,this.levenshteinThreshold=2,this.l33tMaxSubstitutions=100,this.maxLength=256,this.setRankedDictionaries()}setOptions(t={}){t.l33tTable&&(this.l33tTable=t.l33tTable,this.trieNodeRoot=uh(t.l33tTable,new To)),t.dictionary&&(this.dictionary=t.dictionary,this.setRankedDictionaries()),t.translations&&this.setTranslations(t.translations),t.graphs&&(this.graphs=t.graphs),t.useLevenshteinDistance!==void 0&&(this.useLevenshteinDistance=t.useLevenshteinDistance),t.levenshteinThreshold!==void 0&&(this.levenshteinThreshold=t.levenshteinThreshold),t.l33tMaxSubstitutions!==void 0&&(this.l33tMaxSubstitutions=t.l33tMaxSubstitutions),t.maxLength!==void 0&&(this.maxLength=t.maxLength)}setTranslations(t){if(this.checkCustomTranslations(t))this.translations=t;else throw new Error("Invalid translations object fallback to keys")}checkCustomTranslations(t){let n=!0;return Object.keys(_l).forEach(r=>{if(r in t){const a=r;Object.keys(_l[a]).forEach(s=>{s in t[a]||(n=!1)})}else n=!1}),n}setRankedDictionaries(){const t={},n={};Object.keys(this.dictionary).forEach(r=>{t[r]=ah(this.dictionary[r]),n[r]=this.getRankedDictionariesMaxWordSize(this.dictionary[r])}),this.rankedDictionaries=t,this.rankedDictionariesMaxWordSize=n}getRankedDictionariesMaxWordSize(t){const n=t.map(r=>typeof r!="string"?r.toString().length:r.length);return n.length===0?0:n.reduce((r,a)=>Math.max(r,a),-1/0)}buildSanitizedRankedDictionary(t){const n=[];return t.forEach(r=>{const a=typeof r;(a==="string"||a==="number"||a==="boolean")&&n.push(r.toString().toLowerCase())}),ah(n)}extendUserInputsDictionary(t){this.dictionary.userInputs||(this.dictionary.userInputs=[]);const n=[...this.dictionary.userInputs,...t];this.rankedDictionaries.userInputs=this.buildSanitizedRankedDictionary(n),this.rankedDictionariesMaxWordSize.userInputs=this.getRankedDictionariesMaxWordSize(n)}addMatcher(t,n){this.matchers[t]?console.info(`Matcher ${t} already exists`):this.matchers[t]=n}}const Re=new YIe;class qIe{constructor(t){this.defaultMatch=t}match({password:t}){const n=t.split("").reverse().join("");return this.defaultMatch({password:n}).map(r=>({...r,token:r.token.split("").reverse().join(""),reversed:!0,i:t.length-1-r.j,j:t.length-1-r.i}))}}class XIe{constructor({substr:t,limit:n,trieRoot:r}){this.buffer=[],this.finalPasswords=[],this.substr=t,this.limit=n,this.trieRoot=r}getAllPossibleSubsAtIndex(t){const n=[];let r=this.trieRoot;for(let a=t;a=this.limit)return;if(r===this.substr.length){t===n&&this.finalPasswords.push({password:this.buffer.join(""),changes:s});return}const u=[...this.getAllPossibleSubsAtIndex(r)];let l=!1;for(let c=r+u.length-1;c>=r;c-=1){const f=u[c-r];if(f.isTerminal()){if(o===f.parents.join("")&&i>=3)continue;l=!0;const d=f.subs;for(const m of d){this.buffer.push(m);const E=s.concat({i:a,letter:m,substitution:f.parents.join("")});if(this.helper({onlyFullSub:t,isFullSub:n,index:c+1,subIndex:a+m.length,changes:E,lastSubLetter:f.parents.join(""),consecutiveSubCount:o===f.parents.join("")?i+1:1}),this.buffer.pop(),this.finalPasswords.length>=this.limit)return}}}if(!t||!l){const c=this.substr.charAt(r);this.buffer.push(c),this.helper({onlyFullSub:t,isFullSub:n&&!l,index:r+1,subIndex:a+1,changes:s,lastSubLetter:o,consecutiveSubCount:i}),this.buffer.pop()}}getAll(){return this.helper({onlyFullSub:!0,isFullSub:!0,index:0,subIndex:0,changes:[],lastSubLetter:void 0,consecutiveSubCount:0}),this.helper({onlyFullSub:!1,isFullSub:!0,index:0,subIndex:0,changes:[],lastSubLetter:void 0,consecutiveSubCount:0}),this.finalPasswords}}const ZIe=(e,t,n)=>new XIe({substr:e,limit:t,trieRoot:n}).getAll(),QIe=(e,t,n)=>{const a=e.changes.filter(l=>l.il-c.letter.length+c.substitution.length,t),s=e.changes.filter(l=>l.i>=t&&l.i<=n),o=s.reduce((l,c)=>l-c.letter.length+c.substitution.length,n-t+a),i=[],u=[];return s.forEach(l=>{i.findIndex(f=>f.letter===l.letter&&f.substitution===l.substitution)<0&&(i.push({letter:l.letter,substitution:l.substitution}),u.push(`${l.substitution} -> ${l.letter}`))}),{i:a,j:o,subs:i,subDisplay:u.join(", ")}};class JIe{constructor(t){this.defaultMatch=t}isAlreadyIncluded(t,n){return t.some(r=>Object.entries(r).every(([a,s])=>a==="subs"||s===n[a]))}match({password:t}){const n=[],r=ZIe(t,Re.l33tMaxSubstitutions,Re.trieNodeRoot);let a=!1,s=!0;return r.forEach(o=>{if(a)return;const i=this.defaultMatch({password:o.password,useLevenshtein:s});s=!1,i.forEach(u=>{a||(a=u.i===0&&u.j===t.length-1);const l=QIe(o,u.i,u.j),c=t.slice(l.i,+l.j+1||9e9),f={...u,l33t:!0,token:c,...l},d=this.isAlreadyIncluded(n,f);c.toLowerCase()!==u.matchedWord&&!d&&n.push(f)})}),n.filter(o=>o.token.length>1)}}class e2e{constructor(){this.l33t=new JIe(this.defaultMatch),this.reverse=new qIe(this.defaultMatch)}match({password:t}){const n=[...this.defaultMatch({password:t}),...this.reverse.match({password:t}),...this.l33t.match({password:t})];return fs(n)}defaultMatch({password:t,useLevenshtein:n=!0}){const r=[],a=t.length,s=t.toLowerCase();return Object.keys(Re.rankedDictionaries).forEach(o=>{const i=Re.rankedDictionaries[o],u=Re.rankedDictionariesMaxWordSize[o],l=Math.min(u,a);for(let c=0;c{const s=n[a];s.lastIndex=0;let o;for(;o=s.exec(t);)if(o){const i=o[0];r.push({pattern:"regex",token:i,i:o.index,j:o.index+o[0].length-1,regexName:a,regexMatch:o})}}),fs(r)}}var Ia={nCk(e,t){let n=e;if(t>n)return 0;if(t===0)return 1;let r=1;for(let a=1;a<=t;a+=1)r*=n,r/=a,n-=1;return r},log10(e){return e===0?0:Math.log(e)/Math.log(10)},log2(e){return Math.log(e)/Math.log(2)},factorial(e){let t=1;for(let n=2;n<=e;n+=1)t*=n;return t}},n2e=({token:e})=>{let t=DIe**e.length;t===Number.POSITIVE_INFINITY&&(t=Number.MAX_VALUE);let n;return e.length===1?n=wA+1:n=LA+1,Math.max(t,n)},r2e=({year:e,separator:t})=>{let r=Math.max(Math.abs(e-S0),$A)*365;return t&&(r*=4),r};const a2e=e=>{const t=e.split(""),n=t.filter(o=>o.match(MIe)).length,r=t.filter(o=>o.match(UIe)).length;let a=0;const s=Math.min(n,r);for(let o=1;o<=s;o+=1)a+=Ia.nCk(n+r,o);return a};var s2e=e=>{const t=e.replace(xIe,"");if(t.match(kIe)||t.toLowerCase()===t)return 1;const n=[kA,wIe,UA],r=n.length;for(let a=0;a{let n=0,r=e.indexOf(t);for(;r>=0;)n+=1,r=e.indexOf(t,r+t.length);return n},o2e=({sub:e,token:t})=>{const n=t.toLowerCase(),r=ch(n,e.substitution),a=ch(n,e.letter);return{subbedCount:r,unsubbedCount:a}};var i2e=({l33t:e,subs:t,token:n})=>{if(!e)return 1;let r=1;return t.forEach(a=>{const{subbedCount:s,unsubbedCount:o}=o2e({sub:a,token:n});if(s===0||o===0)r*=2;else{const i=Math.min(o,s);let u=0;for(let l=1;l<=i;l+=1)u+=Ia.nCk(o+s,l);r*=u}}),r},u2e=({rank:e,reversed:t,l33t:n,subs:r,token:a,dictionaryName:s})=>{const o=e,i=s2e(a),u=i2e({l33t:n,subs:r,token:a}),l=t&&2||1;let c;return s==="diceware"?c=6**5/2:c=o*i*u*l,{baseGuesses:o,uppercaseVariations:i,l33tVariations:u,calculation:c}},c2e=({regexName:e,regexMatch:t,token:n})=>{const r={alphaLower:26,alphaUpper:26,alpha:52,alphanumeric:62,digits:10,symbols:33};if(e in r)return r[e]**n.length;switch(e){case"recentYear":return Math.max(Math.abs(parseInt(t[0],10)-S0),$A)}return 0},l2e=({baseGuesses:e,repeatCount:t})=>e*t,d2e=({token:e,ascending:t})=>{const n=e.charAt(0);let r=0;return["a","A","z","Z","0","1","9"].includes(n)?r=4:n.match(/\d/)?r=10:r=26,t||(r*=2),r*e.length};const f2e=e=>{let t=0;return Object.keys(e).forEach(n=>{const r=e[n];t+=r.filter(a=>!!a).length}),t/=Object.entries(e).length,t},p2e=({token:e,graph:t,turns:n})=>{const r=Object.keys(Re.graphs[t]).length,a=f2e(Re.graphs[t]);let s=0;const o=e.length;for(let i=2;i<=o;i+=1){const u=Math.min(n,i-1);for(let l=1;l<=u;l+=1)s+=Ia.nCk(i-1,l-1)*r*a**l}return s};var m2e=({graph:e,token:t,shiftedCount:n,turns:r})=>{let a=p2e({token:t,graph:e,turns:r});if(n){const s=t.length-n;if(n===0||s===0)a*=2;else{let o=0;for(let i=1;i<=Math.min(n,s);i+=1)o+=Ia.nCk(n+s,i);a*=o}}return Math.round(a)},E2e=()=>GIe;const h2e=(e,t)=>{let n=1;return e.token.lengthlh[e]?lh[e](t):Re.matchers[e]&&"scoring"in Re.matchers[e]?Re.matchers[e].scoring(t):0;var T2e=(e,t)=>{const n={};if("guesses"in e&&e.guesses!=null)return e;const r=h2e(e,t),a=_2e(e.pattern,e);let s=0;typeof a=="number"?s=a:e.pattern==="dictionary"&&(s=a.calculation,n.baseGuesses=a.baseGuesses,n.uppercaseVariations=a.uppercaseVariations,n.l33tVariations=a.l33tVariations);const o=Math.max(s,r);return{...e,...n,guesses:o,guessesLog10:Ia.log10(o)}};const mn={password:"",optimal:{},excludeAdditive:!1,separatorRegex:void 0,fillArray(e,t){const n=[];for(let r=0;r1&&(a*=this.optimal.pi[r.i-1][t-1]);let s=Ia.factorial(t)*a;this.excludeAdditive||(s+=PIe**(t-1));let o=!1;Object.keys(this.optimal.g[n]).forEach(i=>{const u=this.optimal.g[n][i];parseInt(i,10)<=t&&u<=s&&(o=!0)}),o||(this.optimal.g[n][t]=s,this.optimal.m[n][t]=r,this.optimal.pi[n][t]=a)},bruteforceUpdate(e){let t=this.makeBruteforceMatch(0,e);this.update(t,1);for(let n=1;n<=e;n+=1){t=this.makeBruteforceMatch(n,e);const r=this.optimal.m[n-1];Object.keys(r).forEach(a=>{r[a].pattern!=="bruteforce"&&this.update(t,parseInt(a,10)+1)})}},unwind(e){const t=[];let n=e-1,r=0,a=1/0;const s=this.optimal.g[n];for(s&&Object.keys(s).forEach(o=>{const i=s[o];i=0;){const o=this.optimal.m[n][r];t.unshift(o),n=o.i-1,r-=1}return t}};var Vd={mostGuessableMatchSequence(e,t,n=!1){mn.password=e,mn.excludeAdditive=n;const r=e.length;let a=mn.fillArray(r,"array");t.forEach(u=>{a[u.j].push(u)}),a=a.map(u=>u.sort((l,c)=>l.i-c.i)),mn.optimal={m:mn.fillArray(r,"object"),pi:mn.fillArray(r,"object"),g:mn.fillArray(r,"object")};for(let u=0;u{l.i>0?Object.keys(mn.optimal.m[l.i-1]).forEach(c=>{mn.update(l,parseInt(c,10)+1)}):mn.update(l,1)}),mn.bruteforceUpdate(u);const s=mn.unwind(r),o=s.length,i=this.getGuesses(e,o);return{password:e,guesses:i,guessesLog10:Ia.log10(i),sequence:s}},getGuesses(e,t){const n=e.length;let r=0;return e.length===0?r=1:r=mn.optimal.g[n-1][t],r}};class g2e{match({password:t,omniMatch:n}){const r=[];let a=0;for(;ao instanceof Promise)?Promise.all(r):r}normalizeMatch(t,n,r,a){const s={pattern:"repeat",i:r.index,j:n,token:r[0],baseToken:t,baseGuesses:0,repeatCount:r[0].length/t.length};return a instanceof Promise?a.then(o=>({...s,baseGuesses:o})):{...s,baseGuesses:a}}getGreedyMatch(t,n){const r=/(.+)\1+/g;return r.lastIndex=n,r.exec(t)}getLazyMatch(t,n){const r=/(.+?)\1+/g;return r.lastIndex=n,r.exec(t)}setMatchToken(t,n){const r=/^(.+?)\1+$/;let a,s="";if(n&&t[0].length>n[0].length){a=t;const o=r.exec(a[0]);o&&(s=o[1])}else a=n,a&&(s=a[1]);return{match:a,baseToken:s}}getBaseGuesses(t,n){const r=n.match(t);return r instanceof Promise?r.then(s=>Vd.mostGuessableMatchSequence(t,s).guesses):Vd.mostGuessableMatchSequence(t,r).guesses}}class A2e{constructor(){this.MAX_DELTA=5}match({password:t}){const n=[];if(t.length===1)return[];let r=0,a=null;const s=t.length;for(let o=1;o1||Math.abs(r)===1){const o=Math.abs(r);if(o>0&&o<=this.MAX_DELTA){const i=a.slice(t,+n+1||9e9),{sequenceName:u,sequenceSpace:l}=this.getSequence(i);return s.push({pattern:"sequence",i:t,j:n,token:a.slice(t,+n+1||9e9),sequenceName:u,sequenceSpace:l,ascending:r>0})}}return null}getSequence(t){let n="unicode",r=26;return $Ie.test(t)?(n="lower",r=26):LIe.test(t)?(n="upper",r=26):FIe.test(t)&&(n="digits",r=10),{sequenceName:n,sequenceSpace:r}}}class S2e{constructor(){this.SHIFTED_RX=/[~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?]/}match({password:t}){const n=[];return Object.keys(Re.graphs).forEach(r=>{const a=Re.graphs[r];Hd(n,this.helper(t,a,r))}),fs(n)}checkIfShifted(t,n,r){return!t.includes("keypad")&&this.SHIFTED_RX.test(n.charAt(r))?1:0}helper(t,n,r){let a;const s=[];let o=0;const i=t.length;for(;o2&&s.push({pattern:"spatial",i:o,j:u-1,token:t.slice(o,u),graph:r,turns:c,shiftedCount:a}),o=u;break}}}return s}}const O2e=new RegExp(`[${MA.join("")}]`);class Wu{static getMostUsedSeparatorChar(t){const n=[...t.split("").filter(a=>O2e.test(a)).reduce((a,s)=>{const o=a.get(s);return o?a.set(s,o+1):a.set(s,1),a},new Map).entries()].sort(([a,s],[o,i])=>i-s);if(!n.length)return;const r=n[0];if(!(r[1]<2))return r[0]}static getSeparatorRegex(t){return new RegExp(`([^${t} -])(${t})(?!${t})`,"g")}match({password:t}){const n=[];if(t.length===0)return n;const r=Wu.getMostUsedSeparatorChar(t);if(r===void 0)return n;const a=Wu.getSeparatorRegex(r);for(const s of t.matchAll(a)){if(s.index===void 0)continue;const o=s.index+1;n.push({pattern:"separator",token:r,i:o,j:o})}return n}}class I2e{constructor(){this.matchers={date:zIe,dictionary:e2e,regex:t2e,repeat:g2e,sequence:A2e,spatial:S2e,separator:Wu}}match(t){const n=[],r=[];return[...Object.keys(this.matchers),...Object.keys(Re.matchers)].forEach(s=>{if(!this.matchers[s]&&!Re.matchers[s])return;const o=this.matchers[s]?this.matchers[s]:Re.matchers[s].Matching,u=new o().match({password:t,omniMatch:this});u instanceof Promise?(u.then(l=>{Hd(n,l)}),r.push(u)):Hd(n,u)}),r.length>0?new Promise((s,o)=>{Promise.all(r).then(()=>{s(fs(n))}).catch(i=>{o(i)})}):fs(n)}}const xA=1,FA=xA*60,WA=FA*60,GA=WA*24,zA=GA*31,BA=zA*12,v2e=BA*100,Tl={second:xA,minute:FA,hour:WA,day:GA,month:zA,year:BA,century:v2e};class R2e{translate(t,n){let r=t;n!==void 0&&n!==1&&(r+="s");const{timeEstimation:a}=Re.translations;return a[r].replace("{base}",`${n}`)}estimateAttackTimes(t){const n={onlineThrottling100PerHour:t/.027777777777777776,onlineNoThrottling10PerSecond:t/10,offlineSlowHashing1e4PerSecond:t/1e4,offlineFastHashing1e10PerSecond:t/1e10},r={onlineThrottling100PerHour:"",onlineNoThrottling10PerSecond:"",offlineSlowHashing1e4PerSecond:"",offlineFastHashing1e10PerSecond:""};return Object.keys(n).forEach(a=>{const s=n[a];r[a]=this.displayTime(s)}),{crackTimesSeconds:n,crackTimesDisplay:r,score:this.guessesToScore(t)}}guessesToScore(t){return t<1005?0:t<1000005?1:t<100000005?2:t<1e10+5?3:4}displayTime(t){let n="centuries",r;const a=Object.keys(Tl),s=a.findIndex(o=>t-1&&(n=a[s-1],s!==0?r=Math.round(t/Tl[n]):n="ltSecond"),this.translate(n,r)}}var b2e=()=>null,N2e=()=>({warning:Re.translations.warnings.dates,suggestions:[Re.translations.suggestions.dates]});const y2e=(e,t)=>{let n=null;return t&&!e.l33t&&!e.reversed?e.rank<=10?n=Re.translations.warnings.topTen:e.rank<=100?n=Re.translations.warnings.topHundred:n=Re.translations.warnings.common:e.guessesLog10<=4&&(n=Re.translations.warnings.similarToCommon),n},C2e=(e,t)=>{let n=null;return t&&(n=Re.translations.warnings.wordByItself),n},D2e=(e,t)=>t?Re.translations.warnings.namesByThemselves:Re.translations.warnings.commonNames,P2e=(e,t)=>{let n=null;const r=e.dictionaryName,a=r==="lastnames"||r.toLowerCase().includes("firstnames");return r==="passwords"?n=y2e(e,t):r.includes("wikipedia")?n=C2e(e,t):a?n=D2e(e,t):r==="userInputs"&&(n=Re.translations.warnings.userInputs),n};var w2e=(e,t)=>{const n=P2e(e,t),r=[],a=e.token;return a.match(kA)?r.push(Re.translations.suggestions.capitalization):a.match(UA)&&a.toLowerCase()!==a&&r.push(Re.translations.suggestions.allUppercase),e.reversed&&e.token.length>=4&&r.push(Re.translations.suggestions.reverseWords),e.l33t&&r.push(Re.translations.suggestions.l33t),{warning:n,suggestions:r}},L2e=e=>e.regexName==="recentYear"?{warning:Re.translations.warnings.recentYears,suggestions:[Re.translations.suggestions.recentYears,Re.translations.suggestions.associatedYears]}:{warning:null,suggestions:[]},$2e=e=>{let t=Re.translations.warnings.extendedRepeat;return e.baseToken.length===1&&(t=Re.translations.warnings.simpleRepeat),{warning:t,suggestions:[Re.translations.suggestions.repeated]}},k2e=()=>({warning:Re.translations.warnings.sequences,suggestions:[Re.translations.suggestions.sequences]}),U2e=e=>{let t=Re.translations.warnings.keyPattern;return e.turns===1&&(t=Re.translations.warnings.straightRow),{warning:t,suggestions:[Re.translations.suggestions.longerKeyboardPattern]}},M2e=()=>null;const dh={warning:null,suggestions:[]};class x2e{constructor(){this.matchers={bruteforce:b2e,date:N2e,dictionary:w2e,regex:L2e,repeat:$2e,sequence:k2e,spatial:U2e,separator:M2e},this.defaultFeedback={warning:null,suggestions:[]},this.setDefaultSuggestions()}setDefaultSuggestions(){this.defaultFeedback.suggestions.push(Re.translations.suggestions.useWords,Re.translations.suggestions.noNeed)}getFeedback(t,n){if(n.length===0)return this.defaultFeedback;if(t>2)return dh;const r=Re.translations.suggestions.anotherWord,a=this.getLongestMatch(n);let s=this.getMatchFeedback(a,n.length===1);return s!=null?s.suggestions.unshift(r):s={warning:null,suggestions:[r]},s}getLongestMatch(t){let n=t[0];return t.slice(1).forEach(a=>{a.token.length>n.token.length&&(n=a)}),n}getMatchFeedback(t,n){return this.matchers[t.pattern]?this.matchers[t.pattern](t,n):Re.matchers[t.pattern]&&"feedback"in Re.matchers[t.pattern]?Re.matchers[t.pattern].feedback(t,n):dh}}const HA=()=>new Date().getTime(),F2e=(e,t,n)=>{const r=new x2e,a=new R2e,s=Vd.mostGuessableMatchSequence(t,e),o=HA()-n,i=a.estimateAttackTimes(s.guesses);return{calcTime:o,...s,...i,feedback:r.getFeedback(i.score,s.sequence)}},W2e=(e,t)=>(t&&Re.extendUserInputsDictionary(t),new I2e().match(e)),G2e=(e,t)=>{const n=HA(),r=W2e(e,t);if(r instanceof Promise)throw new Error("You are using a Promised matcher, please use `zxcvbnAsync` for it.");return F2e(r,e,n)},z2e="modulepreload",B2e=function(e){return"/"+e},fh={},yt=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link");a=Promise.all(n.map(o=>{if(o=B2e(o),o in fh)return;fh[o]=!0;const i=o.endsWith(".css"),u=i?'[rel="stylesheet"]':"";if(!!r)for(let f=s.length-1;f>=0;f--){const d=s[f];if(d.href===o&&(!i||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${u}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":z2e,i||(c.as="script",c.crossOrigin=""),c.href=o,document.head.appendChild(c),i)return new Promise((f,d)=>{c.addEventListener("load",f),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${o}`)))})}))}return a.then(()=>t()).catch(s=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s})},H2e=async e=>{switch(e){case"fr":return await yt(()=>import("./password.fr-1uJe1-pR.js"),__vite__mapDeps([]));case"de":return await yt(()=>import("./password.de-qoep7B_f.js"),__vite__mapDeps([]));case"it":return await yt(()=>import("./password.it-ImDc22WR.js"),__vite__mapDeps([]));case"es":return await yt(()=>import("./password.es-es--6AdGpRj.js"),__vite__mapDeps([]));case"pl":return await yt(()=>import("./password.pl-Ipz4x2MM.js"),__vite__mapDeps([]));default:return await yt(()=>import("./password.en-lIq_N4yZ.js"),__vite__mapDeps([]))}},ph=async e=>{const t=await yt(()=>import("./password.common-7m77ow97.js"),__vite__mapDeps([])),n=await H2e(e),r={graphs:t.adjacencyGraphs,dictionary:{...t.dictionary,...n.dictionary}};Re.setOptions(r)},V2e=e=>{switch(e){case 2:return"AVERAGE";case 3:return"GOOD";case 4:return"STRONG";default:return"WEAK"}},j2e={class:"password-strength"},K2e=["value"],Y2e={key:0,class:"password-strength-details"},q2e={class:"password-strength-value"},X2e={key:0,class:"info-box"},Z2e={class:"password-feedback"},Q2e=Z({__name:"PasswordStength",props:{password:{}},setup(e){const t=e,{password:n}=he(t),r=$e(),a=$(()=>r.getters[H.GETTERS.LANGUAGE]),s=$(()=>r.getters[K.GETTERS.IS_SUCCESS]),o=le(0),i=le(""),u=le([]),l=le("0% 100%");vt(async()=>await ph(a.value));function c(f){const d=G2e(f);o.value=d.score,i.value=V2e(o.value),u.value=d.feedback.suggestions,l.value=o.value*100/4+"% 100%"}return xe(()=>a.value,async f=>{await ph(f)}),xe(()=>n.value,async f=>{s.value?i.value="":c(f)}),(f,d)=>(A(),N("div",j2e,[p("input",{class:Ae(["password-slider",`strength-${o.value}`]),style:Yr({backgroundSize:l.value}),type:"range",value:o.value,min:"0",max:"4",step:"1",tabindex:-1},null,14,K2e),i.value?(A(),N("div",Y2e,[p("span",q2e,T(f.$t("user.PASSWORD_STRENGTH.LABEL"))+": "+T(f.$t(`user.PASSWORD_STRENGTH.${i.value}`)),1),u.value.length>0?(A(),N("div",X2e,[p("ul",Z2e,[(A(!0),N(ve,null,Fe(u.value,m=>(A(),N("li",{key:m},T(f.$t(`user.PASSWORD_STRENGTH.SUGGESTIONS.${m}`)),1))),128))])])):x("",!0)])):x("",!0)]))}}),J2e=re(Q2e,[["__scopeId","data-v-1affb508"]]),eve=e=>(ct("data-v-ac528612"),e=e(),lt(),e),tve={class:"password-input"},nve=["id","disabled","placeholder","required","type"],rve={class:"show-password"},ave={key:0,class:"form-info"},sve=eve(()=>p("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),ove=Z({__name:"PasswordInput",props:{checkStrength:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},id:{default:"password"},password:{default:""},placeholder:{},required:{type:Boolean,default:!1}},emits:["updatePassword","passwordError"],setup(e,{emit:t}){const n=e,{checkStrength:r,disabled:a,id:s,password:o,placeholder:i,required:u}=he(n),l=le(!1),c=le(""),f=t;function d(){l.value=!l.value}function m(I){f("updatePassword",I.target.value)}function E(){f("passwordError")}return xe(()=>o.value,I=>{I===""&&(c.value="",l.value=!1)}),(I,b)=>(A(),N("div",tve,[Ke(p("input",{id:h(s),disabled:h(a),placeholder:h(i),required:h(u),type:l.value?"text":"password","onUpdate:modelValue":b[0]||(b[0]=v=>c.value=v),minlength:"8",onInput:m,onInvalid:E},null,40,nve),[[h2,c.value]]),p("div",rve,[p("button",{class:"transparent",onClick:Xe(d,["prevent"]),type:"button"},[j(T(I.$t(`user.${l.value?"HIDE":"SHOW"}_PASSWORD`))+" ",1),p("i",{class:Ae(["fa",`fa-eye${l.value?"-slash":""}`]),"aria-hidden":"true"},null,2)])]),h(r)?(A(),N("div",ave,[sve,j(" "+T(I.$t("user.PASSWORD_INFO")),1)])):x("",!0),h(r)?(A(),te(J2e,{key:1,password:c.value},null,8,["password"])):x("",!0)]))}}),jd=re(ove,[["__scopeId","data-v-ac528612"]]),O0=e=>(ct("data-v-8ebb5cd3"),e=e(),lt(),e),ive={id:"user-infos-edition"},uve={class:"profile-form form-box"},cve={key:1,class:"info-box success-message"},lve={class:"form-items",for:"email"},dve=["disabled"],fve={class:"form-items",for:"password-field"},pve={class:"form-items",for:"new-password-field"},mve={class:"form-buttons"},Eve={class:"confirm",type:"submit"},hve={class:"data-export"},_ve={class:"info-box"},Tve=O0(()=>p("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),gve={key:0,class:"data-export-archive"},Ave=O0(()=>p("i",{class:"fa fa-download","aria-hidden":"true"},null,-1)),Sve={key:1},Ove={key:2},Ive=O0(()=>p("i",{class:"fa fa-spinner fa-pulse","aria-hidden":"true"},null,-1)),vve=Z({__name:"UserAccountEdition",props:{user:{}},setup(e){const t=e,{user:n}=he(t),r=$e(),a=Ft({email:"",password:"",new_password:""}),s=$(()=>r.getters[K.GETTERS.USER_LOADING]),o=$(()=>r.getters[H.GETTERS.APP_CONFIG]),i=$(()=>r.getters[K.GETTERS.IS_SUCCESS]),u=le(!1),l=$(()=>r.getters[H.GETTERS.ERROR_MESSAGES]),c=le(!1),f=le(!1),d=$(()=>r.getters[K.GETTERS.EXPORT_REQUEST]),m=$(()=>S()),E=le(!1);Tt(()=>{t.user&&(r.dispatch(K.ACTIONS.GET_REQUEST_DATA_EXPORT),b(t.user))});function I(){c.value=!0}function b(B){a.email=B.email}function v(B){a.password=B}function R(B){a.new_password=B}function S(){return d.value?Fn(d.value.created_at,n.value.timezone,n.value.date_format,!0,null,!0):null}function O(){return m.value?x3(new Date(m.value),G3(new Date,1)):!0}function y(){const B={email:a.email,password:a.password};a.new_password&&(B.new_password=a.new_password),u.value=a.email!==n.value.email,r.dispatch(K.ACTIONS.UPDATE_USER_ACCOUNT,B)}function P(B){f.value=B}function M(B){r.dispatch(K.ACTIONS.DELETE_ACCOUNT,{username:B})}function w(){r.dispatch(K.ACTIONS.REQUEST_DATA_EXPORT)}async function G(B){E.value=!0,await Be.get(`/auth/account/export/${B}`,{responseType:"blob"}).then(L=>{const X=window.URL.createObjectURL(new Blob([L.data],{type:"application/zip"})),J=document.createElement("a");J.href=X,J.setAttribute("download",B),document.body.appendChild(J),J.click()}).finally(()=>E.value=!1)}return Rt(()=>{r.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!1),r.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES)}),xe(()=>i.value,async B=>{B&&(v(""),R(""),b(n.value),c.value=!1)}),xe(()=>n.value.email,async()=>{b(n.value)}),(B,L)=>{const X=ie("Modal"),J=ie("ErrorMessage");return A(),N("div",ive,[f.value?(A(),te(X,{key:0,title:B.$t("common.CONFIRMATION"),message:B.$t("user.CONFIRM_ACCOUNT_DELETION"),onConfirmAction:L[0]||(L[0]=ne=>M(h(n).username)),onCancelAction:L[1]||(L[1]=ne=>P(!1)),onKeydown:L[2]||(L[2]=Et(ne=>P(!1),["esc"]))},null,8,["title","message"])):x("",!0),p("div",uve,[l.value?(A(),te(J,{key:0,message:l.value},null,8,["message"])):x("",!0),i.value?(A(),N("div",cve,T(B.$t(`user.PROFILE.SUCCESSFUL_${u.value&&o.value.is_email_sending_enabled?"EMAIL_":""}UPDATE`)),1)):x("",!0),p("form",{class:Ae({errors:c.value}),onSubmit:Xe(y,["prevent"])},[p("label",lve,[j(T(B.$t("user.EMAIL"))+"* ",1),Ke(p("input",{id:"email","onUpdate:modelValue":L[3]||(L[3]=ne=>a.email=ne),disabled:s.value,required:!0,onInvalid:I},null,40,dve),[[tt,a.email]])]),p("label",fve,[j(T(B.$t("user.CURRENT_PASSWORD"))+"* ",1),k(jd,{id:"password-field",disabled:s.value,password:a.password,required:!0,onUpdatePassword:v,onPasswordError:I},null,8,["disabled","password"])]),p("label",pve,[j(T(B.$t("user.NEW_PASSWORD"))+" ",1),k(jd,{id:"new-password-field",disabled:s.value,checkStrength:!0,password:a.new_password,isSuccess:!1,onUpdatePassword:R,onPasswordError:I},null,8,["disabled","password"])]),p("div",mve,[p("button",Eve,T(B.$t("buttons.SUBMIT")),1),p("button",{class:"cancel",onClick:L[4]||(L[4]=Xe(ne=>B.$router.push("/profile"),["prevent"]))},T(B.$t("buttons.CANCEL")),1),p("button",{class:"danger",onClick:L[5]||(L[5]=Xe(ne=>P(!0),["prevent"]))},T(B.$t("buttons.DELETE_MY_ACCOUNT")),1),O()?(A(),N("button",{key:0,class:"confirm",onClick:Xe(w,["prevent"])},T(B.$t("buttons.REQUEST_DATA_EXPORT")),1)):x("",!0)])],34),p("div",hve,[p("span",_ve,[Tve,j(" "+T(B.$t("user.EXPORT_REQUEST.ONLY_ONE_EXPORT_PER_DAY")),1)]),d.value?(A(),N("div",gve,[j(T(B.$t("user.EXPORT_REQUEST.DATA_EXPORT"))+" ("+T(m.value)+"): ",1),d.value.status==="successful"?(A(),N("span",{key:0,class:"archive-link",onClick:L[6]||(L[6]=Xe(ne=>G(d.value.file_name),["prevent"]))},[Ave,j(" "+T(B.$t("user.EXPORT_REQUEST.DOWNLOAD_ARCHIVE"))+" ("+T(h(Ji)(d.value.file_size))+") ",1)])):(A(),N("span",Sve,T(B.$t(`user.EXPORT_REQUEST.STATUS.${d.value.status}`)),1)),E.value?(A(),N("span",Ove,[j(T(B.$t("user.EXPORT_REQUEST.GENERATING_LINK"))+" ",1),Ive])):x("",!0)])):x("",!0)])])])}}}),Rve=re(vve,[["__scopeId","data-v-8ebb5cd3"]]),bve={id:"user-infos-edition"},Nve={class:"profile-form form-box"},yve={class:"form-items",for:"registrationDate"},Cve=["value"],Dve={class:"form-items",for:"first_name"},Pve=["disabled"],wve={class:"form-items",for:"last_name"},Lve={class:"form-items",for:"birth_date"},$ve=["disabled"],kve={class:"form-items",for:"location"},Uve=["disabled"],Mve={class:"form-items"},xve={class:"form-buttons"},Fve={class:"confirm",type:"submit"},Wve=Z({__name:"UserInfosEdition",props:{user:{}},setup(e){const t=e,n=$e(),r=Ft({first_name:"",last_name:"",birth_date:"",location:"",bio:""}),a=$(()=>t.user.created_at?Fn(t.user.created_at,t.user.timezone,t.user.date_format):""),s=$(()=>n.getters[K.GETTERS.USER_LOADING]),o=$(()=>n.getters[H.GETTERS.ERROR_MESSAGES]);Tt(()=>{t.user&&i(t.user)});function i(c){r.first_name=c.first_name?c.first_name:"",r.last_name=c.last_name?c.last_name:"",r.birth_date=c.birth_date?dn(new Date(c.birth_date),"yyyy-MM-dd"):"",r.location=c.location?c.location:"",r.bio=c.bio?c.bio:""}function u(c){r.bio=c}function l(){n.dispatch(K.ACTIONS.UPDATE_USER_PROFILE,r)}return Rt(()=>{n.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES)}),(c,f)=>{const d=ie("ErrorMessage"),m=ie("CustomTextArea");return A(),N("div",bve,[p("div",Nve,[o.value?(A(),te(d,{key:0,message:o.value},null,8,["message"])):x("",!0),p("form",{onSubmit:Xe(l,["prevent"])},[p("label",yve,[j(T(c.$t("user.PROFILE.REGISTRATION_DATE"))+" ",1),p("input",{id:"registrationDate",value:a.value,disabled:""},null,8,Cve)]),p("label",Dve,[j(T(c.$t("user.PROFILE.FIRST_NAME"))+" ",1),Ke(p("input",{id:"first_name","onUpdate:modelValue":f[0]||(f[0]=E=>r.first_name=E),disabled:s.value},null,8,Pve),[[tt,r.first_name]])]),p("label",wve,[j(T(c.$t("user.PROFILE.LAST_NAME"))+" ",1),Ke(p("input",{id:"last_name","onUpdate:modelValue":f[1]||(f[1]=E=>r.last_name=E)},null,512),[[tt,r.last_name]])]),p("label",Lve,[j(T(c.$t("user.PROFILE.BIRTH_DATE"))+" ",1),Ke(p("input",{id:"birth_date",type:"date",class:"birth-date","onUpdate:modelValue":f[2]||(f[2]=E=>r.birth_date=E),disabled:s.value},null,8,$ve),[[tt,r.birth_date]])]),p("label",kve,[j(T(c.$t("user.PROFILE.LOCATION"))+" ",1),Ke(p("input",{id:"location","onUpdate:modelValue":f[3]||(f[3]=E=>r.location=E),disabled:s.value},null,8,Uve),[[tt,r.location]])]),p("label",Mve,[j(T(c.$t("user.PROFILE.BIO"))+" ",1),k(m,{name:"bio",charLimit:200,input:r.bio,disabled:s.value,onUpdateValue:u},null,8,["input","disabled"])]),p("div",xve,[p("button",Fve,T(c.$t("buttons.SUBMIT")),1),p("button",{class:"cancel",onClick:f[4]||(f[4]=Xe(E=>c.$router.push("/profile"),["prevent"]))},T(c.$t("buttons.CANCEL")),1)])],32)])])}}}),Gve=re(Wve,[["__scopeId","data-v-5f5c8fca"]]),zve=e=>(ct("data-v-8f62d42f"),e=e(),lt(),e),Bve={id:"user-picture-edition"},Hve={class:"user-picture-form"},Vve={class:"picture-help"},jve={class:"info-box"},Kve=zve(()=>p("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),Yve={class:"picture-buttons"},qve=["disabled"],Xve=Z({__name:"UserPictureEdition",props:{user:{}},setup(e){const t=e,n=$e(),{user:r}=he(t),a=$(()=>n.getters[H.GETTERS.ERROR_MESSAGES]),s=$(()=>n.getters[H.GETTERS.APP_CONFIG]),o=s.value.max_single_file_size?Ji(s.value.max_single_file_size):"",i=le(null);function u(){n.dispatch(K.ACTIONS.DELETE_PICTURE)}function l(f){f.target.files!==null&&(i.value=f.target.files[0])}function c(){i.value&&n.dispatch(K.ACTIONS.UPDATE_USER_PICTURE,{picture:i.value})}return Rt(()=>{n.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES)}),(f,d)=>{const m=ie("ErrorMessage");return A(),N("div",Bve,[p("div",Hve,[a.value?(A(),te(m,{key:0,message:a.value},null,8,["message"])):x("",!0),k(No,{user:h(r)},null,8,["user"]),p("form",{onSubmit:Xe(c,["prevent"])},[p("input",{type:"file",name:"picture",accept:".png,.jpg,.gif",onInput:l},null,32),p("div",Vve,[p("span",jve,[Kve,j(" "+T(f.$t("workouts.MAX_SIZE"))+": "+T(h(o)),1)])]),p("div",Yve,[p("button",{type:"submit",disabled:!i.value},T(f.$t("user.PROFILE.PICTURE_UPDATE")),9,qve),h(r).picture?(A(),N("button",{key:0,class:"danger",onClick:u},T(f.$t("user.PROFILE.PICTURE_REMOVE")),1)):x("",!0),p("button",{class:"cancel",onClick:d[0]||(d[0]=E=>f.$router.push("/profile"))},T(f.$t("user.PROFILE.BACK_TO_PROFILE")),1)])],32)])])}}}),Zve=re(Xve,[["__scopeId","data-v-8f62d42f"]]),mh=["Africa/Abidjan","Africa/Accra","Africa/Algiers","Africa/Bissau","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/El_Aaiun","Africa/Johannesburg","Africa/Juba","Africa/Khartoum","Africa/Lagos","Africa/Maputo","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Asuncion","America/Atikokan","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Cayenne","America/Chicago","America/Chihuahua","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fortaleza","America/Fort_Nelson","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Inuvik","America/Iqaluit","America/Jamaica","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/La_Paz","America/Lima","America/Los_Angeles","America/Maceio","America/Managua","America/Manaus","America/Martinique","America/Matamoros","America/Mazatlan","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Sitka","America/St_Johns","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Atyrau","Asia/Baghdad","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kathmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Riyadh","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Currie","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/Perth","Australia/Sydney","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Helsinki","Europe/Istanbul","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Lisbon","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Oslo","Europe/Paris","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/Saratov","Europe/Simferopol","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zaporozhye","Europe/Zurich","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Wake","Pacific/Wallis"],Qve={id:"tz-dropdown"},Jve=["value","disabled","aria-expanded"],eRe=["aria-label"],tRe=["id","onClick","onMouseover","autofocus"],nRe=Z({__name:"TimezoneDropdown",props:{input:{},disabled:{type:Boolean,default:!1}},emits:["updateTimezone"],setup(e,{emit:t}){const n=e,r=t,{input:a,disabled:s}=he(n),o=le(a.value),i=le(!1),u=le(0),l=$(()=>a.value?mh.filter(O=>c(O)):mh);function c(O){return O.toLowerCase().match(o.value.toLowerCase())}function f(O){u.value=O}function d(O){l.value.length>O&&(o.value=l.value[O],r("updateTimezone",o.value),i.value=!1)}function m(O){O.preventDefault(),l.value.length>0&&d(u.value)}function E(O){O.preventDefault(),i.value=!0,o.value=O.target.value.trim()}function I(){d(u.value)}function b(O){const y=document.getElementById(`tz-dropdown-item-${O}`);y&&(y.focus(),y.scrollIntoView({behavior:"smooth",block:"nearest"}))}function v(){i.value=!0,u.value=u.value===null?0:u.value+=1,u.value>=l.value.length&&(u.value=0),b(u.value)}function R(){i.value=!0,u.value=u.value===null?l.value.length-1:u.value-=1,u.value<=-1&&(u.value=l.value.length-1),b(u.value)}function S(){i.value&&(i.value=!1,o.value=a.value)}return xe(()=>n.input,O=>{o.value=O}),(O,y)=>(A(),N("div",Qve,[p("input",{class:"tz-dropdown-input",id:"timezone",name:"timezone",value:o.value,disabled:h(s),required:"",role:"combobox","aria-autocomplete":"list","aria-controls":"tz-dropdown-list","aria-expanded":i.value,onKeydown:[y[0]||(y[0]=Et(P=>S(),["esc"])),Et(m,["enter"]),y[2]||(y[2]=Et(P=>v(),["down"])),y[3]||(y[3]=Et(P=>R(),["up"]))],onInput:E,onBlur:y[1]||(y[1]=P=>I())},null,40,Jve),i.value?(A(),N("ul",{key:0,class:"tz-dropdown-list",id:"tz-dropdown-list",role:"listbox",tabindex:"-1","aria-label":O.$t("user.PROFILE.TIMEZONE",0)},[(A(!0),N(ve,null,Fe(l.value,(P,M)=>(A(),N("li",{key:P,id:`tz-dropdown-item-${M}`,class:Ae(["tz-dropdown-item",{focus:M===u.value}]),onClick:w=>d(M),onMouseover:w=>f(M),autofocus:M===u.value,role:"option"},T(P),43,tRe))),128))],8,eRe)):x("",!0)]))}}),rRe=re(nRe,[["__scopeId","data-v-3d9b6b6f"]]),aRe=e=>(ct("data-v-7b19a78b"),e=e(),lt(),e),sRe={id:"user-preferences-edition"},oRe={class:"profile-form form-box"},iRe={class:"preferences-section"},uRe={class:"form-items"},cRe=["disabled"],lRe=["value"],dRe={class:"form-items"},fRe=["disabled"],pRe=["value"],mRe={class:"form-items"},ERe={class:"form-items"},hRe=["disabled"],_Re=["value"],TRe={class:"form-items form-checkboxes"},gRe={class:"checkboxes-label"},ARe={class:"checkboxes"},SRe=["id","name","checked","disabled","onInput"],ORe={class:"checkbox-label"},IRe={class:"preferences-section"},vRe={class:"form-items form-checkboxes"},RRe={class:"checkboxes-label"},bRe={class:"checkboxes"},NRe=["id","name","checked","disabled","onInput"],yRe={class:"checkbox-label"},CRe={class:"form-items form-checkboxes"},DRe={class:"checkboxes-label"},PRe={class:"checkboxes"},wRe=["id","name","checked","disabled","onInput"],LRe={class:"checkbox-label"},$Re={class:"form-items form-checkboxes"},kRe={class:"checkboxes-label"},URe={class:"checkboxes"},MRe=["id","name","checked","disabled","onInput"],xRe={class:"checkbox-label"},FRe={class:"form-items form-checkboxes"},WRe={class:"checkboxes-label"},GRe={class:"checkboxes"},zRe=["id","name","checked","disabled","onInput"],BRe={class:"checkbox-label"},HRe={class:"info-box raw-speed-help"},VRe=aRe(()=>p("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),jRe={class:"form-buttons"},KRe={class:"confirm",type:"submit"},YRe=Z({__name:"UserPreferencesEdition",props:{user:{}},setup(e){const t=e,n=$e(),r=Ft({display_ascent:!0,imperial_units:!1,language:"en",timezone:"Europe/Paris",date_format:"dd/MM/yyyy",weekm:!1,start_elevation_at_zero:!1,use_raw_gpx_speed:!1,use_dark_mode:!1}),a=[{label:"SUNDAY",value:!1},{label:"MONDAY",value:!0}],s=[{label:"METRIC",value:!1},{label:"IMPERIAL",value:!0}],o=[{label:"DISPLAYED",value:!0},{label:"HIDDEN",value:!1}],i=[{label:"ZERO",value:!0},{label:"MIN_ALT",value:!1}],u=[{label:"FILTERED_SPEED",value:!1},{label:"RAW_SPEED",value:!0}],l=[{label:"DARK",value:!0},{label:"DEFAULT",value:null},{label:"LIGHT",value:!1}],c=$(()=>n.getters[K.GETTERS.USER_LOADING]),f=$(()=>n.getters[H.GETTERS.ERROR_MESSAGES]),d=$(()=>CSe(new Date().toUTCString(),t.user.timezone,r.language));Tt(()=>{t.user&&m(t.user)});function m(y){r.display_ascent=y.display_ascent,r.start_elevation_at_zero=y.start_elevation_at_zero?y.start_elevation_at_zero:!1,r.use_raw_gpx_speed=y.use_raw_gpx_speed?y.use_raw_gpx_speed:!1,r.imperial_units=y.imperial_units?y.imperial_units:!1,r.language=y.language?y.language:"en",r.timezone=y.timezone?y.timezone:"Europe/Paris",r.date_format=y.date_format?y.date_format:"dd/MM/yyyy",r.weekm=y.weekm?y.weekm:!1,r.use_dark_mode=y.use_dark_mode}function E(){n.dispatch(K.ACTIONS.UPDATE_USER_PREFERENCES,r)}function I(y){r.timezone=y}function b(y){r.start_elevation_at_zero=y}function v(y){r.use_raw_gpx_speed=y}function R(y){r.display_ascent=y}function S(y){r.imperial_units=y}function O(y){r.weekm=y}return Rt(()=>{n.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES)}),(y,P)=>{const M=ie("ErrorMessage");return A(),N("div",sRe,[p("div",oRe,[f.value?(A(),te(M,{key:0,message:f.value},null,8,["message"])):x("",!0),p("form",{onSubmit:Xe(E,["prevent"])},[p("div",iRe,T(y.$t("user.PROFILE.INTERFACE")),1),p("label",uRe,[j(T(y.$t("user.PROFILE.LANGUAGE"))+" ",1),Ke(p("select",{id:"language","onUpdate:modelValue":P[0]||(P[0]=w=>r.language=w),disabled:c.value},[(A(!0),N(ve,null,Fe(h(ud),w=>(A(),N("option",{value:w.value,key:w.value},T(w.label),9,lRe))),128))],8,cRe),[[Gs,r.language]])]),p("label",dRe,[j(T(y.$t("user.PROFILE.THEME_MODE.LABEL"))+" ",1),Ke(p("select",{id:"use_dark_mode","onUpdate:modelValue":P[1]||(P[1]=w=>r.use_dark_mode=w),disabled:c.value},[(A(),N(ve,null,Fe(l,w=>p("option",{value:w.value,key:w.label},T(y.$t(`user.PROFILE.THEME_MODE.VALUES.${w.label}`)),9,pRe)),64))],8,fRe),[[Gs,r.use_dark_mode]])]),p("label",mRe,[j(T(y.$t("user.PROFILE.TIMEZONE"))+" ",1),k(rRe,{input:r.timezone,disabled:c.value,onUpdateTimezone:I},null,8,["input","disabled"])]),p("label",ERe,[j(T(y.$t("user.PROFILE.DATE_FORMAT"))+" ",1),Ke(p("select",{id:"date_format","onUpdate:modelValue":P[2]||(P[2]=w=>r.date_format=w),disabled:c.value},[(A(!0),N(ve,null,Fe(d.value,w=>(A(),N("option",{value:w.value,key:w.value},T(w.label),9,_Re))),128))],8,hRe),[[Gs,r.date_format]])]),p("div",TRe,[p("span",gRe,T(y.$t("user.PROFILE.FIRST_DAY_OF_WEEK")),1),p("div",ARe,[(A(),N(ve,null,Fe(a,w=>p("label",{key:w.label},[p("input",{type:"radio",id:w.label,name:w.label,checked:w.value===r.weekm,disabled:c.value,onInput:G=>O(w.value)},null,40,SRe),p("span",ORe,T(y.$t(`user.PROFILE.${w.label}`)),1)])),64))])]),p("div",IRe,T(y.$t("workouts.WORKOUT",0)),1),p("div",vRe,[p("span",RRe,T(y.$t("user.PROFILE.UNITS.LABEL")),1),p("div",bRe,[(A(),N(ve,null,Fe(s,w=>p("label",{key:w.label},[p("input",{type:"radio",id:w.label,name:w.label,checked:w.value===r.imperial_units,disabled:c.value,onInput:G=>S(w.value)},null,40,NRe),p("span",yRe,T(y.$t(`user.PROFILE.UNITS.${w.label}`)),1)])),64))])]),p("div",CRe,[p("span",DRe,T(y.$t("user.PROFILE.ASCENT_DATA")),1),p("div",PRe,[(A(),N(ve,null,Fe(o,w=>p("label",{key:w.label},[p("input",{type:"radio",id:w.label,name:w.label,checked:w.value===r.display_ascent,disabled:c.value,onInput:G=>R(w.value)},null,40,wRe),p("span",LRe,T(y.$t(`common.${w.label}`)),1)])),64))])]),p("div",$Re,[p("span",kRe,T(y.$t("user.PROFILE.ELEVATION_CHART_START.LABEL")),1),p("div",URe,[(A(),N(ve,null,Fe(i,w=>p("label",{key:w.label},[p("input",{type:"radio",id:w.label,name:w.label,checked:w.value===r.start_elevation_at_zero,disabled:c.value,onInput:G=>b(w.value)},null,40,MRe),p("span",xRe,T(y.$t(`user.PROFILE.ELEVATION_CHART_START.${w.label}`)),1)])),64))])]),p("div",FRe,[p("span",WRe,T(y.$t("user.PROFILE.USE_RAW_GPX_SPEED.LABEL")),1),p("div",GRe,[(A(),N(ve,null,Fe(u,w=>p("label",{key:w.label},[p("input",{type:"radio",id:w.label,name:w.label,checked:w.value===r.use_raw_gpx_speed,disabled:c.value,onInput:G=>v(w.value)},null,40,zRe),p("span",BRe,T(y.$t(`user.PROFILE.USE_RAW_GPX_SPEED.${w.label}`)),1)])),64))]),p("div",HRe,[p("span",null,[VRe,j(" "+T(y.$t("user.PROFILE.USE_RAW_GPX_SPEED.HELP")),1)])])]),p("div",jRe,[p("button",KRe,T(y.$t("buttons.SUBMIT")),1),p("button",{class:"cancel",onClick:P[3]||(P[3]=Xe(w=>y.$router.push("/profile/preferences"),["prevent"]))},T(y.$t("buttons.CANCEL")),1)])],32)])])}}}),qRe=re(YRe,[["__scopeId","data-v-7b19a78b"]]),XRe={class:"privacy-policy-text"},ZRe={class:"last-update"},QRe=["innerHTML"],JRe=["innerHTML"],ebe="Sun, 26 Feb 2023 17:00:00 GMT",tbe=Z({__name:"PrivacyPolicy",setup(e){const t=$e(),n=$(()=>t.getters[H.GETTERS.APP_CONFIG]),r=$(()=>t.getters[H.GETTERS.LANGUAGE]),a=$(()=>t.getters[K.GETTERS.AUTH_USER_PROFILE]),s=$(()=>c()),o=$(()=>l()),i=$(()=>f()),u=["DATA_COLLECTED","INFORMATION_USAGE","INFORMATION_PROTECTION","INFORMATION_DISCLOSURE","SITE_USAGE_BY_CHILDREN","YOUR_CONSENT","ACCOUNT_DELETION","CHANGES_TO_OUR_PRIVACY_POLICY"];function l(){return a.value.timezone?a.value.timezone:Intl.DateTimeFormat().resolvedOptions().timeZone?Intl.DateTimeFormat().resolvedOptions().timeZone:"Europe/Paris"}function c(){return NA[r.value]}function f(){return Fn(n.value.privacy_policy&&n.value.privacy_policy_date?`${n.value.privacy_policy_date}`:ebe,o.value,s.value,!1)}return(d,m)=>(A(),N("div",XRe,[p("h1",null,T(Ot(d.$t("privacy_policy.TITLE"))),1),p("p",ZRe,[j(T(d.$t("privacy_policy.LAST_UPDATE"))+": ",1),p("time",null,T(i.value),1)]),n.value.privacy_policy?(A(),N("div",{key:0,innerHTML:h(pa)(h(_o)(n.value.privacy_policy))},null,8,QRe)):(A(),N(ve,{key:1},Fe(u,E=>(A(),N(ve,{key:E},[p("h2",null,T(d.$t(`privacy_policy.CONTENT.${E}.TITLE`)),1),p("p",{innerHTML:h(pa)(d.$t(`privacy_policy.CONTENT.${E}.CONTENT`))},null,8,JRe)],64))),64))]))}}),VA=re(tbe,[["__scopeId","data-v-31d5cd27"]]),nbe={id:"user-privacy-policy"},rbe={key:1},abe={class:"policy-content"},sbe={for:"accepted_policy",class:"accepted_policy"},obe={class:"form-buttons"},ibe={class:"confirm",type:"submit"},ube=Z({__name:"UserPrivacyPolicyValidation",props:{user:{}},setup(e){const t=e,{user:n}=he(t),r=$e(),a=$(()=>r.getters[H.GETTERS.ERROR_MESSAGES]),s=le(!1),o=le(!1);function i(){r.dispatch(K.ACTIONS.ACCEPT_PRIVACY_POLICY,s.value)}function u(){o.value=!0}return Rt(()=>{r.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES)}),(l,c)=>{const f=ie("ErrorMessage"),d=ie("router-link"),m=ie("i18n-t");return A(),N("div",nbe,[a.value?(A(),te(f,{key:0,message:a.value},null,8,["message"])):x("",!0),h(n).accepted_privacy_policy?(A(),N("div",rbe,[p("p",null,[k(m,{keypath:"user.YOU_HAVE_ACCEPTED_PRIVACY_POLICY"},{default:ue(()=>[k(d,{to:"/privacy-policy"},{default:ue(()=>[j(T(l.$t("privacy_policy.TITLE")),1)]),_:1})]),_:1})]),p("button",{class:"cancel",onClick:c[0]||(c[0]=E=>l.$router.push("/profile"))},T(l.$t("user.PROFILE.BACK_TO_PROFILE")),1)])):(A(),N("form",{key:2,class:Ae({errors:o.value}),onSubmit:c[3]||(c[3]=Xe(E=>i(),["prevent"]))},[p("div",abe,[k(VA)]),p("label",sbe,[Ke(p("input",{type:"checkbox",id:"accepted_policy",required:"","onUpdate:modelValue":c[1]||(c[1]=E=>s.value=E),onInvalid:u},null,544),[[hf,s.value]]),p("span",null,[k(m,{keypath:"user.READ_AND_ACCEPT_PRIVACY_POLICY"},{default:ue(()=>[j(T(l.$t("privacy_policy.TITLE")),1)]),_:1})])]),k(d,{to:"/profile/edit/account"},{default:ue(()=>[j(T(l.$t("user.I_WANT_TO_DELETE_MY_ACCOUNT")),1)]),_:1}),p("div",obe,[p("button",ibe,T(l.$t("buttons.SUBMIT")),1),p("button",{class:"cancel",onClick:c[2]||(c[2]=E=>l.$router.push("/profile"))},T(l.$t("user.PROFILE.BACK_TO_PROFILE")),1)])],34))])}}}),cbe=re(ube,[["__scopeId","data-v-9b1ceaf7"]]),lbe=["profile:read","profile:write","users:read","users:write","workouts:read","workouts:write"],dbe=["application:write"],fbe={id:"new-oauth2-app"},pbe={id:"new-oauth2-title"},mbe={id:"apps-form"},Ebe={class:"form-items"},hbe={class:"form-item"},_be={for:"app-name"},Tbe={class:"form-item"},gbe={for:"app-description"},Abe={class:"form-item"},Sbe={for:"app-url"},Obe={class:"form-item"},Ibe={for:"app-redirect-uri"},vbe={class:"form-item-scope"},Rbe={class:"form-item-scope-label"},bbe={class:"scope-label"},Nbe=["name","checked","onChange"],ybe=["innerHTML"],Cbe={class:"form-buttons"},Dbe=["disabled"],Pbe=Z({__name:"AddUserApp",props:{authUser:{}},setup(e){const t=e,n=$e(),r=Ft({client_name:"",client_uri:"",client_description:"",description:"",redirect_uri:""}),a=Ft([]),s=$(()=>l(t.authUser,dbe,lbe));function o(){const c={client_name:r.client_name,client_description:r.client_description,client_uri:r.client_uri,redirect_uris:[r.redirect_uri],scope:a.sort().join(" ")};n.dispatch(je.ACTIONS.CREATE_CLIENT,c)}function i(c){r.client_description=c}function u(c){const f=a.indexOf(c);f>-1?a.splice(f,1):a.push(c)}function l(c,f,d){const m=[...d];return c.admin&&m.push(...f),m.sort()}return(c,f)=>{const d=ie("CustomTextArea");return A(),N("div",fbe,[p("h1",pbe,T(c.$t("oauth2.ADD_A_NEW_APP")),1),p("div",mbe,[p("form",{onSubmit:Xe(o,["prevent"])},[p("div",Ebe,[p("div",hbe,[p("label",_be,T(c.$t("oauth2.APP.NAME"))+"*",1),Ke(p("input",{id:"app-name",type:"text",required:"","onUpdate:modelValue":f[0]||(f[0]=m=>r.client_name=m)},null,512),[[tt,r.client_name]])]),p("div",Tbe,[p("label",gbe,T(c.$t("oauth2.APP.DESCRIPTION")),1),k(d,{name:"app-description",charLimit:200,input:r.description,onUpdateValue:i},null,8,["input"])]),p("div",Abe,[p("label",Sbe,T(c.$t("oauth2.APP.URL"))+"*",1),Ke(p("input",{id:"app-url",type:"text",required:"","onUpdate:modelValue":f[1]||(f[1]=m=>r.client_uri=m)},null,512),[[tt,r.client_uri]])]),p("div",Obe,[p("label",Ibe,T(c.$t("oauth2.APP.REDIRECT_URL"))+"* ",1),Ke(p("input",{id:"app-redirect-uri",type:"text",required:"","onUpdate:modelValue":f[2]||(f[2]=m=>r.redirect_uri=m)},null,512),[[tt,r.redirect_uri]])]),p("div",vbe,[p("div",Rbe,T(c.$t("oauth2.APP.SCOPE.LABEL"))+"* ",1),(A(!0),N(ve,null,Fe(s.value,m=>(A(),N("div",{class:"form-item-scope-checkboxes",key:m},[p("label",bbe,[p("input",{type:"checkbox",name:m,checked:a.includes(m),onChange:E=>u(m)},null,40,Nbe),p("code",null,T(m),1)]),p("p",{class:"scope-description",innerHTML:c.$t(`oauth2.APP.SCOPE.${m}_DESCRIPTION`)},null,8,ybe)]))),128))])]),p("div",Cbe,[p("button",{class:"confirm",type:"submit",disabled:a.length===0},T(c.$t("buttons.SUBMIT")),9,Dbe),p("button",{class:"cancel",onClick:f[3]||(f[3]=Xe(()=>c.$router.push("/profile/apps"),["prevent"]))},T(c.$t("buttons.CANCEL")),1)])],32)])])}}}),wbe=re(Pbe,[["__scopeId","data-v-e2284e06"]]),Lbe={id:"authorize-oauth2-app"},$be={key:0},kbe={id:"authorize-oauth2-title"},Ube={class:"oauth2-access description-list"},Mbe={class:"client-scope"},xbe=["innerHTML"],Fbe={class:"authorize-oauth2-buttons"},Wbe={key:1},Gbe={class:"no-app"},zbe=Z({__name:"AuthorizeUserApp",setup(e){const t=Kt(),n=$e(),r=$(()=>n.getters[je.GETTERS.CLIENT]),a=$(()=>n.getters[H.GETTERS.ERROR_MESSAGES]);vt(()=>s());function s(){t.query.client_id&&typeof t.query.client_id=="string"&&n.dispatch(je.ACTIONS.GET_CLIENT_BY_CLIENT_ID,t.query.client_id)}function o(){n.dispatch(je.ACTIONS.AUTHORIZE_CLIENT,{client_id:`${t.query.client_id}`,redirect_uri:`${t.query.redirect_uri}`,response_type:`${t.query.response_type}`,scope:`${t.query.scope}`,state:`${t.query.state?t.query.state:""}`,code_challenge:`${t.query.code_challenge?t.query.code_challenge:""}`,code_challenge_method:`${t.query.code_challenge_method?t.query.code_challenge_method:""}`})}return(i,u)=>{const l=ie("router-link"),c=ie("i18n-t"),f=ie("ErrorMessage");return A(),N("div",Lbe,[r.value.client_id?(A(),N("div",$be,[p("h1",kbe,[k(c,{keypath:"oauth2.AUTHORIZE_APP"},{default:ue(()=>[k(l,{to:{name:"UserApp",params:{id:r.value.id}}},{default:ue(()=>[j(T(r.value.name),1)]),_:1},8,["to"])]),_:1})]),a.value?(A(),te(f,{key:0,message:a.value},null,8,["message"])):x("",!0),p("div",Ube,[p("p",null,T(i.$t("oauth2.APP_REQUESTING_ACCESS")),1),p("dl",null,[(A(!0),N(ve,null,Fe(r.value.scope.split(" "),d=>(A(),N(ve,{key:d},[p("dt",Mbe,[p("code",null,T(d),1)]),p("dd",{innerHTML:i.$t(`oauth2.APP.SCOPE.${d}_DESCRIPTION`)},null,8,xbe)],64))),128))]),p("div",Fbe,[p("button",{class:"danger",onClick:o},T(i.$t("buttons.AUTHORIZE")),1),p("button",{class:"cancel",onClick:u[0]||(u[0]=d=>i.$router.push("/profile/apps"))},T(i.$t("buttons.CANCEL")),1)])])])):(A(),N("div",Wbe,[p("p",Gbe,T(i.$t("oauth2.NO_APP")),1),p("button",{onClick:u[1]||(u[1]=d=>i.$router.push("/profile/apps"))},T(i.$t("buttons.BACK")),1)]))])}}}),Bbe=re(zbe,[["__scopeId","data-v-a8ed6bf8"]]),Hbe={id:"oauth2-apps"},Vbe=Z({__name:"index",props:{user:{}},setup(e){const t=e,n=$e(),{user:r}=he(t);return Rt(()=>{n.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),n.commit(je.MUTATIONS.SET_CLIENTS,[])}),(a,s)=>{const o=ie("router-view");return A(),N("div",Hbe,[k(o,{authUser:h(r)},null,8,["authUser"])])}}}),jbe={id:"oauth2-app",class:"description-list"},Kbe={key:1},Ybe={key:0,class:"info-box success-message"},qbe=["title"],Xbe={key:0},Zbe={key:1,class:"app-secret"},Qbe=["title"],Jbe={class:"client-scopes"},eNe={class:"app-buttons"},tNe={key:2},nNe={class:"no-app"},rNe=Z({__name:"UserApp",props:{authUser:{},afterCreation:{type:Boolean,default:!1}},setup(e){const t=e,n=Kt(),r=$e(),{afterCreation:a,authUser:s}=he(t),o=$(()=>r.getters[je.GETTERS.CLIENT]),i=$(()=>r.getters[je.GETTERS.REVOCATION_SUCCESSFUL]),u=le(!1),l=le(""),c=le(!1),f=le(!1),d=le(!1);vt(()=>{m(),navigator.clipboard&&(d.value=!0)});function m(){!a.value&&n.params.id&&typeof n.params.id=="string"&&r.dispatch(je.ACTIONS.GET_CLIENT_BY_ID,+n.params.id)}function E(S){l.value=S?"oauth2.APP_DELETION_CONFIRMATION":"oauth2.TOKENS_REVOCATION_CONFIRMATION",I(!0)}function I(S){u.value=S,S||(l.value="")}function b(S){l.value==="oauth2.APP_DELETION_CONFIRMATION"?r.dispatch(je.ACTIONS.DELETE_CLIENT,S):r.dispatch(je.ACTIONS.REVOKE_ALL_TOKENS,S)}function v(){navigator.clipboard.writeText(o.value.client_id),c.value=!0,f.value=!1,setTimeout(()=>{c.value=!1},3e3)}function R(){o.value.client_secret&&(navigator.clipboard.writeText(o.value.client_secret),f.value=!0,c.value=!1,setTimeout(()=>{f.value=!1},3e3))}return Rt(()=>{r.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),r.commit(je.MUTATIONS.EMPTY_CLIENT),r.commit(je.MUTATIONS.SET_REVOCATION_SUCCESSFUL,!1)}),xe(()=>i.value,S=>{S&&I(!1)}),(S,O)=>{const y=ie("Modal");return A(),N("div",jbe,[u.value?(A(),te(y,{key:0,title:S.$t("common.CONFIRMATION"),message:S.$t(l.value),onConfirmAction:O[0]||(O[0]=P=>b(o.value.id)),onCancelAction:O[1]||(O[1]=P=>I(!1)),onKeydown:O[2]||(O[2]=Et(P=>I(!1),["esc"]))},null,8,["title","message"])):x("",!0),o.value&&o.value.client_id?(A(),N("div",Kbe,[h(a)||i.value?(A(),N("div",Ybe,T(S.$t(h(a)?"oauth2.APP_CREATED_SUCCESSFULLY":"oauth2.TOKENS_REVOKED")),1)):x("",!0),p("dl",null,[p("dt",null,T(S.$t("oauth2.APP.CLIENT_ID"))+":",1),p("dd",null,[j(T(o.value.client_id)+" ",1),h(a)&&d.value?(A(),N("i",{key:0,class:Ae(`fa fa-${c.value?"check":"copy"}`),"aria-hidden":"true",title:S.$t("oauth2.COPY_TO_CLIPBOARD"),onClick:v},null,10,qbe)):x("",!0)]),h(a)&&o.value.client_secret?(A(),N("dt",Xbe,T(S.$t("oauth2.APP.CLIENT_SECRET"))+": ",1)):x("",!0),h(a)&&o.value.client_secret?(A(),N("dd",Zbe,[j(T(o.value.client_secret)+" ",1),d.value?(A(),N("i",{key:0,class:Ae(`fa fa-${f.value?"check":"copy"}`),"aria-hidden":"true",title:S.$t("oauth2.COPY_TO_CLIPBOARD"),onClick:R},null,10,Qbe)):x("",!0)])):x("",!0),p("dt",null,T(Ot(S.$t("oauth2.APP.ISSUE_AT")))+":",1),p("dd",null,[p("time",null,T(h(Fn)(o.value.issued_at,h(s).timezone,h(s).date_format)),1)]),p("dt",null,T(S.$t("oauth2.APP.NAME"))+":",1),p("dd",null,T(o.value.name),1),p("dt",null,T(S.$t("oauth2.APP.DESCRIPTION"))+":",1),p("dd",{class:Ae({"no-description":!o.value.client_description})},T(o.value.client_description?o.value.client_description:S.$t("oauth2.NO_DESCRIPTION")),3),p("dt",null,T(S.$t("oauth2.APP.URL"))+":",1),p("dd",null,T(o.value.website),1),p("dt",null,T(S.$t("oauth2.APP.REDIRECT_URL"))+":",1),p("dd",null,T(o.value.redirect_uris.length>0?o.value.redirect_uris[0]:""),1),p("dt",null,T(S.$t("oauth2.APP.SCOPE.LABEL"))+":",1),p("dd",Jbe,[(A(!0),N(ve,null,Fe(o.value.scope.split(" "),P=>(A(),N("span",{class:"client-scope",key:P},[p("code",null,T(P),1)]))),128))])]),p("div",eNe,[p("button",{class:"danger",onClick:O[3]||(O[3]=P=>E(!1))},T(S.$t("oauth2.REVOKE_ALL_TOKENS")),1),p("button",{class:"danger",onClick:O[4]||(O[4]=P=>E(!0))},T(S.$t("oauth2.DELETE_APP")),1),p("button",{onClick:O[5]||(O[5]=P=>S.$router.push("/profile/apps"))},T(S.$t("buttons.BACK")),1)])])):(A(),N("div",tNe,[p("p",nNe,T(S.$t("oauth2.NO_APP")),1),p("button",{onClick:O[6]||(O[6]=P=>S.$router.push("/profile/apps"))},T(S.$t("buttons.BACK")),1)]))])}}}),Eh=re(rNe,[["__scopeId","data-v-3a7d0f4a"]]),aNe={id:"oauth2-apps-list"},sNe={class:"apps-list"},oNe={key:0},iNe={class:"app-issued-at"},uNe={key:1,class:"no-apps"},cNe={class:"app-list-buttons"},lNe=Z({__name:"UserAppsList",props:{authUser:{}},setup(e){const t=e,n=$e(),r=Kt(),{authUser:a}=he(t),s=$(()=>n.getters[je.GETTERS.CLIENTS]),o=$(()=>n.getters[je.GETTERS.CLIENTS_PAGINATION]);let i=u(r.query);vt(()=>{l(i)});function u(c){const f={};return c.page&&(f.page=Fd(c.page,SA)),f}function l(c){n.dispatch(je.ACTIONS.GET_CLIENTS,c)}return xe(()=>r.query,async c=>{i=u(c),l(i)}),(c,f)=>{const d=ie("router-link");return A(),N("div",aNe,[p("p",sNe,T(c.$t("oauth2.APPS_LIST")),1),s.value.length>0?(A(),N("ul",oNe,[(A(!0),N(ve,null,Fe(s.value,m=>(A(),N("li",{key:m.client_id},[k(d,{to:{name:"UserApp",params:{id:m.id}}},{default:ue(()=>[j(T(m.name),1)]),_:2},1032,["to"]),p("span",iNe,[j(T(c.$t("oauth2.APP.ISSUE_AT"))+" ",1),p("time",null,T(h(Fn)(m.issued_at,h(a).timezone,h(a).date_format)),1)])]))),128))])):(A(),N("div",uNe,T(c.$t("oauth2.NO_APPS")),1)),s.value.length>0?(A(),te(xu,{key:2,pagination:o.value,path:"/profile/apps",query:h(i)},null,8,["pagination","query"])):x("",!0),p("div",cNe,[p("button",{onClick:f[0]||(f[0]=m=>c.$router.push("/profile/apps/new"))},T(c.$t("oauth2.NEW_APP")),1),p("button",{onClick:f[1]||(f[1]=m=>c.$router.push("/"))},T(c.$t("common.HOME")),1)])])}}}),dNe=re(lNe,[["__scopeId","data-v-064a87b7"]]),fNe={id:"user-sport-preferences"},pNe={key:0,class:"responsive-table"},mNe={class:"mobile-display"},ENe={key:0,class:"profile-buttons mobile-display"},hNe={key:1,class:"profile-buttons"},_Ne={class:"text-left"},TNe={key:0},gNe={class:"cell-heading"},ANe=["value"],SNe={class:"cell-heading"},ONe={key:0,class:"disabled-message"},INe={key:1,class:"fa fa-refresh fa-spin fa-fw"},vNe={class:"cell-heading"},RNe={class:"cell-heading"},bNe=["checked"],NNe={class:"cell-heading"},yNe=["value"],CNe={key:1},DNe={key:0,class:"action-buttons"},PNe={class:"cell-heading"},wNe=["onClick"],LNe={key:1,class:"edition-buttons"},$Ne=["disabled"],kNe=["disabled","onClick"],UNe=["disabled"],MNe={key:0,class:"profile-buttons"},xNe={key:1,class:"profile-buttons"},FNe="#838383",WNe=Z({__name:"UserSportPreferences",props:{user:{},isEdition:{type:Boolean}},setup(e){const t=e,n=$e(),{t:r}=jt(),{isEdition:a,user:s}=he(t),o=_t("sportColors"),i=$(()=>n.getters[kt.GETTERS.SPORTS]),u=$(()=>Jr(i.value,r,"is_active",s.value.sports_list)),l=$(()=>n.getters[K.GETTERS.USER_LOADING]),c=$(()=>n.getters[H.GETTERS.ERROR_MESSAGES]),f=Ft({sport_id:0,color:null,is_active:!0,stopped_speed_threshold:1});function d(O){O!==null?(f.sport_id=O.id,f.color=O.color?O.color:o?o[O.label]:FNe,f.is_active=O.is_active_for_user,f.stopped_speed_threshold=O.stopped_speed_threshold):v()}function m(O){return f.sport_id===O}function E(O){f.color=O.target.value}function I(O){f.stopped_speed_threshold=parseFloat(O.target.value)}function b(O){f.is_active=O.target.checked}function v(){f.sport_id=0,f.color=null,f.is_active=!0,f.stopped_speed_threshold=1,n.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES)}function R(O){O.preventDefault(),n.dispatch(K.ACTIONS.UPDATE_USER_SPORT_PREFERENCES,f)}function S(O,y){O.preventDefault(),n.dispatch(K.ACTIONS.RESET_USER_SPORT_PREFERENCES,y)}return xe(()=>l.value,O=>{!O&&!c.value&&v()}),(O,y)=>{const P=ie("SportImage"),M=ie("ErrorMessage");return A(),N("div",fNe,[i.value.length>0?(A(),N("div",pNe,[p("div",mNe,[h(a)?(A(),N("div",ENe,[p("button",{class:"cancel",onClick:y[0]||(y[0]=Xe(w=>O.$router.push("/profile/sports"),["prevent"]))},T(O.$t("buttons.BACK")),1)])):(A(),N("div",hNe,[p("button",{onClick:y[1]||(y[1]=w=>O.$router.push("/profile/edit/sports"))},T(O.$t("user.PROFILE.EDIT_SPORTS_PREFERENCES")),1),p("button",{onClick:y[2]||(y[2]=w=>O.$router.push("/"))},T(O.$t("common.HOME")),1)]))]),p("table",null,[p("thead",null,[p("tr",null,[p("th",null,T(O.$t("user.PROFILE.SPORT.COLOR")),1),p("th",_Ne,T(O.$t("workouts.SPORT",0)),1),p("th",null,T(O.$t("workouts.WORKOUT",0)),1),p("th",null,T(O.$t("user.PROFILE.SPORT.IS_ACTIVE")),1),p("th",null,T(O.$t("user.PROFILE.SPORT.STOPPED_SPEED_THRESHOLD")),1),h(a)?(A(),N("th",TNe,T(O.$t("user.PROFILE.SPORT.ACTION")),1)):x("",!0)])]),p("tbody",null,[(A(!0),N(ve,null,Fe(u.value,w=>(A(),N("tr",{key:w.id},[p("td",null,[p("span",gNe,T(O.$t("user.PROFILE.SPORT.COLOR")),1),m(w.id)?(A(),N("input",{key:0,class:"sport-color",type:"color",value:f.color,onInput:E},null,40,ANe)):(A(),te(P,{key:1,title:w.translatedLabel,"sport-label":w.label,color:w.color?w.color:h(o)[w.label]},null,8,["title","sport-label","color"]))]),p("td",{class:Ae(["sport-label",{"disabled-sport":!w.is_active}])},[p("span",SNe,T(O.$t("user.PROFILE.SPORT.LABEL")),1),j(" "+T(w.translatedLabel)+" ",1),w.is_active?x("",!0):(A(),N("span",ONe," ("+T(O.$t("user.PROFILE.SPORT.DISABLED_BY_ADMIN"))+") ",1)),l.value&&m(w.id)?(A(),N("i",INe)):x("",!0),c.value&&f.sport_id===w.id?(A(),te(M,{key:2,message:c.value},null,8,["message"])):x("",!0)],2),p("td",{class:Ae(["text-center",{"disabled-sport":!w.is_active}])},[p("span",vNe,T(O.$t("workouts.WORKOUT",0)),1),p("i",{class:Ae(`fa fa${h(s).sports_list.includes(w.id)?"-check":""}`),"aria-hidden":"true"},null,2)],2),p("td",{class:Ae(["text-center",{"disabled-sport":!w.is_active}])},[p("span",RNe,T(O.$t("user.PROFILE.SPORT.IS_ACTIVE")),1),m(w.id)&&w.is_active?(A(),N("input",{key:0,type:"checkbox",checked:w.is_active_for_user,onChange:b},null,40,bNe)):(A(),N("i",{key:1,class:Ae(`fa fa${w.is_active_for_user?"-check":""}`),"aria-hidden":"true"},null,2))],2),p("td",{class:Ae(["text-center",{"disabled-sport":!w.is_active}])},[p("span",NNe,T(O.$t("user.PROFILE.SPORT.STOPPED_SPEED_THRESHOLD")),1),m(w.id)&&w.is_active?(A(),N("input",{key:0,class:"threshold-input",type:"number",min:"0",step:"0.1",value:f.stopped_speed_threshold,onInput:I},null,40,yNe)):(A(),N("span",CNe,T(w.stopped_speed_threshold),1))],2),h(a)?(A(),N("td",DNe,[p("span",PNe,T(O.$t("user.PROFILE.SPORT.ACTION")),1),f.sport_id===0?(A(),N("button",{key:0,onClick:G=>d(w)},T(O.$t("buttons.EDIT")),9,wNe)):x("",!0),m(w.id)?(A(),N("div",LNe,[p("button",{disabled:l.value,onClick:R},T(O.$t("buttons.SUBMIT")),9,$Ne),p("button",{disabled:l.value,onClick:G=>S(G,w.id)},T(O.$t("buttons.RESET")),9,kNe),p("button",{disabled:l.value,onClick:y[3]||(y[3]=G=>d(null))},T(O.$t("buttons.CANCEL")),9,UNe)])):x("",!0)])):x("",!0)]))),128))])]),h(a)?(A(),N("div",MNe,[p("button",{class:"cancel",onClick:y[4]||(y[4]=Xe(w=>O.$router.push("/profile/sports"),["prevent"]))},T(O.$t("buttons.BACK")),1)])):(A(),N("div",xNe,[p("button",{onClick:y[5]||(y[5]=w=>O.$router.push("/profile/edit/sports"))},T(O.$t("user.PROFILE.EDIT_SPORTS_PREFERENCES")),1),p("button",{onClick:y[6]||(y[6]=w=>O.$router.push("/"))},T(O.$t("common.HOME")),1)]))])):x("",!0)])}}}),hh=re(WNe,[["__scopeId","data-v-aa4857fe"]]),Mo=e=>(ct("data-v-34b1686b"),e=e(),lt(),e),GNe={class:"about-text"},zNe=["innerHTML"],BNe=Mo(()=>p("i",{class:"fa fa-book fa-padding","aria-hidden":"true"},null,-1)),HNe=["href"],VNe=Mo(()=>p("i",{class:"fa fa-github fa-padding","aria-hidden":"true"},null,-1)),jNe={href:"https://github.com/SamR1/FitTrackee",target:"_blank",rel:"noopener noreferrer"},KNe=Mo(()=>p("i",{class:"fa fa-balance-scale fa-padding","aria-hidden":"true"},null,-1)),YNe=Mo(()=>p("a",{href:"https://choosealicense.com/licenses/agpl-3.0/",target:"_blank",rel:"noopener noreferrer"},"AGPLv3",-1)),qNe={key:0},XNe=Mo(()=>p("i",{class:"fa fa-envelope-o fa-padding","aria-hidden":"true"},null,-1)),ZNe=["href"],QNe={key:1},JNe=["href"],e3e={class:"about-instance"},t3e=["innerHTML"],n3e=Z({__name:"About",setup(e){const t=$e(),n=$(()=>t.getters[H.GETTERS.APP_CONFIG]),r=$(()=>o()),a=$(()=>t.getters[H.GETTERS.LANGUAGE]),s=$(()=>i());function o(){const u={};return n.value.weather_provider==="visualcrossing"&&(u.name="Visual Crossing",u.url="https://www.visualcrossing.com"),u}function i(){let u="https://samr1.github.io/FitTrackee/";return a.value==="fr"&&(u+="fr/"),u}return(u,l)=>{const c=ie("i18n-t");return A(),N("div",GNe,[p("div",null,[p("p",{class:"error-message",innerHTML:u.$t("about.FITTRACKEE_DESCRIPTION")},null,8,zNe),p("p",null,[BNe,p("a",{class:"documentation-link",href:s.value,target:"_blank",rel:"noopener noreferrer"},T(Ot(u.$t("common.DOCUMENTATION"))),9,HNe)]),p("p",null,[VNe,p("a",jNe,T(u.$t("about.SOURCE_CODE")),1)]),p("p",null,[KNe,k(c,{keypath:"about.FITTRACKEE_LICENSE"},{default:ue(()=>[YNe]),_:1})]),n.value.admin_contact?(A(),N("div",qNe,[XNe,p("a",{href:`mailto:${n.value.admin_contact}`},T(u.$t("about.CONTACT_ADMIN")),9,ZNe)])):x("",!0),r.value&&r.value.name?(A(),N("div",QNe,[j(T(u.$t("about.WEATHER_DATA_FROM"))+" ",1),p("a",{href:r.value.url,target:"_blank",rel:"nofollow noopener"},T(r.value.name),9,JNe)])):x("",!0),n.value.about?(A(),N(ve,{key:2},[p("p",e3e,T(u.$t("about.ABOUT_THIS_INSTANCE")),1),p("div",{innerHTML:h(pa)(h(_o)(n.value.about))},null,8,t3e)],64)):x("",!0)])])}}}),r3e=re(n3e,[["__scopeId","data-v-34b1686b"]]),a3e={},s3e={id:"bike"},o3e=["src"];function i3e(e,t){return A(),N("div",s3e,[p("img",{class:"bike-img",src:"/img/bike.svg",alt:"mountain bike"},null,8,o3e)])}const jA=re(a3e,[["render",i3e],["__scopeId","data-v-dc181e30"]]),u3e={id:"about",class:"view"},c3e={class:"container"},l3e={class:"container-sub"},d3e={class:"container-sub about-details"},f3e=Z({__name:"AboutView",setup(e){return(t,n)=>(A(),N("div",u3e,[p("div",c3e,[p("div",l3e,[k(jA)]),p("div",d3e,[k(r3e)])])]))}}),p3e=re(f3e,[["__scopeId","data-v-ef9c7198"]]),m3e={id:"error"},E3e={class:"error-content"},h3e=Z({__name:"Error",props:{title:{},message:{},buttonText:{},path:{default:"/"}},setup(e){const t=e,{buttonText:n,title:r,message:a,path:s}=he(t);return(o,i)=>(A(),N("div",m3e,[p("div",E3e,[p("h1",null,T(h(r)),1),p("p",null,T(h(a)),1),h(n)?(A(),N("button",{key:0,onClick:i[0]||(i[0]=u=>o.$router.push(h(s))),class:"upper"},T(h(n)),1)):x("",!0)])]))}}),_3e=re(h3e,[["__scopeId","data-v-48ec856d"]]),I0=Z({__name:"NotFound",props:{target:{default:"PAGE"}},setup(e){const t=e,{target:n}=he(t),r=le(),a=le(!1);Tt(()=>s());function s(){r.value=setTimeout(()=>{a.value=!0},500)}return Rt(()=>{r.value&&clearTimeout(r.value)}),(o,i)=>a.value?(A(),te(_3e,{key:0,title:"404",message:o.$t(`error.NOT_FOUND.${h(n)}`),"button-text":o.$t("common.HOME")},null,8,["message","button-text"])):x("",!0)}}),T3e=e=>(ct("data-v-5eee0876"),e=e(),lt(),e),g3e={id:"admin",class:"view"},A3e={key:0,class:"container"},S3e=T3e(()=>p("div",{id:"bottom"},null,-1)),O3e=Z({__name:"AdminView",setup(e){const t=$e(),n=$(()=>t.getters[H.GETTERS.APP_CONFIG]),r=$(()=>t.getters[H.GETTERS.APP_STATS]),a=$(()=>t.getters[K.GETTERS.IS_ADMIN]),s=$(()=>t.getters[K.GETTERS.USER_LOADING]);return vt(()=>t.dispatch(H.ACTIONS.GET_APPLICATION_STATS)),(o,i)=>{const u=ie("router-view");return A(),N("div",g3e,[s.value?x("",!0):(A(),N("div",A3e,[a.value?(A(),te(u,{key:0,appConfig:n.value,appStatistics:r.value},null,8,["appConfig","appStatistics"])):(A(),te(I0,{key:1})),S3e]))])}}}),I3e=re(O3e,[["__scopeId","data-v-5eee0876"]]),KA="/img/workouts/mountains.svg",v3e=p("div",{class:"map-attribution"},[p("span",{class:"map-attribution-text"},"©"),p("a",{class:"map-attribution-text",href:"https://www.openstreetmap.org/copyright",target:"_blank",rel:"noopener noreferrer"}," OpenStreetMap ")],-1),YA=Z({__name:"StaticMap",props:{workout:{},displayHover:{type:Boolean,default:!1}},setup(e){const t=e,{displayHover:n}=he(t),r=`${bo()}workouts/map/${t.workout.map}`;return(a,s)=>(A(),N("div",{class:Ae(["static-map",{"display-hover":h(n)}])},[h(n)?(A(),N("img",{key:0,src:r,alt:""})):(A(),N("div",{key:1,class:"bg-map-image",style:Yr({backgroundImage:`url(${r})`})},null,4)),v3e],2))}}),v0=e=>(ct("data-v-0bcae633"),e=e(),lt(),e),R3e={class:"timeline-workout"},b3e={class:"box"},N3e={class:"workout-user-date"},y3e={class:"workout-user"},C3e=["title"],D3e={key:0},P3e={key:1,class:"no-map"},w3e={class:"img"},L3e={class:"data"},$3e=v0(()=>p("i",{class:"fa fa-clock-o","aria-hidden":"true"},null,-1)),k3e={key:0},U3e={class:"data"},M3e=v0(()=>p("i",{class:"fa fa-road","aria-hidden":"true"},null,-1)),x3e={key:0,class:"data elevation"},F3e=["alt"],W3e={class:"data-values"},G3e={key:1,class:"data altitude"},z3e=v0(()=>p("i",{class:"fa fa-location-arrow","aria-hidden":"true"},null,-1)),B3e={class:"data-values"},H3e=Z({__name:"WorkoutCard",props:{user:{},useImperialUnits:{type:Boolean},workout:{default:()=>({})},sport:{default:()=>({})}},setup(e){const t=e,n=$e(),{user:r,workout:a,sport:s,useImperialUnits:o}=he(t),i=$(()=>n.getters[H.GETTERS.LOCALE]);function u(c){return c.with_gpx&&c.min_alt!==null&&c.max_alt!==null}function l(c){return u(c)&&c.ascent!==null&&c.descent!==null}return(c,f)=>{var I;const d=ie("router-link"),m=ie("SportImage"),E=ie("Distance");return A(),N("div",R3e,[p("div",b3e,[p("div",N3e,[p("div",y3e,[k(No,{user:h(r)},null,8,["user"]),h(r).username?(A(),te(d,{key:0,class:"workout-user-name",to:{name:"User",params:{username:h(r).username}}},{default:ue(()=>[j(T(h(r).username),1)]),_:1},8,["to"])):x("",!0)]),h(a).id?(A(),te(d,{key:0,class:"workout-title",to:{name:"Workout",params:{workoutId:h(a).id}}},{default:ue(()=>[j(T(h(a).title),1)]),_:1},8,["to"])):x("",!0),h(a).workout_date&&h(r)?(A(),N("div",{key:1,class:"workout-date",title:h(Fn)(h(a).workout_date,h(r).timezone,h(r).date_format)},T(h(M3)(new Date(h(a).workout_date),new Date,{addSuffix:!0,locale:i.value})),9,C3e)):x("",!0)]),p("div",{class:Ae(["workout-map",{"no-cursor":!h(a)}]),onClick:f[0]||(f[0]=b=>h(a).id?c.$router.push({name:"Workout",params:{workoutId:h(a).id}}):null)},[h(a)?(A(),N("div",D3e,[h(a).with_gpx?(A(),te(YA,{key:0,workout:h(a)},null,8,["workout"])):(A(),N("div",P3e,T(c.$t("workouts.NO_MAP")),1))])):x("",!0)],2),p("div",{class:Ae(["workout-data",{"without-elevation":!u(h(a))}]),onClick:f[1]||(f[1]=b=>h(a).id?c.$router.push({name:"Workout",params:{workoutId:h(a).id}}):null)},[p("div",w3e,[(I=h(s))!=null&&I.label?(A(),te(m,{key:0,"sport-label":h(s).label,color:h(s).color},null,8,["sport-label","color"])):x("",!0)]),p("div",L3e,[$3e,h(a)?(A(),N("span",k3e,T(h(a).moving),1)):x("",!0)]),p("div",U3e,[M3e,h(a).id?(A(),te(E,{key:0,distance:h(a).distance,digits:3,unitFrom:"km",useImperialUnits:h(o)},null,8,["distance","useImperialUnits"])):x("",!0)]),u(h(a))?(A(),N("div",x3e,[p("img",{class:"mountains",src:KA,alt:c.$t("workouts.ELEVATION")},null,8,F3e),p("div",W3e,[h(a).id?(A(),te(E,{key:0,distance:h(a).min_alt,unitFrom:"m",displayUnit:!1,useImperialUnits:h(o)},null,8,["distance","useImperialUnits"])):x("",!0),j("/ "),h(a).id?(A(),te(E,{key:1,distance:h(a).max_alt,unitFrom:"m",useImperialUnits:h(o)},null,8,["distance","useImperialUnits"])):x("",!0)])])):x("",!0),l(h(a))?(A(),N("div",G3e,[z3e,p("div",B3e,[j(" +"),h(a).id?(A(),te(E,{key:0,distance:h(a).ascent,unitFrom:"m",displayUnit:!1,useImperialUnits:h(o)},null,8,["distance","useImperialUnits"])):x("",!0),j("/- "),h(a).id?(A(),te(E,{key:1,distance:h(a).descent,unitFrom:"m",useImperialUnits:h(o)},null,8,["distance","useImperialUnits"])):x("",!0)])])):x("",!0)],2)])])}}}),_h=re(H3e,[["__scopeId","data-v-0bcae633"]]),V3e={},j3e={class:"no-workouts box"};function K3e(e,t){const n=ie("router-link");return A(),N("div",j3e,[p("div",null,[j(T(e.$t("workouts.NO_WORKOUTS"))+" ",1),k(n,{to:"/workouts/add"},{default:ue(()=>[j(T(e.$t("workouts.UPLOAD_FIRST_WORKOUT")),1)]),_:1})])])}const R0=re(V3e,[["render",K3e],["__scopeId","data-v-b0c91cc6"]]),Gr={ligthMode:{text:"#666",line:"rgba(0, 0, 0, 0.1)"},darkMode:{text:"#a1a1a1",line:"#3f3f3f"}},Y3e=(e,t,n,r=!1)=>{const a={speed:{label:t("workouts.SPEED"),backgroundColor:["transparent"],borderColor:[r?"#5f5c97":"#8884d8"],borderWidth:2,data:[],yAxisID:"ySpeed"},elevation:{label:t("workouts.ELEVATION"),backgroundColor:[r?"#303030":"#e5e5e5"],borderColor:[r?"#222222":"#cccccc"],borderWidth:1,fill:!0,data:[],yAxisID:"yElevation"}},s=[],o=[],i=[];return e.map(u=>{s.push(Ni("km",u.distance,n)),o.push(u.duration),a.speed.data.push(Ni("km",u.speed,n)),u.elevation!==void 0&&a.elevation.data.push(Ni("m",u.elevation,n)),i.push({latitude:u.latitude,longitude:u.longitude})}),{distance_labels:s,duration_labels:o,datasets:a,coordinates:i}},q3e=e=>{const t=e.length;if(t===0)return{};const n={};return e.map(r=>{n[r.sport_id]||(n[r.sport_id]={count:0,percentage:0}),n[r.sport_id].count+=1,n[r.sport_id].percentage=n[r.sport_id].count/t}),n},go={order:"desc",order_by:"workout_date"},X3e={id:"timeline"},Z3e={class:"section-title"},Q3e={key:0},J3e={key:1},eye={key:1,class:"more-workouts"},pi=5,tye=Z({__name:"Timeline",props:{sports:{},user:{}},setup(e){const t=e,n=$e(),{sports:r,user:a}=he(t),s=le(1),o=t.user.nb_workouts>=pi?pi:t.user.nb_workouts;vt(()=>l());const i=$(()=>n.getters[ge.GETTERS.TIMELINE_WORKOUTS]),u=$(()=>i.value.length>0?i.value[i.value.length-1].previous_workout!==null:!1);function l(){n.dispatch(ge.ACTIONS.GET_TIMELINE_WORKOUTS,{page:s.value,per_page:pi,...go})}function c(){s.value+=1,n.dispatch(ge.ACTIONS.GET_MORE_TIMELINE_WORKOUTS,{page:s.value,per_page:pi,...go})}return(f,d)=>(A(),N("div",X3e,[p("div",Z3e,T(f.$t("workouts.LATEST_WORKOUTS")),1),h(a).nb_workouts>0&&i.value.length===0?(A(),N("div",Q3e,[(A(!0),N(ve,null,Fe([...Array(h(o)).keys()],m=>(A(),te(_h,{user:h(a),useImperialUnits:h(a).imperial_units,key:m},null,8,["user","useImperialUnits"]))),128))])):(A(),N("div",J3e,[(A(!0),N(ve,null,Fe(i.value,m=>(A(),te(_h,{workout:m,sport:i.value.length>0?h(r).filter(E=>E.id===m.sport_id)[0]:null,user:h(a),useImperialUnits:h(a).imperial_units,key:m.id},null,8,["workout","sport","user","useImperialUnits"]))),128)),i.value.length===0?(A(),te(R0,{key:0})):x("",!0),u.value?(A(),N("div",eye,[p("button",{onClick:c},T(f.$t("workouts.LOAD_MORE_WORKOUT")),1)])):x("",!0)]))]))}}),nye=re(tye,[["__scopeId","data-v-e0964959"]]),rye=["title"],qA=Z({__name:"CalendarWorkout",props:{displayHARecord:{type:Boolean},workout:{},sportLabel:{},sportColor:{}},setup(e){const t=e,{displayHARecord:n,workout:r,sportLabel:a,sportColor:s}=he(t);return(o,i)=>{const u=ie("SportImage");return A(),N("div",{class:"calendar-workout",onClick:i[0]||(i[0]=l=>o.$router.push({name:"Workout",params:{workoutId:h(r).id}}))},[k(u,{"sport-label":h(a),title:h(r).title,color:h(s)},null,8,["sport-label","title","color"]),p("sup",null,[h(r).records.length>0?(A(),N("i",{key:0,class:"fa fa-trophy custom-fa-small","aria-hidden":"true",title:h(r).records.filter(l=>h(n)?!0:l.record_type!=="HA").map(l=>` ${o.$t(`workouts.RECORD_${l.record_type}`)}`)[0]},null,8,rye)):x("",!0)])])}}}),aye={class:"donut-chart"},sye={height:"34",width:"34",viewBox:"0 0 34 34"},oye=["stroke","stroke-dashoffset","transform"],Th=16,gh=16,Ah=14,iye=Z({__name:"DonutChart",props:{colors:{},datasets:{}},setup(e){const t=e,{colors:n,datasets:r}=he(t);let a=-90;const s=2*Math.PI*Ah;function o(u,l){return l-u*l}function i(u,l){const c=`rotate(${a}, ${Th}, ${gh})`;return a=l*360+a,c}return(u,l)=>(A(),N("div",aye,[(A(),N("svg",sye,[(A(!0),N(ve,null,Fe(Object.entries(h(r)),(c,f)=>(A(),N("g",{key:f},[p("circle",{cx:Th,cy:gh,r:Ah,fill:"transparent",stroke:h(n)[+c[0]],"stroke-dashoffset":o(c[1].percentage,s),"stroke-dasharray":s,"stroke-width":"3","stroke-opacity":"0.8",transform:i(f,c[1].percentage)},null,8,oye)]))),128))]))]))}}),uye={class:"calendar-workouts-chart"},cye={class:"workouts-count"},lye={key:0,class:"workouts-pane"},dye={class:"more-workouts"},fye=Z({__name:"CalendarWorkoutsChart",props:{colors:{},datasets:{},sports:{},workouts:{},displayHARecord:{type:Boolean}},setup(e){const t=e,{colors:n,datasets:r,sports:a,workouts:s}=he(t),o=le(!0);function i(u){u.stopPropagation(),o.value=!o.value}return(u,l)=>{const c=BO("click-outside");return A(),N("div",uye,[p("div",{class:"workouts-chart",onClick:i},[p("div",cye,T(h(s).length),1),k(iye,{datasets:h(r),colors:h(n)},null,8,["datasets","colors"])]),o.value?x("",!0):(A(),N("div",lye,[Ke((A(),N("div",dye,[p("i",{class:"fa fa-times calendar-more","aria-hidden":"true",onClick:i}),(A(!0),N(ve,null,Fe(h(s),(f,d)=>(A(),te(qA,{key:d,displayHARecord:u.displayHARecord,workout:f,sportLabel:h(_0)(f,h(a)),sportColor:h(T0)(f,h(a))},null,8,["displayHARecord","workout","sportLabel","sportColor"]))),128))])),[[c,i]])]))])}}}),Sh=re(fye,[["__scopeId","data-v-bf05bb20"]]),pye={class:"calendar-workouts"},mye={class:"desktop-display"},Eye={key:0,class:"workouts-display"},hye={key:1,class:"donut-display"},_ye={class:"mobile-display"},Tye={key:0,class:"donut-display"},Oh=6,gye=Z({__name:"CalendarWorkouts",props:{displayHARecord:{type:Boolean},workouts:{},sports:{}},setup(e){const t=e,{displayHARecord:n,workouts:r,sports:a}=he(t),s=$(()=>q3e(t.workouts)),o=$(()=>fAe(t.sports));return(i,u)=>(A(),N("div",pye,[p("div",mye,[h(r).length<=Oh?(A(),N("div",Eye,[(A(!0),N(ve,null,Fe(h(r).slice(0,Oh),(l,c)=>(A(),te(qA,{key:c,displayHARecord:h(n),workout:l,sportLabel:h(_0)(l,h(a)),sportColor:h(T0)(l,h(a))},null,8,["displayHARecord","workout","sportLabel","sportColor"]))),128))])):(A(),N("div",hye,[k(Sh,{workouts:h(r),sports:h(a),datasets:s.value,colors:o.value,displayHARecord:h(n)},null,8,["workouts","sports","datasets","colors","displayHARecord"])]))]),p("div",_ye,[h(r).length>0?(A(),N("div",Tye,[k(Sh,{workouts:h(r),sports:h(a),datasets:s.value,colors:o.value,displayHARecord:h(n)},null,8,["workouts","sports","datasets","colors","displayHARecord"])])):x("",!0)])]))}}),Aye={class:"calendar-cells"},Sye={class:"calendar-cell-day"},Oye=Z({__name:"CalendarCells",props:{currentDay:{},displayHARecord:{type:Boolean},endDate:{},sports:{},startDate:{},timezone:{},weekStartingMonday:{type:Boolean},workouts:{}},setup(e){const t=e,{currentDay:n,displayHARecord:r,endDate:a,sports:s,startDate:o,timezone:i,weekStartingMonday:u,workouts:l}=he(t),c=le([]);Tt(()=>f());function f(){c.value=[];let E=o.value;for(;E<=a.value;){const I=[];for(let b=0;b<7;b++)I.push(E),E=yo(E,1);c.value.push(I)}}function d(E){return u.value?[5,6].includes(E):[0,6].includes(E)}function m(E,I){return I?I.filter(b=>lT(yc(b.workout_date,i.value),E)).reverse():[]}return xe(()=>t.currentDay,()=>f()),(E,I)=>(A(),N("div",Aye,[(A(!0),N(ve,null,Fe(c.value,(b,v)=>(A(),N("div",{class:"calendar-row",key:v},[(A(!0),N(ve,null,Fe(b,(R,S)=>(A(),N("div",{class:Ae(["calendar-cell",{"disabled-cell":!h(F3)(R,h(n)),"week-end":d(S),today:h(W3)(R)}]),key:S},[k(gye,{workouts:m(R,h(l)),sports:h(s),displayHARecord:h(r)},null,8,["workouts","sports","displayHARecord"]),p("div",Sye,T(h(dn)(R,"d")),1)],2))),128))]))),128))]))}}),Iye={class:"calendar-days"},vye=Z({__name:"CalendarDays",props:{startDate:{},localeOptions:{}},setup(e){const t=e,n=[];for(let r=0;r<7;r++)n.push(yo(t.startDate,r));return(r,a)=>(A(),N("div",Iye,[(A(),N(ve,null,Fe(n,(s,o)=>p("div",{class:"calendar-day",key:o},T(h(dn)(s,"EEE",{locale:r.localeOptions})),1)),64))]))}}),Rye={class:"calendar-header"},bye=p("i",{class:"fa fa-chevron-left","aria-hidden":"true"},null,-1),Nye=[bye],yye={class:"calendar-month"},Cye=p("i",{class:"fa fa-chevron-right","aria-hidden":"true"},null,-1),Dye=[Cye],Pye=Z({__name:"CalendarHeader",props:{day:{},localeOptions:{}},emits:["displayNextMonth","displayPreviousMonth"],setup(e,{emit:t}){const n=e,r=t,{day:a,localeOptions:s}=he(n);return(o,i)=>(A(),N("div",Rye,[p("div",{class:"calendar-arrow calendar-arrow-left",onClick:i[0]||(i[0]=u=>r("displayPreviousMonth"))},Nye),p("div",yye,[p("span",null,T(h(dn)(h(a),"MMM yyyy",{locale:h(s)})),1)]),p("div",{class:"calendar-arrow calendar-arrow-right",onClick:i[1]||(i[1]=u=>r("displayNextMonth"))},Dye)]))}}),wye={id:"user-calendar"},Lye={class:"calendar-card box"},Ih="yyyy-MM-dd",$ye=Z({__name:"index",props:{sports:{},user:{}},setup(e){const t=e,n=$e(),{sports:r,user:a}=he(t),s=le(new Date),o=le(th(s.value,a.value.weekm)),i=$(()=>n.getters[ge.GETTERS.CALENDAR_WORKOUTS]),u=$(()=>n.getters[H.GETTERS.LOCALE]);vt(()=>l());function l(){o.value=th(s.value,t.user.weekm);const d={from:dn(o.value.start,Ih),to:dn(o.value.end,Ih),page:1,per_page:100,...go};n.dispatch(ge.ACTIONS.GET_CALENDAR_WORKOUTS,d)}function c(){s.value=Xa(s.value,1),l()}function f(){s.value=no(s.value,1),l()}return(d,m)=>(A(),N("div",wye,[p("div",Lye,[k(Pye,{day:s.value,"locale-options":u.value,onDisplayNextMonth:c,onDisplayPreviousMonth:f},null,8,["day","locale-options"]),k(vye,{"start-date":o.value.start,"locale-options":u.value},null,8,["start-date","locale-options"]),k(Oye,{currentDay:s.value,displayHARecord:h(a).display_ascent,"end-date":o.value.end,sports:h(r),"start-date":o.value.start,timezone:h(a).timezone,workouts:i.value,weekStartingMonday:h(a).weekm},null,8,["currentDay","displayHARecord","end-date","sports","start-date","timezone","workouts","weekStartingMonday"])])]))}}),XA={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},kye={ariaLabel:{type:String},ariaDescribedby:{type:String}},Uye={type:{type:String,required:!0},...XA,...kye},Mye=z_[0]==="2"?(e,t)=>Object.assign(e,{attrs:t}):(e,t)=>Object.assign(e,t);function wa(e){return Hu(e)?Qe(e):e}function xye(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;return Hu(t)?new Proxy(e,{}):e}function Fye(e,t){const n=e.options;n&&t&&Object.assign(n,t)}function ZA(e,t){e.labels=t}function QA(e,t,n){const r=[];e.datasets=t.map(a=>{const s=e.datasets.find(o=>o[n]===a[n]);return!s||!a.data||r.includes(s)?{...a}:(r.push(s),Object.assign(s,a),s)})}function Wye(e,t){const n={labels:[],datasets:[]};return ZA(n,e.labels),QA(n,e.datasets,t),n}const Gye=Z({props:Uye,setup(e,t){let{expose:n,slots:r}=t;const a=le(null),s=Ao(null);n({chart:s});const o=()=>{if(!a.value)return;const{type:l,data:c,options:f,plugins:d,datasetIdKey:m}=e,E=Wye(c,m),I=xye(E,c);s.value=new Yd(a.value,{type:l,data:I,options:{...f},plugins:d})},i=()=>{const l=Qe(s.value);l&&(l.destroy(),s.value=null)},u=l=>{l.update(e.updateMode)};return Tt(o),So(i),xe([()=>e.options,()=>e.data],(l,c)=>{let[f,d]=l,[m,E]=c;const I=Qe(s.value);if(!I)return;let b=!1;if(f){const v=wa(f),R=wa(m);v&&v!==R&&(Fye(I,v),b=!0)}if(d){const v=wa(d.labels),R=wa(E.labels),S=wa(d.datasets),O=wa(E.datasets);v!==R&&(ZA(I.config.data,v),b=!0),S&&S!==O&&(QA(I.config.data,S,e.datasetIdKey),b=!0)}b&&An(()=>{u(I)})},{deep:!0}),()=>Sn("canvas",{role:"img",ariaLabel:e.ariaLabel,ariaDescribedby:e.ariaDescribedby,ref:a},[Sn("p",{},[r.default?r.default():""])])}});function JA(e,t){return Yd.register(t),Z({props:XA,setup(n,r){let{expose:a}=r;const s=Ao(null),o=i=>{s.value=i==null?void 0:i.chart};return a({chart:s}),()=>Sn(Gye,Mye({ref:o},{type:e,...n}))}})}const zye=JA("bar",Fh),Bye=JA("line",Wh),Hye=(e,t=!1)=>{let n="0";t&&(n=String(Math.floor(e/86400)),e%=86400);const r=String(Math.floor(e/3600)).padStart(2,"0");e%=3600;const a=String(Math.floor(e/60)).padStart(2,"0"),s=String(e%60).padStart(2,"0");return t?`${n==="0"?"":`${n}d `}${r==="00"?"":`${r}h `}${a}m ${s}s`:`${r==="00"?"":`${r}:`}${a}:${s}`},Ls=(e,t,n,r=!0,a="km")=>{const s=n?kn[a].defaultTarget:a;switch(e){case"average_speed":return`${t.toFixed(2)} ${s}/h`;case"total_duration":return Hye(t,r);case"total_distance":case"total_ascent":case"total_descent":return`${t.toFixed(2)} ${s}`;default:return t.toString()}},Vye=Z({__name:"Chart",props:{datasets:{},labels:{},displayedData:{},displayedSportIds:{},fullStats:{type:Boolean},useImperialUnits:{type:Boolean}},setup(e){const t=e,{datasets:n,labels:r,displayedData:a,displayedSportIds:s,fullStats:o,useImperialUnits:i}=he(t),u=Cf(),{t:l}=jt(),c=$(()=>u.getters[H.GETTERS.DARK_MODE]),f=$(()=>yf(c.value)),d=$(()=>({color:f.value?Gr.darkMode.line:Gr.ligthMode.line})),m=$(()=>({color:f.value?Gr.darkMode.text:Gr.ligthMode.text})),E=$(()=>({labels:r.value,datasets:JSON.parse(JSON.stringify(n.value))})),I=$(()=>({responsive:!0,maintainAspectRatio:!1,animation:!1,layout:{padding:{top:o.value?40:22}},scales:{x:{stacked:!0,grid:{drawOnChartArea:!1,...d.value},border:{...d.value},ticks:{...m.value}},y:{stacked:a.value!=="average_speed",grid:{drawOnChartArea:!1,...d.value},border:{...d.value},ticks:{maxTicksLimit:6,callback:function(S){return Ls(a.value,+S,i.value,!1,R(a.value))},...m.value},afterFit:function(S){S.width=o.value?90:60}}},plugins:{datalabels:{anchor:"end",align:"end",color:function(S){return a.value==="average_speed"&&S.dataset.backgroundColor?S.dataset.backgroundColor[0]:m.value.color},rotation:function(S){return o.value&&S.chart.chartArea.width<580?310:0},display:function(S){return o.value&&S.chart.chartArea.width<300?!1:a.value==="average_speed"?s.value.length==1?"auto":!1:!0},formatter:function(S,O){if(a.value==="average_speed")return Ls(a.value,S,i.value,!1);{const y=O.chart.data.datasets.map(P=>P.data[O.dataIndex]).reduce((P,M)=>v(P,M),0);return O.datasetIndex===s.value.length-1&&y>0?Ls(a.value,y,i.value,!1,R(a.value)):null}}},legend:{display:!1},tooltip:{interaction:{intersect:!0,mode:"index",position:a.value==="average_speed"?"nearest":"average"},filter:function(S){return S.formattedValue!=="0"},callbacks:{label:function(S){let O=l(`sports.${S.dataset.label}.LABEL`)||"";return O&&(O+=": "),S.parsed.y!==null&&(O+=Ls(a.value,S.parsed.y,i.value,!0,R(a.value))),O},footer:function(S){if(a.value==="average_speed")return"";let O=0;return S.map(y=>{O+=y.parsed.y}),`${l("common.TOTAL")}: `+Ls(a.value,O,i.value,!0,R(a.value))}}}}}));function b(S){return isNaN(S)?0:+S}function v(S,O){return b(S)+b(O)}function R(S){return["total_ascent","total_descent"].includes(S)?"m":"km"}return(S,O)=>(A(),N("div",{class:Ae(["bar-chart",{minimal:!h(o)}])},[k(h(zye),{data:E.value,options:I.value},null,8,["data","options"])],2))}}),jye=re(Vye,[["__scopeId","data-v-d506f845"]]),{locale:vh}=Aa.global,Kye={week:{api:"yyyy-MM-dd",chart:"MM/dd/yyyy"},month:{api:"yyyy-MM",chart:"MM/yyyy"},year:{api:"yyyy",chart:"yyyy"}},Yye=["average_speed","nb_workouts","total_duration","total_distance","total_ascent","total_descent"],qye=(e,t)=>{const n=[];for(let r=bSe(e.duration,e.start,t);r<=e.end;r=NSe(e.duration,r))n.push(r);return n},La=(e,t,n=!1)=>{const r={label:e,backgroundColor:[t],data:[]};return n?(r.type="line",r.borderColor=[t],r.spanGaps=!0):r.type="bar",r},Xye=e=>{const t={average_speed:[],nb_workouts:[],total_distance:[],total_duration:[],total_ascent:[],total_descent:[]};return e.map(n=>{const r=n.color?n.color:h0[n.label];t.average_speed.push(La(n.label,r,!0)),t.nb_workouts.push(La(n.label,r)),t.total_distance.push(La(n.label,r)),t.total_duration.push(La(n.label,r)),t.total_ascent.push(La(n.label,r)),t.total_descent.push(La(n.label,r))}),t},Zye=(e,t,n)=>{switch(e){case"average_speed":case"total_distance":case"total_ascent":case"total_descent":return Ni(["average_speed","total_distance"].includes(e)?"km":"m",t,n);default:case"nb_workouts":case"total_duration":return t}},Qye=(e,t,n,r,a,s,o)=>{const i=qye(e,t),u=Kye[e.duration],l=n.filter(m=>r.includes(m.id)),c=[],f=Xye(l),d={};return l.map(m=>d[m.label]=m.id),i.map(m=>{const E=dn(m,u.api),I=dn(m,e.duration==="week"?Oa(o,vh.value):u.chart,{locale:Po[vh.value]});c.push(I),Yye.map(b=>{f[b].map(v=>{v.data.push(E in a&&d[v.label]in a[E]?Zye(b,a[E][d[v.label]][b],s):b==="average_speed"?null:0)})})}),{labels:c,datasets:f}},Jye=(e,t,n)=>{const r=n?1:0,a=t==="year"?Lf(Yl(e,9)):t==="week"?uc(no(e,2),{weekStartsOn:r}):Do(no(e,11)),s=t==="year"?dT(e):t==="week"?$f(e,{weekStartsOn:r}):Co(e);return{duration:t,end:s,start:a}},eCe=(e,t,n)=>{const{duration:r,start:a,end:s}=e,o=n?1:0;return{duration:r,end:r==="year"?dT(t?Yl(s,1):Yi(s,1)):r==="week"?$f(t?rm(s,1):Kl(s,1),{weekStartsOn:o}):Co(t?no(s,1):Xa(s,1)),start:r==="year"?Lf(t?Yl(a,1):Yi(a,1)):r==="week"?uc(t?rm(a,1):Kl(a,1),{weekStartsOn:o}):Do(t?no(a,1):Xa(a,1))}},tCe={class:"stats-chart"},nCe={key:0},rCe={key:1},aCe={class:"chart-radio"},sCe=["checked","disabled"],oCe=["checked","disabled"],iCe=["checked","disabled"],uCe={key:0},cCe=["checked","disabled"],lCe={key:1},dCe=["checked","disabled"],fCe={key:2},pCe=["checked","disabled"],mCe=Z({__name:"index",props:{sports:{},user:{},chartParams:{},displayedSportIds:{default:()=>[]},fullStats:{type:Boolean,default:!1},hideChartIfNoData:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1}},setup(e){const t=e,{sports:n,user:r,chartParams:a,displayedSportIds:s,fullStats:o,hideChartIfNoData:i,isDisabled:u}=he(t),l=$e(),c=le("total_distance"),f=$(()=>l.getters[Kr.GETTERS.USER_STATS]),d=$(()=>Qye(a.value,r.value.weekm,n.value,s.value,f.value,r.value.imperial_units,r.value.date_format)),m=$(()=>d.value.datasets[c.value]),E=$(()=>d.value.labels),I=$(()=>Object.keys(f.value).length===0);vt(()=>b(R(a.value,r.value)));function b(S){l.dispatch(Kr.ACTIONS.GET_USER_STATS,{username:r.value.username,filterType:"by_time",params:S})}function v(S){c.value=S.target.name}function R(S,O){return{from:dn(S.start,"yyyy-MM-dd"),to:dn(S.end,"yyyy-MM-dd"),time:S.duration==="week"?`week${O.weekm?"m":""}`:S.duration}}return xe(()=>a.value,async S=>{b(R(S,r.value))}),(S,O)=>(A(),N("div",tCe,[h(i)&&I.value?(A(),N("div",nCe,T(S.$t("workouts.NO_WORKOUTS")),1)):(A(),N("div",rCe,[p("div",aCe,[p("label",null,[p("input",{type:"radio",name:"total_distance",checked:c.value==="total_distance",disabled:h(u),onClick:v},null,8,sCe),j(" "+T(S.$t("workouts.DISTANCE")),1)]),p("label",null,[p("input",{type:"radio",name:"total_duration",checked:c.value==="total_duration",disabled:h(u),onClick:v},null,8,oCe),j(" "+T(S.$t("workouts.DURATION")),1)]),p("label",null,[p("input",{type:"radio",name:"nb_workouts",checked:c.value==="nb_workouts",disabled:h(u),onClick:v},null,8,iCe),j(" "+T(S.$t("workouts.WORKOUT",2)),1)]),h(o)?(A(),N("label",uCe,[p("input",{type:"radio",name:"average_speed",checked:c.value==="average_speed",disabled:h(u),onClick:v},null,8,cCe),j(" "+T(S.$t("workouts.AVERAGE_SPEED")),1)])):x("",!0),h(o)?(A(),N("label",lCe,[p("input",{type:"radio",name:"total_ascent",checked:c.value==="total_ascent",disabled:h(u),onClick:v},null,8,dCe),j(" "+T(S.$t("workouts.ASCENT")),1)])):x("",!0),h(o)?(A(),N("label",fCe,[p("input",{type:"radio",name:"total_descent",checked:c.value==="total_descent",disabled:h(u),onClick:v},null,8,pCe),j(" "+T(S.$t("workouts.DESCENT")),1)])):x("",!0)]),E.value.length>0?(A(),te(jye,{key:0,datasets:m.value,labels:E.value,displayedData:c.value,displayedSportIds:h(s),fullStats:h(o),useImperialUnits:h(r).imperial_units},null,8,["datasets","labels","displayedData","displayedSportIds","fullStats","useImperialUnits"])):x("",!0)]))]))}}),eS=re(mCe,[["__scopeId","data-v-b8d7f5c9"]]),ECe={class:"user-month-stats"},hCe=Z({__name:"UserMonthStats",props:{sports:{},user:{}},setup(e){const t=e,{sports:n,user:r}=he(t),a=new Date,s={duration:"week",start:Do(a),end:Co(a)},o=n.value.map(i=>i.id);return(i,u)=>{const l=ie("Card");return A(),N("div",ECe,[k(l,null,{title:ue(()=>[j(T(i.$t("dashboard.THIS_MONTH")),1)]),content:ue(()=>[k(eS,{sports:h(n),user:h(r),"chart-params":s,"displayed-sport-ids":h(o),"hide-chart-if-no-data":!0},null,8,["sports","user","displayed-sport-ids"])]),_:1})])}}}),_Ce=re(hCe,[["__scopeId","data-v-8f59a282"]]),{locale:TCe}=Aa.global,gCe=(e,t,n,r)=>{const a="km",s=n?kn[a].defaultTarget:a,o="m",i=n?kn[o].defaultTarget:o;let u;switch(e.record_type){case"AS":case"MS":u=`${on(+e.value,a,s,2)} ${s}/h`;break;case"FD":u=`${on(+e.value,a,s,3)} ${s}`;break;case"HA":u=`${on(+e.value,o,i,2)} ${i}`;break;case"LD":u=e.value;break;default:throw new Error(`Invalid record type, expected: "AS", "FD", "HA", "LD", "MD", got: "${e.record_type}"`)}return{id:e.id,record_type:e.record_type,sport_id:e.sport_id,value:u,user:e.user,workout_date:Fn(e.workout_date,t,r,!1),workout_id:e.workout_id}},ACe=(e,t)=>{const n=e.label.toLowerCase(),r=t.label.toLowerCase();return n>r?1:n(s=Oa(s,TCe.value),e.filter(o=>a?!0:o.record_type!=="HA").reduce((o,i)=>{const u=t.find(l=>l.id===i.sport_id);return u&&u.label&&(o[u.translatedLabel]===void 0&&(o[u.translatedLabel]={label:u.label,color:u.color,records:[]}),o[u.translatedLabel].records.push(gCe(i,n,r,s))),o},{})),OCe={class:"records-card"},ICe={class:"record-type"},vCe={class:"record-value"},RCe={class:"record-date"},bCe=Z({__name:"RecordsCard",props:{records:{},sportTranslatedLabel:{}},setup(e){const t=e,{records:n,sportTranslatedLabel:r}=he(t),{t:a}=jt();function s(o){const i=[];return o.map(u=>{i.push({...u,label:a(`workouts.RECORD_${u.record_type}`)})}),i.sort(ACe)}return(o,i)=>{const u=ie("SportImage"),l=ie("router-link"),c=ie("Card");return A(),N("div",OCe,[k(c,null,{title:ue(()=>[k(u,{"sport-label":h(n).label,color:h(n).color},null,8,["sport-label","color"]),j(" "+T(h(r)),1)]),content:ue(()=>[(A(!0),N(ve,null,Fe(s(h(n).records),f=>(A(),N("div",{class:"record",key:f.id},[p("span",ICe,T(f.label),1),p("span",vCe,T(f.value),1),p("span",RCe,[k(l,{to:{name:"Workout",params:{workoutId:f.workout_id}}},{default:ue(()=>[p("time",null,T(f.workout_date),1)]),_:2},1032,["to"])])]))),128))]),_:1})])}}}),NCe=re(bCe,[["__scopeId","data-v-64523a87"]]),yCe=e=>(ct("data-v-fff33919"),e=e(),lt(),e),CCe={class:"user-records-section"},DCe={class:"section-title"},PCe=yCe(()=>p("i",{class:"fa fa-trophy custom-fa-small","aria-hidden":"true"},null,-1)),wCe={class:"user-records"},LCe={key:0,class:"no-records"},$Ce=Z({__name:"index",props:{sports:{},user:{}},setup(e){const t=e,{t:n}=jt(),r=$(()=>SCe(t.user.records,Jr(t.sports,n),t.user.timezone,t.user.imperial_units,t.user.display_ascent,t.user.date_format));return(a,s)=>(A(),N("div",CCe,[p("div",DCe,[PCe,j(" "+T(a.$t("workouts.RECORD",2)),1)]),p("div",wCe,[Object.keys(r.value).length===0?(A(),N("div",LCe,T(a.$t("workouts.NO_RECORDS")),1)):x("",!0),(A(!0),N(ve,null,Fe(Object.keys(r.value).sort(),o=>(A(),te(NCe,{sportTranslatedLabel:o,records:r.value[o],key:o,useImperialUnits:a.user.imperial_units},null,8,["sportTranslatedLabel","records","useImperialUnits"]))),128))])]))}}),kCe=re($Ce,[["__scopeId","data-v-fff33919"]]),UCe={id:"user-stats"},gl="km",Al="m",MCe=Z({__name:"index",props:{user:{}},setup(e){const t=e,{t:n}=jt(),{user:r}=he(t),a=$(()=>t.user.total_duration),s=$(()=>c(a)),o=r.value.imperial_units?kn[gl].defaultTarget:gl,i=$(()=>r.value.imperial_units?on(r.value.total_distance,gl,o,2):parseFloat(r.value.total_distance.toFixed(2))),u=r.value.imperial_units?kn[Al].defaultTarget:Al,l=$(()=>r.value.imperial_units?on(r.value.total_ascent,Al,u,2):parseFloat(r.value.total_ascent.toFixed(2)));function c(f){const d=f.value.match(/day/g)?f.value.split(", ")[1]:f.value;return{days:f.value.match(/day/g)?`${f.value.split(" ")[0]} ${f.value.match(/days/g)?n("common.DAY",2):n("common.DAY",1)}`:`0 ${n("common.DAY",2)},`,duration:`${d.split(":")[0]}h ${d.split(":")[1]}min`}}return(f,d)=>(A(),N("div",UCe,[k(pr,{icon:"calendar",value:h(r).nb_workouts,text:f.$t("workouts.WORKOUT",h(r).nb_workouts)},null,8,["value","text"]),k(pr,{icon:"road",value:i.value,text:h(o)==="mi"?"miles":h(o)},null,8,["value","text"]),h(r).display_ascent?(A(),te(pr,{key:0,icon:"location-arrow",value:l.value,text:h(u)==="ft"?"feet":h(u)},null,8,["value","text"])):x("",!0),k(pr,{icon:"clock-o",value:s.value.days,text:s.value.duration},null,8,["value","text"]),h(r).display_ascent?x("",!0):(A(),te(pr,{key:1,icon:"tags",value:h(r).nb_sports,text:f.$t("workouts.SPORT",h(r).nb_sports)},null,8,["value","text"]))]))}}),xCe={},FCe={class:"privacy-policy-message"};function WCe(e,t){const n=ie("router-link"),r=ie("i18n-t");return A(),N("div",FCe,[p("span",null,[k(r,{keypath:"user.LAST_PRIVACY_POLICY_TO_VALIDATE"},{default:ue(()=>[k(n,{to:"/profile/edit/privacy-policy",class:"policy-link"},{default:ue(()=>[j(T(e.$t("user.REVIEW")),1)]),_:1})]),_:1})])])}const GCe=re(xCe,[["render",WCe],["__scopeId","data-v-1b250692"]]),xo=e=>(ct("data-v-8f5da609"),e=e(),lt(),e),zCe={key:0,id:"dashboard",class:"view"},BCe={class:"container mobile-menu"},HCe={class:"box"},VCe=xo(()=>p("i",{class:"fa fa-calendar","aria-hidden":"true"},null,-1)),jCe=[VCe],KCe=xo(()=>p("i",{class:"fa fa-bar-chart","aria-hidden":"true"},null,-1)),YCe=[KCe],qCe=xo(()=>p("i",{class:"fa fa-map-o","aria-hidden":"true"},null,-1)),XCe=[qCe],ZCe=xo(()=>p("i",{class:"fa fa-trophy","aria-hidden":"true"},null,-1)),QCe=[ZCe],JCe={key:0,class:"container privacy-policy-message"},e4e={class:"container"},t4e={class:"container dashboard-container"},n4e={class:"left-container dashboard-sub-container"},r4e={class:"right-container dashboard-sub-container"},a4e=xo(()=>p("div",{id:"bottom"},null,-1)),s4e={key:1,class:"app-loading"},o4e=Z({__name:"Dashboard",setup(e){const t=$e(),n=$(()=>t.getters[K.GETTERS.AUTH_USER_PROFILE]),r=$(()=>t.getters[kt.GETTERS.SPORTS]),a=le("calendar");vt(()=>t.dispatch(K.ACTIONS.GET_USER_PROFILE));function s(o){a.value=o}return(o,i)=>{const u=ie("Loader");return n.value.username&&r.value.length>0?(A(),N("div",zCe,[p("div",BCe,[p("div",HCe,[p("div",{class:Ae(["mobile-menu-item",{"is-selected":a.value==="calendar"}]),onClick:i[0]||(i[0]=l=>s("calendar"))},jCe,2),p("div",{class:Ae(["mobile-menu-item",{"is-selected":a.value==="chart"}]),onClick:i[1]||(i[1]=l=>s("chart"))},YCe,2),p("div",{class:Ae(["mobile-menu-item",{"is-selected":a.value==="timeline"}]),onClick:i[2]||(i[2]=l=>s("timeline"))},XCe,2),p("div",{class:Ae(["mobile-menu-item",{"is-selected":a.value==="records"}]),onClick:i[3]||(i[3]=l=>s("records"))},QCe,2)])]),n.value.accepted_privacy_policy?x("",!0):(A(),N("div",JCe,[k(GCe)])),p("div",e4e,[k(MCe,{user:n.value},null,8,["user"])]),p("div",t4e,[p("div",n4e,[k(_Ce,{sports:r.value,user:n.value,class:Ae({"is-hidden":a.value!=="chart"})},null,8,["sports","user","class"]),k(kCe,{sports:r.value,user:n.value,class:Ae({"is-hidden":a.value!=="records"})},null,8,["sports","user","class"])]),p("div",r4e,[k($ye,{sports:r.value,user:n.value,class:Ae({"is-hidden":a.value!=="calendar"})},null,8,["sports","user","class"]),k(nye,{sports:r.value,user:n.value,class:Ae({"is-hidden":a.value!=="timeline"})},null,8,["sports","user","class"])])]),a4e])):(A(),N("div",s4e,[k(u)]))}}}),i4e=re(o4e,[["__scopeId","data-v-8f5da609"]]),u4e={class:"not-found view"},c4e=Z({__name:"NotFoundView",setup(e){return(t,n)=>(A(),N("div",u4e,[k(I0)]))}}),l4e={id:"privacy-policy",class:"view"},d4e={class:"container"},f4e=p("div",{id:"bottom"},null,-1),p4e=Z({__name:"PrivacyPolicyView",setup(e){const t=$e();return vt(()=>{t.dispatch(H.ACTIONS.GET_APPLICATION_PRIVACY_POLICY)}),(n,r)=>(A(),N("div",l4e,[p("div",d4e,[k(VA)]),f4e]))}}),tS=e=>(ct("data-v-174c91c4"),e=e(),lt(),e),m4e={class:"chart-menu"},E4e=["disabled"],h4e=tS(()=>p("i",{class:"fa fa-chevron-left","aria-hidden":"true"},null,-1)),_4e=[h4e],T4e={class:"time-frames custom-checkboxes-group"},g4e={class:"time-frames-checkboxes custom-checkboxes"},A4e=["id","name","checked","onInput","disabled"],S4e=["id","tabindex","onKeydown"],O4e=["disabled"],I4e=tS(()=>p("i",{class:"fa fa-chevron-right","aria-hidden":"true"},null,-1)),v4e=[I4e],R4e=Z({__name:"StatsMenu",props:{isDisabled:{type:Boolean}},emits:["arrowClick","timeFrameUpdate"],setup(e,{emit:t}){const n=e,{isDisabled:r}=he(n),a=t,s=le("month"),o=["week","month","year"];function i(u){s.value=u,a("timeFrameUpdate",u)}return Tt(()=>{if(!r.value){const u=document.getElementById("frame-month");u&&u.focus()}}),(u,l)=>(A(),N("div",m4e,[p("button",{class:"chart-arrow transparent",onClick:l[0]||(l[0]=c=>a("arrowClick",!0)),onKeydown:l[1]||(l[1]=Et(c=>a("arrowClick",!0),["enter"])),disabled:h(r)},_4e,40,E4e),p("div",T4e,[p("div",g4e,[(A(),N(ve,null,Fe(o,c=>p("div",{class:"time-frame custom-checkbox",key:c},[p("label",null,[p("input",{type:"radio",id:c,name:c,checked:s.value===c,onInput:f=>i(c),disabled:h(r)},null,40,A4e),p("span",{id:`frame-${c}`,tabindex:h(r)?-1:0,role:"button",onKeydown:Et(f=>i(c),["enter"])},T(u.$t(`statistics.TIME_FRAMES.${c}`)),41,S4e)])])),64))])]),p("button",{class:"chart-arrow transparent",onClick:l[2]||(l[2]=c=>a("arrowClick",!1)),onKeydown:l[3]||(l[3]=Et(c=>a("arrowClick",!1),["enter"])),disabled:h(r)},v4e,40,O4e)]))}}),b4e=re(R4e,[["__scopeId","data-v-174c91c4"]]),N4e={class:"sports-menu"},y4e=["id","name","checked","onInput"],C4e={class:"sport-label"},D4e=Z({__name:"StatsSportsMenu",props:{userSports:{},selectedSportIds:{default:()=>[]}},emits:["selectedSportIdsUpdate"],setup(e,{emit:t}){const n=e,r=t,{t:a}=jt(),s=_t("sportColors"),{selectedSportIds:o}=he(n),i=$(()=>Jr(n.userSports,a));function u(l){r("selectedSportIdsUpdate",l)}return(l,c)=>{const f=ie("SportImage");return A(),N("div",N4e,[(A(!0),N(ve,null,Fe(i.value,d=>(A(),N("label",{type:"checkbox",key:d.id,style:Yr({color:d.color?d.color:h(s)[d.label]})},[p("input",{type:"checkbox",id:`${d.id}`,name:d.label,checked:h(o).includes(d.id),onInput:m=>u(d.id)},null,40,y4e),k(f,{"sport-label":d.label,color:d.color},null,8,["sport-label","color"]),p("span",C4e,T(d.translatedLabel),1)],4))),128))])}}}),P4e={key:0,id:"user-statistics"},w4e=Z({__name:"index",props:{sports:{},user:{},isDisabled:{type:Boolean}},setup(e){const t=e,{t:n}=jt(),{sports:r,user:a}=he(t),s=le("month"),o=le(c(s.value)),i=$(()=>Jr(t.sports,n)),u=le(d(r.value));function l(E){s.value=E,o.value=c(s.value)}function c(E){return Jye(new Date,E,t.user.weekm)}function f(E){o.value=eCe(o.value,E,t.user.weekm)}function d(E){return E.map(I=>I.id)}function m(E){u.value.includes(E)?u.value=u.value.filter(I=>I!==E):u.value.push(E)}return xe(()=>t.sports,E=>{u.value=d(E)}),(E,I)=>i.value?(A(),N("div",P4e,[k(b4e,{onTimeFrameUpdate:l,onArrowClick:f,isDisabled:E.isDisabled},null,8,["isDisabled"]),k(eS,{sports:h(r),user:h(a),chartParams:o.value,"displayed-sport-ids":u.value,fullStats:!0,isDisabled:E.isDisabled},null,8,["sports","user","chartParams","displayed-sport-ids","isDisabled"]),k(D4e,{"selected-sport-ids":u.value,"user-sports":h(r),onSelectedSportIdsUpdate:m},null,8,["selected-sport-ids","user-sports"])])):x("",!0)}}),L4e=re(w4e,[["__scopeId","data-v-b145e4ac"]]),$4e={id:"statistics",class:"view"},k4e={key:0,class:"container"},U4e=Z({__name:"StatisticsView",setup(e){const t=$e(),n=$(()=>t.getters[K.GETTERS.AUTH_USER_PROFILE]),r=$(()=>t.getters[kt.GETTERS.SPORTS].filter(s=>n.value.sports_list.includes(s.id))),a=$(()=>n.value.nb_workouts===0);return(s,o)=>{const i=ie("Card");return A(),N("div",$4e,[n.value.username?(A(),N("div",k4e,[k(i,null,{title:ue(()=>[j(T(s.$t("statistics.STATISTICS")),1)]),content:ue(()=>[k(L4e,{class:Ae({"stats-disabled":a.value}),user:n.value,sports:r.value,isDisabled:a.value},null,8,["class","user","sports","isDisabled"])]),_:1}),n.value.nb_workouts===0?(A(),te(R0,{key:0})):x("",!0)])):x("",!0)])}}}),M4e=re(U4e,[["__scopeId","data-v-0aa997fa"]]),x4e={name:"EmailSent"},F4e={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 345.834 345.834",style:{"enable-background":"new 0 0 345.834 345.834"},"xml:space":"preserve"},W4e=p("g",null,[p("path",{d:`M339.798,260.429c0.13-0.026,0.257-0.061,0.385-0.094c0.109-0.028,0.219-0.051,0.326-0.084 +])(${t})(?!${t})`,"g")}match({password:t}){const n=[];if(t.length===0)return n;const r=Wu.getMostUsedSeparatorChar(t);if(r===void 0)return n;const a=Wu.getSeparatorRegex(r);for(const s of t.matchAll(a)){if(s.index===void 0)continue;const o=s.index+1;n.push({pattern:"separator",token:r,i:o,j:o})}return n}}class I2e{constructor(){this.matchers={date:zIe,dictionary:e2e,regex:t2e,repeat:g2e,sequence:A2e,spatial:S2e,separator:Wu}}match(t){const n=[],r=[];return[...Object.keys(this.matchers),...Object.keys(Re.matchers)].forEach(s=>{if(!this.matchers[s]&&!Re.matchers[s])return;const o=this.matchers[s]?this.matchers[s]:Re.matchers[s].Matching,u=new o().match({password:t,omniMatch:this});u instanceof Promise?(u.then(l=>{Hd(n,l)}),r.push(u)):Hd(n,u)}),r.length>0?new Promise((s,o)=>{Promise.all(r).then(()=>{s(fs(n))}).catch(i=>{o(i)})}):fs(n)}}const xA=1,FA=xA*60,WA=FA*60,GA=WA*24,zA=GA*31,BA=zA*12,v2e=BA*100,Tl={second:xA,minute:FA,hour:WA,day:GA,month:zA,year:BA,century:v2e};class R2e{translate(t,n){let r=t;n!==void 0&&n!==1&&(r+="s");const{timeEstimation:a}=Re.translations;return a[r].replace("{base}",`${n}`)}estimateAttackTimes(t){const n={onlineThrottling100PerHour:t/.027777777777777776,onlineNoThrottling10PerSecond:t/10,offlineSlowHashing1e4PerSecond:t/1e4,offlineFastHashing1e10PerSecond:t/1e10},r={onlineThrottling100PerHour:"",onlineNoThrottling10PerSecond:"",offlineSlowHashing1e4PerSecond:"",offlineFastHashing1e10PerSecond:""};return Object.keys(n).forEach(a=>{const s=n[a];r[a]=this.displayTime(s)}),{crackTimesSeconds:n,crackTimesDisplay:r,score:this.guessesToScore(t)}}guessesToScore(t){return t<1005?0:t<1000005?1:t<100000005?2:t<1e10+5?3:4}displayTime(t){let n="centuries",r;const a=Object.keys(Tl),s=a.findIndex(o=>t-1&&(n=a[s-1],s!==0?r=Math.round(t/Tl[n]):n="ltSecond"),this.translate(n,r)}}var b2e=()=>null,N2e=()=>({warning:Re.translations.warnings.dates,suggestions:[Re.translations.suggestions.dates]});const y2e=(e,t)=>{let n=null;return t&&!e.l33t&&!e.reversed?e.rank<=10?n=Re.translations.warnings.topTen:e.rank<=100?n=Re.translations.warnings.topHundred:n=Re.translations.warnings.common:e.guessesLog10<=4&&(n=Re.translations.warnings.similarToCommon),n},C2e=(e,t)=>{let n=null;return t&&(n=Re.translations.warnings.wordByItself),n},D2e=(e,t)=>t?Re.translations.warnings.namesByThemselves:Re.translations.warnings.commonNames,P2e=(e,t)=>{let n=null;const r=e.dictionaryName,a=r==="lastnames"||r.toLowerCase().includes("firstnames");return r==="passwords"?n=y2e(e,t):r.includes("wikipedia")?n=C2e(e,t):a?n=D2e(e,t):r==="userInputs"&&(n=Re.translations.warnings.userInputs),n};var w2e=(e,t)=>{const n=P2e(e,t),r=[],a=e.token;return a.match(kA)?r.push(Re.translations.suggestions.capitalization):a.match(UA)&&a.toLowerCase()!==a&&r.push(Re.translations.suggestions.allUppercase),e.reversed&&e.token.length>=4&&r.push(Re.translations.suggestions.reverseWords),e.l33t&&r.push(Re.translations.suggestions.l33t),{warning:n,suggestions:r}},L2e=e=>e.regexName==="recentYear"?{warning:Re.translations.warnings.recentYears,suggestions:[Re.translations.suggestions.recentYears,Re.translations.suggestions.associatedYears]}:{warning:null,suggestions:[]},$2e=e=>{let t=Re.translations.warnings.extendedRepeat;return e.baseToken.length===1&&(t=Re.translations.warnings.simpleRepeat),{warning:t,suggestions:[Re.translations.suggestions.repeated]}},k2e=()=>({warning:Re.translations.warnings.sequences,suggestions:[Re.translations.suggestions.sequences]}),U2e=e=>{let t=Re.translations.warnings.keyPattern;return e.turns===1&&(t=Re.translations.warnings.straightRow),{warning:t,suggestions:[Re.translations.suggestions.longerKeyboardPattern]}},M2e=()=>null;const dh={warning:null,suggestions:[]};class x2e{constructor(){this.matchers={bruteforce:b2e,date:N2e,dictionary:w2e,regex:L2e,repeat:$2e,sequence:k2e,spatial:U2e,separator:M2e},this.defaultFeedback={warning:null,suggestions:[]},this.setDefaultSuggestions()}setDefaultSuggestions(){this.defaultFeedback.suggestions.push(Re.translations.suggestions.useWords,Re.translations.suggestions.noNeed)}getFeedback(t,n){if(n.length===0)return this.defaultFeedback;if(t>2)return dh;const r=Re.translations.suggestions.anotherWord,a=this.getLongestMatch(n);let s=this.getMatchFeedback(a,n.length===1);return s!=null?s.suggestions.unshift(r):s={warning:null,suggestions:[r]},s}getLongestMatch(t){let n=t[0];return t.slice(1).forEach(a=>{a.token.length>n.token.length&&(n=a)}),n}getMatchFeedback(t,n){return this.matchers[t.pattern]?this.matchers[t.pattern](t,n):Re.matchers[t.pattern]&&"feedback"in Re.matchers[t.pattern]?Re.matchers[t.pattern].feedback(t,n):dh}}const HA=()=>new Date().getTime(),F2e=(e,t,n)=>{const r=new x2e,a=new R2e,s=Vd.mostGuessableMatchSequence(t,e),o=HA()-n,i=a.estimateAttackTimes(s.guesses);return{calcTime:o,...s,...i,feedback:r.getFeedback(i.score,s.sequence)}},W2e=(e,t)=>(t&&Re.extendUserInputsDictionary(t),new I2e().match(e)),G2e=(e,t)=>{const n=HA(),r=W2e(e,t);if(r instanceof Promise)throw new Error("You are using a Promised matcher, please use `zxcvbnAsync` for it.");return F2e(r,e,n)},z2e="modulepreload",B2e=function(e){return"/"+e},fh={},yt=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link");a=Promise.all(n.map(o=>{if(o=B2e(o),o in fh)return;fh[o]=!0;const i=o.endsWith(".css"),u=i?'[rel="stylesheet"]':"";if(!!r)for(let f=s.length-1;f>=0;f--){const d=s[f];if(d.href===o&&(!i||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${u}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":z2e,i||(c.as="script",c.crossOrigin=""),c.href=o,document.head.appendChild(c),i)return new Promise((f,d)=>{c.addEventListener("load",f),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${o}`)))})}))}return a.then(()=>t()).catch(s=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s})},H2e=async e=>{switch(e){case"fr":return await yt(()=>import("./password.fr-1uJe1-pR.js"),__vite__mapDeps([]));case"de":return await yt(()=>import("./password.de-qoep7B_f.js"),__vite__mapDeps([]));case"it":return await yt(()=>import("./password.it-ImDc22WR.js"),__vite__mapDeps([]));case"es":return await yt(()=>import("./password.es-es--6AdGpRj.js"),__vite__mapDeps([]));case"pl":return await yt(()=>import("./password.pl-Ipz4x2MM.js"),__vite__mapDeps([]));default:return await yt(()=>import("./password.en-lIq_N4yZ.js"),__vite__mapDeps([]))}},ph=async e=>{const t=await yt(()=>import("./password.common-7m77ow97.js"),__vite__mapDeps([])),n=await H2e(e),r={graphs:t.adjacencyGraphs,dictionary:{...t.dictionary,...n.dictionary}};Re.setOptions(r)},V2e=e=>{switch(e){case 2:return"AVERAGE";case 3:return"GOOD";case 4:return"STRONG";default:return"WEAK"}},j2e={class:"password-strength"},K2e=["value"],Y2e={key:0,class:"password-strength-details"},q2e={class:"password-strength-value"},X2e={key:0,class:"info-box"},Z2e={class:"password-feedback"},Q2e=Z({__name:"PasswordStength",props:{password:{}},setup(e){const t=e,{password:n}=he(t),r=$e(),a=$(()=>r.getters[H.GETTERS.LANGUAGE]),s=$(()=>r.getters[K.GETTERS.IS_SUCCESS]),o=le(0),i=le(""),u=le([]),l=le("0% 100%");vt(async()=>await ph(a.value));function c(f){const d=G2e(f);o.value=d.score,i.value=V2e(o.value),u.value=d.feedback.suggestions,l.value=o.value*100/4+"% 100%"}return xe(()=>a.value,async f=>{await ph(f)}),xe(()=>n.value,async f=>{s.value?i.value="":c(f)}),(f,d)=>(A(),N("div",j2e,[p("input",{class:Ae(["password-slider",`strength-${o.value}`]),style:Yr({backgroundSize:l.value}),type:"range",value:o.value,min:"0",max:"4",step:"1",tabindex:-1},null,14,K2e),i.value?(A(),N("div",Y2e,[p("span",q2e,T(f.$t("user.PASSWORD_STRENGTH.LABEL"))+": "+T(f.$t(`user.PASSWORD_STRENGTH.${i.value}`)),1),u.value.length>0?(A(),N("div",X2e,[p("ul",Z2e,[(A(!0),N(ve,null,Fe(u.value,m=>(A(),N("li",{key:m},T(f.$t(`user.PASSWORD_STRENGTH.SUGGESTIONS.${m}`)),1))),128))])])):x("",!0)])):x("",!0)]))}}),J2e=re(Q2e,[["__scopeId","data-v-1affb508"]]),eve=e=>(ct("data-v-ac528612"),e=e(),lt(),e),tve={class:"password-input"},nve=["id","disabled","placeholder","required","type"],rve={class:"show-password"},ave={key:0,class:"form-info"},sve=eve(()=>p("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),ove=Z({__name:"PasswordInput",props:{checkStrength:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},id:{default:"password"},password:{default:""},placeholder:{},required:{type:Boolean,default:!1}},emits:["updatePassword","passwordError"],setup(e,{emit:t}){const n=e,{checkStrength:r,disabled:a,id:s,password:o,placeholder:i,required:u}=he(n),l=le(!1),c=le(""),f=t;function d(){l.value=!l.value}function m(I){f("updatePassword",I.target.value)}function E(){f("passwordError")}return xe(()=>o.value,I=>{I===""&&(c.value="",l.value=!1)}),(I,b)=>(A(),N("div",tve,[Ke(p("input",{id:h(s),disabled:h(a),placeholder:h(i),required:h(u),type:l.value?"text":"password","onUpdate:modelValue":b[0]||(b[0]=v=>c.value=v),minlength:"8",onInput:m,onInvalid:E},null,40,nve),[[h2,c.value]]),p("div",rve,[p("button",{class:"transparent",onClick:Xe(d,["prevent"]),type:"button"},[j(T(I.$t(`user.${l.value?"HIDE":"SHOW"}_PASSWORD`))+" ",1),p("i",{class:Ae(["fa",`fa-eye${l.value?"-slash":""}`]),"aria-hidden":"true"},null,2)])]),h(r)?(A(),N("div",ave,[sve,j(" "+T(I.$t("user.PASSWORD_INFO")),1)])):x("",!0),h(r)?(A(),te(J2e,{key:1,password:c.value},null,8,["password"])):x("",!0)]))}}),jd=re(ove,[["__scopeId","data-v-ac528612"]]),O0=e=>(ct("data-v-8ebb5cd3"),e=e(),lt(),e),ive={id:"user-infos-edition"},uve={class:"profile-form form-box"},cve={key:1,class:"info-box success-message"},lve={class:"form-items",for:"email"},dve=["disabled"],fve={class:"form-items",for:"password-field"},pve={class:"form-items",for:"new-password-field"},mve={class:"form-buttons"},Eve={class:"confirm",type:"submit"},hve={class:"data-export"},_ve={class:"info-box"},Tve=O0(()=>p("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),gve={key:0,class:"data-export-archive"},Ave=O0(()=>p("i",{class:"fa fa-download","aria-hidden":"true"},null,-1)),Sve={key:1},Ove={key:2},Ive=O0(()=>p("i",{class:"fa fa-spinner fa-pulse","aria-hidden":"true"},null,-1)),vve=Z({__name:"UserAccountEdition",props:{user:{}},setup(e){const t=e,{user:n}=he(t),r=$e(),a=Ft({email:"",password:"",new_password:""}),s=$(()=>r.getters[K.GETTERS.USER_LOADING]),o=$(()=>r.getters[H.GETTERS.APP_CONFIG]),i=$(()=>r.getters[K.GETTERS.IS_SUCCESS]),u=le(!1),l=$(()=>r.getters[H.GETTERS.ERROR_MESSAGES]),c=le(!1),f=le(!1),d=$(()=>r.getters[K.GETTERS.EXPORT_REQUEST]),m=$(()=>S()),E=le(!1);Tt(()=>{t.user&&(r.dispatch(K.ACTIONS.GET_REQUEST_DATA_EXPORT),b(t.user))});function I(){c.value=!0}function b(B){a.email=B.email}function v(B){a.password=B}function R(B){a.new_password=B}function S(){return d.value?Fn(d.value.created_at,n.value.timezone,n.value.date_format,!0,null,!0):null}function O(){return m.value?x3(new Date(m.value),G3(new Date,1)):!0}function y(){const B={email:a.email,password:a.password};a.new_password&&(B.new_password=a.new_password),u.value=a.email!==n.value.email,r.dispatch(K.ACTIONS.UPDATE_USER_ACCOUNT,B)}function P(B){f.value=B}function M(B){r.dispatch(K.ACTIONS.DELETE_ACCOUNT,{username:B})}function w(){r.dispatch(K.ACTIONS.REQUEST_DATA_EXPORT)}async function G(B){E.value=!0,await Be.get(`/auth/account/export/${B}`,{responseType:"blob"}).then(L=>{const X=window.URL.createObjectURL(new Blob([L.data],{type:"application/zip"})),J=document.createElement("a");J.href=X,J.setAttribute("download",B),document.body.appendChild(J),J.click()}).finally(()=>E.value=!1)}return Rt(()=>{r.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!1),r.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES)}),xe(()=>i.value,async B=>{B&&(v(""),R(""),b(n.value),c.value=!1)}),xe(()=>n.value.email,async()=>{b(n.value)}),(B,L)=>{const X=ie("Modal"),J=ie("ErrorMessage");return A(),N("div",ive,[f.value?(A(),te(X,{key:0,title:B.$t("common.CONFIRMATION"),message:B.$t("user.CONFIRM_ACCOUNT_DELETION"),onConfirmAction:L[0]||(L[0]=ne=>M(h(n).username)),onCancelAction:L[1]||(L[1]=ne=>P(!1)),onKeydown:L[2]||(L[2]=Et(ne=>P(!1),["esc"]))},null,8,["title","message"])):x("",!0),p("div",uve,[l.value?(A(),te(J,{key:0,message:l.value},null,8,["message"])):x("",!0),i.value?(A(),N("div",cve,T(B.$t(`user.PROFILE.SUCCESSFUL_${u.value&&o.value.is_email_sending_enabled?"EMAIL_":""}UPDATE`)),1)):x("",!0),p("form",{class:Ae({errors:c.value}),onSubmit:Xe(y,["prevent"])},[p("label",lve,[j(T(B.$t("user.EMAIL"))+"* ",1),Ke(p("input",{id:"email","onUpdate:modelValue":L[3]||(L[3]=ne=>a.email=ne),disabled:s.value,required:!0,onInvalid:I},null,40,dve),[[tt,a.email]])]),p("label",fve,[j(T(B.$t("user.CURRENT_PASSWORD"))+"* ",1),k(jd,{id:"password-field",disabled:s.value,password:a.password,required:!0,onUpdatePassword:v,onPasswordError:I},null,8,["disabled","password"])]),p("label",pve,[j(T(B.$t("user.NEW_PASSWORD"))+" ",1),k(jd,{id:"new-password-field",disabled:s.value,checkStrength:!0,password:a.new_password,isSuccess:!1,onUpdatePassword:R,onPasswordError:I},null,8,["disabled","password"])]),p("div",mve,[p("button",Eve,T(B.$t("buttons.SUBMIT")),1),p("button",{class:"cancel",onClick:L[4]||(L[4]=Xe(ne=>B.$router.push("/profile"),["prevent"]))},T(B.$t("buttons.CANCEL")),1),p("button",{class:"danger",onClick:L[5]||(L[5]=Xe(ne=>P(!0),["prevent"]))},T(B.$t("buttons.DELETE_MY_ACCOUNT")),1),O()?(A(),N("button",{key:0,class:"confirm",onClick:Xe(w,["prevent"])},T(B.$t("buttons.REQUEST_DATA_EXPORT")),1)):x("",!0)])],34),p("div",hve,[p("span",_ve,[Tve,j(" "+T(B.$t("user.EXPORT_REQUEST.ONLY_ONE_EXPORT_PER_DAY")),1)]),d.value?(A(),N("div",gve,[j(T(B.$t("user.EXPORT_REQUEST.DATA_EXPORT"))+" ("+T(m.value)+"): ",1),d.value.status==="successful"?(A(),N("span",{key:0,class:"archive-link",onClick:L[6]||(L[6]=Xe(ne=>G(d.value.file_name),["prevent"]))},[Ave,j(" "+T(B.$t("user.EXPORT_REQUEST.DOWNLOAD_ARCHIVE"))+" ("+T(h(Ji)(d.value.file_size))+") ",1)])):(A(),N("span",Sve,T(B.$t(`user.EXPORT_REQUEST.STATUS.${d.value.status}`)),1)),E.value?(A(),N("span",Ove,[j(T(B.$t("user.EXPORT_REQUEST.GENERATING_LINK"))+" ",1),Ive])):x("",!0)])):x("",!0)])])])}}}),Rve=re(vve,[["__scopeId","data-v-8ebb5cd3"]]),bve={id:"user-infos-edition"},Nve={class:"profile-form form-box"},yve={class:"form-items",for:"registrationDate"},Cve=["value"],Dve={class:"form-items",for:"first_name"},Pve=["disabled"],wve={class:"form-items",for:"last_name"},Lve={class:"form-items",for:"birth_date"},$ve=["disabled"],kve={class:"form-items",for:"location"},Uve=["disabled"],Mve={class:"form-items"},xve={class:"form-buttons"},Fve={class:"confirm",type:"submit"},Wve=Z({__name:"UserInfosEdition",props:{user:{}},setup(e){const t=e,n=$e(),r=Ft({first_name:"",last_name:"",birth_date:"",location:"",bio:""}),a=$(()=>t.user.created_at?Fn(t.user.created_at,t.user.timezone,t.user.date_format):""),s=$(()=>n.getters[K.GETTERS.USER_LOADING]),o=$(()=>n.getters[H.GETTERS.ERROR_MESSAGES]);Tt(()=>{t.user&&i(t.user)});function i(c){r.first_name=c.first_name?c.first_name:"",r.last_name=c.last_name?c.last_name:"",r.birth_date=c.birth_date?dn(new Date(c.birth_date),"yyyy-MM-dd"):"",r.location=c.location?c.location:"",r.bio=c.bio?c.bio:""}function u(c){r.bio=c}function l(){n.dispatch(K.ACTIONS.UPDATE_USER_PROFILE,r)}return Rt(()=>{n.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES)}),(c,f)=>{const d=ie("ErrorMessage"),m=ie("CustomTextArea");return A(),N("div",bve,[p("div",Nve,[o.value?(A(),te(d,{key:0,message:o.value},null,8,["message"])):x("",!0),p("form",{onSubmit:Xe(l,["prevent"])},[p("label",yve,[j(T(c.$t("user.PROFILE.REGISTRATION_DATE"))+" ",1),p("input",{id:"registrationDate",value:a.value,disabled:""},null,8,Cve)]),p("label",Dve,[j(T(c.$t("user.PROFILE.FIRST_NAME"))+" ",1),Ke(p("input",{id:"first_name","onUpdate:modelValue":f[0]||(f[0]=E=>r.first_name=E),disabled:s.value},null,8,Pve),[[tt,r.first_name]])]),p("label",wve,[j(T(c.$t("user.PROFILE.LAST_NAME"))+" ",1),Ke(p("input",{id:"last_name","onUpdate:modelValue":f[1]||(f[1]=E=>r.last_name=E)},null,512),[[tt,r.last_name]])]),p("label",Lve,[j(T(c.$t("user.PROFILE.BIRTH_DATE"))+" ",1),Ke(p("input",{id:"birth_date",type:"date",class:"birth-date","onUpdate:modelValue":f[2]||(f[2]=E=>r.birth_date=E),disabled:s.value},null,8,$ve),[[tt,r.birth_date]])]),p("label",kve,[j(T(c.$t("user.PROFILE.LOCATION"))+" ",1),Ke(p("input",{id:"location","onUpdate:modelValue":f[3]||(f[3]=E=>r.location=E),disabled:s.value},null,8,Uve),[[tt,r.location]])]),p("label",Mve,[j(T(c.$t("user.PROFILE.BIO"))+" ",1),k(m,{name:"bio",charLimit:200,input:r.bio,disabled:s.value,onUpdateValue:u},null,8,["input","disabled"])]),p("div",xve,[p("button",Fve,T(c.$t("buttons.SUBMIT")),1),p("button",{class:"cancel",onClick:f[4]||(f[4]=Xe(E=>c.$router.push("/profile"),["prevent"]))},T(c.$t("buttons.CANCEL")),1)])],32)])])}}}),Gve=re(Wve,[["__scopeId","data-v-5f5c8fca"]]),zve=e=>(ct("data-v-8f62d42f"),e=e(),lt(),e),Bve={id:"user-picture-edition"},Hve={class:"user-picture-form"},Vve={class:"picture-help"},jve={class:"info-box"},Kve=zve(()=>p("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),Yve={class:"picture-buttons"},qve=["disabled"],Xve=Z({__name:"UserPictureEdition",props:{user:{}},setup(e){const t=e,n=$e(),{user:r}=he(t),a=$(()=>n.getters[H.GETTERS.ERROR_MESSAGES]),s=$(()=>n.getters[H.GETTERS.APP_CONFIG]),o=s.value.max_single_file_size?Ji(s.value.max_single_file_size):"",i=le(null);function u(){n.dispatch(K.ACTIONS.DELETE_PICTURE)}function l(f){f.target.files!==null&&(i.value=f.target.files[0])}function c(){i.value&&n.dispatch(K.ACTIONS.UPDATE_USER_PICTURE,{picture:i.value})}return Rt(()=>{n.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES)}),(f,d)=>{const m=ie("ErrorMessage");return A(),N("div",Bve,[p("div",Hve,[a.value?(A(),te(m,{key:0,message:a.value},null,8,["message"])):x("",!0),k(No,{user:h(r)},null,8,["user"]),p("form",{onSubmit:Xe(c,["prevent"])},[p("input",{type:"file",name:"picture",accept:".png,.jpg,.gif",onInput:l},null,32),p("div",Vve,[p("span",jve,[Kve,j(" "+T(f.$t("workouts.MAX_SIZE"))+": "+T(h(o)),1)])]),p("div",Yve,[p("button",{type:"submit",disabled:!i.value},T(f.$t("user.PROFILE.PICTURE_UPDATE")),9,qve),h(r).picture?(A(),N("button",{key:0,class:"danger",onClick:u},T(f.$t("user.PROFILE.PICTURE_REMOVE")),1)):x("",!0),p("button",{class:"cancel",onClick:d[0]||(d[0]=E=>f.$router.push("/profile"))},T(f.$t("user.PROFILE.BACK_TO_PROFILE")),1)])],32)])])}}}),Zve=re(Xve,[["__scopeId","data-v-8f62d42f"]]),mh=["Africa/Abidjan","Africa/Accra","Africa/Algiers","Africa/Bissau","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/El_Aaiun","Africa/Johannesburg","Africa/Juba","Africa/Khartoum","Africa/Lagos","Africa/Maputo","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Asuncion","America/Atikokan","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Cayenne","America/Chicago","America/Chihuahua","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fortaleza","America/Fort_Nelson","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Inuvik","America/Iqaluit","America/Jamaica","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/La_Paz","America/Lima","America/Los_Angeles","America/Maceio","America/Managua","America/Manaus","America/Martinique","America/Matamoros","America/Mazatlan","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Sitka","America/St_Johns","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Atyrau","Asia/Baghdad","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kathmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Riyadh","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Currie","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/Perth","Australia/Sydney","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Helsinki","Europe/Istanbul","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Lisbon","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Oslo","Europe/Paris","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/Saratov","Europe/Simferopol","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zaporozhye","Europe/Zurich","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Wake","Pacific/Wallis"],Qve={id:"tz-dropdown"},Jve=["value","disabled","aria-expanded"],eRe=["aria-label"],tRe=["id","onClick","onMouseover","autofocus"],nRe=Z({__name:"TimezoneDropdown",props:{input:{},disabled:{type:Boolean,default:!1}},emits:["updateTimezone"],setup(e,{emit:t}){const n=e,r=t,{input:a,disabled:s}=he(n),o=le(a.value),i=le(!1),u=le(0),l=$(()=>a.value?mh.filter(O=>c(O)):mh);function c(O){return O.toLowerCase().match(o.value.toLowerCase())}function f(O){u.value=O}function d(O){l.value.length>O&&(o.value=l.value[O],r("updateTimezone",o.value),i.value=!1)}function m(O){O.preventDefault(),l.value.length>0&&d(u.value)}function E(O){O.preventDefault(),i.value=!0,o.value=O.target.value.trim()}function I(){d(u.value)}function b(O){const y=document.getElementById(`tz-dropdown-item-${O}`);y&&(y.focus(),y.scrollIntoView({behavior:"smooth",block:"nearest"}))}function v(){i.value=!0,u.value=u.value===null?0:u.value+=1,u.value>=l.value.length&&(u.value=0),b(u.value)}function R(){i.value=!0,u.value=u.value===null?l.value.length-1:u.value-=1,u.value<=-1&&(u.value=l.value.length-1),b(u.value)}function S(){i.value&&(i.value=!1,o.value=a.value)}return xe(()=>n.input,O=>{o.value=O}),(O,y)=>(A(),N("div",Qve,[p("input",{class:"tz-dropdown-input",id:"timezone",name:"timezone",value:o.value,disabled:h(s),required:"",role:"combobox","aria-autocomplete":"list","aria-controls":"tz-dropdown-list","aria-expanded":i.value,onKeydown:[y[0]||(y[0]=Et(P=>S(),["esc"])),Et(m,["enter"]),y[2]||(y[2]=Et(P=>v(),["down"])),y[3]||(y[3]=Et(P=>R(),["up"]))],onInput:E,onBlur:y[1]||(y[1]=P=>I())},null,40,Jve),i.value?(A(),N("ul",{key:0,class:"tz-dropdown-list",id:"tz-dropdown-list",role:"listbox",tabindex:"-1","aria-label":O.$t("user.PROFILE.TIMEZONE",0)},[(A(!0),N(ve,null,Fe(l.value,(P,M)=>(A(),N("li",{key:P,id:`tz-dropdown-item-${M}`,class:Ae(["tz-dropdown-item",{focus:M===u.value}]),onClick:w=>d(M),onMouseover:w=>f(M),autofocus:M===u.value,role:"option"},T(P),43,tRe))),128))],8,eRe)):x("",!0)]))}}),rRe=re(nRe,[["__scopeId","data-v-3d9b6b6f"]]),aRe=e=>(ct("data-v-7b19a78b"),e=e(),lt(),e),sRe={id:"user-preferences-edition"},oRe={class:"profile-form form-box"},iRe={class:"preferences-section"},uRe={class:"form-items"},cRe=["disabled"],lRe=["value"],dRe={class:"form-items"},fRe=["disabled"],pRe=["value"],mRe={class:"form-items"},ERe={class:"form-items"},hRe=["disabled"],_Re=["value"],TRe={class:"form-items form-checkboxes"},gRe={class:"checkboxes-label"},ARe={class:"checkboxes"},SRe=["id","name","checked","disabled","onInput"],ORe={class:"checkbox-label"},IRe={class:"preferences-section"},vRe={class:"form-items form-checkboxes"},RRe={class:"checkboxes-label"},bRe={class:"checkboxes"},NRe=["id","name","checked","disabled","onInput"],yRe={class:"checkbox-label"},CRe={class:"form-items form-checkboxes"},DRe={class:"checkboxes-label"},PRe={class:"checkboxes"},wRe=["id","name","checked","disabled","onInput"],LRe={class:"checkbox-label"},$Re={class:"form-items form-checkboxes"},kRe={class:"checkboxes-label"},URe={class:"checkboxes"},MRe=["id","name","checked","disabled","onInput"],xRe={class:"checkbox-label"},FRe={class:"form-items form-checkboxes"},WRe={class:"checkboxes-label"},GRe={class:"checkboxes"},zRe=["id","name","checked","disabled","onInput"],BRe={class:"checkbox-label"},HRe={class:"info-box raw-speed-help"},VRe=aRe(()=>p("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),jRe={class:"form-buttons"},KRe={class:"confirm",type:"submit"},YRe=Z({__name:"UserPreferencesEdition",props:{user:{}},setup(e){const t=e,n=$e(),r=Ft({display_ascent:!0,imperial_units:!1,language:"en",timezone:"Europe/Paris",date_format:"dd/MM/yyyy",weekm:!1,start_elevation_at_zero:!1,use_raw_gpx_speed:!1,use_dark_mode:!1}),a=[{label:"SUNDAY",value:!1},{label:"MONDAY",value:!0}],s=[{label:"METRIC",value:!1},{label:"IMPERIAL",value:!0}],o=[{label:"DISPLAYED",value:!0},{label:"HIDDEN",value:!1}],i=[{label:"ZERO",value:!0},{label:"MIN_ALT",value:!1}],u=[{label:"FILTERED_SPEED",value:!1},{label:"RAW_SPEED",value:!0}],l=[{label:"DARK",value:!0},{label:"DEFAULT",value:null},{label:"LIGHT",value:!1}],c=$(()=>n.getters[K.GETTERS.USER_LOADING]),f=$(()=>n.getters[H.GETTERS.ERROR_MESSAGES]),d=$(()=>CSe(new Date().toUTCString(),t.user.timezone,r.language));Tt(()=>{t.user&&m(t.user)});function m(y){r.display_ascent=y.display_ascent,r.start_elevation_at_zero=y.start_elevation_at_zero?y.start_elevation_at_zero:!1,r.use_raw_gpx_speed=y.use_raw_gpx_speed?y.use_raw_gpx_speed:!1,r.imperial_units=y.imperial_units?y.imperial_units:!1,r.language=y.language?y.language:"en",r.timezone=y.timezone?y.timezone:"Europe/Paris",r.date_format=y.date_format?y.date_format:"dd/MM/yyyy",r.weekm=y.weekm?y.weekm:!1,r.use_dark_mode=y.use_dark_mode}function E(){n.dispatch(K.ACTIONS.UPDATE_USER_PREFERENCES,r)}function I(y){r.timezone=y}function b(y){r.start_elevation_at_zero=y}function v(y){r.use_raw_gpx_speed=y}function R(y){r.display_ascent=y}function S(y){r.imperial_units=y}function O(y){r.weekm=y}return Rt(()=>{n.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES)}),(y,P)=>{const M=ie("ErrorMessage");return A(),N("div",sRe,[p("div",oRe,[f.value?(A(),te(M,{key:0,message:f.value},null,8,["message"])):x("",!0),p("form",{onSubmit:Xe(E,["prevent"])},[p("div",iRe,T(y.$t("user.PROFILE.INTERFACE")),1),p("label",uRe,[j(T(y.$t("user.PROFILE.LANGUAGE"))+" ",1),Ke(p("select",{id:"language","onUpdate:modelValue":P[0]||(P[0]=w=>r.language=w),disabled:c.value},[(A(!0),N(ve,null,Fe(h(ud),w=>(A(),N("option",{value:w.value,key:w.value},T(w.label),9,lRe))),128))],8,cRe),[[Gs,r.language]])]),p("label",dRe,[j(T(y.$t("user.PROFILE.THEME_MODE.LABEL"))+" ",1),Ke(p("select",{id:"use_dark_mode","onUpdate:modelValue":P[1]||(P[1]=w=>r.use_dark_mode=w),disabled:c.value},[(A(),N(ve,null,Fe(l,w=>p("option",{value:w.value,key:w.label},T(y.$t(`user.PROFILE.THEME_MODE.VALUES.${w.label}`)),9,pRe)),64))],8,fRe),[[Gs,r.use_dark_mode]])]),p("label",mRe,[j(T(y.$t("user.PROFILE.TIMEZONE"))+" ",1),k(rRe,{input:r.timezone,disabled:c.value,onUpdateTimezone:I},null,8,["input","disabled"])]),p("label",ERe,[j(T(y.$t("user.PROFILE.DATE_FORMAT"))+" ",1),Ke(p("select",{id:"date_format","onUpdate:modelValue":P[2]||(P[2]=w=>r.date_format=w),disabled:c.value},[(A(!0),N(ve,null,Fe(d.value,w=>(A(),N("option",{value:w.value,key:w.value},T(w.label),9,_Re))),128))],8,hRe),[[Gs,r.date_format]])]),p("div",TRe,[p("span",gRe,T(y.$t("user.PROFILE.FIRST_DAY_OF_WEEK")),1),p("div",ARe,[(A(),N(ve,null,Fe(a,w=>p("label",{key:w.label},[p("input",{type:"radio",id:w.label,name:w.label,checked:w.value===r.weekm,disabled:c.value,onInput:G=>O(w.value)},null,40,SRe),p("span",ORe,T(y.$t(`user.PROFILE.${w.label}`)),1)])),64))])]),p("div",IRe,T(y.$t("workouts.WORKOUT",0)),1),p("div",vRe,[p("span",RRe,T(y.$t("user.PROFILE.UNITS.LABEL")),1),p("div",bRe,[(A(),N(ve,null,Fe(s,w=>p("label",{key:w.label},[p("input",{type:"radio",id:w.label,name:w.label,checked:w.value===r.imperial_units,disabled:c.value,onInput:G=>S(w.value)},null,40,NRe),p("span",yRe,T(y.$t(`user.PROFILE.UNITS.${w.label}`)),1)])),64))])]),p("div",CRe,[p("span",DRe,T(y.$t("user.PROFILE.ASCENT_DATA")),1),p("div",PRe,[(A(),N(ve,null,Fe(o,w=>p("label",{key:w.label},[p("input",{type:"radio",id:w.label,name:w.label,checked:w.value===r.display_ascent,disabled:c.value,onInput:G=>R(w.value)},null,40,wRe),p("span",LRe,T(y.$t(`common.${w.label}`)),1)])),64))])]),p("div",$Re,[p("span",kRe,T(y.$t("user.PROFILE.ELEVATION_CHART_START.LABEL")),1),p("div",URe,[(A(),N(ve,null,Fe(i,w=>p("label",{key:w.label},[p("input",{type:"radio",id:w.label,name:w.label,checked:w.value===r.start_elevation_at_zero,disabled:c.value,onInput:G=>b(w.value)},null,40,MRe),p("span",xRe,T(y.$t(`user.PROFILE.ELEVATION_CHART_START.${w.label}`)),1)])),64))])]),p("div",FRe,[p("span",WRe,T(y.$t("user.PROFILE.USE_RAW_GPX_SPEED.LABEL")),1),p("div",GRe,[(A(),N(ve,null,Fe(u,w=>p("label",{key:w.label},[p("input",{type:"radio",id:w.label,name:w.label,checked:w.value===r.use_raw_gpx_speed,disabled:c.value,onInput:G=>v(w.value)},null,40,zRe),p("span",BRe,T(y.$t(`user.PROFILE.USE_RAW_GPX_SPEED.${w.label}`)),1)])),64))]),p("div",HRe,[p("span",null,[VRe,j(" "+T(y.$t("user.PROFILE.USE_RAW_GPX_SPEED.HELP")),1)])])]),p("div",jRe,[p("button",KRe,T(y.$t("buttons.SUBMIT")),1),p("button",{class:"cancel",onClick:P[3]||(P[3]=Xe(w=>y.$router.push("/profile/preferences"),["prevent"]))},T(y.$t("buttons.CANCEL")),1)])],32)])])}}}),qRe=re(YRe,[["__scopeId","data-v-7b19a78b"]]),XRe={class:"privacy-policy-text"},ZRe={class:"last-update"},QRe=["innerHTML"],JRe=["innerHTML"],ebe="Sun, 26 Feb 2023 17:00:00 GMT",tbe=Z({__name:"PrivacyPolicy",setup(e){const t=$e(),n=$(()=>t.getters[H.GETTERS.APP_CONFIG]),r=$(()=>t.getters[H.GETTERS.LANGUAGE]),a=$(()=>t.getters[K.GETTERS.AUTH_USER_PROFILE]),s=$(()=>c()),o=$(()=>l()),i=$(()=>f()),u=["DATA_COLLECTED","INFORMATION_USAGE","INFORMATION_PROTECTION","INFORMATION_DISCLOSURE","SITE_USAGE_BY_CHILDREN","YOUR_CONSENT","ACCOUNT_DELETION","CHANGES_TO_OUR_PRIVACY_POLICY"];function l(){return a.value.timezone?a.value.timezone:Intl.DateTimeFormat().resolvedOptions().timeZone?Intl.DateTimeFormat().resolvedOptions().timeZone:"Europe/Paris"}function c(){return NA[r.value]}function f(){return Fn(n.value.privacy_policy&&n.value.privacy_policy_date?`${n.value.privacy_policy_date}`:ebe,o.value,s.value,!1)}return(d,m)=>(A(),N("div",XRe,[p("h1",null,T(Ot(d.$t("privacy_policy.TITLE"))),1),p("p",ZRe,[j(T(d.$t("privacy_policy.LAST_UPDATE"))+": ",1),p("time",null,T(i.value),1)]),n.value.privacy_policy?(A(),N("div",{key:0,innerHTML:h(pa)(h(_o)(n.value.privacy_policy))},null,8,QRe)):(A(),N(ve,{key:1},Fe(u,E=>(A(),N(ve,{key:E},[p("h2",null,T(d.$t(`privacy_policy.CONTENT.${E}.TITLE`)),1),p("p",{innerHTML:h(pa)(d.$t(`privacy_policy.CONTENT.${E}.CONTENT`))},null,8,JRe)],64))),64))]))}}),VA=re(tbe,[["__scopeId","data-v-31d5cd27"]]),nbe={id:"user-privacy-policy"},rbe={key:1},abe={class:"policy-content"},sbe={for:"accepted_policy",class:"accepted_policy"},obe={class:"form-buttons"},ibe={class:"confirm",type:"submit"},ube=Z({__name:"UserPrivacyPolicyValidation",props:{user:{}},setup(e){const t=e,{user:n}=he(t),r=$e(),a=$(()=>r.getters[H.GETTERS.ERROR_MESSAGES]),s=le(!1),o=le(!1);function i(){r.dispatch(K.ACTIONS.ACCEPT_PRIVACY_POLICY,s.value)}function u(){o.value=!0}return Rt(()=>{r.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES)}),(l,c)=>{const f=ie("ErrorMessage"),d=ie("router-link"),m=ie("i18n-t");return A(),N("div",nbe,[a.value?(A(),te(f,{key:0,message:a.value},null,8,["message"])):x("",!0),h(n).accepted_privacy_policy?(A(),N("div",rbe,[p("p",null,[k(m,{keypath:"user.YOU_HAVE_ACCEPTED_PRIVACY_POLICY"},{default:ue(()=>[k(d,{to:"/privacy-policy"},{default:ue(()=>[j(T(l.$t("privacy_policy.TITLE")),1)]),_:1})]),_:1})]),p("button",{class:"cancel",onClick:c[0]||(c[0]=E=>l.$router.push("/profile"))},T(l.$t("user.PROFILE.BACK_TO_PROFILE")),1)])):(A(),N("form",{key:2,class:Ae({errors:o.value}),onSubmit:c[3]||(c[3]=Xe(E=>i(),["prevent"]))},[p("div",abe,[k(VA)]),p("label",sbe,[Ke(p("input",{type:"checkbox",id:"accepted_policy",required:"","onUpdate:modelValue":c[1]||(c[1]=E=>s.value=E),onInvalid:u},null,544),[[hf,s.value]]),p("span",null,[k(m,{keypath:"user.READ_AND_ACCEPT_PRIVACY_POLICY"},{default:ue(()=>[j(T(l.$t("privacy_policy.TITLE")),1)]),_:1})])]),k(d,{to:"/profile/edit/account"},{default:ue(()=>[j(T(l.$t("user.I_WANT_TO_DELETE_MY_ACCOUNT")),1)]),_:1}),p("div",obe,[p("button",ibe,T(l.$t("buttons.SUBMIT")),1),p("button",{class:"cancel",onClick:c[2]||(c[2]=E=>l.$router.push("/profile"))},T(l.$t("user.PROFILE.BACK_TO_PROFILE")),1)])],34))])}}}),cbe=re(ube,[["__scopeId","data-v-9b1ceaf7"]]),lbe=["profile:read","profile:write","users:read","users:write","workouts:read","workouts:write"],dbe=["application:write"],fbe={id:"new-oauth2-app"},pbe={id:"new-oauth2-title"},mbe={id:"apps-form"},Ebe={class:"form-items"},hbe={class:"form-item"},_be={for:"app-name"},Tbe={class:"form-item"},gbe={for:"app-description"},Abe={class:"form-item"},Sbe={for:"app-url"},Obe={class:"form-item"},Ibe={for:"app-redirect-uri"},vbe={class:"form-item-scope"},Rbe={class:"form-item-scope-label"},bbe={class:"scope-label"},Nbe=["name","checked","onChange"],ybe=["innerHTML"],Cbe={class:"form-buttons"},Dbe=["disabled"],Pbe=Z({__name:"AddUserApp",props:{authUser:{}},setup(e){const t=e,n=$e(),r=Ft({client_name:"",client_uri:"",client_description:"",description:"",redirect_uri:""}),a=Ft([]),s=$(()=>l(t.authUser,dbe,lbe));function o(){const c={client_name:r.client_name,client_description:r.client_description,client_uri:r.client_uri,redirect_uris:[r.redirect_uri],scope:a.sort().join(" ")};n.dispatch(je.ACTIONS.CREATE_CLIENT,c)}function i(c){r.client_description=c}function u(c){const f=a.indexOf(c);f>-1?a.splice(f,1):a.push(c)}function l(c,f,d){const m=[...d];return c.admin&&m.push(...f),m.sort()}return(c,f)=>{const d=ie("CustomTextArea");return A(),N("div",fbe,[p("h1",pbe,T(c.$t("oauth2.ADD_A_NEW_APP")),1),p("div",mbe,[p("form",{onSubmit:Xe(o,["prevent"])},[p("div",Ebe,[p("div",hbe,[p("label",_be,T(c.$t("oauth2.APP.NAME"))+"*",1),Ke(p("input",{id:"app-name",type:"text",required:"","onUpdate:modelValue":f[0]||(f[0]=m=>r.client_name=m)},null,512),[[tt,r.client_name]])]),p("div",Tbe,[p("label",gbe,T(c.$t("oauth2.APP.DESCRIPTION")),1),k(d,{name:"app-description",charLimit:200,input:r.description,onUpdateValue:i},null,8,["input"])]),p("div",Abe,[p("label",Sbe,T(c.$t("oauth2.APP.URL"))+"*",1),Ke(p("input",{id:"app-url",type:"text",required:"","onUpdate:modelValue":f[1]||(f[1]=m=>r.client_uri=m)},null,512),[[tt,r.client_uri]])]),p("div",Obe,[p("label",Ibe,T(c.$t("oauth2.APP.REDIRECT_URL"))+"* ",1),Ke(p("input",{id:"app-redirect-uri",type:"text",required:"","onUpdate:modelValue":f[2]||(f[2]=m=>r.redirect_uri=m)},null,512),[[tt,r.redirect_uri]])]),p("div",vbe,[p("div",Rbe,T(c.$t("oauth2.APP.SCOPE.LABEL"))+"* ",1),(A(!0),N(ve,null,Fe(s.value,m=>(A(),N("div",{class:"form-item-scope-checkboxes",key:m},[p("label",bbe,[p("input",{type:"checkbox",name:m,checked:a.includes(m),onChange:E=>u(m)},null,40,Nbe),p("code",null,T(m),1)]),p("p",{class:"scope-description",innerHTML:c.$t(`oauth2.APP.SCOPE.${m}_DESCRIPTION`)},null,8,ybe)]))),128))])]),p("div",Cbe,[p("button",{class:"confirm",type:"submit",disabled:a.length===0},T(c.$t("buttons.SUBMIT")),9,Dbe),p("button",{class:"cancel",onClick:f[3]||(f[3]=Xe(()=>c.$router.push("/profile/apps"),["prevent"]))},T(c.$t("buttons.CANCEL")),1)])],32)])])}}}),wbe=re(Pbe,[["__scopeId","data-v-e2284e06"]]),Lbe={id:"authorize-oauth2-app"},$be={key:0},kbe={id:"authorize-oauth2-title"},Ube={class:"oauth2-access description-list"},Mbe={class:"client-scope"},xbe=["innerHTML"],Fbe={class:"authorize-oauth2-buttons"},Wbe={key:1},Gbe={class:"no-app"},zbe=Z({__name:"AuthorizeUserApp",setup(e){const t=Kt(),n=$e(),r=$(()=>n.getters[je.GETTERS.CLIENT]),a=$(()=>n.getters[H.GETTERS.ERROR_MESSAGES]);vt(()=>s());function s(){t.query.client_id&&typeof t.query.client_id=="string"&&n.dispatch(je.ACTIONS.GET_CLIENT_BY_CLIENT_ID,t.query.client_id)}function o(){n.dispatch(je.ACTIONS.AUTHORIZE_CLIENT,{client_id:`${t.query.client_id}`,redirect_uri:`${t.query.redirect_uri}`,response_type:`${t.query.response_type}`,scope:`${t.query.scope}`,state:`${t.query.state?t.query.state:""}`,code_challenge:`${t.query.code_challenge?t.query.code_challenge:""}`,code_challenge_method:`${t.query.code_challenge_method?t.query.code_challenge_method:""}`})}return(i,u)=>{const l=ie("router-link"),c=ie("i18n-t"),f=ie("ErrorMessage");return A(),N("div",Lbe,[r.value.client_id?(A(),N("div",$be,[p("h1",kbe,[k(c,{keypath:"oauth2.AUTHORIZE_APP"},{default:ue(()=>[k(l,{to:{name:"UserApp",params:{id:r.value.id}}},{default:ue(()=>[j(T(r.value.name),1)]),_:1},8,["to"])]),_:1})]),a.value?(A(),te(f,{key:0,message:a.value},null,8,["message"])):x("",!0),p("div",Ube,[p("p",null,T(i.$t("oauth2.APP_REQUESTING_ACCESS")),1),p("dl",null,[(A(!0),N(ve,null,Fe(r.value.scope.split(" "),d=>(A(),N(ve,{key:d},[p("dt",Mbe,[p("code",null,T(d),1)]),p("dd",{innerHTML:i.$t(`oauth2.APP.SCOPE.${d}_DESCRIPTION`)},null,8,xbe)],64))),128))]),p("div",Fbe,[p("button",{class:"danger",onClick:o},T(i.$t("buttons.AUTHORIZE")),1),p("button",{class:"cancel",onClick:u[0]||(u[0]=d=>i.$router.push("/profile/apps"))},T(i.$t("buttons.CANCEL")),1)])])])):(A(),N("div",Wbe,[p("p",Gbe,T(i.$t("oauth2.NO_APP")),1),p("button",{onClick:u[1]||(u[1]=d=>i.$router.push("/profile/apps"))},T(i.$t("buttons.BACK")),1)]))])}}}),Bbe=re(zbe,[["__scopeId","data-v-a8ed6bf8"]]),Hbe={id:"oauth2-apps"},Vbe=Z({__name:"index",props:{user:{}},setup(e){const t=e,n=$e(),{user:r}=he(t);return Rt(()=>{n.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),n.commit(je.MUTATIONS.SET_CLIENTS,[])}),(a,s)=>{const o=ie("router-view");return A(),N("div",Hbe,[k(o,{authUser:h(r)},null,8,["authUser"])])}}}),jbe={id:"oauth2-app",class:"description-list"},Kbe={key:1},Ybe={key:0,class:"info-box success-message"},qbe=["title"],Xbe={key:0},Zbe={key:1,class:"app-secret"},Qbe=["title"],Jbe={class:"client-scopes"},eNe={class:"app-buttons"},tNe={key:2},nNe={class:"no-app"},rNe=Z({__name:"UserApp",props:{authUser:{},afterCreation:{type:Boolean,default:!1}},setup(e){const t=e,n=Kt(),r=$e(),{afterCreation:a,authUser:s}=he(t),o=$(()=>r.getters[je.GETTERS.CLIENT]),i=$(()=>r.getters[je.GETTERS.REVOCATION_SUCCESSFUL]),u=le(!1),l=le(""),c=le(!1),f=le(!1),d=le(!1);vt(()=>{m(),navigator.clipboard&&(d.value=!0)});function m(){!a.value&&n.params.id&&typeof n.params.id=="string"&&r.dispatch(je.ACTIONS.GET_CLIENT_BY_ID,+n.params.id)}function E(S){l.value=S?"oauth2.APP_DELETION_CONFIRMATION":"oauth2.TOKENS_REVOCATION_CONFIRMATION",I(!0)}function I(S){u.value=S,S||(l.value="")}function b(S){l.value==="oauth2.APP_DELETION_CONFIRMATION"?r.dispatch(je.ACTIONS.DELETE_CLIENT,S):r.dispatch(je.ACTIONS.REVOKE_ALL_TOKENS,S)}function v(){navigator.clipboard.writeText(o.value.client_id),c.value=!0,f.value=!1,setTimeout(()=>{c.value=!1},3e3)}function R(){o.value.client_secret&&(navigator.clipboard.writeText(o.value.client_secret),f.value=!0,c.value=!1,setTimeout(()=>{f.value=!1},3e3))}return Rt(()=>{r.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES),r.commit(je.MUTATIONS.EMPTY_CLIENT),r.commit(je.MUTATIONS.SET_REVOCATION_SUCCESSFUL,!1)}),xe(()=>i.value,S=>{S&&I(!1)}),(S,O)=>{const y=ie("Modal");return A(),N("div",jbe,[u.value?(A(),te(y,{key:0,title:S.$t("common.CONFIRMATION"),message:S.$t(l.value),onConfirmAction:O[0]||(O[0]=P=>b(o.value.id)),onCancelAction:O[1]||(O[1]=P=>I(!1)),onKeydown:O[2]||(O[2]=Et(P=>I(!1),["esc"]))},null,8,["title","message"])):x("",!0),o.value&&o.value.client_id?(A(),N("div",Kbe,[h(a)||i.value?(A(),N("div",Ybe,T(S.$t(h(a)?"oauth2.APP_CREATED_SUCCESSFULLY":"oauth2.TOKENS_REVOKED")),1)):x("",!0),p("dl",null,[p("dt",null,T(S.$t("oauth2.APP.CLIENT_ID"))+":",1),p("dd",null,[j(T(o.value.client_id)+" ",1),h(a)&&d.value?(A(),N("i",{key:0,class:Ae(`fa fa-${c.value?"check":"copy"}`),"aria-hidden":"true",title:S.$t("oauth2.COPY_TO_CLIPBOARD"),onClick:v},null,10,qbe)):x("",!0)]),h(a)&&o.value.client_secret?(A(),N("dt",Xbe,T(S.$t("oauth2.APP.CLIENT_SECRET"))+": ",1)):x("",!0),h(a)&&o.value.client_secret?(A(),N("dd",Zbe,[j(T(o.value.client_secret)+" ",1),d.value?(A(),N("i",{key:0,class:Ae(`fa fa-${f.value?"check":"copy"}`),"aria-hidden":"true",title:S.$t("oauth2.COPY_TO_CLIPBOARD"),onClick:R},null,10,Qbe)):x("",!0)])):x("",!0),p("dt",null,T(Ot(S.$t("oauth2.APP.ISSUE_AT")))+":",1),p("dd",null,[p("time",null,T(h(Fn)(o.value.issued_at,h(s).timezone,h(s).date_format)),1)]),p("dt",null,T(S.$t("oauth2.APP.NAME"))+":",1),p("dd",null,T(o.value.name),1),p("dt",null,T(S.$t("oauth2.APP.DESCRIPTION"))+":",1),p("dd",{class:Ae({"no-description":!o.value.client_description})},T(o.value.client_description?o.value.client_description:S.$t("oauth2.NO_DESCRIPTION")),3),p("dt",null,T(S.$t("oauth2.APP.URL"))+":",1),p("dd",null,T(o.value.website),1),p("dt",null,T(S.$t("oauth2.APP.REDIRECT_URL"))+":",1),p("dd",null,T(o.value.redirect_uris.length>0?o.value.redirect_uris[0]:""),1),p("dt",null,T(S.$t("oauth2.APP.SCOPE.LABEL"))+":",1),p("dd",Jbe,[(A(!0),N(ve,null,Fe(o.value.scope.split(" "),P=>(A(),N("span",{class:"client-scope",key:P},[p("code",null,T(P),1)]))),128))])]),p("div",eNe,[p("button",{class:"danger",onClick:O[3]||(O[3]=P=>E(!1))},T(S.$t("oauth2.REVOKE_ALL_TOKENS")),1),p("button",{class:"danger",onClick:O[4]||(O[4]=P=>E(!0))},T(S.$t("oauth2.DELETE_APP")),1),p("button",{onClick:O[5]||(O[5]=P=>S.$router.push("/profile/apps"))},T(S.$t("buttons.BACK")),1)])])):(A(),N("div",tNe,[p("p",nNe,T(S.$t("oauth2.NO_APP")),1),p("button",{onClick:O[6]||(O[6]=P=>S.$router.push("/profile/apps"))},T(S.$t("buttons.BACK")),1)]))])}}}),Eh=re(rNe,[["__scopeId","data-v-3a7d0f4a"]]),aNe={id:"oauth2-apps-list"},sNe={class:"apps-list"},oNe={key:0},iNe={class:"app-issued-at"},uNe={key:1,class:"no-apps"},cNe={class:"app-list-buttons"},lNe=Z({__name:"UserAppsList",props:{authUser:{}},setup(e){const t=e,n=$e(),r=Kt(),{authUser:a}=he(t),s=$(()=>n.getters[je.GETTERS.CLIENTS]),o=$(()=>n.getters[je.GETTERS.CLIENTS_PAGINATION]);let i=u(r.query);vt(()=>{l(i)});function u(c){const f={};return c.page&&(f.page=Fd(c.page,SA)),f}function l(c){n.dispatch(je.ACTIONS.GET_CLIENTS,c)}return xe(()=>r.query,async c=>{i=u(c),l(i)}),(c,f)=>{const d=ie("router-link");return A(),N("div",aNe,[p("p",sNe,T(c.$t("oauth2.APPS_LIST")),1),s.value.length>0?(A(),N("ul",oNe,[(A(!0),N(ve,null,Fe(s.value,m=>(A(),N("li",{key:m.client_id},[k(d,{to:{name:"UserApp",params:{id:m.id}}},{default:ue(()=>[j(T(m.name),1)]),_:2},1032,["to"]),p("span",iNe,[j(T(c.$t("oauth2.APP.ISSUE_AT"))+" ",1),p("time",null,T(h(Fn)(m.issued_at,h(a).timezone,h(a).date_format)),1)])]))),128))])):(A(),N("div",uNe,T(c.$t("oauth2.NO_APPS")),1)),s.value.length>0?(A(),te(xu,{key:2,pagination:o.value,path:"/profile/apps",query:h(i)},null,8,["pagination","query"])):x("",!0),p("div",cNe,[p("button",{onClick:f[0]||(f[0]=m=>c.$router.push("/profile/apps/new"))},T(c.$t("oauth2.NEW_APP")),1),p("button",{onClick:f[1]||(f[1]=m=>c.$router.push("/"))},T(c.$t("common.HOME")),1)])])}}}),dNe=re(lNe,[["__scopeId","data-v-064a87b7"]]),fNe={id:"user-sport-preferences"},pNe={key:0,class:"responsive-table"},mNe={class:"mobile-display"},ENe={key:0,class:"profile-buttons mobile-display"},hNe={key:1,class:"profile-buttons"},_Ne={class:"text-left"},TNe={key:0},gNe={class:"cell-heading"},ANe=["value"],SNe={class:"cell-heading"},ONe={key:0,class:"disabled-message"},INe={key:1,class:"fa fa-refresh fa-spin fa-fw"},vNe={class:"cell-heading"},RNe={class:"cell-heading"},bNe=["checked"],NNe={class:"cell-heading"},yNe=["value"],CNe={key:1},DNe={key:0,class:"action-buttons"},PNe={class:"cell-heading"},wNe=["onClick"],LNe={key:1,class:"edition-buttons"},$Ne=["disabled"],kNe=["disabled","onClick"],UNe=["disabled"],MNe={key:0,class:"profile-buttons"},xNe={key:1,class:"profile-buttons"},FNe="#838383",WNe=Z({__name:"UserSportPreferences",props:{user:{},isEdition:{type:Boolean}},setup(e){const t=e,n=$e(),{t:r}=jt(),{isEdition:a,user:s}=he(t),o=_t("sportColors"),i=$(()=>n.getters[kt.GETTERS.SPORTS]),u=$(()=>Jr(i.value,r,"is_active",s.value.sports_list)),l=$(()=>n.getters[K.GETTERS.USER_LOADING]),c=$(()=>n.getters[H.GETTERS.ERROR_MESSAGES]),f=Ft({sport_id:0,color:null,is_active:!0,stopped_speed_threshold:1});function d(O){O!==null?(f.sport_id=O.id,f.color=O.color?O.color:o?o[O.label]:FNe,f.is_active=O.is_active_for_user,f.stopped_speed_threshold=O.stopped_speed_threshold):v()}function m(O){return f.sport_id===O}function E(O){f.color=O.target.value}function I(O){f.stopped_speed_threshold=parseFloat(O.target.value)}function b(O){f.is_active=O.target.checked}function v(){f.sport_id=0,f.color=null,f.is_active=!0,f.stopped_speed_threshold=1,n.commit(H.MUTATIONS.EMPTY_ERROR_MESSAGES)}function R(O){O.preventDefault(),n.dispatch(K.ACTIONS.UPDATE_USER_SPORT_PREFERENCES,f)}function S(O,y){O.preventDefault(),n.dispatch(K.ACTIONS.RESET_USER_SPORT_PREFERENCES,y)}return xe(()=>l.value,O=>{!O&&!c.value&&v()}),(O,y)=>{const P=ie("SportImage"),M=ie("ErrorMessage");return A(),N("div",fNe,[i.value.length>0?(A(),N("div",pNe,[p("div",mNe,[h(a)?(A(),N("div",ENe,[p("button",{class:"cancel",onClick:y[0]||(y[0]=Xe(w=>O.$router.push("/profile/sports"),["prevent"]))},T(O.$t("buttons.BACK")),1)])):(A(),N("div",hNe,[p("button",{onClick:y[1]||(y[1]=w=>O.$router.push("/profile/edit/sports"))},T(O.$t("user.PROFILE.EDIT_SPORTS_PREFERENCES")),1),p("button",{onClick:y[2]||(y[2]=w=>O.$router.push("/"))},T(O.$t("common.HOME")),1)]))]),p("table",null,[p("thead",null,[p("tr",null,[p("th",null,T(O.$t("user.PROFILE.SPORT.COLOR")),1),p("th",_Ne,T(O.$t("workouts.SPORT",0)),1),p("th",null,T(O.$t("workouts.WORKOUT",0)),1),p("th",null,T(O.$t("user.PROFILE.SPORT.IS_ACTIVE")),1),p("th",null,T(O.$t("user.PROFILE.SPORT.STOPPED_SPEED_THRESHOLD")),1),h(a)?(A(),N("th",TNe,T(O.$t("user.PROFILE.SPORT.ACTION")),1)):x("",!0)])]),p("tbody",null,[(A(!0),N(ve,null,Fe(u.value,w=>(A(),N("tr",{key:w.id},[p("td",null,[p("span",gNe,T(O.$t("user.PROFILE.SPORT.COLOR")),1),m(w.id)?(A(),N("input",{key:0,class:"sport-color",type:"color",value:f.color,onInput:E},null,40,ANe)):(A(),te(P,{key:1,title:w.translatedLabel,"sport-label":w.label,color:w.color?w.color:h(o)[w.label]},null,8,["title","sport-label","color"]))]),p("td",{class:Ae(["sport-label",{"disabled-sport":!w.is_active}])},[p("span",SNe,T(O.$t("user.PROFILE.SPORT.LABEL")),1),j(" "+T(w.translatedLabel)+" ",1),w.is_active?x("",!0):(A(),N("span",ONe," ("+T(O.$t("user.PROFILE.SPORT.DISABLED_BY_ADMIN"))+") ",1)),l.value&&m(w.id)?(A(),N("i",INe)):x("",!0),c.value&&f.sport_id===w.id?(A(),te(M,{key:2,message:c.value},null,8,["message"])):x("",!0)],2),p("td",{class:Ae(["text-center",{"disabled-sport":!w.is_active}])},[p("span",vNe,T(O.$t("workouts.WORKOUT",0)),1),p("i",{class:Ae(`fa fa${h(s).sports_list.includes(w.id)?"-check":""}`),"aria-hidden":"true"},null,2)],2),p("td",{class:Ae(["text-center",{"disabled-sport":!w.is_active}])},[p("span",RNe,T(O.$t("user.PROFILE.SPORT.IS_ACTIVE")),1),m(w.id)&&w.is_active?(A(),N("input",{key:0,type:"checkbox",checked:w.is_active_for_user,onChange:b},null,40,bNe)):(A(),N("i",{key:1,class:Ae(`fa fa${w.is_active_for_user?"-check":""}`),"aria-hidden":"true"},null,2))],2),p("td",{class:Ae(["text-center",{"disabled-sport":!w.is_active}])},[p("span",NNe,T(O.$t("user.PROFILE.SPORT.STOPPED_SPEED_THRESHOLD")),1),m(w.id)&&w.is_active?(A(),N("input",{key:0,class:"threshold-input",type:"number",min:"0",step:"0.1",value:f.stopped_speed_threshold,onInput:I},null,40,yNe)):(A(),N("span",CNe,T(w.stopped_speed_threshold),1))],2),h(a)?(A(),N("td",DNe,[p("span",PNe,T(O.$t("user.PROFILE.SPORT.ACTION")),1),f.sport_id===0?(A(),N("button",{key:0,onClick:G=>d(w)},T(O.$t("buttons.EDIT")),9,wNe)):x("",!0),m(w.id)?(A(),N("div",LNe,[p("button",{disabled:l.value,onClick:R},T(O.$t("buttons.SUBMIT")),9,$Ne),p("button",{disabled:l.value,onClick:G=>S(G,w.id)},T(O.$t("buttons.RESET")),9,kNe),p("button",{disabled:l.value,onClick:y[3]||(y[3]=G=>d(null))},T(O.$t("buttons.CANCEL")),9,UNe)])):x("",!0)])):x("",!0)]))),128))])]),h(a)?(A(),N("div",MNe,[p("button",{class:"cancel",onClick:y[4]||(y[4]=Xe(w=>O.$router.push("/profile/sports"),["prevent"]))},T(O.$t("buttons.BACK")),1)])):(A(),N("div",xNe,[p("button",{onClick:y[5]||(y[5]=w=>O.$router.push("/profile/edit/sports"))},T(O.$t("user.PROFILE.EDIT_SPORTS_PREFERENCES")),1),p("button",{onClick:y[6]||(y[6]=w=>O.$router.push("/"))},T(O.$t("common.HOME")),1)]))])):x("",!0)])}}}),hh=re(WNe,[["__scopeId","data-v-aa4857fe"]]),Mo=e=>(ct("data-v-34b1686b"),e=e(),lt(),e),GNe={class:"about-text"},zNe=["innerHTML"],BNe=Mo(()=>p("i",{class:"fa fa-book fa-padding","aria-hidden":"true"},null,-1)),HNe=["href"],VNe=Mo(()=>p("i",{class:"fa fa-github fa-padding","aria-hidden":"true"},null,-1)),jNe={href:"https://github.com/SamR1/FitTrackee",target:"_blank",rel:"noopener noreferrer"},KNe=Mo(()=>p("i",{class:"fa fa-balance-scale fa-padding","aria-hidden":"true"},null,-1)),YNe=Mo(()=>p("a",{href:"https://choosealicense.com/licenses/agpl-3.0/",target:"_blank",rel:"noopener noreferrer"},"AGPLv3",-1)),qNe={key:0},XNe=Mo(()=>p("i",{class:"fa fa-envelope-o fa-padding","aria-hidden":"true"},null,-1)),ZNe=["href"],QNe={key:1},JNe=["href"],e3e={class:"about-instance"},t3e=["innerHTML"],n3e=Z({__name:"About",setup(e){const t=$e(),n=$(()=>t.getters[H.GETTERS.APP_CONFIG]),r=$(()=>o()),a=$(()=>t.getters[H.GETTERS.LANGUAGE]),s=$(()=>i());function o(){const u={};return n.value.weather_provider==="visualcrossing"&&(u.name="Visual Crossing",u.url="https://www.visualcrossing.com"),u}function i(){let u="https://samr1.github.io/FitTrackee/";return a.value==="fr"&&(u+="fr/"),u}return(u,l)=>{const c=ie("i18n-t");return A(),N("div",GNe,[p("div",null,[p("p",{class:"error-message",innerHTML:u.$t("about.FITTRACKEE_DESCRIPTION")},null,8,zNe),p("p",null,[BNe,p("a",{class:"documentation-link",href:s.value,target:"_blank",rel:"noopener noreferrer"},T(Ot(u.$t("common.DOCUMENTATION"))),9,HNe)]),p("p",null,[VNe,p("a",jNe,T(u.$t("about.SOURCE_CODE")),1)]),p("p",null,[KNe,k(c,{keypath:"about.FITTRACKEE_LICENSE"},{default:ue(()=>[YNe]),_:1})]),n.value.admin_contact?(A(),N("div",qNe,[XNe,p("a",{href:`mailto:${n.value.admin_contact}`},T(u.$t("about.CONTACT_ADMIN")),9,ZNe)])):x("",!0),r.value&&r.value.name?(A(),N("div",QNe,[j(T(u.$t("about.WEATHER_DATA_FROM"))+" ",1),p("a",{href:r.value.url,target:"_blank",rel:"nofollow noopener"},T(r.value.name),9,JNe)])):x("",!0),n.value.about?(A(),N(ve,{key:2},[p("p",e3e,T(u.$t("about.ABOUT_THIS_INSTANCE")),1),p("div",{innerHTML:h(pa)(h(_o)(n.value.about))},null,8,t3e)],64)):x("",!0)])])}}}),r3e=re(n3e,[["__scopeId","data-v-34b1686b"]]),a3e={},s3e={id:"bike"},o3e=["src"];function i3e(e,t){return A(),N("div",s3e,[p("img",{class:"bike-img",src:"/img/bike.svg",alt:"mountain bike"},null,8,o3e)])}const jA=re(a3e,[["render",i3e],["__scopeId","data-v-dc181e30"]]),u3e={id:"about",class:"view"},c3e={class:"container"},l3e={class:"container-sub"},d3e={class:"container-sub about-details"},f3e=Z({__name:"AboutView",setup(e){return(t,n)=>(A(),N("div",u3e,[p("div",c3e,[p("div",l3e,[k(jA)]),p("div",d3e,[k(r3e)])])]))}}),p3e=re(f3e,[["__scopeId","data-v-ef9c7198"]]),m3e={id:"error"},E3e={class:"error-content"},h3e=Z({__name:"Error",props:{title:{},message:{},buttonText:{},path:{default:"/"}},setup(e){const t=e,{buttonText:n,title:r,message:a,path:s}=he(t);return(o,i)=>(A(),N("div",m3e,[p("div",E3e,[p("h1",null,T(h(r)),1),p("p",null,T(h(a)),1),h(n)?(A(),N("button",{key:0,onClick:i[0]||(i[0]=u=>o.$router.push(h(s))),class:"upper"},T(h(n)),1)):x("",!0)])]))}}),_3e=re(h3e,[["__scopeId","data-v-48ec856d"]]),I0=Z({__name:"NotFound",props:{target:{default:"PAGE"}},setup(e){const t=e,{target:n}=he(t),r=le(),a=le(!1);Tt(()=>s());function s(){r.value=setTimeout(()=>{a.value=!0},500)}return Rt(()=>{r.value&&clearTimeout(r.value)}),(o,i)=>a.value?(A(),te(_3e,{key:0,title:"404",message:o.$t(`error.NOT_FOUND.${h(n)}`),"button-text":o.$t("common.HOME")},null,8,["message","button-text"])):x("",!0)}}),T3e=e=>(ct("data-v-5eee0876"),e=e(),lt(),e),g3e={id:"admin",class:"view"},A3e={key:0,class:"container"},S3e=T3e(()=>p("div",{id:"bottom"},null,-1)),O3e=Z({__name:"AdminView",setup(e){const t=$e(),n=$(()=>t.getters[H.GETTERS.APP_CONFIG]),r=$(()=>t.getters[H.GETTERS.APP_STATS]),a=$(()=>t.getters[K.GETTERS.IS_ADMIN]),s=$(()=>t.getters[K.GETTERS.USER_LOADING]);return vt(()=>t.dispatch(H.ACTIONS.GET_APPLICATION_STATS)),(o,i)=>{const u=ie("router-view");return A(),N("div",g3e,[s.value?x("",!0):(A(),N("div",A3e,[a.value?(A(),te(u,{key:0,appConfig:n.value,appStatistics:r.value},null,8,["appConfig","appStatistics"])):(A(),te(I0,{key:1})),S3e]))])}}}),I3e=re(O3e,[["__scopeId","data-v-5eee0876"]]),KA="/img/workouts/mountains.svg",v3e=p("div",{class:"map-attribution"},[p("span",{class:"map-attribution-text"},"©"),p("a",{class:"map-attribution-text",href:"https://www.openstreetmap.org/copyright",target:"_blank",rel:"noopener noreferrer"}," OpenStreetMap ")],-1),YA=Z({__name:"StaticMap",props:{workout:{},displayHover:{type:Boolean,default:!1}},setup(e){const t=e,{displayHover:n}=he(t),r=`${bo()}workouts/map/${t.workout.map}`;return(a,s)=>(A(),N("div",{class:Ae(["static-map",{"display-hover":h(n)}])},[h(n)?(A(),N("img",{key:0,src:r,alt:""})):(A(),N("div",{key:1,class:"bg-map-image",style:Yr({backgroundImage:`url(${r})`})},null,4)),v3e],2))}}),v0=e=>(ct("data-v-0bcae633"),e=e(),lt(),e),R3e={class:"timeline-workout"},b3e={class:"box"},N3e={class:"workout-user-date"},y3e={class:"workout-user"},C3e=["title"],D3e={key:0},P3e={key:1,class:"no-map"},w3e={class:"img"},L3e={class:"data"},$3e=v0(()=>p("i",{class:"fa fa-clock-o","aria-hidden":"true"},null,-1)),k3e={key:0},U3e={class:"data"},M3e=v0(()=>p("i",{class:"fa fa-road","aria-hidden":"true"},null,-1)),x3e={key:0,class:"data elevation"},F3e=["alt"],W3e={class:"data-values"},G3e={key:1,class:"data altitude"},z3e=v0(()=>p("i",{class:"fa fa-location-arrow","aria-hidden":"true"},null,-1)),B3e={class:"data-values"},H3e=Z({__name:"WorkoutCard",props:{user:{},useImperialUnits:{type:Boolean},workout:{default:()=>({})},sport:{default:()=>({})}},setup(e){const t=e,n=$e(),{user:r,workout:a,sport:s,useImperialUnits:o}=he(t),i=$(()=>n.getters[H.GETTERS.LOCALE]);function u(c){return c.with_gpx&&c.min_alt!==null&&c.max_alt!==null}function l(c){return u(c)&&c.ascent!==null&&c.descent!==null}return(c,f)=>{var I;const d=ie("router-link"),m=ie("SportImage"),E=ie("Distance");return A(),N("div",R3e,[p("div",b3e,[p("div",N3e,[p("div",y3e,[k(No,{user:h(r)},null,8,["user"]),h(r).username?(A(),te(d,{key:0,class:"workout-user-name",to:{name:"User",params:{username:h(r).username}}},{default:ue(()=>[j(T(h(r).username),1)]),_:1},8,["to"])):x("",!0)]),h(a).id?(A(),te(d,{key:0,class:"workout-title",to:{name:"Workout",params:{workoutId:h(a).id}}},{default:ue(()=>[j(T(h(a).title),1)]),_:1},8,["to"])):x("",!0),h(a).workout_date&&h(r)?(A(),N("div",{key:1,class:"workout-date",title:h(Fn)(h(a).workout_date,h(r).timezone,h(r).date_format)},T(h(M3)(new Date(h(a).workout_date),new Date,{addSuffix:!0,locale:i.value})),9,C3e)):x("",!0)]),p("div",{class:Ae(["workout-map",{"no-cursor":!h(a)}]),onClick:f[0]||(f[0]=b=>h(a).id?c.$router.push({name:"Workout",params:{workoutId:h(a).id}}):null)},[h(a)?(A(),N("div",D3e,[h(a).with_gpx?(A(),te(YA,{key:0,workout:h(a)},null,8,["workout"])):(A(),N("div",P3e,T(c.$t("workouts.NO_MAP")),1))])):x("",!0)],2),p("div",{class:Ae(["workout-data",{"without-elevation":!u(h(a))}]),onClick:f[1]||(f[1]=b=>h(a).id?c.$router.push({name:"Workout",params:{workoutId:h(a).id}}):null)},[p("div",w3e,[(I=h(s))!=null&&I.label?(A(),te(m,{key:0,"sport-label":h(s).label,color:h(s).color},null,8,["sport-label","color"])):x("",!0)]),p("div",L3e,[$3e,h(a)?(A(),N("span",k3e,T(h(a).moving),1)):x("",!0)]),p("div",U3e,[M3e,h(a).id?(A(),te(E,{key:0,distance:h(a).distance,digits:3,unitFrom:"km",useImperialUnits:h(o)},null,8,["distance","useImperialUnits"])):x("",!0)]),u(h(a))?(A(),N("div",x3e,[p("img",{class:"mountains",src:KA,alt:c.$t("workouts.ELEVATION")},null,8,F3e),p("div",W3e,[h(a).id?(A(),te(E,{key:0,distance:h(a).min_alt,unitFrom:"m",displayUnit:!1,useImperialUnits:h(o)},null,8,["distance","useImperialUnits"])):x("",!0),j("/ "),h(a).id?(A(),te(E,{key:1,distance:h(a).max_alt,unitFrom:"m",useImperialUnits:h(o)},null,8,["distance","useImperialUnits"])):x("",!0)])])):x("",!0),l(h(a))?(A(),N("div",G3e,[z3e,p("div",B3e,[j(" +"),h(a).id?(A(),te(E,{key:0,distance:h(a).ascent,unitFrom:"m",displayUnit:!1,useImperialUnits:h(o)},null,8,["distance","useImperialUnits"])):x("",!0),j("/- "),h(a).id?(A(),te(E,{key:1,distance:h(a).descent,unitFrom:"m",useImperialUnits:h(o)},null,8,["distance","useImperialUnits"])):x("",!0)])])):x("",!0)],2)])])}}}),_h=re(H3e,[["__scopeId","data-v-0bcae633"]]),V3e={},j3e={class:"no-workouts box"};function K3e(e,t){const n=ie("router-link");return A(),N("div",j3e,[p("div",null,[j(T(e.$t("workouts.NO_WORKOUTS"))+" ",1),k(n,{to:"/workouts/add"},{default:ue(()=>[j(T(e.$t("workouts.UPLOAD_FIRST_WORKOUT")),1)]),_:1})])])}const R0=re(V3e,[["render",K3e],["__scopeId","data-v-b0c91cc6"]]),Gr={ligthMode:{text:"#666",line:"rgba(0, 0, 0, 0.1)"},darkMode:{text:"#a1a1a1",line:"#3f3f3f"}},Y3e=(e,t,n,r=!1)=>{const a={speed:{label:t("workouts.SPEED"),backgroundColor:["transparent"],borderColor:[r?"#5f5c97":"#8884d8"],borderWidth:2,data:[],yAxisID:"ySpeed"},elevation:{label:t("workouts.ELEVATION"),backgroundColor:[r?"#303030":"#e5e5e5"],borderColor:[r?"#222222":"#cccccc"],borderWidth:1,fill:!0,data:[],yAxisID:"yElevation"}},s=[],o=[],i=[];return e.map(u=>{s.push(Ni("km",u.distance,n)),o.push(u.duration),a.speed.data.push(Ni("km",u.speed,n)),u.elevation!==void 0&&a.elevation.data.push(Ni("m",u.elevation,n)),i.push({latitude:u.latitude,longitude:u.longitude})}),{distance_labels:s,duration_labels:o,datasets:a,coordinates:i}},q3e=e=>{const t=e.length;if(t===0)return{};const n={};return e.map(r=>{n[r.sport_id]||(n[r.sport_id]={count:0,percentage:0}),n[r.sport_id].count+=1,n[r.sport_id].percentage=n[r.sport_id].count/t}),n},go={order:"desc",order_by:"workout_date"},X3e={id:"timeline"},Z3e={class:"section-title"},Q3e={key:0},J3e={key:1},eye={key:1,class:"more-workouts"},pi=5,tye=Z({__name:"Timeline",props:{sports:{},user:{}},setup(e){const t=e,n=$e(),{sports:r,user:a}=he(t),s=le(1),o=t.user.nb_workouts>=pi?pi:t.user.nb_workouts;vt(()=>l());const i=$(()=>n.getters[ge.GETTERS.TIMELINE_WORKOUTS]),u=$(()=>i.value.length>0?i.value[i.value.length-1].previous_workout!==null:!1);function l(){n.dispatch(ge.ACTIONS.GET_TIMELINE_WORKOUTS,{page:s.value,per_page:pi,...go})}function c(){s.value+=1,n.dispatch(ge.ACTIONS.GET_MORE_TIMELINE_WORKOUTS,{page:s.value,per_page:pi,...go})}return(f,d)=>(A(),N("div",X3e,[p("div",Z3e,T(f.$t("workouts.LATEST_WORKOUTS")),1),h(a).nb_workouts>0&&i.value.length===0?(A(),N("div",Q3e,[(A(!0),N(ve,null,Fe([...Array(h(o)).keys()],m=>(A(),te(_h,{user:h(a),useImperialUnits:h(a).imperial_units,key:m},null,8,["user","useImperialUnits"]))),128))])):(A(),N("div",J3e,[(A(!0),N(ve,null,Fe(i.value,m=>(A(),te(_h,{workout:m,sport:i.value.length>0?h(r).filter(E=>E.id===m.sport_id)[0]:null,user:h(a),useImperialUnits:h(a).imperial_units,key:m.id},null,8,["workout","sport","user","useImperialUnits"]))),128)),i.value.length===0?(A(),te(R0,{key:0})):x("",!0),u.value?(A(),N("div",eye,[p("button",{onClick:c},T(f.$t("workouts.LOAD_MORE_WORKOUT")),1)])):x("",!0)]))]))}}),nye=re(tye,[["__scopeId","data-v-e0964959"]]),rye=["title"],qA=Z({__name:"CalendarWorkout",props:{displayHARecord:{type:Boolean},workout:{},sportLabel:{},sportColor:{}},setup(e){const t=e,{displayHARecord:n,workout:r,sportLabel:a,sportColor:s}=he(t);return(o,i)=>{const u=ie("SportImage");return A(),N("div",{class:"calendar-workout",onClick:i[0]||(i[0]=l=>o.$router.push({name:"Workout",params:{workoutId:h(r).id}}))},[k(u,{"sport-label":h(a),title:h(r).title,color:h(s)},null,8,["sport-label","title","color"]),p("sup",null,[h(r).records.length>0?(A(),N("i",{key:0,class:"fa fa-trophy custom-fa-small","aria-hidden":"true",title:h(r).records.filter(l=>h(n)?!0:l.record_type!=="HA").map(l=>` ${o.$t(`workouts.RECORD_${l.record_type}`)}`)[0]},null,8,rye)):x("",!0)])])}}}),aye={class:"donut-chart"},sye={height:"34",width:"34",viewBox:"0 0 34 34"},oye=["stroke","stroke-dashoffset","transform"],Th=16,gh=16,Ah=14,iye=Z({__name:"DonutChart",props:{colors:{},datasets:{}},setup(e){const t=e,{colors:n,datasets:r}=he(t);let a=-90;const s=2*Math.PI*Ah;function o(u,l){return l-u*l}function i(u,l){const c=`rotate(${a}, ${Th}, ${gh})`;return a=l*360+a,c}return(u,l)=>(A(),N("div",aye,[(A(),N("svg",sye,[(A(!0),N(ve,null,Fe(Object.entries(h(r)),(c,f)=>(A(),N("g",{key:f},[p("circle",{cx:Th,cy:gh,r:Ah,fill:"transparent",stroke:h(n)[+c[0]],"stroke-dashoffset":o(c[1].percentage,s),"stroke-dasharray":s,"stroke-width":"3","stroke-opacity":"0.8",transform:i(f,c[1].percentage)},null,8,oye)]))),128))]))]))}}),uye={class:"calendar-workouts-chart"},cye={class:"workouts-count"},lye={key:0,class:"workouts-pane"},dye={class:"more-workouts"},fye=Z({__name:"CalendarWorkoutsChart",props:{colors:{},datasets:{},sports:{},workouts:{},displayHARecord:{type:Boolean}},setup(e){const t=e,{colors:n,datasets:r,sports:a,workouts:s}=he(t),o=le(!0);function i(u){u.stopPropagation(),o.value=!o.value}return(u,l)=>{const c=BO("click-outside");return A(),N("div",uye,[p("div",{class:"workouts-chart",onClick:i},[p("div",cye,T(h(s).length),1),k(iye,{datasets:h(r),colors:h(n)},null,8,["datasets","colors"])]),o.value?x("",!0):(A(),N("div",lye,[Ke((A(),N("div",dye,[p("i",{class:"fa fa-times calendar-more","aria-hidden":"true",onClick:i}),(A(!0),N(ve,null,Fe(h(s),(f,d)=>(A(),te(qA,{key:d,displayHARecord:u.displayHARecord,workout:f,sportLabel:h(_0)(f,h(a)),sportColor:h(T0)(f,h(a))},null,8,["displayHARecord","workout","sportLabel","sportColor"]))),128))])),[[c,i]])]))])}}}),Sh=re(fye,[["__scopeId","data-v-bf05bb20"]]),pye={class:"calendar-workouts"},mye={class:"desktop-display"},Eye={key:0,class:"workouts-display"},hye={key:1,class:"donut-display"},_ye={class:"mobile-display"},Tye={key:0,class:"donut-display"},Oh=6,gye=Z({__name:"CalendarWorkouts",props:{displayHARecord:{type:Boolean},workouts:{},sports:{}},setup(e){const t=e,{displayHARecord:n,workouts:r,sports:a}=he(t),s=$(()=>q3e(t.workouts)),o=$(()=>fAe(t.sports));return(i,u)=>(A(),N("div",pye,[p("div",mye,[h(r).length<=Oh?(A(),N("div",Eye,[(A(!0),N(ve,null,Fe(h(r).slice(0,Oh),(l,c)=>(A(),te(qA,{key:c,displayHARecord:h(n),workout:l,sportLabel:h(_0)(l,h(a)),sportColor:h(T0)(l,h(a))},null,8,["displayHARecord","workout","sportLabel","sportColor"]))),128))])):(A(),N("div",hye,[k(Sh,{workouts:h(r),sports:h(a),datasets:s.value,colors:o.value,displayHARecord:h(n)},null,8,["workouts","sports","datasets","colors","displayHARecord"])]))]),p("div",_ye,[h(r).length>0?(A(),N("div",Tye,[k(Sh,{workouts:h(r),sports:h(a),datasets:s.value,colors:o.value,displayHARecord:h(n)},null,8,["workouts","sports","datasets","colors","displayHARecord"])])):x("",!0)])]))}}),Aye={class:"calendar-cells"},Sye={class:"calendar-cell-day"},Oye=Z({__name:"CalendarCells",props:{currentDay:{},displayHARecord:{type:Boolean},endDate:{},sports:{},startDate:{},timezone:{},weekStartingMonday:{type:Boolean},workouts:{}},setup(e){const t=e,{currentDay:n,displayHARecord:r,endDate:a,sports:s,startDate:o,timezone:i,weekStartingMonday:u,workouts:l}=he(t),c=le([]);Tt(()=>f());function f(){c.value=[];let E=o.value;for(;E<=a.value;){const I=[];for(let b=0;b<7;b++)I.push(E),E=yo(E,1);c.value.push(I)}}function d(E){return u.value?[5,6].includes(E):[0,6].includes(E)}function m(E,I){return I?I.filter(b=>lT(yc(b.workout_date,i.value),E)).reverse():[]}return xe(()=>t.currentDay,()=>f()),(E,I)=>(A(),N("div",Aye,[(A(!0),N(ve,null,Fe(c.value,(b,v)=>(A(),N("div",{class:"calendar-row",key:v},[(A(!0),N(ve,null,Fe(b,(R,S)=>(A(),N("div",{class:Ae(["calendar-cell",{"disabled-cell":!h(F3)(R,h(n)),"week-end":d(S),today:h(W3)(R)}]),key:S},[k(gye,{workouts:m(R,h(l)),sports:h(s),displayHARecord:h(r)},null,8,["workouts","sports","displayHARecord"]),p("div",Sye,T(h(dn)(R,"d")),1)],2))),128))]))),128))]))}}),Iye={class:"calendar-days"},vye=Z({__name:"CalendarDays",props:{startDate:{},localeOptions:{}},setup(e){const t=e,n=[];for(let r=0;r<7;r++)n.push(yo(t.startDate,r));return(r,a)=>(A(),N("div",Iye,[(A(),N(ve,null,Fe(n,(s,o)=>p("div",{class:"calendar-day",key:o},T(h(dn)(s,"EEE",{locale:r.localeOptions})),1)),64))]))}}),Rye={class:"calendar-header"},bye=p("i",{class:"fa fa-chevron-left","aria-hidden":"true"},null,-1),Nye=[bye],yye={class:"calendar-month"},Cye=p("i",{class:"fa fa-chevron-right","aria-hidden":"true"},null,-1),Dye=[Cye],Pye=Z({__name:"CalendarHeader",props:{day:{},localeOptions:{}},emits:["displayNextMonth","displayPreviousMonth"],setup(e,{emit:t}){const n=e,r=t,{day:a,localeOptions:s}=he(n);return(o,i)=>(A(),N("div",Rye,[p("button",{class:"calendar-arrow calendar-arrow-left transparent",onClick:i[0]||(i[0]=u=>r("displayPreviousMonth"))},Nye),p("div",yye,[p("span",null,T(h(dn)(h(a),"MMM yyyy",{locale:h(s)})),1)]),p("button",{class:"calendar-arrow calendar-arrow-right transparent",onClick:i[1]||(i[1]=u=>r("displayNextMonth"))},Dye)]))}}),wye={id:"user-calendar"},Lye={class:"calendar-card box"},Ih="yyyy-MM-dd",$ye=Z({__name:"index",props:{sports:{},user:{}},setup(e){const t=e,n=$e(),{sports:r,user:a}=he(t),s=le(new Date),o=le(th(s.value,a.value.weekm)),i=$(()=>n.getters[ge.GETTERS.CALENDAR_WORKOUTS]),u=$(()=>n.getters[H.GETTERS.LOCALE]);vt(()=>l());function l(){o.value=th(s.value,t.user.weekm);const d={from:dn(o.value.start,Ih),to:dn(o.value.end,Ih),page:1,per_page:100,...go};n.dispatch(ge.ACTIONS.GET_CALENDAR_WORKOUTS,d)}function c(){s.value=Xa(s.value,1),l()}function f(){s.value=no(s.value,1),l()}return(d,m)=>(A(),N("div",wye,[p("div",Lye,[k(Pye,{day:s.value,"locale-options":u.value,onDisplayNextMonth:c,onDisplayPreviousMonth:f},null,8,["day","locale-options"]),k(vye,{"start-date":o.value.start,"locale-options":u.value},null,8,["start-date","locale-options"]),k(Oye,{currentDay:s.value,displayHARecord:h(a).display_ascent,"end-date":o.value.end,sports:h(r),"start-date":o.value.start,timezone:h(a).timezone,workouts:i.value,weekStartingMonday:h(a).weekm},null,8,["currentDay","displayHARecord","end-date","sports","start-date","timezone","workouts","weekStartingMonday"])])]))}}),XA={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},kye={ariaLabel:{type:String},ariaDescribedby:{type:String}},Uye={type:{type:String,required:!0},...XA,...kye},Mye=z_[0]==="2"?(e,t)=>Object.assign(e,{attrs:t}):(e,t)=>Object.assign(e,t);function wa(e){return Hu(e)?Qe(e):e}function xye(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;return Hu(t)?new Proxy(e,{}):e}function Fye(e,t){const n=e.options;n&&t&&Object.assign(n,t)}function ZA(e,t){e.labels=t}function QA(e,t,n){const r=[];e.datasets=t.map(a=>{const s=e.datasets.find(o=>o[n]===a[n]);return!s||!a.data||r.includes(s)?{...a}:(r.push(s),Object.assign(s,a),s)})}function Wye(e,t){const n={labels:[],datasets:[]};return ZA(n,e.labels),QA(n,e.datasets,t),n}const Gye=Z({props:Uye,setup(e,t){let{expose:n,slots:r}=t;const a=le(null),s=Ao(null);n({chart:s});const o=()=>{if(!a.value)return;const{type:l,data:c,options:f,plugins:d,datasetIdKey:m}=e,E=Wye(c,m),I=xye(E,c);s.value=new Yd(a.value,{type:l,data:I,options:{...f},plugins:d})},i=()=>{const l=Qe(s.value);l&&(l.destroy(),s.value=null)},u=l=>{l.update(e.updateMode)};return Tt(o),So(i),xe([()=>e.options,()=>e.data],(l,c)=>{let[f,d]=l,[m,E]=c;const I=Qe(s.value);if(!I)return;let b=!1;if(f){const v=wa(f),R=wa(m);v&&v!==R&&(Fye(I,v),b=!0)}if(d){const v=wa(d.labels),R=wa(E.labels),S=wa(d.datasets),O=wa(E.datasets);v!==R&&(ZA(I.config.data,v),b=!0),S&&S!==O&&(QA(I.config.data,S,e.datasetIdKey),b=!0)}b&&An(()=>{u(I)})},{deep:!0}),()=>Sn("canvas",{role:"img",ariaLabel:e.ariaLabel,ariaDescribedby:e.ariaDescribedby,ref:a},[Sn("p",{},[r.default?r.default():""])])}});function JA(e,t){return Yd.register(t),Z({props:XA,setup(n,r){let{expose:a}=r;const s=Ao(null),o=i=>{s.value=i==null?void 0:i.chart};return a({chart:s}),()=>Sn(Gye,Mye({ref:o},{type:e,...n}))}})}const zye=JA("bar",Fh),Bye=JA("line",Wh),Hye=(e,t=!1)=>{let n="0";t&&(n=String(Math.floor(e/86400)),e%=86400);const r=String(Math.floor(e/3600)).padStart(2,"0");e%=3600;const a=String(Math.floor(e/60)).padStart(2,"0"),s=String(e%60).padStart(2,"0");return t?`${n==="0"?"":`${n}d `}${r==="00"?"":`${r}h `}${a}m ${s}s`:`${r==="00"?"":`${r}:`}${a}:${s}`},Ls=(e,t,n,r=!0,a="km")=>{const s=n?kn[a].defaultTarget:a;switch(e){case"average_speed":return`${t.toFixed(2)} ${s}/h`;case"total_duration":return Hye(t,r);case"total_distance":case"total_ascent":case"total_descent":return`${t.toFixed(2)} ${s}`;default:return t.toString()}},Vye=Z({__name:"Chart",props:{datasets:{},labels:{},displayedData:{},displayedSportIds:{},fullStats:{type:Boolean},useImperialUnits:{type:Boolean}},setup(e){const t=e,{datasets:n,labels:r,displayedData:a,displayedSportIds:s,fullStats:o,useImperialUnits:i}=he(t),u=Cf(),{t:l}=jt(),c=$(()=>u.getters[H.GETTERS.DARK_MODE]),f=$(()=>yf(c.value)),d=$(()=>({color:f.value?Gr.darkMode.line:Gr.ligthMode.line})),m=$(()=>({color:f.value?Gr.darkMode.text:Gr.ligthMode.text})),E=$(()=>({labels:r.value,datasets:JSON.parse(JSON.stringify(n.value))})),I=$(()=>({responsive:!0,maintainAspectRatio:!1,animation:!1,layout:{padding:{top:o.value?40:22}},scales:{x:{stacked:!0,grid:{drawOnChartArea:!1,...d.value},border:{...d.value},ticks:{...m.value}},y:{stacked:a.value!=="average_speed",grid:{drawOnChartArea:!1,...d.value},border:{...d.value},ticks:{maxTicksLimit:6,callback:function(S){return Ls(a.value,+S,i.value,!1,R(a.value))},...m.value},afterFit:function(S){S.width=o.value?90:60}}},plugins:{datalabels:{anchor:"end",align:"end",color:function(S){return a.value==="average_speed"&&S.dataset.backgroundColor?S.dataset.backgroundColor[0]:m.value.color},rotation:function(S){return o.value&&S.chart.chartArea.width<580?310:0},display:function(S){return o.value&&S.chart.chartArea.width<300?!1:a.value==="average_speed"?s.value.length==1?"auto":!1:!0},formatter:function(S,O){if(a.value==="average_speed")return Ls(a.value,S,i.value,!1);{const y=O.chart.data.datasets.map(P=>P.data[O.dataIndex]).reduce((P,M)=>v(P,M),0);return O.datasetIndex===s.value.length-1&&y>0?Ls(a.value,y,i.value,!1,R(a.value)):null}}},legend:{display:!1},tooltip:{interaction:{intersect:!0,mode:"index",position:a.value==="average_speed"?"nearest":"average"},filter:function(S){return S.formattedValue!=="0"},callbacks:{label:function(S){let O=l(`sports.${S.dataset.label}.LABEL`)||"";return O&&(O+=": "),S.parsed.y!==null&&(O+=Ls(a.value,S.parsed.y,i.value,!0,R(a.value))),O},footer:function(S){if(a.value==="average_speed")return"";let O=0;return S.map(y=>{O+=y.parsed.y}),`${l("common.TOTAL")}: `+Ls(a.value,O,i.value,!0,R(a.value))}}}}}));function b(S){return isNaN(S)?0:+S}function v(S,O){return b(S)+b(O)}function R(S){return["total_ascent","total_descent"].includes(S)?"m":"km"}return(S,O)=>(A(),N("div",{class:Ae(["bar-chart",{minimal:!h(o)}])},[k(h(zye),{data:E.value,options:I.value},null,8,["data","options"])],2))}}),jye=re(Vye,[["__scopeId","data-v-d506f845"]]),{locale:vh}=Aa.global,Kye={week:{api:"yyyy-MM-dd",chart:"MM/dd/yyyy"},month:{api:"yyyy-MM",chart:"MM/yyyy"},year:{api:"yyyy",chart:"yyyy"}},Yye=["average_speed","nb_workouts","total_duration","total_distance","total_ascent","total_descent"],qye=(e,t)=>{const n=[];for(let r=bSe(e.duration,e.start,t);r<=e.end;r=NSe(e.duration,r))n.push(r);return n},La=(e,t,n=!1)=>{const r={label:e,backgroundColor:[t],data:[]};return n?(r.type="line",r.borderColor=[t],r.spanGaps=!0):r.type="bar",r},Xye=e=>{const t={average_speed:[],nb_workouts:[],total_distance:[],total_duration:[],total_ascent:[],total_descent:[]};return e.map(n=>{const r=n.color?n.color:h0[n.label];t.average_speed.push(La(n.label,r,!0)),t.nb_workouts.push(La(n.label,r)),t.total_distance.push(La(n.label,r)),t.total_duration.push(La(n.label,r)),t.total_ascent.push(La(n.label,r)),t.total_descent.push(La(n.label,r))}),t},Zye=(e,t,n)=>{switch(e){case"average_speed":case"total_distance":case"total_ascent":case"total_descent":return Ni(["average_speed","total_distance"].includes(e)?"km":"m",t,n);default:case"nb_workouts":case"total_duration":return t}},Qye=(e,t,n,r,a,s,o)=>{const i=qye(e,t),u=Kye[e.duration],l=n.filter(m=>r.includes(m.id)),c=[],f=Xye(l),d={};return l.map(m=>d[m.label]=m.id),i.map(m=>{const E=dn(m,u.api),I=dn(m,e.duration==="week"?Oa(o,vh.value):u.chart,{locale:Po[vh.value]});c.push(I),Yye.map(b=>{f[b].map(v=>{v.data.push(E in a&&d[v.label]in a[E]?Zye(b,a[E][d[v.label]][b],s):b==="average_speed"?null:0)})})}),{labels:c,datasets:f}},Jye=(e,t,n)=>{const r=n?1:0,a=t==="year"?Lf(Yl(e,9)):t==="week"?uc(no(e,2),{weekStartsOn:r}):Do(no(e,11)),s=t==="year"?dT(e):t==="week"?$f(e,{weekStartsOn:r}):Co(e);return{duration:t,end:s,start:a}},eCe=(e,t,n)=>{const{duration:r,start:a,end:s}=e,o=n?1:0;return{duration:r,end:r==="year"?dT(t?Yl(s,1):Yi(s,1)):r==="week"?$f(t?rm(s,1):Kl(s,1),{weekStartsOn:o}):Co(t?no(s,1):Xa(s,1)),start:r==="year"?Lf(t?Yl(a,1):Yi(a,1)):r==="week"?uc(t?rm(a,1):Kl(a,1),{weekStartsOn:o}):Do(t?no(a,1):Xa(a,1))}},tCe={class:"stats-chart"},nCe={key:0},rCe={key:1},aCe={class:"chart-radio"},sCe=["checked","disabled"],oCe=["checked","disabled"],iCe=["checked","disabled"],uCe={key:0},cCe=["checked","disabled"],lCe={key:1},dCe=["checked","disabled"],fCe={key:2},pCe=["checked","disabled"],mCe=Z({__name:"index",props:{sports:{},user:{},chartParams:{},displayedSportIds:{default:()=>[]},fullStats:{type:Boolean,default:!1},hideChartIfNoData:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1}},setup(e){const t=e,{sports:n,user:r,chartParams:a,displayedSportIds:s,fullStats:o,hideChartIfNoData:i,isDisabled:u}=he(t),l=$e(),c=le("total_distance"),f=$(()=>l.getters[Kr.GETTERS.USER_STATS]),d=$(()=>Qye(a.value,r.value.weekm,n.value,s.value,f.value,r.value.imperial_units,r.value.date_format)),m=$(()=>d.value.datasets[c.value]),E=$(()=>d.value.labels),I=$(()=>Object.keys(f.value).length===0);vt(()=>b(R(a.value,r.value)));function b(S){l.dispatch(Kr.ACTIONS.GET_USER_STATS,{username:r.value.username,filterType:"by_time",params:S})}function v(S){c.value=S.target.name}function R(S,O){return{from:dn(S.start,"yyyy-MM-dd"),to:dn(S.end,"yyyy-MM-dd"),time:S.duration==="week"?`week${O.weekm?"m":""}`:S.duration}}return xe(()=>a.value,async S=>{b(R(S,r.value))}),(S,O)=>(A(),N("div",tCe,[h(i)&&I.value?(A(),N("div",nCe,T(S.$t("workouts.NO_WORKOUTS")),1)):(A(),N("div",rCe,[p("div",aCe,[p("label",null,[p("input",{type:"radio",name:"total_distance",checked:c.value==="total_distance",disabled:h(u),onClick:v},null,8,sCe),j(" "+T(S.$t("workouts.DISTANCE")),1)]),p("label",null,[p("input",{type:"radio",name:"total_duration",checked:c.value==="total_duration",disabled:h(u),onClick:v},null,8,oCe),j(" "+T(S.$t("workouts.DURATION")),1)]),p("label",null,[p("input",{type:"radio",name:"nb_workouts",checked:c.value==="nb_workouts",disabled:h(u),onClick:v},null,8,iCe),j(" "+T(S.$t("workouts.WORKOUT",2)),1)]),h(o)?(A(),N("label",uCe,[p("input",{type:"radio",name:"average_speed",checked:c.value==="average_speed",disabled:h(u),onClick:v},null,8,cCe),j(" "+T(S.$t("workouts.AVERAGE_SPEED")),1)])):x("",!0),h(o)?(A(),N("label",lCe,[p("input",{type:"radio",name:"total_ascent",checked:c.value==="total_ascent",disabled:h(u),onClick:v},null,8,dCe),j(" "+T(S.$t("workouts.ASCENT")),1)])):x("",!0),h(o)?(A(),N("label",fCe,[p("input",{type:"radio",name:"total_descent",checked:c.value==="total_descent",disabled:h(u),onClick:v},null,8,pCe),j(" "+T(S.$t("workouts.DESCENT")),1)])):x("",!0)]),E.value.length>0?(A(),te(jye,{key:0,datasets:m.value,labels:E.value,displayedData:c.value,displayedSportIds:h(s),fullStats:h(o),useImperialUnits:h(r).imperial_units},null,8,["datasets","labels","displayedData","displayedSportIds","fullStats","useImperialUnits"])):x("",!0)]))]))}}),eS=re(mCe,[["__scopeId","data-v-b8d7f5c9"]]),ECe={class:"user-month-stats"},hCe=Z({__name:"UserMonthStats",props:{sports:{},user:{}},setup(e){const t=e,{sports:n,user:r}=he(t),a=new Date,s={duration:"week",start:Do(a),end:Co(a)},o=n.value.map(i=>i.id);return(i,u)=>{const l=ie("Card");return A(),N("div",ECe,[k(l,null,{title:ue(()=>[j(T(i.$t("dashboard.THIS_MONTH")),1)]),content:ue(()=>[k(eS,{sports:h(n),user:h(r),"chart-params":s,"displayed-sport-ids":h(o),"hide-chart-if-no-data":!0},null,8,["sports","user","displayed-sport-ids"])]),_:1})])}}}),_Ce=re(hCe,[["__scopeId","data-v-8f59a282"]]),{locale:TCe}=Aa.global,gCe=(e,t,n,r)=>{const a="km",s=n?kn[a].defaultTarget:a,o="m",i=n?kn[o].defaultTarget:o;let u;switch(e.record_type){case"AS":case"MS":u=`${on(+e.value,a,s,2)} ${s}/h`;break;case"FD":u=`${on(+e.value,a,s,3)} ${s}`;break;case"HA":u=`${on(+e.value,o,i,2)} ${i}`;break;case"LD":u=e.value;break;default:throw new Error(`Invalid record type, expected: "AS", "FD", "HA", "LD", "MD", got: "${e.record_type}"`)}return{id:e.id,record_type:e.record_type,sport_id:e.sport_id,value:u,user:e.user,workout_date:Fn(e.workout_date,t,r,!1),workout_id:e.workout_id}},ACe=(e,t)=>{const n=e.label.toLowerCase(),r=t.label.toLowerCase();return n>r?1:n(s=Oa(s,TCe.value),e.filter(o=>a?!0:o.record_type!=="HA").reduce((o,i)=>{const u=t.find(l=>l.id===i.sport_id);return u&&u.label&&(o[u.translatedLabel]===void 0&&(o[u.translatedLabel]={label:u.label,color:u.color,records:[]}),o[u.translatedLabel].records.push(gCe(i,n,r,s))),o},{})),OCe={class:"records-card"},ICe={class:"record-type"},vCe={class:"record-value"},RCe={class:"record-date"},bCe=Z({__name:"RecordsCard",props:{records:{},sportTranslatedLabel:{}},setup(e){const t=e,{records:n,sportTranslatedLabel:r}=he(t),{t:a}=jt();function s(o){const i=[];return o.map(u=>{i.push({...u,label:a(`workouts.RECORD_${u.record_type}`)})}),i.sort(ACe)}return(o,i)=>{const u=ie("SportImage"),l=ie("router-link"),c=ie("Card");return A(),N("div",OCe,[k(c,null,{title:ue(()=>[k(u,{"sport-label":h(n).label,color:h(n).color},null,8,["sport-label","color"]),j(" "+T(h(r)),1)]),content:ue(()=>[(A(!0),N(ve,null,Fe(s(h(n).records),f=>(A(),N("div",{class:"record",key:f.id},[p("span",ICe,T(f.label),1),p("span",vCe,T(f.value),1),p("span",RCe,[k(l,{to:{name:"Workout",params:{workoutId:f.workout_id}}},{default:ue(()=>[p("time",null,T(f.workout_date),1)]),_:2},1032,["to"])])]))),128))]),_:1})])}}}),NCe=re(bCe,[["__scopeId","data-v-64523a87"]]),yCe=e=>(ct("data-v-fff33919"),e=e(),lt(),e),CCe={class:"user-records-section"},DCe={class:"section-title"},PCe=yCe(()=>p("i",{class:"fa fa-trophy custom-fa-small","aria-hidden":"true"},null,-1)),wCe={class:"user-records"},LCe={key:0,class:"no-records"},$Ce=Z({__name:"index",props:{sports:{},user:{}},setup(e){const t=e,{t:n}=jt(),r=$(()=>SCe(t.user.records,Jr(t.sports,n),t.user.timezone,t.user.imperial_units,t.user.display_ascent,t.user.date_format));return(a,s)=>(A(),N("div",CCe,[p("div",DCe,[PCe,j(" "+T(a.$t("workouts.RECORD",2)),1)]),p("div",wCe,[Object.keys(r.value).length===0?(A(),N("div",LCe,T(a.$t("workouts.NO_RECORDS")),1)):x("",!0),(A(!0),N(ve,null,Fe(Object.keys(r.value).sort(),o=>(A(),te(NCe,{sportTranslatedLabel:o,records:r.value[o],key:o,useImperialUnits:a.user.imperial_units},null,8,["sportTranslatedLabel","records","useImperialUnits"]))),128))])]))}}),kCe=re($Ce,[["__scopeId","data-v-fff33919"]]),UCe={id:"user-stats"},gl="km",Al="m",MCe=Z({__name:"index",props:{user:{}},setup(e){const t=e,{t:n}=jt(),{user:r}=he(t),a=$(()=>t.user.total_duration),s=$(()=>c(a)),o=r.value.imperial_units?kn[gl].defaultTarget:gl,i=$(()=>r.value.imperial_units?on(r.value.total_distance,gl,o,2):parseFloat(r.value.total_distance.toFixed(2))),u=r.value.imperial_units?kn[Al].defaultTarget:Al,l=$(()=>r.value.imperial_units?on(r.value.total_ascent,Al,u,2):parseFloat(r.value.total_ascent.toFixed(2)));function c(f){const d=f.value.match(/day/g)?f.value.split(", ")[1]:f.value;return{days:f.value.match(/day/g)?`${f.value.split(" ")[0]} ${f.value.match(/days/g)?n("common.DAY",2):n("common.DAY",1)}`:`0 ${n("common.DAY",2)},`,duration:`${d.split(":")[0]}h ${d.split(":")[1]}min`}}return(f,d)=>(A(),N("div",UCe,[k(pr,{icon:"calendar",value:h(r).nb_workouts,text:f.$t("workouts.WORKOUT",h(r).nb_workouts)},null,8,["value","text"]),k(pr,{icon:"road",value:i.value,text:h(o)==="mi"?"miles":h(o)},null,8,["value","text"]),h(r).display_ascent?(A(),te(pr,{key:0,icon:"location-arrow",value:l.value,text:h(u)==="ft"?"feet":h(u)},null,8,["value","text"])):x("",!0),k(pr,{icon:"clock-o",value:s.value.days,text:s.value.duration},null,8,["value","text"]),h(r).display_ascent?x("",!0):(A(),te(pr,{key:1,icon:"tags",value:h(r).nb_sports,text:f.$t("workouts.SPORT",h(r).nb_sports)},null,8,["value","text"]))]))}}),xCe={},FCe={class:"privacy-policy-message"};function WCe(e,t){const n=ie("router-link"),r=ie("i18n-t");return A(),N("div",FCe,[p("span",null,[k(r,{keypath:"user.LAST_PRIVACY_POLICY_TO_VALIDATE"},{default:ue(()=>[k(n,{to:"/profile/edit/privacy-policy",class:"policy-link"},{default:ue(()=>[j(T(e.$t("user.REVIEW")),1)]),_:1})]),_:1})])])}const GCe=re(xCe,[["render",WCe],["__scopeId","data-v-1b250692"]]),xo=e=>(ct("data-v-8f5da609"),e=e(),lt(),e),zCe={key:0,id:"dashboard",class:"view"},BCe={class:"container mobile-menu"},HCe={class:"box"},VCe=xo(()=>p("i",{class:"fa fa-calendar","aria-hidden":"true"},null,-1)),jCe=[VCe],KCe=xo(()=>p("i",{class:"fa fa-bar-chart","aria-hidden":"true"},null,-1)),YCe=[KCe],qCe=xo(()=>p("i",{class:"fa fa-map-o","aria-hidden":"true"},null,-1)),XCe=[qCe],ZCe=xo(()=>p("i",{class:"fa fa-trophy","aria-hidden":"true"},null,-1)),QCe=[ZCe],JCe={key:0,class:"container privacy-policy-message"},e4e={class:"container"},t4e={class:"container dashboard-container"},n4e={class:"left-container dashboard-sub-container"},r4e={class:"right-container dashboard-sub-container"},a4e=xo(()=>p("div",{id:"bottom"},null,-1)),s4e={key:1,class:"app-loading"},o4e=Z({__name:"Dashboard",setup(e){const t=$e(),n=$(()=>t.getters[K.GETTERS.AUTH_USER_PROFILE]),r=$(()=>t.getters[kt.GETTERS.SPORTS]),a=le("calendar");vt(()=>t.dispatch(K.ACTIONS.GET_USER_PROFILE));function s(o){a.value=o}return(o,i)=>{const u=ie("Loader");return n.value.username&&r.value.length>0?(A(),N("div",zCe,[p("div",BCe,[p("div",HCe,[p("div",{class:Ae(["mobile-menu-item",{"is-selected":a.value==="calendar"}]),onClick:i[0]||(i[0]=l=>s("calendar"))},jCe,2),p("div",{class:Ae(["mobile-menu-item",{"is-selected":a.value==="chart"}]),onClick:i[1]||(i[1]=l=>s("chart"))},YCe,2),p("div",{class:Ae(["mobile-menu-item",{"is-selected":a.value==="timeline"}]),onClick:i[2]||(i[2]=l=>s("timeline"))},XCe,2),p("div",{class:Ae(["mobile-menu-item",{"is-selected":a.value==="records"}]),onClick:i[3]||(i[3]=l=>s("records"))},QCe,2)])]),n.value.accepted_privacy_policy?x("",!0):(A(),N("div",JCe,[k(GCe)])),p("div",e4e,[k(MCe,{user:n.value},null,8,["user"])]),p("div",t4e,[p("div",n4e,[k(_Ce,{sports:r.value,user:n.value,class:Ae({"is-hidden":a.value!=="chart"})},null,8,["sports","user","class"]),k(kCe,{sports:r.value,user:n.value,class:Ae({"is-hidden":a.value!=="records"})},null,8,["sports","user","class"])]),p("div",r4e,[k($ye,{sports:r.value,user:n.value,class:Ae({"is-hidden":a.value!=="calendar"})},null,8,["sports","user","class"]),k(nye,{sports:r.value,user:n.value,class:Ae({"is-hidden":a.value!=="timeline"})},null,8,["sports","user","class"])])]),a4e])):(A(),N("div",s4e,[k(u)]))}}}),i4e=re(o4e,[["__scopeId","data-v-8f5da609"]]),u4e={class:"not-found view"},c4e=Z({__name:"NotFoundView",setup(e){return(t,n)=>(A(),N("div",u4e,[k(I0)]))}}),l4e={id:"privacy-policy",class:"view"},d4e={class:"container"},f4e=p("div",{id:"bottom"},null,-1),p4e=Z({__name:"PrivacyPolicyView",setup(e){const t=$e();return vt(()=>{t.dispatch(H.ACTIONS.GET_APPLICATION_PRIVACY_POLICY)}),(n,r)=>(A(),N("div",l4e,[p("div",d4e,[k(VA)]),f4e]))}}),tS=e=>(ct("data-v-174c91c4"),e=e(),lt(),e),m4e={class:"chart-menu"},E4e=["disabled"],h4e=tS(()=>p("i",{class:"fa fa-chevron-left","aria-hidden":"true"},null,-1)),_4e=[h4e],T4e={class:"time-frames custom-checkboxes-group"},g4e={class:"time-frames-checkboxes custom-checkboxes"},A4e=["id","name","checked","onInput","disabled"],S4e=["id","tabindex","onKeydown"],O4e=["disabled"],I4e=tS(()=>p("i",{class:"fa fa-chevron-right","aria-hidden":"true"},null,-1)),v4e=[I4e],R4e=Z({__name:"StatsMenu",props:{isDisabled:{type:Boolean}},emits:["arrowClick","timeFrameUpdate"],setup(e,{emit:t}){const n=e,{isDisabled:r}=he(n),a=t,s=le("month"),o=["week","month","year"];function i(u){s.value=u,a("timeFrameUpdate",u)}return Tt(()=>{if(!r.value){const u=document.getElementById("frame-month");u&&u.focus()}}),(u,l)=>(A(),N("div",m4e,[p("button",{class:"chart-arrow transparent",onClick:l[0]||(l[0]=c=>a("arrowClick",!0)),onKeydown:l[1]||(l[1]=Et(c=>a("arrowClick",!0),["enter"])),disabled:h(r)},_4e,40,E4e),p("div",T4e,[p("div",g4e,[(A(),N(ve,null,Fe(o,c=>p("div",{class:"time-frame custom-checkbox",key:c},[p("label",null,[p("input",{type:"radio",id:c,name:c,checked:s.value===c,onInput:f=>i(c),disabled:h(r)},null,40,A4e),p("span",{id:`frame-${c}`,tabindex:h(r)?-1:0,role:"button",onKeydown:Et(f=>i(c),["enter"])},T(u.$t(`statistics.TIME_FRAMES.${c}`)),41,S4e)])])),64))])]),p("button",{class:"chart-arrow transparent",onClick:l[2]||(l[2]=c=>a("arrowClick",!1)),onKeydown:l[3]||(l[3]=Et(c=>a("arrowClick",!1),["enter"])),disabled:h(r)},v4e,40,O4e)]))}}),b4e=re(R4e,[["__scopeId","data-v-174c91c4"]]),N4e={class:"sports-menu"},y4e=["id","name","checked","onInput"],C4e={class:"sport-label"},D4e=Z({__name:"StatsSportsMenu",props:{userSports:{},selectedSportIds:{default:()=>[]}},emits:["selectedSportIdsUpdate"],setup(e,{emit:t}){const n=e,r=t,{t:a}=jt(),s=_t("sportColors"),{selectedSportIds:o}=he(n),i=$(()=>Jr(n.userSports,a));function u(l){r("selectedSportIdsUpdate",l)}return(l,c)=>{const f=ie("SportImage");return A(),N("div",N4e,[(A(!0),N(ve,null,Fe(i.value,d=>(A(),N("label",{type:"checkbox",key:d.id,style:Yr({color:d.color?d.color:h(s)[d.label]})},[p("input",{type:"checkbox",id:`${d.id}`,name:d.label,checked:h(o).includes(d.id),onInput:m=>u(d.id)},null,40,y4e),k(f,{"sport-label":d.label,color:d.color},null,8,["sport-label","color"]),p("span",C4e,T(d.translatedLabel),1)],4))),128))])}}}),P4e={key:0,id:"user-statistics"},w4e=Z({__name:"index",props:{sports:{},user:{},isDisabled:{type:Boolean}},setup(e){const t=e,{t:n}=jt(),{sports:r,user:a}=he(t),s=le("month"),o=le(c(s.value)),i=$(()=>Jr(t.sports,n)),u=le(d(r.value));function l(E){s.value=E,o.value=c(s.value)}function c(E){return Jye(new Date,E,t.user.weekm)}function f(E){o.value=eCe(o.value,E,t.user.weekm)}function d(E){return E.map(I=>I.id)}function m(E){u.value.includes(E)?u.value=u.value.filter(I=>I!==E):u.value.push(E)}return xe(()=>t.sports,E=>{u.value=d(E)}),(E,I)=>i.value?(A(),N("div",P4e,[k(b4e,{onTimeFrameUpdate:l,onArrowClick:f,isDisabled:E.isDisabled},null,8,["isDisabled"]),k(eS,{sports:h(r),user:h(a),chartParams:o.value,"displayed-sport-ids":u.value,fullStats:!0,isDisabled:E.isDisabled},null,8,["sports","user","chartParams","displayed-sport-ids","isDisabled"]),k(D4e,{"selected-sport-ids":u.value,"user-sports":h(r),onSelectedSportIdsUpdate:m},null,8,["selected-sport-ids","user-sports"])])):x("",!0)}}),L4e=re(w4e,[["__scopeId","data-v-b145e4ac"]]),$4e={id:"statistics",class:"view"},k4e={key:0,class:"container"},U4e=Z({__name:"StatisticsView",setup(e){const t=$e(),n=$(()=>t.getters[K.GETTERS.AUTH_USER_PROFILE]),r=$(()=>t.getters[kt.GETTERS.SPORTS].filter(s=>n.value.sports_list.includes(s.id))),a=$(()=>n.value.nb_workouts===0);return(s,o)=>{const i=ie("Card");return A(),N("div",$4e,[n.value.username?(A(),N("div",k4e,[k(i,null,{title:ue(()=>[j(T(s.$t("statistics.STATISTICS")),1)]),content:ue(()=>[k(L4e,{class:Ae({"stats-disabled":a.value}),user:n.value,sports:r.value,isDisabled:a.value},null,8,["class","user","sports","isDisabled"])]),_:1}),n.value.nb_workouts===0?(A(),te(R0,{key:0})):x("",!0)])):x("",!0)])}}}),M4e=re(U4e,[["__scopeId","data-v-0aa997fa"]]),x4e={name:"EmailSent"},F4e={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 345.834 345.834",style:{"enable-background":"new 0 0 345.834 345.834"},"xml:space":"preserve"},W4e=p("g",null,[p("path",{d:`M339.798,260.429c0.13-0.026,0.257-0.061,0.385-0.094c0.109-0.028,0.219-0.051,0.326-0.084 c0.125-0.038,0.247-0.085,0.369-0.129c0.108-0.039,0.217-0.074,0.324-0.119c0.115-0.048,0.226-0.104,0.338-0.157 c0.109-0.052,0.22-0.1,0.327-0.158c0.107-0.057,0.208-0.122,0.312-0.184c0.107-0.064,0.215-0.124,0.319-0.194 c0.111-0.074,0.214-0.156,0.321-0.236c0.09-0.067,0.182-0.13,0.27-0.202c0.162-0.133,0.316-0.275,0.466-0.421